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=-0.1 required=3.0 tests=DATE_IN_PAST_12_24, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 D3402C43331 for ; Tue, 31 Mar 2020 15:45:55 +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 872A020848 for ; Tue, 31 Mar 2020 15:45:55 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="TdY+qz9/"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="VghPapfN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 872A020848 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=chromium.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=Yk+qlwQjLFSa09qV+o/39ACVTAVeMtIYsr0vV/4uUgA=; b=TdY+qz9/9/97N7 IdlCqCd2lxuqQuucL16QbS+DWNXJSB6QMSyi3W0eDIQaSNqbTT5HjgJ8rg1rhehvvee2NWdsgDUui wzRdVAKXdCAPasyet/Xe7ZX1D2Ng2lhSGm9pyOtoRfioeWNCLPJYxT/TLDJ3xWaOK+jvR/evwKKhl dRRDEttBNcoh4PNJtrbttEgrqcNG4fM7Po/Rp4IODgx5GAxgjT18AOabIixupGVo961rq/dAoaZPV 3pdcb3OGMZ5MevfzaAZ6ipBBhS0fu/3UQBQSJdK9N0F0rOXhjc4umrRyy8s5raTtlM1MC1Q5Au3Sw cg/SYhHiaoGVo7kYxYUw==; 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 1jJJ5O-0004dM-NH; Tue, 31 Mar 2020 15:45:54 +0000 Received: from mail-oi1-x242.google.com ([2607:f8b0:4864:20::242]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jJJ4C-0001IZ-Gv for linux-arm-kernel@lists.infradead.org; Tue, 31 Mar 2020 15:44:42 +0000 Received: by mail-oi1-x242.google.com with SMTP id d63so19293226oig.6 for ; Tue, 31 Mar 2020 08:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=xqzZgHhphmaoZ/y+7rSQwVUstgwu8a6GEUpOyEmntas=; b=VghPapfNnEYGwVLfxwp7LMRlLUHxH9v5pBkWzBH0W+iFu/++/NeT+Vdezvg7zpuhZx ns9n7XpLCcoqiIpAgdbxOa8dhH3Amd5AtJ9kMrlQQ+6cbAVEfuaNh33pQUBRvLXSOLj9 0qIcIorZ14dr3B2V8nVIgk9GbT6QGXRIbkB+Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=xqzZgHhphmaoZ/y+7rSQwVUstgwu8a6GEUpOyEmntas=; b=D8R+ih5fWRmFDVGYfwKcF/Dv+7nnDuHKa42+donj20wHnUtvfzRaYeprsAkrETa1SV xkyIN08MY7wZrxNY1YmzjUmRFUqxLgRR8M2qKtAdP3lelX5b4H9B0EsfPZrS1AxJNzXF 714P40tMgaz1suuoYn/pf0/+0YOJcDHSxe8f9GPqOojXQPY3rvVC2+GRBrrGHyrfr7KH dlhhpAP+Xa0EecdiRwkselVJIHHwGobZOm+j95ASZFZX4ON08ZqlYNaaNjqlzh1FrfVP wbOXbrbc7nCzmLn95sm9CypsYzBIZtNNljcSKcoFbLZFUuRLYoZsGpOJ1uyRvz0q1OdT Qebg== X-Gm-Message-State: ANhLgQ1zd09VbpUAf1C8JO2P9b1oN9HK6HoxhiR5vsoA77LyxZv7vBsA WWL86V0Ib+J60NuHB0KU9omrWnxCafA= X-Google-Smtp-Source: APiQypKaKC+eBnaiz+c6JPfAj4iUG3nktFhPQ4ow7zS/3R/2CJWS3U+ESrj4bjb7JY9JwezUOcWS2Q== X-Received: by 2002:a17:90a:ac18:: with SMTP id o24mr4249495pjq.62.1585663522595; Tue, 31 Mar 2020 07:05:22 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id z7sm2060833pju.37.2020.03.31.07.05.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Mar 2020 07:05:21 -0700 (PDT) Date: Mon, 30 Mar 2020 11:06:23 -0700 From: Kees Cook To: Mark Brown Subject: Re: [PATCH 1/5] arm64: bti: Support building kernel C code using BTI Message-ID: <202003301105.37A7CE7@keescook> References: <20200327192107.18394-1-broonie@kernel.org> <20200327192107.18394-2-broonie@kernel.org> <202003281348.B5ECC9DB2@keescook> <20200330113300.GD4792@sirena.org.uk> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200330113300.GD4792@sirena.org.uk> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200331_084440_602294_A638165A X-CRM114-Status: UNSURE ( 8.61 ) X-CRM114-Notice: Please train this message. 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: Catalin Marinas , Will Deacon , 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 Mon, Mar 30, 2020 at 12:33:00PM +0100, Mark Brown wrote: > I feel better about adding the extra dependency than feeding an option > to the compiler that looks wrong like -mbranch-protection=+bti (more > BTI!) but ultimately I don't have strong feelings either way so whatever > Catalin and Will prefer. Cool cool. If I end up with a use-case for stand-alone BTI I'll take the responsibility to sort out the future patches to support it. :) -- Kees Cook _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel