Re: [PATCH] iomap: remove set_memor_ro() on zero page
From: Stephen Rothwell
Date: Tue Aug 27 2024 - 02:27:17 EST
Hi all,
On Mon, 26 Aug 2024 22:55:39 -0700 "Darrick J. Wong" <djwong@xxxxxxxxxx> wrote:
>
> On Mon, Aug 26, 2024 at 02:26:32PM -0700, Luis Chamberlain wrote:
> > Stephen reported a boot failure on ppc power8 system where
> > set_memor_ro() on the new zero page failed [0]. Christophe Leroy
> > further clarifies we can't use this on on linear memory on ppc, and
> > so instead of special casing this just for PowerPC [2] remove the
> > call as suggested by Darrick.
> >
> > [0] https://lore.kernel.org/all/20240826175931.1989f99e@xxxxxxxxxxxxxxxx/T/#u
> > [1] https://lore.kernel.org/all/b0fe75b4-c1bb-47f7-a7c3-2534b31c1780@xxxxxxxxxx/
> > [2] https://lore.kernel.org/all/ZszrJkFOpiy5rCma@xxxxxxxxxxxxxxxxxxxxxx/
> >
> > Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
> > Suggested-by: "Darrick J. Wong" <djwong@xxxxxxxxxx>
> > Signed-off-by: Luis Chamberlain <mcgrof@xxxxxxxxxx>
>
> Reviewed-by: Darrick J. Wong <djwong@xxxxxxxxxx>
I added this to linux-next today, and it seems to have fixed the run
time warning, so
Tested-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
--
Cheers,
Stephen Rothwell
Attachment:
pgp6vcyddcE9n.pgp
Description: OpenPGP digital signature