]> git.baikalelectronics.ru Git - kernel.git/commit
s390/diag: add diag26c support
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>
Tue, 20 Jun 2017 14:00:33 +0000 (16:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Jun 2017 19:44:15 +0000 (15:44 -0400)
commit6bd0256e91d4f5a5c926b77778b647049047024a
tree08206f6e31555f7e043c13ff5224dbe7f60cef4e
parentc1bd1ff76045f6d71a292a999461d9ba9b97c23a
s390/diag: add diag26c support

Implement support for the hypervisor diagnose 0x26c
('Access Certain System Information').
It passes a request buffer and a subfunction code, and receives
a response buffer and a return code.

Also add the scaffolding for the 'MAC Services' subfunction.
It may be used by network devices to obtain a hypervisor-managed
MAC address.

Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Acked-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/s390/include/asm/diag.h
arch/s390/kernel/diag.c