[Qemu-devel] [PATCH 08/38] target/hppa: Add space registers

2017-12-28 Thread Richard Henderson
Not used where they should be yet, but we can copy them. Signed-off-by: Richard Henderson --- target/hppa/cpu.h | 1 + target/hppa/helper.c| 14 ++ target/hppa/translate.c | 73 + 3 files changed, 77 insertions(+), 11 deletions(-

Re: [Qemu-devel] [PATCH v14 2/9] ACPI: Add APEI GHES table generation and CPER record support

2017-12-28 Thread gengdongjiu
Igor, Thank you very much for your review and your time. I will check your comments in detail later. On 2017/12/28 22:18, Igor Mammedov wrote: > On Thu, 28 Dec 2017 13:54:11 +0800 > Dongjiu Geng wrote: > >> This implements APEI GHES Table generation and record CPER in >> runtime via fw_cfg bl

[Qemu-devel] [PATCH 33/38] target/hppa: Implement B,GATE insn

2017-12-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/hppa/cpu.h| 1 + target/hppa/mem_helper.c | 8 target/hppa/translate.c | 48 3 files changed, 57 insertions(+) diff --git a/target/hppa/cpu.h b/target/hppa/cpu.h index 648b78986e..0f8

[Qemu-devel] [PATCH 25/38] target/hppa: Implement LPA

2017-12-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/hppa/cpu.h| 1 + target/hppa/helper.h | 1 + target/hppa/mem_helper.c | 13 + target/hppa/op_helper.c | 10 +- target/hppa/translate.c | 30 ++ 5 files changed, 50 insertions(+), 5 deletion

[Qemu-devel] [PATCH 31/38] target/hppa: Add system registers to gdbstub

2017-12-28 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/hppa/gdbstub.c | 156 ++ 1 file changed, 156 insertions(+) diff --git a/target/hppa/gdbstub.c b/target/hppa/gdbstub.c index fc27aec073..e2e9c4d77f 100644 --- a/target/hppa/gdbstub.c +++ b/target/hppa/gdbs

[Qemu-devel] [PATCH 28/38] target/hppa: Implement a halt instruction

2017-12-28 Thread Richard Henderson
Real hardware would use an external device to control the power. But for the moment let's invent an instruction in reserved space. Suggested-by: Helge Deller Signed-off-by: Richard Henderson --- target/hppa/helper.h| 1 + target/hppa/op_helper.c | 7 +++ target/hppa/translate.c | 18 +

[Qemu-devel] [PATCH 35/38] qom: Add MMU_DEBUG_LOAD

2017-12-28 Thread Richard Henderson
This lets us tell bottom levels of virtual memory translation routines that the access is from within QEMU itself and bypass certain tests. Cc: Andreas Färber Signed-off-by: Richard Henderson --- include/qom/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/qom

[Qemu-devel] [PATCH 38/38] target/hppa: Fix comment

2017-12-28 Thread Richard Henderson
From: Helge Deller Signed-off-by: Helge Deller Message-Id: <20171212212319.ga31...@ls3530.fritz.box> Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 680a361d

[Qemu-devel] [PATCH 34/38] target/hppa: Only use EXCP_DTLB_MISS

2017-12-28 Thread Richard Henderson
Unknown why this works, but if we return EXCP_ITLB_MISS we will triple-fault the first userland instruction fetch. Is it something to do with having a combined I/DTLB? Signed-off-by: Richard Henderson --- target/hppa/mem_helper.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --g

[Qemu-devel] [PATCH 36/38] target/hppa: Use MMU_DEBUG_LOAD when reloading for CR[IIR]

2017-12-28 Thread Richard Henderson
Bypass any tlb protection checks, as this is not a "real" access to memory per the architecture. Signed-off-by: Richard Henderson --- target/hppa/int_helper.c | 2 +- target/hppa/mem_helper.c | 19 ++- 2 files changed, 15 insertions(+), 6 deletions(-) diff --git a/target/hppa/i

[Qemu-devel] [PATCH 37/38] target/hppa: Increase number of temp regs

2017-12-28 Thread Richard Henderson
HP-UX 10.20 CD contains "add r0, r0, r27" in a delay slot, which uses at least 5 temps. Signed-off-by: Richard Henderson --- target/hppa/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/hppa/translate.c b/target/hppa/translate.c index 4430a4bfdb..680a361d29

[Qemu-devel] [PATCH 1/5] doc: another fix to "info pic"

2017-12-28 Thread Peter Xu
Something that commit 254316fa1f ("intc: make HMP 'info irq' and 'info pic' commands available on all targets", 2016-10-04) forgot to touch up. Signed-off-by: Peter Xu --- hmp-commands-info.hx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hmp-commands-info.hx b/hmp-commands

[Qemu-devel] [PATCH 0/5] ioapic: support TYPE_INTERRUPT_STATS_PROVIDER

2017-12-28 Thread Peter Xu
Let ioapic join the big family. At last, I obsoleted "info ioapic", kept the interface but telling people to start use "info pic". We can fully remove it after some releases. Please review, thanks. Peter Xu (5): doc: another fix to "info pic" ioapic: support "info pic" ioapic: some proper

[Qemu-devel] [PATCH 2/5] ioapic: support "info pic"

2017-12-28 Thread Peter Xu
People start to use "info pic" for all kinds of irqchip dumps. Let x86 ioapic join the family. It dumps the same thing as "info ioapic". Signed-off-by: Peter Xu --- hw/intc/ioapic_common.c | 16 1 file changed, 16 insertions(+) diff --git a/hw/intc/ioapic_common.c b/hw/intc/i

[Qemu-devel] [PATCH 3/5] ioapic: some proper indents when dump info

2017-12-28 Thread Peter Xu
So that now it looks better when with other irqchips. Signed-off-by: Peter Xu --- hw/intc/ioapic_common.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hw/intc/ioapic_common.c b/hw/intc/ioapic_common.c index c62ba27018..a02c135b24 100644 --- a/hw/intc/ioapic_common.

[Qemu-devel] [PATCH 5/5] hmp: obsolete "info ioapic"

2017-12-28 Thread Peter Xu
Let's start to use "info pic" just like other platforms. For now we keep the command for a while so that old users can know what is the new command to use. Signed-off-by: Peter Xu --- hw/i386/kvm/ioapic.c | 9 - hw/intc/ioapic.c | 11 --- include/hw/i386/pc.h | 3 --- t

[Qemu-devel] [PATCH 4/5] ioapic: support "info irq"

2017-12-28 Thread Peter Xu
This include both userspace and in-kernel ioapic. Note that the numbers can be inaccurate for kvm-ioapic. One reason is the same with kvm-i8259, that when irqfd is used, irqs can be delivered all inside kernel without our notice. Meanwhile, kvm-ioapic is specially treated when irq numbers ---

<    1   2