Re: [PATCH v4 6/6] acpi/ghes: Add a logic to inject ARM processor CPER

2024-07-31 Thread Markus Armbruster
Mauro Carvalho Chehab writes: > Em Mon, 29 Jul 2024 17:31:09 +0100 > Jonathan Cameron escreveu: > >> On Mon, 29 Jul 2024 15:21:10 +0200 >> Mauro Carvalho Chehab wrote: > > ... > >> Markus suggested: >> >> > A target-specific command like this one should be conditional. Try >> > this: >> > >>

Re: [PATCH v4 6/6] acpi/ghes: Add a logic to inject ARM processor CPER

2024-07-29 Thread Mauro Carvalho Chehab
Em Mon, 29 Jul 2024 17:31:09 +0100 Jonathan Cameron escreveu: > On Mon, 29 Jul 2024 15:21:10 +0200 > Mauro Carvalho Chehab wrote: ... > Markus suggested: > > > A target-specific command like this one should be conditional. Try > > this: > > > > { 'command': 'arm-inject-error', > >

Re: [PATCH v4 6/6] acpi/ghes: Add a logic to inject ARM processor CPER

2024-07-29 Thread Jonathan Cameron via
On Mon, 29 Jul 2024 15:21:10 +0200 Mauro Carvalho Chehab wrote: > Add an ACPI APEI GHES error injection logic for ARM > processor CPER, allowing to set fields at from > UEFI spec 2.10 tables N.16 and N.17 to any valid > value. > > As some GHES functions require handling addresses, add > a helper

[PATCH v4 6/6] acpi/ghes: Add a logic to inject ARM processor CPER

2024-07-29 Thread Mauro Carvalho Chehab
Add an ACPI APEI GHES error injection logic for ARM processor CPER, allowing to set fields at from UEFI spec 2.10 tables N.16 and N.17 to any valid value. As some GHES functions require handling addresses, add a helper function to support it. Before starting erorr inject, the QAPI requires to neg