Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp267857rwr; Wed, 19 Apr 2023 06:22:25 -0700 (PDT) X-Google-Smtp-Source: AKy350YIRNAaipVmrgegG6+LYZapgfN7aXTeQGbDFBAcc+7yFp6Mq0BPhSiWPBrhIIaSZYclWF3i X-Received: by 2002:a17:902:f98f:b0:19e:6760:305b with SMTP id ky15-20020a170902f98f00b0019e6760305bmr4918916plb.47.1681910545479; Wed, 19 Apr 2023 06:22:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681910545; cv=none; d=google.com; s=arc-20160816; b=HnU/LuoqxacPIveQHIa06Sn5R16TdusvcN5uEHPIrK+8MTGGjV7JMAFls4Bb1qkmx3 hb2CA/a8OXEZiP8NJQXbDwH3bSfhySHgmmkiqGhGgMyNdLIOqc8Jj5qtt5Uc3wGi+zoA nRB9d4NJNDuvh4VoBIlNtri0wPIcsL8Es0PfttTFtSpfp9V+vXgF9SVVr0Gzvi1oBtWw xoVX6jEqiL4Q0viV6F4CUskDEmvUbspy5tBlTthT9A0/Od8/h52GIByNlXgSwDrcNsHj oZ06VaP7tfQtzzlrOhay952BBIJDT5xSQHWyw/2n+Nx4qsSn2tcjvmBFoXnCy7vHuKCK 4m4g== 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=yDhWa61Hat9W80JFTbYomDiJS9VP4CBBwwpjl8UamU0=; b=fqmv97h939ZFh9pkZA/5/Xk3YkbE+SCkkHA7a/4oI9YPLhwwuexXyctQccOOD2HAS5 uzAwB8FqmW+1Bt9quEEZy0xS+AWwQXNZ5H82o/Pjh2rfA4VfSv6hEeLjPU2JWyBvDI7v GUbpVOQAIok/cRNls5wtj8mrOxLU+RZCu4sTFZohqJYgrMG94/Go7XsEtVvlOM4JqBdM qdvKwMJmL9n7QT7PeAdRwZRqnXS51PBp/3szTpTe8TDzJuufxa2SonA6wz0PR8oCATfs sQ1ik62GD6w9oZ+jtxJhC+qRVw6C2Bzeb7XGPTPjFsiw1TNTfYQKPd1vnMhzmi/A5Qte jOSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=tUGn84hv; 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 u3-20020a17090a410300b00246bdd45f1csi1851873pjf.33.2023.04.19.06.22.11; Wed, 19 Apr 2023 06:22:25 -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=tUGn84hv; 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 S233350AbjDSNNd (ORCPT + 99 others); Wed, 19 Apr 2023 09:13:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51828 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232976AbjDSNNc (ORCPT ); Wed, 19 Apr 2023 09:13:32 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E6B6CC3A; Wed, 19 Apr 2023 06:13: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 0976063A36; Wed, 19 Apr 2023 13:13:31 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16B95C433EF; Wed, 19 Apr 2023 13:13:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1681910010; bh=ZNNHYQW9RITA/JCRpVr8LXHZCHfLZxHZphc4AnU7FAc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tUGn84hvSl+SyKVBIN7bTAF31irVek91ZabWgwhVWBlUJ31XaGroEdQgVxnCJ0U9P 48Hk/7fxIvHja1J/UHhtNzGG5inatvNvN3Z+PTmS/alxgG0UindqN16P4UTA0ljdHj +JOYaiPVVhcEighGmCdj91fvKDeb587dieDahyIo= Date: Wed, 19 Apr 2023 15:13:28 +0200 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 v3] usb: typec: intel_pmc_mux: Expose IOM port status to debugfs Message-ID: <2023041928-step-salsa-3cba@gregkh> References: <20230419130345.1689915-1-rajat.khandelwal@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230419130345.1689915-1-rajat.khandelwal@linux.intel.com> X-Spam-Status: No, score=-7.1 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 Wed, Apr 19, 2023 at 06:33:45PM +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 > --- > > v3: Allocate the debugfs directory name for the platform device with > its ACPI dev name included {sigh} No, sorry, this is not correct. Also, you did not properly follow the rules that all Intel kernel developers are supposed to follow. Please consult your local kernel developer team and do so before sending any more kernel patches out. greg k-h