diff options
author | Alex Elder <elder@linaro.org> | 2021-03-18 21:59:29 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-19 02:20:34 +0300 |
commit | e5d4e96b44cf20330c970c3e30ea0a8c3a23feca (patch) | |
tree | da22178ff3813b1baab07f36004ddd65bb9d1280 /drivers/net/ipa/Kconfig | |
parent | 3c54b7be5d3677f37dfcd68afcc1d8e2b677a5b9 (diff) | |
download | linux-e5d4e96b44cf20330c970c3e30ea0a8c3a23feca.tar.xz |
net: ipa: fix table alignment requirement
We currently have a build-time check to ensure that the minimum DMA
allocation alignment satisfies the constraint that IPA filter and
route tables must point to rules that are 128-byte aligned.
But what's really important is that the actual allocated DMA memory
has that alignment, even if the minimum is smaller than that.
Remove the BUILD_BUG_ON() call checking against minimim DMA alignment
and instead verify at rutime that the allocated memory is properly
aligned.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ipa/Kconfig')
0 files changed, 0 insertions, 0 deletions