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
Showing the changes to include/linux (2 of 17 files). Show all
Unified · Split
| @@ -13,6 +13,12 @@ · 12 unmodified lines | ||
| 13 | 13 | /* https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58145 */ |
| 14 | 14 | #if GCC_VERSION < 40900 |
| 15 | 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 | 22 | #endif |
| 17 | 23 | |
| 18 | 24 | /* |
| @@ -163,8 +163,6 @@ int arm_pmu_acpi_probe(armpmu_init_fn init_fn); · 162 unmodified lines | ||
| 163 | 163 | static inline int arm_pmu_acpi_probe(armpmu_init_fn init_fn) { return 0; } |
| 164 | 164 | #endif |
| 165 | 165 | |
| 166 | −bool arm_pmu_irq_is_nmi(void); | |
| 167 | − | |
| 168 | 166 | /* Internal functions only for core arm_pmu code */ |
| 169 | 167 | struct arm_pmu *armpmu_alloc(void); |
| 170 | 168 | struct arm_pmu *armpmu_alloc_atomic(void); |