From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.2 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC450C432C2 for ; Thu, 26 Sep 2019 08:09:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A6E6C222C8 for ; Thu, 26 Sep 2019 08:09:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726813AbfIZIJn (ORCPT ); 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-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@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