From patchwork Wed Jul 5 20:12:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1803982 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4Qx9pj3yrXz20ZQ for ; Thu, 6 Jul 2023 06:13:49 +1000 (AEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qH8sC-0002ht-JS; Wed, 05 Jul 2023 16:13:12 -0400 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 1qH8s9-0002gF-NG; Wed, 05 Jul 2023 16:13:09 -0400 Received: from zero.eik.bme.hu ([152.66.115.2]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qH8s7-00063o-Nw; Wed, 05 Jul 2023 16:13:09 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 99B55746335; Wed, 5 Jul 2023 22:12:45 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 99B7574632B; Wed, 5 Jul 2023 22:12:44 +0200 (CEST) Message-Id: From: BALATON Zoltan Subject: [PATCH v2 00/14] PPC440 devices misc clean up MIME-Version: 1.0 To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: Daniel Henrique Barboza <"danielhb413@gmail.com>, philmd"@linaro.org> Date: Wed, 5 Jul 2023 22:12:44 +0200 (CEST) X-Spam-Probability: 8% Received-SPF: pass client-ip=152.66.115.2; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org These are some small misc clean ups to PPC440 related device models which is all I have ready for now. v2: - Added R-b tags from Philippe - Addressed review comments - Added new patch to rename parent field of PPC460EXPCIEState to parent_obj Patches needing review: 6 7 10-13 BALATON Zoltan (14): ppc440: Change ppc460ex_pcie_init() parameter type ppc440: Add cpu link property to PCIe controller model ppc440: Add a macro to shorten PCIe controller DCR registration ppc440: Rename parent field of PPC460EXPCIEState to match code style ppc440: Rename local variable in dcr_read_pcie() ppc440: Stop using system io region for PCIe buses ppc/sam460ex: Remove address_space_mem local variable ppc440: Add busnum property to PCIe controller model ppc440: Remove ppc460ex_pcie_init legacy init function ppc4xx_pci: Rename QOM type name define ppc4xx_pci: Add define for ppc4xx-host-bridge type name ppc440_pcix: Rename QOM type define abd move it to common header ppc440_pcix: Don't use iomem for regs ppc440_pcix: Stop using system io region for PCI bus hw/ppc/ppc440.h | 1 - hw/ppc/ppc440_bamboo.c | 3 +- hw/ppc/ppc440_pcix.c | 28 +++--- hw/ppc/ppc440_uc.c | 192 +++++++++++++++++----------------------- hw/ppc/ppc4xx_pci.c | 10 +-- hw/ppc/sam460ex.c | 33 ++++--- include/hw/ppc/ppc4xx.h | 5 +- 7 files changed, 129 insertions(+), 143 deletions(-)