Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2931423rwp; Fri, 14 Jul 2023 13:56:57 -0700 (PDT) X-Google-Smtp-Source: APBJJlFF9FZd7giGf7tX0E5afafm1/po7BD95ohh1CLan6hEcLPDIXZlGsdXBoyRyBDUHlgFYzb7 X-Received: by 2002:a05:6a00:8d6:b0:666:ad0c:c0f4 with SMTP id s22-20020a056a0008d600b00666ad0cc0f4mr7307567pfu.23.1689368217198; Fri, 14 Jul 2023 13:56:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689368217; cv=none; d=google.com; s=arc-20160816; b=pjlw6e+li2O1UvzykzjVd9G1RxHC9dYK2rthWsVn5z3v4j4oPvP3rnLZVwuFuutdUv Pze2d85Te66Yxk32+KYx9iHsM2jA+zKoDUNaMt7XVa1HfTfoUEyO47WghNK9pLLM/vJs XOXN7Boan1JW7+Bla95vOz7hgUzO+usn+EpA2VSnOVnUVcD8lx/Dvxnv4CpWkeKSVjxL bP7zZjo5kOCAj8GAK11Xi6VyUSnHlEDKBd9S+Sap6qMtThJD/mK3iTRZIzqriX60cAfw H0uLblmslN+k+2H6Kcge/P+KM4i3g4Zeo9dUn26YXY0wfj070/JkfxJK9WNQbHYhX7kN oXEw== 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=Byv2b8DHUY8Pg0x3vwdkLZFZAN2z6M/pt/aiIbaK5KM=; fh=4YUL2Hh3IY7H+/RhBxmJtLzQ4YMtZcHTfrMYP/D87rM=; b=0xOBOMY4b7o+9xSXG+WrxOELxDMaBADrTEtrrmh9MLJkCjldDqHLQev+8g2Aamogof QgSinhlWpF3TINIgAzEuxFavHvzuxhbz3R3Mz3+R4+pKzEPlvs0ns3dIFgDqamlfPP0b FMk4WQN997mhd93RqL11he6Emz3s3Jk12Iovqf9fB5gNTfqZGnUCISnxqLRhAWabqtg+ tA84NPIEcwluFNsj8MmqF4FUCpXcCkiHZhbLqAOXaiqXR7X3j4+ok+9pcwsbtO3b8Z8D 49EQ2oGa2PKUXlPL6L36b5j5f1c+FOZYDJX+EA+5MS3RID4XCpja/zHizCOYZrZHFhLW GElg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=fM7g2OeY; 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=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q19-20020a056a00089300b00659af029c39si7887435pfj.90.2023.07.14.13.56.44; Fri, 14 Jul 2023 13:56:57 -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=@quicinc.com header.s=qcppdkim1 header.b=fM7g2OeY; 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=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236440AbjGNUvc (ORCPT + 99 others); Fri, 14 Jul 2023 16:51:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229915AbjGNUvb (ORCPT ); Fri, 14 Jul 2023 16:51:31 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5522690; Fri, 14 Jul 2023 13:51:30 -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 36EKWbpa025942; Fri, 14 Jul 2023 20:51:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=Byv2b8DHUY8Pg0x3vwdkLZFZAN2z6M/pt/aiIbaK5KM=; b=fM7g2OeY5Icx11Oc+PIVB74a4ZoZL4B5JVzChPXhPnMxbHIOX3j8CcUnO5nYYvRWh/Ca HACqmRguZNjEFRh41vJhlpG2S7oBSx00n2mzfG3aDGyXHyiuLPeRNuzMap5teggQc4hh EQyTj//k+eUvXvKGqucOuM1ZJkIq9qJbcizjkL+t5TsgeKwOdXlIUvZEfMm2X5jSLl+o squ1+XcIHsiArOqz/sq1ONdHQnfXshKQ98LblZKqtW/piv9x+NsAQAbWLBNmhXB33RGG LJTjTVzSshu6tt6RqaDPfjC+cvA8UAarCRH7cfRfiOO6eC6u7/iRPbraG5obR9BlBCN2 gw== Received: from nalasppmta03.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rtpujts1p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 20:51:25 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA03.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 36EKpOlD009539 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 14 Jul 2023 20:51:24 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 14 Jul 2023 13:51:24 -0700 Date: Fri, 14 Jul 2023 13:51:22 -0700 From: Bjorn Andersson To: Andrew Halaney CC: Ninad Naik , , , , , , , , , Subject: Re: [PATCH] pinctrl: qcom: Add intr_target_width to define intr_target_bit field width Message-ID: <20230714205122.GA3975260@hu-bjorande-lv.qualcomm.com> References: <20230714061010.15817-1-quic_ninanaik@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01c.na.qualcomm.com (10.47.97.35) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: pMaGXtSjkbIe0I8_so-7wedfoB9uCr88 X-Proofpoint-ORIG-GUID: pMaGXtSjkbIe0I8_so-7wedfoB9uCr88 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-14_10,2023-07-13_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 phishscore=0 mlxscore=0 priorityscore=1501 adultscore=0 clxscore=1015 suspectscore=0 lowpriorityscore=0 spamscore=0 bulkscore=0 mlxlogscore=999 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2307140191 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 Fri, Jul 14, 2023 at 01:17:12PM -0500, Andrew Halaney wrote: > On Fri, Jul 14, 2023 at 11:40:09AM +0530, Ninad Naik wrote: > > SA8775 and newer target have added support for an increased number of > > interrupt targets. To implement this change, the intr_target field, which > > is used to configure the interrupt target in the interrupt configuration > > register is increased from 3 bits to 4 bits. > > > > In accordance to these updates, a new intr_target_width member is > > introduced in msm_pingroup structure. This member stores the value of > > width of intr_target field in the interrupt configuration register. This > > value is used to dynamically calculate and generate mask for setting the > > intr_target field. By default, this mask is set to 3 bit wide, to ensure > > backward compatibility with the older targets. > > > > Signed-off-by: Ninad Naik > > Thanks for the patch. Naive question (without really reading the code), > but what practical affect does this have? > > i.e. does this change behavior of how IRQs were handled before this > patch vs after on this platform? > Yes, the affected field denotes where interrupts should be routed and without this patch not all the bits where updated. > To shed some light on the question, there's a GPIO IRQ for the ethernet > phy on this platform that is purposely _not_ described because it didn't > ever trigger, resulting in the interface staying down. Things work > fine without the IRQ (the driver goes into polling mode). > The explanation I got was very brief and attributed it to a "hardware issue". > > I'm wondering if I should re-evaluate that, and if this was the > "hardware issue". > It's plausible that your interrupt fired elsewhere. Definitely worth giving that scenario another test run. Regards, Bjorn