RE: [PATCH V3 1/2] ACPI / EC: Fix broken big-endian 64bit platforms using 'global_lock'

2015-09-23 Thread Zheng, Lv
Hi, > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Wednesday, September 16, 2015 9:57 AM > > On Tuesday, September 15, 2015 02:04:58 PM Viresh Kumar wrote: > > global_lock is defined as an unsigned long and accessing only its lower > > 32 bits from sysfs is incorrect, as we need to

RE: FAILED: patch "[PATCH] ACPI / EC: Fix a code coverity issue when QR_EC transactions" failed to apply to 4.1-stable tree

2015-07-23 Thread Zheng, Lv
Hi, Greg I checked the EC bug-fixing commits on top of the linux-3.19.y stable branch. It looks these 2 bug fixes now depend on the following commits. And I tested a kernel by simply cherry picking the following commits on top of linux-3.19.y branch, it worked well. 1. 1st series, EC state machi

RE: FAILED: patch "[PATCH] ACPI / EC: Fix EC_FLAGS_QUERY_HANDSHAKE platforms using new" failed to apply to 4.1-stable tree

2015-07-21 Thread Zheng, Lv
Hi, OK, I'll check it and send a minimal backport here. Thanks and best regards -Lv > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Friday, July 17, 2015 6:07 AM > > > The patch below does not apply to the 4.1-stable tree. > If someone wants it applied there, or

RE: Patch "ACPI / EC: Add support to disallow QR_EC to be issued before completing previous QR_EC" has been added to the 3.17-stable tree

2014-12-08 Thread Zheng, Lv
Hi, Greg This commit has been upstreamed since v3.17-rc3. It is proven to be a conflict with Samsung laptops. So we've reverted it since v3.18-rc3. The reversion commit ID is df9ff918. Best regards -Lv > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Friday, Decembe

RE: FAILED: patch "[PATCH] Revert "ACPI / EC: Add support to disallow QR_EC to be issued ACPI / EC: Add support to disallow QR_EC to be issued before ACPI / EC: Add support to disallow QR_EC to be iss

2014-11-19 Thread Zheng, Lv
Hi, Greg Samsung users have reported that this reversion is required. I can help to port it back to 3.17-stable. I'll send it later. Best regards -Lv > From: gre...@linuxfoundation.org [mailto:gre...@linuxfoundation.org] > Sent: Monday, November 10, 2014 12:12 PM > > > The patch below does not

RE: Patch "ACPI / EC: Add support to disallow QR_EC to be issued when SCI_EVT isn't set" has been added to the 3.16-stable tree

2014-09-24 Thread Zheng, Lv
Hi, Greg and Alexander > From: Alexander Mezin [mailto:mezin.alexan...@gmail.com] > Sent: Sunday, September 14, 2014 11:32 PM > > I think this patch together with > "acpi-ec-add-support-to-disallow-qr_ec-to-be-issued-before-completing-previous-qr_ec.patch" > should be added to 3.14 too. > > The

RE: [PATCH] ACPICA: Tables: Skip NULL entries in RSDT and XSDT.

2014-04-17 Thread Zheng, Lv
Hi, > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, April 18, 2014 11:40 AM > > On Fri, Apr 18, 2014 at 03:00:21AM +0000, Zheng, Lv wrote: > > Hi, Greg > > > > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > > Sent: Friday,

RE: [PATCH] ACPICA: Tables: Skip NULL entries in RSDT and XSDT.

2014-04-17 Thread Zheng, Lv
Hi, > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, April 18, 2014 10:44 AM > > On Fri, Apr 18, 2014 at 09:53:19AM +0800, Lv Zheng wrote: > > Note that this patch is only used for stable kernels, upstream kernels > > will have this problem fixed in ACPICA 201303-04 release. S

RE: [PATCH] ACPICA: Tables: Skip NULL entries in RSDT and XSDT.

2014-04-17 Thread Zheng, Lv
Hi, Greg > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Friday, April 18, 2014 10:44 AM > > On Fri, Apr 18, 2014 at 09:53:19AM +0800, Lv Zheng wrote: > > Note that this patch is only used for stable kernels, upstream kernels > > will have this problem fixed in ACPICA 201303-04 releas

RE: [PATCH] ACPICA: Tables: Skip NULL entries in RSDT and XSDT.

2014-04-17 Thread Zheng, Lv
regards -Lv > From: Zheng, Lv > Sent: Friday, April 18, 2014 9:53 AM > > Note that this patch is only used for stable kernels, upstream kernels > will have this problem fixed in ACPICA 201303-04 release. So upstream > kernels shouldn't merge this commit. > > It is reporte

RE: [PATCH 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-11-24 Thread Zheng, Lv
> From: Greg Kroah-Hartman [mailto:gre...@linuxfoundation.org] > Sent: Sunday, November 24, 2013 11:22 AM > > On Fri, Nov 01, 2013 at 02:58:16AM +0000, Zheng, Lv wrote: > > > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > > > Sent: Thursday, October 31, 2013 8

RE: [PATCH 0/4] ACPICA: Stable material of ACPI executer fixes for linux-3.8.

2013-10-31 Thread Zheng, Lv
> From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Thursday, October 31, 2013 8:22 PM > > On Thursday, October 31, 2013 05:08:50 AM Greg Kroah-Hartman wrote: > > On Thu, Oct 31, 2013 at 12:39:21PM +0100, Rafael J. Wysocki wrote: > > > On Thursday, October 31, 2013 09:07:40 AM Lv Zheng w

RE: [PATCH 06/13] ACPI/IPMI: Add reference counting for ACPI operation region handlers

2013-07-28 Thread Zheng, Lv
> On Friday, July 26, 2013 10:01 PM Rafael J. Wysocki wrote: > > On Friday, July 26, 2013 12:47:44 AM Zheng, Lv wrote: > > > > > On Friday, July 26, 2013 4:27 AM Rafael J. Wysocki wrote: > > > > > > On Tuesday, July 23, 2013 04:09:43 PM Lv Zheng wrote: >

RE: [PATCH 06/13] ACPI/IPMI: Add reference counting for ACPI operation region handlers

2013-07-26 Thread Zheng, Lv
> From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Zheng, Lv > Sent: Friday, July 26, 2013 8:48 AM > > > > > From: Rafael J. Wysocki [mailto:r...@sisk.pl] > > Sent: Friday, July 26, 2013 4:27 AM > > > >

RE: [PATCH 04/13] ACPI/IPMI: Fix race caused by the unprotected ACPI IPMI user

2013-07-25 Thread Zheng, Lv
> From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Friday, July 26, 2013 5:59 AM > > On Tuesday, July 23, 2013 04:09:26 PM Lv Zheng wrote: > > This patch uses reference counting to fix the race caused by the > > unprotected ACPI IPMI user. > > > > As the acpi_ipmi_device->user_interface check

RE: [PATCH 06/13] ACPI/IPMI: Add reference counting for ACPI operation region handlers

2013-07-25 Thread Zheng, Lv
> From: Rafael J. Wysocki [mailto:r...@sisk.pl] > Sent: Friday, July 26, 2013 4:27 AM > > On Tuesday, July 23, 2013 04:09:43 PM Lv Zheng wrote: > > This patch adds reference couting for ACPI operation region handlers > > to fix races caused by the ACPICA address space callback invocations. > > >

RE: [PATCH 01/13] ACPI/IPMI: Fix potential response buffer overflow

2013-07-23 Thread Zheng, Lv
> From: Zheng, Lv > Sent: Wednesday, July 24, 2013 8:22 AM > > > From: linux-acpi-ow...@vger.kernel.org > > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Greg KH > > Sent: Tuesday, July 23, 2013 10:54 PM > > > > On Tue, Jul 23, 2013 at 04:08:59PM

RE: [PATCH 01/13] ACPI/IPMI: Fix potential response buffer overflow

2013-07-23 Thread Zheng, Lv
> From: linux-acpi-ow...@vger.kernel.org > [mailto:linux-acpi-ow...@vger.kernel.org] On Behalf Of Greg KH > Sent: Tuesday, July 23, 2013 10:54 PM > > On Tue, Jul 23, 2013 at 04:08:59PM +0800, Lv Zheng wrote: > > This patch enhances sanity checks on message size to avoid potential > > buffer overfl