linux-bl808/arch
Mark Rutland 275f344bec arm64: add macro to extract ESR_ELx.EC
Several places open-code extraction of the EC field from an ESR_ELx
value, in subtly different ways. This is unfortunate duplication and
variation, and the precise logic used to extract the field is a
distraction.

This patch adds a new macro, ESR_ELx_EC(), to extract the EC field from
an ESR_ELx value in a consistent fashion.

Existing open-coded extractions in core arm64 code are moved over to the
new helper. KVM code is left as-is for the moment.

Signed-off-by: Mark Rutland <mark.rutland@arm.com>
Tested-by: Huang Shijie <shijie.huang@arm.com>
Cc: Dave P Martin <dave.martin@arm.com>
Cc: James Morse <james.morse@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
2016-06-21 17:07:09 +01:00
..
alpha
arc Revert "ARCv2: spinlock/rwlock/atomics: Delayed retry of failed SCOND with exponential backoff" 2016-06-02 10:59:23 +05:30
arm ARM: SoC fixes 2016-06-18 20:36:17 -10:00
arm64 arm64: add macro to extract ESR_ELx.EC 2016-06-21 17:07:09 +01:00
avr32
blackfin
c6x
cris
frv
h8300 Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
hexagon
ia64
m32r
m68k Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
metag
microblaze Merge branch 'hash' of git://ftp.sciencehorizons.net/linux 2016-05-28 16:15:25 -07:00
mips MIPS: KVM: Fix CACHE triggered exception emulation 2016-06-14 10:59:45 +02:00
mn10300
nios2
openrisc
parisc parisc: Move die_if_kernel() prototype into traps.h header 2016-06-05 08:49:01 +02:00
powerpc powerpc fixes for 4.7 #2 2016-06-10 12:23:49 -07:00
s390 KVM: s390: Add stats for PEI events 2016-06-10 10:24:24 +02:00
score
sh
sparc Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2016-05-31 22:20:56 -07:00
tile
um
unicore32
x86 Driver core fixes for 4.7-rc4 2016-06-18 06:04:01 -10:00
xtensa
.gitignore
Kconfig isa: Allow ISA-style drivers on modern systems 2016-06-17 20:21:12 -07:00