Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp859256pxb; Wed, 29 Sep 2021 11:08:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCSzvY6GAq8D3WIkyn/e1KXKLGTMhqW3wI2fwXGtf8eyCKqucpU4L2SNmmZQ2bFCbGBOdp X-Received: by 2002:adf:ec47:: with SMTP id w7mr1511836wrn.173.1632938924365; Wed, 29 Sep 2021 11:08:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632938924; cv=none; d=google.com; s=arc-20160816; b=S8MWQrULC+P18AWoGjg/zRGElGOcFwqo9B8x7OB09/abcY92HQmAWUxqCetQF9Z35N XkaiZZfvXGF2rDy6is2NhtNOVu8VPCON6QVSdNc3+KArYXM0+s/3FPQkebJVNbdE+lX2 gwFZT7+gVKJCxKUvpr1/ewKbP5HExR9lO/xodOI6DJLCVcpceLkTCsVQZyu8r5PrYtut xUr3PVJpTvNtr7ByzpwYOXffRzwV/QsWKwGbvn0L75wwYtXe76dq3E2r2bTYcWJ/FG0s yZDXRov/5qePm2lgTHRVnxi3Mvr3RoRfrTmH10Uz2mpEzE7W3J3gzkHmTfBqob+DUJjZ gwsQ== 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:date:subject:cc:to:from :dkim-signature; bh=5NLUZkQlf7IFTDQ8AFSKSeFPEeYzzOnDH9Ehw6T+lJI=; b=wCHGl8uet/QXh32NxWWlgQb9mDYxbKaXVJVyo9hcS0CLi6RgiZDkx8Z96XJKh7sAhL GnPhoIdSE+Ij3uxf53zPQgMV+PoCR/lFjjCF7JfEJoEn5ficq+rY2aBLH4JeVj8LP2qb OxIPHbgGA5Whqxvxpq+roLXbgR01xXNPByEwx/8neFyum8M7vHbC3mNrtBmCdivS2+uC LviMn1mmCR4D64TtBFmkxnuysXQ8mduLM9chxh+WHkHnN9weu45x/vQ98WAslhBNgf3N hT3F3Z+AMkF/38fN7QvRWPn+HtQKlCk13FhcCoEi8VFcaKwnPUtH7QbalwATElGDGLn9 SOqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PtfZ37Se; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v7si632857eds.200.2021.09.29.11.08.20; Wed, 29 Sep 2021 11:08:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PtfZ37Se; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345324AbhI2RuS (ORCPT + 99 others); Wed, 29 Sep 2021 13:50:18 -0400 Received: from mail.kernel.org ([198.145.29.99]:45200 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345272AbhI2RuR (ORCPT ); Wed, 29 Sep 2021 13:50:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 05E2561361; Wed, 29 Sep 2021 17:48:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1632937716; bh=flVinZZluinTpML7hGLvjHlO/g3I8NE+6pnRDd1Kdzc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PtfZ37Se+g5ZAq9dkNrMNAGmj1FeyLA3JtJAsr/t0KP6WNBwrjne5Tfek2VvZpTtM 6HpRJbPeYU3fjvco7C8/SjOFao4OcZzQWX3zVQv6oJXvNyryG5g80rnKWXb/tF0AcS L58U5xWBiUf3z1CyD8U6Q1UQnFt8eD7VtMtY3bpkQ4farsNobQVj3Sj/uOWwCND1Nu tvufM1HWYvjUvgKSgULciTQ/ngzoBnlO8C1HML148f6KInQVFR5AE7bdY7akh6bfMz HNrwWTDUcHh9W85IWciFbb4r7OgKkFbbvh4WXQyvWjfhYOmOqdActxqdhHaBmeAaw1 W+JhiCXEC0iag== From: Will Deacon To: Anshuman Khandual , linux-arm-kernel@lists.infradead.org Cc: catalin.marinas@arm.com, kernel-team@android.com, Will Deacon , suzuki.poulose@arm.com, linux-kernel@vger.kernel.org, mark.rutland@arm.com Subject: Re: [PATCH V2] arm64/mm: Add pud_sect_supported() Date: Wed, 29 Sep 2021 18:48:23 +0100 Message-Id: <163293087332.927113.5526863542809374103.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <1632130171-472-1-git-send-email-anshuman.khandual@arm.com> References: <1632130171-472-1-git-send-email-anshuman.khandual@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Sep 2021 14:59:31 +0530, Anshuman Khandual wrote: > Section mapping at PUD level is supported only on 4K pages and currently it > gets verified with explicit #ifdef or IS_ENABLED() constructs. This adds a > new helper pud_sect_supported() for this purpose, which particularly cleans > up the HugeTLB code path. It updates relevant switch statements with checks > for __PAGETABLE_PMD_FOLDED in order to avoid build failures caused with two > identical switch case values in those code blocks. > > [...] Applied to arm64 (for-next/mm), thanks! [1/1] arm64/mm: Add pud_sect_supported() https://git.kernel.org/arm64/c/f8b46c4b51ab Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev