Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp3225605rwd; Mon, 29 May 2023 07:26:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5DccPXKytjpbgcpmc/hhxTee8Vv0dc/5J/zmBGmr+4MvRBp5HDkzyHCMEYG/Y/9LsIUbG+ X-Received: by 2002:a05:6a20:7490:b0:10b:aeff:aa00 with SMTP id p16-20020a056a20749000b0010baeffaa00mr8773449pzd.28.1685370369128; Mon, 29 May 2023 07:26:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685370369; cv=none; d=google.com; s=arc-20160816; b=Earuws8m6xCmYIuWsLa/kFsBbgHeiCbJwhH9hqzGqXKt19s88NwJ+d/jPs4GpeVJC4 HHFJ+G+abSy6LlKlszwZtmAlTQPcLmDHH9cUMt/FIeYb12MrJnwYIL0x0GeHd8L3goKy 6KTEndxrvo+emHdgHpGV3XoLJnYAFTEbF3rj8yVhoMSoI/c8ReIv0x5lmWViWpYKI2ld sFnvkqs2zXJGupKLYCq3NlZb9IYrlAjGFFufu5qi2YBXJC5DlrKybkVAS0YsawXuCV0W lc6heExAkSo29v8tO3jWPMNUN1Q5TBs7mbjS+zDi/hotOJAg4HqHnsICuLOJMebENyjJ hVkw== 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=sMMM2FuKKnkZaneZg2u9MgC9FIS8LSsD+N9wbHaZjJA=; b=AF6sK9rKIvpxTBlrR7zL4WAPIkrrzJbdwFxmsKEEb8Xco4tyllbxU3TVtMO+iMOMlN vHnnYXPYvNZySfGWJzfsdp7YOxvutnSuPVWOhMhbeNy9Yp+QBD8+qURwgRvWW1ULfOwp xPNjmZtiaEpR+FsdTaKQkdyLJ+gR1EGjOXpEhebf0RpF8Bj0rrTynBovCU2aYiEyWzbP PHWQUa4PfcvaBB2EST/n7eV4FOeaUzA8DOHCNUkyXSP013nASGL1pJz4W6aOfttzJlYX lOfcfHPak7aIIUQKUd4rzUUOue8J1M4O7LC2tF/qSGC2tvJicntuiTsvCVN10A2Cpq9i pd6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YoPxVFPI; 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 k3-20020a637b43000000b0053b28418dfdsi6983638pgn.193.2023.05.29.07.25.54; Mon, 29 May 2023 07:26:09 -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=YoPxVFPI; 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 S229968AbjE2OSe (ORCPT + 99 others); Mon, 29 May 2023 10:18:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57548 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjE2OSd (ORCPT ); Mon, 29 May 2023 10:18:33 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DC69AD; Mon, 29 May 2023 07:18:31 -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 2A41961AC6; Mon, 29 May 2023 14:18:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 46A3CC433EF; Mon, 29 May 2023 14:18:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1685369910; bh=qtpoWinoDtek/CJTzXjRcfiz2zyP5qmWf/SqPGdUZTc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YoPxVFPIEo6GxI+yiXTOZT4gKuMclf8ipxJS5+hCEv+Pfbm748coE5vgIquHXmOi5 +2HCPaeqOM5ME69ep9iaffkMYQ6X4O4exABd6aV5vYtmnGit7axgLYDoUKlDwyHy9C w/vNh4RB/4DNAQ7jCeU/ZYP2RIGsiFVSuVv3399Q= Date: Mon, 29 May 2023 15:18:28 +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: <2023052917-juicy-calamity-4b35@gregkh> References: <20230524104754.4154013-1-rajat.khandelwal@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230524104754.4154013-1-rajat.khandelwal@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 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, 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 :(