Received: by 2002:a17:906:d9da:b0:a3d:1c09:7d3d with SMTP id qk26csp734620ejb; Thu, 15 Feb 2024 09:58:18 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW64BCGGye5UnRKXO01/cRz2tVOrPamGHYAstPkWVxbvVbjNqaMTV38MZcm0R/aLSntoD2usYP4h7ZGjKLTvU1K2EyO+97X X-Google-Smtp-Source: AGHT+IFJ7wDH1XgHYrP8wrP2fQz5LzViDzvt8y2gbHL/DfBR/0qibkyV0ChkURpVZm2irFHpwing X-Received: by 2002:a05:620a:13fc:b0:787:1d7f:bf50 with SMTP id h28-20020a05620a13fc00b007871d7fbf50mr2471695qkl.38.1708019898641; Thu, 15 Feb 2024 09:58:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1708019898; cv=none; d=google.com; s=arc-20160816; b=BPlJtjRoajGr3h0pawxash83TFHhvIpjqY1siPDFzZTa7y3oDny1i6eCfjpT+5xLgp HLc6ef3vLhHOE0Yjlphb7KMuXNI+4PQREUVBx2r2JAUWrryexqamcYBdTTJmH9hrBvcX Cnn+Beb1l2wbx+Pc+xIKBJzTX0sjQXuKGH4bj9Nli77wdF7/8Gni8qsj/UnviImu6Ceh kJsFfTNUQxAlzU56/HR1oma34e/SMbEciceIL1qgvGzTqyELkkYd+IPkjYYP3/Dc66Fd v1lL+s8oymVyidqWAnilX8t+eg6egZI+R1PIlSD2fWAHzHSFtlrsXsOhgZWi6S0ftQLa isyQ== 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=KLFW9d6MtGVFIRF/ILtmv/tLLOjeEc5TXZ5cnpm3gU8=; fh=dnWyl9PcnSKRKOdXXP1V+jKXCPgb1cEzKz7LRKEwTo8=; b=m6q4d8rY2F3R6rHdLe/eUYGr031TcPAsbkoc9lkPVfQRdXQPgGVcSL13pMcGGv9kys FyeXyMjy/G1FQHw1vGQMh7dspkH1t489b3VOlqbY3lTE846wndz/OaFSuyrMd++1ko9J K5bRt8o52XzCQ/Q1/uVW7kZvpTFsYMgwtwqyPyfcvskkPV2XOlROcT+BQ2L8r6ZaxUyp uf9kFw4cdJrGncn5x+F86dKVMD2ksJXfFky5Ba+FZORKVNS+5NOVFDUAMFQnqv9ASSFT o0LNQwR1sxofr0qarsOpOErblpc+1Seijx+byMxuyXLDuhCubqdrUlgbrFqw8CPiM+FI O+Og==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=KiLtTFoG; 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 ee20-20020a05620a801400b00787386485c9si1497654qkb.534.2024.02.15.09.58.18 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 15 Feb 2024 09:58:18 -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=KiLtTFoG; 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 1rafzp-00019P-BU; Thu, 15 Feb 2024 12:58:05 -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 1rafzo-00019B-ER for qemu-arm@nongnu.org; Thu, 15 Feb 2024 12:58:04 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rafzi-0001P0-No for qemu-arm@nongnu.org; Thu, 15 Feb 2024 12:58:04 -0500 Received: by mail-wr1-x42e.google.com with SMTP id ffacd0b85a97d-33934567777so675987f8f.1 for ; Thu, 15 Feb 2024 09:57:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1708019876; x=1708624676; 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=KLFW9d6MtGVFIRF/ILtmv/tLLOjeEc5TXZ5cnpm3gU8=; b=KiLtTFoGx7b8JpG6bKmSli1FxFsvulhRaofmJVtVdA0GCX/sjtMx9GQwh+smOZWPMz ZdUJWOfv9iHPy1A2wMIIRuTYM9L/eSKjV5oO7LmnlQdXNUJ6SHuyM1zZvzT3Xayex54r lNrZ55HaNWMSb5dqe7bQqbif2oIWnIc50bzckIMQ2NhCmXAAel88PTSH6+FawBUl5Wl2 SWl9ifee4QLjI0E01fS8JLxh82It24p3e8yexgfZK9g29+Q0oIgmTBt4U5iM7qaY6TcN m/AR6EobGbBvaM1JmYikd09rwcJ1C0rIn4j855UDk+EPmt8DXOZwgwCxs318x5wcaPPa rnmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708019876; x=1708624676; 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=KLFW9d6MtGVFIRF/ILtmv/tLLOjeEc5TXZ5cnpm3gU8=; b=u6ww+8+k6aOlZclqAgbp2KeXC1fcJ0t0OJsQ7lDncE2330gozqSfqZ1HCfW+7DZXP3 82ZTYttpGZKL30jUqtz+H/8zVi52XdxERTvFJUu7+dR26C4nYviHD6RoGQbrnwhE+k81 PWLPE4WcVUXFZjpEqP2+BSFaLsp0KQgK95ynxp6s+wxC94HfT0t5IEJ0z6YVssVJsZLk aMlSGbTPx34nnFmMa0rPq+GT07ID2sqXYzuvvCsvBbf8OBmjFOv/7SNaBoo3AXDeJ3tk cNB7imFUHsZ2O3+OTESlIUp3IRpnl7EcfRB+7CCTCinjXwFIuEeP3B9obemXM/j4lxBG WgZw== X-Forwarded-Encrypted: i=1; AJvYcCXXutQDDs1LnLB3vUfe9LRdqTxxaiYa0p448TR1Fk77lX1OvywRe40Ab6kSDxutElJMibRy7IhgtkdOgaBjUhAF555I X-Gm-Message-State: AOJu0YwsztvXkh3g7OnMC7pEVkBt62kbNVDGvIWwsgYqy7pA3bM7wxnU //SPuZV4jxWoIzx1FsTRF7srXvwNrrLCmZu6XwNrujfG3P7LHxjBELjhU3zOAmk= X-Received: by 2002:a5d:5591:0:b0:33b:2835:a1fe with SMTP id i17-20020a5d5591000000b0033b2835a1femr1888836wrv.47.1708019875960; Thu, 15 Feb 2024 09:57:55 -0800 (PST) Received: from m1x-phil.lan ([176.187.193.50]) by smtp.gmail.com with ESMTPSA id j15-20020adff54f000000b0033ce1ef4e7asm2445871wrp.13.2024.02.15.09.57.54 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 15 Feb 2024 09:57:55 -0800 (PST) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, qemu-arm@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PULL 00/56] Misc HW patches for 2024-02-15 Date: Thu, 15 Feb 2024 18:56:54 +0100 Message-ID: <20240215175752.82828-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=philmd@linaro.org; helo=mail-wr1-x42e.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham 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: U5frwTElbev+ The following changes since commit 5767815218efd3cbfd409505ed824d5f356044ae: Merge tag 'for_upstream' of https://git.kernel.org/pub/scm/virt/kvm/mst/qemu into staging (2024-02-14 15:45:52 +0000) are available in the Git repository at: https://github.com/philmd/qemu.git tags/hw-misc-20240215 for you to fetch changes up to 9a4b35f57eefbfc6977ed47d1f19d839e9e4784d: hw/ide/ich9: Use AHCIPCIState typedef (2024-02-15 16:58:47 +0100) ---------------------------------------------------------------- Misc HW patch queue - Remove unused MIPS SAAR* registers (Phil) - Remove warning when testing the TC58128 NAND EEPROM (Peter) - KConfig cleanups around ISA SuperI/O and MIPS (Paolo) - QDev API uses sanitization (Philippe) - Split AHCI model as PCI / SysBus (Philippe) - Add SMP support to SPARC Leon3 board (Clément) ---------------------------------------------------------------- Bernhard Beschow (1): hw/mips/Kconfig: Remove ISA dependencies from MIPSsim board Clément Chigot (9): hw/sparc/grlib: split out the headers for each peripherals hw/intc/grlib_irqmp: add ncpus property hw/intc/grlib_irqmp: implements the multiprocessor status register hw/intc/grlib_irqmp: implements multicore irq target/sparc: implement asr17 feature for smp hw/sparc/leon3: remove SP initialization hw/sparc/leon3: implement multiprocessor hw/sparc/leon3: check cpu_id in the tiny bootloader MAINTAINERS: replace Fabien by myself as Leon3 maintainer Paolo Bonzini (5): hw/mips: remove unnecessary "select PTIMER" hw/isa: clean up Kconfig selections for ISA_SUPERIO hw/isa: fix ISA_SUPERIO dependencies hw/isa: specify instance_size in isa_superio_type_info hw/isa: extract FDC37M81X to a separate file Peter Maydell (1): hw/block/tc58128: Don't emit deprecation warning under qtest Philippe Mathieu-Daudé (39): target/mips: Use qemu_irq typedef for CPUMIPSState::irq member target/mips: Remove helpers accessing SAAR registers hw/misc/mips: Reduce itc_reconfigure() scope target/mips: Remove MIPSITUState::itu field target/mips: Remove CPUMIPSState::saarp field hw/misc/mips_itu: Remove MIPSITUState::cpu0 field hw/misc/mips_itu: Remove MIPSITUState::saar field target/mips: Remove unused mips_def_t::SAARP field target/mips: Remove CPUMIPSState::CP0_SAAR[2] field target/mips: Remove helpers accessing SAARI register target/mips: Remove CPUMIPSState::CP0_SAARI field target/mips: Remove the unused DisasContext::saar field hw/rx/rx62n: Reduce inclusion of 'qemu/units.h' hw/rx/rx62n: Only call qdev_get_gpio_in() when necessary hw/i386/q35: Realize LPC PCI function before accessing it hw/ppc/prep: Realize ISA bridge before accessing it hw/misc/macio: Realize IDE controller before accessing it hw/sh4/r2d: Realize IDE controller before accessing it hw/dma: Pass parent object to i8257_dma_init() hw/sparc/sun4m: Realize DMA controller before accessing it hw/sparc64/cpu: Initialize GPIO before realizing CPU devices target/sparc: Provide hint about CPUSPARCState::irq_manager member hw/sparc/leon3: Remove duplicate code hw/sparc/leon3: Remove unused 'env' argument of write_bootloader() hw/sparc/leon3: Have write_bootloader() take a void pointer argument hw/sparc/leon3: Pass DeviceState opaque argument to leon3_set_pil_in() hw/sparc/leon3: Pass DeviceState opaque argument to leon3_start_cpu() hw/sparc/leon3: Initialize GPIO before realizing CPU devices hw/i386/q35: Simplify pc_q35_init() since PCI is always enabled hw/i386/q35: Use DEVICE() cast macro with PCIDevice object hw/ide/ahci: Expose AHCIPCIState structure hw/ide/ahci: Rename AHCI PCI function as 'pdev' hw/ide/ahci: Inline ahci_get_num_ports() hw/ide/ahci: Pass AHCI context to ahci_ide_create_devs() hw/ide/ahci: Convert AHCIState::ports to unsigned hw/ide/ahci: Do not pass 'ports' argument to ahci_realize() hw/ide/ahci: Remove SysbusAHCIState::num_ports field hw/ide/ahci: Move SysBus definitions to 'ahci-sysbus.h' hw/ide/ich9: Use AHCIPCIState typedef Pierrick Bouvier (1): MAINTAINERS: Add myself as reviewer for TCG Plugins MAINTAINERS | 4 +- hw/ide/ahci_internal.h | 10 +- include/hw/arm/allwinner-a10.h | 2 +- include/hw/arm/allwinner-r40.h | 2 +- include/hw/arm/xlnx-zynqmp.h | 2 +- include/hw/char/grlib_uart.h | 32 ++++ include/hw/dma/i8257.h | 2 +- include/hw/ide/ahci-pci.h | 22 +++ include/hw/ide/ahci-sysbus.h | 35 +++++ include/hw/ide/ahci.h | 38 +---- .../hw/{sparc/grlib.h => intc/grlib_irqmp.h} | 18 +-- include/hw/misc/mips_itu.h | 6 - include/hw/rx/rx62n.h | 2 - include/hw/timer/grlib_gptimer.h | 32 ++++ target/mips/cpu.h | 6 +- target/mips/internal.h | 1 - target/mips/tcg/translate.h | 1 - target/sparc/cpu.h | 5 +- target/sparc/helper.h | 1 + target/mips/tcg/sysemu_helper.h.inc | 6 - hw/arm/highbank.c | 2 +- hw/arm/sbsa-ref.c | 1 + hw/block/tc58128.c | 4 +- hw/char/grlib_apbuart.c | 6 +- hw/dma/i82374.c | 2 +- hw/dma/i8257.c | 4 +- hw/i386/pc_piix.c | 2 +- hw/i386/pc_q35.c | 57 +++---- hw/ide/ahci-allwinner.c | 3 +- hw/ide/ahci.c | 29 ++-- hw/ide/ich.c | 10 +- hw/intc/grlib_irqmp.c | 110 ++++++++----- hw/isa/fdc37m81x-superio.c | 32 ++++ hw/isa/isa-superio.c | 18 --- hw/isa/lpc_ich9.c | 2 +- hw/isa/piix.c | 2 +- hw/isa/smc37c669-superio.c | 1 - hw/isa/vt82c686.c | 2 +- hw/mips/boston.c | 14 +- hw/mips/cps.c | 3 - hw/mips/jazz.c | 2 +- hw/mips/mipssim.c | 7 +- hw/misc/macio/macio.c | 9 +- hw/misc/mips_itu.c | 35 +---- hw/ppc/prep.c | 2 +- hw/rx/rx-gdbsim.c | 1 + hw/rx/rx62n.c | 17 ++- hw/sh4/r2d.c | 2 +- hw/sparc/leon3.c | 144 ++++++++++++------ hw/sparc/sun4m.c | 7 +- hw/sparc64/sparc64.c | 4 +- hw/timer/grlib_gptimer.c | 6 +- target/mips/sysemu/machine.c | 4 +- target/mips/tcg/sysemu/cp0_helper.c | 63 -------- target/mips/tcg/translate.c | 62 -------- target/sparc/helper.c | 16 ++ target/sparc/translate.c | 13 +- hw/isa/Kconfig | 20 +-- hw/isa/meson.build | 1 + hw/mips/Kconfig | 6 +- 60 files changed, 491 insertions(+), 461 deletions(-) create mode 100644 include/hw/char/grlib_uart.h create mode 100644 include/hw/ide/ahci-pci.h create mode 100644 include/hw/ide/ahci-sysbus.h rename include/hw/{sparc/grlib.h => intc/grlib_irqmp.h} (83%) create mode 100644 include/hw/timer/grlib_gptimer.h create mode 100644 hw/isa/fdc37m81x-superio.c -- 2.41.0