[PATCH] ARM: mm: shrink permanent FDT mapping to avoid mismatched attributes
Russell King (Oracle)
linux at armlinux.org.uk
Mon Aug 15 07:28:49 PDT 2022
On Mon, Aug 15, 2022 at 04:10:27PM +0200, Ard Biesheuvel wrote:
> diff --git a/arch/arm/include/asm/memory.h b/arch/arm/include/asm/memory.h
> index a55a9038abc8..aeb83eb5d251 100644
> --- a/arch/arm/include/asm/memory.h
> +++ b/arch/arm/include/asm/memory.h
> @@ -79,7 +79,6 @@
> #define XIP_VIRT_ADDR(physaddr) (MODULES_VADDR + ((physaddr) & 0x000fffff))
>
> #define FDT_FIXED_BASE UL(0xff800000)
> -#define FDT_FIXED_SIZE (2 * SECTION_SIZE)
> #define FDT_VIRT_BASE(physbase) ((void *)(FDT_FIXED_BASE | (physbase) % SECTION_SIZE))
Should this now use PAGE_SIZE rather than SECTION_SIZE since we won't
be using a section mapping?
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
More information about the linux-arm-kernel
mailing list