diff options
author | Anshuman Khandual <anshuman.khandual@arm.com> | 2020-06-29 10:08:31 +0530 |
---|---|---|
committer | Catalin Marinas <catalin.marinas@arm.com> | 2020-07-02 15:44:50 +0100 |
commit | 638d503130098e234b002942b33a4d886ef6f270 (patch) | |
tree | 74155af1c5f7a2f27d7460a9be64fc15cd80dcdc /arch/arm64/include/asm/cpufeature.h | |
parent | d4e0340919fb9190a57e879fb3125c4acce0d9b2 (diff) | |
download | linux-638d503130098e234b002942b33a4d886ef6f270.tar.gz linux-638d503130098e234b002942b33a4d886ef6f270.tar.bz2 linux-638d503130098e234b002942b33a4d886ef6f270.zip |
arm64/panic: Unify all three existing notifier blocks
Currently there are three different registered panic notifier blocks. This
unifies all of them into a single one i.e arm64_panic_block, hence reducing
code duplication and required calling sequence during panic. This preserves
the existing dump sequence. While here, just use device_initcall() directly
instead of __initcall() which has been a legacy alias for the earlier. This
replacement is a pure cleanup with no functional implications.
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Steve Capper <steve.capper@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/1593405511-7625-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/cpufeature.h')
-rw-r--r-- | arch/arm64/include/asm/cpufeature.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/include/asm/cpufeature.h b/arch/arm64/include/asm/cpufeature.h index 5d1f4ae42799..e375529ca9fc 100644 --- a/arch/arm64/include/asm/cpufeature.h +++ b/arch/arm64/include/asm/cpufeature.h @@ -774,6 +774,7 @@ static inline unsigned int get_vmid_bits(u64 mmfr1) } u32 get_kvm_ipa_limit(void); +void dump_cpu_features(void); #endif /* __ASSEMBLY__ */ |