ppc64el Opal firmware support

Bug #1334268 reported by Breno Leitão
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Medium
Unassigned
Trusty
Fix Released
Medium
Tim Gardner
Utopic
Fix Released
Medium
Unassigned

Bug Description

Hi,

We would like to have the following patches integrated into the LInux package for 14.04.01 release.

All of those patches are upstream and also already backported in a git tree. We are still working to make the git tree public.

These are the patches.

commit 8b8f7bf4c218628fd243d03fc85cdbc7039e9e35
Author: Vasant Hegde <email address hidden>
powerpc/powernv: Pass buffer size to OPAL validate flash call

commit 2196c6f1ed66eef23df3b478cfe71661ae83726e
Author: Vasant Hegde <email address hidden>
powerpc/powernv: Return secondary CPUs to firmware before FW update

commit bf16a4c2515ace64f08f7adb182ca147c5b01145
Author: Vasant Hegde <email address hidden>
powerpc/powernv: Increase candidate fw image size

commit 0c930692107be4b91c3eeecfd9c9d600039f966f
Author: Anton Blanchard <email address hidden>
powerpc: Fix error return in rtas_flash module init

commit 2d6b63bbdd7a649ea17fae19f8bab07d4b292a09
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Fix little endian issues in OPAL dump code

commit 3441f04b4b62758a798f9fbbf2047dfedf0329a5
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Create OPAL sglist helper functions and fix endian issues

commit 14ad0c58d5df6e5911a5413abdc2a9be6a8acb51
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Fix little endian issues in OPAL error log code

commit 56b4c993124d15f3b198cc757ba49a0022b5d695
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Fix little endian issues with opal_do_notifier calls

commit cc146d1db0673396429ce4f906350d684ef4ca2a
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Fix little endian issues in OPAL flash code

commit 298b34d7d578c3b4325248b823f3d83a8ea1541c
Author: Benjamin Herrenschmidt <email address hidden>
powerpc/powernv: Fix kexec races going back to OPAL

commit bfc36894a48b996eba7e02d8e43093a289c1fb91
Author: Joel Stanley <email address hidden>
powerpc/powernv: Add OPAL message log interface

commit 9000c17dc0f9c910267d2661225c9d33a227b27e
Author: Anton Blanchard <email address hidden>
powerpc/powernv: Fix endian issues with sensor code

commit 7224adbbb80329d1a3ec5aa98213b50365fcd246
Author: Neelesh Gupta <email address hidden>
powerpc/powernv: Enable fetching of platform sensor data

commit 8d724823220862ce289be3b50119235e03537597
Author: Neelesh Gupta <email address hidden>
powerpc/powernv: Infrastructure to support OPAL async completion

commit 24366360035a9e0a9870ed7208aa2ba1948f844d
Author: Mahesh Salgaonkar <email address hidden>
powerpc/powernv: Infrastructure to read opal messages in generic format.

commit c7e64b9ce04aa2e3fad7396d92b5cb92056d16ac
Date: Mon Mar 3 10:25:42 2014 +1100
powerpc/powernv Platform dump interface

commit 311cf5c57039d7b1253609138a49dc433766b65c
Author: Stewart Smith <email address hidden>
powerpc/powernv: Read OPAL error log and export it through sysfs

commit 7e1ce5a492e18449fd47ef6305b26e0c572d26e9
Author: Vasant Hegde <email address hidden>
powerpc/powernv: Move SG list structure to header file

Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1334268

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: Incomplete → Triaged
Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: kernel-da-key
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Integrated backported patches for ppc64el

I see these patches are upstream as of 3.16-rc1. However, they don't seem to have been cc'd to upstream stable. Do you happen to know if they will be submitted for inclusion in upstream stable?

tags: added: trusty
tags: added: patch
Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Utopic):
status: Triaged → Fix Released
Changed in linux (Ubuntu Trusty):
assignee: nobody → Tim Gardner (timg-tpi)
status: New → In Progress
summary: - Integrated backported patches for ppc64el
+ ppc64el Opal firmware support
Revision history for this message
Tim Gardner (timg-tpi) wrote :

Ram, Breno - Against what repo and branch do these patches apply ? They certainly don't apply cleanly to Trusty master or master-next. I also end up with build issues after I drop the patches that collide (i.e., those patches that are already in the Trusty master/master-next). For example, there is no rule to build opal-sysparam.o and that makes me nervous that I don't have the right patch set.

Revision history for this message
Ram Pai (linuxram) wrote :

The above 1 to 15 patches should cleanly apply to the next tree. 3 of the original patches are already in the next tree. So it just boils down to 15 outstanding patches.

Revision history for this message
Tim Gardner (timg-tpi) wrote :

It is customary to actually build a patch set before submitting it for review. Nor is there any evidence that this has had any testing.

make[4]: *** No rule to make target `arch/powerpc/platforms/powernv/opal-sysparam.o', needed by `arch/powerpc/platforms/powernv/built-in.o'. Stop.
make[4]: *** Waiting for unfinished jobs....

Changed in linux (Ubuntu Trusty):
importance: Undecided → Medium
Revision history for this message
Ram Pai (linuxram) wrote :

 just compile and boot tested on pseries environment. and not compile and boot tested on powernv (risk assumed) since a larger set of 118 backported patches were compile/boot tested on powernv by someone having access to that environment.

my apologies. will find someone to compile/boot test on powernv, hopefully by the deadline.

Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :
Revision history for this message
Ram Pai (linuxram) wrote :

a) patches cleanly apply to the next tree
b) code cleanly compiles for powernv architecture and for pseries architecture
c) boot tested on pseries and powernv
d) some basic RAS tools testing on powernv passed.

Tim Gardner (timg-tpi)
Changed in linux (Ubuntu Trusty):
status: In Progress → Fix Committed
Revision history for this message
Luis Henriques (henrix) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-trusty' to 'verification-done-trusty'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-trusty
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (35.8 KiB)

This bug was fixed in the package linux - 3.13.0-32.57

---------------
linux (3.13.0-32.57) trusty; urgency=low

  [ Upstream Kernel Changes ]

  * l2tp: Privilege escalation in ppp over l2tp sockets
    - LP: #1341472
    - CVE-2014-4943

linux (3.13.0-32.56) trusty; urgency=low

  [ Luis Henriques ]

  * Merged back Ubuntu-3.13.0-30.55 security release
  * Revert "x86_64,ptrace: Enforce RIP <= TASK_SIZE_MAX (CVE-2014-4699)"
    - LP: #1337339
  * Release Tracking Bug
    - LP: #1338524

  [ Upstream Kernel Changes ]

  * ptrace,x86: force IRET path after a ptrace_stop()
    - LP: #1337339
    - CVE-2014-4699
  * hpsa: add new Smart Array PCI IDs (May 2014)
    - LP: #1337516

linux (3.13.0-31.55) trusty; urgency=low

  [ Luis Henriques ]

  * Release Tracking Bug
    - LP: #1336278

  [ Andy Whitcroft ]

  * [Config] switch hyper-keyboard to virtual
    - LP: #1325306
  * [Packaging] linux-udeb-flavour -- standardise on linux prefix

  [ dann frazier ]

  * [Config] CONFIG_GPIO_DWAPB=m
    - LP: #1334823

  [ Feng Kan ]

  * SAUCE: (no-up) arm64: dts: Add Designware GPIO dts binding to APM
    X-Gene platform
    - LP: #1334823

  [ John Johansen ]

  * SAUCE: (no-up) apparmor: fix apparmor spams log with warning message
    - LP: #1308761

  [ Kamal Mostafa ]

  * [Config] updateconfigs ACPI_PROCFS_POWER=y after v3.13.11.4 rebase

  [ Loc Ho ]

  * SAUCE: (no-up) phy-xgene: Use correct tuning for Mustang
    - LP: #1335636

  [ Michael Ellerman ]

  * SAUCE: (no-up) powerpc/perf: Ensure all EBB register state is cleared
    on fork()
    - LP: #1328914

  [ Ming Lei ]

  * Revert "SAUCE: (no-up) rtc: Add X-Gene SoC Real Time Clock Driver"
    - LP: #1274305

  [ Suman Tripathi ]

  * SAUCE: (no-up) libahci: Implement the function ahci_restart_engine to
    restart the port dma engine.
    - LP: #1335645
  * SAUCE: (no-up) ata: Fix the dma state machine lockup for the IDENTIFY
    DEVICE PIO mode command.
    - LP: #1335645

  [ Tim Gardner ]

  * [Config] CONFIG_POWERNV_CPUFREQ=y for powerpc, ppc64el
    - LP: #1324571
  * [Debian] Add UTS_UBUNTU_RELEASE_ABI to utsrelease.h
    - LP: #1327619
  * [Config] CONFIG_HAVE_MEMORYLESS_NODES=y
    - LP: #1332063
  * [Config] CONFIG_HID_RMI=m
    - LP: #1305522

  [ Upstream Kernel Changes ]

  * Revert "offb: Add palette hack for little endian"
    - LP: #1333430
  * Revert "net: mvneta: fix usage as a module on RGMII configurations"
    - LP: #1333837
  * Revert "USB: serial: add usbid for dell wwan card to sierra.c"
    - LP: #1333837
  * Revert "macvlan : fix checksums error when we are in bridge mode"
    - LP: #1333838
  * serial: uart: add hw flow control support configuration
    - LP: #1328295
  * mm/numa: Remove BUG_ON() in __handle_mm_fault()
    - LP: #1323165
  * Tools: hv: Handle the case when the target file exists correctly
    - LP: #1306215
  * Documentation/devicetree/bindings: add documentation for the APM X-Gene
    SoC RTC DTS binding
    - LP: #1274305
  * drivers/rtc: add APM X-Gene SoC RTC driver
    - LP: #1274305
  * arm64: add APM X-Gene SoC RTC DTS entry
    - LP: #1274305
  * powerpc/perf: Add Power8 cache & TLB events
    - LP: #1328914
  * powerpc/perf: Configure BH...

Changed in linux (Ubuntu Trusty):
status: Fix Committed → Fix Released
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.