From mboxrd@z Thu Jan 1 00:00:00 1970 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 13DA6C433F5 for ; Tue, 10 May 2022 11:59:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241026AbiEJMCy (ORCPT ); Tue, 10 May 2022 08:02:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43984 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241491AbiEJMCh (ORCPT ); Tue, 10 May 2022 08:02:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 316425A0B1 for ; Tue, 10 May 2022 04:58:23 -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 ams.source.kernel.org (Postfix) with ESMTPS id AF172B81CBA for ; Tue, 10 May 2022 11:58:21 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B5B3C385C2; Tue, 10 May 2022 11:58:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1652183900; bh=H2R9iVrf9zsJX4O82ilSVsfc1NAaIopb9YS1d+O0kho=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Yi0hkacQZ2W6bxxRgX1AnTfw9OnYptNs2tZnJBGGU0sMB9bGvsgb2/uBxJQliiBA3 5mKmyUxN/PF2aq/AEUg4FeTcTxyXlBTVs8Q5lP++e4KZTwHmu9zn2ehOhOgrfNikCi h7Vc8DeCnQ0llvin5s1DtaxuXzF5HPVCH6JX3LEE= Date: Tue, 10 May 2022 13:58:06 +0200 From: Greg Kroah-Hartman To: Marek =?iso-8859-1?Q?Beh=FAn?= Cc: Sasha Levin , stable@vger.kernel.org, pali@kernel.org, Josef Schlehofer , Lorenzo Pieralisi Subject: Re: [PATCH 4.14 1/2] PCI: aardvark: Clear all MSIs at setup Message-ID: References: <20220503205434.25275-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220503205434.25275-1-kabel@kernel.org> Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, May 03, 2022 at 10:54:33PM +0200, Marek Behún wrote: > From: Pali Rohár > > [ Upstream commit 7d8dc1f7cd007a7ce94c5b4c20d63a8b8d6d7751 ] > > We already clear all the other interrupts (ISR0, ISR1, HOST_CTRL_INT). > > Define a new macro PCIE_MSI_ALL_MASK and do the same clearing for MSIs, > to ensure that we don't start receiving spurious interrupts. > > Use this new mask in advk_pcie_handle_msi(); > > Link: https://lore.kernel.org/r/20211130172913.9727-5-kabel@kernel.org > Signed-off-by: Pali Rohár > Signed-off-by: Marek Behún > Signed-off-by: Lorenzo Pieralisi > Signed-off-by: Marek Behún > --- > drivers/pci/host/pci-aardvark.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) What about 4.19 and 5.4 for this and patch 2/2? I can't apply this to 4.14 without the newer kernels also having it, right? thanks, greg k-h