Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2873676rwd; Fri, 26 May 2023 12:35:56 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NwX3a0vhrGJ3H+VFFQO9AkJOGZf+GeHZRgha0oVJzzdV/7eG6CcEoRoq2AxaWcWURuK1g X-Received: by 2002:a17:903:26cb:b0:1ab:1624:38cf with SMTP id jg11-20020a17090326cb00b001ab162438cfmr3274454plb.60.1685129756724; Fri, 26 May 2023 12:35:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685129756; cv=none; d=google.com; s=arc-20160816; b=rXXBjy9beIDRiHd8/EPkc1g4V1Q8FqCWRFbsfryzvO2KDokVRpB3lSscX9OcrWcIRt buKLSGXH7VNljuSmFDN1lIRrAIGKn6+5c/kCGqufvEH2GUEaReTzZCMpxVKO2K9mFq8/ TyTtxQ28oYMymN48zzhbQdHqFajBeYO8rla2+IQZgcYzMA1AzWZPAs1y9UhfVmAxlG/5 uDt6i4nf8933qZST6uoCPb9JMVv1DoD34wvr5oD59YndQnuYrsJjS0iotDQ99xX3lKKr yHt/5x0xhoTF5dbuzOp85vlLIOfUlOMFp7u5tTOXWXhFAJpnJQWdozxiLfUTwK/YgFrd ytqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+6DrHgCFY4VauCddEqvyJr/ELyZNf9sKAZHK7/qr+50=; b=LFMgIZWTNYshZvd5LLY+JhkPyOy0b4bbOnLdDXaQ2Z5n5sTw/8mhz+MbsuCr0Tg0Xq 0+ZUjy7o4m/OzAlgn4yvFJjYAKSe9PRK0siq5lKk1UawT6QYS2LUjAHoHaFbk7VnkK+F 1RMFe2IOzVGol1wEiI61niK33AIumhNY36lD9Sk3X0AXGKd93JLJBP26P4kduHqfV2GR qN+WIkn8DuyXy3QDd9YPXcNzdvmj+T7WMhi9xrJKfVrMAxPRKFhkeMylAOS9UDULeGgI 0cYzIT3g3nt980XUHdxeHMQh7a09VnrXHy8t4Ss4bM/ZWaYAjuUMMXidkYzfIRRJRCEM Yb7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=1fZcXW8c; 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 q14-20020a17090311ce00b001ac404445c9si5295501plh.139.2023.05.26.12.35.19; Fri, 26 May 2023 12:35:56 -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=20221208 header.b=1fZcXW8c; 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 S230074AbjEZT0f (ORCPT + 99 others); Fri, 26 May 2023 15:26:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45640 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbjEZT0d (ORCPT ); Fri, 26 May 2023 15:26:33 -0400 Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84E53E51 for ; Fri, 26 May 2023 12:26:03 -0700 (PDT) Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-30a8fa6e6fcso728876f8f.1 for ; Fri, 26 May 2023 12:26:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1685129158; x=1687721158; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+6DrHgCFY4VauCddEqvyJr/ELyZNf9sKAZHK7/qr+50=; b=1fZcXW8cRHgMnWT4prXi7NLHFSMIWcDDBhXNjf7n46YyigPwVGzHTUB7Q4//p4Z1sB wcSXYsG1ZQx2LBQrL/XVzl52+KYHCKN2cxvamiNZ6DfIxlHwnY4NNyQG5X8r8yh6IIyX HO816t2FVu/g86954JmJkH8jFQMglKi5hzQMWj1Ul4Ie1M5ijrPgjLq8OFqrIgLRbVms ikBopAqfYciPsMpVuMsT60IZ01rUm1xwh9F1/pzojr67AF4YIcpMr2KGqEUXJyOk7okj gzIkzltmxldnw2p/PrFBipfW8Mg0to7bpXaXwrFLFCYo7DJAunQFkCfIf54lhaUi9x8c MqeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685129158; x=1687721158; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+6DrHgCFY4VauCddEqvyJr/ELyZNf9sKAZHK7/qr+50=; b=C84J+Q6joZCz5Zbqa0+eDkCuP/AaRTxar4w7NNg2QBjnq+X6Zi1anUoHTlnHWfp0SZ 6din8zrv2UCIQuk66YhQYsTxtK/TTBDhuLDLL5PJpvoCRAfBuo/QTe6CMfCZYAPFX6h3 oF6Cy/gtTt2SBIHIg8ME2HWe90BzPwWEc1+3/f2ZQQPje/6U31Q50bIQTsSfRacgyjOU mRjHdUrfREtFPX5n9AFZNYN5t8pw4jd01rn5XpxBXG3yJDLf0kGtVwAJwjVFblC3Bmeq ry+fs3LYXRkaAgxoHao4v4HHxPfMpIw8zKHkdrVMFxUsG7vmnJSQfvTBumzf7TZmAoVJ x0Sw== X-Gm-Message-State: AC+VfDxF33A7hKYlc/Do11eZWRCXWVauvZ8sTeWh1fRlUOhHyFSC+SnQ egViL7hmGuXs+FnVW6eYtjIWOy+qnM6WLwXgIxP/4g== X-Received: by 2002:adf:cd8e:0:b0:309:4620:e155 with SMTP id q14-20020adfcd8e000000b003094620e155mr2075261wrj.49.1685129157886; Fri, 26 May 2023 12:25:57 -0700 (PDT) MIME-Version: 1.0 References: <20230525173818.219633-1-royluo@google.com> <2023052600-survey-fondness-27ce@gregkh> <2023052619-morbidly-expediter-ab80@gregkh> In-Reply-To: <2023052619-morbidly-expediter-ab80@gregkh> From: Roy Luo Date: Fri, 26 May 2023 12:25:21 -0700 Message-ID: Subject: Re: [RFC PATCH v1] usb: core: add sysfs entry for usb device state To: Greg Kroah-Hartman Cc: raychi@google.com, badhri@google.com, Alan Stern , Benjamin Tissoires , Michael Grzeschik , Bastien Nocera , Mathias Nyman , Matthias Kaehlcke , Flavio Suligoi , Douglas Anderson , Christophe JAILLET , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Fri, May 26, 2023 at 11:47=E2=80=AFAM Greg Kroah-Hartman wrote: > > On Fri, May 26, 2023 at 11:34:44AM -0700, Roy Luo wrote: > > > Also, what userspace code is now calling poll() on your new sysfs fil= e? > > > > > > > We are looking at adding the code to the generic userspace components > > if not hardware abstraction layer in the userspace. > > I can not parse this at all, sorry. Care to rephrase it and point to > some real source code? > > thanks, > > greg k-h I meant the userspace part is still in development and it largely depends o= n how the kernel part plays out. Hence I'm trying to get early feedback here. The use cases we're aiming at are described in the commit message, is there anything specific you're looking for in the userspace code? I'm happy to answer questions you might have. Thanks, Roy