Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the pre-allocated context table number in VT-d #1807

Closed
binbinwu1 opened this issue Nov 13, 2018 · 1 comment
Closed

Fix the pre-allocated context table number in VT-d #1807

binbinwu1 opened this issue Nov 13, 2018 · 1 comment
Assignees
Labels
area: hypervisor priority: high status: closed The issue been closed type: bug Something isn't working
Projects
Milestone

Comments

@binbinwu1
Copy link
Contributor

In current code, there is an out of range access to the array buses defined in struct struct context_table.

binbinwu1 added a commit to binbinwu1/acrn-hypervisor that referenced this issue Nov 13, 2018
In current code, there is an out of range access to the array buses defined in struct struct context_table.
This patch defines CONFIG_IOMMU_BUS_NUM to replace CONFIG_IOMMU_INIT_BUS_LIMIT, which is clearer.
CONFIG_IOMMU_BUS_NUM equals to (CONFIG_IOMMU_INIT_BUS_LIMIT + 1).

Tracked-On: projectacrn#1807
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
lijinxia pushed a commit that referenced this issue Nov 14, 2018
In current code, there is an out of range access to the array buses defined in struct struct context_table.
This patch defines CONFIG_IOMMU_BUS_NUM to replace CONFIG_IOMMU_INIT_BUS_LIMIT, which is clearer.
CONFIG_IOMMU_BUS_NUM equals to (CONFIG_IOMMU_INIT_BUS_LIMIT + 1).

Tracked-On: #1807
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
@binbinwu1
Copy link
Contributor Author

[External_System_ID] ACRN-1713

@hwang37 hwang37 added type: bug Something isn't working area: hypervisor priority: high status: closed The issue been closed labels Nov 16, 2018
@hwang37 hwang37 added this to the v0.5 milestone Nov 16, 2018
@NanlinXie NanlinXie added this to v0.5 in Roadmap Jan 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: hypervisor priority: high status: closed The issue been closed type: bug Something isn't working
Projects
Roadmap
  
v0.5
Development

No branches or pull requests

2 participants