diff options
| author | Alexey Kardashevskiy <[email protected]> | 2017-02-21 13:38:54 +1100 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2017-03-20 19:02:49 +1100 |
| commit | 81d5fe1a3b1acfaadc7921d08609e097c6345d7f (patch) | |
| tree | 20e9a36c6a99e1c1049a812ae538ae45b7800eaf /tools/perf/scripts/python | |
| parent | b3a7864c6feb0fb30bc2cd3726570746bec41697 (diff) | |
powerpc/powernv: Fix it_ops::get() callback to return in cpu endian
The iommu_table_ops callbacks are declared CPU endian as they take and
return "unsigned long"; underlying hardware tables are big-endian.
However get() was missing be64_to_cpu(), this adds the missing conversion.
The only caller of this is crash dump at arch/powerpc/kernel/iommu.c,
iommu_table_clear() which only compares TCE to zero so this change
should not cause behavioral change.
Signed-off-by: Alexey Kardashevskiy <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Acked-by: Gavin Shan <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions