aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorDov Murik <[email protected]>2022-04-12 21:21:26 +0000
committerArd Biesheuvel <[email protected]>2022-04-13 19:11:20 +0200
commit20ffd9205ef60fca8912bc9df1602bb627756602 (patch)
treeac5b80804d72393998b4fd017c23cffea7ed772a /tools/perf/scripts/python/mem-phys-addr.py
parentcbabf03c3ef3cce74a97f140cf57611a9e8a21bc (diff)
efi: Register efi_secret platform device if EFI secret area is declared
During efi initialization, check if coco_secret is defined in the EFI configuration table; in such case, register platform device "efi_secret". This allows udev to automatically load the efi_secret module (platform driver), which in turn will populate the <securityfs>/secrets/coco directory in guests into which secrets were injected. Note that a declared address of an EFI secret area doesn't mean that secrets where indeed injected to that area; if the secret area is not populated, the driver will not load (but the platform device will still be registered). Signed-off-by: Dov Murik <[email protected]> Reviewed-by: Gerd Hoffmann <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions