]> 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)
commitc909afb777103741137c1fedc32f1fbcf79fe929
tree08206f6e31555f7e043c13ff5224dbe7f60cef4e
parentef705b6e5d30ab14cd99662affa6e9757d10e7cc
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