[PATCH v2 0/1] PCI/hotplug: Add 'uevent' sysfs attribute to trigger slot events
From: Ramesh Errabolu
Date: Thu Apr 16 2026 - 17:41:51 EST
Hi all,
This is v2 of the patch adding write-only uevent
support for PCI slots. The original v1 was posted
in February 2026 and received valuable feedback from
Leon Romanovsky and others. This v2 addresses the feedback
and is rebased onto the current kernel tree.
Link to v1:
https://lore.kernel.org/all/20260225150815.81268-1-ramesh@xxxxxxxxxxxxx/
Testing: Tested on s390x with multiple PCI slots
- Write-only uevent attribute is created for each slot
- Writing "add" triggers proper uevent generation
- udevadm-trigger successfully generates slot uevents
- Events are properly received by udev monitoring tools
Changes since v1 (February 2026):
- Improved commit message clarity, per reviewer feedback
- Rebased onto current kernel tree (v7.x)
Ramesh Errabolu (1):
PCI/hotplug: Add 'uevent' sysfs attribute to trigger slot events
drivers/pci/hotplug/pci_hotplug_core.c | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
--
2.43.0