Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1480779

Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON

From Thorsten Leemhuis <regressions@leemhuis.info>
Newsgroups linux.kernel
Subject Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON
Date 2016-09-11 14:50 +0200
Message-ID <sgcmS-6d1-1@gated-at.bofh.it> (permalink)
References <s9qEi-zs-29@gated-at.bofh.it> <sa7zz-4yA-13@gated-at.bofh.it> <sa7zz-4yA-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

Ciao, Thorsten

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON Thorsten Leemhuis <regressions@leemhuis.info> - 2016-09-11 14:50 +0200
  Re: [BISECTED REGRESSION] v4.8-rc: gpio-leds broken on OCTEON Aaro Koskinen <aaro.koskinen@iki.fi> - 2016-09-12 00:20 +0200

csiph-web