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


Groups > linux.kernel > #1679645

RE: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional behavior

From "Zheng, Lv" <lv.zheng@intel.com>
Newsgroups linux.kernel
Subject RE: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional behavior
Date 2017-07-03 07:20 +0200
Message-ID <tZ1W9-4Wv-5@gated-at.bofh.it> (permalink)
References <tS9vt-1dT-15@gated-at.bofh.it> <tS9vt-1dT-13@gated-at.bofh.it> <tXsQN-v0-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi, Rafael

> From: Rafael J. Wysocki [mailto:rjw@rjwysocki.net]
> Subject: Re: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional behavior
> 
> On Wednesday, June 14, 2017 01:59:24 PM Lv Zheng wrote:
> > According to the bug report, though the busy polling mode can make noirq
> > stages executed faster, it causes abnormal fan blowing in noirq stages.
> >
> > This patch prepares an option so that the automatic busy polling mode
> > switching for noirq stages can be enabled by who wants to tune it, not all
> > users.
> > Noticed that the new global option cannot be changed during noirq stages.
> > There is no need to lock its value changes to sync with polling mode
> > settings switches.
> >
> > For reporters and testers in the thread, as there are too many reporters
> > on the bug link, this patch only picks names from most active commenters.
> > Sorry for the neglet.
> >
> > Link: https://bugzilla.kernel.org/show_bug.cgi?id=191181
> > Reported-by: Tatsuyuki Ishi <ishitatsuyuki@gmail.com>
> > Reported-by: Claudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
> > Tested-by: Nicolo' <nicolopiazzalunga@gmail.com>
> > Reported-by: Jens Axboe <axboe@kernel.dk>
> > Tested-by: Gjorgji Jankovski <j.gjorgji@gmail.com>
> > Tested-by: Damjan Georgievski <gdamjan@gmail.com>
> > Tested-by: Fernando Chaves <nanochaves@gmail.com>
> > Signed-off-by: Lv Zheng <lv.zheng@intel.com>
> 
> First of all, this seems to be a fix for commit c3a696b6e8f8 (ACPI / EC: Use busy polling
> mode when GPE is not enabled), so there should be a Fixes: tag pointing to that
> one.
> 
> Moreover, if that is just a performance optimization and not a matter of correctness,
> why don't we simply drop acpi_ec_enter/leave_noirq() entirely?
> 
> What is going to break if we do that?

Let me Cc Yu for justification.
I just added busy poll support for suspend/boot according to the root cause reported by him.
He should know the end user requirements better than me.

Thanks and best regards
Lv

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


Thread

Re: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional behavior "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2017-06-28 23:40 +0200
  RE: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional  behavior "Zheng, Lv" <lv.zheng@intel.com> - 2017-07-03 07:20 +0200
    Re: [PATCH 3/3] ACPI: EC: Change EC noirq tuning to be an optional  behavior Chen Yu <yu.c.chen@intel.com> - 2017-07-06 10:40 +0200

csiph-web