Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-12 Thread Zenghui Yu
Hi Eric, On 2020/3/12 17:59, Auger Eric wrote: Hi Zenghui, On 3/12/20 10:19 AM, Zenghui Yu wrote: On 2020/3/11 22:00, Marc Zyngier wrote: That is still a problem with the ITS. There is no architectural way to report an error, even if the error numbers are architected... One thing we could do

Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-12 Thread Auger Eric
Hi Zenghui, On 3/12/20 10:19 AM, Zenghui Yu wrote: > On 2020/3/11 22:00, Marc Zyngier wrote: >> That is still a problem with the ITS. There is no architectural way >> to report an error, even if the error numbers are architected... >> >> One thing we could do though is to implement the stall model

Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-12 Thread Zenghui Yu
On 2020/3/11 22:00, Marc Zyngier wrote: That is still a problem with the ITS. There is no architectural way to report an error, even if the error numbers are architected... One thing we could do though is to implement the stall model (as described in 5.3.2). It still doesn't give us the error, b

Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-11 Thread Marc Zyngier
On 2020-03-11 13:48, Auger Eric wrote: Hi Zenghui, On 3/11/20 12:59 PM, Zenghui Yu wrote: Hi Eric, On 2020/3/10 22:54, Eric Auger wrote: Triggers LPIs through the INT command. the test checks the LPI hits the right CPU and triggers the right LPI intid, ie. the translation is correct. Update

Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-11 Thread Auger Eric
Hi Zenghui, On 3/11/20 12:59 PM, Zenghui Yu wrote: > Hi Eric, > > On 2020/3/10 22:54, Eric Auger wrote: >> Triggers LPIs through the INT command. >> >> the test checks the LPI hits the right CPU and triggers >> the right LPI intid, ie. the translation is correct. >> >> Updates to the config table

Re: [kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-11 Thread Zenghui Yu
Hi Eric, On 2020/3/10 22:54, Eric Auger wrote: Triggers LPIs through the INT command. the test checks the LPI hits the right CPU and triggers the right LPI intid, ie. the translation is correct. Updates to the config table also are tested, along with inv and invall commands. Signed-off-by: Er

[kvm-unit-tests PATCH v5 10/13] arm/arm64: ITS: INT functional tests

2020-03-10 Thread Eric Auger
Triggers LPIs through the INT command. the test checks the LPI hits the right CPU and triggers the right LPI intid, ie. the translation is correct. Updates to the config table also are tested, along with inv and invall commands. Signed-off-by: Eric Auger --- v4 -> v5: - move the test stub from