Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2625984rdg; Mon, 16 Oct 2023 09:45:32 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFZiJAfyAh4UtbPgjtmXrdry7bnd1nDbnwS2CsOhEouzhTYIvFVGvSbrRks7wvUebuyp1wt X-Received: by 2002:a05:6a20:1607:b0:163:61c:9275 with SMTP id l7-20020a056a20160700b00163061c9275mr36360225pzj.41.1697474732567; Mon, 16 Oct 2023 09:45:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697474732; cv=none; d=google.com; s=arc-20160816; b=djSRZjppY3Hf4qjE2oHzbRZdak8bkbiK2MqZakvXoZGTdcFLvkspUf2bLkaBbP578A Wt5m1qfVqtnO+3ae9UmMdmn/kRONpFmQCLI6c8NTUctf8nBMHlHpPf0zWQufvMK614vq Ulxj+f3TgC3PwSPubjzDu1sxoEYt3fv9xfCA8cXtmoZn5WuQdRsqG7WR+iIUG4fEAuBV OwUa9j4xsc+lAylR/ndOvT5F0ztJhh5F0bS0XRJC5vqQD8jfRIDYYhOuEAKeK7vbh8cy qLLUBmr0qipfNRpi68uOEOIOXpvtoawe+dzDISmbYnY9rKWG+kGfUmFXMhQJNupGHRRa jAmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=oIrrrZON+5DwajbzWsbgCxZFb5QMyliVEWXQnfLNnq0=; fh=tlcO6QM22A8AUTcOLawPl5da6jHnYL9yfIPZy6yfqSs=; b=ySIB1ZbTAJcCOfw/zP2NaKy44S8QB4pC7QLhab31mybh66fpa/V+wMBws/+6omGAdA XvMeK33O0ctYXfIsA2jikY/d/A9idr/C6W3QQzzfewXrojcCsQjr1xuS9bedG1Iuu1hZ HhYB6fvGVHytPt9So9d0gg2twfODSiWpvuU1jlOynZyhHYT12hHr5r51seoZohUYB6ng mumDPO18J/jg8UMP/T5jt9nTreiFFGQCxVG2fWmtVtoSDUosJPB6gKleE8YMJ9Q/m9DQ 4Oxs5bR2N6YtFU2O+4jI79Kcx7bzyf0opnjkkq7blxiqPp5nmFvMwwLFZswnhzctvQdH S6SQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="TGUwP/gi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id lr6-20020a17090b4b8600b00278fe6b74c1si6939035pjb.25.2023.10.16.09.45.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 09:45:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="TGUwP/gi"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 38A7F8041316; Mon, 16 Oct 2023 09:45:22 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234142AbjJPQor (ORCPT + 99 others); Mon, 16 Oct 2023 12:44:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51774 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343939AbjJPQoW (ORCPT ); Mon, 16 Oct 2023 12:44:22 -0400 Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1B82987D91; Mon, 16 Oct 2023 09:35:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1697474105; x=1729010105; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=XHgG6AwTXSuXo/oRlKIUbP9Fwdm8hlGaOqwUtMzxG9Q=; b=TGUwP/giY1PoHbxk5Bj7Yyne8ae41HJKPbw/7C1ilF2o/y9QsfJI+oQh 3Ola4RwzF8mD/wa4sWx4bTHCtuekTiIh+Gy5tL08HAvsoxOPN7rGW8HJ7 lFgmT3PK4OivcAwxMPi9aWC/RWPyMoVFAchCMqk6PyBGHOaduLFkRNK+w C/kUb/WFXEoAikvIYkqnQgpZ0ktKLSfqK5ZAupNi21YpnJGDJDWV6attv Jt6rzc+Exc38607fnAOMeBl8MJgOkzTaZJRkuxEFH9R7UVAf7j31Ybch+ gVLhW1eVKNcy4mSiFZKu/9q1YHpg3w2SJ0ebUzAwOCJqzJ1+vdDGff742 Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="449786465" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="449786465" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 09:35:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10865"; a="759461692" X-IronPort-AV: E=Sophos;i="6.03,229,1694761200"; d="scan'208";a="759461692" Received: from smile.fi.intel.com ([10.237.72.54]) by fmsmga007.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2023 09:34:59 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97-RC2) (envelope-from ) id 1qsQ5w-000000062PB-24R4; Mon, 16 Oct 2023 19:05:28 +0300 Date: Mon, 16 Oct 2023 19:05:28 +0300 From: "Shevchenko, Andriy" To: "Wu, Wentong" Cc: "gregkh@linuxfoundation.org" , Hans de Goede , "oneukum@suse.com" , "wsa@kernel.org" , "andi.shyti@linux.intel.com" , "broonie@kernel.org" , "bartosz.golaszewski@linaro.org" , "linus.walleij@linaro.org" , "linux-usb@vger.kernel.org" , "linux-i2c@vger.kernel.org" , "linux-spi@vger.kernel.org" , "sakari.ailus@linux.intel.com" , "Wang, Zhifeng" , "linux-gpio@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v20 1/4] usb: Add support for Intel LJCA device Message-ID: References: <6a87b43a-0648-28d4-6c69-e0f684e44eb6@redhat.com> <5d2e9eba-a941-ea9a-161a-5b97d09d5d35@redhat.com> <9a080d06-586d-686f-997e-674cb8d16099@redhat.com> <2023101653-shiftless-scorebook-19e3@gregkh> 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 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 16 Oct 2023 09:45:22 -0700 (PDT) On Mon, Oct 16, 2023 at 06:44:21PM +0300, Wu, Wentong wrote: > > From: gregkh@linuxfoundation.org > > On Mon, Oct 16, 2023 at 03:05:09PM +0000, Wu, Wentong wrote: > > > > From: Shevchenko, Andriy > > > > On Mon, Oct 16, 2023 at 08:52:28AM +0300, Wu, Wentong wrote: ... > > > > But this does not confirm if you have such devices. Moreover, My > > > > question about _CID per function stays the same. Why firmware is not using > > it? > > > > > > Yes, both _ADR and _CID can stop growing list in the driver. And for > > > _ADR, it also only require one ID per function. I don't know why BIOS > > > team doesn't select _CID, but I have suggested use _ADR internally, > > > and , to make things moving forward, the driver adds support for _ADR here > > first. > > > > > > But you're right, _CID is another solution as well, we will discuss it > > > with firmware team more. > > > > Should I revert this series now until this gets sorted out? > > Current _ADR support is a solution, I don't think _CID is better than _ADR to both > stop growing list in driver and support the shipped hardware at the same time. > > Andy, what's your idea? In my opinion if _CID can be made, it's better than _ADR. As using _ADR like you do is a bit of grey area in the ACPI specification. I.o.w. can you get a confirmation, let's say, from Microsoft, that they will go your way for other similar devices? Btw, Microsoft has their own solution actually using _ADR for the so called "wired" USB devices. Is it your case? If so, I'm not sure why _HID has been used from day 1... Also I suggest to wait for Hans' opinion on the topic. -- With Best Regards, Andy Shevchenko