Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756734AbcDEA51 (ORCPT ); Mon, 4 Apr 2016 20:57:27 -0400 Received: from mga02.intel.com ([134.134.136.20]:52283 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752514AbcDEA5Y (ORCPT ); Mon, 4 Apr 2016 20:57:24 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,442,1455004800"; d="scan'208";a="778096662" From: "Zheng, Lv" To: "Purdila, Octavian" CC: "Rafael J. Wysocki" , Len Brown , Matt Fleming , Mark Brown , Wolfram Sang , Joel Becker , Christoph Hellwig , "linux-acpi@vger.kernel.org" , "linux-efi@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-spi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Tirdea, Irina" Subject: RE: [RFC PATCH 02/10] acpi: install SSDT tables from initrd Thread-Topic: [RFC PATCH 02/10] acpi: install SSDT tables from initrd Thread-Index: AQHRizHqMQXuxYtSckSiBlcJFZfjF590kGYg///Q74CABjNScA== Date: Tue, 5 Apr 2016 00:57:20 +0000 Message-ID: <1AE640813FDE7649BE1B193DEA596E883BB66712@SHSMSX101.ccr.corp.intel.com> References: <1459417026-6697-1-git-send-email-octavian.purdila@intel.com> <1459417026-6697-3-git-send-email-octavian.purdila@intel.com> <1AE640813FDE7649BE1B193DEA596E883BB66258@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMWVmMzllOTgtN2JkMy00ZWIyLTg3MDMtOTY0YjYxNjI0YTg3IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IlRJZnh0UWp1d2dneGpSY1gxeXA1dnd6Z1lNdEw0b3pscndGRXN6QVl3YTg9In0= x-ctpclassification: CTP_IC x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id u350vXds023157 Content-Length: 1451 Lines: 40 Hi, > From: linux-acpi-owner@vger.kernel.org [mailto:linux-acpi- > owner@vger.kernel.org] On Behalf Of Octavian Purdila > Subject: Re: [RFC PATCH 02/10] acpi: install SSDT tables from initrd > > On Fri, Apr 1, 2016 at 8:05 AM, Zheng, Lv wrote: > > Hi, > > > > IMO, there is already a similar function upstreamed: > > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c85c > c81 > > Could it work for your use case? > > Yes, it is basically the same. > > The only difference is on how we handle taint. I think we should use a > new taint for overlays and that we don't need to disable lockdep. > > BTW, why is lockdep disabled when we override? [Lv Zheng] I guess this is because of the old synchronization bugs. Originally, the table handler may receive table events when the table is installed. And that may trigger lock issues in such an early stage. I don't think the acpi_table_taint() need to be there now. The override mechanisms now happen in an initialization step before the tables are loaded. It should be safe even the synchronization is not so robust in ACPICA. Because during this step, all things are serial. IMO, you can remove acpi_table_taint(). Thanks and best regards -Lv > -- > To unsubscribe from this list: send the line "unsubscribe linux-acpi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html