On 6/27/25 11:12 AM, Matthew Rosato wrote:
AFAICT this portion of the handler including mutex should be moved out of ap.c
into chsc_sei_nt0_get_event(). When vfio_ap is not in use, we can't call into
it. Can't you also build without VFIO_AP? I didn't try it but that sure seems
like it wou
On 6/12/25 2:18 AM, Cédric Le Goater wrote:
On 6/11/25 23:12, Rorie Reyes wrote:
Created an attribute constructor for cfg_chg_events_lock for locking
mechanism when storing event information for an AP configuration change
event
Fixes: fd03360215 ("Storing event information for
On 6/12/25 12:44 AM, Thomas Huth wrote:
On 11/06/2025 23.12, Rorie Reyes wrote:
Created an attribute constructor for cfg_chg_events_lock for locking
mechanism when storing event information for an AP configuration change
event
Fixes: fd03360215 ("Storing event information for
Created an attribute constructor for cfg_chg_events_lock for locking
mechanism when storing event information for an AP configuration change
event
Fixes: fd03360215 ("Storing event information for an AP configuration change
event")
Signed-off-by: Rorie Reyes
---
hw/vfio
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony
e, it will use the stub file.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Reviewed-by: Cédric Le Goater
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 21 +
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 32 inser
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 40
- removed warnings that weren't needed
- added unregister function
- removed whitelines
- changed variable names for consistency
- removed rc variable and returning 1 or 0 outright
- reversed logics for if statements
- using g_free() instead of free()
- replaced hardcoded numeric valu
On 6/9/25 6:19 AM, Anthony Krowiak wrote:
+ QTAILQ_INSERT_TAIL(&cfg_chg_events, cfg_chg_event, next);
Need locking here:
WITH_QEMU_LOCK_GUARD(&cfg_chg_events_lock) {
QTAILQ_INSERT_TAIL(&cfg_chg_events, cfg_chg_event, next);
}
Wouldn't QEMU_LOCK_GUARD(&cfg_chg_events_lock) be better since it
e, it will use the stub file.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Reviewed-by: Cédric Le Goater
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 21 +
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 32 inser
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 43
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
s for consistency
- removed rc variable and returning 1 or 0 outright
- reversed logics for if statements
- using g_free() instead of free()
- replaced hardcoded numeric values by defining them with #define
in the header
-
On 6/6/25 7:48 AM, Anthony Krowiak wrote:
On 6/5/25 1:57 PM, Rorie Reyes wrote:
On 6/4/25 9:47 AM, Anthony Krowiak wrote:
On 6/3/25 4:30 PM, Cédric Le Goater wrote:
On 6/3/25 20:01, Rorie Reyes wrote:
On 6/3/25 10:21 AM, Cédric Le Goater wrote:
On 6/3/25 14:58, Rorie Reyes wrote
On 6/4/25 9:47 AM, Anthony Krowiak wrote:
On 6/3/25 4:30 PM, Cédric Le Goater wrote:
On 6/3/25 20:01, Rorie Reyes wrote:
On 6/3/25 10:21 AM, Cédric Le Goater wrote:
On 6/3/25 14:58, Rorie Reyes wrote:
Hey Cedric,
You mentioned the following in my v9 patches
"In that case, let
On 6/3/25 10:21 AM, Cédric Le Goater wrote:
On 6/3/25 14:58, Rorie Reyes wrote:
Hey Cedric,
You mentioned the following in my v9 patches
"In that case, let's keep it simple (no mutex) and add a
assert(bql_locked())
statement where we think the bql should be protecting access
édric Le Goater wrote:
On 5/23/25 18:03, Rorie Reyes wrote:
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
e, it will use the stub file.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Reviewed-by: Cédric Le Goater
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 21 +
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 32 inser
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 53
at a guest's AP configuration has
changed. The handler in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config ch
diff --git a/hw/s390x/ap-stub.c b/hw/s390x/ap-stub.c
new file mode 100644
index 00..e2dacff959
--- /dev/null
+++ b/hw/s390x/ap-stub.c
@@ -0,0 +1,25 @@
+/*
+ * VFIO based AP matrix device assignment
+ *
+ * Copyright 2025 IBM Corp.
+ * Author(s): Rorie Reyes
+ *
+ * SPDX-License
@@ -96,6 +99,49 @@ static void vfio_ap_cfg_chg_notifier_handler(void
*opaque)
}
+bool ap_chsc_sei_nt0_get_event(void *res)
+{
+ ChscSeiNt0Res *nt0_res = (ChscSeiNt0Res *)res;
+ APConfigChgEvent *cfg_chg_event;
+
+ qemu_mutex_lock(&cfg_chg_events_lock);
+
+ if (!ap_chsc_sei_nt0_
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
e, it will use the stub file.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Reviewed-by: Cédric Le Goater
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 25 +
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files change
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 53
has
changed. The handler in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (4):
hw/vfio/ap: notificati
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
I had those concepts mixed up. I apologize
On 5/22/25 11:05 PM, Rorie Reyes wrote:
On 5/22/25 3:02 PM, Anthony Krowiak wrote:
On 5/22/25 9:35 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
These functions can be invoked by the function that handles
interception
of the CHS
On 5/22/25 3:02 PM, Anthony Krowiak wrote:
On 5/22/25 9:35 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
These functions can be invoked by the function that handles
interception
of the CHSC SEI instruction for requests indicating the
accessibility of
one or more
On 5/22/25 11:36 AM, Cédric Le Goater wrote:
On 5/22/25 16:28, Rorie Reyes wrote:
On 5/22/25 9:27 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects
On 5/22/25 9:30 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie
On 5/22/25 11:36 AM, Cédric Le Goater wrote:
On 5/22/25 16:28, Rorie Reyes wrote:
On 5/22/25 9:27 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects
On 5/22/25 9:27 AM, Cédric Le Goater wrote:
On 5/12/25 20:02, Rorie Reyes wrote:
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the
diff --git a/hw/s390x/ap-stub.c b/hw/s390x/ap-stub.c
new file mode 100644
index 00..e2dacff959
--- /dev/null
+++ b/hw/s390x/ap-stub.c
@@ -0,0 +1,25 @@
+/*
+ * VFIO based AP matrix device assignment
+ *
+ * Copyright 2025 IBM Corp.
+ * Author(s): Rorie Reyes
+ *
+ * SPDX-License
e, it will use the stub file.
Signed-off-by: Rorie Reyes
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 25 +
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 36 insertions(+), 2 deletions(-)
create mode 100644 hw/s390x/ap-s
ion has
changed. The handler in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (4):
hw/vfio/ap: noti
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
Kernel commit 8a141be3233a changed from using
ASSEMBLY to ASSEMBLER
Updated the update-linux-header script to match
Signed-off-by: Rorie Reyes
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update
Update headers to retrieve uapi information for vfio-ap
Signed-off-by: Rorie Reyes
---
include/standard-headers/asm-x86/setup_data.h | 4 +-
include/standard-headers/drm/drm_fourcc.h | 41 ++
include/standard-headers/linux/const.h| 2 +-
include/standard-headers/linux
nfiguration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (6):
linux-header: update-linux-header script changes
linux-headers: Update to Linux v6.15-rc3
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
e, it will use the stub file.
Signed-off-by: Rorie Reyes
---
MAINTAINERS | 1 +
hw/s390x/ap-stub.c| 23 +++
hw/s390x/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 34 insertions(+), 2 deletions(-)
create mode 100644 hw/s390x/ap-s
On 5/6/25 3:00 AM, Cédric Le Goater wrote:
On 4/28/25 23:29, Cédric Le Goater wrote:
On 4/25/25 07:23, Rorie Reyes wrote:
Changelog:
v7:
- Dropped initial commit for linux-header file vfio.h since I
created two new commits
to address the changes made in v6
- Moved patches 6 and 7 to the
On 4/28/25 5:29 PM, Cédric Le Goater wrote:
On 4/25/25 07:23, Rorie Reyes wrote:
Changelog:
v7:
- Dropped initial commit for linux-header file vfio.h since I created
two new commits
to address the changes made in v6
- Moved patches 6 and 7 to the beginning of the series after dropping
the
On 4/29/25 3:30 AM, Cédric Le Goater wrote:
On 4/29/25 07:22, Thomas Huth wrote:
On 29/04/2025 02.17, Alexey Kardashevskiy wrote:
The recent kernel update 8a141be3233af7d broke the headers update,
fix it in the script.
Thanks, but the same patch is already on the list:
https://lore.kernel.o
Kernel commit 8a141be3233a changed from using
ASSEMBLY to ASSEMBLER
Updated the update-linux-header script to match
Signed-off-by: Rorie Reyes
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update
ff-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
MAINTAINERS | 1 +
hw/vfio/ap-stub.c | 23 +++
hw/vfio/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 34 insertions(+), 2 deletions(-)
create mode 1006
Update headers to retrieve uapi information for vfio-ap
Signed-off-by: Rorie Reyes
---
include/standard-headers/asm-x86/setup_data.h | 4 +-
include/standard-headers/drm/drm_fourcc.h | 41 ++
include/standard-headers/linux/const.h| 2 +-
include/standard-headers/linux
ome other
inefficient mechanism for detecting config changes.
Rorie Reyes (6):
linux-header: update-linux-header script changes
linux-headers: Update to Linux v6.15-rc3
hw/vfio/ap: notification handler for AP config changed event
hw/vfio/ap: store object indicating AP config changed in a queu
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
ff-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
MAINTAINERS | 1 +
hw/vfio/ap-stub.c | 23 +++
hw/vfio/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 34 insertions(+), 2 deletions(-)
create mode 1006
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
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..
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
Kernel commit 8a14 changed from using ASSEMBLY to ASSEMBLER
Updated the update-linux-header script to match
Signed-off-by: Rorie Reyes
---
scripts/update-linux-headers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/update-linux-headers.sh b/scripts/update-linux
Update headers to retrieve uapi information for vfio-ap
Signed-off-by: Rorie Reyes
---
include/standard-headers/asm-x86/setup_data.h | 4 +-
include/standard-headers/drm/drm_fourcc.h | 41 ++
include/standard-headers/linux/const.h| 2 +-
include/standard-headers/linux
r in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (7):
linux-headers: NOTFORMERGE - placeholder ua
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
ff-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
MAINTAINERS | 1 +
hw/vfio/ap-stub.c | 23 +++
hw/vfio/meson.build | 1 +
target/s390x/ioinst.c | 11 +--
4 files changed, 34 insertions(+), 2 deletions(-)
create mode 1006
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
#x27;s AP configuration has
changed. The handler in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reye
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
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..
On 4/14/25 10:54 AM, Thomas Huth wrote:
On 14/04/2025 16.37, Rorie Reyes wrote:
On 4/11/25 2:45 AM, Thomas Huth wrote:
#include CONFIG_DEVICES
at the beginning of the ioinst.c file. Then you should be able to do:
#ifdef CONFIG_VFIO_AP
if (s390_has_feat(S390_FEAT_AP)) {
return
On 4/11/25 2:45 AM, Thomas Huth wrote:
#include CONFIG_DEVICES
at the beginning of the ioinst.c file. Then you should be able to do:
#ifdef CONFIG_VFIO_AP
if (s390_has_feat(S390_FEAT_AP)) {
return ap_chsc_sei_nt0_get_event(res);
}
#endif
This worked
(or whatever the code shou
On 3/17/25 9:41 AM, Thomas Huth wrote:
On 11/03/2025 16.16, Rorie Reyes wrote:
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
t
On 3/17/25 9:41 AM, Thomas Huth wrote:
On 11/03/2025 16.16, Rorie Reyes wrote:
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
t
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
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
ing config changes.
Rorie Reyes (5):
linux-headers: NOTFORMERGE - placeholder uapi updates for AP config
change
hw/vfio/ap: notification handler for AP config changed event
hw/vfio/ap: store object indicating AP config changed in a queue
hw/vfio/ap: Storing event information for an AP con
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 10
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 31 +++
1 file changed, 31 insertions(+)
diff
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
target/s390x/ioinst.c | 11 +--
1 file changed, 9 insertions(+), 2 dele
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:
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 38
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
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..
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
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..
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 12
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
---
hw/vfio/ap.c | 31 +++
1 file
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
target/s390x/ioinst.c | 11 +--
1 file changed, 9 insertions(+), 2 dele
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 39
he handler in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (5):
linux-headers: NOTFORMERGE - placeh
On 1/7/25 2:06 PM, Alex Williamson wrote:
On Tue, 7 Jan 2025 13:43:49 -0500
Rorie Reyes wrote:
This patch series creates and registers a handler that is called when
userspace is notified by the kernel that a guest's AP configuration has
changed. The handler in turn notifies the guest
Register an event notifier handler to process AP configuration
change events by queuing the event and generating a CRW to let
the guest know its AP configuration has changed
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 29 +
1 file changed, 29 insertions(+)
diff
These functions can be invoked by the function that handles interception
of the CHSC SEI instruction for requests indicating the accessibility of
one or more adjunct processors has changed.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 38
7;t
merged into the kernel. Linux-headers patches should be generated using
scripts/update-linux-headers.sh.
Signed-off-by: Rorie Reyes
---
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..
Handle interception of the CHSC SEI instruction for requests
indicating the guest's AP configuration has changed.
Signed-off-by: Rorie Reyes
Reviewed-by: Anthony Krowiak
Tested-by: Anthony Krowiak
---
target/s390x/ioinst.c | 11 +--
1 file changed, 9 insertions(+), 2 dele
er in turn notifies the guest that its AP configuration
has changed. This allows the guest to immediately respond to AP
configuration changes rather than relying on polling or some other
inefficient mechanism for detecting config changes.
Rorie Reyes (5):
linux-headers: NOTFORMERGE - placeholder ua
Creates an object indicating that an AP configuration change event
has been received and stores it in a queue. These objects will later
be used to store event information for an AP configuration change
when the CHSC instruction is intercepted.
Signed-off-by: Rorie Reyes
---
hw/vfio/ap.c | 14
1 - 100 of 110 matches
Mail list logo