Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ACEBFC54EAA for ; Fri, 27 Jan 2023 00:16:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229448AbjA0AQB (ORCPT ); Thu, 26 Jan 2023 19:16:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229681AbjA0AP6 (ORCPT ); Thu, 26 Jan 2023 19:15:58 -0500 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 215547375B for ; Thu, 26 Jan 2023 16:15:25 -0800 (PST) Received: by mail-ej1-x62c.google.com with SMTP id qx13so9495241ejb.13 for ; Thu, 26 Jan 2023 16:15:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=m9gs0dujYLDK5Km9E6B0zUz0zQnJrvjlEkzrn/38rjE=; b=k+StCfZrhSYGIQk1shkv2rEzQETfPAXTVQlXYvtrSHn7IDgrZ5C+gvwr2djjaxHyIB sp0ahWWcmN22OMeZ9rqSuCVF7uWeulh/yJed6vw/BUC1T/fN1x2Z4VsES/HJgyTdoscA dxXUa2uc0n+Fm1zAqzu1T01X7FlO+xZwgW0Xc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=m9gs0dujYLDK5Km9E6B0zUz0zQnJrvjlEkzrn/38rjE=; b=Okw+iTrOOYlksyKOKaf4+896arJm/7gHemBCyHgX8qzP5ptmBvRXtFIH57Oj7JBJ3T CBXUhzcHBnUhAteEKdj8JLV4PKRG/1HaClb706LhwygRwIAtV1JFKQRMDWnlpS2ypR2f A4Nsp0kqU92TxJf7RQS/aGAbAkLIMmjc/NiPeNbUzVW5gTbolkSts2o0IMnz1wGAnFuM izm/EXf1YwDpXzXd4YgBFjE4ZBcZlXcWr3NNd4oGU30yHUWVdr3DqoN6ANR4HyJq8sjr b6aVNKwtqd7RjkKCqlP+RF3tvNG/4Zni3Xtrd6ElY+ODfosIMBHu9tcmb/AvGiHKnZY7 BQ8A== X-Gm-Message-State: AFqh2krKO+aVDRBgDbI1U/4OVmvIE1krfDYg/H6dRxYmVcVIbSgn7/4R xMxJ9PhCw3vrUdEHHprquAlU6E2s/szf2Wb9/vo= X-Google-Smtp-Source: AMrXdXuzP4KrLV0RcxMpTTLSfjXsKoWOsN7v2V6kbzAOSF9YYnN5esXRyJ8OvD+wEd50swqFurEYaw== X-Received: by 2002:a17:906:8618:b0:877:5772:25f with SMTP id o24-20020a170906861800b008775772025fmr35024748ejx.60.1674778499906; Thu, 26 Jan 2023 16:14:59 -0800 (PST) Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com. [209.85.221.41]) by smtp.gmail.com with ESMTPSA id b18-20020a170906709200b0087bd2ebe474sm27798ejk.208.2023.01.26.16.14.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 26 Jan 2023 16:14:57 -0800 (PST) Received: by mail-wr1-f41.google.com with SMTP id q5so3567895wrv.0 for ; Thu, 26 Jan 2023 16:14:56 -0800 (PST) X-Received: by 2002:a5d:6b51:0:b0:2bf:c5cc:e1d6 with SMTP id x17-20020a5d6b51000000b002bfc5cce1d6mr97439wrw.659.1674778496421; Thu, 26 Jan 2023 16:14:56 -0800 (PST) MIME-Version: 1.0 References: <20230124110057.1.I69cf3d56c97098287fe3a70084ee515098390b70@changeid> In-Reply-To: From: Doug Anderson Date: Thu, 26 Jan 2023 16:14:42 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] wifi: ath11k: Use platform_get_irq() to get the interrupt To: Luis Chamberlain Cc: ath11k@lists.infradead.org, linux-wireless@vger.kernel.org, Nick Kossifidis , Youghandhar Chintala , junyuu@chromium.org, Kalle Valo , Jiri Slaby , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Manikanta Pubbisetty , Paolo Abeni , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Hi, On Thu, Jan 26, 2023 at 11:01 AM Luis Chamberlain wrote: > > On Tue, Jan 24, 2023 at 11:01:00AM -0800, Douglas Anderson wrote: > > For the same reasons talked about in commit 9503a1fc123d ("ath9k: Use > > platform_get_irq() to get the interrupt"), we should be using > > platform_get_irq() in ath11k. Let's make the switch. > > The commit log is rather weak, it is better to re-state what the commit > log in 9503a1fc123d states as it is stronger, and very clear. Sure. Adding in the info that Jonas provided about what commit specifically broke me would also be nice. I'll try to send out a new CL with improved wording tomorrow. > To that end. Why not write an SmPL Coccinelle grammer patch for this > and put it on scripts/coccinelle/api ? Then hunt / convert things which > will use DT as well and where this is actually useful / likely buggy. That sounds like a great idea. ...but not something I'm going to do. I'm not personally on a mission to track down everyone hitting this particular issue. Hopefully those that were involved in commit a1a2b7125e10 ("of/platform: Drop static setup of IRQ resource from DT core") made some effort to hunt problems down and it seems like, maybe, the zeal robot was part of that effort? In my case, the ath11k bug hit me and that's what I need fixed. I tried to be a friendly citizen and also fixup ath5k because it was super obvious that it was the same issue and the same code. -Doug