Re: powernv/opal-irqchip: Fix double endian conversion

2015-12-14 Thread Michael Ellerman
On Mon, 2015-07-12 at 00:28:28 UTC, Alistair Popple wrote: > The OPAL event calls return a mask of events that are active in big > endian format. This is checked when unmasking the events in the > irqchip by comparison with a cached value. The cached value was stored > in big endian format but shou

Re: powernv/opal-irqchip: Fix double endian conversion

2015-12-07 Thread Alistair Popple
On Tue, 8 Dec 2015 09:10:19 Michael Ellerman wrote: > Subject should start "powerpc/", so probably "powerpc/opal-irqchip:", I can > fix > it up here. Ok, thanks. > On Mon, 2015-07-12 at 00:28:28 UTC, Alistair Popple wrote: > > The OPAL event calls return a mask of events that are active in big >

Re: powernv/opal-irqchip: Fix double endian conversion

2015-12-07 Thread Michael Ellerman
Subject should start "powerpc/", so probably "powerpc/opal-irqchip:", I can fix it up here. On Mon, 2015-07-12 at 00:28:28 UTC, Alistair Popple wrote: > The OPAL event calls return a mask of events that are active in big > endian format. This is checked when unmasking the events in the > irqchip b

[PATCH] powernv/opal-irqchip: Fix double endian conversion

2015-12-06 Thread Alistair Popple
The OPAL event calls return a mask of events that are active in big endian format. This is checked when unmasking the events in the irqchip by comparison with a cached value. The cached value was stored in big endian format but should've been converted to CPU endian first. This bug leads to OPAL ev