From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66711C38A2A for ; Thu, 7 May 2020 14:35:56 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 371BC20B1F for ; Thu, 7 May 2020 14:35:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RPABlsA0"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="X3xuCIEb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 371BC20B1F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ROKqA+vEcQfffYLGAQOvrmiXZZ2Om02GGA6WBXGaNFI=; b=RPABlsA00WN32W cmSZ6pofcr2OHVn1p26vRfJfnnDK5Gre4VMJ4mFtqVhExPKNnP4Y5qdfGtxo6cJHkEZO1q2WoJl2T 2jld8+Amfr533+zw7Szs9rH+I3hdWKJ/fW4jlct2gt554tcOOArS6OLUe7a4ftXGaxEpIlkW0Y6Ct 5iMzgfXot2RIQdsmJ871A4SH2DdcKg52au/uzoUWBLBb3gtYBxXZu+vAT5VdfLfqA175pocyM04dd 4BdeufC6U817wS4JdiaX4/ISFzV6BDlGIQSmKfMAvooUwnn9nb4BGEPBdP5eM3g4AVZjDi55EkqU7 eWl8dXHxQGn/g81z+WQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWhcw-0001vz-Q7; Thu, 07 May 2020 14:35:54 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jWhcu-0001v8-B6 for linux-arm-kernel@lists.infradead.org; Thu, 07 May 2020 14:35:53 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7B5AA2073A; Thu, 7 May 2020 14:35:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588862152; bh=pe9/4/+IH3XKJx/Y8QDfS3WDzYI/R8Y/cK7uR/HQmyE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=X3xuCIEbM4wSmRLEJX9WBKETJuJ8wIcSdyyF0660O5Pd+sr5LJJ86pqiXeM5BExDQ eOYCHKMnlcmA37pHnBN8VwKO3ohRUXaqEoWGnAIRwMNlCZGcWjwFr32qs07Yfleplo G/IK+6Fv8gfofAukK8s0yikqxYn5+BrkW3lh3d8o= Date: Thu, 7 May 2020 15:35:47 +0100 From: Will Deacon To: Mark Brown Subject: Re: [PATCH v3 00/11] arm64: BTI kernel and vDSO support Message-ID: <20200507143547.GC1422@willie-the-truck> References: <20200506195138.22086-1-broonie@kernel.org> <20200507143332.GB1422@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200507143332.GB1422@willie-the-truck> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200507_073552_405647_A19BE8C7 X-CRM114-Status: GOOD ( 19.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kees Cook , Daniel Borkmann , Jean-Philippe Brucker , Catalin Marinas , Amit Kachhap , Vincenzo Frascino , Dave Martin , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 07, 2020 at 03:33:32PM +0100, Will Deacon wrote: > On Wed, May 06, 2020 at 08:51:27PM +0100, Mark Brown wrote: > > This patch series adds support for protecting the kernel and vDSO with > > BTI including code compiled with the BPF JIT at runtime. > > > > We build the kernel with annotations for BTI and then map the kernel > > with GP based on the support on the boot CPU, rejecting secondaries that > > don't have BTI support. If there is a need to handle big.LITTLE systems > > with mismatched BTI support we will have to revisit this, currently no > > such implementations exist. > > > > This series depends on several branches in the arm64 tree: > > > > - for-next/bti-user > > - for-next/insn > > - for-next/asm > > > > v3: > > - Add a patch adding a comment about why we enable leaf support for > > PAC. > > - Fix build of the 32 bit vDSO. > > - Refactor the macro for emitting the ELF note for BTI code so that > > the flags are defined separately in order to make it easier to > > add handling for any future users. > > Bugger, I'm still getting warnings (clang 11.0.1), but from an allmodconfig > build now: > > warning: some functions compiled with BTI and some compiled without BTI > warning: not setting BTI in feature flags > > (repeated many, many times). > > I'll try to get you some more info. Quick look at the log suggests that these are caused by HDRTEST, whatever that is. Will _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel