Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp819927ybh; Tue, 21 Jul 2020 08:38:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzQ3COgxqFy8ua8R7e7FgOuqlJ3sK7K0Lf3sNBa2QjYYD/TflU30aBfBlSYHRPTN97XulKt X-Received: by 2002:a17:907:a92:: with SMTP id by18mr24845907ejc.116.1595345897642; Tue, 21 Jul 2020 08:38:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595345897; cv=none; d=google.com; s=arc-20160816; b=GF9YhAbrPQx8iJCTWTecsntyt2Fzd7mbgaVwg25bUiGcdOkZoLBrPBhglSEwn9C5eY wJoRchY7fHrePKX74GSapeFOJua1xnZrfyVg0V6UUdtlk83uNLqyq6drumta79dfc22p A6Lq0thCgjO2FhqidqBOua16fu8yH/l53NZm7X8sEzRcsz8FRF/puUDdhKUNUZmEqUMC vtk0m2weNSLfUX5jdJeu0JZ12abncejt771XPZuagp9hdxZISO4YmljKPjrVwSjcWOpf X1rITW23ZVNde3TZ7N3b/C30DvF3Pn7RYosdT2xseUogqIfQnkGfeacFanPeqbA+f6G5 nReA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=tWncqL+S0JRCizmsP5rH0IHxLZuIk79rLB6DbhdOm9I=; b=0zg1C0PyBq3T5HCXpKvWD8jw09eLqhH5JOosMWOLXtLjupxfxHUDeXlWKEhAp9DQuI uz9kyZAQBOQeiaCltGKPtu62xp7BFxc4LB9bf2U/wixFxisPmDzJx1L4mpBoLBr44aDn 6sYGTmdP9Gl7m/7Kvtu97JHRQX4HKB2Nqqk1iGL9JK0EBum4rMqkDpNgwT7JiCn/l0m6 Z5FZ7eO/eKByHXcaSXheVawCnXJ2KUbawNiBzt73H1wB3pqCW6YRflE26v74xkn/qIl6 MltvK202HoMC7mHpB52K3SjIL5FoIdLbB+9nmp7G0534pRr0UosbJ9sl4gnKA7/9uRkx PULA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=T3dGBYsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b6si12477009edr.578.2020.07.21.08.37.55; Tue, 21 Jul 2020 08:38:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=T3dGBYsT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729999AbgGUPhe (ORCPT + 99 others); Tue, 21 Jul 2020 11:37:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728468AbgGUPhe (ORCPT ); Tue, 21 Jul 2020 11:37:34 -0400 Received: from mail-vs1-xe42.google.com (mail-vs1-xe42.google.com [IPv6:2607:f8b0:4864:20::e42]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 37E39C0619DA for ; Tue, 21 Jul 2020 08:37:34 -0700 (PDT) Received: by mail-vs1-xe42.google.com with SMTP id x13so10594537vsx.13 for ; Tue, 21 Jul 2020 08:37:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tWncqL+S0JRCizmsP5rH0IHxLZuIk79rLB6DbhdOm9I=; b=T3dGBYsTOIpcHNQoowJYtKuYY0MZO/UhYOaNQu3Qc2UgihSHCcGkaq0xMl5uqUy7yh zTeMTnL/JkLkX4/67imzIFGXXVXP1WPuX15rGKq7zlPhzmmka7ZJIpqYlb3SRMTLQceT djxthG6Nuz+/gp17xBeTM3AVDGu0MVNlq8M9k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tWncqL+S0JRCizmsP5rH0IHxLZuIk79rLB6DbhdOm9I=; b=ofkpthvIxTLsrAcsQOdUiVAfa2oHCRKaMEeAwYNnYESGGKB3P6wJJGEszZamsibNVx CppNH871j342gJDi1jfMlmmuBPgpRzIxDd+c7V1RZVaOS6DdBfdu8XTfLJcwj8XkjK6Q HBbSnOExQUAUzATvMH3xLAhmbdpHZem0EObiA2kz0sZrgvrPivfqpMTF16OjG3TbD6mM qfR0OVDOKdonwY8MW6G/MaEojnp33tKhdVjKkWeEEA8v0OqcTIqdqds66jQ56eJS4it+ Dl4CCPhIEwayJTyL6TqhUlHbI6RWFR7fzh4PnbhydSnPgd3FQf1+J6pK8yoUf8m4HM6O A31g== X-Gm-Message-State: AOAM533C9q829Qg4sxx+ciiJqi9cFm1e3+0ZzhQ6jWNWfy8gn2uuftr3 MgIFDBSJcgVtTrsBaXvznbq6fm71rUQ= X-Received: by 2002:a67:1305:: with SMTP id 5mr20106778vst.52.1595345852871; Tue, 21 Jul 2020 08:37:32 -0700 (PDT) Received: from mail-ua1-f42.google.com (mail-ua1-f42.google.com. [209.85.222.42]) by smtp.gmail.com with ESMTPSA id e14sm2779975vsa.33.2020.07.21.08.37.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 21 Jul 2020 08:37:31 -0700 (PDT) Received: by mail-ua1-f42.google.com with SMTP id g4so6353828uaq.10 for ; Tue, 21 Jul 2020 08:37:31 -0700 (PDT) X-Received: by 2002:a9f:3dc6:: with SMTP id e6mr21464631uaj.104.1595345851301; Tue, 21 Jul 2020 08:37:31 -0700 (PDT) MIME-Version: 1.0 References: <1593193967-29897-1-git-send-email-pillair@codeaurora.org> <871rlcx8uv.fsf@codeaurora.org> In-Reply-To: From: Doug Anderson Date: Tue, 21 Jul 2020 08:37:19 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] ath10k: Add interrupt summary based CE processing To: Peter Oh Cc: Kalle Valo , Brian Norris , linux-wireless , Rakesh Pillai , ath10k , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Jul 20, 2020 at 6:32 PM Peter Oh wrote: > > I'll take my word back. > It's not this patch problem, but by others. > I have 2 extra patches before the 3 patches so my system looks like > > backports from ath.git 5.6-rc1 + linux kernel 4.4 (similar to OpenWrt) > On top of the working system, I cherry-picked these 5. > > #1. > ath10k: Avoid override CE5 configuration for QCA99X0 chipsets > ath.git commit 521fc37be3d879561ca5ab42d64719cf94116af0 > #2. > ath10k: Fix NULL pointer dereference in AHB device probe > wireless-drivers.git commit 1cfd3426ef989b83fa6176490a38777057e57f6c > #3. > ath10k: Add interrupt summary based CE processing > https://patchwork.kernel.org/patch/11628299/ > #4. > ath10k: Keep track of which interrupts fired, don't poll them > https://patchwork.kernel.org/patch/11654631/ > #5. > ath10k: Get rid of "per_ce_irq" hw param > https://patchwork.kernel.org/patch/11654633/ > > The error "[ 14.226184] ath10k_ahb a000000.wifi: failed to receive > initialized event from target: 80000000" is because of #1 and #2, > since this happens even after I reverted #3~#5. > Once I reverted all except #1 I got another crash. > > [ 11.179595] !#%&PageFault P<__ath10k_ce_rx_post_buf+0x14/0x98 > [ath10k_core]> L<0x4bc00> F<005> [0000000c] > [ 11.179643] Unable to handle kernel NULL pointer dereference at > virtual address 0000000c > [ 11.439207] [<7f15a69c>] (__ath10k_ce_rx_post_buf [ath10k_core]) > from [<7f15a874>] (ath10k_ce_rx_post_buf+0x3c/0x50 [ath10k_core]) > [ 11.447204] [<7f15a874>] (ath10k_ce_rx_post_buf [ath10k_core]) from > [<7f2889a4>] (ath10k_pci_diag_read_mem+0x104/0x2a8 [ath10k_pci]) > [ 11.458706] [<7f2889a4>] (ath10k_pci_diag_read_mem [ath10k_pci]) > from [<7f288b68>] (ath10k_pci_diag_read32+0x1c/0x2c [ath10k_pci]) > [ 11.470767] [<7f288b68>] (ath10k_pci_diag_read32 [ath10k_pci]) from > [<7f28abe8>] (ath10k_pci_init_config+0x2c/0x290 [ath10k_pci]) > [ 11.482314] [<7f28abe8>] (ath10k_pci_init_config [ath10k_pci]) from > [<7f28d160>] (ath10k_ahb_hif_power_up+0x7c/0xe8 [ath10k_pci]) > [ 11.494153] [<7f28d160>] (ath10k_ahb_hif_power_up [ath10k_pci]) > from [<7f135348>] (ath10k_core_register_work+0x84/0x8f8 [ath10k_core]) > [ 11.505766] [<7f135348>] (ath10k_core_register_work [ath10k_core]) > from [<8023b614>] (process_one_work+0x1c0/0x2f8) > [ 11.517594] [<8023b614>] (process_one_work) from [<8023c650>] > (worker_thread+0x280/0x3c0) > [ 11.527919] [<8023c650>] (worker_thread) from [<802408f8>] > (kthread+0xd8/0xe8) > [ 11.536247] [<802408f8>] (kthread) from [<80209ce8>] > (ret_from_fork+0x14/0x2c) > > When I revert #1 eventually, my system is back to working. > So I'm blaming the #1 and #2 could have potential bugs or require > ath.git branch up-to-date. You caught me just as I was signing off yesterday evening, but just to confirm that you are now fairly certain that none of the 3 patches I was involved with[*] are related to your problems. If that's wrong and there's an action I need to take on the patches then let me know! :-) [*] The three patches I was involved with: ath10k: Add interrupt summary based CE processing https://patchwork.kernel.org/patch/11628299/ ath10k: Keep track of which interrupts fired, don't poll them https://patchwork.kernel.org/patch/11654631/ ath10k: Get rid of "per_ce_irq" hw param https://patchwork.kernel.org/patch/11654633/ -Doug