Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934948AbcKMTCE (ORCPT ); Sun, 13 Nov 2016 14:02:04 -0500 Received: from mail-vk0-f43.google.com ([209.85.213.43]:33256 "EHLO mail-vk0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbcKMTCC (ORCPT ); Sun, 13 Nov 2016 14:02:02 -0500 MIME-Version: 1.0 In-Reply-To: <1479013293-21001-3-git-send-email-bhe@redhat.com> References: <1479013293-21001-1-git-send-email-bhe@redhat.com> <1479013293-21001-3-git-send-email-bhe@redhat.com> From: Michael Chan Date: Sun, 13 Nov 2016 11:02:01 -0800 Message-ID: Subject: Re: [PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage To: Baoquan He Cc: Netdev , David Miller , open list , Dept-GELinuxNICDev@cavium.com, rasesh.mody@cavium.com, harish.patil@cavium.com, frank@undermydesk.org, jsr@dex.edzone.net, pmenzel@molgen.mpg.de, jroedel@suse.de, dyoung@redhat.com Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 496 Lines: 10 On Sat, Nov 12, 2016 at 9:01 PM, Baoquan He wrote: > In-flight DMA from 1st kernel could continue going in kdump kernel. > New io-page table has been created before bnx2 does reset at open stage. > We have to wait for the in-flight DMA to complete to avoid it look up > into the newly created io-page table at probe stage. > > Suggested-by: Michael Chan > Signed-off-by: Baoquan He Acked-by: Michael Chan