[siemens/jailhouse] 0fffa4: x86: vtd: Do not overrun while counting IOMMU unit...

1 view
Skip to first unread message

GitHub

unread,
Jul 2, 2015, 3:48:00 AM7/2/15
to jailho...@googlegroups.com
Branch: refs/heads/next
Home: https://github.com/siemens/jailhouse
Commit: 0fffa4f24d44234609a0d33c621f7fd7f61df1b4
https://github.com/siemens/jailhouse/commit/0fffa4f24d44234609a0d33c621f7fd7f61df1b4
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-07-02 (Thu, 02 Jul 2015)

Changed paths:
M hypervisor/arch/x86/vtd.c

Log Message:
-----------
x86: vtd: Do not overrun while counting IOMMU units

Account for the case that we have JAILHOUSE_MAX_IOMMU_UNITS units, thus
no zeroed entry in platform_info.x86.iommu_base.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Commit: c0cf70bf7e600c9beb61e5a5968441892f99a3a6
https://github.com/siemens/jailhouse/commit/c0cf70bf7e600c9beb61e5a5968441892f99a3a6
Author: Jan Kiszka <jan.k...@siemens.com>
Date: 2015-07-02 (Thu, 02 Jul 2015)

Changed paths:
M hypervisor/arch/x86/Makefile
M hypervisor/arch/x86/include/asm/iommu.h
A hypervisor/arch/x86/iommu.c
M hypervisor/arch/x86/vtd.c

Log Message:
-----------
x86: Factor out iommu_count_units

Will be required for both IOMMU variants.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>


Compare: https://github.com/siemens/jailhouse/compare/c5e0c1479918...c0cf70bf7e60
Reply all
Reply to author
Forward
0 new messages