Re: [PATCH v5 0/2] media: ipu-bridge: survive module unload and reuse the software nodes on rebind
From: D . Manresa
Date: Tue Nov 03 2026 - 14:36:49 EST
Please drop 2/2. Bart's driver core fix [1] removes the imbalance that
2/2 compensates for, so on top of it 2/2 leaks a reference instead of
saving one. 1/2 is independent of that and still stands on its own.
For whoever picks this up later: the rebind failure 2/2 was aimed at is
still there with [1] applied. ipu_bridge_init() only unregisters its
IPU HID node on its error path, and ipu6_pci_remove() does not tear the
bridge down, so a PCI remove/rescan leaves the node registered and the
next probe fails -EEXIST. Measured on a Surface Pro 7+ on 7.3 + [1].
The machine that produced the IPU6 numbers in this thread leaves my
hands at the end of the year and I have no other IPU6, so please do
not wait on me for retests.
[1] https://lore.kernel.org/all/20261023-swnode-dev-notify-balance-v2-0-948d920a79f6@xxxxxxxxxxxxxxxx/