US 12,073,104 B1
Dynamic adjustment of memory for storing protection metadata
Roberto Avanzi, Munich (DE); Andreas Lars Sandberg, Cambridge (GB); and David Helmut Schall, Bad Rappenau (DE)
Assigned to Arm Limited, Cambridge (GB)
Filed by Arm Limited, Cambridge (GB)
Filed on Apr. 13, 2023, as Appl. No. 18/299,763.
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0644 (2013.01) [G06F 3/0623 (2013.01); G06F 3/0673 (2013.01)] 20 Claims
OG exemplary drawing
 
19. A method of operating a memory protection unit comprising:
maintaining region metadata associated with storage regions of off-chip storage and protection metadata associated with each of the storage regions, wherein the protection metadata is stored in the off-chip storage, and the region metadata encodes whether each of the storage regions belongs to a set of protected storage regions or to a set of unprotected storage regions and encodes information indicating corresponding protection metadata associated with each storage region belonging to the set of protected storage regions; and
updating the region metadata in response to a region update request identifying a given storage region for which the region metadata is to be modified and dynamically adjusting an amount of memory required to store protection metadata associated with the set of protected storage regions in response to the update to the region metadata.