From nobody Fri Oct 31 23:17:36 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=reject dis=none) header.from=citrix.com ARC-Seal: i=1; a=rsa-sha256; t=1744805011; cv=none; d=zohomail.com; s=zohoarc; b=bIzoxpZ3P2xpdLocCBdd/UxevsheeURdSiU1kBOIcswI6O7r6H4+or4aHhMW94j4LaDZcZw3i/KoVktgnr1VXPiD2xClo4FsF0NqH3HVF/E6Mlmmq87DWJA1yq+DsEqEAOxHIgroOMNHbjvVtHCtjvqevaDLzijvSvfssvqo/vA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1744805011; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=GtrQ08vcHfYRasMYCjK/xM3GJiF3ZHsvoc0qya/h/70=; b=CARrHG/l774e4G31LETrS9NFaJ8JbRRff6WN6+iAUFGKTdYkjSP/3CDGh7jhO62opeJk2T4TMUsiJw8owfkTVcZqk7rSesSjEz2SijZJRmhaWYLAe6bsvGQIzlVR2Y9lm27KnbCyHjpHUqy9XTyU0CkCHgqn4QF9Eu7ZhVW5Jak= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1744805011772326.74963875482024; Wed, 16 Apr 2025 05:03:31 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.955902.1349466 (Exim 4.92) (envelope-from ) id 1u51U5-00089I-PB; Wed, 16 Apr 2025 12:03:17 +0000 Received: by outflank-mailman (output) from mailman id 955902.1349466; Wed, 16 Apr 2025 12:03:17 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1u51U5-00088J-Kv; Wed, 16 Apr 2025 12:03:17 +0000 Received: by outflank-mailman (input) for mailman id 955902; Wed, 16 Apr 2025 12:03:16 +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 1u51QD-0006At-Pz for xen-devel@lists.xenproject.org; Wed, 16 Apr 2025 11:59:17 +0000 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [2a00:1450:4864:20::434]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 39220158-1aba-11f0-9eaf-5ba50f476ded; Wed, 16 Apr 2025 13:59:17 +0200 (CEST) Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-39c1efc457bso4465626f8f.2 for ; Wed, 16 Apr 2025 04:59:17 -0700 (PDT) Received: from localhost.localdomain (host-92-26-98-202.as13285.net. [92.26.98.202]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4405b5a9846sm18761905e9.35.2025.04.16.04.59.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Apr 2025 04:59:16 -0700 (PDT) X-Outflank-Mailman: Message body and most headers restored to incoming version 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: 39220158-1aba-11f0-9eaf-5ba50f476ded DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=citrix.com; s=google; t=1744804757; x=1745409557; darn=lists.xenproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GtrQ08vcHfYRasMYCjK/xM3GJiF3ZHsvoc0qya/h/70=; b=VsVXyqb3Ps2KtJsWO5M86WiQXiTXkuoRs1fnfIH3fuf87KobcLFvr6T5Xw4wqZmvp8 1O2oAAXfOOGtZa4HbsI40O4RHDdVQCI709oa3ovimO43v+IHd470XHnV+pRvmiIv/FNY KGmBDblbNYXCzwUyh9rzxPn66eN47WBFia3GM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744804757; x=1745409557; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GtrQ08vcHfYRasMYCjK/xM3GJiF3ZHsvoc0qya/h/70=; b=eSU2qwBpCPiS1yyk/ym82sZ71HRdPIrvRk6qcGUqu6nQj57E1IXzTJXe0Hc/er+DMJ GLJ1DWawuROKUZqqn8wUy5MVrl/xHyresjYAzRBVJhD2yREq/7Qt6iHFHD7CnVsMYSLi 20PZ7vi2kxf35Zg7L5Wjbgu1M19Grd1OrL+uc9AaxWCSh3xsd4jRPuRC5trPFKlUWYL8 RXNjQa3T9BN2+1brF3Z0RzQd1Od+aQkL9uM4KUHgamvHEfYZemDpfQTxz5Jf+SVK5731 59ctH2WYkgkIS3PtL9srkRYKElXsu6xbFAQX3TLmVEjSwkEZFPgPJJlViVLYLloesfo7 jazg== X-Gm-Message-State: AOJu0YzWmulo4lW7gOJcfmU/AeROlJyYsp7CW+n1lnPQ0EtgNHRiqjmK svUpevDEyFGEdiV0bxFvu/TlexQRDGRzzAXZsbdor8d6VMJPr+RjJfphuIlAyD1yQczBj09gacI PRQ4= X-Gm-Gg: ASbGncsYCF5XL6u9EE5PCtflQgk2tVsGnwxBINYyVYB7r46XVhYx4ETktpVMS1XW1Sg LgT3c5JVYLRwN8B+rnexDLSWwK1YObi9GpFva2NRAzGIXPwkBRhwHo0mEXOxXrcJHCNNG5e2m8U eTfewfkxHTRU70jrRLv0yHGeviNPtE2NaShrB9bSYbX8h+dp9HCQfXnbQNpkCedpi3gwwR6iRVj 0q5cLdHFCbmKUaEcSD05sLcvSrH9nMibs9q0WeHuKgSQw7hOjvxriNAkeAbR+2vDlQYfxk3s3za LT/HXU/cnzjIdtnHzT/ZrGBV22N8NLrPeKcxwrAjpYPeLwBmor5X2XHI8FB0+VXrRJCuTSx4CzR 4fDQigbbZBu0Cwg== X-Google-Smtp-Source: AGHT+IGAljI6COUgiVd+L0rn0qcHYo5Qkthxd3Ys4ZnL52R1Jl/DYNHycJiAt96f/f3f4Ff1pETQZg== X-Received: by 2002:a5d:6daf:0:b0:39c:13fa:80b with SMTP id ffacd0b85a97d-39ee5b130acmr1390455f8f.12.1744804756651; Wed, 16 Apr 2025 04:59:16 -0700 (PDT) From: Andrew Cooper To: Xen-devel Cc: Andrew Cooper , Oleksii Kurochko , Anthony PERARD , Michal Orzel , Jan Beulich , Julien Grall , =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= , Stefano Stabellini , Volodymyr Babchuk , Bertrand Marquis , Shawn Anastasio , "Daniel P . Smith" , Lin Liu Subject: [PATCH v6 14/15] riscv: Remove asm/byteorder.h Date: Wed, 16 Apr 2025 12:58:59 +0100 Message-Id: <20250416115900.2491661-15-andrew.cooper3@citrix.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20250416115900.2491661-1-andrew.cooper3@citrix.com> References: <20250416115900.2491661-1-andrew.cooper3@citrix.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @citrix.com) X-ZM-MESSAGEID: 1744805014267019100 With the common code moved fully onto xen/byteorder.h, clean up the dregs. The use of byteorder.h in io.h appears to have been copy&paste from ARM. I= t's not needed, but macros and types are. No functional change. Signed-off-by: Andrew Cooper Reviewed-by: Oleksii Kurochko --- CC: Anthony PERARD CC: Michal Orzel CC: Jan Beulich CC: Julien Grall CC: Roger Pau Monn=C3=A9 CC: Stefano Stabellini CC: Volodymyr Babchuk CC: Bertrand Marquis CC: Shawn Anastasio CC: Oleksii Kurochko CC: Daniel P. Smith CC: Lin Liu v5: * New --- xen/arch/riscv/include/asm/byteorder.h | 14 -------------- xen/arch/riscv/include/asm/io.h | 3 ++- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 xen/arch/riscv/include/asm/byteorder.h diff --git a/xen/arch/riscv/include/asm/byteorder.h b/xen/arch/riscv/includ= e/asm/byteorder.h deleted file mode 100644 index a32bca02df38..000000000000 --- a/xen/arch/riscv/include/asm/byteorder.h +++ /dev/null @@ -1,14 +0,0 @@ -#ifndef ASM__RISCV__BYTEORDER_H -#define ASM__RISCV__BYTEORDER_H - -#include - -#endif /* ASM__RISCV__BYTEORDER_H */ -/* - * Local variables: - * mode: C - * c-file-style: "BSD" - * c-basic-offset: 4 - * indent-tabs-mode: nil - * End: - */ diff --git a/xen/arch/riscv/include/asm/io.h b/xen/arch/riscv/include/asm/i= o.h index 55f329dde321..8bab4ffa0390 100644 --- a/xen/arch/riscv/include/asm/io.h +++ b/xen/arch/riscv/include/asm/io.h @@ -38,7 +38,8 @@ #ifndef ASM__RISCV__IO_H #define ASM__RISCV__IO_H =20 -#include +#include +#include =20 /* * The RISC-V ISA doesn't yet specify how to query or modify PMAs, so we c= an't --=20 2.39.5