mbox series

[Xen-devel,v2,0/3] xen/arm: Survive unknown traps from guests

Message ID 20170505143036.27405-1-julien.grall@arm.com
Headers show
Series xen/arm: Survive unknown traps from guests | expand

Message

Julien Grall May 5, 2017, 2:30 p.m. UTC
Hi all,

This small patch series ensure that Xen will not die when receiving unknown
trap from the guests. I am not aware of any issue with platform we currently
support, so I am not sure whether it would be Xen 4.9 material.

Cheers,

Julien Grall (3):
  xen/arm: arm32: Rename the trap to the correct name
  xen/arm: do_trap_hypervisor: Separate hypervisor and guest traps
  xen/arm: Survive unknown traps from guests

 xen/arch/arm/arm32/entry.S |  8 ++++----
 xen/arch/arm/arm32/traps.c |  4 ++--
 xen/arch/arm/arm64/entry.S |  6 +++---
 xen/arch/arm/traps.c       | 18 +++++++++++++++++-
 4 files changed, 26 insertions(+), 10 deletions(-)

Comments

Stefano Stabellini May 5, 2017, 7:09 p.m. UTC | #1
On Fri, 5 May 2017, Julien Grall wrote:
> Hi all,
> 
> This small patch series ensure that Xen will not die when receiving unknown
> trap from the guests. I am not aware of any issue with platform we currently
> support, so I am not sure whether it would be Xen 4.9 material.

Given that it is a bug fix and of small risk, I think it should be in
4.9.


> Cheers,
> 
> Julien Grall (3):
>   xen/arm: arm32: Rename the trap to the correct name
>   xen/arm: do_trap_hypervisor: Separate hypervisor and guest traps
>   xen/arm: Survive unknown traps from guests
> 
>  xen/arch/arm/arm32/entry.S |  8 ++++----
>  xen/arch/arm/arm32/traps.c |  4 ++--
>  xen/arch/arm/arm64/entry.S |  6 +++---
>  xen/arch/arm/traps.c       | 18 +++++++++++++++++-
>  4 files changed, 26 insertions(+), 10 deletions(-)
> 
> -- 
> 2.11.0
>
Julien Grall May 8, 2017, 10:28 a.m. UTC | #2
Hi Stefano,

On 05/05/17 20:09, Stefano Stabellini wrote:
> On Fri, 5 May 2017, Julien Grall wrote:
>> Hi all,
>>
>> This small patch series ensure that Xen will not die when receiving unknown
>> trap from the guests. I am not aware of any issue with platform we currently
>> support, so I am not sure whether it would be Xen 4.9 material.
>
> Given that it is a bug fix and of small risk, I think it should be in
> 4.9.

I agree here, this would allow Xen to be used safely on new hardware if 
no other patch is required.

Cheers,