From: Halil Pasic <pasic@linux.ibm.com>
To: Tony Krowiak <akrowiak@linux.ibm.com>
Cc: linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org,
kvm@vger.kernel.org, jjherne@linux.ibm.com,
borntraeger@linux.ibm.com, frankja@linux.ibm.com,
imbrenda@linux.ibm.com, david@redhat.com, mjrosato@linux.ibm.com,
Halil Pasic <pasic@linux.ibm.com>
Subject: Re: [PATCH v3 2/3] s390/vfio-ap: set status response code to 06 on gisc registration failure
Date: Fri, 27 Oct 2023 13:19:04 +0200 [thread overview]
Message-ID: <20231027131904.165c7ad6.pasic@linux.ibm.com> (raw)
In-Reply-To: <20231026183250.254432-3-akrowiak@linux.ibm.com>
On Thu, 26 Oct 2023 14:32:44 -0400
Tony Krowiak <akrowiak@linux.ibm.com> wrote:
> Since this scenario is very unlikely to happen and there is no status
> response code to indicate an invalid ISC value, let's set the
Again invalid ISC won't happen except for hypervisor messes up.
> response code to 06 indicating 'Invalid address of AP-queue notification
> byte'. While this is not entirely accurate, it is better than indicating
> that the ZONE/GISA designation is invalid which is something the guest
> can do nothing about since those values are set by the hypervisor.
And more importantly AP_RESPONSE_INVALID_GISA is not valid for G2 in
the given scenario, since G2 is not trying to set up interrupts on behalf
of the G3 with a G3 GISA, but G2 is trying to set up interrupts for
itself. And then AP_RESPONSE_INVALID_GISA is architecturally simply not
a valid RC!
>
> Signed-off-by: Anthony Krowiak <akrowiak@linux.ibm.com>
> Suggested-by: Halil Pasic <pasic@linux.ibm.com>
Except for the explanation in the commit message, the patch is good. It
is up to you if you want to fix the commit message or not.
Reviewed-by: Halil Pasic <pasic@linux.ibm.com>
next prev parent reply other threads:[~2023-10-27 11:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-26 18:32 [PATCH v3 0/3] a couple of corrections to the IRQ enablement function Tony Krowiak
2023-10-26 18:32 ` [PATCH v3 1/3] s390/vfio-ap: unpin pages on gisc registration failure Tony Krowiak
2023-10-26 18:32 ` [PATCH v3 2/3] s390/vfio-ap: set status response code to 06 " Tony Krowiak
2023-10-27 8:25 ` Harald Freudenberger
2023-10-27 11:19 ` Halil Pasic [this message]
2023-10-26 18:32 ` [PATCH v3 3/3] s390/vfio-ap: improve reaction to response code 07 from PQAP(AQIC) command Tony Krowiak
-- strict thread matches above, loose matches on Subject: below --
2023-11-09 16:44 [PATCH v3 0/3] s390/vfio-ap: a couple of corrections to the IRQ enablement function Tony Krowiak
2023-11-09 16:44 ` [PATCH v3 2/3] s390/vfio-ap: set status response code to 06 on gisc registration failure Tony Krowiak
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=20231027131904.165c7ad6.pasic@linux.ibm.com \
--to=pasic@linux.ibm.com \
--cc=akrowiak@linux.ibm.com \
--cc=borntraeger@linux.ibm.com \
--cc=david@redhat.com \
--cc=frankja@linux.ibm.com \
--cc=imbrenda@linux.ibm.com \
--cc=jjherne@linux.ibm.com \
--cc=kvm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=mjrosato@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