diff options
author | Niklas Schnelle <schnelle@linux.ibm.com> | 2022-10-25 13:56:53 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2022-11-03 15:40:53 +0100 |
commit | 1a3a7d64bbce3179401f4e691522ff992aa1b8a1 (patch) | |
tree | 7eb3984cd30197b5e8baf56e278b8d4f02b4dc60 /mm/rodata_test.c | |
parent | bf8d2dd2ed0825a58f31cc510245a1eb46f8a87e (diff) |
iommu/s390: Get rid of s390_domain_device
The struct s390_domain_device serves the sole purpose as list entry for
the devices list of a struct s390_domain. As it contains no additional
information besides a list_head and a pointer to the struct zpci_dev we
can simplify things and just thread the device list through struct
zpci_dev directly. This removes the need to allocate during domain
attach and gets rid of one level of indirection during mapping
operations.
Reviewed-by: Matthew Rosato <mjrosato@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Niklas Schnelle <schnelle@linux.ibm.com>
Link: https://lore.kernel.org/r/20221025115657.1666860-3-schnelle@linux.ibm.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'mm/rodata_test.c')
0 files changed, 0 insertions, 0 deletions