All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Borntraeger <borntraeger@de.ibm.com>
To: Cornelia Huck <cohuck@redhat.com>,
	Halil Pasic <pasic@linux.vnet.ibm.com>
Cc: Boris Fiuczynski <fiuczy@linux.vnet.ibm.com>,
	Dong Jia Shi <bjsdjshi@linux.vnet.ibm.com>,
	Shalini Chellathurai Saroja <shalini@linux.vnet.ibm.com>,
	qemu-devel@nongnu.org, qemu-s390x@nongnu.org
Subject: Re: [Qemu-devel] [RFC PATCH 1/1] s390x/css: unresrict cssids
Date: Tue, 21 Nov 2017 15:27:28 +0100	[thread overview]
Message-ID: <f8a837b8-8886-2446-ac7d-02db9b376945@de.ibm.com> (raw)
In-Reply-To: <20171121144457.60adb0c3.cohuck@redhat.com>



On 11/21/2017 02:44 PM, Cornelia Huck wrote:
> On Tue, 21 Nov 2017 12:18:25 +0100
> Halil Pasic <pasic@linux.vnet.ibm.com> wrote:
> 
> Subject: s/unresrict/unrestrict/
> 
>> The default css 0xFE is currently restricted to virtual subchannel
>> devices. The hope when the decision was made was, that non-virtual
>> subchannel devices will come around when guest can exploit multiple
>> channel subsystems. Since the guests generally don't do, the pain
>> of the partitioned (cssid) namespace outweighs the gain.
>>
>> Let us remove the corresponding restrictions (virtual devices
>> can be put only in 0xFE and non-virtual devices in any css except
>> the 0xFE), and inform management software property on all ccw
>> devices.
> 
> I do not really like dropping the restrictions while still keeping the


> default cssid as 0xfe. Putting virtual devices into css 0 seems
> completely fine, but putting non-virtual devices into css 0xfe still
> feels a bit wrong. What about:

I see no fundamental reason to not allow any device everywhere. And yes,
if we would start today, we would not use fe but 0. But we already have 
code outside (libvirt), we have exisiting guest xmls and we have documentation
outside and we have  communicated that via  a lot of channels. So if we want
to stay compatible we should really keep css 0xfe as the default css (that
is seen as css 0 anyway for non-mcss-e guests).

The nice thing with Halils approach is that it will continue to work
if future guests enable MCSS-E and it is the most minimal change by just
lifting a restriction in terms of flexibility. 

> 
> - Add a property to specify the default cssid. Compat machines use a
>   default cssid of 0xfe.
> - Default to a cssid of 0.
> - (optional) Warn when putting a non-virtual device into css 0xfe,
>   unless it is the default css.

  reply	other threads:[~2017-11-21 14:27 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 11:18 [Qemu-devel] [RFC PATCH 1/1] s390x/css: unresrict cssids Halil Pasic
2017-11-21 13:44 ` Cornelia Huck
2017-11-21 14:27   ` Christian Borntraeger [this message]
2017-11-21 14:45   ` Christian Borntraeger
2017-11-21 16:06     ` Cornelia Huck
2017-11-21 18:10       ` Christian Borntraeger
2017-11-22 12:18         ` Cornelia Huck
2017-11-21 15:47   ` Halil Pasic
2017-11-21 16:20     ` Cornelia Huck
2017-11-21 17:05       ` Halil Pasic
2017-11-22 12:13         ` Cornelia Huck
2017-11-22 14:45           ` Boris Fiuczynski
2017-11-22 16:25             ` Cornelia Huck
2017-11-23 13:33               ` Halil Pasic
2017-11-24 12:46                 ` Cornelia Huck
2017-11-24 13:01                   ` Christian Borntraeger
2017-11-24 13:27                     ` Cornelia Huck
2017-11-24 14:58                       ` Christian Borntraeger
2017-11-24 15:30                         ` Halil Pasic
2017-11-24 16:15                           ` Cornelia Huck
2017-11-24 16:39                             ` Halil Pasic
2017-11-27  2:20                               ` Dong Jia Shi
2017-11-27 12:58                                 ` Cornelia Huck
2017-11-28  2:10                                   ` Dong Jia Shi
2017-11-27 12:56                               ` Cornelia Huck
2017-11-27 13:11                                 ` Halil Pasic
2017-11-27 13:19                                   ` Cornelia Huck
2017-11-27 14:03                                     ` Christian Borntraeger
2017-11-27 14:38                                       ` Halil Pasic
2017-11-27 14:13                                     ` Halil Pasic
2017-11-27 15:09                                       ` Boris Fiuczynski
2017-11-27 16:56                                         ` Cornelia Huck
2017-11-27 17:34                                           ` Halil Pasic
2017-11-28  2:08                                           ` Dong Jia Shi
2017-11-28  8:53                                           ` Boris Fiuczynski
2017-11-28 10:22                                             ` Cornelia Huck
2017-11-28 11:49                                               ` Boris Fiuczynski
2017-11-28 12:14                                                 ` Cornelia Huck
2017-11-28 12:24                                                   ` Christian Borntraeger
2017-11-28 13:17                                                     ` Halil Pasic
2017-11-28 13:25                                                       ` Christian Borntraeger
2017-11-28 14:01                                                         ` Cornelia Huck
2017-11-28 14:17                                                           ` Christian Borntraeger
2017-11-28 14:45                                                             ` Cornelia Huck
2017-11-29 18:51                                                               ` Christian Borntraeger
2017-11-30  9:50                                                                 ` Cornelia Huck
2017-11-30 12:09                                                                   ` Christian Borntraeger
2017-11-28 14:11                   ` Halil Pasic
2017-11-23 16:09           ` Halil Pasic
2017-11-23 16:59             ` Cornelia Huck
2017-11-22 11:25 ` Shalini Chellathurai Saroja

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=f8a837b8-8886-2446-ac7d-02db9b376945@de.ibm.com \
    --to=borntraeger@de.ibm.com \
    --cc=bjsdjshi@linux.vnet.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=fiuczy@linux.vnet.ibm.com \
    --cc=pasic@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=shalini@linux.vnet.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 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.