From nobody Fri Feb 13 01:41:50 2026 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: quoted-printable X-ClientProxiedBy: dggems703-chm.china.huawei.com (10.3.19.180) To kwepemi500008.china.huawei.com (7.221.188.139) Content-Type: text/plain; charset="utf-8" arm32 kernel successfully build and run with CONFIG_DEBUG_VM_PGTABLE=3Dy, 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 --=20 2.34.1