[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 3/6] exec/memattrs: Add iopmp source id to MemTxAttrs
|
From: |
Ethan Chen |
|
Subject: |
[PATCH 3/6] exec/memattrs: Add iopmp source id to MemTxAttrs |
|
Date: |
Wed, 25 Oct 2023 13:14:27 +0800 |
Signed-off-by: Ethan Chen <ethan84@andestech.com>
---
include/exec/memattrs.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h
index d04170aa27..e27b4fab00 100644
--- a/include/exec/memattrs.h
+++ b/include/exec/memattrs.h
@@ -64,6 +64,9 @@ typedef struct MemTxAttrs {
unsigned int target_tlb_bit0 : 1;
unsigned int target_tlb_bit1 : 1;
unsigned int target_tlb_bit2 : 1;
+
+ /* IOPMP support up to 65535 sources */
+ unsigned int iopmp_sid:16;
} MemTxAttrs;
/* Bus masters which don't specify any attributes will get this,
--
2.34.1
- [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, (continued)
- [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Ethan Chen, 2023/10/25
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Peter Xu, 2023/10/25
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Ethan Chen, 2023/10/26
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Peter Xu, 2023/10/27
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Peter Xu, 2023/10/27
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Ethan Chen, 2023/10/30
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Peter Xu, 2023/10/30
- Re: [PATCH 2/6] system/physmem: IOMMU: Invoke the translate_size function if it is implemented, Ethan Chen, 2023/10/31
[PATCH 3/6] exec/memattrs: Add iopmp source id to MemTxAttrs,
Ethan Chen <=
[PATCH 5/6] hw/dma: Add Andes ATCDMAC300 support, Ethan Chen, 2023/10/25
[PATCH 6/6] hw/riscv/virt: Add IOPMP support, Ethan Chen, 2023/10/25
Re: [PATCH 0/6] Support RISC-V IOPMP, Ethan Chen, 2023/10/26