linux/drivers/misc/mei
Pratyush Anand acd8f91739 mei: make sysfs modalias format similar as uevent modalias
commit 6f9193ec04 upstream.

modprobe is not able to resolve sysfs modalias for mei devices.

 # cat
/sys/class/watchdog/watchdog0/device/watchdog/watchdog0/device/modalias
mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:
 # modprobe --set-version 4.9.6-200.fc25.x86_64 -R
mei::05b79a6f-4628-4d7f-899d-a91514cb32ab:
modprobe: FATAL: Module mei::05b79a6f-4628-4d7f-899d-a91514cb32ab: not
found in directory /lib/modules/4.9.6-200.fc25.x86_64
 # cat /lib/modules/4.9.6-200.fc25.x86_64/modules.alias | grep
05b79a6f-4628-4d7f-899d-a91514cb32ab
alias mei:*:05b79a6f-4628-4d7f-899d-a91514cb32ab:*:* mei_wdt

commit b26864cad1 ("mei: bus: add client protocol
version to the device alias"), however sysfs modalias
is still in formmat mei:S:uuid:*.

This patch equates format of uevent and sysfs modalias so that modprobe
is able to resolve the aliases.

Fixes: commit b26864cad1 ("mei: bus: add client protocol version to the device alias")
Signed-off-by: Pratyush Anand <panand@redhat.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
History 2017-06-14 15:05:59 +02:00
..
amthif.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
bus-fixup.c mei: bus: fix received data size check in NFC fixup 2016-10-31 10:25:22 -06:00
bus.c mei: make sysfs modalias format similar as uevent modalias 2017-06-14 15:05:59 +02:00
client.c mei: move write cb to completion on credentials failures 2017-01-12 11:39:21 +01:00
client.h mei: add wrapper for queuing control commands. 2016-08-30 14:39:42 +02:00
debugfs.c mei: hbm: send immediate reply flag in enum request 2016-02-07 14:47:20 -08:00
hbm.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
hbm.h mei: me: d0i3: add d0i3 enter/exit state machine 2015-08-03 17:33:55 -07:00
hw-me-regs.h mei: me: add lewisburg device ids 2017-01-09 08:32:20 +01:00
hw-me.c Merge 4.8-rc5 into char-misc-next 2016-09-05 08:04:07 +02:00
hw-me.h mei: me: d0i3: enable d0i3 interrupts 2015-08-03 17:33:54 -07:00
hw-txe-regs.h mei: extract fw status registers 2014-05-03 19:21:22 -04:00
hw-txe.c mei: txe: don't clean an unprocessed interrupt cause. 2016-10-24 19:38:39 +02:00
hw-txe.h mei: fix kernel-doc warnings 2014-09-29 11:56:02 -04:00
hw.h mei: hbm: send immediate reply flag in enum request 2016-02-07 14:47:20 -08:00
init.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
interrupt.c mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
Kconfig mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
main.c mei: remove support for broken parallel read 2017-03-12 06:41:46 +01:00
Makefile mei: wd: drop the watchdog code from the core mei driver 2016-02-06 22:11:06 -08:00
mei-trace.c mei: trace pci configuration space io 2016-02-07 13:00:52 -08:00
mei-trace.h mei: drop superfluous closing bracket from write traces 2016-02-07 14:47:20 -08:00
mei_dev.h mei: stop the stall timer worker if not needed 2016-09-27 12:33:47 +02:00
pci-me.c mei: me: add lewisburg device ids 2017-01-09 08:32:20 +01:00
pci-txe.c mei: recover after errors in runtime pm flow 2016-08-30 14:36:39 +02:00