linux/drivers/vfio/mdev
Christoph Hellwig 685a1537f4 vfio/mdev: consolidate all the description sysfs into the core code
Every driver just emits a string, simply add a method to the mdev_driver
to return it and provide a standard sysfs show function.

Remove the now unused types_attrs field in struct mdev_driver and the
support code for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Kirti Wankhede <kwankhede@nvidia.com>
Link: https://lore.kernel.org/r/20220923092652.100656-14-hch@lst.de
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
2022-10-04 12:06:58 -06:00
..
Kconfig vfio: Use kconfig if XX/endif blocks instead of repeating 'depends on' 2021-08-26 10:36:51 -06:00
Makefile vfio/mdev: Remove vfio_mdev.c 2022-04-21 07:36:56 -04:00
mdev_core.c vfio/mdev: remove mtype_get_parent_dev 2022-10-04 12:06:58 -06:00
mdev_driver.c vfio/mdev: consolidate all the description sysfs into the core code 2022-10-04 12:06:58 -06:00
mdev_private.h vfio/mdev: unexport mdev_bus_type 2022-10-04 12:06:58 -06:00
mdev_sysfs.c vfio/mdev: consolidate all the description sysfs into the core code 2022-10-04 12:06:58 -06:00