s390x: add ldeb instruction
While running perl, we encountered the ldeb instruction to be used,so we implement it :).
Signed-off-by: Alexander Graf <agraf@suse.de>
s390x: make ipte 31-bit aware
When running 31-bit code we can potentially map the same virtualaddress twice - once as 0x0yyyyyyy and once as 0x8yyyyyyy, becausethe upper bit gets ignored.
This also should be reflected in the tlb invalidation path, so we...
s390x: update R and C bits in storage key
When the s390x maps a page or writes happen to a page, the R and Cbits get updated. The easiest way to implement this in qemu is tosimply update them whenever we map a TLB translation and act accordingto the permissions....
s390x: implement rrbe instruction properly
The rrbe instruction resets the reference bit in the given storage key.So far, we merely made it a nop and also returned an invalid CC value,so that the kernel never knew if a page actually got accessed.
This patch implements it properly, flushing the R bit and returning the...
s390x: implement SIGP restart and shutdown
An s390x OS does reboot and shutdown triggers through hypercalls thatwe didn't implement on the TCG backend yet. That means that so far wecouldn't shut down virtual machines for example, having them hang onshutdown when not using KVM....
s390: fix reset hypercall to reset the status
This patch fixes the reset hypercall which is supposed to alsoreset the device status in device memory.This fixes the following bug:
[root@localhost driver]# echo virtio0 > unbind[ 35.056966] ------------[ cut here ]------------...
s390: fix short kernel command lines
The default kernel command line for s390 is"root=/dev/ram0 ro"
When overriding this line, we have to ensure to also copy the \0 toavoid false lines, for example, -append "root=/dev/vda" will result in"root=/dev/vda0 ro" with the current code....
s390: Fix cpu shutdown for KVM
On s390 a shutdown is the state of all CPUs being either stoppedor disabled (for interrupts) waiting. We have to track the overallnumber of running CPUs to call the shutdown sequence accordingly.This patch implements the counting and shutdown handling for the...
s390x: Add shutdown for TCG s390-virtio machine
Now that we have code in place to do refcounting of online CPUs, wecan drag the TCG code along and implement shutdown for that one too,so it doesn't feel left out by its KVM counterpart.
tcg: Standardize on TCGReg as the enum for hard registers
Most targets did not name the enum; tci used TCGRegister.
Signed-off-by: Richard Henderson <rth@twiddle.net>Reviewed-by: Andreas Färber <afaerber@suse.de>Reviewed-by: Stefan Weil <sw@weilnetz.de>...
View all revisions | View revisions
Also available in: Atom