X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-linux.git;a=blobdiff_plain;f=drivers%2Ffirmware%2Fefi%2FMakefile;h=ec379a4164cc07474fd5f2c193cbe6437df0e6fd;hp=c24f00569acb3b92c5e0a3a91cc04f257336f96f;hb=a2a43ccf6ff3802cf0e3e4abad9347083f14f7f5;hpb=f323c49b300baf89e2cb4050b0def1856c0b1852 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