Return-Path: Received: from e23smtp09.au.ibm.com (e23smtp09.au.ibm.com [202.81.31.142]) (using TLSv1 with cipher CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id AD7391A1DE5 for ; Mon, 17 Aug 2015 16:38:11 +1000 (AEST) Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 17 Aug 2015 16:38:10 +1000 Received: from d23relay09.au.ibm.com (d23relay09.au.ibm.com [9.185.63.181]) by d23dlp03.au.ibm.com (Postfix) with ESMTP id 7FE403578056 for ; Mon, 17 Aug 2015 16:38:08 +1000 (EST) Received: from d23av02.au.ibm.com (d23av02.au.ibm.com [9.190.235.138]) by d23relay09.au.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t7H6c0Yb61407284 for ; Mon, 17 Aug 2015 16:38:08 +1000 Received: from d23av02.au.ibm.com (localhost [127.0.0.1]) by d23av02.au.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t7H6bZc9029082 for ; Mon, 17 Aug 2015 16:37:36 +1000 From: "Aneesh Kumar K.V" To: benh@kernel.crashing.org, paulus@samba.org, mpe@ellerman.id.au, ryabinin.a.a@gmail.com Cc: linuxppc-dev@lists.ozlabs.org, "Aneesh Kumar K.V" Subject: [RFC PATCH V1 8/8] powerpc: Disable kasan for kernel/ and mm/ directory Date: Mon, 17 Aug 2015 12:06:40 +0530 Message-Id: <1439793400-18147-9-git-send-email-aneesh.kumar@linux.vnet.ibm.com> In-Reply-To: <1439793400-18147-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> References: <1439793400-18147-1-git-send-email-aneesh.kumar@linux.vnet.ibm.com> List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Without this we hit a boot hang, which i am still looking. Till then disable kasan for kernel/ and mm/ directory Signed-off-by: Aneesh Kumar K.V --- arch/powerpc/kernel/Makefile | 1 + arch/powerpc/mm/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/powerpc/kernel/Makefile b/arch/powerpc/kernel/Makefile index a158a5fd82c2..b3b0079bccad 100644 --- a/arch/powerpc/kernel/Makefile +++ b/arch/powerpc/kernel/Makefile @@ -3,6 +3,7 @@ # CFLAGS_ptrace.o += -DUTS_MACHINE='"$(UTS_MACHINE)"' +KASAN_SANITIZE := n subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror diff --git a/arch/powerpc/mm/Makefile b/arch/powerpc/mm/Makefile index ffe8f8d92883..2be2a6998ecb 100644 --- a/arch/powerpc/mm/Makefile +++ b/arch/powerpc/mm/Makefile @@ -3,6 +3,7 @@ # subdir-ccflags-$(CONFIG_PPC_WERROR) := -Werror +KASAN_SANITIZE := n ccflags-$(CONFIG_PPC64) := $(NO_MINIMAL_TOC) -- 2.5.0