Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp3668892pxb; Tue, 7 Sep 2021 05:09:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxhVwzFpHTW+8KBPirREjoyStITcmWe6cniKJx7sUZiWCFeYTGwgOeSHiwWc2vxl5J7bEh X-Received: by 2002:a1c:1dcc:: with SMTP id d195mr3510887wmd.85.1631016552079; Tue, 07 Sep 2021 05:09:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631016552; cv=none; d=google.com; s=arc-20160816; b=gyq2k88nncmXThoJFsrI6lgK34b5uJ9F884rTc62a+YuiI5BBp5nN+tVe0H59FXyLq kD9IxAGA0jq55jmbmNdkcRlAG9nCBwIXazgxNDhUgSZlykEjp796HejVbb/zwET4UAC/ 8FWEAeKTE/FEeJmseMKI2BO8ATHk9+5ZG0DcbIJiN8giFo9EAWgPnjzDCHgav5Y4/rSX fkMfR795/fetcp+TNq4kZOOPHTivWho1xoUypQPiddaZzbueL8pOI3/c8ibq0f4KnUR1 wzHhUu7zFixypBnx5QDq7iE3P92TLolbv1ro/L5S/kNnMOrsTXbBqvKV2g8UzAGFLrJj 0pHA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:message-id; bh=BakFRHAWGTXGzvwIInZHxlLje2J6On5+Nz1OVQfNCDw=; b=B5zVT3agLoqE7QQJgSayWm8TYXY7A/y+O4xLV7f38/pvDIE067lfkRp5as8DAVanfE hpCM6MjOHmLvaygX2hSTOYVRm9NEMlS/NUhXJ22dY9YQ7BNsLPFlRX0r16tVP7OTNAp0 BGhjZx7z8faZwgL0uIfbp1hCpQCk4SbFsezAFmUeykyFqwULraqR4yNrRLCzOPx9PdPW 3aoM6eM8azvzRJdWmTIctYVOqP6m+9y4iiFGXOONHbPLdnPz/u5slJSkLhud4zuFAl0O IzM4b0SqR1lKihKOz0PCeKXlx+jhfEagj2N7IP7w9iQoAbzNpnGVw7emDTujdKnJ0VeD /h/g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eg4si10765472edb.102.2021.09.07.05.08.39; Tue, 07 Sep 2021 05:09:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343970AbhIGMIk (ORCPT + 99 others); Tue, 7 Sep 2021 08:08:40 -0400 Received: from paleale.coelho.fi ([176.9.41.70]:56098 "EHLO farmhouse.coelho.fi" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1343935AbhIGMIi (ORCPT ); Tue, 7 Sep 2021 08:08:38 -0400 Received: from 91-156-6-193.elisa-laajakaista.fi ([91.156.6.193] helo=[192.168.100.150]) by farmhouse.coelho.fi with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mNZsq-0007Zf-9p; Tue, 07 Sep 2021 15:07:25 +0300 Message-ID: From: Luca Coelho To: Kai-Heng Feng Cc: Kalle Valo , linux-wireless Date: Tue, 07 Sep 2021 15:07:22 +0300 In-Reply-To: References: <20210210115637.276676-1-luca@coelho.fi> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on farmhouse.coelho.fi X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, TVD_RCVD_IP autolearn=ham autolearn_force=no version=3.4.6 Subject: Re: [PATCH v2 05/12] iwlwifi: mvm: store PPAG enabled/disabled flag properly Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Tue, 2021-09-07 at 19:30 +0800, Kai-Heng Feng wrote: > Hi Luca, > > On Wed, Feb 10, 2021 at 8:00 PM Luca Coelho wrote: > > > > From: Luca Coelho > > > > When reading the PPAG table from ACPI, we should store everything in > > our fwrt structure, so it can be accessed later. But we had a local > > ppag_table variable in the function and were erroneously storing the > > enabled/disabled flag in it instead of storing it in the fwrt. Fix > > this by removing the local variable and storing everything directly in > > fwrt. > > This patch enables PPAG, but it breaks one of HP laptop with Intel 9560. > > dmesg with iwlwifi.debug=0x80 attached in the bug report: > https://bugzilla.kernel.org/show_bug.cgi?id=214343 Thanks for the report. There seems to be an incompatibility between the command the driver is sending to the FW and the version the FW supports. The commit you mentioned just enables sending this commands, which was mistakenly not sent before. Let's continue this discussion in bugzilla. I'll add more information there as I figure it out. -- Cheers, Luca.