From: Alexander Graf Date: Tue, 14 Feb 2017 16:39:20 +0100 Subject: [U-Boot] [PATCH 8/9] armv8: mmu: Add a function to change mapping attributes In-Reply-To: <1487043936-10112-9-git-send-email-york.sun@nxp.com> References: <1487043936-10112-1-git-send-email-york.sun@nxp.com> <1487043936-10112-9-git-send-email-york.sun@nxp.com> Message-ID: <8fc8a628-f741-1246-be50-bc63ce99c854@suse.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 14/02/2017 04:45, York Sun wrote: > Function mmu_change_region_attr() is added to change existing mapping > with updated PXN, UXN and memory type. This is a break-before-make > process during which the mapping becomes fault (invalid) before final > attributres are set. This is what we have the emergency tables for, no? Just switch to those, modify anything you like in the original tables, then switch back. Alex