aboutsummaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_output.py
diff options
context:
space:
mode:
authorGuo Ren (Alibaba DAMO Academy) <guoren@kernel.org>2025-09-13 00:12:33 -0400
committerAlistair Francis <alistair.francis@wdc.com>2025-10-03 13:15:14 +1000
commit15abfced803929f935bb59a0e1b02558bd8325c4 (patch)
treeca5b465eb2c465138892ebafbedb088527f74b50 /scripts/lib/kdoc/kdoc_output.py
parent81d1885dcc4424fec6761120f6e251eb3408fb8e (diff)
downloadqemu-15abfced803929f935bb59a0e1b02558bd8325c4.zip
qemu-15abfced803929f935bb59a0e1b02558bd8325c4.tar.gz
qemu-15abfced803929f935bb59a0e1b02558bd8325c4.tar.bz2
hw/riscv/riscv-iommu: Fixup PDT Nested Walk
Current implementation is wrong when iohgatp != bare. The RISC-V IOMMU specification has defined that the PDT is based on GPA, not SPA. So this patch fixes the problem, making PDT walk correctly when the G-stage table walk is enabled. Fixes: 0c54acb8243d ("hw/riscv: add RISC-V IOMMU base emulation") Cc: qemu-stable@nongnu.org Cc: Sebastien Boeuf <seb@rivosinc.com> Cc: Tomasz Jeznach <tjeznach@rivosinc.com> Reviewed-by: Weiwei Li <liwei1518@gmail.com> Reviewed-by: Nutty Liu <liujingqi@lanxincomputing.com> Signed-off-by: Guo Ren (Alibaba DAMO Academy) <guoren@kernel.org> Tested-by: Chen Pei <cp0613@linux.alibaba.com> Tested-by: Fangyu Yu <fangyu.yu@linux.alibaba.com> Message-ID: <20250913041233.972870-1-guoren@kernel.org> [ Changes by AF: - Add braces to if statements ] Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions