Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp232253iob; Mon, 2 May 2022 17:59:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIThaji0gyfAtSXyWrDs9spOHQussX/S9RIkW9thw29kioYafab/JMfun22IUb9q9B8MQe X-Received: by 2002:a63:84c3:0:b0:3aa:f229:45c5 with SMTP id k186-20020a6384c3000000b003aaf22945c5mr11764641pgd.415.1651539575025; Mon, 02 May 2022 17:59:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651539575; cv=none; d=google.com; s=arc-20160816; b=I+qQ1lggM78Ze8DdDUclcrvJyt3jAAaw5frRRaUZApT6ag6p1TOzn8lDKrZNOgBV3G JUbbrA53RQARXkapiICfot66B3Gwi2M8Dtz68E4h7NFmH0MkRf/ijOa2G9R3+u/Bd89d ALNdeHCe/o2HcsLs20R9TwAXoekvC5JOomPW0MpqGqnGFcs5tOxzxHr9iyI+8y7Q9zTG T0kCWEYvjJ57Ic+JzoI+q3kK3GDPGfnebYNBVtB30ODZ4ABpS+IsTiHupSsk+UG/dg7j 7ugG5qE0OB3tCL+7GtiuOgWRJllhybkeuuENfOoPj93+mpsnRj6G/ew6ppTcORe8JjnZ 616Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=/lV0JN2Ilf4RMzt+0+7MdeHa5/LcEDmMeysFndeo1yo=; b=HOZ41yf3/dSS9kUMkurhwdZnPMLxo1HK2ocJ5duj/hUWMQxf/1a0KFtTkzvqEUXlog XcUW4UgBMnWqjVeFLkTxOa8qLP8Fy6bWjpRi5Zb7e0PeF5O/zDf3m1tpoBFN/C8Vtdfo I+GBmyZuqgyqeB/0RU01ndkPgM1ylwx7PaGf747Z+GfOvec43GPSJfIGwvAc+i5QDL5N D+QHZ7t+bJP9g+QE/pNesiInkNQFEhkfu6FgnNHxDCjYkVlYGU/vhtvGh2QbSWsR/VEI Y6GlrIIbVTdqcCXg3NS7JGw9w3Hlmui5w/1pc7eW3U9MaC/Ae+BdcACEMlH0zyJWSX0u G5gA== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k8-20020a170902ce0800b001590829860dsi15610434plg.400.2022.05.02.17.59.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 17:59:35 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9A9634B1C9; Mon, 2 May 2022 17:44:49 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237188AbiD2EXb (ORCPT + 99 others); Fri, 29 Apr 2022 00:23:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41308 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230133AbiD2EX3 (ORCPT ); Fri, 29 Apr 2022 00:23:29 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D47ED63D7 for ; Thu, 28 Apr 2022 21:20:11 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A210A11FB; Thu, 28 Apr 2022 21:20:11 -0700 (PDT) Received: from [192.168.225.246] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 372B13F73B; Thu, 28 Apr 2022 21:20:09 -0700 (PDT) Message-ID: <36bb4d49-730c-1f01-8579-44ce2d411fa5@arm.com> Date: Fri, 29 Apr 2022 09:51:02 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH] xtensa: enable ARCH_HAS_DEBUG_VM_PGTABLE Content-Language: en-US To: Max Filippov , linux-xtensa@linux-xtensa.org Cc: Chris Zankel , linux-kernel@vger.kernel.org References: <20220425180540.880632-1-jcmvbkbc@gmail.com> From: Anshuman Khandual In-Reply-To: <20220425180540.880632-1-jcmvbkbc@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Reviewed-by: Anshuman Khandual > --- > 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