Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp615378lqo; Wed, 8 May 2024 09:28:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUHc0vpAY3+oCu184Bc/VBgpLNyWvkqGS7hvRzxy5XTbK3ikNdKsmzzFs9gdKunbxm7re42OD0C7nxhDipsXt7Pck9lzp+1yw+RtrtjLQ== X-Google-Smtp-Source: AGHT+IFBuXnsRmoM3HTQsJsYUGoZMLcOeukov2zlhwJWjRcWJpUoYfE5wPPX+d0hfEQRAz+pECVa X-Received: by 2002:a05:6a20:a10e:b0:1af:6480:d857 with SMTP id adf61e73a8af0-1afc8dd971dmr3751735637.53.1715185683876; Wed, 08 May 2024 09:28:03 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715185683; cv=pass; d=google.com; s=arc-20160816; b=aiDdpx+gM8TwrEYXOPfNTaIcoh+qgwi5Dfk3LwPrPZ+m/JUuWMr50+vghBm7fJ3t3j 1sOx+I2FHaI/ijiO5Ng6po0XXIDZe82JQ6oYFTgAzm+Db3OtMBtNPk7vqHCogl46WUcB 3M3jgsiCmNPJEsntzSUjMAR1EaQ/VnMOUCB7SEf/7+DzdMNtA9rjbNM7/eGf2pmYnCIS e6UqcDKW01aDHwXvihwsfaD7s+y5Fwv4ZD3qDnbo8qDyktammcG652CzW0/nb0CNviFW p323wdux86/6U6hQ6Ku3Es831cjmwBldU7gI5r/cAEAMZajkt25HPBRenVBhet9f/36L +lHA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=7pRXrxUVGo0VqAgDWHbx7NFbkq7/AI0sIEL3jAWLcEo=; fh=8DUys/vK8u1JVBQXzuqsfs18yubI/hhbVFW1rAt6wNg=; b=d6kk+mPQrgvVznPWODTIAG/Op1iASSByW1K6Amtw5qJ3fRGsr+1tH1umm2/4Acooxp qay/fQkAdt3N0X1nzXw+o6f+qE0zM8w2Y/kXEFCxV0Fck5gbrkrbNiQ4mpBAzu1mrov6 u9dKpYR//23Bg52Pl4Us+Z5PGz2zFuhAA07SPyXO9jKr+/iWY70m4ySRFHVVeLyBPQSf VOKeP3Hv3L/64w4deFsE4kfOoqH0YXIopmdeFrAQozXJsJfUjAEu7lgDCTFaZdDO5brh xdxYjEfaC8uXFQnrz7DcG25FlAirwvZfhGFlhUgMRHXaXZU8oA4/b+cupa0kaqiJ/dkk EuZQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=jT+7B2za; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-173540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173540-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h9-20020a056a00230900b006f473c271f0si7762679pfh.61.2024.05.08.09.28.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 09:28:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=korg header.b=jT+7B2za; arc=pass (i=1 dkim=pass dkdomain=linux-foundation.org); spf=pass (google.com: domain of linux-kernel+bounces-173540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173540-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 5C825281550 for ; Wed, 8 May 2024 16:28:03 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C52F712A175; Wed, 8 May 2024 16:27:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b="jT+7B2za" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CE0AE128803 for ; Wed, 8 May 2024 16:27:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715185677; cv=none; b=auwUYGRpwUz6Y0KCWWlRIiDmXCPyzgq1r4oApbGdsa+H1B6GniN71azZHExYDmxclCLtOVyaBw6Wh/ajvDb48UFW1dm87pCM5AlL4x34WrMPRwld4i/TQU04gOaBWSlXmLIdPk+SKndXR+IlQh/pCCzj+dtbA94e+f5OgCxtxlM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715185677; c=relaxed/simple; bh=L1QBFOlO/NdA1MFpDgz4XHe5aYdivtT6EbOIH6mGJfk=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=rBYBmB1ZFhPyqHnSF/bCam5HnBzE5iI9ApwqDDhaCRFPObmDfCHMzd6V5C4Ak62YsZ9nBI4Yv0Ls8hm6l3pft6Xsxu0XgXq+5OiBRLLlMc22bGKMam5qV9MOLZ+2Xip9aJsNXiRgN1dWe6lR3Peq0bWDTHRvy+18Mp5o8HRdrxQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux-foundation.org header.i=@linux-foundation.org header.b=jT+7B2za; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E9B24C113CC; Wed, 8 May 2024 16:27:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1715185677; bh=L1QBFOlO/NdA1MFpDgz4XHe5aYdivtT6EbOIH6mGJfk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jT+7B2zaE1gDYONCDwX6NLuwtxU+sqrhKVQbk5C5m1cVZ/1fHqzqACKx4DGzHUTrH 3p8JAG1FryLJQWyCTCMWxKb6xyrhyKkVFKzE6arQ0qph+v/cQgwDI9ULN+FoL/ebTP XjUroUnyFQcZ/JlRUw6gi9vr+CfBF8+2XNpOrOBI= Date: Wed, 8 May 2024 09:27:56 -0700 From: Andrew Morton To: Alexandre Ghiti Cc: Catalin Marinas , Will Deacon , Ryan Roberts , Mark Rutland , Paul Walmsley , Palmer Dabbelt , Albert Ou , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-mm@kvack.org Subject: Re: [PATCH v2 0/9] Merge arm64/riscv hugetlbfs contpte support Message-Id: <20240508092756.58fba60e4b6ce0986e8f5f73@linux-foundation.org> In-Reply-To: <20240508111829.16891-1-alexghiti@rivosinc.com> References: <20240508111829.16891-1-alexghiti@rivosinc.com> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 8 May 2024 13:18:20 +0200 Alexandre Ghiti wrote: > This patchset intends to merge the contiguous ptes hugetlbfs implementation > of arm64 and riscv. > > ... > > arch/arm64/Kconfig | 1 + > arch/arm64/include/asm/pgtable.h | 56 +++++- > arch/arm64/mm/hugetlbpage.c | 291 +--------------------------- > arch/riscv/Kconfig | 1 + > arch/riscv/include/asm/hugetlb.h | 2 +- > arch/riscv/include/asm/pgtable-64.h | 11 ++ > arch/riscv/include/asm/pgtable.h | 153 +++++++++++++-- > arch/riscv/mm/hugetlbpage.c | 227 ---------------------- > arch/riscv/mm/pgtable.c | 6 +- > mm/Kconfig | 3 + > mm/Makefile | 1 + > mm/contpte.c | 272 ++++++++++++++++++++++++++ > 12 files changed, 480 insertions(+), 544 deletions(-) > create mode 100644 mm/contpte.c Hits three subsystems, so I guess mm.git is the place. I'll await reviewer/tester input and let's look at getting this into mm.git after 6.10-rc1?