* Re: [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT
[not found] <1641796896-16960-1-git-send-email-anshuman.khandual@arm.com>
@ 2022-01-10 10:52 ` Catalin Marinas
2022-01-10 11:43 ` Anshuman Khandual
2022-01-11 10:19 ` Catalin Marinas
1 sibling, 1 reply; 3+ messages in thread
From: Catalin Marinas @ 2022-01-10 10:52 UTC (permalink / raw)
To: Anshuman Khandual
Cc: linux-mm, Will Deacon, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, Andrew Morton, linux-arm-kernel, x86,
linux-kernel
On Mon, Jan 10, 2022 at 12:11:36PM +0530, Anshuman Khandual wrote:
> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
> index 5c2ccb85f2ef..d9594e05fddb 100644
> --- a/arch/x86/Kconfig
> +++ b/arch/x86/Kconfig
> @@ -328,9 +328,6 @@ config GENERIC_CALIBRATE_DELAY
> config ARCH_HAS_CPU_RELAX
> def_bool y
>
> -config ARCH_HAS_FILTER_PGPROT
> - def_bool y
Aren't you missing a select for x86?
--
Catalin
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT
2022-01-10 10:52 ` [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT Catalin Marinas
@ 2022-01-10 11:43 ` Anshuman Khandual
0 siblings, 0 replies; 3+ messages in thread
From: Anshuman Khandual @ 2022-01-10 11:43 UTC (permalink / raw)
To: Catalin Marinas
Cc: linux-mm, Will Deacon, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, Andrew Morton, linux-arm-kernel, x86,
linux-kernel
On 1/10/22 4:22 PM, Catalin Marinas wrote:
> On Mon, Jan 10, 2022 at 12:11:36PM +0530, Anshuman Khandual wrote:
>> diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
>> index 5c2ccb85f2ef..d9594e05fddb 100644
>> --- a/arch/x86/Kconfig
>> +++ b/arch/x86/Kconfig
>> @@ -328,9 +328,6 @@ config GENERIC_CALIBRATE_DELAY
>> config ARCH_HAS_CPU_RELAX
>> def_bool y
>>
>> -config ARCH_HAS_FILTER_PGPROT
>> - def_bool y
>
> Aren't you missing a select for x86?
>
It already gets unconditionally selected in arch/x86/Kconfig.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT
[not found] <1641796896-16960-1-git-send-email-anshuman.khandual@arm.com>
2022-01-10 10:52 ` [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT Catalin Marinas
@ 2022-01-11 10:19 ` Catalin Marinas
1 sibling, 0 replies; 3+ messages in thread
From: Catalin Marinas @ 2022-01-11 10:19 UTC (permalink / raw)
To: Anshuman Khandual
Cc: linux-mm, Will Deacon, Thomas Gleixner, Ingo Molnar,
H. Peter Anvin, Andrew Morton, linux-arm-kernel, x86,
linux-kernel
On Mon, Jan 10, 2022 at 12:11:36PM +0530, Anshuman Khandual wrote:
> ARCH_HAS_FILTER_PGPROT config has duplicate definitions on platforms that
> subscribe it. Instead make it a generic config option which can be selected
> on applicable platforms when required.
>
> Cc: Catalin Marinas <catalin.marinas@arm.com>
> Cc: Will Deacon <will@kernel.org>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: x86@kernel.org
> Cc: linux-mm@kvack.org
> Cc: linux-kernel@vger.kernel.org
> Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Assuming this goes in via the mm tree, for arm64:
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-01-11 10:19 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <1641796896-16960-1-git-send-email-anshuman.khandual@arm.com>
2022-01-10 10:52 ` [PATCH] mm: Generalize ARCH_HAS_FILTER_PGPROT Catalin Marinas
2022-01-10 11:43 ` Anshuman Khandual
2022-01-11 10:19 ` Catalin Marinas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).