Re: [PATCH 2/2] ARM: domains: add memory dependencies to get_domain/set_domain

2015-09-11 Thread Robert Jarzmik
Russell King - ARM Linux writes: > If you want to put the bug alignment patch in the patch system, I'll get > that off to Linus this weekend too. Sure, that will be done before tomorrow evening. Cheers. -- Robert -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH 2/2] ARM: domains: add memory dependencies to get_domain/set_domain

2015-09-11 Thread Russell King - ARM Linux
On Fri, Sep 11, 2015 at 04:56:27PM +0200, Robert Jarzmik wrote: > Russell King writes: > > We need to have memory dependencies on get_domain/set_domain to avoid > > the compiler over-optimising these inline assembly instructions. > > > > Loads/stores must not be reordered across a set_domain(), so

Re: [PATCH 2/2] ARM: domains: add memory dependencies to get_domain/set_domain

2015-09-11 Thread Robert Jarzmik
Russell King writes: > We need to have memory dependencies on get_domain/set_domain to avoid > the compiler over-optimising these inline assembly instructions. > > Loads/stores must not be reordered across a set_domain(), so introduce > a compiler barrier for that assembly. > > The value of get_d