Bug 1605125 - Fedora 28 - Kernel should not be built with POWER7_CPU=y and CPU_LITTLE_ENDIAN=y
Summary: Fedora 28 - Kernel should not be built with POWER7_CPU=y and CPU_LITTLE_ENDIAN=y
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2018-07-20 08:50 UTC by IBM Bug Proxy
Modified: 2018-08-03 15:17 UTC (History)
19 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-08-03 15:17:19 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 169530 0 None None None 2018-07-20 08:50:44 UTC

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


Note You need to log in before you can comment on or make changes to this bug.