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=-9.2 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham 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 307C8C2D0F6 for ; Tue, 12 May 2020 17:40:46 +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 05A0C206B8 for ; Tue, 12 May 2020 17:40:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="SZXb7AUi"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="1e8tsDo9" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 05A0C206B8 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: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=jJNw548w742+y3TN7W0J0xMeodmROS8xR/lTCH7CfNc=; b=SZXb7AUiTjCEW0 svujq1bpZyceF5nuNE6KUqtvhHtiWY6CPteTF+MQ9jhSmiPCX3KGYt6ueMxFb3cxvodx/pQOUlxwl tOjzHvE34tPzXDZaIZNZUyi85OSgQ1ym+rvww5GKQ+df5v5RU5dmPX01uhxy9mzU7RwZeJVjERo6E LV67by1DGaLQKGhUNmwnJ1NX9mRmkZ6JTnv6Y0ojxBPmFlGn2HAx7oPjttlWo1YGdmH5RWsHcf+Xo Py3sqgLVNrzmgBSEyKGqX78TMcYlFy84vhlKwXDztaU0TEhfWiFCWOHkqAm5L779Sr0TLNtmR52Vk VSzxbAxwGSmhhDB2MX3g==; 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 1jYYtZ-0001w6-Ip; Tue, 12 May 2020 17:40:45 +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 1jYYtW-0001vO-VQ for linux-arm-kernel@lists.infradead.org; Tue, 12 May 2020 17:40:44 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 49F55206B9; Tue, 12 May 2020 17:40:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589305242; bh=KNugUuSCtmSWA3oV1xUorvRj6aYlzYpaxuIWh3okW8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1e8tsDo9Csi+i5JNdXQOGNU1QCBCpyHU84wVKNviR1nCgQLJdZH5kmZ92Ix/onOvg R04O6LOiz+23HhjIfLhi81FTm1vmO4Z5F9Gi6SzmzNSMmBPq7nqOHVz6DLOJG2rgov RZapUWDY2vKtmxortcRbUVo/QCiZoog2J1bJXVc8= From: Will Deacon To: Mark Brown , Catalin Marinas Subject: Re: [PATCH v2] arm64: bti: Fix support for userspace only BTI Date: Tue, 12 May 2020 18:40:36 +0100 Message-Id: <158928497101.114591.14091490976224597416.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200512113950.29996-1-broonie@kernel.org> References: <20200512113950.29996-1-broonie@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200512_104043_034429_AA58B5CD X-CRM114-Status: UNSURE ( 8.37 ) 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: 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 Tue, 12 May 2020 12:39:50 +0100, Mark Brown wrote: > When setting PTE_MAYBE_GP we check system_supports_bti() but this is > true for systems where only CONFIG_BTI is set causing us to enable BTI > on some kernel text. Add an extra check for the kernel mode option, > using an ifdef due to line length. Applied to arm64 (for-next/bti), thanks! [1/1] arm64: bti: Fix support for userspace only BTI https://git.kernel.org/arm64/c/e70b3b544798 Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel