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 8B857C7EE2C for ; Fri, 2 Jun 2023 12:33: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=BcuWbH74/MMSwbBjp6stfmZSV37O914O3B3vyEabUTM=; b=BL0xEli3Wx9zZ/ 3F5Q3HAKYUSwUxgq/ry6uwms6geKtsAMtGj0uLraGZhoXR8kBdAJjp8PpFD9NBCGuXjgSkeIyuooP V75RHHearQKa6P/uZjn9wLPUq06vhDO1TzkuTQ/KVkLOmy1H53gBOwmOeutdtt/GwShj3TMFYSkd1 ZPwQgIhfFa/azdvFbb1J8KBfcnPTt7n/9ZQdoph5LWD+dhTln7qfcdiRPE8DxQwrIAim7uowu88Ne y4EOopwspkYmw331BYLwoC0QScX0Yu27FrJZZlhhUiXbhZlf/v/HZCQ6yF7Ytmp9KPu1qILINv2u7 PnrOx5J+QPDCuTqtEUjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q53yC-006tiI-3C; Fri, 02 Jun 2023 12:33:28 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q53y9-006thK-2L for linux-arm-kernel@lists.infradead.org; Fri, 02 Jun 2023 12:33:27 +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 36ADA64FE6; Fri, 2 Jun 2023 12:33:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42382C433A1; Fri, 2 Jun 2023 12:33:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685709204; bh=/O2xZ09FDSgTEYVe9qZzO2dIrEE7abCB2muTMmEKShY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=q7gwH3D6WMkQyeyMQynO5lxELnAv+Tilg3Gmagwz3v6l2ga8IMxB8JoPg0NhjW0UY x4gtWm6XB72YjpjmHFUKQwXxgJJBaBSxw8ZiDDZ69SLrBQlLpQsNNtuI0lDQdfGorG S4yMhJ1MfABNknueJMvwOoitMFfLfRMDgQb6P1QNbquCPHj1hcXzsFcg4AcA+FCzt5 zFElgGB7xjgZpsEpNUNGzShpVdlDF5BMYdLp3BrSs6aNE0ppKGrFu1MYEnKiejLp6a YAcpfK9X2ih05VBPeTQzXwGalYiS6G0Tl0XDNRujT4YAjdvyPo3zhSP0oslq64P9Uu TdIWwnSMnOnAw== From: Will Deacon To: Catalin Marinas , Jisheng Zhang Cc: kernel-team@android.com, Will Deacon , Suren Baghdasaryan , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] arm64: mm: pass original fault address to handle_mm_fault() in PER_VMA_LOCK block Date: Fri, 2 Jun 2023 13:33:17 +0100 Message-Id: <168570736489.522333.367811133664601205.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230524131305.2808-1-jszhang@kernel.org> References: <20230524131305.2808-1-jszhang@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230602_053325_797868_78157CA9 X-CRM114-Status: GOOD ( 12.61 ) 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 Wed, 24 May 2023 21:13:05 +0800, Jisheng Zhang wrote: > When reading the arm64's PER_VMA_LOCK support code, I found a bit > difference between arm64 and other arch when calling handle_mm_fault() > during VMA lock-based page fault handling: the fault address is masked > before passing to handle_mm_fault(). This is also different from the > usage in mmap_lock-based handling. I think we need to pass the > original fault address to handle_mm_fault() as we did in > commit 84c5e23edecd ("arm64: mm: Pass original fault address to > handle_mm_fault()"). > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: mm: pass original fault address to handle_mm_fault() in PER_VMA_LOCK block https://git.kernel.org/arm64/c/0e2aba694866 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