aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorSteven Chen <[email protected]>2025-04-21 22:25:14 +0000
committerMimi Zohar <[email protected]>2025-04-29 19:54:54 +0000
commit0ad93987c9c10a3125a58da0f225241169f3271a (patch)
treed8430e0cd66ecb646710c60fbf48c220552b133f /drivers/gpu/drm/amd/amdgpu/atom.c
parentima: verify if the segment size has changed (diff)
downloadkernel-0ad93987c9c10a3125a58da0f225241169f3271a.tar.gz
kernel-0ad93987c9c10a3125a58da0f225241169f3271a.zip
ima: make the kexec extra memory configurable
The extra memory allocated for carrying the IMA measurement list across kexec is hard-coded as half a PAGE. Make it configurable. Define a Kconfig option, IMA_KEXEC_EXTRA_MEMORY_KB, to configure the extra memory (in kb) to be allocated for IMA measurements added during kexec soft reboot. Ensure the default value of the option is set such that extra half a page of memory for additional measurements is allocated for the additional measurements. Update ima_add_kexec_buffer() function to allocate memory based on the Kconfig option value, rather than the currently hard-coded one. Suggested-by: Stefan Berger <[email protected]> Co-developed-by: Tushar Sugandhi <[email protected]> Signed-off-by: Tushar Sugandhi <[email protected]> Signed-off-by: Steven Chen <[email protected]> Reviewed-by: Stefan Berger <[email protected]> Acked-by: Baoquan He <[email protected]> Tested-by: Stefan Berger <[email protected]> # ppc64/kvm Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions