diff options
author | Will Deacon <will.deacon@arm.com> | 2019-04-23 11:59:36 +0100 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2019-04-23 12:23:15 +0100 |
commit | 3f54c447df34ff9efac7809a4a80fd3208efc619 (patch) | |
tree | 451b72a5be9c0ddc96d6de375709e7ae2f88e616 /security | |
parent | b2fc9b4b7ff4e6d237b0118e98573c9153363ecd (diff) |
iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
Disabling the SMMU when probing from within a kdump kernel so that all
incoming transactions are terminated can prevent the core of the crashed
kernel from being transferred off the machine if all I/O devices are
behind the SMMU.
Instead, continue to probe the SMMU after it is disabled so that we can
reinitialise it entirely and re-attach the DMA masters as they are reset.
Since the kdump kernel may not have drivers for all of the active DMA
masters, we suppress fault reporting to avoid spamming the console and
swamping the IRQ threads.
Reported-by: "Leizhen (ThunderTown)" <thunder.leizhen@huawei.com>
Tested-by: "Leizhen (ThunderTown)" <thunder.leizhen@huawei.com>
Tested-by: Bhupesh Sharma <bhsharma@redhat.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions