Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp3620786ioa; Tue, 26 Apr 2022 07:03:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzMAmdiS/wt+FA1CHRZZC477OMKaScxXQr0Az6eJv9hcu9JVk/gOn3F9hO3b/iBg1vmFUsI X-Received: by 2002:a05:6402:26c5:b0:425:f7f0:fb6c with SMTP id x5-20020a05640226c500b00425f7f0fb6cmr5188177edd.133.1650981825962; Tue, 26 Apr 2022 07:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650981825; cv=none; d=google.com; s=arc-20160816; b=K6C3cRBs0Un+DGEc3lUMzx4duEEBKfizjG5zKCuSmxE+bmKv043XaQ+8HSgmOzxmdW mif//X/8EhD532lOLGMOd9hYH14L7i0UOmgZf39e3GtWVYzPCIb+3zF53pKKAlNNu9Gy CkIM8ItvwD/nFo3KspMGT9qvcyOErPauRO+YFlGyCQCxW+T2RtjjUicz1GjFeBiKlc+k Lp3bfMGdmPUCr49mZ3pwAcTLGTMpXwUd58bdqzXp9eRVh+A8wS+P6OQ3B41i90VTbrIN nisHKosmdEfHc16kmfquAjpKqJUOwYoqgrTIVKSio9thmH06mwcMTAknZ5ERogSpNmnO mBrg== 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=CSh4DGjY+DhdeVfq5stqqNUMi08FEAzBKQgrBvSKdTE=; b=PrTxca5xIIhLAsB59OW6PJkBfBJmjLcRejm9ssg3+smh6TvdwxkhhLiX0M3v9KENpd qSiqUZg7fBnvKhL7dv3WUxwcGDi7OsgE31c+GxNl1YajH4DxyjQI4wKKw3mTVbDmZ4ow lYmXiN7OOOmOTPfcgYZatGuKhqQ5FXaoFFwRVDYVsk6kappYTG11mG0ekNLe4ngHBw/9 pNgywQAi6Ka4ZI3HUGY+x71ytT3gwWPJp2f5tK6ytq1lPRnoi2v3qitTOeSS+CeCDqYh B8/Bk375gLjR9RJUEbKEpK+r6y0hYfzCaym2ypAHbwALtOpBX7XwVZwdt3Qn5w//KWc9 qyzQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id dz21-20020a0564021d5500b00425e058d835si7339096edb.78.2022.04.26.07.03.08; Tue, 26 Apr 2022 07:03:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243916AbiDZGK4 (ORCPT + 99 others); Tue, 26 Apr 2022 02:10:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42138 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233131AbiDZGKz (ORCPT ); Tue, 26 Apr 2022 02:10:55 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 173EF97BBD for ; Mon, 25 Apr 2022 23:07:49 -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 8A2C823A; Mon, 25 Apr 2022 23:07:48 -0700 (PDT) Received: from [192.168.225.134] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 726A83F5A1; Mon, 25 Apr 2022 23:07:46 -0700 (PDT) Message-ID: <63deb092-4002-d798-410e-1db2081f0ef8@arm.com> Date: Tue, 26 Apr 2022 11:38:19 +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=-8.8 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 Hi Max, Thanks for the patch. Just wondering if you ran with different config options (which might impact test case selection) on/off during testing ? - Anshuman 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 > --- > 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