Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1521908
| From | David Miller <davem@davemloft.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage |
| Date | 2016-11-14 18:30 +0100 |
| Message-ID | <sDteW-1wp-43@gated-at.bofh.it> (permalink) |
| References | <sCVdg-48t-7@gated-at.bofh.it> <sDkOm-4v8-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From: Paul Menzel <pmenzel@molgen.mpg.de>
Date: Mon, 14 Nov 2016 09:25:47 +0100
> Dear Baoquan,
>
> 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.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage Baoquan He <bhe@redhat.com> - 2016-11-13 06:10 +0100
[PATCH v2 1/2] Revert "bnx2: Reset device during driver initialization" Baoquan He <bhe@redhat.com> - 2016-11-13 06:10 +0100
[PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage Baoquan He <bhe@redhat.com> - 2016-11-13 06:10 +0100
Re: [PATCH v2 2/2] bnx2: Wait for in-flight DMA to complete at probe stage Michael Chan <michael.chan@broadcom.com> - 2016-11-13 20:10 +0100
Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage Paul Menzel <pmenzel@molgen.mpg.de> - 2016-11-14 09:30 +0100
Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage Baoquan He <bhe@redhat.com> - 2016-11-14 10:20 +0100
Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage David Miller <davem@davemloft.net> - 2016-11-14 18:30 +0100
Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage Paul Menzel <pmenzel@molgen.mpg.de> - 2016-11-14 18:40 +0100
Re: [PATCH v2 0/2] bnx2: Wait for in-flight DMA to complete at probe stage David Miller <davem@davemloft.net> - 2016-11-14 22:30 +0100
csiph-web