From: Jason J. herne jjhe...@us.ibm.com
Enhance the KVM ONE_REG capability within S390 to allow
getting/setting the following special cpu registers: clock comparator
and the cpu timer. These are needed for migration.
Signed-off-by: Jason J. herne jjhe...@us.ibm.com
Signed-off-by: Christian
-by: Carsten Otte co...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm.h |3 +++
arch/s390/kvm/kvm-s390.c| 16
2 files changed, 19 insertions(+)
diff --git a/arch/s390/include/asm/kvm.h b/arch/s390/include/asm/kvm.h
index
On 15/05/12 14:24, Avi Kivity wrote:
Newer systems allow to write-protect the guest backing memory
and let the fault be delivered to the host, thus allowing COW.
Use a capability bit to tell qemu if that is possible.
Asking out of ignorance: who is doing the write protection here? The
On 15/05/12 14:26, Avi Kivity wrote:
Everything looks reasonable. These patches will miss 3.5 though since
the merge window is so close, unless there's a reason to push them in.
There is no pressing reason. Of course there are some qemu patches that use
these
features, but sooner or later
On 15/05/12 14:33, Avi Kivity wrote:
On 05/15/2012 03:31 PM, Christian Borntraeger wrote:
On 15/05/12 14:24, Avi Kivity wrote:
Newer systems allow to write-protect the guest backing memory
and let the fault be delivered to the host, thus allowing COW.
Use a capability bit to tell qemu
Folks,
today we discussed the situation of a qemu crash (with coredump) and big guests.
Quite often the guest pages are not needed but make the core file pretty big.
The most appealing proposal that we had was to adopt the core file code in the
kernel to have an option for discarding guest
On 09/05/11 13:32, Alexander Graf wrote:
On 09.05.2011, at 13:20, Avi Kivity wrote:
On 05/09/2011 01:11 PM, Alexander Graf wrote:
And not in main memory, either?
Nope - storage keys are only accessible using special instructions. They're
not in RAM (visible to a guest) :).
Marcelo, Gleb, Frederic,
sorry for spotting this so late. Here is a fix for a bug in kvm on s390
with 3.8-rc.
Due to all the subtle considerations regarding RCU, this is an RFC.
Christian Borntraeger (1):
s390/kvm: Fix BUG in include/linux/kvm_host.h:745
arch/s390/kvm/kvm-s390.c | 2 ++
1
to
rcu_virt_note_context_switch returns.
Please note that we continue to run s390 guests with interrupts
enabled.
CC: Frederic Weisbecker fweis...@gmail.com
CC: Gleb Natapov g...@redhat.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.c | 2 ++
1 file
in virtio_ccw_setup_vq(),
using a single path for all errors.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
drivers/s390/kvm/virtio_ccw.c | 20 +++-
1 file changed
Gleb, Marcelo,
here are 3 kvm fixes for kvm-next.
Christian Borntraeger (3):
s390/kvm: Fix store status for ACRS/FPRS
s390/virtio-ccw: Fix setup_vq error handling.
s390/kvm: Fix instruction decoding
arch/s390/kvm/kvm-s390.c | 8
arch/s390/kvm/kvm-s390.h | 25
a machine check
will happen) will revalidate all registers with the content of the
save area.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
CC: sta...@vger.kernel.org
---
arch/s390/kvm/kvm-s390.c | 8
1 file changed, 8 insertions(+)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch
where appropriate to avoid
problems if the code is changed or copy/pasted later on.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
---
arch/s390/kvm/kvm-s390.h | 25 ++---
1 file changed, 14 insertions(+), 11
On 25/01/13 15:34, Christian Borntraeger wrote:
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Sorry, I messed up the From.
Should I resend or can you change the author to Cornelia Huck
cornelia.h...@de.ibm.com
Christian
--
To unsubscribe from this list: send the line unsubscribe kvm
On 29/01/13 14:12, Gleb Natapov wrote:
On Fri, Jan 25, 2013 at 03:34:14PM +0100, Christian Borntraeger wrote:
Gleb, Marcelo,
Alex, can you review?
Last time I checked, Cornelia and myself were s390/kvm/kernel maintainers ;-)
Alex is maintainer for s390/kvm/qemu.
If the patch introduces
On 29/01/13 22:03, Gleb Natapov wrote:
The question about 1/1. It is CCed to stable, does this mean you want it
to go to 3.8? kvm-next is for 3.9.
On the second thought, if it is not a regression 3.9 is the right place.
The store status part is broken, but it only has a severe impact in case
On 07/02/13 13:20, Cornelia Huck wrote:
Hi,
here's another kvm-s390 bugfix for kvm-next, this time fixing a
thinko in the I/O interrupt injection.
Please apply.
Cornelia Huck (1):
KVM: s390: Fix handling of iscs.
arch/s390/kvm/interrupt.c | 18 +++---
1 file changed,
On 10/02/13 14:50, Gleb Natapov wrote:
As 3.8 release is inevitably going closer next branch is going to be
frozen this week. All new patches will be applied to queue only awaiting
for the 3.9-rc1. If you have something for 3.8 please send it asap.
Please consider
s390: Fix handling of iscs
On 26/02/13 12:04, Michael S. Tsirkin wrote:
On Mon, Feb 25, 2013 at 04:27:45PM +0100, Cornelia Huck wrote:
Here's the latest version of my patch series enabling ioeventfds
on s390, again against kvm-next.
Patches 1 and 2 (cleaning up initialization and exporting the virtio-ccw
api) would
On 26/02/13 12:18, Michael S. Tsirkin wrote:
On Tue, Feb 26, 2013 at 01:04:21PM +0200, Michael S. Tsirkin wrote:
On Mon, Feb 25, 2013 at 04:27:45PM +0100, Cornelia Huck wrote:
Here's the latest version of my patch series enabling ioeventfds
on s390, again against kvm-next.
Patches 1 and 2
-by: Christian Borntraeger borntrae...@de.ibm.com
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
On 26/02/13 14:41, Michael S. Tsirkin wrote:
So...
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
So let's apply the patch for 3.9 and
Give us 1 or 2 days testing for regression and then this can go for 3.9.
The host changes can then be deferred to a later point in time.
avoid
more efficiently.
Signed-off-by: Michael S. Tsirkin m...@redhat.com
Seems to work fine. (as expected).
Tested-by: Christian Borntraeger borntrae...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
---
diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm
to -EFAULT.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/gaccess.h | 7 +--
1 file
address whithout the chance of running into an out-of-memory
situation.
Also make it more explicit that for -EFAULT we won't find a vma.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Martin Schwidefsky schwidef
From: Heiko Carstens heiko.carst...@de.ibm.com
Add missing address space annotations to all put_guest()/get_guest() callers.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
Acked-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed
. In addition this is closer to the handling of
copy_to/from_user functions, which imho is in general a good idea.
Also shorten the return code handling in interrupt.c a bit.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off
/get_user except that accesses
must be aligned.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm
to happen soon (e.g. tprot exception handler).
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include
Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/priv.c | 54 +---
1 file changed, 30 insertions(+), 24 deletions(-)
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index cb07147
state similar to user space
as an extended grace period, but this is not ready yet.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Cc: Cornelia Huck cornelia.h...@de.ibm.com
Cc: Dipankar Sarma dipan...@in.ibm.com
Cc: Paul E. McKenney paul...@linux.vnet.ibm.com
Cc: Martin Schwidefsky
On 02/05/13 17:09, Paul E. McKenney wrote:
On Thu, May 02, 2013 at 10:09:52AM +0200, Christian Borntraeger wrote:
The SIE instruction is interruptible, so instead of having a guest
exit on a host interrupt we basically return to guest mode.
We have some logic in the interrupt handler to check
: Christoffer Dall cd...@cs.columbia.edu
Acked-by: Xiantao Zhang xiantao.zh...@intel.com
Cc: Tony Luck tony.l...@intel.com
Cc: Fenghua Yu fenghua...@intel.com
Cc: Alexander Graf ag...@suse.de
Cc: Benjamin Herrenschmidt b...@kernel.crashing.org
Cc: Christian Borntraeger borntrae...@de.ibm.com
s390
.
So lets provide a bit in a private field of the sie control block
that acts as a gate keeper, after we claimed we are in SIE.
Please note that we do not reuse prog0c, since we want to access
that bit without atomic ops.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Acked-by: Martin
Dont use the same bit as user referenced.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/pgtable.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/include/asm/pgtable.h b/arch/s390/include/asm/pgtable.h
index 4105b82
better names as well.
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/pgtable.h | 82 -
arch/s390/mm/pgtable.c | 2 +-
2 files changed, 40 insertions
to kick guest
cpus out of SIE.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Acked-by: Martin Schwidefsky schwidef...@de.ibm.com
---
arch/s390/include/asm/pgtable.h | 1 +
arch/s390/kvm/intercept.c | 39 ++--
arch/s390/kvm/kvm-s390.c| 49
become read-only (and only software writable) if the page is clean.
Since we loop in this code, the page would stay clean and, therefore,
be never writable again.
Let us just use fixup_user_fault, that guarantees to call handle_mm_fault.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Lets track in a private bit if the sie control block is active.
We want to track this as closely as possible, so we also have to
instrument the interrupt and program check handler. Lets use the
existing HANDLE_SIE_INTERCEPT macro.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
Acked
From: Martin Schwidefsky schwidef...@de.ibm.com
The PSW can wrap if the guest has been running in the 24 bit or 31 bit
addressing mode. Use __rewind_psw to find the correct address.
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae
on s390 we have seen very long
RCU stalls due to SIE not exiting on interrupts. Instead of returning
to SIE, we now force an exit into the kvm module, which then does the
guest exit/enter magic, fixing rcu.
The whole bunch is probably too complex for 3.10, so please queue for
3.11
Christian
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kernel/entry64.S | 76 --
arch/s390/kvm/kvm-s390.c | 4 ++-
2 files changed, 36 insertions(+), 44 deletions(-)
diff --git a/arch/s390/kernel/entry64.S b/arch/s390/kernel
On 28/05/13 11:00, Paolo Bonzini wrote:
Looks good for 3.10. Should I take this since Alex is on holiday, or
should I wait for him to come back?
let me refer to
http://permalink.gmane.org/gmane.comp.emulators.kvm.devel/104230
;-)
Christian
--
To unsubscribe from this list: send the line
the interface.
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
--
To unsubscribe from this list: send the line unsubscribe kvm in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo
on a patch from Martin Schwidefsky.
For that we will obviously need Christian and Cornelia ACKs. Or it can
go in via S390 tree.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
Do you want me or Conny to apply these patches add
hand there is now the direct
mechanism, this will directly push the information to the guest.
Still the vcpu thread should call check_completion to cleanup leftovers,
that leaves most of the common code untouched.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Acked-by: Christian
On 09/07/13 15:56, Dominik Dingel wrote:
This patch enables async page faults for s390 kvm guests.
It provides the userspace API to enable, disable or get the status of this
feature. Also it includes the diagnose code, called by the guest to enable
async page faults.
The async page faults
cornelia.h...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
drivers/s390/kvm/virtio_ccw.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm/virtio_ccw.c
index 779dc51..d6c7aba 100644
On 10/07/13 12:39, Alexander Graf wrote:
On 09.07.2013, at 18:01, Christian Borntraeger wrote:
On 09/07/13 15:56, Dominik Dingel wrote:
By setting a Kconfig option, the architecture can control when
guest notifications will be presented by the apf backend.
So there is the default batch
On 11/07/13 11:04, Gleb Natapov wrote:
On Wed, Jul 10, 2013 at 02:59:55PM +0200, Dominik Dingel wrote:
This patch enables async page faults for s390 kvm guests.
It provides the userspace API to enable, disable or get the status of this
feature. Also it includes the diagnose code, called by the
On 18/07/13 15:57, Paolo Bonzini wrote:
Il 11/07/2013 12:41, Christian Borntraeger ha scritto:
On 11/07/13 11:04, Gleb Natapov wrote:
On Wed, Jul 10, 2013 at 02:59:55PM +0200, Dominik Dingel wrote:
This patch enables async page faults for s390 kvm guests.
It provides the userspace API
On 23/07/13 08:33, Juan Quintela wrote:
Hi
Please, send any topic that you are interested in covering.
- soft reset and other reset variants. What is the right way to go?
(e.g. on s390 there are several reset variants that reset a defined subset of
the
system. This can be triggered by
On 25/07/13 10:54, Martin Schwidefsky wrote:
v1-v2:
- found a way to simplify the common code patch
Linux on s390 as a guest under z/VM has been using the guest page
hinting interface (alias collaborative memory management) for a long
time. The full version with volatile states has been
one for swap in.
[ Martin Schwidefsky: patch reordering and simplification ]
Signed-off-by: Konstantin Weitz konstantin.we...@gmail.com
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Reviewed-by: Christian Borntraeger borntrae...@de.ibm.com
---
include/asm-generic/pgtable.h
Borntraeger borntrae...@de.ibm.com
Tested-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h |5 ++-
arch/s390/include/asm/pgtable.h | 24
arch/s390/kvm/kvm-s390.c | 25 +
arch/s390/kvm/kvm-s390.h |2
From: Martin Schwidefsky schwidef...@de.ibm.com
Improve the code to upgrade the standard 2K page tables to 4K page tables
with PGSTEs to allow the operation to happen when the program is already
multi-threaded.
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian
-by: Christian Borntraeger borntrae...@de.ibm.com
CC: sta...@vger.kernel.org
---
arch/s390/kvm/kvm-s390.c | 21 ++---
1 file changed, 14 insertions(+), 7 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index a3d797b..39894aa 100644
--- a/arch/s390/kvm/kvm
Gleb, Paolo,
here are some fixes and cleanups for KVM/s390.
The first two patches
KVM: s390: move kvm_guest_enter,exit closer to sie
and
KVM: s390: fix pfmf non-quiescing control handling
should go into 3.11. Everything else looks more like 3.12.
Please apply.
Christian
Dominik Dingel (2):
-setting facility installed.
Signed-off-by: Heiko Carstens heiko.carst...@de.ibm.com
Reviewed-by: Thomas Huth th...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/priv.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kvm
values (4TB vs 8PB)
dependent on the existance of the fourth page table level, create
a new define 'TASK_MAX_SIZE' for (1UL 53).
Signed-off-by: Martin Schwidefsky schwidef...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/processor.h | 2 ++
arch
KVM_HVA_ERR_BAD defines.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 8
include/linux/kvm_host.h | 8
2 files changed, 16 insertions(+)
diff --git a/arch/s390/include
From: Thomas Huth th...@linux.vnet.ibm.com
sparse complained about the missing UL postfix for long constants.
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Acked-by: Cornelia Huck cornelia.h...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/priv.c
test for virtual facilites has been added
as well.
Signed-off-by: Michael Mueller m...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.c | 23 +++
arch/s390/kvm/kvm-s390.h | 3 +++
arch/s390/kvm/priv.c | 11
From: Thomas Huth th...@linux.vnet.ibm.com
Introduced a helper function for setting the CC in the
guest PSW to improve the readability of the code.
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.h | 7
On 06/09/13 14:19, Jens Freimann wrote:
Add symbols required for the s390 floating interrupt controller (flic)
Signed-off-by: Jens Freimann jf...@linux.vnet.ibm.com
As Peter said, this should come via a sync, but you already mentioned that
in your cover-letter. I will Ack the kernel patch and
...@linux.vnet.ibm.com
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 34 +-
include/uapi/linux/kvm.h | 63
2 files changed
-by: Jens Freimann jf...@linux.vnet.ibm.com
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
Documentation/virtual/kvm/devices/s390_flic.txt | 36 +++
arch/s390/include/asm/kvm_host.h| 1 +
arch/s390/include/uapi/asm
into the kernel (used for migration)
Signed-off-by: Jens Freimann jf...@linux.vnet.ibm.com
Reviewed-by: Thomas Huth th...@linux.vnet.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
default-configs/s390x-softmmu.mak | 1 +
hw/intc/Makefile.objs | 1
On 06/09/13 14:19, Jens Freimann wrote: This series adds a kvm_device that
acts as a irq controller for floating
interrupts. As a first step it implements functionality to retrieve and
inject
interrupts for the purpose of migration and for hardening the reset code by
allowing user space to
by this patch.
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 1 -
arch/s390/kvm/intercept.c| 6 --
arch/s390/kvm/kvm-s390.c | 4
arch/s390/kvm/kvm-s390.h | 3 +--
4
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.c | 49
1 file changed, 25 insertions(+), 24 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c
index 69c7592..8eec7ab 100644
Huck cornelia.h...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.h | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h
index a307a85..b44912a 100644
--- a/arch/s390/kvm/kvm
Paolo, Gleb,
here is a bunch of patch for kvm on s390.
The first 4 patches restructure the code to protect most of
vcpu_run with the kvm-srcu lock. The old code was structured
in way that adding the lock was more complicated than necessary,
therefore, the rework.
The last 4 patches deal with
...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/priv.c | 28
1 file changed, 28 insertions(+)
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index 59200ee..6f95994 100644
--- a/arch/s390/kvm/priv.c
+++ b/arch/s390/kvm
...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/priv.c | 33 +
1 file changed, 33 insertions(+)
diff --git a/arch/s390/kvm/priv.c b/arch/s390/kvm/priv.c
index 6f95994..2440602 100644
--- a/arch/s390/kvm/priv.c
+++ b/arch
From: Thomas Huth th...@linux.vnet.ibm.com
Added a separate helper function that translates guest real addresses
to guest absolute addresses by applying the prefix of the guest CPU.
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
and the other one handles the code that runs
afterwards.
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/kvm-s390.c | 54 +---
1 file changed, 37 insertions(+), 17 deletions
ioctl, which can be called out-of-band and needs a separate lock).
Signed-off-by: Thomas Huth th...@linux.vnet.ibm.com
Acked-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/kvm/diag.c | 4 +---
arch/s390/kvm/interrupt.c | 3 +++
arch/s390/kvm/kvm-s390.c | 12
3
On 12/09/13 10:59, Paolo Bonzini wrote:
Il 12/09/2013 10:33, Christian Borntraeger ha scritto:
vcpu-arch.sie_block-icptcode = 0;
-VCPU_EVENT(vcpu, 6, entering sie flags %x,
- atomic_read(vcpu-arch.sie_block-cpuflags));
-trace_kvm_s390_sie_enter(vcpu
On 05/10/13 01:54, Alexander Graf wrote:
On 06.09.2013, at 15:30, Christian Borntraeger wrote:
On 06/09/13 14:19, Jens Freimann wrote: This series adds a kvm_device that
acts as a irq controller for floating
interrupts. As a first step it implements functionality to retrieve and
inject
...@linux.vnet.ibm.com
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 34 +-
include/uapi/linux/kvm.h | 63
2 files changed
-6084).
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 22 +++
arch/s390/include/uapi/asm/kvm.h | 9 +++--
arch/s390/kvm/Kconfig| 2 +
arch/s390/kvm/Makefile
...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/uapi/asm/kvm.h | 3 +++
arch/s390/kvm/kvm-s390.c | 24
2 files changed, 27 insertions(+)
diff --git a/arch/s390/include/uapi/asm/kvm.h b/arch/s390/include/uapi
Gleb, Paolo,
here is a set of patches containing the floating interrupt controller
and the async page fault patches on top of them. (It took a bit
longer than expected)
Several changes since v4 of the async patches mostly to make life
migration possible:
- Please have a look at patch 5. This
-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/x86/kvm/mmu.c | 2 +-
include/linux/kvm_host.h | 2 +-
virt/kvm/Kconfig | 4
virt/kvm/async_pf.c | 22 +++---
4 files changed, 25 insertions(+), 5
-by: Jens Freimann jf...@linux.vnet.ibm.com
Reviewed-by: Cornelia Huck cornelia.h...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
Documentation/virtual/kvm/devices/s390_flic.txt | 36 +++
arch/s390/include/asm/kvm_host.h| 1 +
arch/s390/include/uapi/asm
From: Dominik Dingel din...@linux.vnet.ibm.com
kvm_clear_async_pf_completion get an additional flag to either cancel
outstanding
work or wait for oustanding work to be finished, x86 currentlx cancels all work.
Signed-off-by: Dominik Dingel din...@linux.vnet.ibm.com
Signed-off-by: Christian
Dingel din...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/pgtable.h | 2 ++
arch/s390/include/asm/processor.h | 1 +
arch/s390/kvm/kvm-s390.c | 28 +++-
arch/s390/mm/fault.c | 26
On 13/10/13 10:39, Gleb Natapov wrote:
On Tue, Oct 08, 2013 at 04:54:55PM +0200, Christian Borntraeger wrote:
From: Jens Freimann jf...@linux.vnet.ibm.com
This patch adds a floating irq controller as a kvm_device.
It will be necessary for migration of floating interrupts as well
Folks,
from time to time I update valgrind or qemu to work reasonably well
with KVM.
Now, newer KVMs have the ability to create subdevices of a KVM guest (e.g. an
in kernel
kvm interrupt controller) with the following ioctl:
#define KVM_CREATE_DEVICE _IOWR(KVMIO, 0xe0, struct
dropping valgrind devel since its subscribers only...
On 16/10/13 15:06, Paolo Bonzini wrote:
Il 16/10/2013 14:59, Christian Borntraeger ha scritto:
Now, newer KVMs have the ability to create subdevices of a KVM guest (e.g.
an in kernel
kvm interrupt controller) with the following ioctl
On 16/10/13 17:44, Gleb Natapov wrote:
On Wed, Oct 16, 2013 at 02:59:47PM +0200, Christian Borntraeger wrote:
Folks,
from time to time I update valgrind or qemu to work reasonably well
with KVM.
Now, newer KVMs have the ability to create subdevices of a KVM guest (e.g.
an in kernel
kvm
the boot time till mounting root from 8 to 2 seconds
on my s390 guest with 100 disks.
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
include/linux/kvm_host.h | 1 +
virt/kvm/irqchip.c | 5 ++---
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/linux
for the unconverted
use of hlist_for_each_entry_rcu, hlist_add_head_rcu, hlist_del_init_rcu
is necessary, though. They look fine to me since they are protected by
outer functions.
In addition, we should also discuss if a global srcu (for all guests) is
fine.
Signed-off-by: Christian Borntraeger
On 16/01/14 13:59, Paolo Bonzini wrote:
Il 16/01/2014 13:44, Christian Borntraeger ha scritto:
I converted most of the rcu routines to srcu. Review for the unconverted
use of hlist_for_each_entry_rcu, hlist_add_head_rcu, hlist_del_init_rcu
is necessary, though. They look fine to me since
On 16/01/14 19:55, Michael S. Tsirkin wrote:
On Thu, Jan 16, 2014 at 01:44:20PM +0100, Christian Borntraeger wrote:
[...]
I converted most of the rcu routines to srcu. Review for the unconverted
[...]
That's nice but did you try to measure the overhead
on some interrupt-intensive workloads
On 16/01/14 19:56, Michael S. Tsirkin wrote:
On Thu, Jan 16, 2014 at 02:07:19PM +0100, Paolo Bonzini wrote:
Il 16/01/2014 14:06, Christian Borntraeger ha scritto:
Will you edit the patch description or shall I resend the patch?
I can edit the commit message.
Paolo
I think we really need
occurred and the ITDB has a valid format.
Signed-off-by: Michael Mueller m...@linux.vnet.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
arch/s390/include/asm/kvm_host.h | 15 ++-
arch/s390/kvm/intercept.c| 11 +++
arch/s390/kvm/kvm-s390.c
Paolo,
the following changes since commit 26a865f4aa8e66a6d94958de7656f7f1b03c6c56:
KVM: VMX: fix use after free of vmx-loaded_vmcs (2014-01-08 19:14:08 -0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git
tags/kvm-s390-20140117
...@linux.vnet.ibm.com
Signed-off-by: Cornelia Huck cornelia.h...@de.ibm.com
Signed-off-by: Christian Borntraeger borntrae...@de.ibm.com
---
drivers/s390/kvm/virtio_ccw.c | 11 +--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/drivers/s390/kvm/virtio_ccw.c b/drivers/s390/kvm
201 - 300 of 1075 matches
Mail list logo