All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] KVM: s390: one more backport for 4.4
@ 2018-05-03  9:56 Christian Borntraeger
  2018-05-03  9:56 ` [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough Christian Borntraeger
  2018-05-03 10:10 ` [PATCH 0/1] KVM: s390: one more backport for 4.4 Cornelia Huck
  0 siblings, 2 replies; 4+ messages in thread
From: Christian Borntraeger @ 2018-05-03  9:56 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Martin Schwidefsky, Christian Borntraeger, Cornelia Huck,
	David Hildenbrand, stable

Greg,

this is a backport of a patch that is needed to make
"KVM: s390: wire up bpb feature" useful in 4.4. Without that the
bpb feature is available but the guest does not know that it
can be used.

Alexander Yarygin (1):
  KVM: s390: Enable all facility bits that are known good for
    passthrough

 arch/s390/kvm/kvm-s390.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
2.14.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough
  2018-05-03  9:56 [PATCH 0/1] KVM: s390: one more backport for 4.4 Christian Borntraeger
@ 2018-05-03  9:56 ` Christian Borntraeger
  2018-05-03 18:19   ` Greg Kroah-Hartman
  2018-05-03 10:10 ` [PATCH 0/1] KVM: s390: one more backport for 4.4 Cornelia Huck
  1 sibling, 1 reply; 4+ messages in thread
From: Christian Borntraeger @ 2018-05-03  9:56 UTC (permalink / raw)
  To: Greg Kroah-Hartman
  Cc: Martin Schwidefsky, Christian Borntraeger, Cornelia Huck,
	David Hildenbrand, stable, Alexander Yarygin

From: Alexander Yarygin <yarygin@linux.vnet.ibm.com>

Some facility bits are in a range that is defined to be "ok for guests
without any necessary hypervisor changes". Enable those bits.

Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Upstream: ed8dda0bf74b4fb8e73d8880c78effabd3285fd8)
---
 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 b011140e6b06..5ddb1debba95 100644
--- a/arch/s390/kvm/kvm-s390.c
+++ b/arch/s390/kvm/kvm-s390.c
@@ -118,8 +118,8 @@ struct kvm_stats_debugfs_item debugfs_entries[] = {
 
 /* upper facilities limit for kvm */
 unsigned long kvm_s390_fac_list_mask[] = {
-	0xffe6fffbfcfdfc40UL,
-	0x005e800000000000UL,
+	0xffe6ffffffffffffUL,
+	0x005effffffffffffUL,
 };
 
 unsigned long kvm_s390_fac_list_mask_size(void)
-- 
2.14.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/1] KVM: s390: one more backport for 4.4
  2018-05-03  9:56 [PATCH 0/1] KVM: s390: one more backport for 4.4 Christian Borntraeger
  2018-05-03  9:56 ` [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough Christian Borntraeger
@ 2018-05-03 10:10 ` Cornelia Huck
  1 sibling, 0 replies; 4+ messages in thread
From: Cornelia Huck @ 2018-05-03 10:10 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Greg Kroah-Hartman, Martin Schwidefsky, David Hildenbrand, stable

On Thu,  3 May 2018 11:56:16 +0200
Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> Greg,
> 
> this is a backport of a patch that is needed to make
> "KVM: s390: wire up bpb feature" useful in 4.4. Without that the
> bpb feature is available but the guest does not know that it
> can be used.
> 
> Alexander Yarygin (1):
>   KVM: s390: Enable all facility bits that are known good for
>     passthrough
> 
>  arch/s390/kvm/kvm-s390.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 

Indeed, this patch is needed, and it looks good to me.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough
  2018-05-03  9:56 ` [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough Christian Borntraeger
@ 2018-05-03 18:19   ` Greg Kroah-Hartman
  0 siblings, 0 replies; 4+ messages in thread
From: Greg Kroah-Hartman @ 2018-05-03 18:19 UTC (permalink / raw)
  To: Christian Borntraeger
  Cc: Martin Schwidefsky, Cornelia Huck, David Hildenbrand, stable,
	Alexander Yarygin

On Thu, May 03, 2018 at 11:56:17AM +0200, Christian Borntraeger wrote:
> From: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
> 
> Some facility bits are in a range that is defined to be "ok for guests
> without any necessary hypervisor changes". Enable those bits.
> 
> Signed-off-by: Alexander Yarygin <yarygin@linux.vnet.ibm.com>
> Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> Upstream: ed8dda0bf74b4fb8e73d8880c78effabd3285fd8)

Mis-matched ) just hurts my programmer brain :)

Now applied, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-03 18:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-03  9:56 [PATCH 0/1] KVM: s390: one more backport for 4.4 Christian Borntraeger
2018-05-03  9:56 ` [PATCH 1/1] KVM: s390: Enable all facility bits that are known good for passthrough Christian Borntraeger
2018-05-03 18:19   ` Greg Kroah-Hartman
2018-05-03 10:10 ` [PATCH 0/1] KVM: s390: one more backport for 4.4 Cornelia Huck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.