From patchwork Thu Feb 15 10:50:12 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 772888 Delivered-To: patch@linaro.org Received: by 2002:adf:9dc2:0:b0:33b:4db1:f5b3 with SMTP id q2csp761175wre; Thu, 15 Feb 2024 02:51:02 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXA8Ys5b3Zlh+PZvytFUWuCB7mc9oRxF4bYRe2wKL0TwC91auUhbN3928KCsi/tIWjWBlUP9SpngiIRs/KcN9zX X-Google-Smtp-Source: AGHT+IFBVWOE1N15mdgS17haBG2kTHjGkQ7IGWt9Mrnqpx3nOyZhRv7Ra4K8PMn7pi+ggyPxaQvT X-Received: by 2002:a0c:d987:0:b0:68c:a9ed:14e2 with SMTP id y7-20020a0cd987000000b0068ca9ed14e2mr1255697qvj.55.1707994262193; Thu, 15 Feb 2024 02:51:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1707994262; cv=none; d=google.com; s=arc-20160816; b=pRUMyptMYsp7S1I+7PI1AcnUiDeg+mGe6otbPvRR5Cf6QjIy2z6itfo07SVnEUJyKW Hh56SVhK5obF5N9aKAgFNE5N5ucV/wd+0o+bJXaAERBK7gz0gPQwDqVqnabBIrL3kNE3 /cj4/8K6YoaD5gZHLshAbCm9gcH0dppUFUP+hQQncnUD8P0vdhDqVj9vmGzN9nt0h2Ur DnZ/hYMxfKJganhAl3tjKf26NMkWomnbwH1a/8AccSHK2okGKWudhDFl3kp4j5yOED7k iLrqkUMncYxEhBHPUg5KJxhgE0Q8l+aItfF91Py9DkfZAF7vYFbkIS3yS4WHiLBVjdM1 KlEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature; bh=BAH3pRl8NdjwsLsFeBrWu9AhqGGOoFB4lYhbe8BInAI=; fh=A+lY13+jFVcdA8ecQ4hcAHs/x8ylQFF0oU/oe2DVPZ8=; b=sAB152k+rDviNIY8o4pn7eJdwKUK9RXQ5Tt3zv7d98Mpx3ty62Djr891oEwmCbVSY3 F+uZR+Y2uIcPEfF5OUio0gOUNtt6F1Iuis/458zr3hN2wms5ED6PwX0nBNE84rAoxrfe OczxLv0/T51VylTcw19BluMFudY3N/NSTapYppY/uPEAKMU0nQAKLhHgxtaC12e8nrjD vnRsMylf9nDVBLErlLtZjwjzDOXq9Z7NNclsmYD6FjdUtWcgfG7NpfGfvBxCdTupCGXZ 1DUycbtOSNhPT4+O0qigSuDn945t27Kl034glhPe9ZbZu8bSBMg43xUPKahcXhtNtj1d UvPg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YLCjYjUK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id c3-20020a0ce7c3000000b0068f1c7e0e26si522458qvo.47.2024.02.15.02.51.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2024 02:51:02 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YLCjYjUK; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raZK1-0001qb-DZ; Thu, 15 Feb 2024 05:50:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raZJy-0001q9-NN for qemu-devel@nongnu.org; Thu, 15 Feb 2024 05:50:26 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1raZJu-0007Sg-S3 for qemu-devel@nongnu.org; Thu, 15 Feb 2024 05:50:25 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a3c2efff32aso82370266b.0 for ; Thu, 15 Feb 2024 02:50:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1707994221; x=1708599021; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=BAH3pRl8NdjwsLsFeBrWu9AhqGGOoFB4lYhbe8BInAI=; b=YLCjYjUKlJkqwvVM0nI7yOpBSci0AIlA9tyZRpk9b3zEg09hnWva5lsWGzcOyP6S75 wMFj9ZRsL844YzvHEPOXR0k3pgZ4SKCfFr1JAotG9rPHpKmVXk4d6XUsbsPhTnjF7TG7 I7mxFfUYYCkQFXSZ6HqjsbTuuRVeyeSqzhIQExwTfyXQ0f3TWwJroQ1zaHX9x78P/Y1o GRLshUXkDak6Lo/gb/TFfVWuOEEzTUSFVUpSmgigkXiPqGjEeygDTj6d7mTwey7w/TPJ lSRH+YbI2Q1pqhn6swdRW0aOOltTZz22MQxOFupS2mX+qq+KmXq5I9Vnbh77t3U4TNWq nR+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707994221; x=1708599021; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=BAH3pRl8NdjwsLsFeBrWu9AhqGGOoFB4lYhbe8BInAI=; b=uJsKewwiwwx4pQMtK2GmzC7syD78pf/vVvgtivSOSbM6pZOo3p0D70Xw27nP5R06S6 Gh1lrxBtTB81fYD4iF5pLAZ+TlODwjX43EThoOTH06xvUuCSCJtOKZloT+6HgcEuQUJ4 O0+h9/aXuHNbZti8qWQEIi1SvYq4oRuf5L9dM/mgT6srgd1TW8pSFnGIdR1JJd/fXuEO 8paUnBUql2Q6fFoyIKdu7NDzdc9NUhu7w4DHU2MmTcRA4OCfDXBeQ7cDZULTsPfMcZwo 15LDN4gCqoEWUKkV09ISLdEzuGU2IFrHdQwXSubTc62aK3SMVkB7Px6yXJsWw9maMZ7m EJZQ== X-Gm-Message-State: AOJu0Yy3QOq3zOrykZia6AZY3exEvoJ7Z7XNiqWe1EVcvu88Qcqgr7QG tFJrrgKL1sBVlALDo1hbKXdkod5HZeXQbvJUbk7qC5BYR+hsIMQ+ZclDyCJrEvtezOGfPSMiHJt HdD8= X-Received: by 2002:a17:906:2a97:b0:a3d:83e2:bc9 with SMTP id l23-20020a1709062a9700b00a3d83e20bc9mr1146673eje.50.1707994220715; Thu, 15 Feb 2024 02:50:20 -0800 (PST) Received: from localhost.localdomain ([92.88.170.215]) by smtp.gmail.com with ESMTPSA id fj10-20020a1709069c8a00b00a3d7cf59a55sm421280ejc.149.2024.02.15.02.50.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 15 Feb 2024 02:50:20 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , qemu-ppc@nongnu.org, =?utf-8?q?C?= =?utf-8?q?=C3=A9dric_Le_Goater?= , Nicholas Piggin , BALATON Zoltan , Daniel Henrique Barboza , Thomas Huth , =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v3 0/4] hw/pci-host: Build ppc4xx_pci.c/ppc440_pcix.c once Date: Thu, 15 Feb 2024 11:50:12 +0100 Message-ID: <20240215105017.57748-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=philmd@linaro.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org v3: - PPC440_PCI -> PPC440_PCIX (Zoltan) - MIT -> GPLv2 (Zoltan) v2: - Squashed 2 patches (Zoltan) v1: - Move ppc4xx_pci.c/ppc440_pcix.c from hw/ppc/ to hw/pci-host/ - Build them once for all targets If it is convenient for PPC maintainers I can queue this via my misc-hw tree. Thanks, Phil. Philippe Mathieu-Daudé (4): hw/ppc/ppc4xx_pci: Remove unused "hw/ppc/ppc.h" header hw/ppc/ppc4xx_pci: Extract PCI host definitions to hw/pci-host/ppc4xx.h hw/ppc/ppc4xx_pci: Move ppc4xx_pci.c to hw/pci-host/ hw/ppc/ppc440_pcix: Move ppc440_pcix.c to hw/pci-host/ MAINTAINERS | 4 +++- include/hw/pci-host/ppc4xx.h | 17 +++++++++++++++++ include/hw/ppc/ppc4xx.h | 5 ----- hw/{ppc => pci-host}/ppc440_pcix.c | 3 +-- hw/{ppc => pci-host}/ppc4xx_pci.c | 3 +-- hw/pci-host/ppce500.c | 2 +- hw/ppc/ppc440_bamboo.c | 1 + hw/ppc/ppc440_uc.c | 1 + hw/ppc/sam460ex.c | 1 + hw/pci-host/Kconfig | 8 ++++++++ hw/pci-host/meson.build | 2 ++ hw/pci-host/trace-events | 12 ++++++++++++ hw/ppc/Kconfig | 3 ++- hw/ppc/meson.build | 3 +-- hw/ppc/trace-events | 12 ------------ 15 files changed, 51 insertions(+), 26 deletions(-) create mode 100644 include/hw/pci-host/ppc4xx.h rename hw/{ppc => pci-host}/ppc440_pcix.c (99%) rename hw/{ppc => pci-host}/ppc4xx_pci.c (99%)