[PATCH 1/1] UBUNTU: [Config] ppc64el: build for Power8 not Power7

Daniel Axtens daniel.axtens at canonical.com
Thu Jun 22 00:23:09 UTC 2017


BugLink: https://bugs.launchpad.net/bugs/1699627

Switch from building ppc64el with CPU_POWER7 to CPU_POWER8.
This enables HAVE_EFFICIENT_UNALIGEND_ACCESS, which:
 - makes some things faster
 - allows more eBPF programs (e.g. for XDP) to validate

CC: Michael Ellerman <mpe at ellerman.id.au>
Signed-off-by: Daniel Axtens <daniel.axtens at canonical.com>
---
 debian.master/config/amd64/config.common.amd64     | 1 -
 debian.master/config/annotations                   | 4 ++--
 debian.master/config/arm64/config.common.arm64     | 1 -
 debian.master/config/armhf/config.common.armhf     | 1 -
 debian.master/config/config.common.ubuntu          | 5 +++--
 debian.master/config/i386/config.common.i386       | 1 -
 debian.master/config/ppc64el/config.common.ppc64el | 1 -
 debian.master/config/s390x/config.common.s390x     | 1 -
 8 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/debian.master/config/amd64/config.common.amd64 b/debian.master/config/amd64/config.common.amd64
index ff07271f157a..fb8f1b71c93b 100644
--- a/debian.master/config/amd64/config.common.amd64
+++ b/debian.master/config/amd64/config.common.amd64
@@ -113,7 +113,6 @@ CONFIG_GPIO_GENERIC=m
 CONFIG_GPIO_GENERIC_PLATFORM=m
 CONFIG_GPIO_TWL4030=m
 CONFIG_GPIO_TWL6040=m
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 # CONFIG_HAVE_AOUT is not set
 # CONFIG_HAVE_ARCH_BITREVERSE is not set
 CONFIG_HAVE_ARCH_VMAP_STACK=y
diff --git a/debian.master/config/annotations b/debian.master/config/annotations
index 22c169853f78..6ba55f7017dd 100644
--- a/debian.master/config/annotations
+++ b/debian.master/config/annotations
@@ -10181,8 +10181,8 @@ CONFIG_PPC_ICSWX                                flag<REVIEW>
 CONFIG_GENERIC_CPU                              policy<{'amd64': 'y'}>
 
 # Menu: Processor support >> CPU selection >> Architecture: powerpc
-CONFIG_POWER7_CPU                               policy<{'ppc64el': 'y'}>
-CONFIG_POWER8_CPU                               policy<{'ppc64el': 'n'}>
+CONFIG_POWER7_CPU                               policy<{'ppc64el': 'n'}>
+CONFIG_POWER8_CPU                               policy<{'ppc64el': 'y'}>
 
 # Menu: Processor support >> Processor Type >> Architecture: powerpc
 CONFIG_PPC_BOOK3S_64                            policy<{'ppc64el': 'y'}>
diff --git a/debian.master/config/arm64/config.common.arm64 b/debian.master/config/arm64/config.common.arm64
index a2dcd7f00a67..3107eba43066 100644
--- a/debian.master/config/arm64/config.common.arm64
+++ b/debian.master/config/arm64/config.common.arm64
@@ -126,7 +126,6 @@ CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_TWL4030=m
 CONFIG_GPIO_TWL6040=m
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 # CONFIG_HAVE_AOUT is not set
 CONFIG_HAVE_ARCH_BITREVERSE=y
 # CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff --git a/debian.master/config/armhf/config.common.armhf b/debian.master/config/armhf/config.common.armhf
index b8991d65278f..2f817ac68808 100644
--- a/debian.master/config/armhf/config.common.armhf
+++ b/debian.master/config/armhf/config.common.armhf
@@ -114,7 +114,6 @@ CONFIG_GPIO_GENERIC=y
 CONFIG_GPIO_GENERIC_PLATFORM=y
 CONFIG_GPIO_TWL4030=y
 CONFIG_GPIO_TWL6040=y
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 # CONFIG_HAVE_AOUT is not set
 CONFIG_HAVE_ARCH_BITREVERSE=y
 # CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff --git a/debian.master/config/config.common.ubuntu b/debian.master/config/config.common.ubuntu
index 6d8a7d7c20ad..c98be34453e4 100644
--- a/debian.master/config/config.common.ubuntu
+++ b/debian.master/config/config.common.ubuntu
@@ -3056,6 +3056,7 @@ CONFIG_HAS_DMA=y
 CONFIG_HAS_IOMEM=y
 CONFIG_HAS_IOPORT_MAP=y
 # CONFIG_HAS_RAPIDIO is not set
+# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 CONFIG_HAVE_ACPI_APEI=y
 CONFIG_HAVE_ACPI_APEI_NMI=y
 CONFIG_HAVE_ALIGNED_STRUCT_PAGE=y
@@ -6335,8 +6336,8 @@ CONFIG_PNPBIOS_PROC_FS=y
 CONFIG_POSIX_MQUEUE=y
 CONFIG_POSIX_MQUEUE_SYSCTL=y
 CONFIG_POSIX_TIMERS=y
-CONFIG_POWER7_CPU=y
-# CONFIG_POWER8_CPU is not set
+# CONFIG_POWER7_CPU is not set
+CONFIG_POWER8_CPU=y
 CONFIG_POWERNV_CPUFREQ=y
 CONFIG_POWERNV_CPUIDLE=y
 CONFIG_POWERNV_OP_PANEL=m
diff --git a/debian.master/config/i386/config.common.i386 b/debian.master/config/i386/config.common.i386
index 0b95df9f4217..4efc75aa06b2 100644
--- a/debian.master/config/i386/config.common.i386
+++ b/debian.master/config/i386/config.common.i386
@@ -110,7 +110,6 @@ CONFIG_GPIO_GENERIC=m
 CONFIG_GPIO_GENERIC_PLATFORM=m
 CONFIG_GPIO_TWL4030=m
 CONFIG_GPIO_TWL6040=m
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 CONFIG_HAVE_AOUT=y
 # CONFIG_HAVE_ARCH_BITREVERSE is not set
 # CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff --git a/debian.master/config/ppc64el/config.common.ppc64el b/debian.master/config/ppc64el/config.common.ppc64el
index b51f9cb056b4..2d6f1a7cb9b6 100644
--- a/debian.master/config/ppc64el/config.common.ppc64el
+++ b/debian.master/config/ppc64el/config.common.ppc64el
@@ -110,7 +110,6 @@ CONFIG_GPIO_GENERIC=m
 CONFIG_GPIO_GENERIC_PLATFORM=m
 CONFIG_GPIO_TWL4030=m
 CONFIG_GPIO_TWL6040=m
-CONFIG_HAVE_64BIT_ALIGNED_ACCESS=y
 # CONFIG_HAVE_AOUT is not set
 # CONFIG_HAVE_ARCH_BITREVERSE is not set
 # CONFIG_HAVE_ARCH_VMAP_STACK is not set
diff --git a/debian.master/config/s390x/config.common.s390x b/debian.master/config/s390x/config.common.s390x
index 9d675175bbad..211c4e21c0f5 100644
--- a/debian.master/config/s390x/config.common.s390x
+++ b/debian.master/config/s390x/config.common.s390x
@@ -94,7 +94,6 @@ CONFIG_FRAME_WARN=1024
 # CONFIG_GENERIC_PHY is not set
 CONFIG_GPIO_GENERIC=m
 CONFIG_GPIO_GENERIC_PLATFORM=m
-# CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set
 # CONFIG_HAVE_AOUT is not set
 # CONFIG_HAVE_ARCH_BITREVERSE is not set
 # CONFIG_HAVE_ARCH_VMAP_STACK is not set
-- 
2.11.0




More information about the kernel-team mailing list