[Ubuntu 18.04 FEAT] OpenCAPI enabling

Bug #1746988 reported by bugproxy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
The Ubuntu-power-systems project
Fix Released
Critical
Canonical Kernel Team
linux (Ubuntu)
Fix Released
Critical
Seth Forshee
Bionic
Fix Released
Critical
Seth Forshee

Bug Description

[FEATURE] OpenCAPI enabling

OpenCAPI is an Open Interface Architecture that allows any microprocessor to attach to

  * Coherent user-level accelerators and I/O devices
  * Advanced memories accessible via read/write or user-level DMA semantics
  * Agnostic to processor architecture

This is a feature to enable OpenCapi on Ubuntu 18.04. This is planned to be included in 4.16 and it will need to be backported to 4.15:

CVE References

bugproxy (bugproxy)
tags: added: architecture-ppc64le bugnameltc-144986 severity-critical targetmilestone-inin1804
Changed in ubuntu:
assignee: nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage)
affects: ubuntu → linux (Ubuntu)
Frank Heimes (fheimes)
Changed in ubuntu-power-systems:
importance: Undecided → Critical
assignee: nobody → Canonical Kernel Team (canonical-kernel-team)
tags: added: triage-g
Manoj Iyer (manjo)
Changed in linux (Ubuntu):
assignee: Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team)
importance: Undecided → Critical
Changed in ubuntu-power-systems:
status: New → Triaged
tags: added: kernel-da-key
Changed in linux (Ubuntu):
status: New → Triaged
Revision history for this message
bugproxy (bugproxy) wrote : Comment bridged from LTC Bugzilla

------- Comment From <email address hidden> 2018-02-14 13:03 EDT-------
The code for this feature is available in kernel 4.16-rc1, and we'd like to backport the following 13 patches for 18.04. They should apply cleanly on a 4.15 kernel:

7f2c39e91f61 powerpc/powernv: Introduce new PHB type for opencapi links
228c2f410378 powerpc/powernv: Set correct configuration space size for opencapi devices
74d656d219b9 powerpc/powernv: Add opal calls for opencapi
6914c757118e powerpc/powernv: Add platform-specific services for opencapi
2cb3d64b2698 powerpc/powernv: Capture actag information for the device
5ef3166e8a32 ocxl: Driver code for 'generic' opencapi devices
aeddad1760ae ocxl: Add AFU interrupt support
280b983ce2b8 ocxl: Add a kernel API for other opencapi drivers
92add22e8478 ocxl: Add trace points
b97f02246e0d ocxl: Add Makefile and Kconfig
741ddae6c4c1 cxl: Remove support for "Processing accelerators" class
00b96c0e3c54 ocxl: Documentation
6385d6f85fec ocxl: add MAINTAINERS entry

tags: added: bionic
Manoj Iyer (manjo)
tags: added: triage-a
removed: triage-g
Seth Forshee (sforshee)
Changed in linux (Ubuntu Bionic):
assignee: Canonical Kernel Team (canonical-kernel-team) → Seth Forshee (sforshee)
status: Triaged → In Progress
status: In Progress → Fix Committed
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-03-01 03:55 EDT-------
Today is the deadline for new feature submission and I don't see this driver code in the bionic tree. What's needed to make it happen?

Revision history for this message
Thadeu Lima de Souza Cascardo (cascardo) wrote :

Hi, Frederic.

It's fix committed, which means it's no the master-next branch of the bionic tree. The next release of 4.15 will have these patches. Can you confirm all of them are on the master-next branch?

Thank you.
Cascardo.

Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-03-01 06:01 EDT-------
Indeed, I can see the 13 patches on the master-next branch.
So it looks like we are in shape.
Great, thanks!

Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
status: Triaged → Fix Committed
tags: added: triage-g
removed: triage-a
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-03-12 05:01 EDT-------
I've just realized with some help that the code for this feature is in the proposed kernel 4.15.0-12.13. Yet there was no update to this bug to notify. Does it look good? Am I expected to validate on that kernel version?
Thanks

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (40.0 KiB)

This bug was fixed in the package linux - 4.15.0-12.13

---------------
linux (4.15.0-12.13) bionic; urgency=medium

  * linux: 4.15.0-12.13 -proposed tracker (LP: #1754059)

  * CONFIG_EFI=y on armhf (LP: #1726362)
    - [Config] CONFIG_EFI=y on armhf, reconcile secureboot EFI settings

  * ppc64el: Support firmware disable of RFI flush (LP: #1751994)
    - powerpc/pseries: Support firmware disable of RFI flush
    - powerpc/powernv: Support firmware disable of RFI flush

  * [Feature] CFL/CNL (PCH:CNP-H): New GPIO Commit added (GPIO Driver needed)
    (LP: #1751714)
    - gpio / ACPI: Drop unnecessary ACPI GPIO to Linux GPIO translation
    - pinctrl: intel: Allow custom GPIO base for pad groups
    - pinctrl: cannonlake: Align GPIO number space with Windows

  * [Feature] Add xHCI debug device support in the driver (LP: #1730832)
    - usb: xhci: Make some static functions global
    - usb: xhci: Add DbC support in xHCI driver
    - [Config] USB_XHCI_DBGCAP=y for commit mainline dfba2174dc42.

  * [SRU] Lenovo E41 Mic mute hotkey is not responding (LP: #1753347)
    - platform/x86: ideapad-laptop: Increase timeout to wait for EC answer

  * headset mic can't be detected on two Dell machines (LP: #1748807)
    - ALSA: hda - Fix a wrong FIXUP for alc289 on Dell machines

  * hisi_sas: Add disk LED support (LP: #1752695)
    - scsi: hisi_sas: directly attached disk LED feature for v2 hw

  * [Feature] [Graphics]Whiskey Lake (Coffelake-U 4+2) new PCI Device ID adds
    (LP: #1742561)
    - drm/i915/cfl: Adding more Coffee Lake PCI IDs.

  * [Bug] [USB Function][CFL-CNL PCH]Stall Error and USB Transaction Error in
    trace, Disable of device-initiated U1/U2 failed and rebind failed: -517
    during suspend/resume with usb storage. (LP: #1730599)
    - usb: Don't print a warning if interface driver rebind is deferred at resume

  * retpoline: ignore %cs:0xNNN constant indirections (LP: #1752655)
    - [Packaging] retpoline -- elide %cs:0xNNNN constants on i386
    - [Config] retpoline -- clean up i386 retpoline files

  * hisilicon hibmc regression due to ea642c3216cb ("drm/ttm: add io_mem_pfn
    callback") (LP: #1738334)
    - drm/ttm: add ttm_bo_io_mem_pfn to check io_mem_pfn

  * [Asus UX360UA] battery status in unity-panel is not changing when battery is
    being charged (LP: #1661876) // AC adapter status not detected on Asus
    ZenBook UX410UAK (LP: #1745032)
    - ACPI / battery: Add quirk for Asus UX360UA and UX410UAK

  * ASUS UX305LA - Battery state not detected correctly (LP: #1482390)
    - ACPI / battery: Add quirk for Asus GL502VSK and UX305LA

  * [18.04 FEAT] Automatically detect layer2 setting in the qeth device driver
    (LP: #1747639)
    - s390/diag: add diag26c support for VNIC info
    - s390/qeth: support early setup for z/VM NICs

  * Bionic update to v4.15.7 stable release (LP: #1752317)
    - netfilter: drop outermost socket lock in getsockopt()
    - arm64: mm: don't write garbage into TTBR1_EL1 register
    - kconfig.h: Include compiler types to avoid missed struct attributes
    - MIPS: boot: Define __ASSEMBLY__ for its.S build
    - xtensa: fix high memory/reserved memory collision
    - scsi: ibmvfc: fix misde...

Changed in linux (Ubuntu Bionic):
status: Fix Committed → Fix Released
Manoj Iyer (manjo)
Changed in ubuntu-power-systems:
status: Fix Committed → Fix Released
Revision history for this message
bugproxy (bugproxy) wrote :

------- Comment From <email address hidden> 2018-03-21 15:04 EDT-------
I've tested kernel 4.15.0-12.13 and the ocxl driver is working as expected

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.