[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <36bb4d49-730c-1f01-8579-44ce2d411fa5@arm.com>
Date: Fri, 29 Apr 2022 09:51:02 +0530
From: Anshuman Khandual <anshuman.khandual@....com>
To: Max Filippov <jcmvbkbc@...il.com>, linux-xtensa@...ux-xtensa.org
Cc: Chris Zankel <chris@...kel.net>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] xtensa: enable ARCH_HAS_DEBUG_VM_PGTABLE
On 4/25/22 23:35, Max Filippov wrote:
> xtensa kernels successfully build and run with
> CONFIG_DEBUG_VM_PGTABLE=y, enable arch support for it.
>
> Signed-off-by: Max Filippov <jcmvbkbc@...il.com>
Reviewed-by: Anshuman Khandual <anshuman.khandual@....com>
> ---
> Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +-
> arch/xtensa/Kconfig | 1 +
> 2 files changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
> index 83eafe1a7f68..ff21a83abe62 100644
> --- a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
> +++ b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt
> @@ -27,5 +27,5 @@
> | sparc: | TODO |
> | um: | TODO |
> | x86: | ok |
> - | xtensa: | TODO |
> + | xtensa: | ok |
> -----------------------
> diff --git a/arch/xtensa/Kconfig b/arch/xtensa/Kconfig
> index 2ed897299f19..903b910ebc10 100644
> --- a/arch/xtensa/Kconfig
> +++ b/arch/xtensa/Kconfig
> @@ -4,6 +4,7 @@ config XTENSA
> select ARCH_32BIT_OFF_T
> select ARCH_HAS_BINFMT_FLAT if !MMU
> select ARCH_HAS_CURRENT_STACK_POINTER
> + select ARCH_HAS_DEBUG_VM_PGTABLE
> select ARCH_HAS_DMA_PREP_COHERENT if MMU
> select ARCH_HAS_SYNC_DMA_FOR_CPU if MMU
> select ARCH_HAS_SYNC_DMA_FOR_DEVICE if MMU
Powered by blists - more mailing lists