diff options
| author | Alex Elder <[email protected]> | 2021-03-18 13:59:27 -0500 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-03-18 16:20:34 -0700 |
| commit | d2fd2311de909a7f4e99b4bd11a19e6b671d6a6b (patch) | |
| tree | ff31a96bbba7d0b105edb1084ee4a234ee9d20c5 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 5108802abcb979cec1de97a77f4d704bc8fcd446 (diff) | |
net: ipa: fix assumptions about DMA address size
Some build time checks in ipa_table_validate_build() assume that a
DMA address is 64 bits wide. That is more restrictive than it has
to be. A route or filter table is 64 bits wide no matter what the
size of a DMA address is on the AP. The code actually uses a
pointer to __le64 to access table entries, and a fixed constant
IPA_TABLE_ENTRY_SIZE to describe the size of those entries.
Loosen up two checks so they still verify some requirements, but
such that they do not assume the size of a DMA address is 64 bits.
Signed-off-by: Alex Elder <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions