linux-stable/arch/arm64
Will Deacon a6258a18a5 arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition
commit 770093459b upstream.

Commit 031495635b ("arm64: Do not defer reserve_crashkernel() for
platforms with no DMA memory zones") introduced different definitions
for 'arm64_dma_phys_limit' depending on CONFIG_ZONE_DMA{,32} based on
a late suggestion from Pasha. Sadly, this results in a build error when
passing W=1:

  | arch/arm64/mm/init.c:90:19: error: conflicting type qualifiers for 'arm64_dma_phys_limit'

Drop the 'const' for now and use '__ro_after_init' consistently.

Link: https://lore.kernel.org/r/202203090241.aj7paWeX-lkp@intel.com
Link: https://lore.kernel.org/r/CA+CK2bDbbx=8R=UthkMesWOST8eJMtOGJdfMRTFSwVmo0Vn0EA@mail.gmail.com
Fixes: 031495635b ("arm64: Do not defer reserve_crashkernel() for platforms with no DMA memory zones")
Signed-off-by: Will Deacon <will@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-04-08 13:58:59 +02:00
..
boot arm64: dts: rockchip: Fix SDIO regulator supply properties on rk3399-firefly 2022-04-08 13:57:51 +02:00
configs arm64: defconfig: build imx-sdma as a module 2022-04-08 13:58:43 +02:00
crypto arm64: Add macro version of the BTI instruction 2021-12-14 18:12:58 +00:00
hyperv
include arm64: module: remove (NOLOAD) from linker script 2022-04-08 13:58:37 +02:00
kernel arm64: prevent instrumentation of bp hardening callbacks 2022-04-08 13:57:37 +02:00
kvm arm64 Spectre-BHB mitigations based on v5.17-rc3 2022-03-08 09:27:25 -08:00
lib Merge branches 'for-next/misc', 'for-next/cache-ops-dzp', 'for-next/stacktrace', 'for-next/xor-neon', 'for-next/kasan', 'for-next/armv8_7-fp', 'for-next/atomics', 'for-next/bti', 'for-next/sve', 'for-next/kselftest' and 'for-next/kcsan', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2022-01-05 18:14:32 +00:00
mm arm64: mm: Drop 'const' from conditional arm64_dma_phys_limit definition 2022-04-08 13:58:59 +02:00
net bpf, arm64: Feed byte-offset into bpf line info 2022-04-08 13:58:13 +02:00
tools arm64: Mitigate spectre style branch history side channels 2022-02-24 13:58:52 +00:00
xen
Kbuild
Kconfig KVM: arm64: Enable Cortex-A510 erratum 2077057 by default 2022-04-08 13:58:14 +02:00
Kconfig.debug
Kconfig.platforms arm64: Remove ARCH_VULCAN 2022-02-08 16:01:59 +01:00
Makefile arm64/xor: use EOR3 instructions when available 2021-12-14 12:14:26 +00:00