From nobody Sun Dec 22 11:49:28 2024 Delivered-To: importer@patchew.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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass(p=quarantine dis=none) header.from=amd.com ARC-Seal: i=2; a=rsa-sha256; t=1728557913; cv=pass; d=zohomail.com; s=zohoarc; b=oKoDeHt1YzLdMAihHJo+UM5VIY8et6O7N1zob2FvA97axZkWR3irTcdfi6MaGZF3MzAzhto3A4KCCVzAuwRXNQ2A1JmKTIgjmM5blqO2TovxmHSovO0HIDCL4iyB1ouOPq+rkSCNjOaLW9Ilp5CvAjk5PdyAokRylPt3wruaf10= ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1728557913; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=OrlbRhj83Wr7IchgVfjRcw3TzeB81zfOCVGOsiy7A1k=; b=cm+vgyBfRmGTBA7jaUdK5pIIuuvHdWsREgmSRA7gTHVlQAEj/T5pysgKYDtTRbgq02S+7yWjfqn8FOITRBvVYyHe06eIj+xC2Cl6hHpqNJGIbyMfzqxAodfl4ccJ8wF/slpRn5cz/FRP1cbARtaU3BA4B7apTAV761aK2wjcSas= ARC-Authentication-Results: i=2; 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; arc=pass (i=1 dmarc=pass fromdomain=amd.com); dmarc=pass header.from= (p=quarantine dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1728557913898721.2981344531785; Thu, 10 Oct 2024 03:58:33 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.816002.1230178 (Exim 4.92) (envelope-from ) id 1syqrr-0005gf-CQ; Thu, 10 Oct 2024 10:58:03 +0000 Received: by outflank-mailman (output) from mailman id 816002.1230178; Thu, 10 Oct 2024 10:58: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 1syqrr-0005gY-9R; Thu, 10 Oct 2024 10:58:03 +0000 Received: by outflank-mailman (input) for mailman id 816002; Thu, 10 Oct 2024 10:58:02 +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 1syqrq-0005gQ-FZ for xen-devel@lists.xenproject.org; Thu, 10 Oct 2024 10:58:02 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on20612.outbound.protection.outlook.com [2a01:111:f403:2412::612]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 82f6a604-86f6-11ef-a0bd-8be0dac302b0; Thu, 10 Oct 2024 12:58:00 +0200 (CEST) Received: from BN0PR03CA0050.namprd03.prod.outlook.com (2603:10b6:408:e7::25) by BL3PR12MB6473.namprd12.prod.outlook.com (2603:10b6:208:3b9::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18; Thu, 10 Oct 2024 10:57:53 +0000 Received: from BL6PEPF00022573.namprd02.prod.outlook.com (2603:10b6:408:e7:cafe::c2) by BN0PR03CA0050.outlook.office365.com (2603:10b6:408:e7::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.18 via Frontend Transport; Thu, 10 Oct 2024 10:57:53 +0000 Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF00022573.mail.protection.outlook.com (10.167.249.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.8048.13 via Frontend Transport; Thu, 10 Oct 2024 10:57:52 +0000 Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Thu, 10 Oct 2024 05:57:52 -0500 Received: from XIR-MICHALO-L1.xilinx.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.39 via Frontend Transport; Thu, 10 Oct 2024 05:57:50 -0500 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: 82f6a604-86f6-11ef-a0bd-8be0dac302b0 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=wjtiPnQLp7/3gMGlfhrbEAiax5QfdPAhe8Gpa0bwtgMMviJIAfkaIwSIw3zaf2tLqWEHSuud5YQVTLxDP4UBRlrSFOkiiFNsmYloF04r0XCzryoRLkE/UD1lWp5iY/HElyrhqxtZOTk6K5oIR4Q4REOzOaoEYLJPE5H9RchOYgxzjrguBCh0ZOcJtqiDLcRAX0mBxR9Pfb3gYrEoA4rE5DF2xQiyGB8O2hWa/D6VO9+TGL5c9pBOaPSii/2+/i07FPMnb85OevruqkQH6bPGZRHo7a7USGOzxwRz5syJJ+erkl90WYugtciX78dgUDPEQufj11t4k/myTvOaoCol9A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=OrlbRhj83Wr7IchgVfjRcw3TzeB81zfOCVGOsiy7A1k=; b=sb8dV0RlvtntiyJssdktFNIVW8o0XJatHuxArfYxHEcTlDJknC5hOVVwKCizufVfJRwTLuCkk3+xdcxlbk/KGvJkDMMOkPvhv62iVaLKCHP2VMhLI1+YIiIB2WfhkWE8vAgn8kShscD2AxNDtwge659Av+QhAMDdm/rs/CAwJEA42v7sWGvJVF9AfU4uAUn7MJn/iy5QUVygM/ADnp/lo2nVFK7YBcF673pV3o14njzyx/lWcy1H8baDQfS3BrNRjIYs6s5y7xtHeNsG6LPMbvsfPUVc2EKsp0Rekl19gTN0lTJtn9t5Ivi9XhjWDI0gfDxX3YsQxTojlOIi+qMtfw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OrlbRhj83Wr7IchgVfjRcw3TzeB81zfOCVGOsiy7A1k=; b=R9xYdFuq3lwws9fOt7eDLe2raeoJvt/oYsyuhsApsfM8UrjouPPThCgB+qu796iQPSNd9KxOw5JD4igVDyrRcUMn2QMQilhVXzpLovDlO0fAVdO/kbQ8jddXlkAlEYzNVhPFoukBNRjaDN/gbW1856D1ytc3xf47pZpnSM2KmIc= X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; 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; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C From: Michal Orzel To: CC: Michal Orzel , Andrew Cooper , Jan Beulich , Julien Grall , Stefano Stabellini , "Bertrand Marquis" Subject: [PATCH] device-tree: Move dt-overlay.c to common/device-tree/ Date: Thu, 10 Oct 2024 12:57:46 +0200 Message-ID: <20241010105746.140921-1-michal.orzel@amd.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: None (SATLEXMB04.amd.com: michal.orzel@amd.com does not designate permitted sender hosts) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF00022573:EE_|BL3PR12MB6473:EE_ X-MS-Office365-Filtering-Correlation-Id: 266a9484-e698-4951-8d47-08dce91a63b0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|82310400026|36860700013|376014|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?rpzS59wogGkTFhBLrLJh7iObfWEIOiS6oSq4AUNQKCyPog6KR1Sc/ZCM05T0?= =?us-ascii?Q?pbkBm3MftYJCledPIHndG+GoTz8PRv4ruhMTBMtKDFZntEw3b/RjUY//HzyP?= =?us-ascii?Q?IWuLXMgW3+Y9a0Exnx/hrcG/lt1rFi2DqWzQwK3QY3jS3GVgEbLE3x1JBfID?= =?us-ascii?Q?QwjerTqO+KrKR2/iZS7pOOibT20Wn2H9djCk8dAkc+5OKJczQAJsTDOsJbvR?= =?us-ascii?Q?yTd3M7YumfJgEfvtWeKq2ykbnM/DOhv2dk1q6S5eM07II7w7qkC0iOz+bvAr?= =?us-ascii?Q?Oov7a8M3mSroo0wHWZowc2iv09EMkPBcdHJy9/xQCs/xR5ooQlwp2LvstKyi?= =?us-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auLoP+6Popb?= =?us-ascii?Q?sEVCvTPgZXiN+vIRGLP7wgRZvumI5girQ2r4XMfFUuKR61Wme5LfZbGNkxhL?= =?us-ascii?Q?wnB0iV29R1Rr1YGcHJHMuAFCRcRDVMXsv39hcetO9Jvl0/pQLWwAbz/p73Kk?= =?us-ascii?Q?khxAp6jCgiCye7UDwTcQvKqGfYnK?= X-Forefront-Antispam-Report: CIP:165.204.84.17;CTRY:US;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:SATLEXMB04.amd.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230040)(82310400026)(36860700013)(376014)(1800799024);DIR:OUT;SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Oct 2024 10:57:52.9141 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 266a9484-e698-4951-8d47-08dce91a63b0 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF00022573.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL3PR12MB6473 X-ZohoMail-DKIM: pass (identity @amd.com) X-ZM-MESSAGEID: 1728557928091116600 Content-Type: text/plain; charset="utf-8" The code is DT specific and as such should be placed under common directory for DT related files. Update MAINTAINERS file accordingly and drop the line with a path from a top-level comment in dt-overlay.c. It serves no purpose and requires being updated on every code movement. Signed-off-by: Michal Orzel Reviewed-by: Stefano Stabellini --- This patch is based on the already acked series (waiting to be committed): https://lore.kernel.org/xen-devel/20241004122220.234817-1-michal.orzel@amd.= com/T/ --- MAINTAINERS | 1 - xen/common/Makefile | 1 - xen/common/device-tree/Makefile | 1 + xen/common/{ =3D> device-tree}/dt-overlay.c | 2 -- 4 files changed, 1 insertion(+), 4 deletions(-) rename xen/common/{ =3D> device-tree}/dt-overlay.c (99%) diff --git a/MAINTAINERS b/MAINTAINERS index f68ddd7f84a5..3bba2c8c31ad 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -292,7 +292,6 @@ M: Michal Orzel S: Supported F: xen/common/libfdt/ F: xen/common/device-tree/ -F: xen/common/dt-overlay.c F: xen/include/xen/libfdt/ F: xen/include/xen/bootfdt.h F: xen/include/xen/device_tree.h diff --git a/xen/common/Makefile b/xen/common/Makefile index f90bb00d23e5..8dec11544e35 100644 --- a/xen/common/Makefile +++ b/xen/common/Makefile @@ -9,7 +9,6 @@ obj-$(CONFIG_DEBUG_TRACE) +=3D debugtrace.o obj-$(CONFIG_HAS_DEVICE_TREE) +=3D device-tree/ obj-$(CONFIG_IOREQ_SERVER) +=3D dm.o obj-y +=3D domain.o -obj-$(CONFIG_OVERLAY_DTB) +=3D dt-overlay.o obj-y +=3D event_2l.o obj-y +=3D event_channel.o obj-y +=3D event_fifo.o diff --git a/xen/common/device-tree/Makefile b/xen/common/device-tree/Makef= ile index 990abd571acf..58052d074e62 100644 --- a/xen/common/device-tree/Makefile +++ b/xen/common/device-tree/Makefile @@ -1,3 +1,4 @@ obj-y +=3D bootfdt.init.o obj-y +=3D bootinfo.init.o obj-y +=3D device-tree.o +obj-$(CONFIG_OVERLAY_DTB) +=3D dt-overlay.o diff --git a/xen/common/dt-overlay.c b/xen/common/device-tree/dt-overlay.c similarity index 99% rename from xen/common/dt-overlay.c rename to xen/common/device-tree/dt-overlay.c index 5ce00514ef14..97fb99eaaaf7 100644 --- a/xen/common/dt-overlay.c +++ b/xen/common/device-tree/dt-overlay.c @@ -1,7 +1,5 @@ /* SPDX-License-Identifier: GPL-2.0-only */ /* - * xen/common/dt-overlay.c - * * Device tree overlay support in Xen. * * Copyright (C) 2023, Advanced Micro Devices, Inc. All Rights Reserved. --=20 2.25.1