[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 07/20] nubus: add trace-events for unassigned slot accesses
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 07/20] nubus: add trace-events for unassigned slot accesses |
Date: |
Sun, 12 Sep 2021 17:18:14 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 |
On 9/12/21 9:49 AM, Mark Cave-Ayland wrote:
> These allow tracing of the Nubus enumeration process by the guest OS.
>
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
> ---
> hw/nubus/nubus-bus.c | 10 +++++++---
> hw/nubus/trace-events | 7 +++++++
> hw/nubus/trace.h | 1 +
> meson.build | 1 +
> 4 files changed, 16 insertions(+), 3 deletions(-)
> create mode 100644 hw/nubus/trace-events
> create mode 100644 hw/nubus/trace.h
> @@ -38,7 +40,7 @@ static const MemoryRegionOps nubus_slot_ops = {
> .endianness = DEVICE_BIG_ENDIAN,
> .valid = {
> .min_access_size = 1,
> - .max_access_size = 1,
> + .max_access_size = 4,
> },
> };
This patch does a bit more that what is described.
> @@ -60,7 +64,7 @@ static const MemoryRegionOps nubus_super_slot_ops = {
> .endianness = DEVICE_BIG_ENDIAN,
> .valid = {
> .min_access_size = 1,
> - .max_access_size = 1,
> + .max_access_size = 4,
> },
> };
- [PATCH 06/20] nubus: implement BusClass get_dev_path(), (continued)
- [PATCH 06/20] nubus: implement BusClass get_dev_path(), Mark Cave-Ayland, 2021/09/12
- [PATCH 04/20] nubus: use bitmap to manage available slots, Mark Cave-Ayland, 2021/09/12
- [PATCH 05/20] nubus: move slot bitmap checks from NubusDevice realize() to BusClass check_address(), Mark Cave-Ayland, 2021/09/12
- [PATCH 03/20] nubus-device: add device slot parameter, Mark Cave-Ayland, 2021/09/12
- [PATCH 07/20] nubus: add trace-events for unassigned slot accesses, Mark Cave-Ayland, 2021/09/12
- Re: [PATCH 07/20] nubus: add trace-events for unassigned slot accesses,
Philippe Mathieu-Daudé <=
- [PATCH 08/20] nubus: generate bus error when attempting to access empty slots, Mark Cave-Ayland, 2021/09/12
- [PATCH 09/20] macfb: don't register declaration ROM, Mark Cave-Ayland, 2021/09/12
- [PATCH 10/20] nubus-device: remove nubus_register_rom() and nubus_register_format_block(), Mark Cave-Ayland, 2021/09/12
- [PATCH 11/20] nubus-device: add romfile property for loading declaration ROMs, Mark Cave-Ayland, 2021/09/12
- [PATCH 13/20] nubus-bridge: introduce separate NubusBridge structure, Mark Cave-Ayland, 2021/09/12