Message ID | 20170615223543.22867-2-david.daney@cavium.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 4139B60384 for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 15 Jun 2017 22:36:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 32F152862B for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 15 Jun 2017 22:36:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 277392862E; Thu, 15 Jun 2017 22:36:29 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAD_ENC_HEADER,BAYES_00, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AFC382862B for <patchwork-linux-arm@patchwork.kernel.org>; Thu, 15 Jun 2017 22:36:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=eyAIBZUfdgG00ovakEH2DzpekUk9ARY3QqTMZ6xl4vQ=; b=Xyx1TQLCr2bmiQ fVDMd3yV4gp68KruXTKhrkeZGF46rbbNCrbnQ4yAiKMDS0zG9eqoTT4dE6hRdKaUHqkl8W6xTtXK7 q/bUL6oAON+w61a6oYfARwTDW0Cgv/V9h/5n5uc6OOsSnxfMrFVQ1+myb1lKGW1Pj10p+078HHH1J U7vGpEs+vYdsCL2wCfDtXjL5bUP3eh1M05hzSt7Ev1x9cfF8FszG2MmWwuB1rxHFvmta4vokuShhS QBaQiYlux0PesUq7jKi8FGuatGA4idBwrO8TFn+rTarV3fIWFzbTxAIq/xDylXY23ZDMP6i6Z2jXA XRfuKBCstPrNNqA90ioQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dLdNL-0005a1-9h; Thu, 15 Jun 2017 22:36:27 +0000 Received: from mail-co1nam03on060c.outbound.protection.outlook.com ([2a01:111:f400:fe48::60c] helo=NAM03-CO1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dLdN7-0005JT-0k for linux-arm-kernel@lists.infradead.org; Thu, 15 Jun 2017 22:36:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=jOG/Q1AiOwHz42xmwCTqBi7goN/lS9xDBFvmMt7aoac=; b=b1q4oIkcNlinjJr+u+PKUGlqOQ+Z2NBRAeKK/OK8/Dis06K9a4+nw5UCo0F9Fb8IOuu/I+RjoKOIwTk6Nucszs29GRdVSA26A6EbxWD7mB8K5wOZbrItvcaO1QuJSqzv6VzMfBXoNU4EzROsBYOfpokD7G3FYntcBUiPKG44BM8= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=cavium.com; Received: from ddl.caveonetworks.com (50.233.148.156) by MWHPR07MB3501.namprd07.prod.outlook.com (10.164.192.28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1157.12; Thu, 15 Jun 2017 22:35:47 +0000 From: David Daney <david.daney@cavium.com> To: Alexei Starovoitov <ast@kernel.org>, Daniel Borkmann <daniel@iogearbox.net>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mips@linux-mips.org, ralf@linux-mips.org, Catalin Marinas <catalin.marinas@arm.com>, Will Deacon <will.deacon@arm.com>, linux-arm-kernel@lists.infradead.org Subject: [PATCH RFC 1/3] arm64: Gate inclusion of asm/sysreg.h by __EMITTING_BPF__ Date: Thu, 15 Jun 2017 15:35:41 -0700 Message-Id: <20170615223543.22867-2-david.daney@cavium.com> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170615223543.22867-1-david.daney@cavium.com> References: <20170615223543.22867-1-david.daney@cavium.com> MIME-Version: 1.0 X-Originating-IP: [50.233.148.156] X-ClientProxiedBy: CO2PR07CA0070.namprd07.prod.outlook.com (10.174.192.38) To MWHPR07MB3501.namprd07.prod.outlook.com (10.164.192.28) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: MWHPR07MB3501: X-MS-Office365-Filtering-Correlation-Id: 04035878-52ea-4ee5-eeb3-08d4b43ede97 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:MWHPR07MB3501; X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3501; 3:vL3GmektZA0mb+ITBjUK9YRk/fZlXnBwltGZtK1f+s8DH8T+yB6b+J/zyl5QGPMbLaXfPPP9aGhXmZtTz6HLuOvGzFBpByG0yuBdzGhR//ALsi1ffRnLU59RyTxW9LTYsdljweENS07rqzRH8z0AA6ISAzblwTdZFHns9XDmUYeDGLBfinpW7skq6RCcWByMUXUruh4N4j4GZZZEzEz09sYB4lcbXh5RRQl/F7O5K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J9hMwijpwpfIWuOGb0A2MQl4BRlzvLSDBK4Fphl6VczWgJ1ZYaEBKizlHMdSWVg3R6q7/jLmyl+DGiytghdK0WpvmwI2FHznfW0R8dri+APascZO/ViU9y40NBH7nMj1lBGWmB7QLKE2ZZKDodaLc0xlkAgbOu8gx/INKQwnTt5Qx4WnurnYVn+Ijgpvwj6RLnYaR5Vds0yahNKmDghHdB+KQiwaGDqGNX0tCAMFpDSZ9IH8GkEjSZbdLZTPQmcwXYEM8bS5Z+lnfGsTKzTv1XrfH6NbSOfsahdxaCxfcz4yD09Nv3AX2A1Ud4QjP X-Microsoft-Antispam-PRVS: <MWHPR07MB3501FF19E11E2944CB19D44197C00@MWHPR07MB3501.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(100000703101)(100105400095)(3002001)(6041248)(20161123558100)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123555025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR07MB3501; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR07MB3501; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3501; 4:7mnhKNd+kOK8lv7ud4vqsDRMGpUkNhmWbCIxFJBHjW?= =?us-ascii?Q?7DUZAs7s+WuAz5wwUZnXtcIvYMQ78ni4wTtE4mebTEJ6l6iD5lqRvtxcOS/Z?= =?us-ascii?Q?A1/7ierCP30jq+HxPv0U0FI50p9e2PWmjWn0Pl8VaanqMWAK0E7gkDmN+Fhr?= =?us-ascii?Q?x4VOUhIES0wWynCovFI0Ea+LB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?vP8HSLCqhy2Bnzfeckaeo/9CA8EI+Yjz9SrzMc4eII2kJCp6Jz9ZqOtK0RAH?= =?us-ascii?Q?mUebbmm1Bvzfx7eJTpEczhQgbEiVI0?= X-Forefront-PRVS: 0339F89554 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39850400002)(39410400002)(39450400003)(39860400002)(39840400002)(81166006)(72206003)(8676002)(47776003)(1076002)(7736002)(305945005)(76176999)(6116002)(50986999)(86362001)(5660300001)(2906002)(36756003)(3846002)(38730400002)(66066001)(2950100002)(53416004)(6506006)(189998001)(478600001)(107886003)(4326008)(6512007)(5003940100001)(42186005)(33646002)(6486002)(50466002)(53936002)(48376002)(25786009)(50226002)(6666003)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR07MB3501; H:ddl.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; MWHPR07MB3501; 23:zxyrhIXfvRMRN62xWIkG7HMLQI3gM3v00LHjAOMaP?= =?us-ascii?Q?4Q3UkEkJrAs8KAJdfK9hsgeqnuOCOQHpBcbUJLzSkMfPQ9FlOJUe9hs0pFlw?= =?us-ascii?Q?tJay8YCg88yJsDkl2KgJu43nQrbPcBSjU17s/f3fiTv8RezSs148+d2jea4E?= =?us-ascii?Q?ls3imqETHx9SLzZfMOLHPQyCyYFKeQcd5EBkdfnm/Nt428S4rfm6XbO44pbt?= =?us-ascii?Q?fLf+j9fhQL9v23akYPnlcgYXPBtqRrHIs1hC5FIge89KPDq9Oix0FBXm445d?= =?us-ascii?Q?3d/jlUEInZqAi/rMOO/LudY8OC8EbKgF4B6Kp23WmmyvZg6lF4v0Bd1sOgye?= =?us-ascii?Q?ShDywLrNEsjb/RZlP2YB1eGVnQbEHWuBDZu0ErTHDKzlb2/Br4bTyvNS2j9L?= =?us-ascii?Q?OKI+A/+/GKJVAf48//yNIsNaktPnIBvpQssq6MBK8m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sVm/qEci+3cKy1DAdALmniaw9UlkSqSaULN1dFHFK7x8RUPlAsIOQyOmsmG1sN3bttJ0wFjMgZ1yEH4/tKiC4BE9niSRMG05XyW4g/plG/MiWlr343N0aaR56ii7VvA16lcTwq702ar0VRNWrgI9KPrQThlAh0OcFYLQOzhd03iYKFHvanz3Bpsy+J4lFrMFJRt6sScL0prdjpHth1QUsQIFPRi9L93qMtE3J2/87v5/Ava2Ob1WZnbkTY3kUk10+O7OLqQqPuDHEGn/XTX2hTf3seGXkDPkkMlWUWhjZeUJfeauRh0i00MjAGIIllha0kDoTtx7p1EZ+WWcP5LpS1bFDExjMrgmO02QHD5kTQ== X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3501; 5:hcFLCE0z1aRAk2vUzRMDu/h1WY9LQhz83L6uq1mO9HaMcMxl1ssvvX81gFmtoJ7sQtcZbrjp7KS4m1ONq2kX4aU7Z3jLrwmulstkBTgqwylUGLSXP3orQWs4lwcB2gdxcNkRkDHtAL4pTS27UZ32NFLU4XtFtv16ahCNnr1vveRAOij/E387CAD5OTkz1pD0hWIfhp2tGmUkOGJPeD1hIcaJ30kIatD9Nn3JLfW4dCghcoBLMW8AbJGq49sh7xPpVKFny/TFbX9WM+9l9p+M8KIfK5phGystzbLGt/DEfdE8KageEjyX/CoXYEJztCQ/aXXb0y+fBT/iyZiwjVl33dkfkijIam2cBLh4HOelgS0FQd3YemRbiBcpzLGIFZiSZSbAp6vhp0UGnke/e7YFfZhGhOrpk1KJETLSf6oC6SY6CCS3cXp0SSeu/9yrNuVJPoJBDvBqBCu1aq7VfkfzGmD2YRxs7eZ9U0BToxhWg5cOgB2zrpUF1HxVgi6j+drn; 24:/vFzj/p3NTLHawj6hK+u4Ym21I7l0UJqjPcp9HCVgbg9pZUmrVnSIwivyOH0lSfoe5PMP53rWqTDmIjj72JesBc3dxCMjNQ1hVLdq8liTt8= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; MWHPR07MB3501; 7:7S1OjozRdmOql59mU5wcyRiHLsABPYqiKSQc6VrhlB/YeX4MXkChlf5ND9YnKFBRLYKvaTSojKO4EoM1oLM/QAvYNK7SGPKFPmYw7zVWdUsttUMbhwM2TchzmPdGUo3X+G5NbCwTj/UR6UWX6FB5rxI+OGoy05qPeHqfROyQ66/gOcNRw/YF2pCAo1I3GhrhxqWw1Tqiv9mVn5Vb2EoA2m0jGehX4SN2lamencPi80O0aPImRUsm4qxwzbNP5+dSP5XAbZHsg7DaVzkKBCdzky07YuflrnfVErF3+TaAajcmzXHT+1iIyDAac8viC1Xi1YOtak+yOvVsKe18Vu05wA== X-OriginatorOrg: cavium.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jun 2017 22:35:47.7959 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR07MB3501 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170615_153613_088591_BBBC6E15 X-CRM114-Status: UNSURE ( 5.94 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: David Daney <david.daney@cavium.com> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/arch/arm64/include/asm/sysreg.h b/arch/arm64/include/asm/sysreg.h index 15c142ce991c..faa8f853e369 100644 --- a/arch/arm64/include/asm/sysreg.h +++ b/arch/arm64/include/asm/sysreg.h @@ -20,6 +20,8 @@ #ifndef __ASM_SYSREG_H #define __ASM_SYSREG_H +#ifndef __EMITTING_BPF__ + #include <linux/stringify.h> /* @@ -502,5 +504,5 @@ static inline void config_sctlr_el1(u32 clear, u32 set) } #endif - +#endif /* __EMITTING_BPF__ */ #endif /* __ASM_SYSREG_H */
Compilation to eBPF chokes on the inline asm in asm/sysreg.h, so don't include it when compiling to a BPF target. Signed-off-by: David Daney <david.daney@cavium.com> --- arch/arm64/include/asm/sysreg.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)