From patchwork Fri Feb 5 23:50:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yang Shi X-Patchwork-Id: 61360 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp266804lbl; Fri, 5 Feb 2016 16:12:46 -0800 (PST) X-Received: by 10.98.72.70 with SMTP id v67mr23893447pfa.100.1454717566297; Fri, 05 Feb 2016 16:12:46 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67si27056781pfc.15.2016.02.05.16.12.46; Fri, 05 Feb 2016 16:12:46 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750931AbcBFAMn (ORCPT + 30 others); Fri, 5 Feb 2016 19:12:43 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:36439 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750726AbcBFAMm (ORCPT ); Fri, 5 Feb 2016 19:12:42 -0500 Received: by mail-pa0-f42.google.com with SMTP id yy13so41831349pab.3 for ; Fri, 05 Feb 2016 16:12:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=WW2ZfYLfkRg/BjxPr/juMjwyVDUaf2yYWEeO6CkCYYs=; b=khkIg7hfwdN5jK+D7pfccllVyu/2vLExBkfBjzlXNLJNTJ0CnxWmsTDX+YmEOrDiZ5 1P3AqJ6U6zgpJ36brZN20IX9p1rIzJMd4hzA33SGPt3EpIBmXhLj1w7ZvOfjPeE4NLLq UnqTG4RJoP/u4PU13NAZfeMyGl5uhCzMuMLZg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=WW2ZfYLfkRg/BjxPr/juMjwyVDUaf2yYWEeO6CkCYYs=; b=fL6lXaI9lpJ+o+kNI2NembZ32lxpBaxecTFxJ/R2QymHrYyQKJQTz+1RkEufZySIx6 Gf4mxvNWM/zg24DJKNt2CG1hdnXh+AhKQ6fD++KvZqxdzuKLUFwrrIqpl2CUq+oupPlK VzUIRymfOJOGTCO6bHVovSRPd7PJPnO6tkOWq33U5yESB7uzrkAuIccW3/rPd/pet85C Sb2DSXWXYc1xhiqkKZEJJN6fdLF6u/uINepTwcC3Wyeyxx8GId/AQT6gWg5xnIHK1cA3 Ogg+2Gwtq1LKEn9xEfigOS10B3PQzFD9zzegCj+dE/BT1SUBlNwr2V7OsNMVnoRUrali Y40A== X-Gm-Message-State: AG10YOTntJ94ETyNNYBa+vX9OJAKr+KOpK4J/yr8h20seni8PTaxniYkX332SA4UcS7zDhI6 X-Received: by 10.66.222.101 with SMTP id ql5mr23970429pac.144.1454717562094; Fri, 05 Feb 2016 16:12:42 -0800 (PST) Received: from yshi-Precision-T5600.corp.ad.wrs.com (unknown-216-82.windriver.com. [147.11.216.82]) by smtp.gmail.com with ESMTPSA id z67sm26898056pfa.71.2016.02.05.16.12.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Feb 2016 16:12:41 -0800 (PST) From: Yang Shi To: aryabinin@virtuozzo.com, Will.Deacon@arm.com, Catalin.Marinas@arm.com Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linaro-kernel@lists.linaro.org, yang.shi@linaro.org Subject: [PATCH] arm64: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL Date: Fri, 5 Feb 2016 15:50:18 -0800 Message-Id: <1454716218-4918-1-git-send-email-yang.shi@linaro.org> X-Mailer: git-send-email 2.0.2 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org To enable UBSAN on arm64, ARCH_HAS_UBSAN_SANITIZE_ALL need to be selected. Basic kernel bootup test is passed on arm64 with CONFIG_UBSAN_SANITIZE_ALL enabled. Signed-off-by: Yang Shi --- arch/arm64/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.0.2 Tested-by: Mark Rutland diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 8cc6228..1c29e20 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -14,6 +14,7 @@ config ARM64 select ARCH_WANT_OPTIONAL_GPIOLIB select ARCH_WANT_COMPAT_IPC_PARSE_VERSION select ARCH_WANT_FRAME_POINTERS + select ARCH_HAS_UBSAN_SANITIZE_ALL select ARM_AMBA select ARM_ARCH_TIMER select ARM_GIC