linux_dsm_epyc7002/arch/powerpc
Michael Ellerman e9eb0278da powerpc/64: Used named initialisers for ibm_pa_features
The ibm_pa_features array consists of structures that describe which bit
and byte in the ibm,pa-features property toggles one or more flags in
either the CPU, MMU, or user visible feature flags.

Each one consists of 7 values, which are all unsigned long, int or char,
meaning the compiler gives us no warning if we assign the wrong values
to the wrong elements. In fact we have had a bug here in the past, where
we were setting incorrect bits, see commit 6997e57d69 ("powerpc:
scan_features() updates incorrect bits for REAL_LE").

So switch to using named initialisers for the structure elements, to
reduce the likelihood of future bugs, and hopefully improve readability
also.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Reviewed-by: Balbir Singh <bsingharora@gmail.com>
2016-11-18 23:02:19 +11:00
..
boot
configs powerpc/configs: Turn on PPC crypto implementations in the server defconfigs 2016-11-18 23:02:19 +11:00
crypto
include powerpc/64: get rid of MIN_HUGEPTE_SHIFT 2016-11-18 22:40:37 +11:00
kernel powerpc/64: Used named initialisers for ibm_pa_features 2016-11-18 23:02:19 +11:00
kvm
lib powerpc/lib: Fix randconfig build failure in sstep.c 2016-11-18 22:40:42 +11:00
math-emu
mm powerpc/mm: Correct process and partition table max size 2016-11-17 17:11:53 +11:00
net
oprofile
perf
platforms powerpc/pseries: Disable IBMEBUS on little endian builds 2016-11-18 23:02:18 +11:00
scripts
sysdev powerpc: Add support for relative exception tables 2016-11-14 11:11:51 +11:00
xmon
Kconfig powerpc: Add option to use thin archives 2016-11-18 22:40:42 +11:00
Kconfig.debug powerpc/mm: Dump linux pagetables 2016-11-17 17:11:46 +11:00
Makefile powerpc: Add option to use thin archives 2016-11-18 22:40:42 +11:00
relocs_check.sh