1. 27 7月, 2018 4 次提交
    • B
      fsi: Add cfam char devices · d1dcd678
      Benjamin Herrenschmidt 提交于
      This aims to deprecate the "raw" sysfs file used for directly
      accessing the CFAM and instead use a char device like the
      other sub drivers.
      
      Since it reworks the slave creation code and adds a cfam device
      type, we also use the opportunity to convert the attributes
      to attribute groups and add a couple more.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      d1dcd678
    • B
      fsi: scom: Convert to use the new chardev · d8f45876
      Benjamin Herrenschmidt 提交于
      This converts FSI scom to use the new fsi-core controlled
      chardev allocator and use a real cdev instead of a miscdev.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      d8f45876
    • B
      fsi: sbefifo: Convert to use the new chardev · 8b052dd6
      Benjamin Herrenschmidt 提交于
      This converts FSI sbefifo to use the new fsi-core controlled
      chardev allocator and use a real cdev instead of a miscdev.
      
      One side effect is to fix the object lifetime by removing
      the use of devm_kzalloc() for something that contains kobjects,
      and using proper reference counting.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      8b052dd6
    • B
      fsi: Add new central chardev support · 0ab5fe53
      Benjamin Herrenschmidt 提交于
      The various FSI devices (sbefifo, occ, scom, more to come)
      currently use misc devices.
      
      This is problematic as the minor device space for misc is
      limited and there can be a lot of them. Also it limits our
      ability to move them to a dedicated /dev/fsi directory or
      to be smart about device naming and numbering.
      
      It also means we have IDAs on every single of these drivers
      
      This creates a common fsi "device_type" for the optional
      /dev/fsi grouping and a dev_t allocator for all FSI devices.
      
      "Legacy" devices get to use a backward compatible numbering
      scheme (as long as chip id <16 and there's only one copy
      of a given unit type per chip).
      
      A single major number and a single IDA are shared for all
      FSI devices.
      
      This doesn't convert the FSI device drivers to use the new
      scheme yet, they will be converted individually.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      0ab5fe53
  2. 26 7月, 2018 2 次提交
  3. 25 7月, 2018 1 次提交
  4. 24 7月, 2018 1 次提交
  5. 23 7月, 2018 7 次提交
  6. 12 7月, 2018 13 次提交
  7. 02 7月, 2018 4 次提交
  8. 18 6月, 2018 8 次提交