Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp1451053lqj; Tue, 4 Jun 2024 01:46:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWZD7w4VTMXU5J0atKwAFi5UM060J5cyWveujXQf6GoLv0813tsYSJMMdUZtKJ4cQ0bFZ/TSKaDmIv9FA4oqe8hWyNtAsTMXPO1qyMaxw== X-Google-Smtp-Source: AGHT+IHoM6a6iVVgE2IF7OlnkdufFLuOehhlncNGl8acJbh4bqqd98srQGj5ZnXu1j9RWHTWQ+m+ X-Received: by 2002:a17:90b:400f:b0:2c1:dc60:d933 with SMTP id 98e67ed59e1d1-2c2530c86d9mr3090485a91.19.1717490762431; Tue, 04 Jun 2024 01:46:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717490762; cv=pass; d=google.com; s=arc-20160816; b=bHBZ5/+hqaL5ROgLXtND1vLYkE/4QwRNxl48ZbDWDrLFUaAzWlEGAg+s4sbdQ7TmdZ v8KJ3dHZNZBEzJ22jfecT4N5gPGIAdsuctI4FF0whQzuog8GPAhXiMCX9PaYfFjsLJYF ttIRbUCvRBp6HsO2mOjXwP+z3D4YHNsBLOadyys8fEWnAf/GCNuvhxL5XEUr0QqkCCQ7 0ZAOCZOvM8BXIpe0F9AOZCS1b797k+tbGnApGKwckIwJ1Rw2cvXpRFPm9+AI4mmHz4hK SBuxFWfVPf2Bnh9hQsctVfRsrzYEFHrJWobRgK7nOHeVbv/v1YxMRpvfKqKbmuBYaS55 L4VQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from; bh=uuEOJAbuFrSR4gEfd4kzltg6b+V8x4aA6I5pmvQzo8E=; fh=FwC6GpJNxjM92OyHU4eSsKk1gHrOaBCC53UpAwhMkLQ=; b=S6MLPgDmJ4j+0MKcMPvPz0lWFo4y0mQ+HQaylY+jninCt0ECnUANfvUO80r49rdUCj akhtUFFQzc8g6VsB5ApDZVTghoWmT28GMtW6TicfgKB+3QrQftxZdlJAXDcalMA1KLC5 Pn9y5HRteEfom6hwanXyHkGOQhXTp2f7mf1R3zwd5ldANPMTDRkZ4CidhYE62n2PrSfB 4MVKcaLOrfpMid4N0rliuSVE0gaJ6MEgIQaEgyK5tmG+W5mPA4wNkxKPLZnaq0KFpgqo vge23qbjSW3u1pDI33tz1UZ8bqvw2IKvZ6aFR2l2dUs6VUIKbKZKPPQx/J4qREPO5Xkh jooQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-200262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3542e3b4bsi750943a12.172.2024.06.04.01.46.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 01:46:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-200262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=huawei.com dmarc=pass fromdomain=huawei.com); spf=pass (google.com: domain of linux-kernel+bounces-200262-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-200262-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 7FF1CB241CD for ; Tue, 4 Jun 2024 08:43:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8BCAB14290A; Tue, 4 Jun 2024 08:43:50 +0000 (UTC) Received: from szxga05-in.huawei.com (szxga05-in.huawei.com [45.249.212.191]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1A4A31419AD; Tue, 4 Jun 2024 08:43:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.249.212.191 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717490630; cv=none; b=X+ALtVi9i7AU2F4ADzRe0PSzvkYc1s+hnlHv3Wf14IxV626pQmUcwXY3DN977/04kCg4zAUlVItaFuvRpi4j/06fT1eVd+msGzwetFIr9uEk0xN+aQggK28Vaww9NIBxTvvKFA14JCDDC7wWjc+WgmZWdMkjlDttiobDVej5UO0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717490630; c=relaxed/simple; bh=NnCIbfJpPR643QMiYfLdkrq3WLMAz+pyh4+QEDsomYg=; h=From:To:CC:Subject:Date:Message-ID:MIME-Version:Content-Type; b=ZcwyxydVaZ/LURuIDyimAeIrrwwBjZ0ZHx++xpcU2cOVpiYukSuOlcCwJEd92a5h5jDXGrxjmWS9yNmQegIVl12tLV8ZKMsPB9s8I5GDHnwrcCKNswhjtoINUeXy/AH7JIBtuhGdDF0TZUn5Z1eRcX9NgLZ0/88PgSvbu8iLaAQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=45.249.212.191 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.19.88.234]) by szxga05-in.huawei.com (SkyGuard) with ESMTP id 4Vtkbm5zdhz1HD2J; Tue, 4 Jun 2024 16:41:56 +0800 (CST) Received: from kwepemi500008.china.huawei.com (unknown [7.221.188.139]) by mail.maildlp.com (Postfix) with ESMTPS id 05F9414037D; Tue, 4 Jun 2024 16:43:43 +0800 (CST) Received: from huawei.com (10.90.53.73) by kwepemi500008.china.huawei.com (7.221.188.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 4 Jun 2024 16:43:42 +0800 From: Jinjie Ruan To: , , , , , , , , , , , , CC: Subject: [PATCH] arm: Enable ARCH_HAS_DEBUG_VM_PGTABLE Date: Tue, 4 Jun 2024 16:45:12 +0800 Message-ID: <20240604084512.727269-1-ruanjinjie@huawei.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500008.china.huawei.com (7.221.188.139) arm32 kernel successfully build and run with CONFIG_DEBUG_VM_PGTABLE=y, enable arch support for it. This allows the pgtable tests to be built and allow to enable page table boot-up checks. Signed-off-by: Jinjie Ruan --- Documentation/features/debug/debug-vm-pgtable/arch-support.txt | 2 +- arch/arm/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 bbf029f095cb..afb7371fb518 100644 --- a/Documentation/features/debug/debug-vm-pgtable/arch-support.txt +++ b/Documentation/features/debug/debug-vm-pgtable/arch-support.txt @@ -8,7 +8,7 @@ ----------------------- | alpha: | TODO | | arc: | ok | - | arm: | TODO | + | arm: | ok | | arm64: | ok | | csky: | TODO | | hexagon: | TODO | diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index ee5115252aac..955d7d182cec 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -9,6 +9,7 @@ config ARM select ARCH_HAS_CPU_FINALIZE_INIT if MMU select ARCH_HAS_CURRENT_STACK_POINTER select ARCH_HAS_DEBUG_VIRTUAL if MMU + select ARCH_HAS_DEBUG_VM_PGTABLE select ARCH_HAS_DMA_ALLOC if MMU select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE select ARCH_HAS_ELF_RANDOMIZE -- 2.34.1