Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp501293rdh; Thu, 26 Oct 2023 08:01:12 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHw9PGWYwmNiefiua/fR6lU1S+B7xLKaMN+eYnIYwWFGSv/v/ElJeKsxz/h28Dth5kj0Pq1 X-Received: by 2002:a81:8344:0:b0:5a7:bfbf:1bc2 with SMTP id t65-20020a818344000000b005a7bfbf1bc2mr17230749ywf.20.1698332471831; Thu, 26 Oct 2023 08:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698332471; cv=none; d=google.com; s=arc-20160816; b=orKtemHMSVtRmuO/kfujUXIUChly1nafyZ9oHHn+z7c6Cu8cZuDwj3I/xSzZWCTrZx mYyAOGVtpoHS3//3llHOCcYgbjvMoXNsplBs9feUYM0cARMchu62709FisseKWIYQXzk aQdNB4zqAOfJyvdKtMvxFP/g2+RuxLXQ/uV4IZimmyereLVaZDSWsfjVIdl6inJGwKjd Okr80QOymr4nGVzxlJUkI4707YR0IqOUHvGJe2aYauUMW/Y4/QYmQ7hgBXKj97foYGJd xg7MQ+6THpe3pB0MaEz0apktgPLWx7qPGQWfvavERuVjazOoxBsAtfbQ8bKDDzspG8Qz RPOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=lo3zBECdYutR4LDE9J2P/DNJtUBVP5jaOKX9PfkNwck=; fh=kxGzXumWXeOhMPdjln2iKu10AtZBJ9sKRjWl2fSP2jY=; b=CbEQCV11BDO+hGdNPjr+taM1K44IWvfLWolHiwxIWXPTzmyKu0/WJp5mu9nYW1afA5 Y9P2JxJjpdaJ3sU3ccrnsvGGxsibc+joGGS+qAWIzjKlN68cN85XUG7p02PZjWCwFdXL Wiw8l0kUZ0nMzBQCw1j2OBd58gFrgFLyFR+16cQdXBLIAU+or6A9QPPiohNjchWFeB58 jipKjuJ+rQaU2Yqctz/XVcYXPnnLuBPJjKDQtQKyfQ2ju8tCLiCiD0a5Rk12JPLkpeCh af4mDii0gYxMNwSQDchJ1ztOPPkvcW+4Wj/87UXqgnQ4Tt2YLqcjJCaoho1IESp5H5Fk ndNw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id g188-20020a0dc4c5000000b00577608f6164si13868731ywd.516.2023.10.26.08.01.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Oct 2023 08:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 9D2FA801BCB7; Thu, 26 Oct 2023 08:00:58 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345375AbjJZPAj (ORCPT + 99 others); Thu, 26 Oct 2023 11:00:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57060 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231423AbjJZPAh (ORCPT ); Thu, 26 Oct 2023 11:00:37 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 722761AB for ; Thu, 26 Oct 2023 08:00:34 -0700 (PDT) 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 580512F4; Thu, 26 Oct 2023 08:01:15 -0700 (PDT) Received: from [10.1.36.151] (XHFQ2J9959.cambridge.arm.com [10.1.36.151]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 649033F64C; Thu, 26 Oct 2023 08:00:32 -0700 (PDT) Message-ID: Date: Thu, 26 Oct 2023 16:00:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH -fixes 0/2] Fix set_huge_pte_at() To: Andrew Morton 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" 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> <20231026075415.47c0a032906b604de08ed39b@linux-foundation.org> Content-Language: en-GB From: Ryan Roberts In-Reply-To: <20231026075415.47c0a032906b604de08ed39b@linux-foundation.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 agentk.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 (agentk.vger.email [0.0.0.0]); Thu, 26 Oct 2023 08:00:58 -0700 (PDT) On 26/10/2023 15:54, Andrew Morton wrote: > 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 Ahh, great - I think they were probably the ones Alex was talking about. > > I'm not sure what happened to your "riscv: hugetlb: convert > set_huge_pte_at() to take vma" - perhaps it was updated. I modified the approach for v2 (pass size param instead of vma) and it got squashed into 935d4f0c6dc8 mm: hugetlb: add huge page size param to set_huge_pte_at(), which is in.