target-ppc: Update slb array with correct index values.
Without this, a value of rb=0 and rs=0 results in replacing the 0thindex. This can be observed when using gdb remote debugging support.
(gdb) x/10i do_fork 0xc000000000085330 <do_fork>: Cannot access memory at address 0xc000000000085330...
target-ppc: Check for error on address translation in memsave command
When we translate the virtual address to physical check for error.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>Signed-off-by: Alexander Graf <agraf@suse.de>
target-ppc: Use #define for max slb entries
Instead of opencoding 64 use MAX_SLB_ENTRIES. We don't update the kernelheader here.
xics: split to xics and xics-common
The upcoming XICS-KVM support will use bits of emulated XICS code.So this introduces new level of hierarchy - "xics-common" class. Bothemulated XICS and XICS-KVM will inherit from it and override classcallbacks when required....
xics: add cpu_setup callback
This adds a cpu_setup callback to the XICS device class (as XICS-KVMwill do it different), xics_cpu_setup() will call it if it is set.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>Signed-off-by: Alexander Graf <agraf@suse.de>
xics-kvm: Support for in-kernel XICS interrupt controller
Recent (host) kernels support emulating the PAPR defined "XICS" interruptcontroller system within KVM. This patch allows qemu to initialize andconfigure the in-kernel XICS, and keep its state in sync with qemu's XICS...
xics: Implement H_IPOLL
This adds support for the H_IPOLL hypercall which the guestuses to poll for a pending interrupt. This hypercall ismandatory for PAPR+ and there is no way for the guest todetect whether it is supported or not so just add it.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>...
xics: Implement H_XIRR_X
This implements H_XIRR_X hypercall in addition to H_XIRR asit is mandatory for PAPR+ and there is no way for the guest todetect whether it is supported or not so just add it.
As the Partition Adjunct Option is not supported at the moment,...
xics-kvm: enable irqfd for MSI
This enables IRQFD support for sPAPR. The feature decreases the latencyof interrupt handling.
To enable IRQFD for MSI, this sets kvm_gsi_direct_mapping to true whichenables direct MSI mapping.
To enable IRQFD for LSI (level triggered INTx interrupts), a PCI host bus...
spapr-pci: enable irqfd for INTx
This enables IRQFD for LSI (level triggered INTx interrupts) by addinga spapr_route_intx_pin_to_irq() callback to the sPAPR PCI host bus. Thiscallback is called to know the global interrupt number to link resampling fdwith IRQFD's fd in KVM....
View all revisions | View revisions
Also available in: Atom