All of lore.kernel.org
 help / color / mirror / Atom feed
From: Will Deacon <will@kernel.org>
To: Anshuman Khandual <anshuman.khandual@arm.com>,
	linux-arm-kernel@lists.infradead.org
Cc: catalin.marinas@arm.com, kernel-team@android.com,
	Will Deacon <will@kernel.org>,
	linux-kernel@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH] arm64/mm: Validate CONFIG_PGTABLE_LEVELS
Date: Tue, 25 May 2021 19:58:43 +0100	[thread overview]
Message-ID: <162196527964.2314761.8443537851296185272.b4-ty@kernel.org> (raw)
In-Reply-To: <1620649326-24115-1-git-send-email-anshuman.khandual@arm.com>

On Mon, 10 May 2021 17:52:06 +0530, Anshuman Khandual wrote:
> CONFIG_PGTABLE_LEVELS has been statically defined in (arch/arm64/Kconfig)
> depending on the page size and requested virtual address range. In order to
> validate this page table levels selection this adds a BUILD_BUG_ON() as per
> the existing formula ARM64_HW_PGTABLE_LEVELS(). This would help protect any
> inadvertent changes to CONFIG_PGTABLE_LEVELS selection.

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64/mm: Validate CONFIG_PGTABLE_LEVELS
      https://git.kernel.org/arm64/c/7e04cc918954

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

WARNING: multiple messages have this Message-ID (diff)
From: Will Deacon <will@kernel.org>
To: Anshuman Khandual <anshuman.khandual@arm.com>,
	linux-arm-kernel@lists.infradead.org
Cc: catalin.marinas@arm.com, kernel-team@android.com,
	Will Deacon <will@kernel.org>,
	linux-kernel@vger.kernel.org, Mark Rutland <mark.rutland@arm.com>
Subject: Re: [PATCH] arm64/mm: Validate CONFIG_PGTABLE_LEVELS
Date: Tue, 25 May 2021 19:58:43 +0100	[thread overview]
Message-ID: <162196527964.2314761.8443537851296185272.b4-ty@kernel.org> (raw)
In-Reply-To: <1620649326-24115-1-git-send-email-anshuman.khandual@arm.com>

On Mon, 10 May 2021 17:52:06 +0530, Anshuman Khandual wrote:
> CONFIG_PGTABLE_LEVELS has been statically defined in (arch/arm64/Kconfig)
> depending on the page size and requested virtual address range. In order to
> validate this page table levels selection this adds a BUILD_BUG_ON() as per
> the existing formula ARM64_HW_PGTABLE_LEVELS(). This would help protect any
> inadvertent changes to CONFIG_PGTABLE_LEVELS selection.

Applied to arm64 (for-next/mm), thanks!

[1/1] arm64/mm: Validate CONFIG_PGTABLE_LEVELS
      https://git.kernel.org/arm64/c/7e04cc918954

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

  reply	other threads:[~2021-05-25 18:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 12:22 [PATCH] arm64/mm: Validate CONFIG_PGTABLE_LEVELS Anshuman Khandual
2021-05-10 12:22 ` Anshuman Khandual
2021-05-25 18:58 ` Will Deacon [this message]
2021-05-25 18:58   ` Will Deacon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=162196527964.2314761.8443537851296185272.b4-ty@kernel.org \
    --to=will@kernel.org \
    --cc=anshuman.khandual@arm.com \
    --cc=catalin.marinas@arm.com \
    --cc=kernel-team@android.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.