Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754888AbcKNRfW (ORCPT ); Mon, 14 Nov 2016 12:35:22 -0500 Received: from mx1.molgen.mpg.de ([141.14.17.9]:50859 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753369AbcKNRfV (ORCPT ); Mon, 14 Nov 2016 12:35:21 -0500 Subject: Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage To: David Miller References: <1479013293-21001-1-git-send-email-bhe@redhat.com> <8010f40d-e7ca-8fd1-7317-f576289c112f@molgen.mpg.de> <20161114.122838.1039215178593568702.davem@davemloft.net> Cc: bhe@redhat.com, netdev@vger.kernel.org, michael.chan@broadcom.com, linux-kernel@vger.kernel.org, Dept-GELinuxNICDev@cavium.com, rasesh.mody@cavium.com, harish.patil@cavium.com, frank@undermydesk.org, jsr@dex.edzone.net, jroedel@suse.de, dyoung@redhat.com From: Paul Menzel Message-ID: Date: Mon, 14 Nov 2016 18:35:17 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161114.122838.1039215178593568702.davem@davemloft.net> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1393 Lines: 36 On 11/14/16 18:28, David Miller wrote: > From: Paul Menzel > Date: Mon, 14 Nov 2016 09:25:47 +0100 >> On 11/13/16 06:01, Baoquan He wrote: >>> This is v2 post. >>> >>> In commit 3e1be7a ("bnx2: Reset device during driver initialization"), >>> firmware requesting code was moved from open stage to probe stage. >>> The reason is in kdump kernel hardware iommu need device be reset in >>> driver probe stage, otherwise those in-flight DMA from 1st kernel >>> will continue going and look up into the newly created io-page tables. >>> However bnx2 chip resetting involves firmware requesting issue, that >>> need be done in open stage. >>> >>> Michale Chan suggested we can just wait for the old in-flight DMA to >>> complete at probe stage, then though without device resetting, we >>> don't need to worry the old in-flight DMA could continue looking up >>> the newly created io-page tables. >>> >>> v1->v2: >>> Michael suggested to wait for the in-flight DMA to complete at probe >>> stage. So give up the old method of trying to reset chip at probe >>> stage, take the new way accordingly. >> >> thank you for posting the updated series. Could you please resend a v3 >> with stable@vger.kernel.org added [1]? > > This is not the proper procedure for networking patches. Oh, I didn?t know that. Sorry for spreading false information. Kind regards, Paul