mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
4fea49a79e
Add support for operation code 3 (OC3) of the Perform-Network-Subchannel-Operations (PNSO) function of the Channel-Subsystem-Call (CHSC) instruction. PNSO provides 2 operation codes: OC0 - BRIDGE_INFO OC3 - ADDR_INFO (new) Extend the function calls to *pnso* to pass the OC and add new response code 0108. Support for OC3 is indicated by a flag in the css_general_characteristics. Signed-off-by: Alexandra Winter <wintera@linux.ibm.com> Reviewed-by: Julian Wiedmann <jwi@linux.ibm.com> Reviewed-by: Peter Oberparleiter <oberpar@linux.ibm.com> Reviewed-by: Vineeth Vijayan <vneethv@linux.ibm.com> Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Acked-by: Heiko Carstens <hca@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
48 lines
904 B
C
48 lines
904 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_CSS_CHARS_H
|
|
#define _ASM_CSS_CHARS_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct css_general_char {
|
|
u64 : 12;
|
|
u64 dynio : 1; /* bit 12 */
|
|
u64 : 4;
|
|
u64 eadm : 1; /* bit 17 */
|
|
u64 : 23;
|
|
u64 aif : 1; /* bit 41 */
|
|
u64 : 3;
|
|
u64 mcss : 1; /* bit 45 */
|
|
u64 fcs : 1; /* bit 46 */
|
|
u64 : 1;
|
|
u64 ext_mb : 1; /* bit 48 */
|
|
u64 : 7;
|
|
u64 aif_tdd : 1; /* bit 56 */
|
|
u64 : 1;
|
|
u64 qebsm : 1; /* bit 58 */
|
|
u64 : 2;
|
|
u64 aiv : 1; /* bit 61 */
|
|
u64 : 2;
|
|
|
|
u64 : 3;
|
|
u64 aif_osa : 1; /* bit 67 */
|
|
u64 : 12;
|
|
u64 eadm_rf : 1; /* bit 80 */
|
|
u64 : 1;
|
|
u64 cib : 1; /* bit 82 */
|
|
u64 : 5;
|
|
u64 fcx : 1; /* bit 88 */
|
|
u64 : 19;
|
|
u64 alt_ssi : 1; /* bit 108 */
|
|
u64 : 1;
|
|
u64 narf : 1; /* bit 110 */
|
|
u64 : 5;
|
|
u64 enarf: 1; /* bit 116 */
|
|
u64 : 6;
|
|
u64 util_str : 1;/* bit 123 */
|
|
} __packed;
|
|
|
|
extern struct css_general_char css_general_characteristics;
|
|
|
|
#endif
|