Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2803447rwp; Fri, 14 Jul 2023 11:34:08 -0700 (PDT) X-Google-Smtp-Source: APBJJlHCqgKsb05hoD967X2MWY4Q36LgxJcXcg6QTwcahNM0d/w9fKPqwfF0K3m00pI7hkEs7H0y X-Received: by 2002:a17:906:4e56:b0:992:91ce:4508 with SMTP id g22-20020a1709064e5600b0099291ce4508mr4942660ejw.53.1689359648174; Fri, 14 Jul 2023 11:34:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689359648; cv=none; d=google.com; s=arc-20160816; b=kLS5dq/4HAJoUUcV6soJRmO96qNgm+/wjVpV+S2mboZ/nfSqYn5o9A7EloNM2m2eRl XzVPLCgImwkDXOFpN1l5hB6klpcIb+3ZJntDQkOgXL8V5ckpxyI0UE7fB1IktyZdqXmN wJ2dS35QfsT45sKF93ghtWn/fon01b4B6bxxNGcWKkT7vucp+5SsyKZ7xlHiFSKUECjp /B5LlvT+SVP2616PxFx344T79wdEIrujAMCun785ToqYe15pR1YnozG/aUsUKQIxcgBG qbngQ9yyAjWTGJzbTRG4Yqnlp/qD8TEcQC2m8ygeNzAmrCPYfVPhv2jsAFUi7IvuGO2k KmDQ== 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=hk6SCuBB1VWMrgz6HbTiscgnqy5TrgcBcKbev/PC7PQ=; fh=uUrwkjNazeOCQa3zWciZY4TZLIXZEIt9vP9Ocq7vqpE=; b=mwReX0bjMtrosVgB57sK244Epb0GuITGhSzrGABP+ehg0Vb+cqMvx9rLoXRw29t84R MddYBycKIOeb0Vg0csYzVmgxqiTHJfQMuwNkweDoJInCDp6P/aCcm0CLj+IJCA14CriJ 8IsjotWykGTzjePUfue47U9vtasZ4Aws4IJJ0xmWqp9dNz9xXSSoH0C8atxAHmN90ofU hNKh3WRtg5SDWnsks5IfNZnwHYzY4weuOvRxaGpAJFdo44j1o0m6kLkp2NANtW/G+Aa/ LGy6LaLBW6tlJt7f/CZjIRDGWvUprp8rfQcuBos0JyWeatNTNeIB41tTV3glKzkVX5U0 +G7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Y+XMxaFZ; 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=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p1-20020a1709060dc100b0099027b40d82si8579861eji.243.2023.07.14.11.33.39; Fri, 14 Jul 2023 11:34:08 -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=@redhat.com header.s=mimecast20190719 header.b=Y+XMxaFZ; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235605AbjGNSSH (ORCPT + 99 others); Fri, 14 Jul 2023 14:18:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233200AbjGNSSF (ORCPT ); Fri, 14 Jul 2023 14:18:05 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 384AB109 for ; Fri, 14 Jul 2023 11:17:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689358637; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hk6SCuBB1VWMrgz6HbTiscgnqy5TrgcBcKbev/PC7PQ=; b=Y+XMxaFZbrg6WWbUD9gZdTMcGyDKqgLTauibT4xpiVlNt7s9AM5lEqkRguK9VrFRy4MzMU iaWKANtSIuJ0br+oL53paZFu7MikycgOxfIZmMLpvJaP7THFYljtx8x2V2BsQ3QP0MHJm4 6VKoVzv2n7rpwBa+zEuaebkfPySi2LI= Received: from mail-qt1-f198.google.com (mail-qt1-f198.google.com [209.85.160.198]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-402-gWIR6kE6PzGpKslMoK-u0Q-1; Fri, 14 Jul 2023 14:17:16 -0400 X-MC-Unique: gWIR6kE6PzGpKslMoK-u0Q-1 Received: by mail-qt1-f198.google.com with SMTP id d75a77b69052e-403c1294d95so24486861cf.0 for ; Fri, 14 Jul 2023 11:17:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689358635; x=1691950635; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=hk6SCuBB1VWMrgz6HbTiscgnqy5TrgcBcKbev/PC7PQ=; b=mEdJjv2lXCECry1C31dLkT1Mi0PK/Bj6S7Tt7BT+Oxsdde3READALJBTl51aDEY3i2 KlGoAl0JaGipok4OD1jbvcGZQuIQ5CKmlLRs/c+uXXhOklZctIwW1GSYEc5XUDxdiHyh 0WJSRl09D0qcdWEad8i5GY4880WJYwLWG6AfYel564cfAIyolXqE97ZHuR7OtlqWVnjp wujN5kh6UVlIcsNKER9w0NerPJrUTw151xl5gZUhkw0hPZJYeT1C7M6vtlJOnDIt3eVs Kt11KU+bZW42Crfb+EhI1rGgLnEFdafRe68Hexjh0V6m6PL5UDoPBg6pi1V2KsRjywuT PG3A== X-Gm-Message-State: ABy/qLaFQwAOBC1oLi/yXhnhmTxUl/gmsKKsuVTVkM4h3KBxS65dLTMm lgnv0nSFrP/WUAHtHmHAC4o64RIF0lzK+OzdVZD1Cec2oH6y/EVns4pOgWcOfMjS7FnnLlmPhLH 2UAk0+IA8ISHXoLz626CvgfO8rpMyr/Pk X-Received: by 2002:ac8:598b:0:b0:403:b969:a80c with SMTP id e11-20020ac8598b000000b00403b969a80cmr8280840qte.23.1689358635436; Fri, 14 Jul 2023 11:17:15 -0700 (PDT) X-Received: by 2002:ac8:598b:0:b0:403:b969:a80c with SMTP id e11-20020ac8598b000000b00403b969a80cmr8280820qte.23.1689358635128; Fri, 14 Jul 2023 11:17:15 -0700 (PDT) Received: from fedora ([2600:1700:1ff0:d0e0::17]) by smtp.gmail.com with ESMTPSA id a21-20020aed2795000000b004039e9199cesm4144405qtd.60.2023.07.14.11.17.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Jul 2023 11:17:14 -0700 (PDT) Date: Fri, 14 Jul 2023 13:17:12 -0500 From: Andrew Halaney To: Ninad Naik Cc: andersson@kernel.org, agross@kernel.org, konrad.dybcio@linaro.org, linux-arm-msm@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, quic_ppareek@quicinc.com, psodagud@quicinc.com, quic_kprasan@quicinc.com Subject: Re: [PATCH] pinctrl: qcom: Add intr_target_width to define intr_target_bit field width Message-ID: 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: <20230714061010.15817-1-quic_ninanaik@quicinc.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 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? 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". Thanks, Andrew