From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932291AbcIKWOR (ORCPT ); Sun, 11 Sep 2016 18:14:17 -0400 Received: from emh04.mail.saunalahti.fi ([62.142.5.110]:57891 "EHLO emh04.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752264AbcIKWOP (ORCPT ); Sun, 11 Sep 2016 18:14:15 -0400 Date: Mon, 12 Sep 2016 01:13:46 +0300 From: Aaro Koskinen To: Thorsten Leemhuis Cc: "Steven J. Hill" , David Daney , Jon Hunter , Rob Herring , devicetree@vger.kernel.org, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org Subject: Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON Message-ID: <20160911221346.GA1658@raspberrypi.musicnaut.iki.fi> References: <20160823203605.GA12169@raspberrypi.musicnaut.iki.fi> <57BDCE58.20200@cavium.com> <20160825182453.GF12169@raspberrypi.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Sun, Sep 11, 2016 at 02:41:39PM +0200, Thorsten Leemhuis wrote: > Hi! On 25.08.2016 20:24, Aaro Koskinen wrote: > > On Wed, Aug 24, 2016 at 11:42:00AM -0500, Steven J. Hill wrote: > >> It is actually two patches that cause the breakage. The other is: > >> commit e55aeb6ba4e8cc3549bff1e75ea1d029324bce21 > >> of/irq: Mark interrupt controllers as populated before initialisation > >> I needed to revert both of these in order to get MMC working on our 71xx and > >> 78xx boards. For our MMC, I got error messages from the MMC core of "Invalid > >> POWER GPIO" until I applied the second patch. I will have a fix worthy of > >> upstreaming today which will be posted today. > > > > The below change works for me... > > > > diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c > > index 5a9b87b..5fd57c2 100644 > > --- a/arch/mips/cavium-octeon/octeon-irq.c > > +++ b/arch/mips/cavium-octeon/octeon-irq.c > > @@ -1618,6 +1618,7 @@ static int __init octeon_irq_init_gpio( > > pr_warn("Cannot allocate memory for GPIO irq_domain.\n"); > > return -ENOMEM; > > } > > + of_node_clear_flag(gpio_node, OF_POPULATED); > > > > return 0; > > } > > This afaics wasn't merged and the discussion looks stalled. Was this > issue discussed elsewhere or even fixed in between? Just asking, because > this issue is on the list of regressions for 4.8. There's a patch waiting to be merged in Linux MIPS patchwork: https://patchwork.linux-mips.org/patch/14091/ A.