Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp347431rdh; Thu, 23 Nov 2023 05:44:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IG0fz7q5Jngs480RPtnzRZQ98JzQ7n+ptAHtR9PEDp2LYlXhpx3Dw5F3Qm4sYqj7+9T1GvK X-Received: by 2002:a17:903:11c8:b0:1cf:59df:237 with SMTP id q8-20020a17090311c800b001cf59df0237mr6505306plh.43.1700747084867; Thu, 23 Nov 2023 05:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700747084; cv=none; d=google.com; s=arc-20160816; b=tjvd6vdDnkuCKHqJcyIo+onZ9EnchSATLPPlgsSrHffIYg+BBmakjbUu0QQE8gpCgL hj+Tt9KTFWydirKQitapGTwYH2EBBYZ+fljLnaJJZ05kQDb/ROZQQX4NkT8krfWTa/Qv 6evm6o0+mzKMajfRMel0mfdieKsB2c4w2CATi48hj/VpD89jmTlwDOu8q/o1MYw0JohP lThNAHtvKlj9ilNfeMOBAtEPKVCDl7P1nvPBTY5RcVpfpFFhUb7kx8dfWmNAkMMFko++ NmS1rp4tQkTYjBXMSOKWYiXFD0lSI8srZTIUfNuxn4chGZwI+H9ZGU145Tclgyb5yyfr KozQ== 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=AAc6vUonK/VNuKr66ICpjjyq8/ha1031cMtwHNAgrEg=; fh=6zfQWYT84uMUkZK3d7KMOA01GAZ2SsielBpfOQKQ1Y4=; b=qRw6BAN9X7sEp6hrtFe/WZ4yz/WRQeZw09iaIFj0MIG3LNNJ7bXBoHU4VYWKCL8mNs rMTL9WMtujKvKdDk0vkwIyyw6QupVZwc+FOgBTOPf0CSOTd0eFkQQ/vT4L11lre1QGWJ m/mZWsq71QhDP7IKgHymBZ41igoJIOWQR5lu2Rw5ple06f8YqzKQpXSIaXaGBMqLqn4E qHLqRE91Z1IaiJ56YewaNsl7YA3nCAlPet1HHjBJfFj8IE1KlG2EIgwSGv+uBOS6X+R0 OKlq2/SX4gI3ZRF6syVbSYyDU1KHwqfBJNYhFdiz4jw91xumNTMUhK8mvSpMBBXGbQsm qKpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O0iR60nv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id n3-20020a170903110300b001c774a25b3bsi1176744plh.233.2023.11.23.05.44.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Nov 2023 05:44:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O0iR60nv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 39DA1808854C; Thu, 23 Nov 2023 05:44:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345562AbjKWNo1 (ORCPT + 99 others); Thu, 23 Nov 2023 08:44:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345539AbjKWNoW (ORCPT ); Thu, 23 Nov 2023 08:44:22 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD460BA for ; Thu, 23 Nov 2023 05:44:28 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4A349C433C8; Thu, 23 Nov 2023 13:44:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700747068; bh=trYkMaqpWLmDB4oJKoY1+CJr1bJOUKmTS9Un+OPmKFg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O0iR60nvxcY0qV3BXuSd3E3+kk2rlD00vl2QflXaT3x8kIjB3SH99q8WMPevw7P5E bNTm+mpm2pxNjC9xPQbuB3x/IKG4XnGufxHxD0iPOVHnVf1qPad2Bt1F4ESuWukMIH zvQ8zPwGph1R53DSx9un/SlNOkzSAXkKp0xh0xk6rUGb65WCyv0z/P0dTdiq7zRwAb CTKBQ6oHAsCAFRSnhDdYtR8O5uU9e48wZ4zgyJezTH+vV3idEiozG5qFRTMOHj5wNQ G3Uu/R1HLqXLaR9+ZOOtCtOfDY5XW7AyRE0PCrCuk3pXAsCguNnFb4gx19DVMiSclI YxGgbMmcx8fpQ== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r6A0b-0004vo-0K; Thu, 23 Nov 2023 14:44:45 +0100 Date: Thu, 23 Nov 2023 14:44:45 +0100 From: Johan Hovold To: Krishna Kurapati PSSNV Cc: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, quic_pkondeti@quicinc.com, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, ahalaney@redhat.com, quic_shazhuss@quicinc.com Subject: Re: [PATCH v13 05/10] usb: dwc3: qcom: Refactor IRQ handling in QCOM Glue driver Message-ID: References: <04615205-e380-4719-aff1-f32c26004b14@quicinc.com> <6d4d959c-b155-471b-b13d-f6fda557cfe0@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 23 Nov 2023 05:44:42 -0800 (PST) On Thu, Nov 23, 2023 at 01:02:24AM +0530, Krishna Kurapati PSSNV wrote: > Pushed [1] to address all the queries and comments. I was initially > looking at only Femto phy targets, but when I looked at all targets in > general, seems there is one irq not defined in bindings. It is qubs2_phy > irq which is named as "hs_phy_irq" on QUSB target DT's (both downstream > and upstream). > > There is one actual "hs_phy_irq" as well but it is not used either by hs > validation team or sw team on any target. It was put in for debug > purpose only and doesn't have code to trigger it (even downstream never > implemented it I suppose) Atleast 4.4 onwards I saw the code but I > didn't see the actual hs_phy_irq being used. It was the qusb2_phy irq > named as hs_phy_irq. > > Even hw folks used it under the same name which is why they recommended > using it on qusb2 targets and dp/dm on femto targets. Ah, thanks for getting to the bottom of this. > On some targets the hs_phy_irq was given vector number of pwr_event irq > also like sm8550/sm8450 etc., I tried to address those as well in the > series. I can imagine that we have a number of such issues. > Also, per your question as to there are some qusb2 targets having dp/dm > interrupts defined... It is only for SDM845/SDM670/SM6350 which were > last in line of using qusb2 phy's and they started incorporating dp/dm > interrupts. Ok. > Also added missing interrupts for qcs404/ipq5332. Thanks. > I didn't add missing interrupts on sc8280xp because I see that current > interrupts present are working fine (I see ADB working and wakeup > working as well), but the interrupt vector numbers are off by "1" > between hs specifics and DT (both upstream and downstream). Will sort it > out and clean that target up later. Which interrupt numbers are off by one here? > [1]: https://patchwork.kernel.org/project/linux-arm-msm/list/?series=803412 I took a quick look at the series, and it looks like this will eventually clean things up a lot. We should probably define a generic order for the interrupts with the sometimes optional SS interrupts last. Side note: It looks like the threading in that series is broken. Consider using git-send-email for sending series as it takes care of things like that. Johan