Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757239AbbHZQQP (ORCPT ); Wed, 26 Aug 2015 12:16:15 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:35173 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753595AbbHZQPQ (ORCPT ); Wed, 26 Aug 2015 12:15:16 -0400 From: Andrey Ryabinin To: Will Deacon , Catalin Marinas , linux-arm-kernel@lists.infradead.org Cc: Matt Fleming , linux-efi@vger.kernel.org, Linus Walleij , Alexander Potapenko , Dmitry Vyukov , Arnd Bergmann , linux-kernel@vger.kernel.org, Andrey Ryabinin Subject: [PATCH 3/4] arm64/efi-stub, kasan: don't instrument efi-stub. Date: Wed, 26 Aug 2015 19:15:06 +0300 Message-Id: <1440605707-8325-4-git-send-email-ryabinin.a.a@gmail.com> X-Mailer: git-send-email 2.4.6 In-Reply-To: <1440605707-8325-1-git-send-email-ryabinin.a.a@gmail.com> References: <1440605707-8325-1-git-send-email-ryabinin.a.a@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 29 efi-stub.c code runs before we setup early shadow. Intrumentation of it will cause boot crash. Signed-off-by: Andrey Ryabinin --- arch/arm64/kernel/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/kernel/Makefile b/arch/arm64/kernel/Makefile index 426d076..086b122 100644 --- a/arch/arm64/kernel/Makefile +++ b/arch/arm64/kernel/Makefile @@ -7,6 +7,8 @@ AFLAGS_head.o := -DTEXT_OFFSET=$(TEXT_OFFSET) CFLAGS_efi-stub.o := -DTEXT_OFFSET=$(TEXT_OFFSET) CFLAGS_armv8_deprecated.o := -I$(src) +KASAN_SANITIZE_efi-stub.o := n + CFLAGS_REMOVE_ftrace.o = -pg CFLAGS_REMOVE_insn.o = -pg CFLAGS_REMOVE_return_address.o = -pg -- 2.4.6 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/