From patchwork Thu Mar 6 18:25:58 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Anastasio X-Patchwork-Id: 14005157 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 51622C282D1 for ; Thu, 6 Mar 2025 18:26:29 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.903945.1311874 (Exim 4.92) (envelope-from ) id 1tqFvD-0005H5-QT; Thu, 06 Mar 2025 18:26:15 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 903945.1311874; Thu, 06 Mar 2025 18:26:15 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tqFvD-0005Gy-MO; Thu, 06 Mar 2025 18:26:15 +0000 Received: by outflank-mailman (input) for mailman id 903945; Thu, 06 Mar 2025 18:26:13 +0000 Received: from se1-gles-flk1-in.inumbo.com ([94.247.172.50] helo=se1-gles-flk1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tqFvB-000530-Nr for xen-devel@lists.xenproject.org; Thu, 06 Mar 2025 18:26:13 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-flk1.inumbo.com (Halon) with ESMTPS id 787b9019-fab8-11ef-9898-31a8f345e629; Thu, 06 Mar 2025 19:26:08 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id C0FB7828855E; Thu, 6 Mar 2025 12:26:06 -0600 (CST) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id YQ1WodaQ9498; Thu, 6 Mar 2025 12:26:03 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id B26438287F65; Thu, 6 Mar 2025 12:26:03 -0600 (CST) Received: from mail.rptsys.com ([127.0.0.1]) by localhost (vali.starlink.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id fpwSD352x5sh; Thu, 6 Mar 2025 12:26:02 -0600 (CST) Received: from raptor-ewks-026.2lan (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id E69438287EC8; Thu, 6 Mar 2025 12:26:01 -0600 (CST) X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 787b9019-fab8-11ef-9898-31a8f345e629 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com B26438287F65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1741285563; bh=C3efZ9zdciiAYbBh5SKSwZQiHsvax9h+QfR6X1lykOQ=; h=From:To:Date:Message-Id:MIME-Version; b=qSkmeU5DMmnDJ+rjZ5/CoUeMMMiR3mUObhNxFeQwHBReChfhk7hrlazJuqoCFsGFa ZlUt0UVQRsVSIXFCMjO6+bhSEo8i1nPPozjUD2WpDu3GMrfu4vsY/o1Kcf6JJ4BGbz OXmBLqJfkiv8alGRklm1yw/AKVpj1Vgq5ZoPQsSM= X-Virus-Scanned: amavisd-new at rptsys.com From: Shawn Anastasio To: xen-devel@lists.xenproject.org Cc: tpearson@raptorengineering.com, Shawn Anastasio , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk , Andrew Cooper , Anthony PERARD , Jan Beulich , =?utf-8?q?Roger_Pau_Monn=C3=A9?= , Alistair Francis , Bob Eshleman , Connor Davis , Oleksii Kurochko Subject: [PATCH v4 1/2] asm-generic: Introduce mm-types.h header Date: Thu, 6 Mar 2025 12:25:58 -0600 Message-Id: X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Introduce a new header, mm-types.h, which will be used to define architecture-specific types pertinent to memory management. This will be used by a future commit to enable >32 bit PTE flags. Suggested-by: Jan Beulich Signed-off-by: Shawn Anastasio Acked-by: Jan Beulich Reviewed-By: Oleksii Kurochko --- Changes in v4: - Add Jan's Acked-by xen/arch/arm/include/asm/Makefile | 1 + xen/arch/ppc/include/asm/Makefile | 1 + xen/arch/riscv/include/asm/Makefile | 1 + xen/arch/x86/include/asm/Makefile | 1 + xen/include/asm-generic/mm-types.h | 5 +++++ 5 files changed, 9 insertions(+) create mode 100644 xen/include/asm-generic/mm-types.h -- 2.30.2 diff --git a/xen/arch/arm/include/asm/Makefile b/xen/arch/arm/include/asm/Makefile index 4a4036c951..f8249b2439 100644 --- a/xen/arch/arm/include/asm/Makefile +++ b/xen/arch/arm/include/asm/Makefile @@ -3,6 +3,7 @@ generic-y += altp2m.h generic-y += device.h generic-y += hardirq.h generic-y += iocap.h +generic-y += mm-types.h generic-y += paging.h generic-y += percpu.h generic-y += random.h diff --git a/xen/arch/ppc/include/asm/Makefile b/xen/arch/ppc/include/asm/Makefile index c989a7f89b..c0dbc68ac6 100644 --- a/xen/arch/ppc/include/asm/Makefile +++ b/xen/arch/ppc/include/asm/Makefile @@ -5,6 +5,7 @@ generic-y += div64.h generic-y += hardirq.h generic-y += hypercall.h generic-y += iocap.h +generic-y += mm-types.h generic-y += paging.h generic-y += percpu.h generic-y += perfc_defn.h diff --git a/xen/arch/riscv/include/asm/Makefile b/xen/arch/riscv/include/asm/Makefile index c989a7f89b..c0dbc68ac6 100644 --- a/xen/arch/riscv/include/asm/Makefile +++ b/xen/arch/riscv/include/asm/Makefile @@ -5,6 +5,7 @@ generic-y += div64.h generic-y += hardirq.h generic-y += hypercall.h generic-y += iocap.h +generic-y += mm-types.h generic-y += paging.h generic-y += percpu.h generic-y += perfc_defn.h diff --git a/xen/arch/x86/include/asm/Makefile b/xen/arch/x86/include/asm/Makefile index 2c27787d31..26650707e6 100644 --- a/xen/arch/x86/include/asm/Makefile +++ b/xen/arch/x86/include/asm/Makefile @@ -1,2 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only generic-y += div64.h +generic-y += mm-types.h diff --git a/xen/include/asm-generic/mm-types.h b/xen/include/asm-generic/mm-types.h new file mode 100644 index 0000000000..26490e48db --- /dev/null +++ b/xen/include/asm-generic/mm-types.h @@ -0,0 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ +#ifndef __ASM_GENERIC_MM_TYPES_H__ +#define __ASM_GENERIC_MM_TYPES_H__ + +#endif /* __ASM_GENERIC_MM_TYPES_H__ */