Received: by 10.192.165.148 with SMTP id m20csp1805939imm; Thu, 26 Apr 2018 02:30:42 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/qUK5o/JOxWs5/cGId8m5QYL5uelkU1EmeWx8+5QhlCv8ooHuuBp7FizIqIbqeXOwNzpUG X-Received: by 10.99.113.78 with SMTP id b14mr26559663pgn.76.1524735042750; Thu, 26 Apr 2018 02:30:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524735042; cv=none; d=google.com; s=arc-20160816; b=qRmsM4HSapOe/4zhC3a7kghgzxC2AJaxdlikz1pfCI2MzPIbUFbynf6j2ij0unvztB ZTEnKrwFZssd6+D32MFpcOzkC6/W56o8wsMA8Hq8YCn9AOxR9B0HAIAn1FFg8wS1Wz+e xScVkuFBu4yHiUsQfkgHL3kcRHjUNMHNgM9YUPROC4qwLnc8yQ+PtjJx5l4/xW+PyV7t hs+VcMOV1r2vO+wynMUGTl+lxboayXi0RqFXzyuFFP6a+NvYNu6xRdxY9+Z8RIt7WKU4 XmQkWu/QBERCQXPtwj6ja76CVTRsy030JVDAUGqyjtCdpBfLYODvFHe9QNvnO2O2dUEJ kF+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=/GHcc6hussvERZW7n1y+fhIgMz7/Ya+EhyyEW7yuPgU=; b=o9jes8RSPe5ur+AXAyZbUpoij2XFCb7PQvEdJWOdLfkVqvd4VUkY3E3QAPw8bsqRhE K6nByKQy3L6uzXiqtfeegcIi4HMFq/sCU5F5utgTJJpfDXuDNJ9I7ijH053nk7h157Rx mjZsxqxGyRBwCXfLvXZ2bnp6FDrsFRdKWfogKLe34AKdS0eDJdDFSUJd5mLtFb/5j7P9 ENIIOTNUUomtHUbvcCLXO6pP5TTaTCW9NhM8ruqjYR4qsWdplvS2nUyVUCuhvhIioiNp w29wg0dDJKzSIznQc80/lLBsCaGrJ2ggl1AagwuEDYQuqq3K4vVZis2k7vKseDjzgRh/ zD1w== 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 v184si1042729pgd.82.2018.04.26.02.30.27; Thu, 26 Apr 2018 02:30:42 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754867AbeDZJ2t (ORCPT + 99 others); Thu, 26 Apr 2018 05:28:49 -0400 Received: from mga11.intel.com ([192.55.52.93]:7501 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753780AbeDZJ2p (ORCPT ); Thu, 26 Apr 2018 05:28:45 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Apr 2018 02:28:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,330,1520924400"; d="scan'208";a="223501331" Received: from vkoul-udesk7.iind.intel.com (HELO localhost) ([10.223.84.143]) by fmsmga005.fm.intel.com with ESMTP; 26 Apr 2018 02:28:41 -0700 Date: Thu, 26 Apr 2018 15:03:24 +0530 From: Vinod Koul To: Simon Glass Cc: LKML , C Shapiro , Aaron Durbin , Mika Westerberg , Jonathan Corbet , Philippe Ombredanne , Andy Shevchenko , Alex Hung , Dmitry Torokhov , Greg Kroah-Hartman , Jean Delvare , sayli karnik , Sagar Dharia Subject: Re: [PATCH] firmware: dmi: Add access to the SKU ID string Message-ID: <20180426093324.GV6014@localhost> References: <20180424211111.140374-1-sjg@chromium.org> <20180425025125.GH6014@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2018 at 03:17:37PM -0600, Simon Glass wrote: > Hi Vinod, > > On 24 April 2018 at 20:51, Vinod Koul wrote: > > On Tue, Apr 24, 2018 at 03:11:11PM -0600, Simon Glass wrote: > >> This is used in some systems from user space for determining the identity > >> of the device. > >> > >> Expose this as a file so that that user-space tools don't need to read > >> from /sys/firmware/dmi/tables/DMI > > > > sysfs is an ABI and needs to be documented, I don't see that in this patch, > > pls add. > > Thanks for taking a look. The only mention of the dmi/id I can find is > in Kconfig: Sorry I should have been explicit. All sysfs entries are ABI to userspace. So they are documented in kernel and the meaning of files should not typically get modfied over time. Please read Documentation/ABI/README For DMI, quick grep told me you should add to Documentation/ABI/testing/sysfs-firmware-dmi-tables HTH -- ~Vinod