qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cohuck@redhat.com>
To: Collin Walling <walling@linux.ibm.com>
Cc: borntraeger@de.ibm.com, qemu-s390x@nongnu.org, david@redhat.com,
	qemu-devel@nongnu.org, rth@twiddle.net
Subject: Re: [PATCH v6 2/2] s390: diagnose 318 info reset and migration support
Date: Tue, 28 Jan 2020 12:24:18 +0100	[thread overview]
Message-ID: <20200128122418.7533f4bb.cohuck@redhat.com> (raw)
In-Reply-To: <a4bfb688-3641-6c31-ad7b-e72afd5e6d50@linux.ibm.com>

On Mon, 27 Jan 2020 18:05:36 -0500
Collin Walling <walling@linux.ibm.com> wrote:

> On 1/27/20 12:35 PM, Cornelia Huck wrote:
> > On Mon, 27 Jan 2020 11:39:02 -0500
> > Collin Walling <walling@linux.ibm.com> wrote:
> >   
> >> On 1/27/20 6:47 AM, Cornelia Huck wrote:  
> >>> On Fri, 24 Jan 2020 17:14:04 -0500
> >>> Collin Walling <walling@linux.ibm.com> wrote:
> >>>     
> 
> [...]
> 
> >>>>
> >>>> The availability of this instruction is determined by byte 134, bit 0
> >>>> of the Read Info block. This coincidentally expands into the space used    
> >>>
> >>> "SCLP Read Info"
> >>>     
> >>>> for CPU entries by taking away one byte, which means VMs running with
> >>>> the diag318 capability will not be able to retrieve information regarding
> >>>> the 248th CPU. This will not effect performance, and VMs can still be
> >>>> ran with 248 CPUs.    
> >>>
> >>> Are there other ways in which that might affect guests? I assume Linux
> >>> can deal with it? Is it ok architecture-wise?
> >>>
> >>> In any case, should go into the patch description :)
> >>>     
> >>
> >> Same as above. I'll try to provide more information regarding what happens
> >> here in my next reply.  
> > 
> > I think you can lift some stuff from the cover letter.
> >   
> 
> Here's what I found out:
> 
> Each CPU entry holds info regarding the CPU's address / ID as well as an 
> indication of the availability of certain CPU features. With these patches,
> we lose a CPU entry for one CPU (essentially what would be the CPU at the
> tail-end of the list). This CPU exists, but is essentially in limbo... the
> machine cannot access any information regarding it.

s/machine/guest/ ?

> 
> So, a VM can run with the original N max CPUs, but in reality we can only
> utilize n-1. 

s/we/the guest/ ?

With those changes, it makes sense to put your explanations into the
patch description (for later reference).

> 
> >>  
> >>>>  
> 
> [...]
> 
> 



  reply	other threads:[~2020-01-28 11:25 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-24 22:14 [PATCH v6 0/2] Use DIAG318 to set Control Program Name & Version Codes Collin Walling
2020-01-24 22:14 ` [PATCH v6 1/2] s390/kvm: header sync for diag318 Collin Walling
2020-01-24 22:14 ` [PATCH v6 2/2] s390: diagnose 318 info reset and migration support Collin Walling
2020-01-27 11:20   ` David Hildenbrand
2020-01-27 15:57     ` Collin Walling
2020-01-27 17:09       ` David Hildenbrand
2020-01-27 17:29         ` Cornelia Huck
2020-01-27 17:55           ` David Hildenbrand
2020-01-27 18:21             ` Collin Walling
2020-01-27 18:52               ` Collin Walling
2020-01-28 11:19                 ` Cornelia Huck
2020-01-27 11:36   ` Thomas Huth
2020-01-27 15:58     ` Collin Walling
2020-01-27 11:47   ` Cornelia Huck
2020-01-27 16:39     ` Collin Walling
2020-01-27 17:35       ` Cornelia Huck
2020-01-27 23:05         ` Collin Walling
2020-01-28 11:24           ` Cornelia Huck [this message]
2020-01-28 14:38             ` Collin Walling
2020-01-28 14:37         ` Collin Walling
2020-01-28 15:08           ` Cornelia Huck
2020-01-24 22:22 ` [PATCH v6 0/2] Use DIAG318 to set Control Program Name & Version Codes no-reply
2020-03-17 21:34 ` Collin Walling

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200128122418.7533f4bb.cohuck@redhat.com \
    --to=cohuck@redhat.com \
    --cc=borntraeger@de.ibm.com \
    --cc=david@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=rth@twiddle.net \
    --cc=walling@linux.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).