vas.h (8ef7b9e1765a52c8023d9133a2438ac9f6da486a) | vas.h (b903737bc522e0ef3f45a2a60c364ff547572c9b) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright 2020-21 IBM Corp. 4 */ 5 6#ifndef _VAS_H 7#define _VAS_H 8#include <asm/vas.h> --- 16 unchanged lines hidden (view full) --- 25#define VAS_WIN_CLOSED 0x1 26#define VAS_WIN_INACTIVE 0x2 /* Inactive due to HW failure */ 27/* Process of being modified, deallocated, or quiesced */ 28#define VAS_WIN_MOD_IN_PROCESS 0x3 29 30#define VAS_COPY_PASTE_USER_MODE 0x00000001 31#define VAS_COP_OP_USER_MODE 0x00000010 32 | 1/* SPDX-License-Identifier: GPL-2.0-or-later */ 2/* 3 * Copyright 2020-21 IBM Corp. 4 */ 5 6#ifndef _VAS_H 7#define _VAS_H 8#include <asm/vas.h> --- 16 unchanged lines hidden (view full) --- 25#define VAS_WIN_CLOSED 0x1 26#define VAS_WIN_INACTIVE 0x2 /* Inactive due to HW failure */ 27/* Process of being modified, deallocated, or quiesced */ 28#define VAS_WIN_MOD_IN_PROCESS 0x3 29 30#define VAS_COPY_PASTE_USER_MODE 0x00000001 31#define VAS_COP_OP_USER_MODE 0x00000010 32 |
33#define VAS_GZIP_QOS_CAPABILITIES 0x56516F73477A6970 34#define VAS_GZIP_DEFAULT_CAPABILITIES 0x56446566477A6970 35 |
|
33/* 34 * Co-processor feature - GZIP QoS windows or GZIP default windows 35 */ 36enum vas_cop_feat_type { 37 VAS_GZIP_QOS_FEAT_TYPE, 38 VAS_GZIP_DEF_FEAT_TYPE, 39 VAS_MAX_FEAT_TYPE, 40}; --- 79 unchanged lines hidden (view full) --- 120 u32 pid; /* PID associated with this window */ 121 122 /* List of windows opened which is used for LPM */ 123 struct list_head win_list; 124 u64 flags; 125 char *name; 126 int fault_virq; 127}; | 36/* 37 * Co-processor feature - GZIP QoS windows or GZIP default windows 38 */ 39enum vas_cop_feat_type { 40 VAS_GZIP_QOS_FEAT_TYPE, 41 VAS_GZIP_DEF_FEAT_TYPE, 42 VAS_MAX_FEAT_TYPE, 43}; --- 79 unchanged lines hidden (view full) --- 123 u32 pid; /* PID associated with this window */ 124 125 /* List of windows opened which is used for LPM */ 126 struct list_head win_list; 127 u64 flags; 128 char *name; 129 int fault_virq; 130}; |
131 132int sysfs_add_vas_caps(struct vas_cop_feat_caps *caps); 133int __init sysfs_pseries_vas_init(struct vas_all_caps *vas_caps); |
|
128#endif /* _VAS_H */ | 134#endif /* _VAS_H */ |