Start allowing ISA to be configured out
v2 cover Start allowing ISA to be configured out
At the moment isa-bus.c is compiled unconditionally for all targets. However, some targets have never used legacy ISA devices. Many more targets have at least some machine types without ISA.
These patches allow ISA bus to be disabled in the configuration, thus allowing cut down configurations for targets and machine types that don't have ISA.
Actually turning off ISA will require more than this for most targets
- there are a number of non-obvious dependencies on the ISA code. b19c1c0 "isa: remove isa_mem_base variable" already got rid of an important one (VGA depended on ISA). Patches 2/4 and 4/4 in this series remove some more. There are a number more though, for example CONFIG_IDE_CORE depends on ISA and the HMP "info irq" command depends on I8259 code.
This patch should allow easier experimentation so we can chip away at those dependencies on legacy code in the future.
Changes in v2:
* Removed changes to HMP, since it would cause a regression for PReP
* Added a cleanup of the dead CONFIG_ISA_MMIO variable
* Clearer explanation of the situation in commit messages
David Gibson (4):
Cleanup leftover CONFIG_ISA_MMIO
Split serial-isa into its own config option
Allow ISA bus to be configured out
Split ISA and sysbus versions of m48t59 device
default-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 2 +- default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/moxie-softmmu.mak | 1 + default-configs/pci.mak | 1 + default-configs/ppc-softmmu.mak | 2 +- default-configs/ppc64-softmmu.mak | 2 +- default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 2 +- default-configs/unicore32-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/char/Makefile.objs | 3 +- hw/isa/Makefile.objs | 2 +- hw/timer/Makefile.objs | 3 + hw/timer/m48t59-internal.h | 82 ++++++++++++ hw/timer/m48t59-isa.c | 180 +++++++++++++++++++++++++++ hw/timer/m48t59.c | 228 +++------------------------------- 24 files changed, 304 insertions(+), 216 deletions(-) create mode 100644 hw/timer/m48t59-internal.h create mode 100644 hw/timer/m48t59-isa.c
Signature · 1 line
2.4.3
PATCH v2 1/4 Cleanup leftover CONFIG_ISA_MMIO
Commit 61fcb62 "isa_mmio: delete" removed the CONFIG_ISA_MMIO switch and the isa_mmio code controlled by it. However, a few of the default-configs
still set the variable, pointlessly. This cleans these up.
--- default-configs/arm-softmmu.mak | 1 - default-configs/ppc-softmmu.mak | 1 - default-configs/ppc64-softmmu.mak | 1 - default-configs/sparc64-softmmu.mak | 1 - 4 files changed, 4 deletions(-)
default-configs/arm-softmmu.mak +0 -1
@@ -3,7 +3,6 @@ include pci.mak include usb.mak CONFIG_VGA=y -CONFIG_ISA_MMIO=y CONFIG_NAND=y CONFIG_ECC=y CONFIG_SERIAL=y
default-configs/ppc-softmmu.mak +0 -1
@@ -3,7 +3,6 @@ include pci.mak include sound.mak include usb.mak -CONFIG_ISA_MMIO=y CONFIG_ESCC=y CONFIG_M48T59=y CONFIG_SERIAL=y
default-configs/ppc64-softmmu.mak +0 -1
@@ -3,7 +3,6 @@ include pci.mak include sound.mak include usb.mak -CONFIG_ISA_MMIO=y CONFIG_ESCC=y CONFIG_M48T59=y CONFIG_SERIAL=y
default-configs/sparc64-softmmu.mak +0 -1
@@ -2,7 +2,6 @@ include pci.mak include usb.mak -CONFIG_ISA_MMIO=y CONFIG_M48T59=y CONFIG_PTIMER=y CONFIG_SERIAL=y
Signature · 1 line
2.4.3
Re: [Qemu-devel] [PATCHv2 1/4] Cleanup leftover CONFIG_ISA_MMIO
Quoted 11 lines · David Gibson
Commit 61fcb62 "
isa_mmio: delete" removed theCONFIG_ISA_MMIOswitch and theisa_mmiocode controlled by it. However, a few of the default-configs
still set the variable, pointlessly. This cleans these up.Signed-off-by David Gibson <[email protected]>--- default-configs/arm-softmmu.mak | 1 - default-configs/ppc-softmmu.mak | 1 - default-configs/ppc64-softmmu.mak | 1 - default-configs/sparc64-softmmu.mak | 1 - 4 files changed, 4 deletions(-)
thanks
-- PMM
PATCH v2 2/4 Split serial-isa into its own config option
In reply to David GibsonAt present, the core device model code for 8250-like serial ports (serial.c) and the code for serial ports attached to ISA-style legacy IO (serial-isa.c) are both controlled by the CONFIG_SERIAL variable.
There are lots and lots of embedded platforms that have 8250-like serial ports but have never had anything resembling ISA legacy IO. Therefore, split serial-isa into its own CONFIG_SERIAL_ISA option so it can be disabled for platforms where it's not appropriate.
For now, I enabled CONFIG_SERIAL_ISA in every default-config where CONFIG_SERIAL is enabled, excepting microblaze, moxie, or32, and xtensa. As best as I can tell, those platforms never used legacy ISA, and also don't include PCI support (which would allow connection of a PCI->ISA bridge and/or a southbridge including legacy ISA serial ports).
--- default-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 1 + default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/ppc-softmmu.mak | 1 + default-configs/ppc64-softmmu.mak | 1 + default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/char/Makefile.objs | 3 ++- 15 files changed, 16 insertions(+), 1 deletion(-)
default-configs/alpha-softmmu.mak +1 -0
@@ -3,6 +3,7 @@ include pci.mak include usb.mak CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_I8254=y CONFIG_PCKBD=y CONFIG_VGA_CIRRUS=y
default-configs/arm-softmmu.mak +1 -0
@@ -6,6 +6,7 @@ CONFIG_VGA=y CONFIG_NAND=y CONFIG_ECC=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PTIMER=y CONFIG_SD=y CONFIG_MAX7310=y
default-configs/i386-softmmu.mak +1 -0
@@ -9,6 +9,7 @@ CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y CONFIG_VMMOUSE=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
default-configs/mips-softmmu.mak +1 -0
@@ -9,6 +9,7 @@ CONFIG_VGA_ISA_MM=y CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
default-configs/mips64-softmmu.mak +1 -0
@@ -9,6 +9,7 @@ CONFIG_VGA_ISA_MM=y CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
default-configs/mips64el-softmmu.mak +1 -0
@@ -9,6 +9,7 @@ CONFIG_VGA_ISA_MM=y CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
default-configs/mipsel-softmmu.mak +1 -0
@@ -9,6 +9,7 @@ CONFIG_VGA_ISA_MM=y CONFIG_VGA_CIRRUS=y CONFIG_VMWARE_VGA=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
default-configs/ppc-softmmu.mak +1 -0
@@ -45,5 +45,6 @@ CONFIG_PLATFORM_BUS=y CONFIG_ETSEC=y CONFIG_LIBDECNUMBER=y # For PReP +CONFIG_SERIAL_ISA=y CONFIG_MC146818RTC=y CONFIG_ISA_TESTDEV=y
default-configs/ppc64-softmmu.mak +1 -0
@@ -49,5 +49,6 @@ CONFIG_LIBDECNUMBER=y CONFIG_XICS=$(CONFIG_PSERIES) CONFIG_XICS_KVM=$(and $(CONFIG_PSERIES),$(CONFIG_KVM)) # For PReP +CONFIG_SERIAL_ISA=y CONFIG_MC146818RTC=y CONFIG_ISA_TESTDEV=y
default-configs/ppcemb-softmmu.mak +1 -0
@@ -5,6 +5,7 @@ include sound.mak include usb.mak CONFIG_M48T59=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_I8257=y CONFIG_OPENPIC=y CONFIG_PFLASH_CFI01=y
default-configs/sh4-softmmu.mak +1 -0
@@ -3,6 +3,7 @@ include pci.mak include usb.mak CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_SH4=y
default-configs/sh4eb-softmmu.mak +1 -0
@@ -3,6 +3,7 @@ include pci.mak include usb.mak CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PTIMER=y CONFIG_PFLASH_CFI02=y CONFIG_SH4=y
default-configs/sparc64-softmmu.mak +1 -0
@@ -5,6 +5,7 @@ include usb.mak CONFIG_M48T59=y CONFIG_PTIMER=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_PCKBD=y CONFIG_FDC=y
default-configs/x86_64-softmmu.mak +1 -0
@@ -10,6 +10,7 @@ CONFIG_VMWARE_VGA=y CONFIG_VIRTIO_VGA=y CONFIG_VMMOUSE=y CONFIG_SERIAL=y +CONFIG_SERIAL_ISA=y CONFIG_PARALLEL=y CONFIG_I8254=y CONFIG_PCSPK=y
hw/char/Makefile.objs +2 -1
@@ -2,7 +2,8 @@ common-obj-$(CONFIG_IPACK) += ipoctal232.o common-obj-$(CONFIG_ESCC) += escc.o common-obj-$(CONFIG_PARALLEL) += parallel.o common-obj-$(CONFIG_PL011) += pl011.o -common-obj-$(CONFIG_SERIAL) += serial.o serial-isa.o +common-obj-$(CONFIG_SERIAL) += serial.o +common-obj-$(CONFIG_SERIAL_ISA) += serial-isa.o common-obj-$(CONFIG_SERIAL_PCI) += serial-pci.o common-obj-$(CONFIG_VIRTIO) += virtio-console.o common-obj-$(CONFIG_XILINX) += xilinx_uartlite.o
Signature · 1 line
2.4.3
PATCH v2 3/4 Allow ISA bus to be configured out
In reply to David GibsonCurrently, the code to handle the legacy ISA bus is always included in qemu. However there are lots of platforms that don't include ISA legacy devies, and quite a few that have never used ISA legacy devices at all.
This patch allows the ISA bus code to be disabled in the configuration for platforms where it doesn't make sense.
For now, the default configs are adjusted to include ISA on all platforms including PCI: anything with PCI can at least in principle add an i82378 PCI->ISA bridge. Also, CONFIG_IDE_CORE which is already in pci.mak requires ISA support.
We also explicitly enable ISA on some other non-PCI platforms which include ISA devices. We may want to pare this down in future.
--- default-configs/moxie-softmmu.mak | 1 + default-configs/pci.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/unicore32-softmmu.mak | 1 + hw/isa/Makefile.objs | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-)
default-configs/moxie-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for moxie-softmmu +CONFIG_ISA_BUS=y CONFIG_MC146818RTC=y CONFIG_SERIAL=y CONFIG_VGA=y
default-configs/pci.mak +1 -0
@@ -1,4 +1,5 @@ CONFIG_PCI=y +CONFIG_ISA_BUS=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO=y CONFIG_USB_UHCI=y
default-configs/sparc-softmmu.mak +1 -0
@@ -1,5 +1,6 @@ # Default configuration for sparc-softmmu +CONFIG_ISA_BUS=y CONFIG_ECC=y CONFIG_ESP=y CONFIG_ESCC=y
default-configs/unicore32-softmmu.mak +1 -0
@@ -1,4 +1,5 @@ # Default configuration for unicore32-softmmu +CONFIG_ISA_BUS=y CONFIG_PUV3=y CONFIG_PTIMER=y CONFIG_PCKBD=y
hw/isa/Makefile.objs +1 -1
@@ -1,4 +1,4 @@ -common-obj-y += isa-bus.o +common-obj-$(CONFIG_ISA_BUS) += isa-bus.o common-obj-$(CONFIG_APM) += apm.o common-obj-$(CONFIG_I82378) += i82378.o common-obj-$(CONFIG_PC87312) += pc87312.o
Signature · 1 line
2.4.3
Re: [Qemu-devel] [PATCHv2 3/4] Allow ISA bus to be configured out
Quoted 10 lines · David Gibson
Currently, the code to handle the legacy ISA bus is always included in qemu. However there are lots of platforms that don't include ISA legacy devies, and quite a few that have never used ISA legacy devices at all.
This patch allows the ISA bus code to be disabled in the configuration for platforms where it doesn't make sense.
For now, the default configs are adjusted to include ISA on all platforms including PCI: anything with PCI can at least in principle add an i82378
PCI->ISAbridge.
That would be a config bug, won't it?
Don't enable CONFIG_I82378 unless you want ISA.
Quoted 2 lines
Also,
CONFIG_IDE_COREwhich is already in pci.mak
requires ISA support.
Ugh that's ugly. We really need to express dependencies between config options, long term.
Until we support this, how about a comment to document why is ISA pulled in by pci.mak?
Quoted 5 lines
We also explicitly enable ISA on some other non-PCI platforms which include ISA devices. We may want to pare this down in future.
Signed-off-by David Gibson <[email protected]>
Only a comment requested so
Quoted 62 lines
--- default-configs/moxie-softmmu.mak | 1 + default-configs/pci.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/unicore32-softmmu.mak | 1 + hw/isa/Makefile.objs | 2 +- 5 files changed, 5 insertions(+), 1 deletion(-)default-configs/moxie-softmmu.mak +1
-0@@ -1,5 +1,6 @@ # Default configuration for moxie-softmmu +CONFIG_ISA_BUS=y CONFIG_MC146818RTC=y CONFIG_SERIAL=y CONFIG_VGA=ydefault-configs/pci.mak +1
-0@@ -1,4 +1,5 @@ CONFIG_PCI=y +CONFIG_ISA_BUS=y CONFIG_VIRTIO_PCI=y CONFIG_VIRTIO=y CONFIG_USB_UHCI=ydefault-configs/sparc-softmmu.mak +1
-0@@ -1,5 +1,6 @@ # Default configuration for sparc-softmmu +CONFIG_ISA_BUS=y CONFIG_ECC=y CONFIG_ESP=y CONFIG_ESCC=ydefault-configs/unicore32-softmmu.mak +1
-0@@ -1,4 +1,5 @@ # Default configuration for unicore32-softmmu +CONFIG_ISA_BUS=y CONFIG_PUV3=y CONFIG_PTIMER=y CONFIG_PCKBD=yhw/isa/Makefile.objs +1
-1@@ -1,4 +1,4 @@ -common-obj-y += isa-bus.o +common-obj-$(CONFIG_ISA_BUS) += isa-bus.o common-obj-$(CONFIG_APM) += apm.o common-obj-$(CONFIG_I82378) += i82378.o common-obj-$(CONFIG_PC87312) += pc87312.oSignature · 1 line
2.4.3
PATCH v2 4/4 Split ISA and sysbus versions of m48t59 device
In reply to David GibsonThe m48t59 device supports both ISA and direct sysbus attached versions of the device in the one .c file. This can be awkward for some embedded machine types which need the sysbus M48T59, but don't want to pull in the ISA bus code and its other dependencies.
Therefore, this patch splits out the code for the ISA attached M48T59 into its own C file. It will be built when both CONFIG_M48T59 and CONFIG_ISA_BUS are enabled.
--- hw/timer/Makefile.objs | 3 + hw/timer/m48t59-internal.h | 82 ++++++++++++++++ hw/timer/m48t59-isa.c | 180 +++++++++++++++++++++++++++++++++++ hw/timer/m48t59.c | 228 ++++----------------------------------------- 4 files changed, 283 insertions(+), 210 deletions(-) create mode 100644 hw/timer/m48t59-internal.h create mode 100644 hw/timer/m48t59-isa.c
hw/timer/Makefile.objs +3 -0
@@ -6,6 +6,9 @@ common-obj-$(CONFIG_DS1338) += ds1338.o common-obj-$(CONFIG_HPET) += hpet.o common-obj-$(CONFIG_I8254) += i8254_common.o i8254.o common-obj-$(CONFIG_M48T59) += m48t59.o +ifeq ($(CONFIG_ISA_BUS),y) +common-obj-$(CONFIG_M48T59) += m48t59-isa.o +endif common-obj-$(CONFIG_PL031) += pl031.o common-obj-$(CONFIG_PUV3) += puv3_ost.o common-obj-$(CONFIG_TWL92230) += twl92230.o
hw/timer/m48t59-internal.h new file +82 -0
82 lines not on this page · raw message
hw/timer/m48t59-isa.c new file +180 -0
180 lines not on this page · raw message
hw/timer/m48t59.c +18 -210
341 lines not on this page · raw message
Signature · 1 line
2.4.3
Quoted 16 lines · David Gibson
At the moment
isa-bus.cis compiled unconditionally for all targets. However, some targets have never used legacy ISA devices. Many more targets have at least some machine types without ISA.These patches allow ISA bus to be disabled in the configuration, thus allowing cut down configurations for targets and machine types that don't have ISA.
Actually turning off ISA will require more than this for most targets
- there are a number of non-obvious dependencies on the ISA code. b19c1c0 "isa: removeisa_mem_basevariable" already got rid of an important one (VGA depended on ISA). Patches 2/4 and 4/4 in this series remove some more. There are a number more though, for exampleCONFIG_IDE_COREdepends on ISA and the HMP "info irq" command depends on I8259 code.
Quoted 7 lines
This patch should allow easier experimentation so we can chip away at those dependencies on legacy code in the future.
Changes in v2:
* Removed changes to HMP, since it would cause a regression for PReP
* Added a cleanup of the deadCONFIG_ISA_MMIOvariable
* Clearer explanation of the situation in commit messages
Overall I don't have a problem with this.
I think this needs to be deferred until after 2.4 though, pls remember to re-post then.
Quoted 36 lines
David Gibson (4):
Cleanup leftoverCONFIG_ISA_MMIO
Split serial-isa into its own config option
Allow ISA bus to be configured out
Split ISA and sysbus versions of m48t59 devicedefault-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 2 +- default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/moxie-softmmu.mak | 1 + default-configs/pci.mak | 1 + default-configs/ppc-softmmu.mak | 2 +- default-configs/ppc64-softmmu.mak | 2 +- default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 2 +- default-configs/unicore32-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/char/Makefile.objs | 3 +- hw/isa/Makefile.objs | 2 +- hw/timer/Makefile.objs | 3 + hw/timer/m48t59-internal.h | 82 ++++++++++++ hw/timer/m48t59-isa.c | 180 +++++++++++++++++++++++++++ hw/timer/m48t59.c | 228 +++------------------------------- 24 files changed, 304 insertions(+), 216 deletions(-) create mode 100644 hw/timer/m48t59-internal.h create mode 100644 hw/timer/m48t59-isa.cSignature · 1 line
2.4.3
Quoted 20 lines · Michael S. Tsirkin
Quoted 19 lines · David Gibson
At the moment
isa-bus.cis compiled unconditionally for all targets. However, some targets have never used legacy ISA devices. Many more targets have at least some machine types without ISA.These patches allow ISA bus to be disabled in the configuration, thus allowing cut down configurations for targets and machine types that don't have ISA.
Actually turning off ISA will require more than this for most targets
- there are a number of non-obvious dependencies on the ISA code. b19c1c0 "isa: removeisa_mem_basevariable" already got rid of an important one (VGA depended on ISA). Patches 2/4 and 4/4 in this series remove some more. There are a number more though, for exampleCONFIG_IDE_COREdepends on ISA and the HMP "info irq" command depends on I8259 code.This patch should allow easier experimentation so we can chip away at those dependencies on legacy code in the future.
Quoted 8 lines
Quoted 4 lines
Changes in v2:
* Removed changes to HMP, since it would cause a regression for PReP
* Added a cleanup of the deadCONFIG_ISA_MMIOvariable
* Clearer explanation of the situation in commit messagesOverall I don't have a problem with this.
I think this needs to be deferred until after 2.4 though, pls remember to re-post then.
Looks like v1 was posted before freeze.
I take this back, and defer the decision to whoever merges this.
Quoted 36 lines
Quoted 36 lines
David Gibson (4):
Cleanup leftoverCONFIG_ISA_MMIO
Split serial-isa into its own config option
Allow ISA bus to be configured out
Split ISA and sysbus versions of m48t59 devicedefault-configs/alpha-softmmu.mak | 1 + default-configs/arm-softmmu.mak | 2 +- default-configs/i386-softmmu.mak | 1 + default-configs/mips-softmmu.mak | 1 + default-configs/mips64-softmmu.mak | 1 + default-configs/mips64el-softmmu.mak | 1 + default-configs/mipsel-softmmu.mak | 1 + default-configs/moxie-softmmu.mak | 1 + default-configs/pci.mak | 1 + default-configs/ppc-softmmu.mak | 2 +- default-configs/ppc64-softmmu.mak | 2 +- default-configs/ppcemb-softmmu.mak | 1 + default-configs/sh4-softmmu.mak | 1 + default-configs/sh4eb-softmmu.mak | 1 + default-configs/sparc-softmmu.mak | 1 + default-configs/sparc64-softmmu.mak | 2 +- default-configs/unicore32-softmmu.mak | 1 + default-configs/x86_64-softmmu.mak | 1 + hw/char/Makefile.objs | 3 +- hw/isa/Makefile.objs | 2 +- hw/timer/Makefile.objs | 3 + hw/timer/m48t59-internal.h | 82 ++++++++++++ hw/timer/m48t59-isa.c | 180 +++++++++++++++++++++++++++ hw/timer/m48t59.c | 228 +++------------------------------- 24 files changed, 304 insertions(+), 216 deletions(-) create mode 100644 hw/timer/m48t59-internal.h create mode 100644 hw/timer/m48t59-isa.cSignature · 1 line
2.4.3
Quoted 1 line · David Gibson
default-configs/ppc64-softmmu.mak | 2 +-
Note: My native POWER8 work will need ISA back here, so maybe don't remove it ?
The P8 chip has an LPC bus which is effectively an serialized variant of an ISA bus and I'm representing it as such in qemu, adding ISA serial and RTC (and soon IPMI BT when those patches get in) to it.
Cheers,
Ben.
Quoted 5 lines · Benjamin Herrenschmidt
Quoted 1 line · David Gibson
default-configs/ppc64-softmmu.mak | 2 +-Note: My native POWER8 work will need ISA back here, so maybe don't remove it ?
So far this series doesn't remove anything - it removes CONFIG_ISA_MMIO which didn't do anything anyway, and adds CONFIG_SERIAL_ISA, since its no longer implied by CONFIG_SERIAL.
The series just allows things to be removed, it doesn't actually remove them from ppc64.
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson