You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IEE: arm64: mmu: Improve IEE data segment mapping logic
Enhance the kernel data segment mapping logic in the map_kernel()
function to properly handle IEE initialization data segments.
Key improvements:
*Add size validation for IEE data segments by calculating iee_data_size
*Only create separate mappings when IEE init data is actually present
*Add informative log message when no IEE init data exists
*Fix code structure and conditional logic for better readability and correctness
This change ensures that the kernel data mapping strategy is
appropriately chosen based on the actual presence of IEE
initialization data, avoiding unnecessary complexity when IEE data
segments are empty while maintaining proper functionality when they
are present.
Tested-by: Jun Zhan <[email protected]>
Co-developed-by: Jun Zhan <[email protected]>
Signed-off-by: Jun Zhan <[email protected]>
Signed-off-by: WangYuli <[email protected]>
0 commit comments