X-Git-Url: https://git.kernelconcepts.de/?a=blobdiff_plain;f=drivers%2Ffirmware%2Fefi%2FMakefile;h=ec379a4164cc07474fd5f2c193cbe6437df0e6fd;hb=a2a43ccf6ff3802cf0e3e4abad9347083f14f7f5;hp=c24f00569acb3b92c5e0a3a91cc04f257336f96f;hpb=0f96a99dab366333439e110d6ad253bc7c557c09;p=karo-tx-linux.git diff --git a/drivers/firmware/efi/Makefile b/drivers/firmware/efi/Makefile index c24f00569acb..ec379a4164cc 100644 --- a/drivers/firmware/efi/Makefile +++ b/drivers/firmware/efi/Makefile @@ -1,6 +1,14 @@ # # Makefile for linux kernel # + +# +# ARM64 maps efi runtime services in userspace addresses +# which don't have KASAN shadow. So dereference of these addresses +# in efi_call_virt() will cause crash if this code instrumented. +# +KASAN_SANITIZE_runtime-wrappers.o := n + obj-$(CONFIG_EFI) += efi.o vars.o reboot.o obj-$(CONFIG_EFI_VARS) += efivars.o obj-$(CONFIG_EFI_ESRT) += esrt.o