Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp229724pxx; Thu, 29 Oct 2020 00:45:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwzEF0hJHDiTyx5n9bobTD7EugumFBudz/wIUAY7CY/9dCIvOhDNcbQPW6507AFSYQW24XQ X-Received: by 2002:a17:906:141b:: with SMTP id p27mr2900584ejc.205.1603957503490; Thu, 29 Oct 2020 00:45:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603957503; cv=none; d=google.com; s=arc-20160816; b=VJ5bi8bVLRITWhLuR0eX5jMaz+UcW0LoV8/2yIhwZO+oYM+T7N6AVadiV2RQPNWd1D o/QMJLF7+uUu7lSlv2cd58jY3gu8YcgbUme9U0kif3MXZTBEGxtMeQfW0WJ/D90Qtuc1 VrTX5TAUMQ/eG7j6zwH3WxeAkU5akFjvVjseG6XNU+6lRUUXMPJznJR7mWtJ90csrydx TO3Lvtned+5gw4yPlbXZ3vLYlX8cQJi+NEZn5BqTZ+/g1fRmqPP2lfQ4GdUeL9HZVGpY 1hCLctZ04/U6f8/rgowQmn3XmM6XEtlzbhR2BCuFdXDaG98NTdQn9gOkG7xEAFqnJqW7 GnSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=F/Jdw6qWf3fasKlJf8LEifmWlpR304BCctFvS0kOmY4=; b=qls0Fj0HhPkKGf0xBUUWPtFPPmEEpVJnRoGwyR0pI2vaHT1MjNwy4tjmZfAOt1X3l/ uBsKyX7pmhk4hBwp0UaM/vQQpKRCl8kXoARKxseyXN3wfVGNQFrf5HyDemF0FJRdwIeV GJ3D5u6MJj+JR8cXE65QicoldAGLCdKCdPrqyBkImp5TqDigRIYakbJw3qW8HdlN7nG0 zHJpIqeazujrEVAEBxRm8/z1spS9Xv5lRDDlTxTKhJObyTifCijKzfI45LL0TgsHqepZ l5kqa8x+CQqnpXXQs7Ks18eKapHhWeWaemnrLYDQ8BVSJnLqXvxfh0h/zxYRPrvlahZb lHqw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i26si1184257eja.557.2020.10.29.00.44.42; Thu, 29 Oct 2020 00:45:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388424AbgJ1Wg1 (ORCPT + 99 others); Wed, 28 Oct 2020 18:36:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:51270 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388081AbgJ1Wdl (ORCPT ); Wed, 28 Oct 2020 18:33:41 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id DB137AC0C; Wed, 28 Oct 2020 09:04:56 +0000 (UTC) Date: Wed, 28 Oct 2020 10:04:55 +0100 From: Jean Delvare To: Kai-Chuan Hsieh Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] firmware/dmi: Include product_sku info to modalias Message-ID: <20201028100455.28cad0f5@endymion> In-Reply-To: <20201028035015.8897-1-kaichuan.hsieh@canonical.com> References: <20201028035015.8897-1-kaichuan.hsieh@canonical.com> Organization: SUSE Linux X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-suse-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Kai-Chuan, On Wed, 28 Oct 2020 11:50:15 +0800, Kai-Chuan Hsieh wrote: > Some Dell platforms rely on modalias to customize configuration, > the product sku can be more specific for the hardware. > > Add product_sku to modalias for better utilization. > > Signed-off-by: Kai-Chuan Hsieh > --- > drivers/firmware/dmi-id.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/firmware/dmi-id.c b/drivers/firmware/dmi-id.c > index 86d71b0212b1..4d5421d14a41 100644 > --- a/drivers/firmware/dmi-id.c > +++ b/drivers/firmware/dmi-id.c > @@ -85,6 +85,7 @@ static ssize_t get_modalias(char *buffer, size_t buffer_size) > { "svn", DMI_SYS_VENDOR }, > { "pn", DMI_PRODUCT_NAME }, > { "pvr", DMI_PRODUCT_VERSION }, > + { "sku", DMI_PRODUCT_SKU }, > { "rvn", DMI_BOARD_VENDOR }, > { "rn", DMI_BOARD_NAME }, > { "rvr", DMI_BOARD_VERSION }, Applied, thanks. For your future submissions, I invite you to read Documentation/process/submitting-patches.rst Specifically, when submitting a new version of a patch, please: * Replace [PATCH] with [PATCH v2] in the subject. * Do not reply to the previous version of the patch, instead start a new thread. * Ideally, include a list of changes from previous version, between the "---" marker and the diffstat. Thanks, -- Jean Delvare SUSE L3 Support