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 784B3C43334 for ; Wed, 20 Jul 2022 19:05:55 +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=X4XiNsVc8EHxGSW429SI/LzfNvMfW38l3nJe849jedQ=; b=g6GvDj6ynWgETb FieAE6uc9vlhneEnV/cVPmNNGKmQV5uS78MduARd9oGDWzhtODWLKkQzmbQ3OzANgndHwb1cKZb2s mR2xPZXe1/5DmnUoWpI1SeVNc5+cr5v5XqBajHWXor6TG2P+y97772DkzQgFd4qN/FENJuzQFUf31 H2xEuE2MvC2nwHCrqB360i73XX+CwtkGbKgjIxtrst4+EbEtFo1mY9IOXJOFimaJheJ8UW8bydxPW Ug6sIkeWs4iMvaOBFbau5qOnPFLtRqiDD2ioUhVghRKj2zLHyZcZ8HVOeWqL8OeTSiQ9SQH7En/kM rdLOvLYimiwJOFs0fxbQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEF0G-009dTF-0b; Wed, 20 Jul 2022 19:05:00 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oEF0D-009dRK-47 for linux-arm-kernel@lists.infradead.org; Wed, 20 Jul 2022 19:04:58 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 62924619FA; Wed, 20 Jul 2022 19:04:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 79A98C3411E; Wed, 20 Jul 2022 19:04:51 +0000 (UTC) From: Catalin Marinas To: Peter Collingbourne , Will Deacon Cc: linux-arm-kernel@lists.infradead.org, Marc Zyngier , stable@vger.kernel.org Subject: Re: [PATCH] arm64: set UXN on swapper page tables Date: Wed, 20 Jul 2022 20:04:48 +0100 Message-Id: <165834388144.420659.7440428405850430601.b4-ty@arm.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220719234909.1398992-1-pcc@google.com> References: <20220719234909.1398992-1-pcc@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220720_120457_245661_AFB95285 X-CRM114-Status: GOOD ( 10.46 ) 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, 19 Jul 2022 16:49:09 -0700, Peter Collingbourne wrote: > On a system that implements FEAT_EPAN, read/write access to the idmap > is denied because UXN is not set on the swapper PTEs. As a result, > idmap_kpti_install_ng_mappings panics the kernel when accessing > __idmap_kpti_flag. Fix it by setting UXN on these PTEs. > > Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: set UXN on swapper page tables https://git.kernel.org/arm64/c/f7b4c3b82e7d -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel