Skip to content

x86/slaunch: fix non-reserved SLRT memory access from lateinit#165

Open
accek-itl wants to merge 1 commit intoTrenchBoot:linux-sl-master-11-30-25-v15from
accek-itl:pr/59d66ea9-slrt-latelinit-fix
Open

x86/slaunch: fix non-reserved SLRT memory access from lateinit#165
accek-itl wants to merge 1 commit intoTrenchBoot:linux-sl-master-11-30-25-v15from
accek-itl:pr/59d66ea9-slrt-latelinit-fix

Conversation

@accek-itl
Copy link

SLRT memory region is not memblock_reserved in MLE, yet it was accessed from lateinit. It happened that SLRT was overwritten in the meantime.

The fix makes MLE save the copy of LOG_INFO SLRT entry and then make it accessible to lateinit code via slaunch_get_log_info().

SLRT memory region is not memblock_reserved in MLE, yet it was accessed
from lateinit. It happened that SLRT was overwritten in the meantime.

The fix makes MLE save the copy of LOG_INFO SLRT entry and then make it
accessible to lateinit code via slaunch_get_log_info().

Signed-off-by: Szymon "accek" Acedański <accek@invisiblethingslab.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant