mbox series

[SRU,Artful,Bionic,0/1] powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features

Message ID cover.1522436475.git.joseph.salisbury@canonical.com
Headers show
Series powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features | expand

Message

Joseph Salisbury March 30, 2018, 7:33 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1759312

== SRU Justification ==
AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines 
causing trouble to userspace tools and software that rely on that information, 
notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
that information.

This bug is fixed by commit e4b79900222b, which is in linux-next and just 
landed in mainline, but is not contained in any release as of yet.

== Fix ==
e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features")

== Regression Potential ==
Low.  Limited to powerpc.

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.

Michael Ellerman (1):
  powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features

 arch/powerpc/kernel/dt_cpu_ftrs.c | 3 +++
 1 file changed, 3 insertions(+)

Comments

Seth Forshee April 2, 2018, 6:29 p.m. UTC | #1
On Fri, Mar 30, 2018 at 03:33:34PM -0400, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1759312
> 
> == SRU Justification ==
> AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines 
> causing trouble to userspace tools and software that rely on that information, 
> notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
> that information.
> 
> This bug is fixed by commit e4b79900222b, which is in linux-next and just 
> landed in mainline, but is not contained in any release as of yet.
> 
> == Fix ==
> e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features")
> 
> == Regression Potential ==
> Low.  Limited to powerpc.
> 
> == Test Case ==
> A test kernel was built with this patch and tested by the original bug reporter.
> The bug reporter states the test kernel resolved the bug.

Acked-by: Seth Forshee <seth.forshee@canonical.com>

Applied to bionic/master-next, thanks!
Kleber Sacilotto de Souza April 3, 2018, 3:53 p.m. UTC | #2
On 03/30/18 21:33, Joseph Salisbury wrote:
> BugLink: http://bugs.launchpad.net/bugs/1759312
> 
> == SRU Justification ==
> AT_BASE_PLATFORM in AIXV is not exported to userspace on P9 baremetal machines 
> causing trouble to userspace tools and software that rely on that information, 
> notably operf and opreport (from oprofile 1.2.0+) will refuse to run without
> that information.
> 
> This bug is fixed by commit e4b79900222b, which is in linux-next and just 
> landed in mainline, but is not contained in any release as of yet.
> 
> == Fix ==
> e4b79900222b ("powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features")
> 
> == Regression Potential ==
> Low.  Limited to powerpc.
> 
> == Test Case ==
> A test kernel was built with this patch and tested by the original bug reporter.
> The bug reporter states the test kernel resolved the bug.
> 
> Michael Ellerman (1):
>   powerpc/64s: Fix NULL AT_BASE_PLATFORM when using DT CPU features
> 
>  arch/powerpc/kernel/dt_cpu_ftrs.c | 3 +++
>  1 file changed, 3 insertions(+)
> 

Applied to artful/master-next branch.

Thanks,
Kleber