Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp496908rdh; Thu, 26 Oct 2023 07:54:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGpydAlqVbKq9wBnvuzOMo48kA4bQbZ8T3aUV06Id3HZ0sqX/By8AN6IYe96GKMIyQDWkzP X-Received: by 2002:a05:6359:4293:b0:168:ff1b:8f59 with SMTP id kp19-20020a056359429300b00168ff1b8f59mr8140352rwb.4.1698332075006; Thu, 26 Oct 2023 07:54:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698332074; cv=none; d=google.com; s=arc-20160816; b=SHLeuQgxDlopfyox3Et36hYDG2npw0jVLEtscNL8CvmghAv75j1p6bf1ChBKvs2oq0 ZA1RpIskM/kvZz+7VHHEFOUsvZGJ56T7QV/Cx68tNeLt19+5f6ygDPTXsmwxsZgmfhCH vLb2V+oK6wi5f++/KQRdK2yMHK/mLkKVBXxiig89Fxkfsq9jafQYDmnhRexNeHQHjKtq Xsfuinp5qWNz/xKyDiiL36qfs/yTX1Z9hbsI0Pw8Jap9o7PVBFtNw44pP9krEip2D4zQ 5Obr0V3gZ9jilhilyH8ifnD9qoR1DJ6TrLguLXV/n7KTCBkDafnd0QB/MFJdAQ71Ouct daYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=9O1GCf5bDpvutaxfBXLd5K1DbTOvBJQBtnuuDj8LJis=; fh=w6gTdFo8Liwkh1VPoN9kDIQ7MLC68bWKqYboW9mx+/Q=; b=LgO3NrFBn8YAqm1kor1heZgdz5KjjFypcctjNRyjhuPy7lXSC96REmcyN+KNjSoTI3 irBkeI2eOSW9mT2OOugJuZ2uwbO1Tm8RvSHKhD88k1DMaXquQuo57wt/fV5lrGNT5Ej4 qDfbUtNR6neyiZhkiYCse17e5bldaAG/ih6GsdyfNc3dqTM8Gnww79LyXKtkQAUuPUGf 2RqEUryx6o/IZaLROeMHydZquyZyDddRNL5ePbpqDC2z9t6tP1YyHeCuURryuuV49RhO CAAbPoLvS6tCrn97O9fv0N8+qSYd7MeSdQw4FPGG4FoA202MFby8GR+5XfFFifgIEmwg EWqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=luu7O4Zp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id g124-20020a815282000000b0059f4eb8ecbcsi14000128ywb.52.2023.10.26.07.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 07:54:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=luu7O4Zp; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6ED7A838065A; Thu, 26 Oct 2023 07:54:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345305AbjJZOyU (ORCPT + 99 others); Thu, 26 Oct 2023 10:54:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53498 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345343AbjJZOyT (ORCPT ); Thu, 26 Oct 2023 10:54:19 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A1D71B3 for ; Thu, 26 Oct 2023 07:54:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5AEDAC433C8; Thu, 26 Oct 2023 14:54:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1698332056; bh=3QlDzhYrf7P1UVluxNylKvOnHhMo0/dRhjHt5yfy+As=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=luu7O4Zpr91mxYh7wbxwsuSQMyINGvqbzvNM2OYDSLD7DOP9EhGEntc9OF6SE64Oe AlTASilQVbwkxfyTaXBvzyuZ1cFyhppoDgV8B/jtWUiMEus7FZKHdvZ2yBBmC4l5zh BNgWcKFYyQzA5EGlCoUNEXtbBxRjprIrkE8Pcxs0= Date: Thu, 26 Oct 2023 07:54:15 -0700 From: Andrew Morton To: Ryan Roberts Cc: Alexandre Ghiti , Alexandre Ghiti , Paul Walmsley , Palmer Dabbelt , Albert Ou , Andrew Jones , Qinglin Pan , linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, "linux-mm@kvack.org" Subject: Re: [PATCH -fixes 0/2] Fix set_huge_pte_at() Message-Id: <20231026075415.47c0a032906b604de08ed39b@linux-foundation.org> In-Reply-To: <36aa1ec7-df13-4741-be09-c53a05f3d591@arm.com> References: <20230928151846.8229-1-alexghiti@rivosinc.com> <305b4dec-c99d-3cee-4563-8d7dcbae9384@ghiti.fr> <20231003090443.67a2e2692b68211e05b53248@linux-foundation.org> <20231026071300.e12dab3be1edd26007db85ee@linux-foundation.org> <32d9627c-821a-48f0-b430-0532a47b8699@ghiti.fr> <36aa1ec7-df13-4741-be09-c53a05f3d591@arm.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Thu, 26 Oct 2023 07:54:31 -0700 (PDT) On Thu, 26 Oct 2023 15:30:44 +0100 Ryan Roberts wrote: > >>> Those fixes finally did not make it to 6.6, I was hoping for them to > >>> land in -rc6 or -rc7: for the future, what should have I done to avoid > >>> that? > >> They're merged in Linus's tree. > >> > >> 6f1bace9a9fb arm64: hugetlb: fix set_huge_pte_at() to work with all swap entries > >> 935d4f0c6dc8 mm: hugetlb: add huge page size param to set_huge_pte_at() > > > > > > Oops, sorry, I missed them this morning! > > Those two patches that Andrew highlights are the fix I did for arm64. Weren't > you referring to the corresponding patches you did for riscv, Alex? These are in mainline: 1de195dd0e05 riscv: fix set_huge_pte_at() for NAPOT mappings when a swap entry is set 117b1bb0cbc7 riscv: handle VM_FAULT_[HWPOISON|HWPOISON_LARGE] faults instead of panicking I'm not sure what happened to your "riscv: hugetlb: convert set_huge_pte_at() to take vma" - perhaps it was updated.