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 90E39C2BD09 for ; Mon, 24 Jun 2024 18:12:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type: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=shrDKOmHW8I7bxAaF1dFVx+n9NRhF7IzS0bP6D6yuFA=; b=bgCn4nN1eNoHS2G4EVHMP5c/3P CPJE1hQYUtIt4aRzwB375JBRyAbZIoPtrhLsfVuXJRpMdsgFNdknB4NG+nHDQM4JT01RFSm01HASC t2cS+xKwTfTAuUTqIGRNAL+ov7eElP03d0PU5u2bLf82mseMOFOn/kWkYJACCPMGQjp2MjigKL75J IRxMDpeAE67aPjzzjmzn38R3adQdRpisQjOg1dimUjRzn1cXgtL0I4BfHvYFBGs/ar4++HPOVmvUf PV4ipYnemn3jqnhakmL/JbgMrsXkWvtBcV9vmtC+P8zQ4hKG2tF7HKVatc2+ZgEHF6EcW5W4504UP AaAOyq9Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLoBF-00000000FFw-2iMV; Mon, 24 Jun 2024 18:12:41 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sLoB0-00000000F9C-1KZZ for linux-arm-kernel@lists.infradead.org; Mon, 24 Jun 2024 18:12:28 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id 9BE9560FD7; Mon, 24 Jun 2024 18:12:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D0AEAC4AF0C; Mon, 24 Jun 2024 18:12:23 +0000 (UTC) From: Catalin Marinas To: linux-arm-kernel@lists.infradead.org, Anshuman Khandual Cc: Will Deacon , mark.rutland@arm.com, ryan.roberts@arm.com, maz@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH V2] arm64/mm: Stop using ESR_ELx_FSC_TYPE during fault Date: Mon, 24 Jun 2024 19:12:21 +0100 Message-Id: <171925273632.3100383.7372147341915040294.b4-ty@arm.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240618034703.3622510-1-anshuman.khandual@arm.com> References: <20240618034703.3622510-1-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240624_111226_442615_6C742CC9 X-CRM114-Status: UNSURE ( 7.65 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, 18 Jun 2024 09:17:03 +0530, Anshuman Khandual wrote: > Fault status codes at page table level 0, 1, 2 and 3 for access, permission > and translation faults are architecturally organized in a way, that masking > out ESR_ELx_FSC_TYPE, fetches Level 0 status code for the respective fault. > > Helpers like esr_fsc_is_[translation|permission|access_flag]_fault() mask > out ESR_ELx_FSC_TYPE before comparing against corresponding Level 0 status > code as the kernel does not yet care about the page table level, where in > the fault really occurred previously. > > [...] Applied to arm64 (for-next/misc), thanks! [1/1] arm64/mm: Stop using ESR_ELx_FSC_TYPE during fault https://git.kernel.org/arm64/c/573611145fcb -- Catalin