Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-07-07 Thread Tom Rini
On Wed, Jun 24, 2020 at 01:05:19AM +, Volodymyr Babchuk wrote: > ARM Architecture reference manual clearly states that PE pipeline > should be flushed after any change to system registers. Refer to > paragraph "B2.3.5 Memory Barriers" at page B2-92 of "Arm Architecture > Reference Manual

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-07-07 Thread Tom Rini
On Tue, Jul 07, 2020 at 08:37:53PM +0900, Masahiro Yamada wrote: > On Mon, Jul 6, 2020 at 1:33 PM Masahiro Yamada > wrote: > > > > Hi. > > > > On Mon, Jun 29, 2020 at 12:29 AM Masahiro Yamada > > wrote: > > > > > > On Wed, Jun 24, 2020 at 11:07 AM Volodymyr Babchuk > > > wrote: > > > > > > > >

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-07-07 Thread Masahiro Yamada
On Mon, Jul 6, 2020 at 1:33 PM Masahiro Yamada wrote: > > Hi. > > On Mon, Jun 29, 2020 at 12:29 AM Masahiro Yamada wrote: > > > > On Wed, Jun 24, 2020 at 11:07 AM Volodymyr Babchuk > > wrote: > > > > > > ARM Architecture reference manual clearly states that PE pipeline > > > should be flushed

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-07-05 Thread Masahiro Yamada
Hi. On Mon, Jun 29, 2020 at 12:29 AM Masahiro Yamada wrote: > > On Wed, Jun 24, 2020 at 11:07 AM Volodymyr Babchuk > wrote: > > > > ARM Architecture reference manual clearly states that PE pipeline > > should be flushed after any change to system registers. Refer to > > paragraph "B2.3.5 Memory

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-06-28 Thread Masahiro Yamada
On Wed, Jun 24, 2020 at 11:07 AM Volodymyr Babchuk wrote: > > ARM Architecture reference manual clearly states that PE pipeline > should be flushed after any change to system registers. Refer to > paragraph "B2.3.5 Memory Barriers" at page B2-92 of "Arm Architecture > Reference Manual ARMv8 for

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-06-24 Thread Julien Grall
(+ some Arm folks) Hi Volodymyr, On 24/06/2020 02:05, Volodymyr Babchuk wrote: ARM Architecture reference manual clearly states that PE pipeline should be flushed after any change to system registers. Refer to paragraph "B2.3.5 Memory Barriers" at page B2-92 of "Arm Architecture Reference

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-06-24 Thread Bertrand Marquis
> On 24 Jun 2020, at 12:26, Julien Grall wrote: > > (+ some Arm folks) > > Hi Volodymyr, > > On 24/06/2020 02:05, Volodymyr Babchuk wrote: >> ARM Architecture reference manual clearly states that PE pipeline >> should be flushed after any change to system registers. Refer to >> paragraph

Re: [PATCH v2] arm64: issue ISB after updating system registers

2020-06-24 Thread André Przywara
On 24/06/2020 02:05, Volodymyr Babchuk wrote: Hi Volodymyr, thanks for the find and for taking care! And thanks Julien for forwarding! > ARM Architecture reference manual clearly states that PE pipeline > should be flushed after any change to system registers. Don't want to be pedantic here,

[PATCH v2] arm64: issue ISB after updating system registers

2020-06-23 Thread Volodymyr Babchuk
ARM Architecture reference manual clearly states that PE pipeline should be flushed after any change to system registers. Refer to paragraph "B2.3.5 Memory Barriers" at page B2-92 of "Arm Architecture Reference Manual ARMv8 for ARMv8-A Architecture Profile" (ARM DDI 0487B.a). Failing to issue