From: Heiko Carstens
Convert handle lctl[g]() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 36 +---
1 file changed, 17 insertions(+), 19 deletions
From: Heiko Carstens
Convert handle_set_clock() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 7 ---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kvm/priv.c
From: Heiko Carstens
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.h | 81 -
1 file changed, 81 deletions(-)
diff --git a/arch/s390/kvm/gaccess.h b/arch/s390/kvm/gaccess.h
From: Heiko Carstens
Convert handle_test_block() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/arch/s390/kvm/priv.c
From: Heiko Carstens
Add kerneldoc comment to kvm_s390_real_to_abs() and change the code
so it matches the coding style of the rest of gaccess.h.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.h | 24
From: Jens Freimann
Convert local irqs in __do_deliver_interrupt() to new guest
access functions.
Signed-off-by: Jens Freimann
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 81 +--
1 file changed, 43 insertions(+), 38
From: Heiko Carstens
Convert handle_lpsw[e]() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/arch/s390/kvm
From: Heiko Carstens
Convert __sigp_set_prefix() and handle_set_prefix() to new guest
access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 20
arch/s390/kvm/sigp.c | 12 +++-
2
From: Heiko Carstens
Convert handle_stfl() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/s390/kvm/priv.c b
From: Jens Freimann
Add a new data structure and function that allows to inject
all kinds of interrupt as defined in the PoP
Signed-off-by: Jens Freimann
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 59 +++-
arch/s390/kvm
Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.h | 95 +++--
1 file changed, 93 insertions(+), 2 deletions(-)
diff --git a/arch/s390/kvm/gaccess.h b/arch/s390/kvm/gaccess.h
index ae3cb63..917aeaa 100644
--- a/arch/s390/kvm
From: Heiko Carstens
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 12 -
arch/s390/kvm/gaccess.c | 109 +++
arch/s390/kvm/gaccess.h | 2 +
arch
From: Heiko Carstens
Convert pfault code to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Dominik Dingel
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/diag.c | 9 -
arch/s390/kvm/kvm-s390.c | 5 +++--
2 files changed, 7 insertions(+), 7
From: Heiko Carstens
Convert __do_deliver_interrupt() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 82 +--
1 file changed, 44 insertions
rrently do
not perform any access checks, since there is no use case (yet?).
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/Makefile | 4 +-
arch/s390/kvm/gaccess.c | 536
arc
From: Heiko Carstens
Convert handle_store_cpu_address() to new guest access functions.
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 17 ++---
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a
w).t = 1; /* set dat bit */
Signed-off-by: Heiko Carstens
Reviewed-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/ptrace.h | 44 ++
1 file changed, 44 insertions(+)
diff --git a/arch/s390/include
From: Heiko Carstens
Make test_vfacility() available for other files. This is needed for the
new guest access functions, which test if certain facilities are available
for a guest.
Signed-off-by: Heiko Carstens
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390
ect
vcpu's last exception if needed.
Signed-off-by: Heiko Carstens
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/kvm/kvm-s390.h | 33 +
2 files changed, 34 insertions(+)
diff --
Acked-by: Alexander Graf
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt| 8 ++---
Documentation/virtual/kvm/devices/vm.txt | 6
arch/s390/kvm/kvm-s390.c | 54
include/uapi/linux/kvm.h | 1
eviewed-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/ctl_reg.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/arch/s390/include/asm/ctl_reg.h b/arch/s390/include/asm/ctl_reg.h
index 4e63f1a..31ab9f3 100644
--- a/arch/s3
;t be switched off
once enabled. All subsequently created vCPUs will be enabled for
CMMA according to the CMMA state of the VM.
Signed-off-by: Dominik Dingel
Signed-off-by: Christian Borntraeger
[remove now unnecessary calls to age_table_reset_pgste]
---
arch/s390/include/asm/kvm_host.h | 1 +
ing on the vcpu's addressing mode the upper 40 bits (24 bit addressing
mode), 33 bits (31 bit addressing mode) or no bits (64 bit addressing mode)
will be zeroed and the remaining bits will be returned.
Signed-off-by: Heiko Carstens
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm
g base s390 are either ACKed or written by the s390
maintainers
- One base KVM patch "KVM: add kvm_is_error_gpa() helper"
Christian
Christian Borntraeger (1):
KVM: s390: Drop pending interrupts on guest exit
Cornelia Huck (1):
KVM: s390: reinject io interrupt on tpi failure
David Hilden
stens
Reviewed-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
include/linux/kvm_host.h | 7 +++
1 file changed, 7 insertions(+)
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h
index 7d21cf9..471d140 100644
--- a/include/linux/kvm_host.h
On 09/04/14 16:21, Christian Borntraeger wrote:
> Ingo, Arnaldo,
>
> two fixes indentified during kvm on s390 development are available
>
> since commit 538592ff0b008237ae88f5ce5fb1247127dc3ce5:
>
> Merge tag 'perf-core-for-mingo' of
> git://git.kernel
On 16/04/14 10:13, Marc Zyngier wrote:
> Hi Mario,
>
> On 16/04/14 02:24, Mario Smarduch wrote:
>> Hi Eric, Mark -
>>what repository should I use to pick up Eric patches?
>
> The initial posting was there:
>
> https://lists.cs.columbia.edu/pipermail/kvmarm/2014-April/008791.html
>
> Reading
On 16/04/14 15:00, Jiri Olsa wrote:
> On Wed, Apr 09, 2014 at 04:21:58PM +0200, Christian Borntraeger wrote:
>> From: Alexander Yarygin
>>
>> Trace events potentially can have a '-' in their trace system name,
>> e.g. kvm on s390 defines kvm-s390:* tracepoint
On 16/04/14 15:28, Christian Borntraeger wrote:
> On 16/04/14 15:00, Jiri Olsa wrote:
>> On Wed, Apr 09, 2014 at 04:21:58PM +0200, Christian Borntraeger wrote:
>>> From: Alexander Yarygin
>>>
>>> Trace events potentially can have a '-' in their trace
On 17/04/14 13:32, Jiri Olsa wrote:
> On Tue, Mar 25, 2014 at 11:15:29AM +0100, Paolo Bonzini wrote:
>> Il 24/03/2014 21:49, Christian Borntraeger ha scritto:
>>> event_legacy_tracepoint:
>>> +PE_NAME '-' PE_NAME ':' PE_NAME
>>> +{
>>
While preparing/testing some KVM on s390 patches for the next merge window
(target is kvm/next which is based on 3.15-rc1) I faced a very severe
performance hickup on guest paging (all anonymous memory).
All memory bound guests are in "D" state now and the system is barely unusable.
Reverting c
From: Dominik Dingel
To enable CMMA and to reset its state we use the vm kvm_device ioctls,
encapsulating attributes within the KVM_S390_VM_MEM_CTRL group.
Signed-off-by: Dominik Dingel
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/devices/vm.txt | 16
arch
Acked-by: Alexander Graf
Signed-off-by: Christian Borntraeger
---
Documentation/virtual/kvm/api.txt| 8 ++---
Documentation/virtual/kvm/devices/vm.txt | 10 ++
arch/s390/kvm/kvm-s390.c | 54
include/uapi/linux/kvm.h | 1
ase KVM patch "KVM: add kvm_is_error_gpa() helper"
- One patch introduces the notion of VM device attributes
----
Christian Borntraeger (1):
KVM: s390: Drop pending interrupts on guest exit
Cornelia Huck (1):
KVM
On 22/04/14 12:55, Christian Borntraeger wrote:
> While preparing/testing some KVM on s390 patches for the next merge window
> (target is kvm/next which is based on 3.15-rc1) I faced a very severe
> performance hickup on guest paging (all anonymous memory).
>
> All memory bound g
On 22/04/14 17:06, Johannes Weiner wrote:
> Hi Christian,
>
> On Tue, Apr 22, 2014 at 12:55:37PM +0200, Christian Borntraeger wrote:
>> While preparing/testing some KVM on s390 patches for the next merge window
>> (target is kvm/next which is based on 3.15-rc1)
On 21/04/14 15:25, Oleg Nesterov wrote:
> async_pf_execute() has no reasons to adopt apf->mm, gup(current, mm)
> should work just fine even if current has another or NULL ->mm.
>
> Recently kvm_async_page_present_sync() was added insedie the "use_mm"
> section, but it seems that it doesn't need cu
On 21/04/14 15:26, Oleg Nesterov wrote:
> get_user_pages(mm) is simply wrong if mm->mm_users == 0 and exit_mmap/etc
> was already called (or is in progress), mm->mm_count can only pin mm->pgd
> and mm_struct itself.
>
> Change kvm_setup_async_pf/async_pf_execute to inc/dec mm->mm_users.
>
> kvm_c
On 22/04/14 22:15, Christian Borntraeger wrote:
> On 21/04/14 15:25, Oleg Nesterov wrote:
>> async_pf_execute() has no reasons to adopt apf->mm, gup(current, mm)
>> should work just fine even if current has another or NULL ->mm.
>>
>> Recently kvm_async_page_pre
On 17/04/14 16:40, Jiri Olsa wrote:
> On Mon, Mar 24, 2014 at 09:49:00PM +0100, Christian Borntraeger wrote:
>> From: Alexander Yarygin
>>
>> Trace events potentially can have a '-' in their trace system name,
>> e.g. kvm on s390 defines kvm-s390:* tracepoint
On 23/04/14 13:45, Jiri Olsa wrote:
> On Mon, Apr 21, 2014 at 07:43:50PM +0400, Alexander Yarygin wrote:
[...]
>> And a bit of offtopic :)
>> Apparently, s390 doesn't have syscalls:*, so some of the tests
>> don't work properly (or maybe I missed something? I set
>> CONFIG_FTRACE_SYSCALLS
>> to 'y
ions(+), 6 deletions(-)
>
I gave both patches some testing on s390, seems fine. I think patch2 really
does fix a bug. So if Paolo, Marcelo, Gleb agree (maybe do a test on x86 for
async_pf) both patches are good to go. Given that somebody tests this on x86:
Acked-by: Christian Borntraeger
--
To
From: Alexander Yarygin
kvm stat support is currently conditional on i386/x86_64. Let's
abstract this into a HAVE_KVM_STAT_SUPPORT flag, so that other
architectures can support kvm stat as well.
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntr
From: Alexander Yarygin
Use the symbolic translation tables from sie.h for decoding diag, sigp
and sie exit codes.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/trace.h | 32
The goal of this series is to
- enable perf kvm stat on s390
- get rid of a perf warning "insn_to_mnemonic not found" when it tries to
decode s390 perf trace events
Review feedback is welcome.
In addition, The patch set touches s390/kvm code and perf code.
So any feedback on which tree to use fo
From: Alexander Yarygin
This patch defines CPUINFO_PROC for s390 and implements get_cpuid().
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
tools/perf/arch/s390/Makefile | 1 +
tools/perf/arch/s390/util/header.c | 17
arch-depended things.
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
tools/perf/builtin-kvm.c | 37 +
1 file changed, 21 insertions(+), 16 deletions(-)
diff --git a/tools/perf/builtin-kvm.c b/tools/perf/bu
: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/x86/include/uapi/asm/kvm.h | 8
tools/perf/builtin-kvm.c| 10 --
2 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/arch/x86/include/uapi/asm/kvm.h b/arch/x86/include
From: Alexander Yarygin
This patch allows perf to record SIE trace events, decode them and print
performance statistics.
Commands perf kvm stat record, report and stat are supported.
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch
Usage of tables with 'end of sequence' marker can simplify
get_exit_reason() function.
Also patch introduces a define_exit_reasons_table, which makes easier to
define new tables.
Signed-off-by: Alexander Yarygin
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
tool
that may cause a SIE intercept.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/uapi/asm/sie.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/arch/s390
From: Alexander Yarygin
The current trace definition doesn't work very well with the perf tool.
Perf shows a "insn_to_mnemonic not found" message. Let's handle the
decoding completely in a parseable format.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
R
From: Alexander Yarygin
This makes it possible for other architectures to decode to different
string lengths.
Needed by follow-up patch "perf kvm: add stat support on s390".
Signed-off-by: Alexander Yarygin
Signed-off-by: Christian Borntraeger
---
tools/perf/builtin-
: Christian Borntraeger
---
arch/s390/include/uapi/asm/sie.h | 212 +++
1 file changed, 212 insertions(+)
create mode 100644 arch/s390/include/uapi/asm/sie.h
diff --git a/arch/s390/include/uapi/asm/sie.h b/arch/s390/include/uapi/asm/sie.h
new file mode 100644
index
*"
> invalid or unsupported event: 'kvm-s390:*'
>
> This patch adds an extra rule to event_legacy_tracepoint which handles
> those cases. Without the patch, perf will not accept such tracepoints in
> the -e option.
>
> Signed-off-by: Alexander Yarygin
Tested-by
On 28/04/14 18:39, Paolo Bonzini wrote:
> From: Christian Borntraeger
>
> When starting lots of dataplane devices the bootup takes very long on
> Christian's s390 with irqfd patches. With larger setups he is even
> able to trigger some timeouts in some components.
Paolo, Gleb,
please consider belows pull request for 3.16.
Thanks
Christian
The following changes since commit 198c74f43f0f5473f99967aead30ddc622804bc1:
KVM: MMU: flush tlb out of mmu lock when write-protect the sptes (2014-04-23
17:49:52 -0300)
are available in the git repository at:
-by: David Hildenbrand
Reviewed-by: Dominik Dingel
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 2 +
arch/s390/kvm/kvm-s390.c | 123 ++-
arch/s390/kvm/trace-s390.h | 22
the exception data accordingly.
Signed-off-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/gaccess.c | 28
arch/s390/kvm/gaccess.h | 1 +
2 files changed, 29 insertions(+)
diff --git a/arch/s390/kvm/gaccess.c b/arch
From: Thomas Huth
TEST BLOCK is also subject to the low-address protection, so we need
to check the destination address in our handler.
Signed-off-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/priv.c | 3 +++
1 file changed, 3 insertions
-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/intercept.c | 55 ++-
1 file changed, 54 insertions(+), 1 deletion(-)
diff --git a/arch/s390/kvm/intercept.c b/arch/s390/kvm/intercept.c
index 30e1c5e
From: Thomas Huth
Add a check for low-address protection to the PFMF handler and
convert real-addresses to absolute if necessary, as it is defined
in the Principles of Operations specification.
Signed-off-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
these functions.
Signed-off-by: David Hildenbrand
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/diag.c | 2 +-
arch/s390/kvm/intercept.c | 3 +--
arch/s390/kvm/interrupt.c | 2 +-
arch/s390/kvm/kvm-s390.c | 16 ++--
arch/s390/kvm/kvm
On 30/04/14 10:07, Heiko Carstens wrote:
> On Tue, Apr 29, 2014 at 03:36:43PM +0200, Christian Borntraeger wrote:
>> +static int handle_mvpg_pei(struct kvm_vcpu *vcpu)
>> +{
>> +unsigned long hostaddr, srcaddr, dstaddr;
>> +psw_t *psw = &vcpu->arch.sie_blo
On 03/05/14 22:18, Dan Carpenter wrote:
> When copy_from_user() fails, this code returns the number of bytes
> remaining instead of a negative error code. The positive number is
> returned to the user but otherwise it is harmless.
>
> Signed-off-by: Dan Carpenter
Thanks. Applied to KVM/s390 fix
David,
thanks for the review.
Are you ok with this change as well? The alternative is to shorten our
descriptions (in 1/11 s390: add sie exit reasons tables), which would make the
trace output less comprehensible, though.
Christian
On 25/04/14 11:12, Christian Borntraeger wrote:
> F
On 02/05/14 20:14, David Ahern wrote:
> On 5/2/14, 3:16 AM, Jiri Olsa wrote:
[...]
>> CC-ing David Ahern
>>
> I don't have the original emails, but looking at
> https://lkml.org/lkml/2014/4/25/331
>
>
> [PATCH 01/11] s390: add sie exit reasons tables
> [PATCH 02/11] KVM: s390: Use trace tables fr
On 25/04/14 11:12, Christian Borntraeger wrote:
> +#if defined(__i386__) || defined(__x86_64__)
> else if (!strcmp(kvm->report_event, "mmio"))
> kvm->events_ops = &mmio_events;
> else if (!strcmp(kvm->report_event, "i
On 28/04/14 18:39, Paolo Bonzini wrote:
> From: Christian Borntraeger
Given all your work, What about From: Paolo Bonzini
plus
"Based on an inital patch from Christian Borntraeger"
>
> When starting lots of dataplane devices the bootup takes very long on
> Christian
From: Thomas Huth
Add an interface to inject clock comparator and CPU timer interrupts
into the guest. This is needed for handling the external interrupt
interception.
Signed-off-by: Thomas Huth
Reviewed-by: David Hildenbrand
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
Paolo, Gleb,
the s390 queue has 3 fixes scheduled for 3.16.
The EFAULT fix fixes a bug that is only in kvm/next, and the
other fixes are long standing non-critical problems so no
cc stable.
Please apply.
The following changes since commit 57b5981cd38cbca3554c5e663b2361d9adea70c2:
Merge tag '
we either
have to inject the interrupts manually or we should drop to userspace in
case of errors.
Signed-off-by: Thomas Huth
Reviewed-by: David Hildenbrand
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 5 +++-
arch/s390/kvm/intercept.c
From: Dan Carpenter
When copy_from_user() fails, this code returns the number of bytes
remaining instead of a negative error code. The positive number is
returned to the user but otherwise it is harmless.
Signed-off-by: Dan Carpenter
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm
From: Cornelia Huck
s390 has acquired irqfd support with commit "KVM: s390: irq routing for
adapter interrupts" (84223598778ba08041f4297fda485df83414d57e) but
failed to announce it. Let's fix that.
Signed-off-by: Cornelia Huck
Acked-by: Christian Borntraeger
Signed-of
Paolo,
here is a fix for kvm/master targetting 3.15
The following changes since commit 5367742ad5321dd38058420adb4750ed9c7ead1e:
Merge tag 'signed-for-3.15' of git://github.com/agraf/linux-2.6 into
kvm-master (2014-05-13 18:15:16 +0200)
are available in the git repository at:
git://git.k
On 13/05/14 16:58, Michael Mueller wrote:
> The proposed patch set implements S390 cpu model support in kvm. A cpu
> model is defined by a triple comprizing the cpu type , the cpu facility
> set and instruction blocking control. A consumer requests a feasible
> combination of that that triple befor
well.
Signed-off-by: Thomas Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.h | 1 +
arch/s390/kvm/priv.c | 5 -
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/arch/s390/kvm/kvm-s390.h b/arch/s390/kvm/kvm-s390.h
index
that may cause a SIE intercept.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/include/uapi/asm/sie.h | 33 +
1 file changed, 33 insertions(+)
diff --git a/arch/s390
Acked-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 4 +++-
arch/s390/kvm/diag.c | 2 +-
arch/s390/kvm/gaccess.h | 8
arch/s390/kvm/kvm-s390.c | 10 ++
arch/s390/kvm/kvm-s390.h | 8 +++-
arch/s390/kvm/priv.c
From: Thomas Huth
Use the new helper function kvm_arch_fault_in_page() for faulting-in
the guest pages and only inject addressing errors when we've really
hit a bad address (and return other error codes to userspace instead).
Signed-off-by: Thomas Huth
Reviewed-by: Christian Borntr
From: Michael Mueller
The patch adds functionality to retrieve the IBC configuration
by means of function sclp_get_ibc().
Signed-off-by: Michael Mueller
Acked-by: Cornelia Huck
Acked-by: Heiko Carstens
Acked-by: Christian Borntraeger
---
arch/s390/include/asm/sclp.h | 1 +
drivers/s390
host faults from
taking place which does have implications on keys vs PGSTE.
Signed-off-by: Martin Schwidefsky
Signed-off-by: Christian Borntraeger
---
arch/s390/mm/pgtable.c | 22 +++---
1 file changed, 7 insertions(+), 15 deletions(-)
diff --git a/arch/s390/mm/pgtable.c b/arch
on will be done automatically
by the SIE when preparing the start of the target cpu.
Signed-off-by: David Hildenbrand
Reviewed-by: Cornelia Huck
CC: Thomas Huth
[Adopt external call injection to check for sigp interpretion]
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/
Huth
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/intercept.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/arch/s390/kvm/intercept.c b/arch/s390/kvm/intercept.c
index bd607cf..ddc69f5 100644
--- a/arch/s390/kvm/intercept.c
From: Alexander Yarygin
Use the symbolic translation tables from sie.h for decoding diag, sigp
and sie exit codes.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/trace.h | 32
From: Alexander Yarygin
The current trace definition doesn't work very well with the perf tool.
Perf shows a "insn_to_mnemonic not found" message. Let's handle the
decoding completely in a parseable format.
Signed-off-by: Alexander Yarygin
Acked-by: Christian Borntraeger
R
Paolo,
the following changes since commit d9f89b88f5102ce235b75a5907838e3c7ed84b97:
KVM: x86: Fix CR3 reserved bits check in long mode (2014-05-12 20:04:01 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git
tags/kvm-s390-20140516
: Christian Borntraeger
---
arch/s390/include/uapi/asm/sie.h | 212 +++
1 file changed, 212 insertions(+)
create mode 100644 arch/s390/include/uapi/asm/sie.h
diff --git a/arch/s390/include/uapi/asm/sie.h b/arch/s390/include/uapi/asm/sie.h
new file mode 100644
index
before).
Signed-off-by: Thomas Huth
Reviewed-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Signed-off-by: Christian Borntraeger
---
arch/s390/kvm/kvm-s390.c | 32 +---
arch/s390/kvm/kvm-s390.h | 1 +
2 files changed, 26 insertions(+), 7 deletions(-)
diff --git a
On 22/05/14 10:53, Paolo Bonzini wrote:
> Il 22/05/2014 10:23, Michael Mueller ha scritto:
>> On Wed, 21 May 2014 15:22:35 +0200
>> Alexander Graf wrote:
>>
>> I have seen the slides from Eduardo which he presented during this years
>> DevConf in Brno and made my comments according the s390x imple
On 21/05/14 23:43, Juan Quintela wrote:
>
> Hi
>
> Please, send any topic that you are interested in covering.
(mostly) Michael Mueller
-
CPU models on s390 and other platforms. Interfaces/requirements/Contraints etc.
> Thanks, Juan.
>
> Call details:
>
> 15:00
From: Thomas Huth
The TPROT instruction can be used to check the accessability of storage
for any kind of logical addresses. So far, our handler only supported
real addresses. This patch now also enables support for addresses that
have to be translated via DAT first. And while we're at it, change
Paolo,
The following changes since commit 1f854112553a1d65363ab27d4ee3dfb4b27075fb:
KVM: vmx: DR7 masking on task switch emulation is wrong (2014-05-22 17:47:18
+0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git
tags/kvm-s390-20
iewed-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 e519860..06d1888 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -950,7 +950,7 @
From: Thomas Huth
This patch adds a function for translating logical guest addresses into
physical guest addresses without touching the memory at the given location.
Signed-off-by: Thomas Huth
Reviewed-by: Cornelia Huck
---
arch/s390/kvm/gaccess.c | 53
Wang
Reviewed-by: Christian Borntraeger
Reviewed-by: Cornelia Huck
Tested-by: Matthew Rosato
Signed-off-by: Christian Borntraeger
---
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/kvm/kvm-s390.c | 4 +++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/arch/s390/includ
: David Hildenbrand
Reviewed-by: Cornelia Huck
Reviewed-by: Christian Borntraeger
---
arch/s390/kvm/interrupt.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/s390/kvm/interrupt.c b/arch/s390/kvm/interrupt.c
index bf0d9bc..90c8de2 100644
--- a/arch/s390/kvm/interrupt.c
+++ b/arch/s390/kvm
From: Jens Freimann
We have all the logic to inject interrupts available in
kvm_s390_inject_vcpu(), so let's use it instead of
injecting irqs manually to the list in sigp code.
SIGP stop is special because we have to check the
action_flags before injecting the interrupt. As
the action_flags are
ed-off-by: Christoph Hellwig
Make sense to me.
Reviewed-by: Christian Borntraeger
[...]
> - /* If barriers are supported, tell block layer that queue is ordered */
> + /*
> + * If barriers are supported, tell block layer that queue is ordered.
> + *
> + *
Avi, Marcelo,
commit 628eb9b8a8f3ef31d8316112a4596b1a21b38159
KVM: s390: streamline memslot handling
introduced kvm_s390_vcpu_get_memsize. This broke guests >=4G, since this
function returned an int.
This patch changes the return value to a long.
Signed-off-by: Christian Borntrae
501 - 600 of 1075 matches
Mail list logo