Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1605125

Summary: Fedora 28 - Kernel should not be built with POWER7_CPU=y and CPU_LITTLE_ENDIAN=y
Product: [Fedora] Fedora Reporter: IBM Bug Proxy <bugproxy>
Component: kernelAssignee: Dan Horák <dan>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, dan, ewk, hannsj_uhl, hdegoede, ichavero, itamar, jarodwilson, jglisse, jkachuck, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: ppc64le   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-08-03 15:17:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1071880    

Description IBM Bug Proxy 2018-07-20 08:50:16 UTC

Comment 1 IBM Bug Proxy 2018-07-20 08:50:36 UTC
== Comment: #0 - Sandipan Das <sadas034.com> - 2018-07-06 02:13:41 ==
Little-endian mode is officially supported for POWER8 and newer only. There are some other kernel build configuration options such as HAVE_EFFICIENT_UNALIGNED_ACCESS that depend on having POWER7_CPU=n when CPU_LITTLE_ENDIAN=y. This can cause failures in certain cases such as the TEST_BPF runtime tests.

Comment 2 Hanns-Joachim Uhl 2018-07-28 16:05:49 UTC
fyi ... as an example:
$ grep CONFIG_POWER ./lib/modules/4.17.6-200.fc28.ppc64le/config 
CONFIG_POWER7_CPU=y
# CONFIG_POWER8_CPU is not set
# CONFIG_POWER9_CPU is not set

RHEL kernels are fine. They set CONFIG_POWER8_CPU=y.

Comment 3 Dan Horák 2018-07-31 09:06:55 UTC
it's now part of https://src.fedoraproject.org/rpms/kernel/pull-request/16