From patchwork Fri Apr 22 18:23:53 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Emese Revfy X-Patchwork-Id: 8915091 Return-Path: X-Original-To: patchwork-linux-kbuild@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 3C0B4BF29F for ; Fri, 22 Apr 2016 18:26:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6933120212 for ; Fri, 22 Apr 2016 18:26:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 92914201F2 for ; Fri, 22 Apr 2016 18:26:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753734AbcDVS0k (ORCPT ); Fri, 22 Apr 2016 14:26:40 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38699 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753421AbcDVS0k (ORCPT ); Fri, 22 Apr 2016 14:26:40 -0400 Received: by mail-wm0-f49.google.com with SMTP id u206so39166859wme.1; Fri, 22 Apr 2016 11:26:39 -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=hDYRSTYeBa6sSll9Ij4Dl+WGC0pHX/Wh6NPUXyglm+o=; b=Fi2mA3ju15/B2c120xL7+IfE3dYJ5K7tW4oG1W0qgfXVl37fK8P7moS+RNnjpuEga0 yzQgfvdc4x4Ae++j+sV4DBuxmmzbFxbkOgsK0YnZx8JsSfT3GWooKZbIXRVKFwm/5M6h bj1TWb0u0QVCtokrIaCU40MTZxU+rpCM8orV7938sdBdb6ZxZMGyBo1C//t+d+hzbPU9 2yVx2j48nIkIKR5mZ+sK7mkqcoCg4yQqd6uEwtj6qV91uMtbCQ9PkaW3zMslVEPurJqU trYh3QoO6OCyUL5HNK5Qera+uvtQYQwyzsJWbItYZv4A+p78GlIqMY3lavp7Nj0xZYcp naUw== 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=hDYRSTYeBa6sSll9Ij4Dl+WGC0pHX/Wh6NPUXyglm+o=; b=Sg3SEacWK0lGoJXa9juiTDz+NBCINFdxh8TtelNC9NyXysSu+uRUgPh0XiFOLxo0LQ m9VTbu+k9uRZ0BjnCo+Ev8pHDvyiAjAc8mpHmASeLOeXDBksL7yPhk+gtQf7lvyzZYJN 0JQM2yVEq+eq88wcxYJ7rYSaCpVwtXlohFvMG9QgarJs/hUKoXrlj4LYHreMePLUdEo5 ziOg2B5BerET+U0yuv0IMYHT0l+1CIEfQEn78RDGAhr6iQbwZvkufU3+8FQ4jfPR0pYi Msz6dPZfy1cgX2GhJGklSHNnMbvSloEnVa+TFnlierjQzF0eRExNNwL5KCjbYWuGAE9L /gqw== X-Gm-Message-State: AOPr4FXbj3cLAUecKsgJoVBJbgc+uL0hX8UIiUdgmxXIt6H8zWvXdAsuh6pnkf72LxWB4g== X-Received: by 10.28.144.20 with SMTP id s20mr5532151wmd.12.1461349598467; Fri, 22 Apr 2016 11:26:38 -0700 (PDT) Received: from localhost (beleg.madhouse-project.org. [128.199.36.147]) by smtp.gmail.com with ESMTPSA id e4sm260322wjm.33.2016.04.22.11.26.36 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 22 Apr 2016 11:26:37 -0700 (PDT) Date: Fri, 22 Apr 2016 20:23:53 +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 v7 3/6] The GCC plugin infrastructure supports the arm and arm64 architectures too Message-Id: <20160422202353.5e12aca6e8f8392444ebc770@gmail.com> In-Reply-To: <20160422201957.97ce16f0e67377d0ce613d19@gmail.com> References: <20160422201957.97ce16f0e67377d0ce613d19@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 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 c8762f4..33f30f6 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -76,6 +76,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