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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 85CA8C7EE2F for ; Tue, 30 May 2023 18:02:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=mnazWXc+BlxgMck8ae33clFZ0TZRF0atq0Ji9Hq23l4=; b=uoGon4VLU8SXt2 ZkbutJb3rMIT2nDUd9qmhPO+/EPNDS1M4KV7pZ6IDBvSlMO7eDxpLzZ37L6mM2ytzJhQiku9cYget r3TCGUyIhqNiuK1KdvTrfXsUqXrrei8VymLGbUdEbAM20V3TYJ7p19sLD1plTCzMo8WcB2gkunUen 0IgC70BwhVVZKRLwDG/aeGn6NH1JHga7ipabG+w0usaAmHWgbyIB1HtGGmI8qcuYLwshLH16vXLxH c2MVVYwE7Rk57jGEXHPKZ+2cQ7mMc6MCFkHvlkGomq68AHhJx0OiQ5h2Iu0iSfYq2ZIaUksuZCNrQ LARCEuFbYGCm65M8OJDw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q43fX-00EpVs-05; Tue, 30 May 2023 18:02:03 +0000 Received: from out-5.mta0.migadu.com ([91.218.175.5]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q43fT-00EpVI-1A for linux-arm-kernel@lists.infradead.org; Tue, 30 May 2023 18:02:01 +0000 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1685469711; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YTW2WZcJbmr3F/89QdtMcHmMfxHGHqRJaYPa9+0DRL8=; b=v/5QRLtEoombNtt+OOiLmFWsyg32+NKE+BEak9MXWHACKSaIj4LmJivYz+94pXHqf2WbFK 1Xtqv05pJTvcYhpEQyTjyuUkuZQnOsIqs7bST5GMHi98Rck9LMVesKA7Qxs/3b+8SE8E/z f58m02RHd/vTGR+670um7/9j91svoHo= From: Oliver Upton To: linux-kernel@vger.kernel.org, Mostafa Saleh , linux-arm-kernel@lists.infradead.org, maz@kernel.org, kvmarm@lists.linux.dev Cc: Oliver Upton , bgardon@google.com, suzuki.poulose@arm.com, gshan@redhat.com, tabba@google.com, yuzenghui@huawei.com, will@kernel.org, james.morse@arm.com, qperret@google.com, catalin.marinas@arm.com Subject: Re: [PATCH v3] KVM: arm64: Use BTI for nvhe Date: Tue, 30 May 2023 18:01:40 +0000 Message-ID: <168546969288.1201076.8549235994369669662.b4-ty@linux.dev> In-Reply-To: <20230530150845.2856828-1-smostafa@google.com> References: <20230530150845.2856828-1-smostafa@google.com> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230530_110159_829639_E0DF0270 X-CRM114-Status: UNSURE ( 8.11 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 30 May 2023 15:08:45 +0000, Mostafa Saleh wrote: > CONFIG_ARM64_BTI_KERNEL compiles the kernel to support ARMv8.5-BTI. > However, the nvhe code doesn't make use of it as it doesn't map any > pages with Guarded Page(GP) bit. > > kvm pgtable code is modified to map executable pages with GP bit > if BTI is enabled for the kernel. > > [...] Applied to kvmarm/next, thanks! [1/1] KVM: arm64: Use BTI for nvhe https://git.kernel.org/kvmarm/kvmarm/c/b53d4a272349 -- Best, Oliver _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel