summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
diff options
context:
space:
mode:
authorManorit Chawdhry <m-chawdhry@ti.com>2023-05-05 15:54:00 +0530
committerTom Rini <trini@konsulko.com>2023-06-01 12:32:03 -0400
commit8bfce2f9989fe15ca5f50ad74c6f315e14ad843f (patch)
tree05eef7b65fb7c269754c8039f7ff525f7fcfb73f /arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c
parent2a7ab9982cb648dba8305ad4ec02e721426e69f6 (diff)
arm: mach-k3: common: reorder removal of firewalls
K3 devices have some firewalls set up by ROM that we usually remove so that the development is easy in HS devices. While removing the firewalls disabling a background region before disabling the foreground regions keeps the firewall in a state where all the transactions will be blacklisted until all the regions are disabled. This causes a race for some other entity trying to access that memory region before all the firewalls are disabled and causes an exception. Since there is no guarantee on where the background regions lie based on ROM configurations or no guarantee if the background regions will allow all transactions across the memory spaces, iterate the loop twice removing the foregrounds first and then backgrounds. Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
Diffstat (limited to 'arch/arm/mach-stm32mp/cmd_stm32prog/stm32prog_serial.c')
0 files changed, 0 insertions, 0 deletions