Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp614378pxb; Tue, 5 Apr 2022 16:01:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXI3E5nmSyWKpVq9z6bSFTh0/xOj0p0VvLv8M2O4yCFfUp+NEsx3/vZjIo+R4qOasA+wbu X-Received: by 2002:a17:90a:1197:b0:1bf:65ff:f542 with SMTP id e23-20020a17090a119700b001bf65fff542mr6576271pja.5.1649199677456; Tue, 05 Apr 2022 16:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649199677; cv=none; d=google.com; s=arc-20160816; b=hlAZllg7vTVVHhZawfXHtXMyZhnCWMuobDMv49+VujTTRP5q+gFZXtrEyLd3pDB5Ii KHKxbQN08opMzC8uZVAqn7KwyK27BytcN3IC+QwEZaR3e1vkbP2JF0RBHC1EL4hz+XAL nQsz863Lxp0A0Gj0qBeGYhZl0V6YiLzbj60N4OnXq9wDCdc2supSEGW2N1m+B82fkvfz QN5JfN4605Z5zrTxIMBn/nEokVfh12VbvgnR/C1sJrmuB+JCa5Jp3XJQfjhFm57RkpY4 QxDfV7K/gt3qy7uxiggIgdCkV7ZHAI3ulnTSNpif0ZFPZfsJBrzM8THaE/O8EwEOMN7/ YS7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=sn6Ss1zxIGcQEhoTF4V2FBwwaPYsCOc/dTJCE6QEBd8=; b=Q0Qr8GPBN/1EyAUMLbqa4BiFPLw51c4GenAhH3dvfk/suvgPgAHDQvr4k8HNgicFxS ESF34nsj2a0qg2POoT5IeohzuJ7VlJroc73dg/MU9UG0D6gJMsgSDujVqOWUrlRJScW5 ZN9VcM4yXK2DrU1M2JoJ/o6DcEen5wuyGZ1KHPX39qvT+0wFW6E9n7yvGuh80eCDD+t7 rL92jZVV1KjGFtjQr02aRqcQ2/CjDv/a0rFBQA0uRGAyhH4lxvXVRoae7Hx1qwZ3LNYt czGwB09E5QH25v+QwwFTUZwXARiPIvlYFbw6ige7MDYSjmpisoKMZmtQkNy3V2xnREGc OjFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bgWyYH93; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id p7-20020a634f47000000b003816043f118si14658023pgl.781.2022.04.05.16.01.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 16:01:17 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bgWyYH93; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 289B2EF78F; Tue, 5 Apr 2022 15:44:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S245088AbiDEMri (ORCPT + 99 others); Tue, 5 Apr 2022 08:47:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243481AbiDEJI6 (ORCPT ); Tue, 5 Apr 2022 05:08:58 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7401DB6E46; Tue, 5 Apr 2022 01:58:10 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id F273361562; Tue, 5 Apr 2022 08:58:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C5A0C385A0; Tue, 5 Apr 2022 08:58:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1649149089; bh=lre0W96EM7EblNvH8Ij16KE8LDCrkMoFLKWR5QotJtk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=bgWyYH93HFSIEFlKBR2q8hp9wOdXhBMGkUdurBi02YRWkK6ohvyT2/utOfE6VkdMc G9aMqYeuihTqz4z6oNS/FqBX+ej9YLRZqyFNEssRfKumy6A2CtNE2VZ8K2sxWxuXm5 EAXbpy7EIHYfoaHblYljwqot+dn2AlwGa4pdfUzE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Johannes Berg , Luca Coelho , Sasha Levin Subject: [PATCH 5.16 0588/1017] iwlwifi: pcie: fix SW error MSI-X mapping Date: Tue, 5 Apr 2022 09:25:01 +0200 Message-Id: <20220405070411.733093280@linuxfoundation.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220405070354.155796697@linuxfoundation.org> References: <20220405070354.155796697@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 From: Johannes Berg [ Upstream commit 7b9f485091a5755f6e0a7dd3725f3b312768ecd0 ] We need to also update the IVAR location, since we've shifted the bit. Signed-off-by: Johannes Berg Fixes: 571836a02c7b ("iwlwifi: pcie: update sw error interrupt for BZ family") Signed-off-by: Luca Coelho Link: https://lore.kernel.org/r/iwlwifi.20220304131517.bcfb28484e50.I921df6b5134785d7eeb0c934e4a43157c582fa79@changeid Signed-off-by: Luca Coelho Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/pcie/trans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c index 3b38c426575b..39cd7dfea78f 100644 --- a/drivers/net/wireless/intel/iwlwifi/pcie/trans.c +++ b/drivers/net/wireless/intel/iwlwifi/pcie/trans.c @@ -1084,7 +1084,7 @@ static const struct iwl_causes_list causes_list_pre_bz[] = { }; static const struct iwl_causes_list causes_list_bz[] = { - {MSIX_HW_INT_CAUSES_REG_SW_ERR_BZ, CSR_MSIX_HW_INT_MASK_AD, 0x29}, + {MSIX_HW_INT_CAUSES_REG_SW_ERR_BZ, CSR_MSIX_HW_INT_MASK_AD, 0x15}, }; static void iwl_pcie_map_list(struct iwl_trans *trans, -- 2.34.1