Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4261533rwd; Tue, 30 May 2023 02:53:40 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vxtOrihuAKRt6H2YfYuoLDCKC9pN4pmF/bi+4jnV6cDnQMgKpl5O2T+weaoWw+PWWnUTj X-Received: by 2002:a17:902:8f89:b0:19f:87b5:1873 with SMTP id z9-20020a1709028f8900b0019f87b51873mr1830690plo.62.1685440419766; Tue, 30 May 2023 02:53:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685440419; cv=none; d=google.com; s=arc-20160816; b=LiioCrNdkJBbTgI53xgWT6sJcAw2XwQYR4MnLrtoE/ZiC/Tj3ByRekmqf4m1i1ExWa VuFRQZm9vvV6H3kU7Wr7MollgevLAEnOcEfUr0gDUlC51zEV9I9OPrRrueDHNONq5tyQ RqiWwzlqqLAlKKzB7kF/7qPrkECmJxf65VFaX/+gLmglDPeSs468B5CFrc+Ig6bhV4k4 2JhFeyrGwx5h3ApDQ74gXpiBkvKgHNa3g4TRHZ9HUfR2CVK9dGljfNG3UFGdGg320vyf hMSr8qCQD/7e2I1c2S2ib72sNHuaBQd3whkprakktNy9Cv3tc8bUVeBE77vMVjWtswdO j94A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=3ckYj4cSZnQk9S/q4LoCZNhEtpmi9ONFZYxoANi2gzc=; b=Az9XHMI6oRVyyMrEmvK+gc8YMQFEvY24zTR3gvasyMSouyumX3SchQFHSfDSd+2FWu G5cRPFcRG17VAG/PV5wW60F1dW1/KV7OqfdK8LTNNTA447izdRGIYgiNj6F/LpTY6zLq zuMj5suTbc8c2zhqMVKQmdz+uW2aPE9rjGTNPV5KPJMECCh1BqIhvQt8W3O3n8TPJo/R CgmS4RF+Xg2I8HbvRPu4BOxTs63mAPy1iGAn4pwBXUB0L/S/qMHs5HE07anYsMYZc54+ RQT+HA5kaW5HKTjYBYpltP5ZwuTWK5RD3tuxzCxtEV6xde/ss48S/0cYyHqvGmbdqavP 0epw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=MxBgq9Fm; 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=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w11-20020a170902d70b00b001b06e17610fsi232703ply.321.2023.05.30.02.53.25; Tue, 30 May 2023 02:53:39 -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=@intel.com header.s=Intel header.b=MxBgq9Fm; 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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229475AbjE3Jgg (ORCPT + 99 others); Tue, 30 May 2023 05:36:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50026 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbjE3JgV (ORCPT ); Tue, 30 May 2023 05:36:21 -0400 Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BE2B093; Tue, 30 May 2023 02:36:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1685439380; x=1716975380; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=3ckYj4cSZnQk9S/q4LoCZNhEtpmi9ONFZYxoANi2gzc=; b=MxBgq9Fms3EcgnCxqVt3/RqSY/bbuxeoPcf4f2QA54/fvy7Cgag4nWE5 GTQwZ9AGNIyX5D+oU3ZqmdYQ+/8zEdTQzxY4TssTy8nt6NWyNnPJdn8L6 UL/rgahajokQBY7EDHtN6p8OBngigOOFRmdr2rer3OiltJaBRfzYf/XOf mQsLGQ84rp2dwfFbbvtLLQeryoY+j6Cv6YK8LllTGfCL/qloS9Q2ujBQY DcDHnmZumMjCCzwfaVppBGSBbhbzDiBKD0SdH6/pf7itECggJjKzC8u9I xIA97sZumxI0yZHTEop7wVFC7a2lBFa+eccUU9kpuy1aoTzS/dFIWcNZ0 A==; X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="344367308" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="344367308" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 02:36:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10725"; a="683884089" X-IronPort-AV: E=Sophos;i="6.00,203,1681196400"; d="scan'208";a="683884089" Received: from rajatkha-mobl.gar.corp.intel.com (HELO [10.67.146.41]) ([10.67.146.41]) by orsmga006-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2023 02:36:18 -0700 Message-ID: <2da06c06-6617-bd02-f20a-a5ea7f9ae0b4@linux.intel.com> Date: Tue, 30 May 2023 15:06:15 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v5] usb: typec: intel_pmc_mux: Expose IOM port status to debugfs Content-Language: en-US To: Greg KH Cc: heikki.krogerus@linux.intel.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org 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> From: Rajat Khandelwal In-Reply-To: <2023053049-dexterous-flatware-df04@gregkh> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 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 Anyways, do you want me to re-work the patch for the usb-next branch? Thanks Rajat > > thanks, > > greg k-h