From patchwork Fri Feb 21 20:10:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Anastasio X-Patchwork-Id: 13986235 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 D862EC021B5 for ; Fri, 21 Feb 2025 20:11:14 +0000 (UTC) Received: from list by lists.xenproject.org with outflank-mailman.894596.1303319 (Exim 4.92) (envelope-from ) id 1tlZMV-0007Ab-B6; Fri, 21 Feb 2025 20:11:03 +0000 X-Outflank-Mailman: Message body and most headers restored to incoming version Received: by outflank-mailman (output) from mailman id 894596.1303319; Fri, 21 Feb 2025 20:11:03 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tlZMV-0007AN-7K; Fri, 21 Feb 2025 20:11:03 +0000 Received: by outflank-mailman (input) for mailman id 894596; Fri, 21 Feb 2025 20:11:01 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1tlZMT-0006u0-Nv for xen-devel@lists.xenproject.org; Fri, 21 Feb 2025 20:11:01 +0000 Received: from raptorengineering.com (mail.raptorengineering.com [23.155.224.40]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id f7cb8cbc-f08f-11ef-9aa9-95dc52dad729; Fri, 21 Feb 2025 21:11:00 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id DF0D78288114; Fri, 21 Feb 2025 14:10:59 -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 bYNROfKU1iH6; Fri, 21 Feb 2025 14:10:58 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by mail.rptsys.com (Postfix) with ESMTP id 645408287311; Fri, 21 Feb 2025 14:10:58 -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 UOxbH5jE_1pP; Fri, 21 Feb 2025 14:10:58 -0600 (CST) Received: from raptor-ewks-026.2lan (5.edge.rptsys.com [23.155.224.38]) by mail.rptsys.com (Postfix) with ESMTPSA id 11A1982855D7; Fri, 21 Feb 2025 14:10:55 -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: f7cb8cbc-f08f-11ef-9aa9-95dc52dad729 DKIM-Filter: OpenDKIM Filter v2.10.3 mail.rptsys.com 645408287311 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raptorengineering.com; s=B8E824E6-0BE2-11E6-931D-288C65937AAD; t=1740168658; bh=PVT5S3JxIplZ0/EkEwv5c8TjUHCTHa8lJ2rCk6uf0zQ=; h=From:To:Date:Message-Id:MIME-Version; b=NNexX9rnjIM/IyhjZ4Ob5Ez51yw/D6DM5KYiPpenMuIJp5/LWS1H2gT2edQDCAbUF gSEa9+n0+SHKLY8fPocg4BMfup2NtfjN8fZC1MJfc7wWLF4U/tH4vMn2OxMKorr7xn 0pY08wa5Kocy5t3m8qGKCIDBEsfAHLc6exhoGVec= 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 v3 1/2] asm-generic: Introduce mm-types.h header Date: Fri, 21 Feb 2025 14:10:52 -0600 Message-Id: <1d0826e88e95357979d74fb3702b35fdb0b75151.1739488487.git.sanastasio@raptorengineering.com> 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. Signed-off-by: Shawn Anastasio Suggested-by: Jan Beulich --- Changes in v3: - Introduced this file per Jan's suggestion 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__ */