diff options
author | Ping-Ke Shih <pkshih@realtek.com> | 2024-06-11 10:19:00 +0800 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-06-17 10:37:36 +0800 |
commit | 1fd4b3fe52efd5ad1647966f619c10988e7a4457 (patch) | |
tree | 2283f9c059ca584ff8a1b65b59229150cacbef99 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8a00f7dfed62f1f74388bbd659e8d69d66886786 (diff) |
wifi: rtw89: pci: support 36-bit PCI DMA address
Modern platforms can install more than 4GB memory, so DMA address can
larger than 32 bits. If a platform doesn't enable IOMMU, kernel needs extra
works of swiotlb to help DMA that packets reside on memory over 4GB.
The DMA addressing capability of Realtek WiFi chips is 36 bits, so set
LSB 4 bits of high 32-bit address to register and TX/RX descriptor, which
below figure shows 3-level pointers in TX direction, and RX direction is
similar but 2-level pointers only.
+--------+
| | register to head of TX BD
+---|----+
| +---------+
+-----> | TX BD | (in memory)
+----|----+
| +---------+
+------> | TX WD | (in memory)
+----|----+
| +--------+
+------> | skb |
+--------+
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://msgid.link/20240611021901.26394-1-pkshih@realtek.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions