Re: [PATCH v6 1/1] PCI: hotplug: Add 'uevent' sysfs attribute to trigger slot events
| Newsgroups | org.kernel.vger.linux-s390,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
> Add a write-only 'uevent' sysfs attribute for synthesizing > uevents for a PCI slot. This extends the existing uevent > support which emits a KOBJ_ADD uevent in pci_hp_add() with > the ability to replay such uevents for cold plugged devices. > As such events are only emitted by hotplug capable PCI slots > so is the support for synthesizing them. > > The change was validated by manually triggering 'add' uevent > for a specific hotplug PCI slot: > > $ echo "add $(uuidgen)" | sudo tee \ > /sys/bus/pci/slots/<slot-id>/uevent > > Signed-off-by: Ramesh Errabolu <[email protected]> Sashiko has reviewed this patch and found no issues. It looks great! -- Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1