History

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux

Pull arm64 fixes from Catalin Marinas: - Set the minimum GCC version to 5.1 for arm64 due to earlier compiler bugs. - Make atomic helpers __always_inline to avoid a section mismatch when compiling with clang. - Fix the CMA and crashkernel reservations to use ZONE_DMA (remove the arm64_dma32_phys_limit variable, no longer needed with a dynamic ZONE_DMA sizing in 5.11). - Remove redundant IRQ flag tracing that was leaving lockdep inconsistent with the hardware state. - Revert perf events based hard lockup detector that was causing smp_processor_id() to be called in preemptible context. - Some trivial cleanups - spelling fix, renaming S_FRAME_SIZE to PT_REGS_SIZE, function prototypes added. * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: selftests: Fix spelling of 'Mismatch' arm64: syscall: include prototype for EL0 SVC functions compiler.h: Raise minimum version of GCC to 5.1 for arm64 arm64: make atomic helpers __always_inline arm64: rename S_FRAME_SIZE to PT_REGS_SIZE Revert "arm64: Enable perf events based hard lockup detector" arm64: entry: remove redundant IRQ flag tracing arm64: Remove arm64_dma32_phys_limit and its uses

Linus Torvalds committed 5 years ago

Commit 82821be2 parents f288c89 3a57a6417 files · +56 −107Browse files

Showing the changes to include/linux (2 of 17 files). Show all

Unified · Split

2 files
  1. include/linux/compiler-gcc.h +6 −0
  2. include/linux/perf/arm_pmu.h +0 −2
include/linux/compiler-gcc.h+6−0
@@ -13,6 +13,12 @@ · 12 unmodified lines
13/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145 */13/* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145 */
14#if GCC_VERSION < 4090014#if GCC_VERSION < 40900
15# error Sorry, your version of GCC is too old - please use 4.9 or newer.15# error Sorry, your version of GCC is too old - please use 4.9 or newer.
16#elif defined(CONFIG_ARM64) && GCC_VERSION < 50100
17/*
18 * https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63293
19 * https://lore.kernel.org/r/20210107111841.GN1551@shell.armlinux.org.uk
20 */
21# error Sorry, your version of GCC is too old - please use 5.1 or newer.
16#endif22#endif
17 23
18/*24/*
include/linux/perf/arm_pmu.h+0−2
@@ -163,8 +163,6 @@ int arm_pmu_acpi_probe(armpmu_init_fn init_fn); · 162 unmodified lines
163static inline int arm_pmu_acpi_probe(armpmu_init_fn init_fn) { return 0; }163static inline int arm_pmu_acpi_probe(armpmu_init_fn init_fn) { return 0; }
164#endif164#endif
165 165
166bool arm_pmu_irq_is_nmi(void);
167
168/* Internal functions only for core arm_pmu code */166/* Internal functions only for core arm_pmu code */
169struct arm_pmu *armpmu_alloc(void);167struct arm_pmu *armpmu_alloc(void);
170struct arm_pmu *armpmu_alloc_atomic(void);168struct arm_pmu *armpmu_alloc_atomic(void);