diff mbox series

[1/2] KVM: s390: gen_facilities: allow facilities 165, 193, 194 and 196

Message ID 20210622143412.143369-2-borntraeger@de.ibm.com (mailing list archive)
State New, archived
Headers show
Series KVM: s390: Enable some more facilities | expand

Commit Message

Christian Borntraeger June 22, 2021, 2:34 p.m. UTC
This enables the neural NNPA, BEAR enhancement,reset DAT protection and
processor activity counter facilities via the cpu model.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
---
 arch/s390/tools/gen_facilities.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Claudio Imbrenda June 22, 2021, 4:24 p.m. UTC | #1
On Tue, 22 Jun 2021 16:34:11 +0200
Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> This enables the neural NNPA, BEAR enhancement,reset DAT protection
> and processor activity counter facilities via the cpu model.
> 
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>

Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>

> ---
>  arch/s390/tools/gen_facilities.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/s390/tools/gen_facilities.c
> b/arch/s390/tools/gen_facilities.c index 61ce5b59b828..606324e56e4e
> 100644 --- a/arch/s390/tools/gen_facilities.c
> +++ b/arch/s390/tools/gen_facilities.c
> @@ -115,6 +115,10 @@ static struct facility_def facility_defs[] = {
>  			12, /* AP Query Configuration Information */
>  			15, /* AP Facilities Test */
>  			156, /* etoken facility */
> +			165, /* nnpa facility */
> +			193, /* bear enhancement facility */
> +			194, /* rdp enhancement facility */
> +			196, /* processor activity instrumentation
> facility */ -1  /* END */
>  		}
>  	},
Cornelia Huck June 22, 2021, 4:38 p.m. UTC | #2
On Tue, Jun 22 2021, Christian Borntraeger <borntraeger@de.ibm.com> wrote:

> This enables the neural NNPA, BEAR enhancement,reset DAT protection and
> processor activity counter facilities via the cpu model.
>
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
>  arch/s390/tools/gen_facilities.c | 4 ++++
>  1 file changed, 4 insertions(+)

Acked-by: Cornelia Huck <cohuck@redhat.com>
Janosch Frank June 23, 2021, 7:29 a.m. UTC | #3
On 6/22/21 4:34 PM, Christian Borntraeger wrote:
> This enables the neural NNPA, BEAR enhancement,reset DAT protection and
> processor activity counter facilities via the cpu model.
> 
> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
> ---
>  arch/s390/tools/gen_facilities.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c
> index 61ce5b59b828..606324e56e4e 100644
> --- a/arch/s390/tools/gen_facilities.c
> +++ b/arch/s390/tools/gen_facilities.c
> @@ -115,6 +115,10 @@ static struct facility_def facility_defs[] = {
>  			12, /* AP Query Configuration Information */
>  			15, /* AP Facilities Test */
>  			156, /* etoken facility */
> +			165, /* nnpa facility */
> +			193, /* bear enhancement facility */
> +			194, /* rdp enhancement facility */
> +			196, /* processor activity instrumentation facility */
>  			-1  /* END */
>  		}
>  	},
> 

Reviewed-by: Janosch Frank <frankja@linux.ibm.com>
diff mbox series

Patch

diff --git a/arch/s390/tools/gen_facilities.c b/arch/s390/tools/gen_facilities.c
index 61ce5b59b828..606324e56e4e 100644
--- a/arch/s390/tools/gen_facilities.c
+++ b/arch/s390/tools/gen_facilities.c
@@ -115,6 +115,10 @@  static struct facility_def facility_defs[] = {
 			12, /* AP Query Configuration Information */
 			15, /* AP Facilities Test */
 			156, /* etoken facility */
+			165, /* nnpa facility */
+			193, /* bear enhancement facility */
+			194, /* rdp enhancement facility */
+			196, /* processor activity instrumentation facility */
 			-1  /* END */
 		}
 	},