[PATCH] gdb-xml: Fix size of EFER register on i386 architecture when debugged by GDB

2022-09-13 Thread TaiseiIto
nd EFER in 'g' packet has been shifted 4 bytes in GDB. After this commit, GDB can read 'g' packets correctly. Signed-off-by: TaiseiIto --- gdb-xml/i386-32bit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-xml/i386-32bit.xml b/gdb-xml/i386-32bi

[PATCH v2] [PING^3] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2023-02-10 Thread TaiseiIto
QEMU reads registers to make a 'g' packet, QEMU specifies FPU stack registers by the relative index. Then, the registers are ordered correctly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i3

[PATCH] [PING] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2023-02-15 Thread TaiseiIto
QEMU reads registers to make a 'g' packet, QEMU specifies FPU stack registers by the relative index. Then, the registers are ordered correctly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i3

[PATCH] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2022-12-08 Thread TaiseiIto
tly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i386/gdbstub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/gdbstub.c b/target/i386/gdbstub.c index c3a2cf6

[PATCH v2] [PING^2] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2023-02-03 Thread TaiseiIto
QEMU reads registers to make a 'g' packet, QEMU specifies FPU stack registers by the relative index. Then, the registers are ordered correctly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i3

[PATCH] [PING^2] gdb-xml: Fix size of EFER register on i386 architecture when debugged by GDB

2022-10-21 Thread TaiseiIto
acket has been shifted 4 bytes in GDB. After this commit, GDB can read 'g' packets correctly. Signed-off-by: TaiseiIto --- gdb-xml/i386-32bit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-xml/i386-32bit.xml b/gdb-xml/i386-32bit.xml index 872fcea9c2..7a66a

[PATCH] [PING^3] gdb-xml: Fix size of EFER register on i386 architecture when debugged by GDB

2022-10-28 Thread TaiseiIto
acket has been shifted 4 bytes in GDB. After this commit, GDB can read 'g' packets correctly. Signed-off-by: TaiseiIto --- gdb-xml/i386-32bit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-xml/i386-32bit.xml b/gdb-xml/i386-32bit.xml index 872fcea9c2..7a66a

[PATCH] [PING] gdb-xml: Fix size of EFER register on i386 architecture when debugged by GDB

2022-10-09 Thread TaiseiIto
acket has been shifted 4 bytes in GDB. After this commit, GDB can read 'g' packets correctly. Signed-off-by: TaiseiIto --- gdb-xml/i386-32bit.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-xml/i386-32bit.xml b/gdb-xml/i386-32bit.xml index 872fcea9c2..7a66a

[PATCH v2] [PING] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2023-01-06 Thread TaiseiIto
QEMU reads registers to make a 'g' packet, QEMU specifies FPU stack registers by the relative index. Then, the registers are ordered correctly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i3

[PATCH] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2022-12-18 Thread TaiseiIto
tly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i386/gdbstub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/gdbstub.c b/target/i386/gdbstub.c index c3a2cf6

[PATCH] target/i386/gdbstub: Fix a bug about order of FPU stack in 'g' packets.

2022-12-18 Thread TaiseiIto
tly in the packet. As a result, GDB, the packet receiver, can print FPU stack registers in the correct order. Signed-off-by: TaiseiIto --- target/i386/gdbstub.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/target/i386/gdbstub.c b/target/i386/gdbstub.c index c3a2cf6

[PING][PATCH] hw/intc/ioapic: Delete a wrong IRQ redirection on I/O APIC

2024-07-19 Thread TaiseiIto
This is a ping for the patch below. https://lore.kernel.org/qemu-devel/ty0pr0101mb42850337f8917d1f514107fba4...@ty0pr0101mb4285.apcprd01.prod.exchangelabs.com/

[PATCH] [PATCH] system/memory: Fix max access size

2024-07-20 Thread TaiseiIto
efore, the comparator register of the HPET timer has correct value. As a result, the HPET timer generates interruptions at the correct time. Signed-off-by: TaiseiIto --- system/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/memory.c b/system/memory.c index 5e6eb

[PATCH v2] hw/timer/hpet: Fix wrong HPET interrupts

2024-07-13 Thread TaiseiIto
alue register. Second, disabled HPET timers never cause any interrupt. Third, enabled HPET timers cause interrupts correctly even if an HPET driver writes 0x to its comparator value register. Signed-off-by: TaiseiIto --- Changes in v2: - Reflect writings to higher 32 bits of a

[PATCH] hw/intc/ioapic: Delete a wrong IRQ redirection on I/O APIC

2024-06-25 Thread TaiseiIto
16b29ae1807b024bd5052301550f5d47dae958a2 but this redirection caused wrong interruptions. So I deleted the redirection. Finally, I confirmed there is no problem on 'make check' results and that interruptions from i8254 and interruptions from HPET are correclty sent to IRQ0 and IRQ2 respectively. Signed-off-by: TaiseiIto --

[PATCH] hw/timer/hpet: Fix wrong HPET interrupts

2024-06-18 Thread TaiseiIto
rrupt. Third, enabled HPET timers cause interrupts correctly even if an HPET driver writes 0x to its comparator value register. Signed-off-by: TaiseiIto --- hw/timer/hpet.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/hw/timer/hpet.c b/hw/timer/hpet.c index