[RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change

Rorie Reyes posted 5 patches 1 month, 1 week ago
There is a newer version of this series
[RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Rorie Reyes 1 month, 1 week ago
This patch adds enumeration constant VFIO_AP_CFG_CHG_IRQ_INDEX to specify
an IRQ index for signaling that a change has been made to the guest's AP
configuration. This is a placeholder for QEMU patches that use this value
since it is a linux-headers update which includes changes that aren't
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.

Signed-off-by: Rorie Reyes <rreyes@linux.ibm.com>
---
 linux-headers/linux/vfio.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
index 1b5e254d6a..d0426b5ec0 100644
--- a/linux-headers/linux/vfio.h
+++ b/linux-headers/linux/vfio.h
@@ -671,6 +671,7 @@ enum {
  */
 enum {
 	VFIO_AP_REQ_IRQ_INDEX,
+	VFIO_AP_CFG_CHG_IRQ_INDEX,
 	VFIO_AP_NUM_IRQS
 };
 
-- 
2.39.5 (Apple Git-154)
Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Cédric Le Goater 1 month, 1 week ago
Hello Rorie,

On 2/4/25 18:07, Rorie Reyes wrote:
> This patch adds enumeration constant VFIO_AP_CFG_CHG_IRQ_INDEX to specify
> an IRQ index for signaling that a change has been made to the guest's AP
> configuration. This is a placeholder for QEMU patches that use this value
> since it is a linux-headers update which includes changes that aren't
> merged into the kernel. Linux-headers patches should be generated using
> scripts/update-linux-headers.sh.
> 
> Signed-off-by: Rorie Reyes <rreyes@linux.ibm.com>
> ---
>   linux-headers/linux/vfio.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/linux-headers/linux/vfio.h b/linux-headers/linux/vfio.h
> index 1b5e254d6a..d0426b5ec0 100644
> --- a/linux-headers/linux/vfio.h
> +++ b/linux-headers/linux/vfio.h
> @@ -671,6 +671,7 @@ enum {
>    */
>   enum {
>   	VFIO_AP_REQ_IRQ_INDEX,
> +	VFIO_AP_CFG_CHG_IRQ_INDEX,
>   	VFIO_AP_NUM_IRQS
>   };
>   

Are the kernel changes planned for 6.14 ?

FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
approximately when 6.14-rc7 will be released.

Thanks,

C.
Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Rorie Reyes 3 days, 18 hours ago
On 2/5/25 3:38 AM, Cédric Le Goater wrote:

>
> Are the kernel changes planned for 6.14 ?
>
> FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
> approximately when 6.14-rc7 will be released.
>
> Thanks,
>
> C. 

Vasily - Since you applied my kernel patches already ([RFC PATCH v2] 
s390/vfio-ap: Notify userspace that guest's AP config changed when mdev 
removed), would you be able to answer Cedric's

a question?

Cedric - I have some changes I need to make based on Tony's review 
comments from Friday, but I'll wait to post it once you get an answer 
for your question. Sorry I took a while to respond. I had to

make some changes for my kernel code this past month.


Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Vasily Gorbik 3 days, 18 hours ago
On Mon, Mar 10, 2025 at 10:20:05AM -0400, Rorie Reyes wrote:
> On 2/5/25 3:38 AM, Cédric Le Goater wrote:
> 
> > 
> > Are the kernel changes planned for 6.14 ?
> >
> >
> > 
> > FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
> > approximately when 6.14-rc7 will be released.
> > 
> > Thanks,
> > 
> > C.
> 
> Vasily - Since you applied my kernel patches already ([RFC PATCH v2]
> s390/vfio-ap: Notify userspace that guest's AP config changed when mdev
> removed), would you be able to answer Cedric's

We are at v6.14-rc6. The changes are queued for the 6.15 merge window.

https://lore.kernel.org/r/20250107183645.90082-1-rreyes@linux.ibm.com
https://lore.kernel.org/r/20250304200812.54556-1-rreyes@linux.ibm.com

Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Rorie Reyes 3 days, 17 hours ago
On 3/10/25 10:47 AM, Vasily Gorbik wrote:
> On Mon, Mar 10, 2025 at 10:20:05AM -0400, Rorie Reyes wrote:
>> On 2/5/25 3:38 AM, Cédric Le Goater wrote:
>>
>>> Are the kernel changes planned for 6.14 ?
>>>
>>>
>>>
>>> FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
>>> approximately when 6.14-rc7 will be released.
>>>
>>> Thanks,
>>>
>>> C.
>> Vasily - Since you applied my kernel patches already ([RFC PATCH v2]
>> s390/vfio-ap: Notify userspace that guest's AP config changed when mdev
>> removed), would you be able to answer Cedric's
> We are at v6.14-rc6. The changes are queued for the 6.15 merge window.
>
> https://lore.kernel.org/r/20250107183645.90082-1-rreyes@linux.ibm.com
> https://lore.kernel.org/r/20250304200812.54556-1-rreyes@linux.ibm.com
Thanks Vasily!

Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Cédric Le Goater 3 days, 18 hours ago
Hello Rorie,



On 3/10/25 15:20, Rorie Reyes wrote:
> On 2/5/25 3:38 AM, Cédric Le Goater wrote:
> 
>>
>> Are the kernel changes planned for 6.14 ?
>>
>> FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
>> approximately when 6.14-rc7 will be released.
>>
>> Thanks,
>>
>> C. 
> 
> Vasily - Since you applied my kernel patches already ([RFC PATCH v2] s390/vfio-ap: Notify userspace that guest's AP config changed when mdev removed), would you be able to answer Cedric's
> 
> a question?
> 
> Cedric - I have some changes I need to make based on Tony's review comments from Friday, but I'll wait to post it once you get an answer for your question. Sorry I took a while to respond. I had to
> 
> make some changes for my kernel code this past month.
> 

AFAICT, the changes were merged in the s390 sub-maintainer tree,
07d89045bffea30ef08b902c2441a3329e44f29d, and they haven't reached
Linux master yet. Seems a bit late for the 6.14 cycle now.

linux-headers in QEMU are in sync with version 6.14-rc3 and that
should the last update before QEMU 10.0 soft-freeze tomorrow.

Most likely, this series should now target the next cycles:
Linux 6.15 and QEMU 10.1. We have time.


Thanks,

C.




Re: [RFC PATCH v2 1/5] linux-headers: NOTFORMERGE - placeholder uapi updates for AP config change
Posted by Rorie Reyes 3 days, 17 hours ago
On 3/10/25 10:38 AM, Cédric Le Goater wrote:
> Hello Rorie,
>
>
>
> On 3/10/25 15:20, Rorie Reyes wrote:
>> On 2/5/25 3:38 AM, Cédric Le Goater wrote:
>>
>>>
>>> Are the kernel changes planned for 6.14 ?
>>>
>>> FYI, QEMU 10.0 hard freeze is scheduled for 2025-03-18 which is
>>> approximately when 6.14-rc7 will be released.
>>>
>>> Thanks,
>>>
>>> C. 
>>
>> Vasily - Since you applied my kernel patches already ([RFC PATCH v2] 
>> s390/vfio-ap: Notify userspace that guest's AP config changed when 
>> mdev removed), would you be able to answer Cedric's
>>
>> a question?
>>
>> Cedric - I have some changes I need to make based on Tony's review 
>> comments from Friday, but I'll wait to post it once you get an answer 
>> for your question. Sorry I took a while to respond. I had to
>>
>> make some changes for my kernel code this past month.
>>
>
> AFAICT, the changes were merged in the s390 sub-maintainer tree,
> 07d89045bffea30ef08b902c2441a3329e44f29d, and they haven't reached
> Linux master yet. Seems a bit late for the 6.14 cycle now.
>
> linux-headers in QEMU are in sync with version 6.14-rc3 and that
> should the last update before QEMU 10.0 soft-freeze tomorrow.
>
> Most likely, this series should now target the next cycles:
> Linux 6.15 and QEMU 10.1. We have time.
>
>
> Thanks,
>
> C.
Thanks Cedric! I'll post the v3 patch from Tony's review