All of lore.kernel.org
 help / color / mirror / Atom feed
* Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees
@ 2018-04-26 12:53 Mika Westerberg
  2018-04-26 13:24 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Mika Westerberg @ 2018-04-26 12:53 UTC (permalink / raw)
  To: stable; +Cc: Hans de Goede, Andy Shevchenko, Linus Walleij, Benjamin Tissoires

Hi,

It seems that commit f5a26acf0162 ("pinctrl: intel: Initialize GPIO
properly when used through irqchip") can cause problems on some Skylake
systems with Sunrisepoint PCH-H. Namely on certain systems it may turn
the backlight PWM pin from native mode to GPIO which makes the screen
blank during boot.

There is more information here:

  https://bugzilla.redhat.com/show_bug.cgi?id=1543769

The actual reason is that GPIO numbering used in BIOS is using "Windows"
numbers meaning that they don't match the hardware 1:1 and because of
this a wrong pin (backlight PWM) is picked and switched to GPIO mode.

There is a proper fix for this but since it has quite many dependencies
on commits that cannot be considered stable material, I suggest we
revert commit f5a26acf0162 from stable trees 4.9, 4.14 and 4.15 to
prevent the backlight issue.

Thanks!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees
  2018-04-26 12:53 Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees Mika Westerberg
@ 2018-04-26 13:24 ` Greg KH
  2018-04-26 13:36   ` Mika Westerberg
  0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2018-04-26 13:24 UTC (permalink / raw)
  To: Mika Westerberg
  Cc: stable, Hans de Goede, Andy Shevchenko, Linus Walleij,
	Benjamin Tissoires

On Thu, Apr 26, 2018 at 03:53:02PM +0300, Mika Westerberg wrote:
> Hi,
> 
> It seems that commit f5a26acf0162 ("pinctrl: intel: Initialize GPIO
> properly when used through irqchip") can cause problems on some Skylake
> systems with Sunrisepoint PCH-H. Namely on certain systems it may turn
> the backlight PWM pin from native mode to GPIO which makes the screen
> blank during boot.
> 
> There is more information here:
> 
>   https://bugzilla.redhat.com/show_bug.cgi?id=1543769
> 
> The actual reason is that GPIO numbering used in BIOS is using "Windows"
> numbers meaning that they don't match the hardware 1:1 and because of
> this a wrong pin (backlight PWM) is picked and switched to GPIO mode.
> 
> There is a proper fix for this but since it has quite many dependencies
> on commits that cannot be considered stable material, I suggest we
> revert commit f5a26acf0162 from stable trees 4.9, 4.14 and 4.15 to
> prevent the backlight issue.

What is the "proper fix"?  Is it in Linus's tree yet?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees
  2018-04-26 13:24 ` Greg KH
@ 2018-04-26 13:36   ` Mika Westerberg
  2018-04-26 15:32     ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Mika Westerberg @ 2018-04-26 13:36 UTC (permalink / raw)
  To: Greg KH
  Cc: stable, Hans de Goede, Andy Shevchenko, Linus Walleij,
	Benjamin Tissoires

On Thu, Apr 26, 2018 at 03:24:27PM +0200, Greg KH wrote:
> On Thu, Apr 26, 2018 at 03:53:02PM +0300, Mika Westerberg wrote:
> > Hi,
> > 
> > It seems that commit f5a26acf0162 ("pinctrl: intel: Initialize GPIO
> > properly when used through irqchip") can cause problems on some Skylake
> > systems with Sunrisepoint PCH-H. Namely on certain systems it may turn
> > the backlight PWM pin from native mode to GPIO which makes the screen
> > blank during boot.
> > 
> > There is more information here:
> > 
> >   https://bugzilla.redhat.com/show_bug.cgi?id=1543769
> > 
> > The actual reason is that GPIO numbering used in BIOS is using "Windows"
> > numbers meaning that they don't match the hardware 1:1 and because of
> > this a wrong pin (backlight PWM) is picked and switched to GPIO mode.
> > 
> > There is a proper fix for this but since it has quite many dependencies
> > on commits that cannot be considered stable material, I suggest we
> > revert commit f5a26acf0162 from stable trees 4.9, 4.14 and 4.15 to
> > prevent the backlight issue.
> 
> What is the "proper fix"?  Is it in Linus's tree yet?

This patch

  https://patchwork.ozlabs.org/patch/892813/

However, it is not yet in Linus' tree.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees
  2018-04-26 13:36   ` Mika Westerberg
@ 2018-04-26 15:32     ` Greg KH
  0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2018-04-26 15:32 UTC (permalink / raw)
  To: Mika Westerberg
  Cc: stable, Hans de Goede, Andy Shevchenko, Linus Walleij,
	Benjamin Tissoires

On Thu, Apr 26, 2018 at 04:36:23PM +0300, Mika Westerberg wrote:
> On Thu, Apr 26, 2018 at 03:24:27PM +0200, Greg KH wrote:
> > On Thu, Apr 26, 2018 at 03:53:02PM +0300, Mika Westerberg wrote:
> > > Hi,
> > > 
> > > It seems that commit f5a26acf0162 ("pinctrl: intel: Initialize GPIO
> > > properly when used through irqchip") can cause problems on some Skylake
> > > systems with Sunrisepoint PCH-H. Namely on certain systems it may turn
> > > the backlight PWM pin from native mode to GPIO which makes the screen
> > > blank during boot.
> > > 
> > > There is more information here:
> > > 
> > >   https://bugzilla.redhat.com/show_bug.cgi?id=1543769
> > > 
> > > The actual reason is that GPIO numbering used in BIOS is using "Windows"
> > > numbers meaning that they don't match the hardware 1:1 and because of
> > > this a wrong pin (backlight PWM) is picked and switched to GPIO mode.
> > > 
> > > There is a proper fix for this but since it has quite many dependencies
> > > on commits that cannot be considered stable material, I suggest we
> > > revert commit f5a26acf0162 from stable trees 4.9, 4.14 and 4.15 to
> > > prevent the backlight issue.
> > 
> > What is the "proper fix"?  Is it in Linus's tree yet?
> 
> This patch
> 
>   https://patchwork.ozlabs.org/patch/892813/
> 
> However, it is not yet in Linus' tree.

Ok, now reverted, thanks.

Oh, and 4.15.y is end-of-life, so nothing I can do there, sorry.

I pity anyone wanting to base a distro on that kernel, that would be
crazy... :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-04-26 15:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-26 12:53 Revert f5a26acf0162 ("pinctrl: intel: Initialize GPIO properly when used through irqchip") from stable trees Mika Westerberg
2018-04-26 13:24 ` Greg KH
2018-04-26 13:36   ` Mika Westerberg
2018-04-26 15:32     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.