From nobody Wed Dec 17 06:13:24 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=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1746468664; cv=none; d=zohomail.com; s=zohoarc; b=Za/z/57Bw60wkYlH6aCdkd8Qlrhc1DcA+ko81HYFLXey3bQ2dv1BpqRK3hh5vWE9Us2fNMkfrup48N92N5eUVvu1aCj38M7g3V3IVKec1FAerxfDoHR3LKFiSYGEkjJ0Cgs7cTxyF656oGNTd5YVYOzUbSX5X+PNX12+NL7iMVk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1746468664; h=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=lCXevhzoSlFnjdkbSHTRKfTx5Fl+QjfRaAJtPlYKQIc=; b=VtP+7dw0n9GWICNu33fFCSquObA5A5zW/CL8L7JggklvhMzIqi6TToZsybfmWgGLf+/y6Z9bpc3S0d8mSASquRcfOUXLzXQUrm2fmrA+HIt9AQmIsEr7V6GGYBHxqlS+dMIBEk0TvJtH8CSmCbhfQ4Ur+q9MISvg3Ze/fRnsKGE= 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=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1746468664148997.0916862478683; Mon, 5 May 2025 11:11:04 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.976207.1363421 (Exim 4.92) (envelope-from ) id 1uC0H8-0006Ca-TN; Mon, 05 May 2025 18:10:46 +0000 Received: by outflank-mailman (output) from mailman id 976207.1363421; Mon, 05 May 2025 18:10:46 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1uC0H8-0006CT-QC; Mon, 05 May 2025 18:10:46 +0000 Received: by outflank-mailman (input) for mailman id 976207; Mon, 05 May 2025 18:10:45 +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 1uC0H7-0005wU-7w for xen-devel@lists.xenproject.org; Mon, 05 May 2025 18:10:45 +0000 Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [2a00:1450:4864:20::632]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 432ccb37-29dc-11f0-9eb4-5ba50f476ded; Mon, 05 May 2025 20:10:44 +0200 (CEST) Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-acbb85ce788so1241648766b.3 for ; Mon, 05 May 2025 11:10:44 -0700 (PDT) Received: from fedora.. (user-109-243-69-225.play-internet.pl. [109.243.69.225]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-ad189146fcbsm530372366b.34.2025.05.05.11.10.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 May 2025 11:10:43 -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: 432ccb37-29dc-11f0-9eb4-5ba50f476ded DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1746468643; x=1747073443; 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=lCXevhzoSlFnjdkbSHTRKfTx5Fl+QjfRaAJtPlYKQIc=; b=BiW9+FrgL5ejdZe/BexQjnMAn+bEJWAUjNPfnPqOUzoVxYH8JqMbofgP6pAvqQi2/e f2nX71IZ6HJbKnSoeeBzNALzlxnBKzz1zYttwS9kigM1PKkuAT0w/0bLoKTlQsw5pFsB Nn2L4aGZBOCSEf2AxSN4KPHG+f2YmYaL9NkTopaA8Rq8HfjES7Q1NEuPR6jgZgfq+XYE GMU1qBv8bYj0t1rIPESpTz2Y8v5cmm6BbjXAfGVuJ7NgS88ngqm1dDBVfNocPOv0E31h Z9UzyPSZ5XIAHY4L/EdW5SzpsEZzIfPGl02a06O6ruoQRIRx/FPWLkZ2KBz7y5Ya3FhX iqAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1746468643; x=1747073443; 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=lCXevhzoSlFnjdkbSHTRKfTx5Fl+QjfRaAJtPlYKQIc=; b=M8FL2KNf0Q9/ernpZ2j4GmsuI7aBSG2kYLYe5RkofCnXrBMD0CAdEkFC0scTAHefyZ 12Z47/uk1Fb2g3yfoCvKNz+1idvOpGFq+v7vYC/p4bpqVbCNYWlHKEYmjkZ3iW2/Z2T8 HyrfPbTAqEzGQzxJcJ5u6qZXJorO4cuYMi7blCq/P2mMbG9wlgnlvQac78M5jrC6DtTQ WBx1N8nv2D4ILDfxsZUsLOLASfPoRzTllYNDlt98EwIuXYz24BS6FLdoLoDjC6xYZDpd FCA64R8nTy9+CoXQgjPrZnEdZig39Vk0eLlyIOov4AP7loTh5T1QbGdX6rkzuWSZk+5u APbA== X-Gm-Message-State: AOJu0YyD1ZK28nRXyZJCL+c7kzbbjXf1Z1AtI0hORTsvFHsJeI9Vm6Nx Oney/Eyl2A/0Z0YcQqYea1LptH1VbNPOBbVpQXviwiRPG0ysg5PcWythIg== X-Gm-Gg: ASbGnctimwB7HEp2vNVwh7QxKbBB62f1pxEsCOdVA5r9YI11wM+kaQ6YGye4DaTQrX7 oGCUoXkRfg4wKjqOUYDEdFPkkdnVOzVd7wH0KbfmVpTNhMg2vvQMvYwWbUDiKzpGDSqP0e/P7pJ irkx5fV39SudAIcMJGMpiylBQ6jGqYEZjdxVuJ/sOdIIdOdxTlSFHL7B6wUS9uDE4WUuMeImhPg UfVp50Wx8pvo1cO4eOWa9fiuRhlfnUMurNcxZawvAT0GtP6xu2jx6PSOTr4Gwc1gJ0+ioR3c8wS D262da7I4M7SexTlg0RvcwZLiW9a0XcBzOylk1N1ba7A2sBKV5KrmtNkbbO2ddaGlfe/ZD0Uv2g lC9K4XICErg== X-Google-Smtp-Source: AGHT+IGYQHsuF93pm8ezQpHETFSM/heQ0yodhDd6lRDtiaumu5Y3ruCU0sgzkNcTCucg/KsFMIch9Q== X-Received: by 2002:a17:907:d48f:b0:aca:c687:6ca2 with SMTP id a640c23a62f3a-ad1d459609fmr1472366b.26.1746468643304; Mon, 05 May 2025 11:10:43 -0700 (PDT) From: Oleksii Kurochko To: xen-devel@lists.xenproject.org Cc: Oleksii Kurochko , Stefano Stabellini , Julien Grall , Bertrand Marquis , Michal Orzel , Volodymyr Babchuk Subject: [PATCH v4 4/8] arm/static-shmem.h: drop inclusion of asm/setup.h Date: Mon, 5 May 2025 20:10:34 +0200 Message-ID: <2b126e4fde36d2a93c4a1ff6cb7266710738340a.1746468003.git.oleksii.kurochko@gmail.com> X-Mailer: git-send-email 2.49.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1746468664372116600 Content-Type: text/plain; charset="utf-8" Nothing is dependent from asm/setup.h in asm/static-shmem.h so inclusion of asm/setup.h is droped. After this drop the following compilation error related to impicit declarat= ion of the following functions device_tree_get_reg and map_device_irqs_to_domai= n, device_tree_get_u32 occur during compilation of dom0less-build.c ( as they = are declared in asm/setup.h ). Add inclusion of in dt-overlay.c as it is using handle_device= () declared in . Signed-off-by: Oleksii Kurochko Reviewed-by: Stefano Stabellini ------ Changes in V4: - Return back dropping of asm/setup.h inclusion in asm/static-shmem.h as it was lost during one of reabses. --- Changes in V2-3: - Nothing changed. Only rebase. --- xen/arch/arm/dom0less-build.c | 1 + xen/arch/arm/include/asm/static-shmem.h | 1 - xen/common/device-tree/dt-overlay.c | 2 ++ 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/xen/arch/arm/dom0less-build.c b/xen/arch/arm/dom0less-build.c index 18d55d90c6..7e9cedb0c8 100644 --- a/xen/arch/arm/dom0less-build.c +++ b/xen/arch/arm/dom0less-build.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include =20 diff --git a/xen/arch/arm/include/asm/static-shmem.h b/xen/arch/arm/include= /asm/static-shmem.h index a4f853805a..4034cec32f 100644 --- a/xen/arch/arm/include/asm/static-shmem.h +++ b/xen/arch/arm/include/asm/static-shmem.h @@ -5,7 +5,6 @@ =20 #include #include -#include =20 #ifdef CONFIG_STATIC_SHM =20 diff --git a/xen/common/device-tree/dt-overlay.c b/xen/common/device-tree/d= t-overlay.c index 81107cb48d..d184186c01 100644 --- a/xen/common/device-tree/dt-overlay.c +++ b/xen/common/device-tree/dt-overlay.c @@ -13,6 +13,8 @@ #include #include =20 +#include + #define DT_OVERLAY_MAX_SIZE KB(500) =20 static LIST_HEAD(overlay_tracker); --=20 2.49.0