[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 2/7] hw/misc/bcm2835_property: Handle the 'domain state' prope
From: |
Alex Bennée |
Subject: |
[PATCH v1 2/7] hw/misc/bcm2835_property: Handle the 'domain state' property |
Date: |
Mon, 4 Oct 2021 14:47:36 +0100 |
From: Philippe Mathieu-Daudé <f4bug@amsat.org>
The kernel is happy with this change, so we don't need
to do anything more sophisticated.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
hw/misc/bcm2835_property.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/hw/misc/bcm2835_property.c b/hw/misc/bcm2835_property.c
index 791c7554ec..b089e47584 100644
--- a/hw/misc/bcm2835_property.c
+++ b/hw/misc/bcm2835_property.c
@@ -133,6 +133,14 @@ static void
bcm2835_property_mbox_push(BCM2835PropertyState *s, uint32_t value)
resplen = 8;
break;
+ case 0x00030030: /* Get domain state */
+ qemu_log_mask(LOG_UNIMP,
+ "bcm2835_property: 0x%08x get domain state NYI\n",
+ tag);
+ /* FIXME returning uninitialized memory */
+ resplen = 8;
+ break;
+
case 0x00038002: /* Set clock rate */
case 0x00038004: /* Set max clock rate */
case 0x00038007: /* Set min clock rate */
--
2.30.2
- [PATCH v1 0/7] enabling RasperryPi 4 emulation - WIP state, Alex Bennée, 2021/10/04
- [PATCH v1 2/7] hw/misc/bcm2835_property: Handle the 'domain state' property,
Alex Bennée <=
- [PATCH v1 4/7] hw/arm/bcm2835_peripherals: Map various BCM2711 blocks, Alex Bennée, 2021/10/04
- [PATCH v1 7/7] hw/arm/raspi: Add the Raspberry Pi 4B board, Alex Bennée, 2021/10/04
- [PATCH v1 1/7] hw/misc/bcm2835_property: Add FIXME comment for uninitialized memory, Alex Bennée, 2021/10/04
- [PATCH v1 3/7] hw/arm: fix the position of vcram for raspi, Alex Bennée, 2021/10/04
- [PATCH v1 6/7] hw/arm/bcm2838: Map the PCIe memory space, Alex Bennée, 2021/10/04
- [PATCH v1 5/7] hw/arm/bcm2836: Add the BCM2711 which uses a GICv2, Alex Bennée, 2021/10/04