summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-01-19 19:42:54 +0300
committerArd Biesheuvel <ardb@kernel.org>2023-01-26 23:32:01 +0300
commitbad267f9e18f8e9e628abd1811d2899b1735a4e1 (patch)
tree872ac0fff8fa9f2c0bb6165fe3e5f12af381e872 /tools/perf/scripts/python/stackcollapse.py
parent301de9a2055357375a4e1053d9df0f8f3467ff00 (diff)
downloadlinux-bad267f9e18f8e9e628abd1811d2899b1735a4e1.tar.xz
efi: verify that variable services are supported
Current Qualcomm UEFI firmware does not implement the variable services but not all revisions clear the corresponding bits in the RT_PROP table services mask and instead the corresponding calls return EFI_UNSUPPORTED. This leads to efi core registering the generic efivar ops even when the variable services are not supported or when they are accessed through some other interface (e.g. Google SMI or the upcoming Qualcomm SCM implementation). Instead of playing games with init call levels to make sure that the custom implementations are registered after the generic one, make sure that get_next_variable() is actually supported before registering the generic ops. Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions