diff options
| author | Michael Walle <[email protected]> | 2020-03-06 22:44:31 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-12 10:02:00 +0100 |
| commit | a092ab25fdaa445b821f5959e458350696fce44c (patch) | |
| tree | 431e93b785812c748c02977bf355d438253d256d /tools/perf/scripts/python | |
| parent | 159381df1442f3c781ae3de05b5c6130fd4ee058 (diff) | |
tty: serial: fsl_lpuart: fix DMA mapping
Use the correct device to request the DMA mapping. Otherwise the IOMMU
doesn't get the mapping and it will generate a page fault.
The error messages look like:
[ 19.012140] arm-smmu 5000000.iommu: Unhandled context fault: fsr=0x402, iova=0xbbfff800, fsynr=0x3e0021, cbfrsynra=0x828, cb=9
[ 19.023593] arm-smmu 5000000.iommu: Unhandled context fault: fsr=0x402, iova=0xbbfff800, fsynr=0x3e0021, cbfrsynra=0x828, cb=9
This was tested on a custom board with a LS1028A SoC.
Signed-off-by: Michael Walle <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions