Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4259998rwd; Tue, 30 May 2023 02:51:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7jq+1YcwZ1zvs7+EwmQrrlRTjk29izZGtPp6qIladXqHNqHs6MQgRAnLpg5MddmT4lWhq8 X-Received: by 2002:a05:6a20:4422:b0:10f:2273:16a8 with SMTP id ce34-20020a056a20442200b0010f227316a8mr2068282pzb.61.1685440310194; Tue, 30 May 2023 02:51:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685440310; cv=none; d=google.com; s=arc-20160816; b=MKBqZRi6QJHJgInSsKrjZ4MEjWIscJJucnOmS1phJDzN3StK6CjOvSJqH6OFG6LU7E LowSUTE501VcRT3CXoT7wfnRcC6u6RgVzXPz4eGhbt7+VZ570Z1Vdm2PuZ8oLjDPRQyu gosJIkoA3r5v6YJif1bgFNzcp7HYhomK+YIh2QQzh2/4i20uuBWkRN67e+GTzYcxEiGs AyN8I4912xOjFdPQCJY8wVhkqHjT1isSimIZplPX7ZOMNwX+9DVlQBVSu0EcBJiSt6bG jgTvVtHqfDJCV4RKaihNQhhx1S8KbHeVZ6nTaVWOV9uPUezY+vJSvB0cf679UpNX8JsM zjzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=tmxM3tn5XA/gRtGrhMzsJZpYhPq9V79Wuy9gayuq34E=; b=r2kx0iXqV7iqz1z0Ki7xTIF5a/ifvG3TS9lNYPWAdHCo5TuRZ07OE52W0+e7vUrGzh CbyCj7guMPBGilZYg+IVJztp8PYpi+ZBvdYw/IjBO5gYe0kyJnyJYMTmv1m/kHChJt/2 wk/DlKke3IXulHbcgO7N4BIlkyAY9Y530fZ7ucSa7AX2MjHd4YtrLimsqx/w96iJbMao i1U2CKDHNEmwaFhzo5VPCrYyx2kYRazGdnpNZ7mEmpxWPICTxOSFO7m8FvwFJBPmFKRi xSvet7gN78NraevYyix6U48hzx1yS8A4VF71vQlvUOxPoVhCnfT6d/w8eEraDp/G50in dX/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=JM3UjGQf; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id on14-20020a17090b1d0e00b0025026c97f40si13468370pjb.145.2023.05.30.02.51.36; Tue, 30 May 2023 02:51:50 -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=@linuxfoundation.org header.s=korg header.b=JM3UjGQf; 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=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230468AbjE3Jo4 (ORCPT + 99 others); Tue, 30 May 2023 05:44:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231226AbjE3Jox (ORCPT ); Tue, 30 May 2023 05:44:53 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EF1B93; Tue, 30 May 2023 02:44:52 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E4BF8625E7; Tue, 30 May 2023 09:44:51 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 07AD6C433EF; Tue, 30 May 2023 09:44:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685439891; bh=sd0NR5+IWWwfFPPUGkzsCyqw3K/x2mgiKhFa7WH6Cs8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JM3UjGQf0wvmSGS1JsRRGMTCnGA8QxfRcmVrUfhvW/WNWqe5efz8z1oMOYipXgV8f AtLTslE+SWRvVO3HFCWxO2xi8t5IYMSvr0IOGQyvNxQuhxqeQ3xd1L8j+pGPMuczeO IZRNUw/myMh4JC6qxYBeMoR+Ed2aHB+38COrQ02U= Date: Tue, 30 May 2023 10:44:48 +0100 From: Greg KH To: Rajat Khandelwal Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v5] usb: typec: intel_pmc_mux: Expose IOM port status to debugfs Message-ID: <2023053013-playhouse-dad-1444@gregkh> References: <20230524104754.4154013-1-rajat.khandelwal@linux.intel.com> <2023052917-juicy-calamity-4b35@gregkh> <0367a134-cb04-8a1c-bb46-bb5553df6f8a@linux.intel.com> <2023053049-dexterous-flatware-df04@gregkh> <2da06c06-6617-bd02-f20a-a5ea7f9ae0b4@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2da06c06-6617-bd02-f20a-a5ea7f9ae0b4@linux.intel.com> X-Spam-Status: No, score=-7.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Tue, May 30, 2023 at 03:06:15PM +0530, Rajat Khandelwal wrote: > Hi, > > On 5/30/2023 2:57 PM, Greg KH wrote: > > On Tue, May 30, 2023 at 02:45:03PM +0530, Rajat Khandelwal wrote: > > > Hi, > > > > > > On 5/29/2023 7:48 PM, Greg KH wrote: > > > > On Wed, May 24, 2023 at 04:17:54PM +0530, Rajat Khandelwal wrote: > > > > > IOM status has a crucial role during debugging to check the > > > > > current state of the type-C port. > > > > > There are ways to fetch the status, but all those require the > > > > > IOM port status offset, which could change with platform. > > > > > > > > > > Make a debugfs directory for intel_pmc_mux and expose the status > > > > > under it per port basis. > > > > > > > > > > Signed-off-by: Rajat Khandelwal > > > > > Reviewed-by: Heikki Krogerus > > > > Does not apply to my tree :( > > > I have pushed the patch on top of the Linus's tree. > > > Had a quick check with the USB Linux tree and seems like its a lot > > > behind? > > What branch did you use? > > > > Please use the usb-next branch of > > git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git, which as > > of right now, is at 6.4-rc4 + a bunch of USB-specific patches. > > I see. There is one commit additional in the usb-next tree: > ef0a3642b320 usb: typec: intel_pmc_mux: Convert to platform remove callback returning void One? I count a lot more: $ git log --oneline main..usb-next | wc -l 143 > Anyways, do you want me to re-work the patch for the usb-next branch? Given that I can not take the patch as-is, it's up to you to rebase it if you wish to have it accepted. Isn't this all covered in the Intel kernel developer training class? thanks, greg k-h