You need to sign in or sign up before continuing.
  1. 08 10月, 2014 2 次提交
    • I
      cxl: Driver code for powernv PCIe based cards for userspace access · f204e0b8
      Ian Munsie 提交于
      This is the core of the cxl driver.
      
      It adds support for using cxl cards in the powernv environment only (ie POWER8
      bare metal). It allows access to cxl accelerators by userspace using the
      /dev/cxl/afuM.N char devices.
      
      The kernel driver has no knowledge of the function implemented by the
      accelerator. It provides services to userspace via the /dev/cxl/afuM.N
      devices. When a program opens this device and runs the start work IOCTL, the
      accelerator will have coherent access to that processes memory using the same
      virtual addresses. That process may mmap the device to access any MMIO space
      the accelerator provides.  Also, reads on the device will allow interrupts to
      be received. These services are further documented in a later patch in
      Documentation/powerpc/cxl.txt.
      
      Documentation of the cxl hardware architecture and userspace API is provided in
      subsequent patches.
      Signed-off-by: NIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      f204e0b8
    • I
      cxl: Add base builtin support · 10542ca0
      Ian Munsie 提交于
      This adds the base cxl support that cannot be built as a module. Specifically
      it adds the cxl callbacks that are called from the core powerpc mm code which
      must always exist irrespective of if the cxl module is loaded or not. This is
      similar to how cell works with CONFIG_SPU_BASE.
      
      This adds a cxl_slbia() call (similar to spu_flush_all_slbs()) which checks if
      the cxl module is loaded and in use, returning immediately if it is not. If it
      is in use it calls into the cxl SLB invalidation code.
      Signed-off-by: NIan Munsie <imunsie@au1.ibm.com>
      Signed-off-by: NMichael Neuling <mikey@neuling.org>
      Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
      10542ca0
  2. 02 10月, 2014 1 次提交
  3. 25 9月, 2014 2 次提交
  4. 14 9月, 2014 3 次提交
  5. 12 9月, 2014 8 次提交
  6. 11 9月, 2014 10 次提交
  7. 10 9月, 2014 14 次提交