public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Krowiak <akrowiak@linux.ibm.com>
To: Paolo Bonzini <pbonzini@redhat.com>
Cc: linux-kernel@vger.kernel.org, kvm@vger.kernel.org,
	alex@shazbot.org, linux-s390@vger.kernel.org
Subject: Re: [PATCH] VFIO: remove dead notifier code
Date: Thu, 9 Apr 2026 07:55:27 -0400	[thread overview]
Message-ID: <3b982df9-e470-4cfb-9c4a-3a1b7a1a231a@linux.ibm.com> (raw)
In-Reply-To: <CABgObfZg7HTX=N3cjHCeiZ2KuKSxnbr9Q7-5ciy8WgMPwBhU5g@mail.gmail.com>



On 4/8/26 6:00 PM, Paolo Bonzini wrote:
> On Wed, Apr 8, 2026 at 4:36 PM Paolo Bonzini <pbonzini@redhat.com> wrote:
>> On Wed, Apr 8, 2026 at 4:35 PM Anthony Krowiak <akrowiak@linux.ibm.com> wrote:
>>>
>>>>      open_device:
>>>> -    The vfio_ap driver uses this callback to register a
>>>> -    VFIO_GROUP_NOTIFY_SET_KVM notifier callback function for the matrix mdev
>>>> -    devices. The open_device callback is invoked by userspace to connect the
>>>> -    VFIO iommu group for the matrix mdev device to the MDEV bus. Access to the
>>>> -    KVM structure used to configure the KVM guest is provided via this callback.
>>>> -    The KVM structure, is used to configure the guest's access to the AP matrix
>>>> -    defined via the vfio_ap mediated device's sysfs attribute files.
>>>> +    the open_device callback is invoked by userspace to connect the
>>> Capitalization:
>>> s/the open_device callback/The open device callback/
>>>
>>> Capitalization:
>>> s/this callback/This callback/
>> Heh, I had to pick one or the other (close_device previously used
>> lowercase) and chose the wrong one. :)
> I was going to make the change, but then noticed that lowercase is
> more common in the file:
>
>    create:
>      allocates the ap_matrix_mdev structure used by the vfio_ap driver to:
>
>    remove:
>      deallocates the vfio_ap mediated device's ap_matrix_mdev structure.
>      This will be allowed only if a running guest is not using the mdev.
>
>    ioctl:
>      this callback handles the VFIO_DEVICE_GET_INFO and VFIO_DEVICE_RESET
>      ioctls defined by the vfio framework.
>
> What do you think?

It's not critical. If that's the case, leave it lower case

>
> Paolo
>


  reply	other threads:[~2026-04-09 11:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-07 17:59 [PATCH] VFIO: remove dead notifier code Paolo Bonzini
2026-04-08 14:34 ` Anthony Krowiak
2026-04-08 14:36   ` Paolo Bonzini
2026-04-08 22:00     ` Paolo Bonzini
2026-04-09 11:55       ` Anthony Krowiak [this message]
2026-04-10 18:10 ` Jason Gunthorpe
2026-04-10 19:32   ` Alex Williamson

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=3b982df9-e470-4cfb-9c4a-3a1b7a1a231a@linux.ibm.com \
    --to=akrowiak@linux.ibm.com \
    --cc=alex@shazbot.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=pbonzini@redhat.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