linux_dsm_epyc7002/arch
Catalin Marinas bd5d4df4dc arm64: Ignore any DMA offsets in the max_zone_phys() calculation
commit 791ab8b2e3db0c6e4295467d10398800ec29144c upstream.

Currently, the kernel assumes that if RAM starts above 32-bit (or
zone_bits), there is still a ZONE_DMA/DMA32 at the bottom of the RAM and
such constrained devices have a hardwired DMA offset. In practice, we
haven't noticed any such hardware so let's assume that we can expand
ZONE_DMA32 to the available memory if no RAM below 4GB. Similarly,
ZONE_DMA is expanded to the 4GB limit if no RAM addressable by
zone_bits.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Tested-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Reviewed-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
Cc: Robin Murphy <robin.murphy@arm.com>
Link: https://lore.kernel.org/r/20201118185809.1078362-1-catalin.marinas@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Cc: Kefeng Wang <wangkefeng.wang@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-30 08:47:16 -04:00
..
alpha
arc ARCv2: save ABI registers across signal handling 2021-06-23 14:42:51 +02:00
arm ARM: 9081/1: fix gcc-10 thumb2-kernel regression 2021-06-30 08:47:16 -04:00
arm64 arm64: Ignore any DMA offsets in the max_zone_phys() calculation 2021-06-30 08:47:16 -04:00
c6x
csky
h8300
hexagon
ia64 tweewide: Fix most Shebang lines 2021-05-22 11:40:55 +02:00
m68k m68k: Add missing mmap_read_lock() to sys_cacheflush() 2021-05-14 09:50:19 +02:00
microblaze
mips MIPS: generic: Update node names to avoid unit addresses 2021-06-30 08:47:16 -04:00
nds32
nios2
openrisc openrisc: Define memory barrier mb 2021-06-03 09:00:44 +02:00
parisc
powerpc powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers 2021-06-16 12:01:38 +02:00
riscv riscv: Use -mno-relax when using lld linker 2021-06-18 10:00:04 +02:00
s390 s390/mcck: fix calculation of SIE critical section size 2021-06-23 14:42:51 +02:00
sh
sparc
um um: Disable CONFIG_GCOV with MODULES 2021-05-22 11:40:53 +02:00
x86 x86/fpu: Reset state for all signal restore failures 2021-06-23 14:42:52 +02:00
xtensa
.gitignore
Kconfig