From patchwork Thu Apr 7 21:15:12 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emese Revfy X-Patchwork-Id: 8777411 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 440DF9F39A for ; Thu, 7 Apr 2016 21:17:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B5BA2013D for ; Thu, 7 Apr 2016 21:17:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 987E9200C1 for ; Thu, 7 Apr 2016 21:17:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757485AbcDGVRq (ORCPT ); Thu, 7 Apr 2016 17:17:46 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:34111 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752801AbcDGVRp (ORCPT ); Thu, 7 Apr 2016 17:17:45 -0400 Received: by mail-wm0-f68.google.com with SMTP id n3so24513721wmn.1; Thu, 07 Apr 2016 14:17:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0l5XLOZDc32ubvkUzG2W//oo2/eHkwcSizYbLNvrTNw=; b=OGNOE2TYisa7dpIzTZVktGDAn31dNya7e64i6OVb7+ixdVOskv+h7JMGoqo7BkSIAz u6/4dZ0hNZ4kJ5+Q8gqKmIYnZhBpLcRkZfBxXJktMmclO6AN9wfojw5+rskApM+YhOX8 /m5flJnN1GF+1+cxmFLuAymSdCAsIWhjniCW7dS2NvFYQ05GsiEV7chR5rOmhQ3BAiAU wve0i/o+d4Ee7cag3QBvf6OmjCznHkg5wX1198WaKd1GY+PCF7is69kuBtIPfyucW+D4 TZW2LkK6E1sfHLyg99vRZfP+tA5HQL0FV+ZJ7jiMXn+n2dblebiuP3bb6k7rBO6E5T1M CUxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0l5XLOZDc32ubvkUzG2W//oo2/eHkwcSizYbLNvrTNw=; b=k1/fT10SDZwfbK2YAYfVlbP4HIrBKbfhR1LBiTntxLCxsVZPx0jXn1nAXpbnBa12P3 x8cYb95ujSikgtMeZF4NTrtHO7ZBJ4YlcA6K5uV2wln3A+JFF9EnTLWFYaUeF7iGdtCx p8ud3hQmFnS9z83HDfta/dLxX/321FCTFhr9w6ZAXUF5lwofeRirnDgzT7LUdY0nZHt9 9csnWjZ+aMuZSxrBvnBOuPQGdjjDkWFlLDAFv44qNHkqYRqbnPSEKsEcBbBX3gKzawOV AtC7g1G4zHisTdwp/Z3a9Mc2h487wHL0Hp6fIdRmGjEx0pXNrLK+K66oF307i1dPh5hv vMbw== X-Gm-Message-State: AD7BkJL/CzInNXCHwJij9jGrK7q9q8Hu1+12Uzpb9cnIzh8FTV1PnBLdCeXGNMwEq6U/Gg== X-Received: by 10.194.83.134 with SMTP id q6mr5594830wjy.131.1460063864340; Thu, 07 Apr 2016 14:17:44 -0700 (PDT) Received: from localhost (beleg.madhouse-project.org. [128.199.36.147]) by smtp.gmail.com with ESMTPSA id o1sm3761078wjm.11.2016.04.07.14.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 07 Apr 2016 14:17:43 -0700 (PDT) Date: Thu, 7 Apr 2016 23:15:12 +0200 From: Emese Revfy To: linux-kbuild@vger.kernel.org Cc: pageexec@freemail.hu, spender@grsecurity.net, kernel-hardening@lists.openwall.com, mmarek@suse.com, keescook@chromium.org, linux@rasmusvillemoes.dk, fengguang.wu@intel.com, dvyukov@google.com, linux-kernel@vger.kernel.org, david.brown@linaro.org, yamada.masahiro@socionext.com Subject: [PATCH v6 3/6] The GCC plugin infrastructure supports the arm and arm64 architectures too Message-Id: <20160407231512.23220f5c92914e4db75420c1@gmail.com> In-Reply-To: <20160407231023.5f1307ffc79f0cdd880eedb7@gmail.com> References: <20160407231023.5f1307ffc79f0cdd880eedb7@gmail.com> X-Mailer: Sylpheed 3.4.3 (GTK+ 2.24.29; x86_64-pc-linux-gnu) Mime-Version: 1.0 Sender: linux-kbuild-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The GCC plugin infrastructure now supports the arm and arm64 architectures too. Signed-off-by: David Brown --- arch/arm/Kconfig | 1 + arch/arm64/Kconfig | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 0846026..8f57eb6 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -55,6 +55,7 @@ config ARM select HAVE_FUNCTION_GRAPH_TRACER if (!THUMB2_KERNEL) select HAVE_FUNCTION_TRACER if (!XIP_KERNEL) select HAVE_GENERIC_DMA_COHERENT + select HAVE_GCC_PLUGINS select HAVE_HW_BREAKPOINT if (PERF_EVENTS && (CPU_V6 || CPU_V6K || CPU_V7)) select HAVE_IDE if PCI || ISA || PCMCIA select HAVE_IRQ_TIME_ACCOUNTING diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 4f43622..22c9473 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -72,6 +72,7 @@ config ARM64 select HAVE_FTRACE_MCOUNT_RECORD select HAVE_FUNCTION_TRACER select HAVE_FUNCTION_GRAPH_TRACER + select HAVE_GCC_PLUGINS select HAVE_GENERIC_DMA_COHERENT select HAVE_HW_BREAKPOINT if PERF_EVENTS select HAVE_IRQ_TIME_ACCOUNTING