crosvm/aarch64
Elliot Berman 479cb9c89a aarch64: Fix size prop in swiotlb
Devicetree bindings for restricted-dma-pool say that *either* "size" or
"reg" property should be used (but do not allow for both).

  Each child node may either use a 'reg' property ... or a 'size'
  property ...

Presently, "size" property is added even when fixed swiotlb region is
used. Apply the "size" property only when using dynamically allocated
swiotlb.

BUG=b:244630071

Fixes: 653f62a4a3 ("aarch64: static swiotlb allocation")
Change-Id: I1c88c9be043133e698e1da9072e5353ad7419e27
Signed-off-by: Elliot Berman <quic_eberman@quicinc.com>
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4680283
Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
Commit-Queue: Frederick Mayle <fmayle@google.com>
2023-07-12 20:18:39 +00:00
..
src aarch64: Fix size prop in swiotlb 2023-07-12 20:18:39 +00:00
.build_test_skip build_test: misc options, improvements, amd bug fixes 2020-10-15 13:40:32 +00:00
Cargo.toml swap: expose Status interface to all variants 2023-05-04 12:30:09 +00:00