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=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,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 817F8C433DB for ; Fri, 12 Mar 2021 11:19:48 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 233CF64F09 for ; Fri, 12 Mar 2021 11:19:48 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 233CF64F09 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=VV8ASCcZINQwKxH5UUxGESDhoU//uJ+rGGd6XcDv7C4=; b=NV9GUMlmeJoWUHYDQ5Cm8wMl7 xnxL3vSl0mAdTQMkCnyyfYABrLf28hq/zF3tHDa1WMb9WBFlZSqf+B1pj4YaEIbj4opg6/u2SXbNH +8EVPPjPlwVz21FzREXMeYGvfw41kfm1l7nyRBjTO7UYnDltInQ0bbYUszDe4bfr+Wr2gjXZmjvsl 5oXUmP81Wu8vDfgq2y4V0Qs4QqNYeMgCzfB59W+f7EnJg0znZ78E+x5lucoTMpaIiD+OGUhtgFfo0 tjwXvxKMiAYQOjHaD9bixuxB1K71GBKsGcqKP0LmeYOfFosFr4KVMF64mldgnAKd+j/6grb4rlUcg A9bD8iJ4g==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKfoL-00BHBN-Ev; Fri, 12 Mar 2021 11:18:30 +0000 Received: from foss.arm.com ([217.140.110.172]) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lKfoH-00BHAY-0L for linux-arm-kernel@lists.infradead.org; Fri, 12 Mar 2021 11:18:26 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 35EBCED1; Fri, 12 Mar 2021 03:18:23 -0800 (PST) Received: from [10.57.15.100] (unknown [10.57.15.100]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E8E1C3F793; Fri, 12 Mar 2021 03:18:21 -0800 (PST) Subject: Re: [PATCH v3 0/2] arm64: Support Enhanced PAN To: Will Deacon Cc: linux-arm-kernel@lists.infradead.org, keescook@chromium.org, dave.martin@arm.com, catalin.marinas@arm.com References: <20210119160723.116983-1-vladimir.murzin@arm.com> <20210126110928.GC29467@willie-the-truck> From: Vladimir Murzin Message-ID: <3ce499a0-b427-b465-c5e9-5dda2594107a@arm.com> Date: Fri, 12 Mar 2021 11:18:36 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <20210126110928.GC29467@willie-the-truck> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210312_111825_342100_F683C735 X-CRM114-Status: UNSURE ( 9.85 ) 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 1/26/21 11:09 AM, Will Deacon wrote: > On Tue, Jan 19, 2021 at 04:07:21PM +0000, Vladimir Murzin wrote: >> ARM architecture gains support of Enhanced Privileged Access Never >> (EPAN) which allows Privileged Access Never to be used with >> Execute-only mappings. >> >> As a consequence 24cecc377463 ("arm64: Revert support for execute-only >> user mappings") can be revisited and re-enabled. > > Does ptdump.c need updating too? I had a look at ptdump.c and IIUIC that supposed to pretty print bits for page table entry. Thus with EPAN supported we stop seeing "USR" for execute only mapping, but it correctly reflects state of pte. What I'm missing? Cheers Vladimir _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel