hw/arm/sbsa-ref: fix typo breaking PCIe IRQs
PATCH 1/1 hw/arm/sbsa-ref: fix typo breaking PCIe IRQs
Fixing a typo in a previous patch that translated an "i" to a 1 and therefore breaking the allocation of PCIe interrupts. This was discovered when virtio-net-pci devices ceased to function correctly.
--- hw/arm/sbsa-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/arm/sbsa-ref.c +1 -1
@@ -565,7 +565,7 @@ static void create_pcie(SBSAMachineState *sms)for (i =0 ; i <GPEX_NUM_IRQS ; i++) {sysbus_connect_irq (SYS_BUS_DEVICE (dev), i, -qdev_get_gpio_in (sms->gic, irq +1 )); +qdev_get_gpio_in (sms->gic, irq + i));gpex_set_irq_num (GPEX_HOST (dev), i, irq + i); }
Signature · 1 line
2.25.1
Patchew URL: https://patchew.org/QEMU/[email protected]/
Patchew URL: https://patchew.org/QEMU/[email protected]/
Hi,
This series failed the docker-quick@centos7 build test. Please find the testing commands and their output below. If you have Docker installed, you can probably reproduce it locally.
=== TEST SCRIPT BEGIN ===
#!/bin/bash
make docker-image-centos7 V=1 NETWORK=1
time make docker-test-quick@centos7 SHOW_ENV=1 J=14 NETWORK=1 === TEST SCRIPT END ===
TEST check-unit: tests/test-char
Unexpected error in object_property_try_add() at /tmp/qemu-test/src/qom/object.c:1181:
attempt to add duplicate property 'serial-id' to object (type 'container')
ERROR test-char - too few tests run (expected 38, got 9)
make: *** [check-unit] Error 1
make: *** Waiting for unfinished jobs....
TEST iotest-qcow2: 029
TEST check-qtest-x86_64: tests/qtest/hd-geo-test
---
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['sudo', '-n', 'docker', 'run', '--label', 'com.qemu.instance.uuid=d020541d82784cb2ac804994220ba4ec', '-u', '1001', '--security-opt', 'seccomp=unconfined', '--rm', '-e', 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=14', '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', '/home/patchew/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', '/var/tmp/patchew-tester-tmp-q4fd6ckp/src/docker-src.2020-08-21-04.52.29.29067:/var/tmp/qemu:z,ro', 'qemu/centos7', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit status 2. filter=--filter=label=com.qemu.instance.uuid=d020541d82784cb2ac804994220ba4ec
make[1]: *** [docker-run] Error 1
make[1]: Leaving directory `/var/tmp/patchew-tester-tmp-q4fd6ckp/src'
make: *** [docker-run-test-quick@centos7] Error 2
real 15m58.687s
user 0m9.025s
The full log is available at
http://patchew.org/logs/[email protected]/testing.docker-quick@centos7/?type=message.
---
Email generated automatically by Patchew [https://patchew.org/].
Please send your feedback to [email protected]
Quoted 15 lines · Graeme Gregory
Fixing a typo in a previous patch that translated an "i" to a 1 and therefore breaking the allocation of PCIe interrupts. This was discovered when virtio-net-pci devices ceased to function correctly.
Fixes 48ba18e6d3f3 ("hw/arm/sbsa-ref: Simplify by moving the gic in the machine state")Signed-off-by Graeme Gregory <[email protected]>--- hw/arm/sbsa-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/arm/sbsa-ref.c +0
-0
hw/arm/sbsa-ref.c static void create_pcie(SBSAMachineState *sms) · line 568
Quoted 5 lines
hw/arm/sbsa-ref.c +1
-1@@ -565,7 +565,7 @@ static void create_pcie(SBSAMachineState *sms)for (i =0 ; i <GPEX_NUM_IRQS ; i++) {sysbus_connect_irq (SYS_BUS_DEVICE (dev), i, -qdev_get_gpio_in (sms->gic, irq +1 )); +qdev_get_gpio_in (sms->gic, irq + i));
Oops...
Quoted 4 lines
hw/arm/sbsa-ref.c +0
-0gpex_set_irq_num (GPEX_HOST (dev), i, irq + i); }
Peter Maydell
AppliedQuoted 10 lines · Graeme Gregory
Fixing a typo in a previous patch that translated an "i" to a 1 and therefore breaking the allocation of PCIe interrupts. This was discovered when virtio-net-pci devices ceased to function correctly.
Fixes 48ba18e6d3f3 ("hw/arm/sbsa-ref: Simplify by moving the gic in the machine state")Signed-off-by Graeme Gregory <[email protected]>--- hw/arm/sbsa-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to target-arm.next, thanks. (I added a cc: [email protected]; seems worth fixing in 5.1.1.)
-- PMM