-
Bug
-
Resolution: Fixed
-
High
-
PDK
-
PDK-13293
-
PROCESSOR_SDK_09.00.00
-
PROCESSOR_SDK_09.01.00
-
Issue Description :
Firewall disabling order for HS is incorrect. First the foreground regions need to be disabled and then the background needs to be disabled.
Rootcause :
Firewall regions were disabled in ascending order in SBL i.e
region0 first and then region1 .... and so on. Firewall exception can occur if background region firewall is disabled first. To avoid firewall exception, firewall should be disabled for all the foreground regions first and then disable background regions
Resolution:
Implemented SBL_disableFwlRegion() API which disables foreground firewall
regions if DISABLE_BACKGROUND_REGION is passed as a function parameters and disables background firewall regions if DISABLE_FOREGROUND_REGION is passed as a function parameter. Updated firewall IDs and number of regions with the CSL macros. Separated code and data for disabling firewalls. Array of sblFwlData (which contains firewall ID and number of regions) is defined with all the firewall IDs data which needs to be disabled once tifs is loaded. First SBL_disableFwlRegion() will be called with DISABLE_FOREGROUND_REGION parameter and later
SBL_disableFwlRegion() will be called with DISABLE_BACKGROUND_REGION
parameter