From: Vimal Kumar <vimal.kumar32@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: chinmoyghosh2001@gmail.com, Mintu Patel <mintupatel89@gmail.com>,
Vishal Badole <badolevishal1116@gmail.com>,
"Rafael J. Wysocki" <rafael@kernel.org>,
Len Brown <len.brown@intel.com>, Pavel Machek <pavel@ucw.cz>,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org
Subject: Re: [PATCH v2] PM: runtime: Add support to disable wakeup sources
Date: Sat, 27 Aug 2022 17:35:45 +0530 [thread overview]
Message-ID: <20220827120545.GA332@DESKTOP-KA7F9LU.localdomain> (raw)
In-Reply-To: <YwnPFdYL0W3e5E+n@kroah.com>
On Sat, Aug 27, 2022 at 10:00:21AM +0200, Greg KH wrote:
> On Thu, Aug 25, 2022 at 11:04:41PM +0530, Vimal Kumar wrote:
> > User could find many wakeup sources available in the bsp, which
> > they won't be using. Currently users can only get the status and
> > list of enabled wakeup sources, but users can't disable it runtime.
> > It's very difficult to find the driver for each wakeup sources from
> > where it's getting enabled and make the changes for disabling it.
> >
> > This will help users to disable any wakeup sources at runtime,
> > avoiding any code change and re-compilation. A new class attribute
> > "disable_ws" will be added in the wakeup calss. If user want to disable
> > any wakeup sources, user need to find the wakeup dev node associated
> > with the particular wakeup source and write the devnode name to the
> > class attribute "disable_ws".
> >
> > Example:
> > Need to disable the wakeup source '1c08000.qcom,pcie'. The dev node
> > associated with this wakeup source is:
> > cat /sys/class/wakeup3/name ==> "1c08000.qcom,pcie", then for disabling
> > this wakeup source :
> > echo wakeup3 > /sys/class/wakeup/disable_ws
> >
> > Co-developed-by: Mintu Patel <mintupatel89@gmail.com>
> > Signed-off-by: Mintu Patel <mintupatel89@gmail.com>
> > Co-developed-by: Vishal Badole <badolevishal1116@gmail.com>
> > Signed-off-by: Vishal Badole <badolevishal1116@gmail.com>
> > Signed-off-by: Vimal Kumar <vimal.kumar32@gmail.com>
> > ---
> > Documentation/ABI/testing/sysfs-class-wakeup | 16 +++++
> > drivers/base/power/wakeup_stats.c | 65 +++++++++++++++++++-
> > 2 files changed, 80 insertions(+), 1 deletion(-)
>
> Based on previous discussions on the original submission that you seem
> to have taken private, sorry but no, I can't even consider this
> submission from you.
>
> Please work on other portions of the kernel first to get used to the
> development process.
>
> Rafael, please don't worry about this.
>
> greg k-h
Hi Greg k-h,
My sincere apologies for responding privetly on the original
submission, It was not intended to do so. There was some issue
while responding via mutt and I end up responding privetly.
I have responded publicly on original submission as well. Please
consider this second version, I have taken care of some previous
reviews.
Thanks Rafael, for the review comments as well, I will be respondig
to the queries in a seperate thread.
Warm Regards,
Vimal Kumar
prev parent reply other threads:[~2022-08-27 12:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-25 17:34 Vimal Kumar
2022-08-25 17:55 ` Rafael J. Wysocki
2022-08-27 8:00 ` Greg KH
2022-08-27 12:05 ` Vimal Kumar [this message]
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=20220827120545.GA332@DESKTOP-KA7F9LU.localdomain \
--to=vimal.kumar32@gmail.com \
--cc=badolevishal1116@gmail.com \
--cc=chinmoyghosh2001@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=len.brown@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mintupatel89@gmail.com \
--cc=pavel@ucw.cz \
--cc=rafael@kernel.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
all inboxes | Powered by JetHome®