public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Ard Biesheuvel <ardb@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org, linus.walleij@linaro.org,
	thunder.leizhen@huawei.com
Subject: Re: [PATCH] ARM: mm: shrink permanent FDT mapping to avoid mismatched attributes
Date: Mon, 15 Aug 2022 15:28:49 +0100	[thread overview]
Message-ID: <YvpYIeEm5SaIpF8f@shell.armlinux.org.uk> (raw)
In-Reply-To: <20220815141027.780659-1-ardb@kernel.org>

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!

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  reply	other threads:[~2022-08-15 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-15 14:10 [PATCH] ARM: mm: shrink permanent FDT mapping to avoid mismatched attributes Ard Biesheuvel
2022-08-15 14:28 ` Russell King (Oracle) [this message]
2022-08-15 14:35   ` Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YvpYIeEm5SaIpF8f@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=ardb@kernel.org \
    --cc=linus.walleij@linaro.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=thunder.leizhen@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox