]> git.karo-electronics.de Git - karo-tx-linux.git/commit
sparc64: enhance VIO device probing
authorJag Raman <jag.raman@oracle.com>
Fri, 23 Jun 2017 18:58:38 +0000 (14:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 Jun 2017 20:43:14 +0000 (13:43 -0700)
commitaa512d5edeab267d612c6be93eb6a2368ee7a6d6
tree5ea6bf86e8fa027343b28724c0302c5fd3b458c0
parent110f2264b37674e99057acd249a930040fad55b1
sparc64: enhance VIO device probing

- Allocate IRQs for VIO devices during probing.
- Allow clients to specify if IRQs would be allocated for a given
  VIO device.
- Cache the device handle of the root node of channel-devices sub-tree in
  Machine Description (MDESC).

Signed-off-by: Jagannathan Raman <jag.raman@oracle.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
Reviewed-by: Shannon Nelson <shannon.nelson@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/vio.h
arch/sparc/kernel/vio.c