From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B7D0EC433F5 for ; Mon, 3 Oct 2022 21:24:36 +0000 (UTC) Received: from localhost ([::1]:45408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofSvT-0000xh-QT for qemu-devel@archiver.kernel.org; Mon, 03 Oct 2022 17:24:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofRog-00055Z-SJ; Mon, 03 Oct 2022 16:13:38 -0400 Received: from zero.eik.bme.hu ([152.66.115.2]:20423) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofRoa-0000xr-Mk; Mon, 03 Oct 2022 16:13:28 -0400 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 6679D74632C; Mon, 3 Oct 2022 22:13:14 +0200 (CEST) Received: by zero.eik.bme.hu (Postfix, from userid 432) id E485E746324; Mon, 3 Oct 2022 22:13:13 +0200 (CEST) Message-Id: From: BALATON Zoltan Subject: [PATCH v3 00/13] Misc ppc/mac machines clean up To: qemu-devel@nongnu.org, qemu-ppc@nongnu.org Cc: Mark Cave-Ayland Date: Mon, 3 Oct 2022 22:13:13 +0200 (CEST) Received-SPF: pass client-ip=152.66.115.2; envelope-from=balaton@eik.bme.hu; helo=zero.eik.bme.hu X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" This series includes some clean ups to mac_newworld and mac_oldworld to make them a bit simpler and more readable, It also removes the shared mac.h file that turns out was more of a random collection of unrelated things. Getting rid of this mac.h improves the locality of device models and reduces unnecessary interdependency. v3: Some more patch spliting and changes I've noticed and address more review comments v2: Split some patches and add a few more I've noticed now and address review comments BALATON Zoltan (13): mac_newworld: Drop some variables mac_oldworld: Drop some more variables mac_{old|new}world: Set tbfreq at declaration mac_{old|new}world: Avoid else branch by setting default value mac_{old|new}world: Simplify cmdline_base calculation mac_newworld: Clean up creation of Uninorth devices mac_{old|new}world: Reduce number of QOM casts hw/ppc/mac.h: Move newworld specific parts out from shared header hw/ppc/mac.h: Move macio specific parts out from shared header hw/ppc/mac.h: Move grackle-pcihost type declaration out to a header hw/ppc/mac.h: Move PROM and KERNEL defines to board code hw/ppc/mac.h: Rename to include/hw/nvram/mac_nvram.h mac_nvram: Use NVRAM_SIZE constant MAINTAINERS | 2 + hw/ide/macio.c | 1 - hw/intc/heathrow_pic.c | 1 - hw/intc/openpic.c | 1 - hw/misc/macio/cuda.c | 1 - hw/misc/macio/gpio.c | 1 - hw/misc/macio/macio.c | 8 +- hw/misc/macio/pmu.c | 1 - hw/nvram/mac_nvram.c | 2 +- hw/pci-host/grackle.c | 15 +-- hw/pci-host/uninorth.c | 1 - hw/ppc/mac.h | 105 ---------------- hw/ppc/mac_newworld.c | 225 ++++++++++++++++------------------ hw/ppc/mac_oldworld.c | 111 +++++++---------- include/hw/misc/macio/macio.h | 23 +++- include/hw/nvram/mac_nvram.h | 51 ++++++++ include/hw/pci-host/grackle.h | 44 +++++++ 17 files changed, 280 insertions(+), 313 deletions(-) delete mode 100644 hw/ppc/mac.h create mode 100644 include/hw/nvram/mac_nvram.h create mode 100644 include/hw/pci-host/grackle.h -- 2.30.4