[PATCH 0/3] s390/vfio-ap: queue_configuration sysfs attribute for mdevctl automation

Jason J. Herne posted 3 patches 1 year, 11 months ago
There is a newer version of this series
Documentation/arch/s390/vfio-ap.rst   |  27 ++++
drivers/s390/crypto/ap_bus.c          |  13 +-
drivers/s390/crypto/ap_bus.h          |  22 +++
drivers/s390/crypto/vfio_ap_ops.c     | 213 +++++++++++++++++++++++---
drivers/s390/crypto/vfio_ap_private.h |   6 +-
5 files changed, 248 insertions(+), 33 deletions(-)
[PATCH 0/3] s390/vfio-ap: queue_configuration sysfs attribute for mdevctl automation
Posted by Jason J. Herne 1 year, 11 months ago
Mdevctl requires a way to atomically query and atomically update a vfio-ap
mdev's current state. This patch set creates the queue_configuration sysfs
attribute.  This new attribute allows reading and writing an mdev's entire
state in one go. If a newly written state is invalid for any reason the entire
state is rejected and the target mdev remains unchanged.

Jason J. Herne (3):
  s390/ap: Externalize AP bus specific bitmap reading function
  s390/vfio-ap: Add sysfs attr, queue_configuration, to export mdev
    state
  s390/vfio-ap: Add write support to sysfs attr ap_config

 Documentation/arch/s390/vfio-ap.rst   |  27 ++++
 drivers/s390/crypto/ap_bus.c          |  13 +-
 drivers/s390/crypto/ap_bus.h          |  22 +++
 drivers/s390/crypto/vfio_ap_ops.c     | 213 +++++++++++++++++++++++---
 drivers/s390/crypto/vfio_ap_private.h |   6 +-
 5 files changed, 248 insertions(+), 33 deletions(-)

-- 
2.41.0
Re: [PATCH 0/3] s390/vfio-ap: queue_configuration sysfs attribute for mdevctl automation
Posted by Matthew Rosato 1 year, 10 months ago
On 1/26/24 9:35 AM, Jason J. Herne wrote:
> Mdevctl requires a way to atomically query and atomically update a vfio-ap
> mdev's current state. This patch set creates the queue_configuration sysfs

s/queue_configuration/ap_config/

Same comment also for patch 1 commit description + patch 2 title.
Re: [PATCH 0/3] s390/vfio-ap: queue_configuration sysfs attribute for mdevctl automation
Posted by Anthony Krowiak 1 year, 10 months ago
Isn't this v4 of this series?

On 1/26/24 9:35 AM, Jason J. Herne wrote:
> Mdevctl requires a way to atomically query and atomically update a vfio-ap
> mdev's current state. This patch set creates the queue_configuration sysfs
> attribute.  This new attribute allows reading and writing an mdev's entire
> state in one go. If a newly written state is invalid for any reason the entire
> state is rejected and the target mdev remains unchanged.
>
> Jason J. Herne (3):
>    s390/ap: Externalize AP bus specific bitmap reading function
>    s390/vfio-ap: Add sysfs attr, queue_configuration, to export mdev
>      state
>    s390/vfio-ap: Add write support to sysfs attr ap_config
>
>   Documentation/arch/s390/vfio-ap.rst   |  27 ++++
>   drivers/s390/crypto/ap_bus.c          |  13 +-
>   drivers/s390/crypto/ap_bus.h          |  22 +++
>   drivers/s390/crypto/vfio_ap_ops.c     | 213 +++++++++++++++++++++++---
>   drivers/s390/crypto/vfio_ap_private.h |   6 +-
>   5 files changed, 248 insertions(+), 33 deletions(-)
>