mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
e522a788eb
[ Upstream commit a9d2e9ae953f0ddd0327479c81a085adaa76d903 ] This moves siw and rxe to be virtual devices in the device tree: lrwxrwxrwx 1 root root 0 Nov 6 13:55 /sys/class/infiniband/rxe0 -> ../../devices/virtual/infiniband/rxe0/ Previously they were trying to parent themselves to the physical device of their attached netdev, which doesn't make alot of sense. My hope is this will solve some weird syzkaller hits related to sysfs as it could be possible that the parent of a netdev is another netdev, eg under bonding or some other syzkaller found netdev configuration. Nesting a ib_device under anything but a physical device is going to cause inconsistencies in sysfs during destructions. Link: https://lore.kernel.org/r/0-v1-dcbfc68c4b4a+d6-virtual_dev_jgg@nvidia.com Signed-off-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
rxe_av.c | ||
rxe_comp.c | ||
rxe_cq.c | ||
rxe_hdr.h | ||
rxe_hw_counters.c | ||
rxe_hw_counters.h | ||
rxe_icrc.c | ||
rxe_loc.h | ||
rxe_mcast.c | ||
rxe_mmap.c | ||
rxe_mr.c | ||
rxe_net.c | ||
rxe_net.h | ||
rxe_opcode.c | ||
rxe_opcode.h | ||
rxe_param.h | ||
rxe_pool.c | ||
rxe_pool.h | ||
rxe_qp.c | ||
rxe_queue.c | ||
rxe_queue.h | ||
rxe_recv.c | ||
rxe_req.c | ||
rxe_resp.c | ||
rxe_srq.c | ||
rxe_sysfs.c | ||
rxe_task.c | ||
rxe_task.h | ||
rxe_verbs.c | ||
rxe_verbs.h | ||
rxe.c | ||
rxe.h |