Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-21 Thread Bertrand Marquis
> On 21 Oct 2020, at 10:46, Julien Grall wrote: > > Hi Bertrand, > > On 21/10/2020 10:44, Bertrand Marquis wrote: >>> Bertrand reminded me today that I forgot to answer the e-mail (sorry). I am >>> happy with using printk_once(). >> Shall i also keep the .enable implementation ? >> At the en

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-21 Thread Julien Grall
Hi Bertrand, On 21/10/2020 10:44, Bertrand Marquis wrote: Bertrand reminded me today that I forgot to answer the e-mail (sorry). I am happy with using printk_once(). Shall i also keep the .enable implementation ? At the end having: if ( cpus_have_cap(ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE) )

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-21 Thread Bertrand Marquis
Hi, > On 21 Oct 2020, at 10:03, Julien Grall wrote: > > Hi, > > On 15/10/2020 19:05, Stefano Stabellini wrote: >> On Thu, 15 Oct 2020, Bertrand Marquis wrote: On 14 Oct 2020, at 22:15, Stefano Stabellini wrote: On Wed, 14 Oct 2020, Julien Grall wrote: > On 14/10/2020

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-21 Thread Julien Grall
Hi, On 15/10/2020 19:05, Stefano Stabellini wrote: On Thu, 15 Oct 2020, Bertrand Marquis wrote: On 14 Oct 2020, at 22:15, Stefano Stabellini wrote: On Wed, 14 Oct 2020, Julien Grall wrote: On 14/10/2020 17:03, Bertrand Marquis wrote: On 14 Oct 2020, at 12:35, Andrew Cooper wrote: On 14/10

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-15 Thread Stefano Stabellini
On Thu, 15 Oct 2020, Bertrand Marquis wrote: > > On 14 Oct 2020, at 22:15, Stefano Stabellini wrote: > > > > On Wed, 14 Oct 2020, Julien Grall wrote: > >> On 14/10/2020 17:03, Bertrand Marquis wrote: > On 14 Oct 2020, at 12:35, Andrew Cooper > wrote: > > On 14/10/2020 11:41

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-15 Thread Bertrand Marquis
Hi, > On 14 Oct 2020, at 22:15, Stefano Stabellini wrote: > > On Wed, 14 Oct 2020, Julien Grall wrote: >> On 14/10/2020 17:03, Bertrand Marquis wrote: On 14 Oct 2020, at 12:35, Andrew Cooper wrote: On 14/10/2020 11:41, Bertrand Marquis wrote: > When a Cortex A57 processor is

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Stefano Stabellini
On Wed, 14 Oct 2020, Julien Grall wrote: > On 14/10/2020 17:03, Bertrand Marquis wrote: > > > On 14 Oct 2020, at 12:35, Andrew Cooper wrote: > > > > > > On 14/10/2020 11:41, Bertrand Marquis wrote: > > > > When a Cortex A57 processor is affected by CPU errata 832075, a guest > > > > not implement

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Stefano Stabellini
On Wed, 14 Oct 2020, Bertrand Marquis wrote: > > On 14 Oct 2020, at 12:11, Julien Grall wrote: > > > > Hi Bertrand, > > > > On 14/10/2020 11:41, Bertrand Marquis wrote: > >> When a Cortex A57 processor is affected by CPU errata 832075, a guest > >> not implementing the workaround for it could de

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Julien Grall
Hi Bertrand, On 14/10/2020 17:03, Bertrand Marquis wrote: On 14 Oct 2020, at 12:35, Andrew Cooper wrote: On 14/10/2020 11:41, Bertrand Marquis wrote: When a Cortex A57 processor is affected by CPU errata 832075, a guest not implementing the workaround for it could deadlock the system. Add

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Julien Grall
Hi Andrew, On 14/10/2020 12:35, Andrew Cooper wrote: On 14/10/2020 11:41, Bertrand Marquis wrote: When a Cortex A57 processor is affected by CPU errata 832075, a guest not implementing the workaround for it could deadlock the system. Add a warning during boot informing the user that only truste

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Bertrand Marquis
> On 14 Oct 2020, at 12:35, Andrew Cooper wrote: > > On 14/10/2020 11:41, Bertrand Marquis wrote: >> When a Cortex A57 processor is affected by CPU errata 832075, a guest >> not implementing the workaround for it could deadlock the system. >> Add a warning during boot informing the user that o

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Bertrand Marquis
> On 14 Oct 2020, at 12:11, Julien Grall wrote: > > Hi Bertrand, > > On 14/10/2020 11:41, Bertrand Marquis wrote: >> When a Cortex A57 processor is affected by CPU errata 832075, a guest >> not implementing the workaround for it could deadlock the system. >> Add a warning during boot informing

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Andrew Cooper
On 14/10/2020 11:41, Bertrand Marquis wrote: > When a Cortex A57 processor is affected by CPU errata 832075, a guest > not implementing the workaround for it could deadlock the system. > Add a warning during boot informing the user that only trusted guests > should be executed on the system. > An e

Re: [PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Julien Grall
Hi Bertrand, On 14/10/2020 11:41, Bertrand Marquis wrote: When a Cortex A57 processor is affected by CPU errata 832075, a guest not implementing the workaround for it could deadlock the system. Add a warning during boot informing the user that only trusted guests should be executed on the system

[PATCH] xen/arm: Warn user on cpu errata 832075

2020-10-14 Thread Bertrand Marquis
When a Cortex A57 processor is affected by CPU errata 832075, a guest not implementing the workaround for it could deadlock the system. Add a warning during boot informing the user that only trusted guests should be executed on the system. An equivalent warning is already given to the user by KVM o