commit | 6bd0dcf9209fc4064ac7db95fecbc94e1d6557a6 | [log] [tgz] |
---|---|---|
author | Daniel Leung <daniel.leung@intel.com> | Fri Jul 12 14:56:43 2024 -0700 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Mon Sep 16 09:55:53 2024 +0200 |
tree | da1bd638171430afdb39fa3be067336e44871b0a | |
parent | 50b07f9480a49f2b489ade9dae98b91fc3f2a643 [diff] |
xtensa: mpu: make sure write to MPU regions is atomic This adds a spinlock to make sure writing to hardware MPU regions is atomic, and cannot be interrupted until all regions are written to hardware. Signed-off-by: Daniel Leung <daniel.leung@intel.com>