Re: [PATCH 1/2] ARM: mmu: inherit pte flags from pmd
From: Sascha Hauer <s.hauer@pengutronix.de>
Date: 2021-06-21 04:35:04
On Fri, Jun 18, 2021 at 10:09:38AM +0200, Steffen Trumtrar wrote:
From: Sascha Hauer <s.hauer@pengutronix.de> When creating a 2nd level page table from a section inherit the flags from the section rather than assuming the section was mapped cached previously. This fixes creating a 2nd level pagetable when the section was mapped differently than we expected. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> --- arch/arm/cpu/mmu.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-)
Applied this one only for now, thanks Sascha -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox