Skip to content

Commit 96248d2

Browse files
authored
HAOC: Add log message when HAOC is enabled
When HAOC is enabled via kernel command line, print an informational message to dmesg. This helps in verifying the feature status during boot.
1 parent dd00fe0 commit 96248d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

arch/x86/mm/init_64.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1392,8 +1392,10 @@ void __init mem_init(void)
13921392
* The upper region becomes the IEE linear mapping area.
13931393
* Note that the IEE mapping region is mapped with read-only permissions.
13941394
*/
1395-
if (haoc_enabled)
1395+
if (haoc_enabled) {
1396+
pr_info("HAOC is enabled by kernel command line.");
13961397
iee_init();
1398+
}
13971399
#endif
13981400
preallocate_vmalloc_pages();
13991401
}

0 commit comments

Comments
 (0)