Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1749068rda; Tue, 24 Oct 2023 01:55:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFr3oOZywgeBchg3TZibqi8nL32W0t9OIz58svi/L1l20eHGmEI+O8I7PN58sdi3a8Lxtw1 X-Received: by 2002:a67:b742:0:b0:452:72ed:7020 with SMTP id l2-20020a67b742000000b0045272ed7020mr11737107vsh.32.1698137722317; Tue, 24 Oct 2023 01:55:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698137722; cv=none; d=google.com; s=arc-20160816; b=Rbo4LNoF67GVKZbSxkVhkDiboxY12pqaIBWFRCJeN+pmGeIwlco4vLnmhLV1SKgIgR Xfxaywne++oszgW05cXsFp4e7mk6xjhtBX4t4dumNGtNmiJQWF975XIaLdTJ2c6h836d gKjkKEqKiHWxa/dCrmopjNI5Rf6ewa6o3yEl044BKfIylrzArrfJRZnxmsWAK3SRuqgR JqK1A79zZAhwJwiwlU2DG3g6xoMDcPCSIm9iAdwF7oNLqH0d7YqTbZDtX1EQolR5Zbse aH3EfK10XkyXoeyaXGe5e3h0s7zZsLToRdo+j2prQIG3pmEWPgNgajbWt5fjpIpkxu7b 85VA== 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=W6ajn5ipoxlzEj1no8f6ESzNsQM/d79ox1pO89tPgJk=; fh=sNUhkT6crPsgRJaD79v/rKFhnE8idZbhhBBTL56EbqE=; b=K1oKKGVc/BGF4wLkQVBSuxmEYKi3+HN0y3YK5CNeH7XIX0WABNrexbJD06kRsR8kS+ PxNwVODD8krqMx+INPT2qF7kTbs95Mbp73DfHBcoB96sprxqp7p6HaDa5pimal0+KRlC hDBcLeicKnBRdWZNPr7NchiFYsGWbF2h68HvHvrYuDBLvcvs1zVGe/t1r85jnWpvD4b1 tbfOmQG+sSXLabSePM/0MXJml0ZAA7in+DQerMioQAXXji6TB4uh20JDh389Ws27fGaB xeYEdYAD5VqbTfhgADriPdgkpxPofsLx711RI41261xJzhmMBofOaf9KMwfPiwKd49WK KgWA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mY75BUOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id d24-20020a63f258000000b00578d5a135dasi8272516pgk.891.2023.10.24.01.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Oct 2023 01:55:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=mY75BUOx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 855F9804746D; Tue, 24 Oct 2023 01:55:18 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233869AbjJXIzF (ORCPT + 99 others); Tue, 24 Oct 2023 04:55:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234083AbjJXIyr (ORCPT ); Tue, 24 Oct 2023 04:54:47 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC76610E9; Tue, 24 Oct 2023 01:54:19 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 39O8Y6gO025163; Tue, 24 Oct 2023 08:54:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=W6ajn5ipoxlzEj1no8f6ESzNsQM/d79ox1pO89tPgJk=; b=mY75BUOxHVDp99Yn+QNle4PyXsbXIzy+EZEexKzuZSs6SLhxYGfT2KemFETwNWnnz876 jM78JtX3s7ZefCroPmjiwTjcKn/ab5n6rd3gFuHr7i4j1Zbqm8vcYI9ObM09GC4koxlb otU8QlKbLE75+jusrvzF1te0j5Zo0qJyotOx9Lmrb0TB8iheZAkLvBUU8qJ5A/WpKOpL idTV6T79sqZbfsT0Sz/Iwvy9N4JL3Nt6a51wdJRkxNZPAII5ls73R2WtTandfiidDkub WgVfABgz/JD9QQuCq81cbj7DywQfJ7Acaq+5Pzpm9E5/L1yE7wsWNB7l7zAGLPb00hwS yQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3tx5f58jnv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Oct 2023 08:54:08 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 39O8s7Ej005073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Oct 2023 08:54:07 GMT Received: from [10.249.18.70] (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.39; Tue, 24 Oct 2023 01:54:00 -0700 Message-ID: <196601cc-f8c6-4266-bfff-3fd69f0ab31c@quicinc.com> Date: Tue, 24 Oct 2023 14:23:57 +0530 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v13 05/10] usb: dwc3: qcom: Refactor IRQ handling in QCOM Glue driver Content-Language: en-US To: Johan Hovold CC: Thinh Nguyen , Greg Kroah-Hartman , Philipp Zabel , "Andy Gross" , Bjorn Andersson , "Konrad Dybcio" , Rob Herring , Krzysztof Kozlowski , Felipe Balbi , Wesley Cheng , , , , , , , , , References: <20231007154806.605-1-quic_kriskura@quicinc.com> <20231007154806.605-6-quic_kriskura@quicinc.com> <14fc724c-bc99-4b5d-9893-3e5eff8895f7@quicinc.com> From: Krishna Kurapati PSSNV In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: kbMudVGa0LNV5015FDNoHqNKOSEaamK2 X-Proofpoint-ORIG-GUID: kbMudVGa0LNV5015FDNoHqNKOSEaamK2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-24_07,2023-10-19_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 lowpriorityscore=0 phishscore=0 spamscore=0 impostorscore=0 adultscore=0 priorityscore=1501 mlxlogscore=999 bulkscore=0 suspectscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2310170001 definitions=main-2310240074 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS 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]); Tue, 24 Oct 2023 01:55:19 -0700 (PDT) On 10/24/2023 12:26 PM, Johan Hovold wrote: > > You need to provide this information so that we can determine what the > binding should look like. The implementation would also be simplified if > we don't have to add random hacks to it just because we don't know why > the vendor driver you refer does not use it currently on this particular > platform. > >> Also I plan on splitting the patchset into 4 parts (essentially 4 diff >> series): >> >> 1. Bindings update for hs_phy_irq's >> 2. DT patches for MP controller and platform specific files >> 3. Core driver update for supporting multiport >> 4. QCOM driver update for supporting wakeup/suspend/resume >> >> This is in accordance to [1] and that way qcom code won't block core >> driver changes from getting merged. Core driver changes are independent >> and are sufficient to get multiport working. > > No, you clearly did not understand [1] at all. And stop trying to game > the upstreaming process. Bindings and driver patches go together. The > devicetree changes can be sent separately in case of USB but only > *after* the first set has been merged. > > If the code had been in good shape from the start it would have been > merged by now. Just learn from your mistakes and next time things will > be smoother. > I agree that bindings should go first. My point is core bindings are already approved and merged and just wanted to check if core driver changes can be merged without glue blocking them. Core driver changes have nothing to do with interrupt handling in glue. If we get the core changes merged separately after fixing the nits mentioned, we can take up this interrupt handling in glue in parallel. I am just trying to see if we can start merging independent portions of code. I agree that my glue driver changes are still not upto mark. But that has nothing to do with core driver changes. Please let me know if that is appropriate because I think functionality intended by changes in core is independent of glue driver and glue bindings. If anything glue is partially dependent on core changes (like the MAX_PORTS macro etc., but not the other way around). Regards, Krishna,