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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 81336C433EF for ; Tue, 16 Nov 2021 10:41:30 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 575EA63219 for ; Tue, 16 Nov 2021 10:41:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 575EA63219 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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=qNwdm59TlnJIFXtvLAxZeDeOPCppTRpvT0Mpt7LPfCE=; b=pXiT8z1xgbYZh7 JrQoDY5408Az8J1n4zwt0lqDqn1DnddG4OvNQ9GheevuI55uAYj4DEmspD+o5QMyQXooYgS0DEiDt EWbGNGIBCYrZNmrCeyA1iuDPUY9TtM/D4Rao/9x+QGMxu9VBqzB+/fITh9dkMIMNfqvXTaLLDMK0v 68BIt2n6MRvL2M9SKgywMx2oZHYD2/jQC2EoHJm7H5Ld3XEDNQx9G1VdLVqJ7xefAQ98wCUCPF7a2 40wtsDrgAttgPviqIonxK+I5EwZM2+2eNv9pyJNJXh728Rhejf1e1BN7P5+9EOgdF0nrY1FY6CYQ8 gZSYTLe1f4wOfYBAzGhg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmvsb-001Exh-Js; Tue, 16 Nov 2021 10:39:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mmvsV-001Ewh-4u for linux-arm-kernel@lists.infradead.org; Tue, 16 Nov 2021 10:39:52 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3901C60F44; Tue, 16 Nov 2021 10:39:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637059190; bh=gAvh4boBzfcuhxvQwGkOI4ytnvP0NvwJjXLNp0YdypY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CvjWs8cjrjV4N2GX66nDC0EhrCN1PODZLbcyqoUM5ixMsuy8NjtPN5ydxKWHV2v5S 4rkzNDilElWQafw/paALBSa7d7BtheCqZXUUz43eGOxfo8squEkaGR/BNuh9ZBqcat rMXBnCfxQgJY1HK4V2nI773ztai2BZJH5vQxOmYkk424h5jMyL3ed47ORQ/LI7ZZHN LFNZjoxxzH49y54O+TNEfabHKeDhIJ5VVeMdQMFuE4jnSU42DxaSuU2XZqiRAWipPl xHVQA0GUQ+E3tHezzvuRuYSWbC9DK6bSs1etXyrvLCpz2K/fevEHd8ZC1/32dn2oQI t3hXEUrNpeU5Q== From: Will Deacon To: linux-arm-kernel@lists.infradead.org, Pingfan Liu Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , Ard Biesheuvel , James Morse , Matthias Brugger , Pasha Tatashin Subject: Re: [PATCHv2] arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd Date: Tue, 16 Nov 2021 10:39:44 +0000 Message-Id: <163705756834.1570573.6319251211753065459.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20211112052214.9086-1-kernelfans@gmail.com> References: <20211111060316.12438-1-kernelfans@gmail.com> <20211112052214.9086-1-kernelfans@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211116_023951_272444_BCA05D09 X-CRM114-Status: UNSURE ( 7.52 ) 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 Fri, 12 Nov 2021 13:22:14 +0800, Pingfan Liu wrote: > trans_pgd_create_copy() can hit "VM_BUG_ON(mm != &init_mm)" in the > function pmd_populate_kernel(). > > This is the combined consequence of commit 5de59884ac0e ("arm64: > trans_pgd: pass NULL instead of init_mm to *_populate functions"), which > replaced &init_mm with NULL and commit 59511cfd08f3 ("arm64: mm: use XN > table mapping attributes for user/kernel mappings"), which introduced > the VM_BUG_ON. > > [...] Applied to arm64 (for-next/fixes), thanks! [1/1] arm64: mm: Fix VM_BUG_ON(mm != &init_mm) for trans_pgd https://git.kernel.org/arm64/c/d3eb70ead647 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