Received: by 10.223.176.5 with SMTP id f5csp1697392wra; Thu, 8 Feb 2018 01:51:29 -0800 (PST) X-Google-Smtp-Source: AH8x227oz0WN86imiFS8Rx5tUX7Nk/OWf2vnVlZlSE6InQNuDksmT8XTXkaMC8uovojjcewVUdGT X-Received: by 2002:a17:902:64d6:: with SMTP id y22-v6mr104596pli.444.1518083489091; Thu, 08 Feb 2018 01:51:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518083489; cv=none; d=google.com; s=arc-20160816; b=blAZbQZZCzjZdPed6ok67zYcjVkVrJTuPF+oGHVDlHbNOvK1abI8xSsWGTQoakccpk yXud6OlF/qWYinLznvAgkjRqZKU0msWIpUaMp1ovpt/ePWLPkpjqNcZ7AT1qqRVd6rCs 6ma7E6xZuxqMQhOekOdYOJqjBIQQI0DjYQ+8w6THRbUcVu6ofHuw6iixXHA209exdBIR kmftXfOYwz0CYrBs2fTUTptNNdyEYt4l8gr3HuFg1c3DpPqng3vaSu+WlvmvB4YSJza0 L/Y5Oeu50HnRVI3kz46bNwjymDKDNk+5Ixd+pBe/GeBsL46iYhBpl8FyO3LUU2VUO0Vh hhzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=F+LkjIxIO80iXvcfTyB4vHNFbCpq5jzXRsUv6zsyKcM=; b=BD1OlP6tUoenGBpYMVdOOxsAtObR2N4Vj65JBhmQY6c7uiSAk/tAjYYpSqyG0ym4Kv 4tX8D/unwk30h8EwRWCEzRgvzIimUa3IXf2FRRiDsQWSKnvI0Ma/AlCy8yD5wdD+Jy34 uVPRLxy0WpuM0o/+RcNbc4uE0GjWAMe8BmReN4+bdH/Fn2VqeR0lCPQlQLbjnsM8OiMv tshnbfWTbFf/PerCQBR5kJT7UUepgpn4QhjDQDRdMtWAh94+2q+uXa9pj4peiiVNE2Cr JP7jiPd18koDwNBTMpMBcB6Yuttz9gAoaQzjRAXT5JJU00buXlIuz1EHS3OE8FX+1TyV gN2A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u86si2547080pfa.314.2018.02.08.01.51.15; Thu, 08 Feb 2018 01:51:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751725AbeBHJtz convert rfc822-to-8bit (ORCPT + 99 others); Thu, 8 Feb 2018 04:49:55 -0500 Received: from cloudserver094114.home.pl ([79.96.170.134]:52689 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750986AbeBHJtw (ORCPT ); Thu, 8 Feb 2018 04:49:52 -0500 Received: from 79.184.255.223.ipv4.supernova.orange.pl (79.184.255.223) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83) id 748df167b153e02e; Thu, 8 Feb 2018 10:49:51 +0100 From: "Rafael J. Wysocki" To: "Moore, Robert" Cc: "Mario.Limonciello@dell.com" , "Schmauss, Erik" , "andy.shevchenko@gmail.com" , "kai.heng.feng@canonical.com" , "lenb@kernel.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH] ACPI: Parse entire table as a term_list for Dell XPS 9570 and Precision M5530 Date: Thu, 08 Feb 2018 10:48:09 +0100 Message-ID: <1730642.Ly2vjemNAk@aspire.rjw.lan> In-Reply-To: <94F2FBAB4432B54E8AACC7DFDE6C92E3B756CED7@ORSMSX110.amr.corp.intel.com> References: <20180130060744.19049-1-kai.heng.feng@canonical.com> <9f0eaaf403014137a123f6676ddac5b9@ausx13mpc120.AMER.DELL.COM> <94F2FBAB4432B54E8AACC7DFDE6C92E3B756CED7@ORSMSX110.amr.corp.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tuesday, January 30, 2018 9:09:04 PM CET Moore, Robert wrote: > > > -----Original Message----- > > From: Mario.Limonciello@dell.com [mailto:Mario.Limonciello@dell.com] > > Sent: Tuesday, January 30, 2018 11:03 AM > > To: Schmauss, Erik ; andy.shevchenko@gmail.com; > > kai.heng.feng@canonical.com > > Cc: rjw@rjwysocki.net; lenb@kernel.org; linux-acpi@vger.kernel.org; > > linux-kernel@vger.kernel.org; Moore, Robert > > Subject: RE: [PATCH] ACPI: Parse entire table as a term_list for Dell > > XPS 9570 and Precision M5530 > > > > > > > > > -----Original Message----- > > > From: Schmauss, Erik [mailto:erik.schmauss@intel.com] > > > Sent: Tuesday, January 30, 2018 12:38 PM > > > To: Andy Shevchenko ; Kai-Heng Feng > > > > > > Cc: Rafael J. Wysocki ; Len Brown > > > ; ACPI Devel Maling List > > > ; Linux Kernel Mailing List > > kernel@vger.kernel.org>; Limonciello, Mario > > > ; Moore, Robert > > > Subject: RE: [PATCH] ACPI: Parse entire table as a term_list for Dell > > > XPS 9570 and Precision M5530 > > > > > > Hi, > > > > -----Original Message----- > > > > From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi- > > > > owner@vger.kernel.org] On Behalf Of Andy Shevchenko > > > > Sent: Tuesday, January 30, 2018 10:18 AM > > > > To: Kai-Heng Feng > > > > Cc: Rafael J. Wysocki ; Len Brown > > > > ; ACPI Devel Maling List > > > > ; Linux Kernel Mailing List > > > kernel@vger.kernel.org>; Mario Limonciello > > > > > > > > Subject: Re: [PATCH] ACPI: Parse entire table as a term_list for > > > > Dell XPS 9570 and Precision M5530 > > > > > > > > On Tue, Jan 30, 2018 at 8:07 AM, Kai-Heng Feng > > > > wrote: > > > > > The i2c touchpad on Dell XPS 9570 and Precision M5530 doesn't work > > > > > out of box. > > > > > > > > > > The touchpad relies on its _INI method to update its _HID value > > > > > from > > > > > XXXX0000 to SYNA2393. > > > > > Also, the _STA relies on value of I2CN to report correct status. > > > > > > > > > > Set acpi_gbl_parse_table_as_term_list so the value of I2CN can be > > > > > correctly set up, and _INI can get run. The ACPI table in this > > > > > machine is designed to get parsed this way. > > > > > > I thought I would give everyone an update: we are getting close to > > > finishing patches to enable this term list parsing by default as well > > > as a few other fixes with forward referencing of package elements. > > > Once we have established that these patches are stable, we will get > > > rid of acpi_gbl_parse_table_as_term_list. So this quirk may not be > > needed in the near future... > > > > Rafael, > > > > Would you be opposed to carrying a patch similar to this (proposed) > > quirk patch in kernel and reverting when Erik submits patches that get > > rid of acpi_gbl_parse_table_as_term_list? > > > > The reason being, I think this could also be a candidate to bring back > > to @stable and fix this problem on earlier kernels too. > > > > I don’t believe the patches that get rid of > > acpi_gbl_parse_table_as_term_list likely will be good candidates for > > @stable. > > > > > Does anyone remember what was the exact problem that forced the creation of > parse_table_as_term_list in the first place? I don't remember exactly, but it was related to the MLC code. That was introduced by this kernel commit: commit de56ba95e8d6d760910711744a548b50b3a4262d Author: Lv Zheng Date: Wed Sep 7 14:06:54 2016 +0800 ACPICA: Interpreter: Fix MLC issues by switching to new term_list grammar for table loading ACPICA commit 0e24fb67cde08d7df7671d7d7b183490dc79707e which has a very detailed changelog including links to several bug entries. Thanks, Rafael