Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp2054457ybh; Tue, 14 Jul 2020 14:30:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG1sCc01iypK0kzZUbLsWuVGiwjadFTLy8dJLnjyH+DD1mNblz8f9fW+grO6XhYOe17+HC X-Received: by 2002:a17:906:3a0d:: with SMTP id z13mr6176609eje.109.1594762258908; Tue, 14 Jul 2020 14:30:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594762258; cv=none; d=google.com; s=arc-20160816; b=jY5K9RPbCSrADLZHBycHewNIWHKmgT2BP3xc5p+9Xn/RXUWuPaCfva7YaKWQ+eaNdt /KyUxZRlnhWiZBvE4ZXjqby3Ti4RTLfhm+aZl1hCb+4toO7Zcx7kbBcU+EYRju47y7TJ 8aDpdI7oTn0yNiAIlG1gp22PZIeOQodlYlsgjgE8SDJwlwOEj6oj31Egv16e/9enpoS/ OP04GzBK9Nh++fE46TTbIAVQs2UHqrSI5qQ7mJJzw4D6m7WmSuvNEXQWowvv4+bWJxti UnvSWlmaGzQCxs5I2bS4DNiEM0t6w+Czrd28I1z6pEnylJPas1llbtYwZhYO0JFagMVw g4gQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PKU5uergA0Aa1mhqo6EMw5cD+1UW22BLT1dbrl2IsxA=; b=jQsXCgqVkoMrT0SeNeGGqfm2iiVGFv9oFoYH46KR4m2s4+e8RuxHhoN5EKjkj+YYw4 jWE3crEJ4nd8UDHhveXaBgEdCSWbJkL84On5dyqT7ANmM7AefuDEWDJrTuU/NY92oag5 sPTbIkH+w2L2ulusoahIs21/2JMMZ8HRKsZIAwvFU3rtxXsqys79AWnQz2PtflnlQ7tS XWYdgykPZlho9YJmDhvKPIx+trszq7+Xls4k0LrZ4XYvChkvhYguCQwbp/WKRWlZ99ef qd0YrJLnVuRjB3I+sh6dhpPCTVMsSSDPd+MsIXSaVWdyccGI8SzS8bkUO2UzBBwzd71j C6AA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lLvThvo4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s2si3634ejx.162.2020.07.14.14.30.35; Tue, 14 Jul 2020 14:30:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=lLvThvo4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728378AbgGNV3A (ORCPT + 99 others); Tue, 14 Jul 2020 17:29:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35488 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728013AbgGNV27 (ORCPT ); Tue, 14 Jul 2020 17:28:59 -0400 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0C79DC061755 for ; Tue, 14 Jul 2020 14:28:59 -0700 (PDT) Received: by mail-wr1-x441.google.com with SMTP id k6so276124wrn.3 for ; Tue, 14 Jul 2020 14:28:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PKU5uergA0Aa1mhqo6EMw5cD+1UW22BLT1dbrl2IsxA=; b=lLvThvo4B331bayf7/2UW/PMnmk32xtN+AvUwEC3DxxqKKvgNziNafJzo9DEoIK0QG QKzBqXuBmcpralubgX51+CUBI4c0b46M9Ab1xI2BIHwMtO/otjajXJRIIx+txB5bTezH B9ODKxO/tX+X0KC1G81RMh04/C8nJ1AFRV2l3DDQOXKPrdD87xWKVoO6E6a708A9Fm8J RiGwBvNR45fgSkPjgHAhjrwzGIBkuUmJRfdJgV4s1C1mnH7z5nTGkl4y2CboFC0VRsU7 lym13gI8bIQ4BX5ttI0t32u4r9GpBJl5jCo5Vb53DvR7Ib8lscUatlxLiBbQvQ63Yzdc doPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=PKU5uergA0Aa1mhqo6EMw5cD+1UW22BLT1dbrl2IsxA=; b=lS4B487y4mBmnGafF75eJAM9N3I/UxfaMOwzTgjPMDoFuF9w/cqeAd/U0qgevLYrxu zKU0mEOPJIN8PpDwIOIQMBHH6+c9jhUHL/HHw+QE+HjjeqpTmU63NTZ8jh66mDsdGe/B 5rJGMzgFDnlEOVqr5jvgD/EKQ+hGgYQbEpAd/1AhYNjkH3ElO6rcCjZjwIlxBeHBO7S0 +hrVz0f8FEIojoK1CoXTXtr6xse0PGn7G7UYorJjUTRv8Fb8QEiDfUt0OgtJ+MJnRC6z ij8em1+BfhdLD4HVaiSUJpmQ/CVTrpWtV/FLu+hfEkILgsOgLoZYiMwcqnseEx+y3rN8 KxUQ== X-Gm-Message-State: AOAM531OJAlV4N/hLLJS0KK1HHiIhZ9NRRc38skUXzkV8F45Hd17HYaL NAbuLKR+JGPp0v6zwl7sl3U= X-Received: by 2002:adf:e801:: with SMTP id o1mr8186529wrm.54.1594762137484; Tue, 14 Jul 2020 14:28:57 -0700 (PDT) Received: from localhost.localdomain ([80.71.140.73]) by smtp.gmail.com with ESMTPSA id s8sm345wru.38.2020.07.14.14.28.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2020 14:28:56 -0700 (PDT) From: Emil Renner Berthing To: linux-riscv@lists.infradead.org Cc: Emil Renner Berthing , Palmer Dabbelt , Paul Walmsley , Anshuman Khandual , linux-kernel@vger.kernel.org Subject: [PATCH] riscv: Select ARCH_HAS_DEBUG_VM_PGTABLE Date: Tue, 14 Jul 2020 23:26:11 +0200 Message-Id: <20200714212611.19692-1-kernel@esmil.dk> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This allows the pgtable tests to be built. Signed-off-by: Emil Renner Berthing --- The tests seem to succeed both in Qemu and on the HiFive Unleashed Both with and without the recent additions in https://lore.kernel.org/linux-riscv/1594610587-4172-1-git-send-email-anshuman.khandual@arm.com/ Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +- arch/riscv/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 c527d05c0459..c9a764c3c795 100644 --- a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt +++ b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt @@ -23,7 +23,7 @@ | openrisc: | TODO | | parisc: | TODO | | powerpc: | ok | - | riscv: | TODO | + | riscv: | ok | | s390: | ok | | sh: | TODO | | sparc: | TODO | diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 3230c1d48562..b4e674b1e857 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -15,6 +15,7 @@ config RISCV select ARCH_CLOCKSOURCE_INIT select ARCH_HAS_BINFMT_FLAT select ARCH_HAS_DEBUG_VIRTUAL if MMU + select ARCH_HAS_DEBUG_VM_PGTABLE select ARCH_HAS_DEBUG_WX select ARCH_HAS_GCOV_PROFILE_ALL select ARCH_HAS_GIGANTIC_PAGE -- 2.27.0