Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 14cdf1c..37ef06c 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -735,7 +735,7
ned-off-by: Dominik Dingel
Acked-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/devices/vm.txt | 14 +++
arch/s390/include/uapi/asm/kvm.h | 1 +
arch/s390/kvm/kvm-s390.c | 65 ++--
3 files changed, 77
introduced.
These flags further define details of the requested STOP and can be easily
migrated.
Reviewed-by: Thomas Huth
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 2 +-
arch/s390/include/asm/kvm_host.h | 2
sparse rightfully complains about
warning: symbol '__inject_extcall' was not declared. Should it be static?
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/kvm/interrupt.c b/arc
ff-by: David Hildenbrand
Acked-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 5 ---
arch/s390/kvm/intercept.c| 15 ++---
arch/s390/kvm/interrupt.c| 71 +---
arch/s390/kvm/kvm-s390.c
high
order expansion of the tod clock value after it overflows the 64-bits of
the TOD.
Signed-off-by: Jason J. Herne
Reviewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/include/uapi/asm/kvm.h | 5 ++
arch/s390/kvm/
are undefined behaviour as of C99 6.10.3p11.
Lets use an indirection to fix this.
Signed-off-by: Christian Borntraeger
---
include/trace/events/kvm.h | 16 +---
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/include/trace/events/kvm.h b/include/trace/events/kvm.h
Am 15.01.2015 um 20:38 schrieb Oleg Nesterov:
> On 01/15, Christian Borntraeger wrote:
>>
>> --- a/arch/x86/include/asm/spinlock.h
>> +++ b/arch/x86/include/asm/spinlock.h
>> @@ -186,7 +186,7 @@ static inline void arch_spin_unlock_wait(arch_spinlock_t
>&g
Am 15.01.2015 um 21:01 schrieb Oleg Nesterov:
> On 01/15, Christian Borntraeger wrote:
>>
>> Am 15.01.2015 um 20:38 schrieb Oleg Nesterov:
>>> On 01/15, Christian Borntraeger wrote:
>>>>
>>>> --- a/arch/x86/include/asm/spinlock.h
>>>>
Am 16.01.2015 um 00:09 schrieb Michael Ellerman:
> On Thu, 2015-01-15 at 09:58 +0100, Christian Borntraeger wrote:
>> ACCESS_ONCE does not work reliably on non-scalar types. For
>> example gcc 4.6 and 4.7 might remove the volatile tag for such
>> accesses during the SRA (
Am 17.01.2015 um 11:50 schrieb Heiko Carstens:
[...]
>> +/* for KVM_SYNC_PFAULT and KVM_REG_S390_PFTOKEN */
>> +#define KVM_S390_PFAULT_TOKEN_INVALID 0xUL
>
> uapi is for both 64 bit and (theoretically) also 32 bit. So this
> should be 0xfff...ffULL instead of UL to prevent a
Adding Alex and Marcelo CC as git blame gives them authorship to that piece of
code.
Paolo, I assume that you will pick that up without a git tree if Alex/Marcelo
ack that change.
Christian
Am 15.01.2015 um 15:21 schrieb Christian Borntraeger:
> sparse complains about
> include/trace/
i Kivity2006-12-10 2053
> switch (ioctl) {
> 9a2bb7f4 drivers/kvm/kvm_main.c Avi Kivity2007-02-22 2054
> case KVM_RUN:
> f0fe5108 drivers/kvm/kvm_main.c Avi Kivity 2007-03-07 2055
> r = -EINVAL;
> f0fe5108 drivers/kvm/kvm_main.c Avi Kivity
Hildenbrand
Acked-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 1 -
arch/s390/include/uapi/asm/kvm.h | 3 +++
arch/s390/kvm/kvm-s390.c | 4
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/arch/s390/include/asm/kvm_host.h
ted key instructions.
----
Christian Borntraeger (2):
KVM: s390: make local function static
KVM: s390: no need to hold the kvm->mutex for floating interrupts
David Hildenbrand (12):
KVM: s390: prevent sleep duration underflows in handle_wait()
KVM:
just get rid of the unchecked return value.
Signed-off-by: Dominik Dingel
Acked-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/arm/kvm/arm.c | 3 +--
arch/mips/kvm/mips.c | 3 +--
arch/powerpc/kvm/powerpc.c | 3 +--
arch/s390/kvm/kvm-s390.c | 3 +--
arch/x86
From: Jens Freimann
When we convert interrupt data from struct kvm_s390_interrupt to
struct kvm_s390_irq we need to check the data in the input parameter
not the output parameter.
Acked-by: Cornelia Huck
Acked-by: Christian Borntraeger
Signed-off-by: Jens Freimann
Signed-off-by: Christian
From: Jens Freimann
Setting inti->type again is unnecessary here, so let's
remove this.
Acked-by: Cornelia Huck
Signed-off-by: Jens Freimann
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/s390/kvm/interrupt.
Cc: sta...@vger.kernel.org # v3.15+
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index a6cb238..6d7513e 100644
--- a/arch/s390/kvm/interrupt.c
+++ b
Am 03.02.2015 um 13:59 schrieb Paolo Bonzini:
>
>
> On 03/02/2015 13:11, Thomas Huth wrote:
>> The userspace (QEMU) then can simply call this ioctl when it wants
>> to read or write from/to virtual guest memory. Then kernel then takes
>> the IPTE-lock, walks the MMU table of the guest to find out
Am 03.02.2015 um 16:22 schrieb Paolo Bonzini:
>
>
> On 03/02/2015 16:16, Thomas Huth wrote:
>> Actually, I'd prefer to keep the "virtual" in the defines for the type
>> of operation below: When it comes to s390 storage keys, we likely might
>> need some calls for reading and writing to physical m
ff-by: David Hildenbrand
Cc: sta...@vger.kernel.org # v3.15+
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index c34e1d9..073b5f3 100644
--- a/arch/s390/kvm/interrupt.c
of these patches some more days
for external review. Is it ok to send a pull request early next week
or do you want it before 3.19?
There is one non-KVM s390 patch, but it has an ACK from Heiko Carstens
Christian Borntraeger (1):
KVM: s390: reenable LPP facility
David Hildenbrand (1):
KVM
Tony Krowiak
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 2 ++
arch/s390/kvm/kvm-s390.c | 49 ++--
2 files changed, 49 insertions(+), 2 deletions(-)
diff --git a/arch/s390/include/asm/kvm_host.h b/arch/s390/includ
ned-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 58 ++
arch/s390/kvm/kvm-s390.c | 121 ++
include/uapi/linux/kvm.h | 14 +
3 files changed, 193 insertions(+)
diff --git a/Documentation/virtual/k
commit 7be81a46695d ("KVM: s390/facilities: allow TOD-CLOCK steering
facility bit") accidentially disabled the "load program parameter"
facility bit during rebase for upstream submission (my fault).
Re-add that bit.
Signed-off-by: Christian Borntraeger
Reviewed-by: David H
the
full host capability.
Userspace has to initialize the cpu model before vcpu creation. A cpu model
change of running vcpus is not possible.
Signed-off-by: Michael Mueller
Reviewed-by: Cornelia Huck
Reviewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
Documentation
iewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 21 +
arch/s390/kvm/gaccess.c | 4 +-
arch/s390/kvm/kvm-s390.c | 92 +---
arch/s390/kvm/kvm-s390.h | 13 --
arch/s39
Acked-by: Heiko Carstens
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/sysinfo.h | 10 +++---
arch/s390/kernel/sysinfo.c | 29 +
2 files changed, 36 insertions(+), 3 deletions(-)
diff --git a/arch/s390/include/asm/sysinfo.h b/arch/s390/include
Am 04.02.2015 um 11:39 schrieb Paolo Bonzini:
>> Conny:
>> I am asking myself, if we should explicitly add a comment in the
>> virtio-ccw spec, that all accesses are assumed to be with key 0 and
>> thus never cause key protection. The change/reference bit is set
>> by the underlying I/O or memory
We never had a 31bit QEMU/kuli running. We would need to review several
ioctls to check if this creates holes, bugs or whatever to make it work.
Lets just disable compat support for KVM on s390.
Signed-off-by: Christian Borntraeger
---
virt/kvm/Kconfig| 4
virt/kvm/kvm_main.c | 12
Am 04.02.2015 um 12:42 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 12:25, Christian Borntraeger wrote:
>> Whenever vhost or qemu or a finished aio request wrote content into a
>> virtio buffer, the HW has set the storage key for that physical page,
>> which m
Am 04.02.2015 um 13:57 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 10:44, Christian Borntraeger wrote:
>> From: Ekaterina Tumanova
>>
>> Read the additional data fields (Extended Name and UUID) from the
>> 1KB block returned by the STSI command and reflect
Am 04.02.2015 um 14:00 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 10:44, Christian Borntraeger wrote:
>> +static void kvm_s390_set_crycb_format(struct kvm *kvm)
>> +{
>> +kvm->arch.crypto.crycbd = (__u32)(unsigned long) kvm->arch.crypto.crycb;
>>
Am 04.02.2015 um 14:48 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 14:05, Christian Borntraeger wrote:
>>>>
>>>> Could this also be part of the "things" that KVM can choose to enable,
>>>> even though it's not a facility?
>
Am 04.02.2015 um 13:57 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 10:44, Christian Borntraeger wrote:
>> commit 7be81a46695d ("KVM: s390/facilities: allow TOD-CLOCK steering
>> facility bit") accidentially disabled the "load program parameter"
&
Am 04.02.2015 um 14:03 schrieb Paolo Bonzini:
>
>
> On 04/02/2015 14:01, Christian Borntraeger wrote:
>> Am 04.02.2015 um 13:57 schrieb Paolo Bonzini:
>>>
>>>
>>> On 04/02/2015 10:44, Christian Borntraeger wrote:
>>>> From: Ekaterina Tumanov
Am 05.02.2015 um 17:35 schrieb r...@redhat.com:
> From: Rik van Riel
>
> The host kernel is not doing anything while the CPU is executing
> a KVM guest VCPU, so it can be marked as being in an extended
> quiescent state, identical to that used when running user space
> code.
>
> The only excepti
h NOHZ_FULL enabled on most CPUs, and a VCPU thread bound to a
> CPU. In a 10 second interval, rcuos/N threads on other CPUs got woken
> up several times, while the rcuos thread on the CPU running the bound
> and alwasy running VCPU thread never got woken up once.
>
> Thanks to Chr
/sysinfo file accordingly.
Signed-off-by: Ekaterina Tumanova
Reviewed-by: David Hildenbrand
Reviewed-by: Cornelia Huck
Acked-by: Heiko Carstens
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/sysinfo.h | 10 +++---
arch/s390/kernel/sysinfo.c | 29
We never had a 31bit QEMU/kuli running. We would need to review several
ioctls to check if this creates holes, bugs or whatever to make it work.
Lets just disable compat support for KVM on s390.
Signed-off-by: Christian Borntraeger
Acked-by: Paolo Bonzini
---
virt/kvm/Kconfig| 4
per VM
- add s390 specific vm attributes for setting values
3. crypto
- toleration patch for z13 support
4. add uuid and long name to /proc/sysinfo (stsi 322)
- patch Acked by Heiko Carstens (touches non-kvm s390 code)
Christian
the
full host capability.
Userspace has to initialize the cpu model before vcpu creation. A cpu model
change of running vcpus is not possible.
Signed-off-by: Michael Mueller
Reviewed-by: Cornelia Huck
Reviewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
Documentation
ff-by: David Hildenbrand
Cc: sta...@vger.kernel.org # v3.15+
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index c34e1d9..073b5f3 100644
--- a/arch/s390/kvm/interrupt.c
only change for z13 and does not affect the guest view.
Signed-off-by: Tony Krowiak
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 2 ++
arch/s390/kvm/kvm-s390.c | 49 ++--
2 files changed, 49 insertions(+), 2 deletions(-)
iewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 21 +
arch/s390/kvm/gaccess.c | 4 +-
arch/s390/kvm/kvm-s390.c | 92 +---
arch/s390/kvm/kvm-s390.h | 13 --
arch/s39
ruction
(used by KVM itself) cc stable is not necessary see
http://www-01.ibm.com/support/docview.wss?uid=isg26fcd1cc32246f4c8852574ce0044734a
(SA23-2260 The Load-Program-Parameter and CPU-Measurement Facilities)
for details about LPP and its usecase.
Signed-off-by: Christian Borntraeger
Reviewed-b
Am 06.02.2015 um 13:48 schrieb Paolo Bonzini:
> This patch introduces a new module parameter for the KVM module; when it
> is present, KVM attempts a bit of polling on every HLT before scheduling
> itself out via kvm_vcpu_block.
>
> This parameter helps a lot for latency-bound workloads---in parti
Am 21.02.2015 um 02:51 schrieb Linus Torvalds:
> So here's my try at fixing READ_ONCE() so that it is happy with 'const'
> sources.
>
> It is entirely untested. Comments/testing?
>
> Christian, I guess I could just have forced a cast instead of the
> union. I'd like you to take a look at this, b
Am 20.02.2015 um 16:22 schrieb Alexander Graf:
>
>
>
>> Am 20.02.2015 um 16:00 schrieb Michael Mueller :
>>
>> On Fri, 20 Feb 2015 14:54:23 +0100
>> Alexander Graf wrote:
>>
+/* machine related properties */
+typedef struct S390CPUMachineProps {
+uint16_t class; /*
Am 23.02.2015 um 13:56 schrieb Christian Borntraeger:
> Am 20.02.2015 um 16:22 schrieb Alexander Graf:
>>
>>
>>
>>> Am 20.02.2015 um 16:00 schrieb Michael Mueller :
>>>
>>> On Fri, 20 Feb 2015 14:54:23 +0100
>>> Alexander Gr
Am 25.02.2015 um 11:08 schrieb Ingo Molnar:
>
> * Greg KH wrote:
>
It's:
d6abfdb20223 x86/spinlocks/paravirt: Fix memory corruption on unlock
>>>
>>> Yes, This is the original patch. Please note I have taken out the
>>> READ_ONCE changes from the original patch to avoid build war
Am 26.02.2015 um 23:16 schrieb Yannick Guerrini:
> Change 'architecuture' to 'architecture'
>
> Signed-off-by: Yannick Guerrini
Thanks, applied.
> ---
> arch/s390/kvm/gaccess.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/ga
halt_poll_ns is used only locally. Make it static.
Signed-off-by: Christian Borntraeger
---
virt/kvm/kvm_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index 34310a8..58bc2a9 100644
--- a/virt/kvm/kvm_main.c
+++ b/virt/kvm
Am 03.03.2015 um 22:42 schrieb Bandan Das:
> Christian Borntraeger writes:
>
>> halt_poll_ns is used only locally. Make it static.
>>
>> Signed-off-by: Christian Borntraeger
>> ---
>> virt/kvm/kvm_main.c | 2 +-
>> 1 file changed, 1 insertion(+),
660e>] SyS_ioctl+0x9e/0xb0
[ 386.098814] [<0070476a>] system_call+0xd6/0x258
[ 386.098815] [<03fffc7400a2>] 0x3fffc7400a2
Lets add an extable entry and provide a zeroed config in that case.
Reported-by: Stefan Zimmermann
Signed-off-by: Christian Borntraeger
Reviewe
From: Michael Mueller
With patch "include guest facilities in kvm facility test" it is no
longer necessary to have special handling for the non-LPAR case.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 17 +
1 fi
4e892c34 ("KVM: s390/cpacf: Enable/disable protected key
functions for kvm guest")
commit 45c9b47c588 ("KVM: s390/CPACF: Choose crypto control block format")
which all have been merged during the merge window for 4.0.
---------
From: Tony Krowiak
z/VM and LPAR enable key wrapping by default, lets do the same on KVM.
Signed-off-by: Tony Krowiak
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b
.
The userspace interface is not affected by this change.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 12 ++--
arch/s390/kvm/kvm-s390.c | 30 --
arch/s390/kvm/kvm-s390.h | 3 ++-
arc
From: Michael Mueller
The facility lists were not fully copied.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index
Am 04.03.2015 um 12:41 schrieb Christian Borntraeger:
> Paolo, Marcelo,
>
> here is a pull request for kvm/master targetting 4.0. It is based on
> 4.0-rc1 as I want all patches in an upcoming pull request against
> kvm/next as well to avoid nasty merge conflicts with other changes
Am 05.03.2015 um 02:07 schrieb Marcelo Tosatti:
> On Wed, Mar 04, 2015 at 12:41:49PM +0100, Christian Borntraeger wrote:
>> Paolo, Marcelo,
>>
>> here is a pull request for kvm/master targetting 4.0. It is based on
>> 4.0-rc1 as I want all patches in an upcoming pull r
Am 05.03.2015 um 09:41 schrieb Christian Borntraeger:
>> Can you generate pull against current master?
>>
>> $ git pull --ff-only
>> git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git
>
> Can you use git://git.kernel.org/pub/scm/linux/kernel/git/kvms3
.
The userspace interface is not affected by this change.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 12 ++--
arch/s390/kvm/kvm-s390.c | 30 --
arch/s390/kvm/kvm-s390.h | 3 ++-
arc
From: Tony Krowiak
z/VM and LPAR enable key wrapping by default, lets do the same on KVM.
Signed-off-by: Tony Krowiak
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 10 +++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b
kvm facility tests.
There is no need to protect the cpu model setup with a lock since the attributes
can't be changed anymore as soon the first vcpu is online.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 17 +++--
1
ected. Therefore the dequeued
interrupt is lost.
This patch fixes the problem while cleaning up the function and making the
cc and rc logic easier to handle.
Signed-off-by: David Hildenbrand
Cc: sta...@vger.kernel.org # 3.16+
Signed-off-by: Christian Borntraeger
---
arch/
660e>] SyS_ioctl+0x9e/0xb0
[ 386.098814] [<0070476a>] system_call+0xd6/0x258
[ 386.098815] [<03fffc7400a2>] 0x3fffc7400a2
Lets add an extable entry and provide a zeroed config in that case.
Reported-by: Stefan Zimmermann
Signed-off-by: Christian Borntraeger
Reviewe
ric Farman
Reviewed-by: Thomas Huth
Acked-by: Christian Borntraeger
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 10 ++
arch/s390/include/asm/kvm_host.h | 10 +-
arch/s390/include/uapi/asm/kvm.h | 4
arch/s390/kvm/kvm-s390.c
Jens Freimann
Reviewed-by: David Hildenbrand
Acked-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index 98a3131..9561e1d 100644
a warning:
"kvm_s390_intercept_instruction: [FAILED TO PARSE]..."
So let's add parentheses around the instruction parser macro to fix the format
parsing.
Acked-by: Christian Borntraeger
Acked-by: Cornelia Huck
Signed-off-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/include/uapi/a
.
Alexander Yarygin (1):
KVM: s390: Use the read_guest_abs() in guest debug functions
Christian Borntraeger (1):
KVM: s390/cpacf: Fix kernel bug under z/VM
David Hildenbrand (3):
KVM: s390: fix handling of write errors in the tpi handler
KVM: s390: reinjection of
would otherwise occur when a vector instruction
is issued by the guest operating system.
Signed-off-by: Eric Farman
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 4 +++-
arch/s390/kvm/kvm-s390.c | 5 +
2 files changed, 8 inser
From: Yannick Guerrini
Change 'architecuture' to 'architecture'
Signed-off-by: Yannick Guerrini
Message-Id: <1424989004-14412-1-git-send-email-yguerr...@tomshardware.fr>
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.c | 2 +-
1 file changed,
From: Eric Farman
The new SIGP order Store Additional Status at Address is totally
handled by user space, but we should still record the occurrence
of this order in the kernel code.
Signed-off-by: Eric Farman
Reviewed-by: Thomas Huth
Reviewed-by: David Hildenbrand
Signed-off-by: Christian
we have to rewind the PSW before writing it into the low-core.
The list of nullifying exceptions can be found in the POP, chapter 6,
figure 6-1 ("Interruption Action").
Signed-off-by: Thomas Huth
Reviewed-by: Jens Freimann
Reviewed-by: David Hildenbrand
Acked-by: Christian Borntraeger
this issue, we can now also enable the TPROT
interpretation facility again which had been disabled because
of this problem.
Signed-off-by: Thomas Huth
Reviewed-by: Christian Borntraeger
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 35 ---
1
: Christian Borntraeger
---
arch/s390/kernel/asm-offsets.c | 1 +
arch/s390/kvm/interrupt.c | 4
arch/s390/kvm/kvm-s390.c | 29 +
arch/s390/kvm/kvm-s390.h | 3 +++
4 files changed, 37 insertions(+)
diff --git a/arch/s390/kernel/asm-offsets.c b/arch
From: Michael Mueller
The facility lists were not fully copied.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index
special
case. This error is not recoverable, so let's fail hard. This can later
be avoided by not dequeuing the interrupt but working directly on the
locked list.
Signed-off-by: David Hildenbrand
Cc: sta...@vger.kernel.org # 3.16+
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interr
: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/guestdbg.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/s390/kvm/guestdbg.c b/arch/s390/kvm/guestdbg.c
index 3e8d409..e97b345 100644
--- a/arch/s390/kvm/guestdbg.c
+++ b/arch/s390/kvm/guestdbg.c
From: Michael Mueller
With patch "include guest facilities in kvm facility test" it is no
longer necessary to have special handling for the non-LPAR case.
Signed-off-by: Michael Mueller
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 17 +
1 fi
From: Ekaterina Tumanova
s390 documentation requires words 0 and 10-15 to be reserved and stored as
zeros. As we fill out all other fields, we can memset the full structure.
Signed-off-by: Ekaterina Tumanova
Cc: sta...@vger.kernel.org
Reviewed-by: David Hildenbrand
Signed-off-by: Christian
From: Eric Farman
A new exception type for vector instructions is introduced with
the new processor, but is handled exactly like a Data Exception
which is already handled by the system.
Signed-off-by: Eric Farman
Reviewed-by: David Hildenbrand
Acked-by: Christian Borntraeger
Signed-off-by
Am 03.03.2015 um 22:46 schrieb Christian Borntraeger:
[...]
>
> halt_poll_ns is used only locally. Make it static and remove
> the initializer.
>
> diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
> index 34310a8..58bc2a9 100644
> --- a/virt/kvm/kvm_main.c
> +
Am 09.03.2015 um 21:27 schrieb Geert Uytterhoeven:
> Signed-off-by: Geert Uytterhoeven
> ---
> arch/s390/kvm/kvm-s390.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h
> index fda3f3146eb636d3..83f32a147d72c0f3 100644
>
The KVM list should be CCed on changes for arch/x86/kernel/kvm.c
and arch/x86/kernel/kvmclock.c
Signed-off-by: Christian Borntraeger
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index ddc5a8c..80e3488 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
Am 13.03.2015 um 10:39 schrieb Xiubo Li:
> This patch fix the following sparse warnings:
>
> for file virt/kvm/kvm_main.c:
> warning: symbol 'halt_poll_ns' was not declared. Should it be static?
>
> Signed-off-by: Xiubo Li
> ---
> virt/kvm/kvm_main.c | 2 +-
> 1 file changed, 1 insertion(+), 1
: Christian Borntraeger
---
arch/s390/kvm/diag.c | 4 +--
arch/s390/kvm/gaccess.c | 8 ++---
arch/s390/kvm/gaccess.h | 16 +-
arch/s390/kvm/intercept.c | 4 +--
arch/s390/kvm/kvm-s390.c | 10 +++---
arch/s390/kvm/kvm-s390.h | 26 +---
arch/s390/kvm/priv.c | 79
guest can trigger huge copy_from/to_user transfers. QEMU
currently only requests up to one or two pages so far, so 16*4kB seems
to be a reasonable limit here.
Signed-off-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 46
arc
From: Dominik Dingel
As all cleanup functions can handle their respective NULL case
there is no need to have more than one error jump label.
Signed-off-by: Dominik Dingel
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 14 +-
1 file changed, 5 insertions(+), 9
Alexander Yarygin
Reviewed-by: Thomas Huth
Reviewed-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/gaccess.c
index 33b5ae
. See
the "Access-Register Introduction" section of the chapter 5 "Program
Execution" in "Principles of Operations" for more details.
Signed-off-by: Alexander Yarygin
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
ric Farman
Reviewed-by: Christian Borntraeger
Signed-off-by: Ekaterina Tumanova
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 28
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/kvm/kvm-s390.c | 5 +
arch/s390/
-by: David Hildenbrand
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.c | 11 ++-
arch/s390/kvm/gaccess.h | 2 +-
arch/s390/kvm/priv.c| 4 ++--
3 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/arch/s390/kvm/gaccess.c b/arch/s390/kvm/gaccess.c
index 633fe9
From: Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven
Message-Id: <1425932832-6244-1-git-send-email-geert+rene...@glider.be>
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/s390/kvm/kvm-s3
Paolo, Marcelo, Alex,
this is my current patch queue that I want to send for the
next pull request.
As it contains 3 API extensions
- KVM: s390: introduce post handlers for STSI
- KVM: s390: Create ioctl for Getting/Setting guest storage keys
- KVM: s390: Add MEMOP ioctls for reading/writing guest
ned-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt | 58 ++
arch/s390/kvm/kvm-s390.c | 122 ++
include/uapi/linux/kvm.h | 14 +
3 files changed, 194 insertions(+)
diff --git a/Documentation/virtual/k
Am 16.03.2015 um 12:55 schrieb Paolo Bonzini:
>
>
> On 16/03/2015 09:51, Christian Borntraeger wrote:
>> From: Ekaterina Tumanova
>>
>> The Store System Information (STSI) instruction currently collects all
>> information it relays to the caller in the kernel.
601 - 700 of 1075 matches
Mail list logo