Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp455741pxb; Wed, 23 Mar 2022 23:39:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ2NEO93x0f3NtIqSOvDOEVufVBfhq7ya5wXWAFuSBKe0cJ9CKAR2yky9HNNpMLls19yPd X-Received: by 2002:a17:90a:d50a:b0:1c6:aade:e4b3 with SMTP id t10-20020a17090ad50a00b001c6aadee4b3mr16750052pju.69.1648103947423; Wed, 23 Mar 2022 23:39:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648103947; cv=none; d=google.com; s=arc-20160816; b=tM88UBSzAHQy6x1hAvQInuHhqw3gSRm0JPUEzHvtgR8+uMSF5lQFoFJ9Fi/hUQAIi0 GtkhnyfR2XJvw9NmU8Br/0esjdlvBX8ZT4X8sots3AZoDNrHFNQTCdln5TyuL2Y7JuBT JCPqe4jNmeLohfv8kf842mXL6F6yoex5OJMksABVLYU/WWAnC80siz6MYipkXaG957eJ nIVNUt1c7ombuLYGJt1V3V2XIih16Kn41bqa5CBZ+HCKNoPGLtJmWqTc4WVAkHkkwpZZ huWt1nEJKS1P0DRLZMOCs6SVof8BokCH0VkuCH59aFO0rOTZqJH3BkWjJBn0+PpR4/Wr aisw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=weN60xW+yqBjNWWoUTdrMPjiX49CJMMCVBJR4fB8Kjw=; b=E1bV1OKgaMbpW3ueH+nvcX5kRRvyt0pGaDX82C/t2mLp6otNKldguRZNecDfp5SAVZ uMgeuHv3zWgb4NaGA1GzRvtq/Jdmg6QdNCiR9Fsw0cMP88sN1Q16zyZrSMDEAub/yDRK 5wcCVObqSnmyL+o++xQM1oxNDSuP8t21fsLAmTJewnDbU3LLPRrWCd0xNjM+P8XKqUpR zuTUEiScpc8hXtkowx49hX0xza2ORFmWg1vwHIKOV3d9fm+0EzUSTQhZZ1ybQM7+++DV SzC392+C0BRd7JkFwI2vQ+4k2UUpnfduyLMy9ZTByy/TZt54aow6x+4KO4qJkz8YuSvn Rhbw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fqlUpUyf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g15-20020a056a000b8f00b004fa599bcf9bsi18051503pfj.271.2022.03.23.23.38.50; Wed, 23 Mar 2022 23:39:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=fqlUpUyf; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343832AbiCWR4a (ORCPT + 99 others); Wed, 23 Mar 2022 13:56:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343825AbiCWR42 (ORCPT ); Wed, 23 Mar 2022 13:56:28 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A9A2B7D3 for ; Wed, 23 Mar 2022 10:54:57 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id o10so4448642ejd.1 for ; Wed, 23 Mar 2022 10:54:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=weN60xW+yqBjNWWoUTdrMPjiX49CJMMCVBJR4fB8Kjw=; b=fqlUpUyfeeCvvy4DS1MBlL4zf1zHf0FGNm9VHVD2KJnftud6qYw3VVdHyZRiE6wbqq QGs3Rc82oQB2i+whThfrlfP7BAozHQn0Nw7ZySToIiKGaY35I2x6XBg0eU1Jml918o7k qKI/tblWQsUP7LMn9DwQbUAQqd4VUbJWCckja/+E22eqa1mM66/O0uDtR/A38hkWQbrq BpQF9I/sjCIffom8QEWNWfwO0MOzrIIfJScVDQoocqIFF4D/4GCtIt48PIjcX11nZgU8 zJqST+DCuCsY4Chfp4dBupub4qCmptH/spsFgW66xu857jsfOwA755kNUd9AaoElQt1g NQbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=weN60xW+yqBjNWWoUTdrMPjiX49CJMMCVBJR4fB8Kjw=; b=zyL14Q4Ar6U+XkRIHOgtBnA9Hz1Bmh4c+mOCnbqkr9ERkNc2EqCxJbKYCyhKXOvL2F 4ABaKkzVERpdlwg6vCsccpC6X23vVGA6wD9pXpDD3kgnXwxy0GZ55RfWxQuQ6BlMEZ6e L0IHDEHrJ63cFv3Ysa1NCR2VZ7uTySuwfOkvK4I1Z6ar0Jz5+4/4po2xeAOn7tdb186M b1WRNvXoQl98iz20+/4T1slFQ0QNJiin//Bskw2sVqiskgTe+4EFW+iYpTQNr67wJyfw SYE+7JxSJF1Onil5B3FQQDzrKPg9o+3WQDItCq7P24GyeGq0LZQjsISMriajY8xOYXGP H9dg== X-Gm-Message-State: AOAM532Q+XBzOisfgB4zntHzQ0E0+T3hwSsdM9noXsH1YaDCfvQVH5G/ 7xxOGCKkoCc47nlq4jniSCfBFZNRH0ZqAspq+1UixPvMVUDCcA== X-Received: by 2002:a17:906:c04d:b0:6b9:252:c51c with SMTP id bm13-20020a170906c04d00b006b90252c51cmr1377573ejb.470.1648058095790; Wed, 23 Mar 2022 10:54:55 -0700 (PDT) MIME-Version: 1.0 References: <20220314195458.271430-1-wonchung@google.com> In-Reply-To: From: Won Chung Date: Wed, 23 Mar 2022 10:54:44 -0700 Message-ID: Subject: Re: [PATCH v6] driver core: Add sysfs support for physical location of a device To: Greg Kroah-Hartman Cc: Heikki Krogerus , "Rafael J . Wysocki" , Benson Leung , Prashant Malani , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 23, 2022 at 12:21 AM Greg Kroah-Hartman wrote: > > On Tue, Mar 22, 2022 at 09:36:02AM -0700, Won Chung wrote: > > On Mon, Mar 14, 2022 at 12:55 PM Won Chung wrote: > > I am sorry to keep bothering you with this, but can you take a look at > > this patch for a review when you have time? Thank you very much! > > It is the middle of the merge window now, and I will look at this after > 5.18-rc1 is out. Due to all of the constant churn in this (and you only > fixing the memory leak in the last submission), I had put this on the > bottom of my review queue. > > Also, I don't see an actual user of these new attributes anywhere, so > even if this was accepted, who is going to use it? > > thanks, > > greg k-h Hi Greg, Thank you for the information. As a start, we are planning to use this in Chrome OS to specify the physical location of each USB device since Coreboot adds _PLD fields to usb port and typec connector. Currently, if there is one USB device connected on the left panel and another USB device connected on the right panel, the userspace cannot distinguish which device is on the left or the right panel. Once each USB device exposes its location info, we can gather more data on users' preference on port usage. Also, it can apply to not just USB devices, but also other types like HDMI ports in the future. Would this answer your question? Hey Benson, can you take a look at this if I am not mistaken or missing some details? Thanks, Won