From: Sascha Hauer <s.hauer@pengutronix.de>
To: barebox@lists.infradead.org, Ahmad Fatoum <a.fatoum@pengutronix.de>
Cc: mfe@pengutronix.de
Subject: Re: [PATCH 1/2] ARM: mmu: have zero_page_remappable() check MMU status
Date: Mon, 03 Nov 2025 09:56:50 +0100	[thread overview]
Message-ID: <176216021058.4142877.16070569428789037301.b4-ty@pengutronix.de> (raw)
In-Reply-To: <20251028143238.1782982-1-a.fatoum@pengutronix.de>
On Tue, 28 Oct 2025 15:32:34 +0100, Ahmad Fatoum wrote:
> zero_page_access() and zero_page_faulting() call remap_range(), which
> assumes the TTBR was initialized to page tables set up by barebox.
> 
> It's thus not safe to call them from generic code prior to enabling the
> MMU, but we are doing just that. In preparation for fixing, let's make
> zero_page_remappable reflect MMU status.
> 
> [...]
Applied, thanks!
[1/2] ARM: mmu: have zero_page_remappable() check MMU status
      https://git.pengutronix.de/cgit/barebox/commit/?id=ce3410882a3a (link may not be stable)
[2/2] ARM: i.MX8M: romapi: skip zero_page_access() if MMU is disabled
      https://git.pengutronix.de/cgit/barebox/commit/?id=accef8382d96 (link may not be stable)
Best regards,
-- 
Sascha Hauer <s.hauer@pengutronix.de>
     prev parent reply	other threads:[~2025-11-03  8:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-28 14:32 Ahmad Fatoum
2025-10-28 14:32 ` [PATCH 2/2] ARM: i.MX8M: romapi: skip zero_page_access() if MMU is disabled Ahmad Fatoum
2025-11-03  8:56 ` Sascha Hauer [this message]
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=176216021058.4142877.16070569428789037301.b4-ty@pengutronix.de \
    --to=s.hauer@pengutronix.de \
    --cc=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=mfe@pengutronix.de \
    /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