diff options
author | David S. Miller <davem@davemloft.net> | 2016-11-14 16:20:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-14 16:20:54 -0500 |
commit | 193f5122878c5d4d30dbfc9128affe58bdd18206 (patch) | |
tree | 31491c40f00c8b5a9f0fe2d7fc2a1bbcf878578f /net/sctp | |
parent | 7020637bdf59589a403e01aca128bef643404317 (diff) | |
parent | 6df77862f63f389df3b1ad879738e04440d7385d (diff) |
Merge branch 'bnx2-kdump-fix'
Baoquan He says:
====================
bnx2: Wait for in-flight DMA to complete at probe stage
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.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions