Xenial SRU - CAPI: CGZIP AFU contexts do not receive interrupts after heavy afu open/close

Tim Gardner tim.gardner at canonical.com
Wed Jun 8 16:01:19 UTC 2016


On 06/08/2016 09:17 AM, Tim Gardner wrote:
> On 06/08/2016 09:03 AM, Stefan Bader wrote:
>> On 08.06.2016 16:52, Tim Gardner wrote:
>>> On 06/08/2016 08:35 AM, Stefan Bader wrote:
>>>> On 03.06.2016 21:19, Tim Gardner wrote:
>>>>> The fix commit 2bc79ffcbb817873cc43d63118008ab75181b73d
>>>>> ('cxl: Poll for outstanding IRQs when detaching a context')
>>>>> requires a bunch of scaffolding. Since we already have a mix
>>>>> of interdependent cxl and cxlflash patches I decided to just
>>>>> all cxl/cxlflash patches up to and including the fix commit. 
>>>>> Regression testing is straightforward since this driver only 
>>>>> exists on one platform and architecture.
>>>>>
>>>>> See attached pull request.
>>>
>>>> Dunno, using the pull request yields more that just cxl changes
>>>> for me (as does the diffstat of the pull request). I might be
>>>> doing something wrong...
>>>
>>>
>>> Details ?
> 
>> drivers/scsi/mesh.c                        |    2 +- 
>> drivers/usb/core/hcd-pci.c                 |    1 - 
>> drivers/video/fbdev/aty/aty128fb.c         |    1 - 
>> drivers/video/fbdev/aty/radeon_base.c      |    1 - 
>> drivers/video/fbdev/imsttfb.c              |    1 - 
>> drivers/video/fbdev/matrox/matroxfb_base.h |    1 - 
>> drivers/video/fbdev/offb.c                 |    4 - 
>> include/misc/cxl.h                         |    8 +- 
>> include/uapi/misc/cxl.h                    |   24 + 
>> sound/ppc/pmac.c                           |    1 -
>>>
>>>
> 
> 
> 
> This isn't really a merge request. The patches up for review are from
>  41b48dd5672ebaf077cc122af6b921ae81945753..7afdb0a5ea5a068eb9c91b110d276
> 115d049761b as indicated in the pull request. The master or master-next
> branch that you have has clearly moved since this pull request was origi
> nally emitted.
> 
> rtg
> 

OK, I think see where the problem lies. I've refreshed that branch after
having dropped one of the scaffold patches. It turns out it was not
required, and touched a bunch of drivers outside of cxl.

rtg
-- 
Tim Gardner tim.gardner at canonical.com
-------------- next part --------------
The following changes since commit 41b48dd5672ebaf077cc122af6b921ae81945753:

  UBUNTU: SAUCE: tools/hv/lsvmbus -- add manual page (2016-06-03 06:46:42 -0700)

are available in the git repository at:

  git://kernel.ubuntu.com/rtg/ubuntu-xenial.git lp1588468

for you to fetch changes up to 6feedb495ed2e9364d211de764716cc6cae077d3:

  cxl: Poll for outstanding IRQs when detaching a context (2016-06-08 09:55:20 -0600)

----------------------------------------------------------------
Christophe Lombard (9):
      cxl: Move common code away from bare-metal-specific files
      powerpc: New possible return value from hcall
      cxl: New hcalls to support cxl adapters
      cxl: Separate bare-metal fields in adapter and AFU data structures
      cxl: Add guest-specific code
      cxl: sysfs support for guests
      cxl: Support to flash a new image on the adapter from a guest
      cxl: Adapter failure handling
      cxl: Add tracepoints around the cxl hcall

Frederic Barrat (11):
      cxl: Move bare-metal specific code to specialized files
      cxl: Define process problem state area at attach time only
      cxl: Introduce implementation-specific API
      cxl: Rename some bare-metal specific functions
      cxl: Isolate a few bare-metal-specific calls
      cxl: Update cxl_irq() prototype
      cxl: IRQ allocation for guests
      cxl: Parse device tree and create cxl device(s) at boot
      cxl: Support the cxl kernel API from a guest
      cxlflash: Use new cxl_pci_read_adapter_vpd() API
      cxl: Remove cxl_get_phys_dev() kernel API

Geliang Tang (1):
      misc: cxl: use kobj_to_dev()

Manoj N. Kumar (1):
      cxlflash: Simplify PCI registration

Matthew R. Ochs (2):
      cxlflash: Split out context initialization
      cxlflash: Simplify attach path error cleanup

Michael Neuling (1):
      cxl: Poll for outstanding IRQs when detaching a context

Uma Krishnan (2):
      cxlflash: Unmap problem state area before detaching master context
      cxlflash: Reorder user context initialization

Vaibhav Jain (1):
      cxl: Ignore probes for virtual afu pci devices

 Documentation/ABI/testing/sysfs-class-cxl |   12 +-
 Documentation/powerpc/cxl.txt             |   55 ++
 arch/powerpc/include/asm/hvcall.h         |    1 +
 drivers/misc/cxl/Makefile                 |    1 +
 drivers/misc/cxl/api.c                    |   83 +-
 drivers/misc/cxl/base.c                   |   32 +
 drivers/misc/cxl/context.c                |   18 +-
 drivers/misc/cxl/cxl.h                    |  290 ++++---
 drivers/misc/cxl/debugfs.c                |    4 +
 drivers/misc/cxl/fault.c                  |   25 +-
 drivers/misc/cxl/file.c                   |   28 +-
 drivers/misc/cxl/flash.c                  |  538 +++++++++++++
 drivers/misc/cxl/guest.c                  | 1177 +++++++++++++++++++++++++++++
 drivers/misc/cxl/hcalls.c                 |  647 ++++++++++++++++
 drivers/misc/cxl/hcalls.h                 |  204 +++++
 drivers/misc/cxl/irq.c                    |  309 ++------
 drivers/misc/cxl/main.c                   |  122 ++-
 drivers/misc/cxl/native.c                 |  500 ++++++++++--
 drivers/misc/cxl/of.c                     |  513 +++++++++++++
 drivers/misc/cxl/pci.c                    |  267 +++----
 drivers/misc/cxl/sysfs.c                  |  128 +++-
 drivers/misc/cxl/trace.h                  |  193 +++++
 drivers/misc/cxl/vphb.c                   |  167 ++--
 drivers/scsi/cxlflash/common.h            |    1 -
 drivers/scsi/cxlflash/main.c              |   78 +-
 drivers/scsi/cxlflash/superpipe.c         |  195 ++---
 drivers/scsi/cxlflash/superpipe.h         |    1 +
 include/misc/cxl.h                        |    8 +-
 include/uapi/misc/cxl.h                   |   24 +
 29 files changed, 4719 insertions(+), 902 deletions(-)
 create mode 100644 drivers/misc/cxl/flash.c
 create mode 100644 drivers/misc/cxl/guest.c
 create mode 100644 drivers/misc/cxl/hcalls.c
 create mode 100644 drivers/misc/cxl/hcalls.h
 create mode 100644 drivers/misc/cxl/of.c


More information about the kernel-team mailing list