linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felipe Contreras <felipe.contreras@gmail.com>
To: "Rafael J. Wysocki" <rjw@sisk.pl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>,
	ACPI Devel Maling List <linux-acpi@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux PM list <linux-pm@vger.kernel.org>
Subject: Re: [GIT PULL] ACPI and power management fixes for v3.11-rc4
Date: Fri, 2 Aug 2013 20:48:09 -0500	[thread overview]
Message-ID: <CAMP44s1Knox3oVt3-ePkDHxa2uNQAFVFRwmVTATNknWA46b_Uw@mail.gmail.com> (raw)
In-Reply-To: <6100577.WGRZRabKGy@vostro.rjw.lan>

On Fri, Aug 2, 2013 at 5:21 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
> On Friday, August 02, 2013 04:31:37 PM Felipe Contreras wrote:
>> On Fri, Aug 2, 2013 at 4:21 PM, Rafael J. Wysocki <rjw@sisk.pl> wrote:
>> > On Friday, August 02, 2013 02:12:49 PM Felipe Contreras wrote:
>>
>> >> You forgot this patch:
>> >>
>> >> https://git.kernel.org/cgit/linux/kernel/git/rafael/linux-pm.git/commit/?h=linux-next&id=3706231332d57072e0e2c0e59975443f3f18e673
>> >>
>> >> Or do you think it's fine to boot these machines into a black screen?
>> >
>> > Seriously, what's wrong with you?!
>> >
>> > I didn't forget about it, I just didn't include it into this particular
>> > pull request.
>> >
>> > And I'm not even sure I will push it for 3.11, because I prefer to revert
>> > efaa14c for 3.11 if that's necessary to make your broken box work as before.
>>
>> The issue happens in more than just "my broken box", and yes,
>> reverting that patch would help (in more than just my box), in the
>> sense that at least Linux won't boot into a black screen.
>>
>> But the backlight control still wouldn't work, as it hasn't worked
>> since v3.7, possibly in many ASUS laptops, for that you need more than
>> just reverting efaa14c.
>
> Yes, last time it worked in 3.6 and in particular it doesn't work in 3.10.
> My current goal is bring things back to the 3.10 state first, possibly without
> introducing any new problems, because we're kind of late in the cycle.
> That's better done by reverting stuff known to have introduced problems in
> the first place and not by doing things that may introduce more of them.
>
> And your blacklisting patch has potential to introduce problems.  Your goal is
> to bring backlight control to the 3.6 state on that particular machine, but
> the blacklist is done at the *system* level and very well may affect more
> things than just backlight.  You may not see any problems resulting from it
> and you may not care even if there are some, but other users of it may use
> different user space, for example, and may see problems that you're not seeing.
>
> That's why I'd very much prefer to do the revert at this point.

Yes, that's fine, either the revert, or the patch I mentioned, or
something else, but something has to be done, and it was better to do
it in v3.11-rc4 than in v3.11-rc5, because that change itself can
cause further problems.

>> > Well, perhaps I just won't push it at all so that you actually can go and
>> > complain to Linus about that ...
>>
>> That is very responsible from you. Screw the users, right?
>
> No, that's not my goal, sorry for disappointing you.
>
> The problem is that I'm not really convinced about the validity of the
> blacklisting approach to begin with.  As I said, the blacklisting is done
> on the system level and the goal is to work around backlight control problems.
> That sounds like a sledgehammer approach to me, which I don't really like.
> If the blacklisting was more targeted, done at the video driver level etc.,
> I wouldn't really have any concerns about it, but that's not the case.
>
> And since people evidently could live for over 6 months with the backlight
> control problems, maybe they'll survive some more time still and allow us to
> find a better approach?

They probably can survive without Linux at all, that doesn't mean we
are doing our job.

Let's do a though experiment, let's say you are right, and they can
survive the 6 months it would take you to find the "perfect" solution,
say in v3.13. What's wrong with having a partial solution in v3.12? If
the blacklisting doesn't work properly (there's absolutely no evidence
for that), then you revert it on v3.12.1.

What's wrong with that approach?

-- 
Felipe Contreras

  reply	other threads:[~2013-08-03  1:48 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-02 14:29 [GIT PULL] ACPI and power management fixes for v3.11-rc4 Rafael J. Wysocki
2013-08-02 19:12 ` Felipe Contreras
2013-08-02 21:21   ` Rafael J. Wysocki
2013-08-02 21:31     ` Felipe Contreras
2013-08-02 22:21       ` Rafael J. Wysocki
2013-08-03  1:48         ` Felipe Contreras [this message]
2013-08-03 11:54           ` Rafael J. Wysocki
2013-08-03 16:08             ` Igor Gnatenko
2013-08-03 20:21               ` Felipe Contreras
2013-08-03 23:27                 ` Igor Gnatenko
2013-08-04  0:27                   ` Felipe Contreras
2013-08-03 20:20             ` Felipe Contreras
2013-08-03 21:59               ` Rafael J. Wysocki
2013-08-03 22:06                 ` Felipe Contreras
2013-08-03 22:21                   ` Rafael J. Wysocki
2013-08-03 22:33                     ` Felipe Contreras

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAMP44s1Knox3oVt3-ePkDHxa2uNQAFVFRwmVTATNknWA46b_Uw@mail.gmail.com \
    --to=felipe.contreras@gmail.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).