riscv-non-isa / riscv-iommu

RISC-V IOMMU Specification
https://jira.riscv.org/browse/RVG-55
Creative Commons Attribution 4.0 International
98 stars 17 forks source link

when bare no need to check PAS ? #442

Closed asdvvcc123 closed 4 weeks ago

asdvvcc123 commented 1 month ago

hi ,sir :

in the tran function , when bare , jump to step 8 ,but in step 8 ,no code to check PAS;

image image

thanks!

ved-rivos commented 1 month ago

in the tran function , when bare , jump to step 8 ,but in step 8 ,no code to check PAS;

The physical address that is the result of an address translation is provided to the IO bridge and further checking of validity of that PA is done by downstream components such as the PMA and PMP checkers.

asdvvcc123 commented 4 weeks ago

image Hi,Sir:

  1. i mean this parameter . the final PA no need to limit by this parameter when bare ?

such as PAS is 52 , but when bare still can output 56 bit in this function;

thanks!

ved-rivos commented 4 weeks ago

i mean this parameter . the final PA no need to limit by this parameter when bare ?

This parameter determines what the IOMMU itself can address. It does not affect the final PA (even when IOMMU is not in Bare mode).

asdvvcc123 commented 4 weeks ago

ok ,understand , thank !