Re: [PATCH] xhci: Cope with VIA VL805 readahead

2017-10-12 Thread Hao Wei Tee
On 11/10/2017 02:09, Robin Murphy wrote: > The VIA VL805 host controller is well-known for causing problems on > systems with IOMMUs enabled, ranging from triggering endless streams of > fault messages to locking itself up completely. It appears that the root > of the problem might be an

Re: [PATCH] xhci: Cope with VIA VL805 readahead

2017-10-12 Thread Hao Wei Tee
On 11/10/2017 02:09, Robin Murphy wrote: > The VIA VL805 host controller is well-known for causing problems on > systems with IOMMUs enabled, ranging from triggering endless streams of > fault messages to locking itself up completely. It appears that the root > of the problem might be an

[PATCH v3] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
This exposes the battery conservation mode present on some (?) IdeaPads. The mode is set by calling ACPI method SBMC with argument 3 (on) or 5 (off). Status is reported in bit 5 of the return value of ACPI method GBMD. Signed-off-by: Hao Wei Tee <ange...@in04.sg> --- v3: Stylistic c

[PATCH v3] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
This exposes the battery conservation mode present on some (?) IdeaPads. The mode is set by calling ACPI method SBMC with argument 3 (on) or 5 (off). Status is reported in bit 5 of the return value of ACPI method GBMD. Signed-off-by: Hao Wei Tee --- v3: Stylistic changes drivers/platform/x86

Re: [PATCH v2] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
On 14/8/2017 23:32, Andy Shevchenko wrote: > On Mon, Aug 14, 2017 at 5:17 PM, Hao Wei Tee <ange...@in04.sg> wrote: >> This exposes the battery conservation mode present on some (?) IdeaPads. >> The mode is set by calling ACPI method SBMC with argument 3 (on) or >>

Re: [PATCH v2] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
On 14/8/2017 23:32, Andy Shevchenko wrote: > On Mon, Aug 14, 2017 at 5:17 PM, Hao Wei Tee wrote: >> This exposes the battery conservation mode present on some (?) IdeaPads. >> The mode is set by calling ACPI method SBMC with argument 3 (on) or >> 5 (off). Status is reported i

[PATCH v2] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
This exposes the battery conservation mode present on some (?) IdeaPads. The mode is set by calling ACPI method SBMC with argument 3 (on) or 5 (off). Status is reported in bit 5 of the return value of ACPI method GBMD. Signed-off-by: Hao Wei Tee <ange...@in04.sg> --- drivers/platform/x86/i

[PATCH v2] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-14 Thread Hao Wei Tee
This exposes the battery conservation mode present on some (?) IdeaPads. The mode is set by calling ACPI method SBMC with argument 3 (on) or 5 (off). Status is reported in bit 5 of the return value of ACPI method GBMD. Signed-off-by: Hao Wei Tee --- drivers/platform/x86/ideapad-laptop.c | 70

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-07 Thread Hao Wei Tee
On 7/8/2017 02:35, Andy Shevchenko wrote: > On Sat, Aug 5, 2017 at 6:18 PM, Hao Wei Tee <ange...@in04.sg> wrote: >> On 30/5/2017 21:22, Andy Shevchenko wrote: >>> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee <ange...@angelsl.xyz> wrote: >>>

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-07 Thread Hao Wei Tee
On 7/8/2017 02:35, Andy Shevchenko wrote: > On Sat, Aug 5, 2017 at 6:18 PM, Hao Wei Tee wrote: >> On 30/5/2017 21:22, Andy Shevchenko wrote: >>> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: >>>> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>>>&g

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-05 Thread Hao Wei Tee
On 30/5/2017 21:22, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee <ange...@angelsl.xyz> wrote: >> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>> This exposes the battery conservation mode present on some (?) IdeaPads. >>> The mode i

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-08-05 Thread Hao Wei Tee
On 30/5/2017 21:22, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: >> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>> This exposes the battery conservation mode present on some (?) IdeaPads. >>> The mode is set by calling ACPI method SBMC wi

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-06-10 Thread Hao Wei Tee
On 5/30/17 10:05 PM, Hao Wei Tee wrote: > On 5/30/17 9:22 PM, Andy Shevchenko wrote: >> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee <ange...@angelsl.xyz> wrote: >>> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>>> This exposes the battery conservation mode present

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-06-10 Thread Hao Wei Tee
On 5/30/17 10:05 PM, Hao Wei Tee wrote: > On 5/30/17 9:22 PM, Andy Shevchenko wrote: >> On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: >>> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>>> This exposes the battery conservation mode present on some (?) IdeaPads. >&g

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-30 Thread Hao Wei Tee
On 5/30/17 9:22 PM, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee <ange...@angelsl.xyz> wrote: >> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>> This exposes the battery conservation mode present on some (?) IdeaPads. >>> The mode i

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-30 Thread Hao Wei Tee
On 5/30/17 9:22 PM, Andy Shevchenko wrote: > On Sun, May 28, 2017 at 4:47 PM, Hao Wei Tee wrote: >> On 5/27/17 3:31 PM, Hao Wei Tee wrote: >>> This exposes the battery conservation mode present on some (?) IdeaPads. >>> The mode is set by calling ACPI method SBMC wi

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-28 Thread Hao Wei Tee
On 5/27/17 3:31 PM, Hao Wei Tee wrote: > This exposes the battery conservation mode present on some (?) IdeaPads. > The mode is set by calling ACPI method SBMC with argument 3 (on) or > 5 (off). Status is reported in bit 5 of the return value of ACPI method > GBMD. > > This

Re: [PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-28 Thread Hao Wei Tee
On 5/27/17 3:31 PM, Hao Wei Tee wrote: > This exposes the battery conservation mode present on some (?) IdeaPads. > The mode is set by calling ACPI method SBMC with argument 3 (on) or > 5 (off). Status is reported in bit 5 of the return value of ACPI method > GBMD. > > This

[PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-27 Thread Hao Wei Tee
methods are the same across all IdeaPads, so it would be great if this got more testing across other models before it's merged. Signed-off-by: Hao Wei Tee <ange...@angelsl.xyz> --- drivers/platform/x86/ideapad-laptop.c | 70 +++ 1 file changed, 70 insertions(+)

[PATCH] platform/x86: ideapad-laptop: Expose conservation mode switch

2017-05-27 Thread Hao Wei Tee
methods are the same across all IdeaPads, so it would be great if this got more testing across other models before it's merged. Signed-off-by: Hao Wei Tee --- drivers/platform/x86/ideapad-laptop.c | 70 +++ 1 file changed, 70 insertions(+) diff --git a/drivers

[PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-22 Thread Hao Wei Tee
of the commit which added this (cfee5d63767b2e7997c1f36420d008abbe61565c) was only to suppress an unhandled event log message). Signed-off-by: Hao Wei Tee <ange...@angelsl.xyz> --- drivers/platform/x86/ideapad-laptop.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/d

[PATCH v2] platform/x86: ideapad-laptop: Squelch ACPI event 1

2017-05-22 Thread Hao Wei Tee
of the commit which added this (cfee5d63767b2e7997c1f36420d008abbe61565c) was only to suppress an unhandled event log message). Signed-off-by: Hao Wei Tee --- drivers/platform/x86/ideapad-laptop.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/ideapad