Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1176935pxx; Tue, 27 Oct 2020 10:00:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/m3OiMxmRRk+n6we4ZuqRI0e9B9qWVDKQYd1VVe0UGU7NxAO1YrH+KPV6B/Rap15xHamb X-Received: by 2002:a05:6402:1a4d:: with SMTP id bf13mr3268792edb.314.1603818005820; Tue, 27 Oct 2020 10:00:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603818005; cv=none; d=google.com; s=arc-20160816; b=jG+hhHt+iL9tD68YeFrKvw3fKUvnLcUt1CCnxlf3oq++2xcsDa/GJcQ2deNMu1FYUa EOzw3IdRA7pHsWmd9LpPTTbwGi/yTYaTJXvKvPksOHGPMnkH+pLuTdX5jel1AUi3TuYn yQGV7EZ2AICwDXYbAO3GQloNhBNIeSRySqo/cPZlDfMA8vWS1mZZSxv0gOBSOVhaperG tpd0t5m/8KoDczyCb4ike9Qa09kTTKhxi+xpMXYRpecIxLAGGVO2nG3sdAD6OaP5dOtv dL8DrncZR2+KpVyv3WMC5LaynLzqhfIzJn3g5AkPjYoTIXEE+yWCFiaY4BFrPHppqVbQ VVig== 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=96dwXq+e4KmvOdhGiYe8IzaJhZUKG3H8aTqx1hUZNsk=; b=Y459Jl9PC4w5lchTQyiAhhrM8slDwoStqxYOOAhcbfhQQlNZaYil3Gafns0T2Jj9mj m/XclW6jnLLWezGetuUIACdVaW+iyHsNhd9utBryyxVzWx2ZLFalX1SMdBvzFQCZLcF1 /ziAu+yq9h3n2cnnH52YDpTK1VXjhgiBoUGb/A1eIcb4FwcVsIw0/E/elIM1Iw11eFii Uh5UzC0d4x3xdB6yEdC97b7MBVz3STkymI2toBa0gD++MiMBF6oUVmzT9BlZAUL4VmUi TXrjKmnRuE+F60GqjtEL2l4+R3VOvCczG1vZUR5egTZY8y51IutitcMdHTMAJTYPZuyv Dfyw== 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 x13si1271468edq.569.2020.10.27.09.59.43; Tue, 27 Oct 2020 10:00:05 -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 S1807662AbgJ0QMq (ORCPT + 99 others); Tue, 27 Oct 2020 12:12:46 -0400 Received: from mx2.suse.de ([195.135.220.15]:50390 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1807623AbgJ0QMT (ORCPT ); Tue, 27 Oct 2020 12:12:19 -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 D25F5ACE6; Tue, 27 Oct 2020 16:12:18 +0000 (UTC) Date: Tue, 27 Oct 2020 17:12:17 +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: <20201027171217.4c05a8a2@endymion> In-Reply-To: References: <20201022064047.9827-1-kaichuan.hsieh@canonical.com> <20201022144255.667ca9ce@endymion> 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 Thu, 22 Oct 2020 21:11:32 +0800, Kai-Chuan Hsieh wrote: > There are multiple product skus share the same product name, like > clamshell and 2-in-1 for Latitude series. > Both of them have 3-axis accelerator, but rotation is only disable for > clamshell model. > Originally, it should be descriminated by chassis_type, but found that > chassis_type is not trustful. > https://github.com/systemd/systemd/pull/17084#issuecomment-706931881 > Therefore, I would like to propose a change to include the product_sku > for applying customized configuration easier. OK. On the principle I'm fine with the change. As far as the implementation details go, I'd rather stick to 3 letters maximum as we did for other fields, to keep the overall string as short as possible. This also has the nice effect that you wouldn't need to realign everything, which would make the patch more readable too. So please go with either "sku" (my preference) or "psk". Thanks, -- Jean Delvare SUSE L3 Support