From: Cornelia Huck <cohuck@redhat.com>
To: linux-s390@vger.kernel.org
Subject: Re: [PATCH 08/10] KVM: s390: add functions to (un)register GISC with GISA
Date: Wed, 31 Oct 2018 16:39:54 +0000 [thread overview]
Message-ID: <20181031173954.14ca1483.cohuck@redhat.com> (raw)
In-Reply-To: <2bf1ebcc-cf08-48b7-5fc7-66865b7faffc@linux.ibm.com>
On Wed, 31 Oct 2018 17:35:11 +0100
Pierre Morel <pmorel@linux.ibm.com> wrote:
> On 31/10/2018 15:21, Cornelia Huck wrote:
> > On Wed, 31 Oct 2018 15:05:09 +0100
> > Pierre Morel <pmorel@linux.ibm.com> wrote:
> >
> >> On 25/10/2018 14:37, Michael Mueller wrote:
> > The isc space is very limited and has on top of that priority ordering;
> > I don't know if the gisa firmware code does have isc-specific semantics
> > as well.
>
> Yes it does.
>
> >
> >>
> >> Not having it will simplify the code.
> >>
> >>> +
> >>> + return gib->nisc;
> >>> +}
> >>
> >> hum.
> >> Will nisc change ?
> >> It is hard coded in the call to kvm_s390_gib_init(GAL_ISC)
> >
> > Should the nisc maybe be explicitly tied to the adapter type? Or is
> > that a global thing? If yes, does this need any differentiation?
>
> It is global and do not need differentiation pro adapter.
>
> >
> > IIRC, the aiv is a general "adapter interrupt virtualization" facility,
> > so different adapter types may be present.
>
> Yes, and it is easier if the host use the same host ISC value for all of
> them.
> After all the type of adapter is not important for the GIB
OK, thanks for clearing that up. I believe we should just go with
GAL_ISC directly in that case.
>
> >
> >>
> >> the NISC is a global value, if the only way to retrieve it is to
> >> register we need to keep it local in the space of the registering caller.
> >> I mean, registering to the GIB alert and registering an interruption are
> >> two different things and can be done in different functions.
> >>
> >> Shouldn't we just need the GAL_ISC definition?
> >
>
>
next parent reply other threads:[~2018-10-31 16:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2bf1ebcc-cf08-48b7-5fc7-66865b7faffc@linux.ibm.com>
2018-10-31 16:39 ` Cornelia Huck [this message]
[not found] <3911abab-321c-5a36-8553-7d5137f54bf4@linux.ibm.com>
2018-11-07 9:22 ` [PATCH 08/10] KVM: s390: add functions to (un)register GISC with GISA Cornelia Huck
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=20181031173954.14ca1483.cohuck@redhat.com \
--to=cohuck@redhat.com \
--cc=linux-s390@vger.kernel.org \
/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