[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/7] hw/misc/empty_slot: Spring cleaning
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/7] hw/misc/empty_slot: Spring cleaning |
Date: |
Sun, 10 May 2020 17:28:33 +0200 |
New Spring, new opportunity to clean this device :)
(v1 was in 2018, v2 in 2019).
- lower device priority
- follow qdev model and use properties
- convert to trace events
- describe with slot name
- move under hw/misc/ and cover in MAINTAINERS
Peter, I hope you are OK adding it wit UNIMP device,
as both are very similar, and don't have much activity.
Only MIPS/SPARC32 targets use this device.
v2: https://www.mail-archive.com/address@hidden/msg626498.html
v1: https://www.mail-archive.com/address@hidden/msg564060.html
Philippe Mathieu-Daudé (7):
hw/sparc/sun4m: Use UnimplementedDevice for I/O devices
hw/misc/empty_slot: Lower address space priority
hw/misc/empty_slot: Convert 'size' field as qdev property
hw/misc/empty_slot: Add a 'name' qdev property
hw/misc/empty_slot: Convert debug printf() to trace event
hw/misc/empty_slot: Move the 'hw/misc' and cover in MAINTAINERS
hw/misc/empty_slot: Name the slots when created
include/hw/empty_slot.h | 9 -------
include/hw/misc/empty_slot.h | 19 ++++++++++++++
hw/mips/mips_malta.c | 4 +--
hw/{core => misc}/empty_slot.c | 47 +++++++++++++++++++---------------
hw/sparc/sun4m.c | 23 +++++++++++------
MAINTAINERS | 4 ++-
hw/core/Makefile.objs | 1 -
hw/misc/Makefile.objs | 1 +
hw/misc/trace-events | 4 +++
9 files changed, 70 insertions(+), 42 deletions(-)
delete mode 100644 include/hw/empty_slot.h
create mode 100644 include/hw/misc/empty_slot.h
rename hw/{core => misc}/empty_slot.c (66%)
--
2.21.3
- [PATCH 0/7] hw/misc/empty_slot: Spring cleaning,
Philippe Mathieu-Daudé <=
- [PATCH 1/7] hw/sparc/sun4m: Use UnimplementedDevice for I/O devices, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 2/7] hw/misc/empty_slot: Lower address space priority, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 3/7] hw/misc/empty_slot: Convert 'size' field as qdev property, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 4/7] hw/misc/empty_slot: Add a 'name' qdev property, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 5/7] hw/misc/empty_slot: Convert debug printf() to trace event, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 6/7] hw/misc/empty_slot: Move the 'hw/misc' and cover in MAINTAINERS, Philippe Mathieu-Daudé, 2020/05/10
- [PATCH 7/7] hw/misc/empty_slot: Name the slots when created, Philippe Mathieu-Daudé, 2020/05/10
- Re: [PATCH 0/7] hw/misc/empty_slot: Spring cleaning, Philippe Mathieu-Daudé, 2020/05/24