public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Pierre Morel <pmorel@linux.ibm.com>
To: Janosch Frank <frankja@linux.ibm.com>,
	Janis Schoetterl-Glausch <scgl@linux.ibm.com>,
	kvm@vger.kernel.org
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
	borntraeger@de.ibm.com, cohuck@redhat.com, david@redhat.com,
	thuth@redhat.com, imbrenda@linux.ibm.com, hca@linux.ibm.com,
	gor@linux.ibm.com, wintera@linux.ibm.com, seiden@linux.ibm.com,
	nrb@linux.ibm.com
Subject: Re: [PATCH v12 3/3] KVM: s390: resetting the Topology-Change-Report
Date: Thu, 14 Jul 2022 10:37:21 +0200	[thread overview]
Message-ID: <d62d2844-1d3b-4a0a-73dc-8ed961d9e22e@linux.ibm.com> (raw)
In-Reply-To: <7cd9cf5b-d91e-f676-48e9-abbea94d62e0@linux.ibm.com>



On 7/13/22 11:01, Janosch Frank wrote:
> On 7/12/22 13:17, Pierre Morel wrote:
>>
>>
>> On 7/12/22 10:47, Janis Schoetterl-Glausch wrote:
>>> On 7/12/22 09:24, Pierre Morel wrote:
>>>>
>>>>

...

>> kernel.
>>
>> In userland we check any wrong selector before the instruction goes back
>> to the guest.
> 
> I opt for passing the lower selectors down for QEMU to handle.

OK

> 
>>
>>> But that's only relevant if STSI can be extended without a 
>>> capability, which is why I asked about that.
>>
>> Logicaly any change, extension, in the architecture should be signaled
>> by a facility bit or something.
>>
>>>
>>>> Even testing the facility or PV in the kernel is for my opinion 
>>>> arguable in the case we do not do any treatment in the kernel.
> 
> That's actually a good point.
> 
> New instruction interceptions for PV will need to be enabled by KVM via 
> a switch somewhere since the UV can't rely on the fact that KVM will 
> correctly handle it without an enablement.
> 
> 
> So please remove the pv check

OK

> 

...

>>>>>>     +static int kvm_s390_set_topology(struct kvm *kvm, struct 
>>>>>> kvm_device_attr *attr)
>>>>>
>>>>> kvm_s390_set_topology_changed maybe?
>>>>> kvm_s390_get_topology_changed below then.
> 
> kvm_s390_set_topology_change_indication
> 
> It's long but it's rarely used.
> Maybe shorten topology to "topo"

OK
I use
kvm_s390_get_topo_change_indication()


Thanks.

Regards,
Pierre

-- 
Pierre Morel
IBM Lab Boeblingen

  reply	other threads:[~2022-07-14  8:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-11  8:41 [PATCH v12 0/3] s390x: KVM: CPU Topology Pierre Morel
2022-07-11  8:41 ` [PATCH v12 1/3] KVM: s390: Cleanup ipte lock access and SIIF facility checks Pierre Morel
2022-07-11  8:41 ` [PATCH v12 2/3] KVM: s390: guest support for topology function Pierre Morel
2022-07-11 12:30   ` Janis Schoetterl-Glausch
2022-07-12  7:45     ` Pierre Morel
2022-07-12  8:50       ` Janis Schoetterl-Glausch
2022-07-12  9:21         ` Pierre Morel
2022-07-13  8:34           ` Janosch Frank
2022-07-13  8:42             ` Pierre Morel
2022-07-11  8:41 ` [PATCH v12 3/3] KVM: s390: resetting the Topology-Change-Report Pierre Morel
2022-07-11 13:22   ` Janis Schoetterl-Glausch
2022-07-12  7:24     ` Pierre Morel
2022-07-12  8:47       ` Janis Schoetterl-Glausch
2022-07-12 11:17         ` Pierre Morel
2022-07-13  9:01           ` Janosch Frank
2022-07-14  8:37             ` Pierre Morel [this message]
2022-07-13  9:02 ` [PATCH v12 0/3] s390x: KVM: CPU Topology Janosch Frank

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=d62d2844-1d3b-4a0a-73dc-8ed961d9e22e@linux.ibm.com \
    --to=pmorel@linux.ibm.com \
    --cc=borntraeger@de.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=frankja@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=hca@linux.ibm.com \
    --cc=imbrenda@linux.ibm.com \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=nrb@linux.ibm.com \
    --cc=scgl@linux.ibm.com \
    --cc=seiden@linux.ibm.com \
    --cc=thuth@redhat.com \
    --cc=wintera@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