From: "Luck, Tony" Subject: Re: [PATCH] ACPI/APEI: Add BERT data driver Date: Thu, 17 Aug 2017 13:29:55 -0700 Message-ID: <20170817202954.v7v6eoh7vdearxlx@intel.com> References: <20170814165613.25561-1-tony.luck@intel.com> <87k225p1v5.fsf@e105922-lin.cambridge.arm.com> <20170815211556.nnnnbtlvorgc3ijh@intel.com> <87a82zpsd7.fsf@e105922-lin.cambridge.arm.com> <3908561D78D1C84285E8C5FCA982C28F61340302@ORSMSX114.amr.corp.intel.com> <8760dmpk30.fsf@e105922-lin.cambridge.arm.com> <20170817174920.d5jeltjcbhmhxvge@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga14.intel.com ([192.55.52.115]:4147 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753238AbdHQU3z (ORCPT ); Thu, 17 Aug 2017 16:29:55 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: "Rafael J. Wysocki" Cc: Punit Agrawal , "Rafael J. Wysocki" , Len Brown , Boris Petkov , Tyler Baicar , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" On Thu, Aug 17, 2017 at 09:28:53PM +0200, Rafael J. Wysocki wrote: > What about /sys/firmware/acpi/tables/data/ and then one file per table > under it with the same name as the table file under tables/ ? "data" works. ACPI table names are all upper-case, so it can't conflict. Any programs that scan the whole directory have to already skip "dynamic", so they likely would not be confused by the appearance of a second directory. For BERT there is only one blob of data. So naming it the same as the table is fine. Maybe other tables might have more than one thing? If so, they could use the table name as a prefix, or make a subdirectory. We can cross that bridge if anyone finds additional useful things to add. > So in particular for BERT the data would be in > /sys/firmware/acpi/tables/data/BERT ? Ok. Will re-spin the patch with these names. -Tony