Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1322674
| From | Sebastian Reichel <sre@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 4/5] HSI: nokia-modem: drop support for disabled pm |
| Date | 2016-01-31 17:20 +0100 |
| Message-ID | <qX2Tf-5OH-1@gated-at.bofh.it> (permalink) |
| References | <qWOZY-44I-3@gated-at.bofh.it> <qWOZZ-44I-37@gated-at.bofh.it> <qWYmB-2xi-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Hi, On Sun, Jan 31, 2016 at 12:24:34PM +0100, Pali Rohár wrote: > On Sunday 31 January 2016 02:19:46 Sebastian Reichel wrote: > > Disabled power management means, that the driver can only be > > used together with further out-of-tree kernel patches. There > > is no reason to support this in the mainline kernel and not > > having support for it means, that userspace can automatically > > detect if we are running kernel based power management. > > I'm against this change. It will break support for (patched) Maemo and > proprietary Nokia sscd modem daemon. Do you have some links for this? So far my assumption was, that sscd requires /sys/devices/platform/gpio-switch, so you either need to patch sscd somehow, or patch the kernel to provide gpio-switch, or provide some kind of userspace wrapper. > Also you can export GPIOs manually via sysfs and touch that state. Which > means that you can do power management with mainline kernel even if you > set nokia-modem.pm=0. Yeah... You export GPIOs manually. Did you actually try this? You will end up with exactly the same result as nokia-modem.pm=1, just with a few less symlinks. Also you have to make sure, that you actually exported the right gpios, since the global gpio number is dependent on the gpio-controller registration order. > So please drop this patch. Please provide facts, that Maemo can use pm=0 without additional kernel patches and does not work with pm=1. -- Sebastian
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] nokia-modem: kernel based PM Sebastian Reichel <sre@kernel.org> - 2016-01-31 02:30 +0100
[PATCH 4/5] HSI: nokia-modem: drop support for disabled pm Sebastian Reichel <sre@kernel.org> - 2016-01-31 02:30 +0100
Re: [PATCH 4/5] HSI: nokia-modem: drop support for disabled pm Pali Rohár <pali.rohar@gmail.com> - 2016-01-31 12:30 +0100
Re: [PATCH 4/5] HSI: nokia-modem: drop support for disabled pm Sebastian Reichel <sre@kernel.org> - 2016-01-31 17:20 +0100
Re: [PATCH 4/5] HSI: nokia-modem: drop support for disabled pm Pali Rohár <pali.rohar@gmail.com> - 2016-02-08 10:00 +0100
[PATCH 2/5] HSI: nokia-modem: kernel based PM Sebastian Reichel <sre@kernel.org> - 2016-01-31 02:30 +0100
Re: [PATCH 2/5] HSI: nokia-modem: kernel based PM Pavel Machek <pavel@ucw.cz> - 2016-01-31 18:40 +0100
Re: [PATCH 2/5] HSI: nokia-modem: kernel based PM Sebastian Reichel <sre@kernel.org> - 2016-01-31 19:10 +0100
Re: [PATCH 2/5] HSI: nokia-modem: kernel based PM Pavel Machek <pavel@ucw.cz> - 2016-02-07 22:40 +0100
csiph-web