Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1896322ybn; Thu, 26 Sep 2019 03:59:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxGvvzwIuAYJwT3CdROGLWAQMg5ECs6iUR5hHscTC1C4Hv8inuSqmnZVzJQ2xZTJRMv6fTZ X-Received: by 2002:a17:906:e109:: with SMTP id gj9mr2477649ejb.160.1569495548492; Thu, 26 Sep 2019 03:59:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569495548; cv=none; d=google.com; s=arc-20160816; b=g5a4EBvvWC0oIka6canhZIN1yPFbGk+ma1GeICDKIxS2wR+GOVqXV4t6OD5ofmJWRL f53ZyAW4kNzCUIwXOQEOKnh1MSiaZsGbq36LT6JxCp3exXzgEC5VJYmFJjsIvMvqq8m9 I3YgbLmbuVEJK81BZxSbv+emnnXY9Z65xwdw0uF4QwRhW3kVKwZBV80mNud9TQGe72iN IBD7SXWUs0llcT6uJcWklnuBXON3BJ+/VbMw+zcQJpzKAgK8raenxQBH9ecZIgYgsu0v uzB77eXvuTkp07fyDvLu3UvJQsOWHOuFp+1pL3a/oTzpwOQ1jjjHET503Av4z12sVzn+ 6L6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=gHQQuiNT7VBT9hQilCiyDgiLMtX9PA70oX0G3hjlQX4=; b=ThEuabVAmr3oNbo+tplJ4X1AzOTtyDSdHFZ4qAlnGy23GmCOj23oOhISo+GMyhLf8U GCqfyZXuGiN09cCecpl+jkrDKArbkbX36b4/4VXgtXnhE8pmjeAVuFN/w+tWaTFSQwgx DBZ2st2N/zGpK98NQVR2TVJgutxsxfkywFxXOBKA5CAGs+Kz0H2A0Bsyj85hmggnXtCx q2vYEdvmsDRlm0drnoxXVDL0JmKzLSI8xD8aDe1E1+1bABPnqlFu9Gu9JnehwpHtbbvG NKnk6bkCzYFBarGoSXoDfLiR9ckLBTgDHnpPqNSHwiKrX9MS9NH3oaXxFBz0ADLKCt8O v5vA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m20si1057438eds.363.2019.09.26.03.58.45; Thu, 26 Sep 2019 03:59:08 -0700 (PDT) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727930AbfIZIJn (ORCPT + 99 others); Thu, 26 Sep 2019 04:09:43 -0400 Received: from mga18.intel.com ([134.134.136.126]:17632 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726473AbfIZIJm (ORCPT ); Thu, 26 Sep 2019 04:09:42 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 01:09:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,551,1559545200"; d="scan'208";a="273254662" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by orsmga001.jf.intel.com with ESMTP; 26 Sep 2019 01:09:38 -0700 Received: from andy by smile with local (Exim 4.92.1) (envelope-from ) id 1iDOqG-0001ou-EI; Thu, 26 Sep 2019 11:09:36 +0300 Date: Thu, 26 Sep 2019 11:09:36 +0300 From: "Shevchenko, Andriy" To: "Schmauss, Erik" Cc: "Moore, Robert" , Nikolaus Voss , "Rafael J. Wysocki" , Ferry Toth , Len Brown , Jacek Anaszewski , Pavel Machek , Dan Murphy , "linux-acpi@vger.kernel.org" , "devel@acpica.org" , "linux-kernel@vger.kernel.org" , "nv@vosn.de" Subject: Re: [PATCH] ACPICA: make acpi_load_table() return table index Message-ID: <20190926080936.GB32742@smile.fi.intel.com> References: <20190906174605.GY2680@smile.fi.intel.com> <20190912080742.24642-1-nikolaus.voss@loewensteinmedical.de> <94F2FBAB4432B54E8AACC7DFDE6C92E3B9679CE8@ORSMSX110.amr.corp.intel.com> <4929b1d2-c2a7-4efd-89e4-f02205e79c01@telfort.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 25, 2019 at 09:13:34PM +0300, Schmauss, Erik wrote: > > -----Original Message----- > > From: Ferry Toth > > Sent: Thursday, September 12, 2019 12:37 PM > > To: Moore, Robert ; Nikolaus Voss > > ; Shevchenko, Andriy > > ; Schmauss, Erik ; > > Rafael J. Wysocki > > Cc: Len Brown ; Jacek Anaszewski > > ; Pavel Machek ; Dan Murphy > > ; linux-acpi@vger.kernel.org; devel@acpica.org; linux- > > kernel@vger.kernel.org; nv@vosn.de > > Subject: Re: [PATCH] ACPICA: make acpi_load_table() return table index > > > > Op 12-09-19 om 16:19 schreef Moore, Robert: > > > Nikolaus, > > > The ability to unload an ACPI table (especially AML tables such as SSDTs) is in > > the process of being deprecated in ACPICA -- since it is also deprecated in the > > current ACPI specification. This is being done because of the difficulty of > > deleting the namespace entries for the table. FYI, Windows does not properly > > support this function either. > > > > I really hope this is not the case. On x86 loading/unloading SSDTs has proven to > > be a powerful way to handle reconfigurable hardware without rebooting and > > without requiring dedicated platform drivers. Same for user plugable hardware > > on i2c/spi busses. > > > > This has worked before and will violate the "don't break user space" rule. > > If the table index wasn't being used, how did this work before? > Which commit broke this? > > Bob and I are trying to understand if this is a regression or a new feature request... It is a regression as I explained in my bisecting message. Before it uses acpi_tb_* API directly. I thought Bob already got the idea. -- With Best Regards, Andy Shevchenko