Received: by 2002:a17:906:2317:b0:a3e:79c1:d636 with SMTP id l23csp220050eja; Thu, 22 Feb 2024 04:58:48 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCUVCi4NPqljhBzaZ4eUYKcEKPNy2i9em3yGZMsDxFVwGKySxWm8Y844G0HdoP/uqw4f6jz/MdML9dTxgxhBkagS8zPVnkc/ X-Google-Smtp-Source: AGHT+IGTAX0BJRq1YPYq3qddYoyaXrs68GDy01DqL4EThzfLIKxh8FI74j9JkbpdAgePiPd6+P63 X-Received: by 2002:a05:6214:258d:b0:68f:6314:e130 with SMTP id fq13-20020a056214258d00b0068f6314e130mr17316458qvb.59.1708606728363; Thu, 22 Feb 2024 04:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708606728; cv=none; d=google.com; s=arc-20160816; b=f5927PHc3FojytzGGnfr3xMCf+IqwYpMXu1au/wPe3PDuz+9M61Ykvub4982bT8GSi rilnColS9t0Ir9Ts7abamwueTbLHWE03ibtOz7vbnMBw+kOW49VhE8ysOw1Lh1IGAxu0 gbooYC3jJmyOWNiZElnixk5E1ZvJzcVVqD41ZSqnuSN/FK9AWt2wPGLPXFgYm8/36rCa 2y0ow0BoS2WjNWYhdesz/sRD8qrGH3vHHyxXfli3adaT2pbSfmJGJr6OguA6RhcklPtC 15xFd6liS8mKHRzbDoJd9Ru/8O+bK32fK4TVKbHuGsKMK0tmTEeTZNW0yhHpDkJFi9ve 2kow== 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:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qDWDehg/c5eR8sRlMxjCzGpqSPDjiJU2WvamJAzoTIs=; fh=SRVbtWPjoymSFjAwkpIRYwzZKfVE9nQ/QDTlET0jYLM=; b=btGfwHFvmmfWJibc1R43QwY1bcUnWupKIDGQq9tHH7lDSH5Ed62WQJvoUMKeJuwdSN GB+sCIAYmjyB6WZmXOujr7+aZMCH47tPktdDuMGFIIX6Hr1PMgSxLbmPn+rmiOODwcpF fEcEIru5zqPcDbD6E0pmHMZnrd6Ybv36NMIHBESWHKEIPMGBQdOB+glU7ZLUZdkG76xj 8q2QjSGudwEhAKHup1Q+o9PQ2CxjzewcjvkRaOTMxR6meSOd29Np61JlPla2+JjgaYng behWPxFf4K1iUClYcPctGq1dy653nbZONcvWZrvm5UrGMHoaRTPr7U1c0ufwN6sIGWJX RsXw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=qNhyeBCM; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=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 a2-20020a056214062200b0068f041f354csi12623921qvx.498.2024.02.22.04.58.48 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 22 Feb 2024 04:58:48 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=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=qNhyeBCM; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=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 1rd8eh-0004ac-NW; Thu, 22 Feb 2024 07:58:27 -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 1rd8eg-0004aH-Br for qemu-arm@nongnu.org; Thu, 22 Feb 2024 07:58:26 -0500 Received: from mail-wm1-x32a.google.com ([2a00:1450:4864:20::32a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rd8ec-0005WP-Cc for qemu-arm@nongnu.org; Thu, 22 Feb 2024 07:58:26 -0500 Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-4127855308bso11336885e9.3 for ; Thu, 22 Feb 2024 04:58:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708606700; x=1709211500; darn=nongnu.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=qDWDehg/c5eR8sRlMxjCzGpqSPDjiJU2WvamJAzoTIs=; b=qNhyeBCMZq0jwasSuyolTk4MwzJQ/dvzJodceurdiOtR6dxo5ZI+CQrHwF6/yybx1Y KGS6haiCsTRo7wNGz+QiaUH/ZnrfQxnaJdSbpcUHI1aPQy77zSTB40/mNMLaoviISKBR XeeY9XUyj3qBY8LijGHu0OIPv06XvZIcAG/h5WeUV3VCkW5trEYXzDk7SrPrS/oBClqb zdA/UbZJ5bbZB1CvI8VHF74dwfNb+r9zUJnq+m3Rwae+3kvFPxfCIeS7Z5qbyyDUI/a3 wPW8xFqxVTL48BTUiiUBhfKe49cqusn2cUWRbfZ47B5Xc73/kXMs3f1ox4MgpqYDSxbS EyEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708606700; x=1709211500; 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=qDWDehg/c5eR8sRlMxjCzGpqSPDjiJU2WvamJAzoTIs=; b=JAWf9pMUVB0E6qGLNIXJNGYxwaaU4EvpL3U1OTwmKeGCO13faF1iq62YMeGdN1LB7e 3IbJDSciXUahGrOfsKSgz5AQmmYCE8xibMmOMOqN9+pWk0B3Aka7Mn6e6lOOmA9wLC5F Aud04nFL2Av4QSyKS3hQ11DkGaoKoCRO/88L5xg1rLentHdAnuBRwpujtdlT0MZFrAqV OG5oTUpRM5TY4JGQWAEDqqIAnYV1s7wkd17yj7L8ODJmMDa3Z0H1T+1Ci3IV2/ahiZ43 N/8+wTmjxgbTh1jSMMYQ3T1cueZNgUWIHE8NQNSL+O/7IeFdzB51GI3zgvomerQmNgfH Ct4g== X-Forwarded-Encrypted: i=1; AJvYcCW6LhUks4y5epeOeQUUluxTb4NIsdCGIfDwMUEhOWHndkfRHE0tONb+OJyuQ7QGHnsyC+Ka4+HrvsCkhStHnWt9gPxF X-Gm-Message-State: AOJu0YydEfG3d9PhKV/i746fC0YrUhizd8M4g+He8Nskasp1bsKZDlZR mhoib0DUw/bcWImoVAwI/NEOflubQaThf4YK4M1wPqVgAOU8wnK0v72b0eQOcgu55g+QjEHqi4C m59s= X-Received: by 2002:a05:600c:4f53:b0:412:5f58:53a5 with SMTP id m19-20020a05600c4f5300b004125f5853a5mr10143303wmq.24.1708606700537; Thu, 22 Feb 2024 04:58:20 -0800 (PST) Received: from m1x-phil.lan ([176.187.211.34]) by smtp.gmail.com with ESMTPSA id cc3-20020a5d5c03000000b0033d5e3c6835sm12112551wrb.5.2024.02.22.04.58.19 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 22 Feb 2024 04:58:19 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, qemu-arm@nongnu.org, qemu-ppc@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL v2 00/32] Misc HW patches for 2024-02-22 Date: Thu, 22 Feb 2024 13:58:09 +0100 Message-ID: <20240222125809.67291-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240222125517.67131-1-philmd@linaro.org> References: <20240222125517.67131-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32a; envelope-from=philmd@linaro.org; helo=mail-wm1-x32a.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=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@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-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: 9d5VBJORK6XS The following changes since commit 760b4dcdddba4a40b9fa0eb78fdfc7eda7cb83d0: Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2024-02-20 10:11:08 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240222 for you to fetch changes up to 7164f7e4028ad3b01a5f98c27482587b401ad420: hw/sparc/leon3: Fix wrong usage of DO_UPCAST macro (2024-02-22 12:47:40 +0100) Supersedes: <20240221211626.48190-1-philmd@linaro.org> Following checkpatch.pl error ignored: ERROR: Macros with complex values should be enclosed in parenthesis #62: FILE: include/hw/ide/ide-dev.h:31: +#define DEFINE_IDE_DEV_PROPERTIES() \ + DEFINE_BLOCK_PROPERTIES(IDEDrive, dev.conf), \ + DEFINE_BLOCK_ERROR_PROPERTIES(IDEDrive, dev.conf), \ + DEFINE_PROP_STRING("ver", IDEDrive, dev.version), \ + DEFINE_PROP_UINT64("wwn", IDEDrive, dev.wwn, 0), \ + DEFINE_PROP_STRING("serial", IDEDrive, dev.serial),\ + DEFINE_PROP_STRING("model", IDEDrive, dev.model) ---------------------------------------------------------------- Misc HW patch queue - Remove sysbus_add_io (Phil) - Build PPC 4xx PCI host bridges once (Phil) - Display QOM path while debugging SMBus targets (Joe) - Simplify x86 PC code (Bernhard) - Remove qemu_[un]register_reset() calls in x86 PC CMOS (Peter) - Fix wiring of ICH9 LPC interrupts (Bernhard) - Split core IDE as device / bus / dma (Thomas) - Prefer QDev API over QOM for devices (Phil) - Fix invalid use of DO_UPCAST() in Leon3 (Thomas) ---------------------------------------------------------------- Bernhard Beschow (8): hw/i386/pc_piix: Share pc_cmos_init() invocation between pc and isapc machines hw/i386/x86: Turn apic_xrupt_override into class attribute hw/i386/pc: Merge pc_guest_info_init() into pc_machine_initfn() hw/i386/pc: Defer smbios_set_defaults() to machine_done hw/i386/pc: Confine system flash handling to pc_sysfw hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it hw/i386/pc_q35: Populate interrupt handlers before realizing LPC PCI function hw/isa/meson.build: Sort alphabetically Joe Komlodi (1): hw/i2c/smbus_slave: Add object path on error prints Peter Maydell (2): hw/i386/pc: Store pointers to IDE buses in PCMachineState hw/i386/pc: Do pc_cmos_init_late() from pc_machine_done() Philippe Mathieu-Daudé (13): hw/input/pckbd: Open-code i8042_setup_a20_line() wrapper hw/sysbus: Inline and remove sysbus_add_io() 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/ hw/ppc/spapr_cpu: Use qdev_is_realized() instead of QOM API hw/ppc/pnv_bmc: Use qdev_new() instead of QOM API hw/tricore/testboard: Use qdev_new() instead of QOM basic API hw/i386/pc_sysfw: Use qdev_is_realized() instead of QOM API hw/acpi: Include missing 'qapi/qapi-types-acpi.h' generated header hw/acpi/cpu: Use CPUState typedef hw/acpi/ich9_tco: Include missing 'migration/vmstate.h' header Thomas Huth (8): hw/ide: Add the possibility to disable the CompactFlash device in the build hw/ide: Split qdev.c into ide-bus.c and ide-dev.c hw/ide: Move IDE DMA related definitions to a separate header ide-dma.h hw/ide: Move IDE device related definitions to ide-dev.h hw/ide: Move IDE bus related definitions to a new header ide-bus.h hw/ide: Remove the include/hw/ide.h legacy file hw/ide: Stop exposing internal.h to non-IDE files hw/sparc/leon3: Fix wrong usage of DO_UPCAST macro MAINTAINERS | 5 +- hw/i386/fw_cfg.h | 3 +- include/hw/acpi/cpu.h | 3 +- include/hw/acpi/ich9_tco.h | 1 + include/hw/acpi/memory_hotplug.h | 1 + include/hw/i386/pc.h | 9 +- include/hw/i386/x86.h | 3 +- include/hw/ide.h | 9 - include/hw/ide/ide-bus.h | 42 +++++ include/hw/ide/ide-dev.h | 184 +++++++++++++++++++++ include/hw/ide/ide-dma.h | 37 +++++ include/hw/ide/internal.h | 211 +----------------------- include/hw/ide/pci.h | 2 +- include/hw/input/i8042.h | 1 - include/hw/pci-host/ppc4xx.h | 17 ++ include/hw/ppc/ppc4xx.h | 5 - include/hw/sysbus.h | 2 - include/hw/tricore/tricore_testdevice.h | 3 - hw/core/sysbus.c | 6 - hw/i2c/smbus_slave.c | 8 +- hw/i386/acpi-common.c | 3 +- hw/i386/fw_cfg.c | 12 +- hw/i386/kvmvapic.c | 3 +- hw/i386/pc.c | 60 +++---- hw/i386/pc_piix.c | 31 +--- hw/i386/pc_q35.c | 22 +-- hw/i386/pc_sysfw.c | 23 +-- hw/ide/cf.c | 58 +++++++ hw/ide/cmd646.c | 1 + hw/ide/ide-bus.c | 111 +++++++++++++ hw/ide/{qdev.c => ide-dev.c} | 137 +-------------- hw/ide/pci.c | 1 + hw/ide/piix.c | 1 + hw/ide/sii3112.c | 1 + hw/ide/via.c | 1 + hw/input/pckbd.c | 5 - hw/mips/mipssim.c | 3 +- hw/nvram/fw_cfg.c | 6 +- hw/{ppc => pci-host}/ppc440_pcix.c | 3 +- hw/{ppc => pci-host}/ppc4xx_pci.c | 3 +- hw/pci-host/ppce500.c | 2 +- hw/ppc/pnv_bmc.c | 10 +- hw/ppc/ppc440_bamboo.c | 1 + hw/ppc/ppc440_uc.c | 1 + hw/ppc/sam460ex.c | 1 + hw/ppc/spapr_cpu_core.c | 3 +- hw/sparc/leon3.c | 2 +- hw/tricore/tricore_testboard.c | 4 +- hw/arm/Kconfig | 2 + hw/ide/Kconfig | 32 ++-- hw/ide/meson.build | 4 +- hw/isa/meson.build | 2 +- 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 -- 58 files changed, 607 insertions(+), 534 deletions(-) delete mode 100644 include/hw/ide.h create mode 100644 include/hw/ide/ide-bus.h create mode 100644 include/hw/ide/ide-dev.h create mode 100644 include/hw/ide/ide-dma.h create mode 100644 include/hw/pci-host/ppc4xx.h create mode 100644 hw/ide/cf.c create mode 100644 hw/ide/ide-bus.c rename hw/ide/{qdev.c => ide-dev.c} (67%) rename hw/{ppc => pci-host}/ppc440_pcix.c (99%) rename hw/{ppc => pci-host}/ppc4xx_pci.c (99%) -- 2.41.0