]> www.infradead.org Git - users/jedix/linux-maple.git/commit
SPARC64: VIO: Support for virtual-device MD node probing
authorAaron Young <Aaron.Young@oracle.com>
Fri, 17 Feb 2017 23:18:53 +0000 (18:18 -0500)
committerChuck Anderson <chuck.anderson@oracle.com>
Thu, 6 Apr 2017 07:13:43 +0000 (00:13 -0700)
commit744d2a3d39bafcb53e56f45de8aec0a60c5022bd
treeec7d3a479c6d42abc086a1f5b7bfbd8687dce605
parent787c729bd46ca449f6cb73f2e8bf5a9ce0247943
SPARC64: VIO: Support for virtual-device MD node probing

This update adds support to the mdesc/vio infrastructure to
probe for "virtual-device" nodes in the MD. The vio
module will create sysfs device files for these nodes which
can be accessed by user space code (such as udev). In addition,
VIO drivers can now probe for these MD nodes if the need arises.

This functionality will serve as part of the fix for
BUG 24841906.

Signed-off-by: Aaron Young <Aaron.Young@oracle.com>
Reviewed-By: Alexandre Chartre <Alexandre.Chartre@oracle.com>
Orabug: 24841906
arch/sparc/include/asm/mdesc.h
arch/sparc/include/asm/vio.h
arch/sparc/kernel/mdesc.c
arch/sparc/kernel/vio.c