[Qemu-devel] [PATCH v3 3/3] Add partial flash interleaving to AMD CFI devices

2017-11-13 Thread Mike Nawrocki
This mirrors the interleaving support already in place in pflash_cfi01.c, using the max_device_width and device_width properties. Signed-off-by: Mike Nawrocki --- hw/block/pflash_cfi02.c | 244 +--- 1 file changed, 209 insertions(+), 35 deletions

[Qemu-devel] [PATCH v3 2/3] Enable 8-byte wide access to AMD CFI devices

2017-11-13 Thread Mike Nawrocki
Signed-off-by: Mike Nawrocki --- hw/block/pflash_cfi02.c | 143 ++-- 1 file changed, 102 insertions(+), 41 deletions(-) diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c index a81df913f6..29eb0429a3 100644 --- a/hw/block/pflash_cfi02.c

[Qemu-devel] [PATCH v3 1/3] Switch AMD CFI flash to use new MMIO API

2017-11-13 Thread Mike Nawrocki
Signed-off-by: Mike Nawrocki --- hw/block/pflash_cfi02.c | 97 + 1 file changed, 18 insertions(+), 79 deletions(-) diff --git a/hw/block/pflash_cfi02.c b/hw/block/pflash_cfi02.c index c81ddd3a99..a81df913f6 100644 --- a/hw/block/pflash_cfi02.c

[Qemu-devel] [PATCH v3 0/3] Add 8-byte wide AMD flash support, partial interleaving

2017-11-13 Thread Mike Nawrocki
he same interface as pflash_cfi01.c. Much of the code was taken and adapted from that file. Version 3 of the patch splits the patch set into distinct patches based on the modified functionality. Mike Nawrocki (3): Switch AMD CFI flash to use new MMIO API Enable 8-byte wide access to AMD CFI devices

[Qemu-devel] [PATCH v2 1/1] Add 8-byte access, interleaving to AMD CFI devices

2017-11-10 Thread Mike Nawrocki
This adds 8-byte wide access support to AMD CFI flash devices. Additionally, it migrates the MMIO operations from old_mmio to the new API. Finally, it mirrors the interleaving support already in place in pflash_cfi01.c, using the max_device_width and device_width properties. Signed-off-by: Mike

[Qemu-devel] [PATCH v2 0/1] Add 8-byte wide AMD flash support, partial interleaving

2017-11-10 Thread Mike Nawrocki
he same interface as pflash_cfi01.c. Much of the code was taken and adapted from that file. Version 1 of the patch set changed the flash register function (and all usages), version 2 localizes changes to the pflash_cfi02.c file. Mike Nawrocki (1): Add 8-byte access, interleaving to AMD CF

[Qemu-devel] [PATCH v3 2/2] Add new PCI ID for i82559a

2017-11-07 Thread Mike Nawrocki
Adds a new PCI ID for the i82559a (0x8086 0x1030) interface. The "x-use-alt-device-id" property controls whether this new ID is to be used, and is true by default, and set to false in a compat entry. Signed-off-by: Mike Nawrocki --- hw/net/eepro100.c| 13 + include/h

[Qemu-devel] [PATCH v3 0/2] Fix eepro100 simple transmission, add i82559 PCI ID

2017-11-07 Thread Mike Nawrocki
x-use-alternate-device-id" property. This property is set to the compat value of false in "hw/include/compat.h" Mike Nawrocki (2): Fix eepro100 simple transmission mode Add new PCI ID for i82559a hw/net/eepro100.c| 31 --- include/hw/compat.h | 4 +

[Qemu-devel] [PATCH v3 1/2] Fix eepro100 simple transmission mode

2017-11-07 Thread Mike Nawrocki
The simple transmission mode was treating the area immediately after the transmit command block (TCB) as if it were a transmit buffer descriptor, when in reality it is simply the packet data. This change simply copies the data following the TCB into the packet buffer. Signed-off-by: Mike Nawrocki

[Qemu-devel] [PATCH v2 2/2] Add new PCI ID for i82559a

2017-11-06 Thread Mike Nawrocki
Adds a new PCI ID for the i82559a (0x8086 0x1030) interface. Enables this ID with a new property "use-alt-device-id" to preserve compatibility. Signed-off-by: Mike Nawrocki --- hw/net/eepro100.c| 12 include/hw/pci/pci.h | 1 + qemu-options.hx | 2 +- 3 files c

[Qemu-devel] [PATCH v2 0/2] Fix eepro100 simple transmission, add i82559 PCI ID

2017-11-06 Thread Mike Nawrocki
e-alt-device-id". Mike Nawrocki (2): Fix eepro100 simple transmission mode Add new PCI ID for i82559a hw/net/eepro100.c| 30 +++--- include/hw/pci/pci.h | 1 + qemu-options.hx | 2 +- 3 files changed, 17 insertions(+), 16 deletions(-) -- 2.14.2

[Qemu-devel] [PATCH v2 1/2] Fix eepro100 simple transmission mode

2017-11-06 Thread Mike Nawrocki
The simple transmission mode was treating the area immediately after the transmit command block (TCB) as if it were a transmit buffer descriptor, when in reality it is simply the packet data. This change simply copies the data following the TCB into the packet buffer. Signed-off-by: Mike Nawrocki

[Qemu-devel] [PATCH v2] Enable 8-byte wide MMIO for 16550 serial devices

2017-11-06 Thread Mike Nawrocki
Some drivers for the PPMC7400 PowerPC evaluation board accesses the serial registers through the floating point unit (stfd/ldfd), which is an 8-byte wide access. This patch enables that behavior. Signed-off-by: Mike Nawrocki --- hw/char/serial.c | 8 +++- 1 file changed, 7 insertions(+), 1

[Qemu-devel] [PATCH 2/2] Add i82559a eepro100 interface

2017-10-31 Thread Mike Nawrocki
Signed-off-by: Mike Nawrocki --- hw/net/eepro100.c| 2 +- hw/pci/pci.c | 2 ++ include/hw/pci/pci.h | 1 + qemu-options.hx | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c index 91dd058010..2c7c5cdeb9 100644 --- a/hw

[Qemu-devel] [PATCH 1/2] Fix eepro100 simple transmission mode

2017-10-31 Thread Mike Nawrocki
The simple transmission mode was treating the area immediately after the transmit command block (TCB) as if it were a transmit buffer descriptor, when in reality it is simply the packet data. This change simply copies the data following the TCB into the packet buffer. Signed-off-by: Mike Nawrocki

[Qemu-devel] [PATCH 0/2] Fix eepro100 simple transmission, add i82559 chipset

2017-10-31 Thread Mike Nawrocki
This patch set does two things. First, it fixes the simple transmission mode for the eepro100 chipset. Second, it adds and uses the PCI ID for the i82559 chipset, and enables selection of this chipset. Mike Nawrocki (2): Fix eepro100 simple transmission mode Add i82559a eepro100 interface

[Qemu-devel] [PATCH 1/2] Add 8-byte access to AMD CFI devices

2017-10-31 Thread Mike Nawrocki
This adds 8-byte wide access support to AMD CFI flash devices. Additionally, it migrates the MMIO operations from old_mmio to the new API. Signed-off-by: Mike Nawrocki --- hw/block/pflash_cfi02.c | 172 +++- 1 file changed, 81 insertions(+), 91

[Qemu-devel] [PATCH 2/2] Add support for flash interleaving of AMD chips

2017-10-31 Thread Mike Nawrocki
fy the AMD device array. Issuing commands to individual members of the flash array is not supported. Signed-off-by: Mike Nawrocki --- hw/arm/digic_boards.c| 2 +- hw/arm/musicpal.c| 4 ++-- hw/arm/xilinx_zynq.c | 2 +- hw/block/pflash_cfi

[Qemu-devel] [PATCH 0/2] Add 8-byte wide AMD flash support, partial interleaving

2017-10-31 Thread Mike Nawrocki
all "chips" simultaneously. See the example in the second patch for more details. This behavior is used by drivers for the PPMC7400 PowerPC evaluation board. Mike Nawrocki (2): Add 8-byte access to AMD CFI devices Add support for flash interleaving of AMD chips hw/arm/digic_boards.c

[Qemu-devel] [PATCH] Enable 8-byte wide MMIO for 16550 serial devices

2017-10-31 Thread Mike Nawrocki
Some drivers for the PPMC7400 PowerPC evaluation board accesses the serial registers through the floating point unit (stfd/ldfd), which is an 8-byte wide access. This patch enables that behavior. Signed-off-by: Mike Nawrocki --- hw/char/serial.c | 8 +++- 1 file changed, 7 insertions(+), 1

[Qemu-devel] [PATCH] Add PowerPC 32-bit guest memory dump support

2017-02-28 Thread Mike Nawrocki
Signed-off-by: Mike Nawrocki Sorry, I was only testing against the ppc-softmmu and ppc64-softmmu targets. I've now validated that this compiles against the following targets: ppc-softmmu,ppc64-softmmu,ppcemb-softmmu,s390x-softmmu,sh4-softmmu,ppc-linux-user,ppc64-linux-user,ppc64abi32-linux

[Qemu-devel] [PATCH] Add PowerPC 32-bit guest memory dump support

2017-02-27 Thread Mike Nawrocki
Signed-off-by: Mike Nawrocki I've rebased my branch on master and regenerated the patch. I've run the patch through checkstyle.pl and it reported no issues, whitespace or otherwise. I suspect that Outlook was messing with my formatting, so let's give git send-email a go. Ple