mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-20 01:24:39 +08:00
b4ff830eca
The hwpt is added to the hwpt_list only during its creation, it is never
added again. This hunk is some missed leftover from rework. Adding it
twice will corrupt the linked list in some cases.
It effects HWPT specific attachment, which is something the test suite
cannot cover until we can create a legitimate struct device with a
non-system iommu "driver" (ie we need the bus removed from the iommu code)
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
device.c | ||
double_span.h | ||
hw_pagetable.c | ||
io_pagetable.c | ||
io_pagetable.h | ||
ioas.c | ||
iommufd_private.h | ||
iommufd_test.h | ||
Kconfig | ||
main.c | ||
Makefile | ||
pages.c | ||
selftest.c | ||
vfio_compat.c |