Any comments on the patchset? Thanks.
Regards,
Weidong
Han, Weidong wrote:
> Support source-id checking for interrupt remapping, and then
> isolates interrupts for guests/VMs with assigned devices.
>
> Eric raised pci rebalance issue with VT-d. Yes, it's an issue now.
> Linux needs to handle pci rebalance changes to DRHD scopes. It's
> tricky to support it. This patch just supports source-id for
> interrupt remapping, won't touch that.
>
> The patchset can be applied on linux-2.6-tip tree.
>
> v2 -> v3 changelog:
> As Ingo suggested, restructured some code and fixed some code
> style issues.
>
> v1 -> v2 changelog:
> Access PCI directly (read_pci_config_byte) to parse IOAPIC,
> instead of PCI related discovery, because PCI subsystem is not
> initialized at that time.
>
>
> Weidong Han (2):
> Intel-IOMMU, intr-remap: set the whole 128bits of irte when
> modify/free it
> Intel-IOMMU, intr-remap: source-id checking
>
> arch/x86/kernel/apic/io_apic.c | 6 ++
> drivers/pci/intr_remapping.c | 160
> +++++++++++++++++++++++++++++++++++---- drivers/pci/intr_remapping.h
> | 2 + include/linux/dmar.h | 11 +++
> 4 files changed, 162 insertions(+), 17 deletions(-)