Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2085999lqt; Mon, 22 Apr 2024 00:24:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUZtZ3Ha2yyXZdyQMfKSmtyotDVWQWrNEUQnzodoOVUOmrAz9YHh34c6eBi8wmXFy+DNvBtxJd+rPBqeYm/vqY2MDDQz1OqRczvE6apNg== X-Google-Smtp-Source: AGHT+IHYbkQ0yezZt2MQqZFfxYge9Zu02E2eLoBZVhQXbjEwF8hLqCnZyDPgNgH9u511oosk4PUJ X-Received: by 2002:a05:6e02:1a28:b0:36b:2c7d:cd91 with SMTP id g8-20020a056e021a2800b0036b2c7dcd91mr12218476ile.25.1713770698659; Mon, 22 Apr 2024 00:24:58 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713770698; cv=pass; d=google.com; s=arc-20160816; b=H/UJe7MfS395PpGr9tZ42H232pZrukDkbkMe/BLSR9Kef5OW6ViD6mTRJkOFkMN+pX 0RBWaAl+ujnGSMJERrZfRSVfVeK167vO6rkWx0xAvt4iasnlhhEC6uoesylucBzmKow3 QPfueCFcNde0oETvdoj5oTNvSqI/Vl8swHxKyLAO6leaVLterdtmPH1plvj9CzL/mglD 4t1kcHFanPlyXr5q9/LQ2NzPBKkKoT68Q1qHMJ89KAXKWEAuCPFVwzC0cNpUzjHCrAL8 m9L0DBZ3dC8C/ydYi7z9rkw43UWMuJ8yE1t19En48LT3xloNlN+wwXq/JERg2aaWlhHx Vp2g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=KHzzUxBFbGTzcpQEJYXUuThUqIV0o8a1yuVmghyDVVY=; fh=VLbVE1n7vPHZQq0uptn7afmdw8ttg3SVcWHsL5/UBz0=; b=xxbmhbtj1oKklO4GaVpS/zzC0OwUMM0o7Tpz3boIkTuBfePKqpfGYgafvtFeKqW//H ImOnPaikTqObixEbt/qNt9x6TgZSOUUuzkYpmTBhGlG+QEEpozuamWIx6XuBX8ryBbDD S0uzn1Us2SklPXFPnQdDFTYGu9oeEnBmNKv/SlNKW64W5PkHYmb0DXwdw9QdPz6KX8QK gffwhC7rhaTOP4iVm5cigCBsr2CU+s2Zizy43NnPuEFTwresJYPtcWQpmU9Zte+n4Ar+ XT+4ogK+b5g2Vgtng88nnKi3V0src3zks0rR70RxtN8GBp7+bWigwUx8V2C9D2IkqXFM Osug==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HylXidWE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152865-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id z73-20020a63334c000000b005ff5808b8d4si1542537pgz.849.2024.04.22.00.24.58 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 00:24:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-152865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HylXidWE; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-152865-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-152865-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E993A282149 for ; Mon, 22 Apr 2024 07:24:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3111E53E38; Mon, 22 Apr 2024 07:20:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HylXidWE" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D3E953E1E; Mon, 22 Apr 2024 07:20:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713770455; cv=none; b=bGOF3R/Fl1FQN+8RchTypBzDS/vo9Z1nJYceUfI0E3CmWuva+mIWKhxJh/77R8ZIo9xKZwFJpBwRY2kXk4ppLhElCpctQWUHeiUM7eeLf0Btxs38F5rK6R+9UJQn87LSPw/SBGPwigISx4Qu1hx3Zl3JNwB/i/xmMGeFsbVHyi8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713770455; c=relaxed/simple; bh=5Wx60GfPJ2sh9dE/ENFkvlwGmudJCkp4Kppj2modhDI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=PRnXeUWNYeLMSMFXXcyzUpCuXkdQtNpF0lY2z+l/p2e9eCboB/yNs1RnzAQoWvZ64Behq23ibRIDJgQuJGWZeOoVXeYgwmGNw0jIZoIi1rvjbObp7AdhSBh4lD7hMtBgi1s7jzquCvuU8P7yTrjrAQW1f04IY1zXhIYNO1FFPXI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HylXidWE; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1662EC113CC; Mon, 22 Apr 2024 07:20:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713770455; bh=5Wx60GfPJ2sh9dE/ENFkvlwGmudJCkp4Kppj2modhDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=HylXidWEoeflBSPEM0fgVOufBAesuYmc30QjXO7+AtyTlwC5J8Cef6CUUBOJDT9rS /i9SqbSczTH7NY7Vg3iiFdnZiQ47j43SvtNHa6eLdiifWP0m9vo9igmls75I1hQrXJ i59fnBfcay7Y18XjtQrATCPpmH2rUtSnhQ/JZt27tlyOzG/k5JQPERHNy86lqg51wh 5SqzR4KpX6qL8P8pcfelmW6xRoNIlQmC63Zbbr8IAYXVOTRNZH7GWZZb95aWww+c2i ituAChk3DOvf2R2NPAX88fNPqv0RYkcHtSxh6dVIjie3U94C1VvRlkL37WukqM4m8f aEDDWJeDFNxLQ== Received: from johan by xi.lan with local (Exim 4.97.1) (envelope-from ) id 1rynyr-000000002h6-2Z5w; Mon, 22 Apr 2024 09:20:49 +0200 Date: Mon, 22 Apr 2024 09:20:49 +0200 From: Johan Hovold To: Krishna Kurapati Cc: Krzysztof Kozlowski , Rob Herring , Bjorn Andersson , Wesley Cheng , Konrad Dybcio , Greg Kroah-Hartman , Conor Dooley , Thinh Nguyen , Felipe Balbi , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ppratap@quicinc.com, quic_jackp@quicinc.com, Bjorn Andersson Subject: Re: [PATCH v21 7/9] usb: dwc3: qcom: Refactor IRQ handling in glue driver Message-ID: References: <20240420044901.884098-1-quic_kriskura@quicinc.com> <20240420044901.884098-8-quic_kriskura@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240420044901.884098-8-quic_kriskura@quicinc.com> On Sat, Apr 20, 2024 at 10:18:59AM +0530, Krishna Kurapati wrote: > On multiport supported controllers, each port has its own DP/DM and > SuperSpeed (if super speed capable) interrupts. As per the bindings, > their interrupt names differ from single-port ones by having a "_x" > added as suffix (x being the port number). Identify from the interrupt > names whether the controller is a multiport controller or not. > Refactor dwc3_qcom_setup_irq() call to parse multiportinterrupts along > with non-multiport ones accordingly. > > Signed-off-by: Krishna Kurapati > Reviewed-by: Bjorn Andersson Reviewed-by: Johan Hovold