From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ozlabs.org ([103.22.144.67]:55361 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932162AbbLNJqi (ORCPT ); Mon, 14 Dec 2015 04:46:38 -0500 In-Reply-To: <1449448108-9867-1-git-send-email-alistair@popple.id.au> To: Alistair Popple , linuxppc-dev@ozlabs.org From: Michael Ellerman Cc: dllehr@us.ibm.com, mikey@neuling.org, stable@vger.kernel.org, Alistair Popple Subject: Re: powernv/opal-irqchip: Fix double endian conversion Message-Id: <20151214094636.D3A40140323@ozlabs.org> Date: Mon, 14 Dec 2015 20:46:36 +1100 (AEDT) Sender: stable-owner@vger.kernel.org List-ID: 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 should've been converted to CPU endian > first. This bug leads to OPAL event delivery being delayed or dropped > on some systems. > > The bug is fixed by calling opal_handle_events(...) instead of > duplicating code in opal_event_unmask(...). > > Signed-off-by: Alistair Popple > Reported-by: Douglas L Lehr > Cc: stable@vger.kernel.org Applied to powerpc fixes, thanks. https://git.kernel.org/powerpc/c/25642e1459ace29f6ce5a171 cheers