diff options
| author | Andrew Cooper <andrew.cooper3@citrix.com> | 2013-07-11 14:18:57 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-07-11 14:18:57 +0200 |
| commit | 8109c123702e2387b0781f3feaa4b53744464009 (patch) | |
| tree | ae326c2e44aff71e3c19956e3f994a7020f126bf /tools/lib/sys_string.h | |
| parent | 7f6b1086489c0382c3f8c6a2026a6d0eaa53ea97 (diff) | |
| download | xen-8109c123702e2387b0781f3feaa4b53744464009.tar.gz xen-8109c123702e2387b0781f3feaa4b53744464009.tar.bz2 xen-8109c123702e2387b0781f3feaa4b53744464009.zip | |
AMD/intremap: Prevent use of per-device vector maps until irq logic is fixed
XSA-36 changed the default vector map mode from global to per-device. This is
because a global vector map does not prevent one PCI device from impersonating
another and launching a DoS on the system.
However, the per-device vector map logic is broken for devices with multiple
MSI-X vectors, which can either result in a failed ASSERT() or misprogramming
of a guests interrupt remapping tables. The core problem is not trivial to
fix.
In an effort to get AMD systems back to a non-regressed state, introduce a new
type of vector map called per-device-global. This uses per-device vector maps
in the IOMMU, but uses a single used_vector map for the core IRQ logic.
This patch is intended to be removed as soon as the per-device logic is fixed
correctly.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
master commit: f0fe8227624d5c02715ed086867d12cd24f6ff47
master date: 2013-06-27 14:01:18 +0200
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions
