We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v8:
- Changes based on [6/7]
v7:
- Compare all the field in IRTE to justify whether
. So the NDST is in a
proper state in vmx_vcpu_block().
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v6:
- Comments changes
- Define macro 'APIC_INVALID_DEST' for '0x'
v5
-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v7:
- Prevent the domain from pausing itself.
v6:
- Comments changes
- Rename vmx_pi_list_remove() to vmx_pi_unblock_vcpu()
v5:
- Remove a no-op wrapper
v4:
- Rename so
the interrupt
in posted way via software. The problem is if we deassign the
hooks while the vCPU is runnable in the runqueue with 'SN' set,
all the furture notificaton event will be suppressed. This patch
makes the hook permanently assigned.
Signed-off-by: Feng Wu <feng...@intel.com>
Re
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v7:
- Pass unsigned int to vmx_pi_desc_fixup()
v6:
- Carefully suppress '
is unplugged, and there might be vCPUs on its
list. Since the pCPU is offline, those vCPUs might not be woken
up again. [7/7] addresses it.
Feng Wu (7):
VMX: Permanently assign PI hook vmx_pi_switch_to()
VMX: Properly handle pi when all the assigned devices are removed
VMX: Make sure PI is in proper
Use one function to update both remapped IRTE and posted IRET.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v8:
- Newly added
xen/drivers/passthrough/vtd/intremap.c | 162 ++---
1 file changed, 66 insertions(+), 96 deletions(-)
diff --git a/xen/drivers/passt
Use type-safe structure assignment instead of memcpy()
Use sizeof(*iremap_entry).
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
---
v7:
- Remove a useless cleanup
v6:
- More descripion about the patch
xen/drivers/pas
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v8:
- Changes based on [6/7]
v7:
- Compare all the field in IRTE to justify whether
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v7:
- Compare all the field in IRTE to justify whether we can suppress the update
v6:
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v7:
- Compare all the field in IRTE to justify whether we can suppress the update
v6:
vCPUs might not be woken
up again. [6/6] addresses it.
Feng Wu (6):
VMX: Permanently assign PI hook vmx_pi_switch_to()
VMX: Properly handle pi when all the assigned devices are removed
VMX: Make sure PI is in proper state before install the hooks
VT-d: No need to set irq affinity
. So the NDST is in a
proper state in vmx_vcpu_block().
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v6:
- Comments changes
- Define macro 'APIC_INVALID_DEST' for '0x'
v5
-by: Feng Wu <feng...@intel.com>
---
v7:
- Prevent the domain from pausing itself.
v6:
- Comments changes
- Rename vmx_pi_list_remove() to vmx_pi_unblock_vcpu()
v5:
- Remove a no-op wrapper
v4:
- Rename some functions:
vmx_pi_remove_vcpu_from_blocking_list() -> vmx_pi_li
the interrupt
in posted way via software. The problem is if we deassign the
hooks while the vCPU is runnable in the runqueue with 'SN' set,
all the furture notificaton event will be suppressed. This patch
makes the hook permanently assigned.
Signed-off-by: Feng Wu <feng...@intel.com>
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v7:
- Pass unsigned int to vmx_pi_desc_fixup()
v6:
- Carefully suppress '
Use type-safe structure assignment instead of memcpy()
Use sizeof(*iremap_entry).
Signed-off-by: Feng Wu <feng...@intel.com>
---
v7:
- Remove a useless cleanup
v6:
- More descripion about the patch
xen/drivers/passthrough/vtd/intremap.c | 14 +++---
1 file changed, 7 insertions
is present.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v6:
- More descripion about the patch
xen/drivers/passthrough/vtd/intremap.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/xen/drivers/passthrough/vtd/intremap.c
b/xen/drivers/passthrough/vtd/intr
. So the NDST is in a
proper state in vmx_vcpu_block().
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v6:
- Comments changes
- Define macro 'APIC_INVALID_DEST' for '0x'
v5:
- Use 0x as the invalid value for NDST field.
v4:
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v6:
- Make pi_can_suppress_irte_update() a check-only function
- Introduce another fu
the interrupt
in posted way via software. The problem is if we deassign the
hooks while the vCPU is runnable in the runqueue with 'SN' set,
all the furture notificaton event will be suppressed. This patch
makes these two hooks statically assigned.
Signed-off-by: Feng Wu <feng...@intel.com>
-by: Feng Wu <feng...@intel.com>
---
v6:
- Comments changes
- Rename vmx_pi_list_remove() to vmx_pi_unblock_vcpu()
v5:
- Remove a no-op wrapper
v4:
- Rename some functions:
vmx_pi_remove_vcpu_from_blocking_list() -> vmx_pi_list_remove()
vmx_pi_blocking_cleanup() -> vmx_pi_
We should remove the vCPU from the per-cpu blocking list
if it is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v6:
- Use vmx_pi_unblock_vcpu() instead of vmx_pi_list_remove()
v5:
- Use vmx_pi_list_remove() instead of vmx_pi_list_cleanup()
v4:
- Call vmx_pi_list_c
/7] is a cleanup patch
5. When a pCPU is unplugged, and there might be vCPUs on its
list. Since the pCPU is offline, those vCPUs might not be woken
up again. [7/7] addresses it.
Feng Wu (7):
VMX: Permanently assign PI hook vmx_pi_switch_to()
VMX: Properly handle pi when all the assigned devices
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v6:
- Carefully suppress 'SN' to avoid missing notification event
during moving the vcpu to the new list
v5:
- Add some co
. So the NDST is in a
proper state in vmx_vcpu_block().
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v5:
- Use 0x as the invalid value for NDST field.
xen/arch/x86/hvm/vmx/vmcs.c | 13 +
xen/arch/x86/hvm/vmx
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v5:
- Only suppress affinity related IRTE updates for PI
xen/drivers/passthrough/vtd/intr
We should remove the vCPU from the per-cpu blocking list
if it is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v5:
- Use vmx_pi_list_remove() instead of vmx_pi_list_cleanup()
xen/arch/x86/hvm/vmx/vmx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x
-by: Feng Wu <feng...@intel.com>
---
v5:
- Remove a no-op wrapper
xen/arch/x86/hvm/vmx/vmx.c | 28
1 file changed, 24 insertions(+), 4 deletions(-)
diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c
index 623d5bc..d210516 100644
--- a/xen/arch/x86/h
Use type-safe structure assignment instead of memcpy()
Use sizeof(*iremap_entry)
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/drivers/passthrough/vtd/intremap.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/xen/drivers/passthrough/vtd/intrema
. When a pCPU is unplugged, and there might be vCPUs on its
list. Since the pCPU is offline, those vCPUs might not be woken
up again. [6/6] addresses it.
Feng Wu (7):
VMX: Statically assign two PI hooks
VMX: Properly handle pi when all the assigned devices are removed
VMX: Cleanup PI per-cpu
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v5:
- Add some comments to explain why it doesn't cause deadlock
for the ABBA deadlock scenario.
xen/arch/x86/hvm/vmx/
()
when trying to deliver the interrupt in posted way via software.
The problem is if we deassign the hooks while the vCPU is runnable
in the runqueue with 'SN' set, all the furture notificaton event
will be suppressed. This patch makes these two hooks statically
assigned.
Signed-off-by: Feng Wu
()
when trying to deliver the interrupt in posted way via software.
The problem is if we deassign the hooks while the vCPU is runnable
in the runqueue with 'SN' set, all the furture notificaton event
will be suppressed. This patch makes these two hooks statically
assigned.
Signed-off-by: Feng Wu
.
- No remaining vcpus of the domain in the per-cpu blocking list.
Basically, we pause the domain before zapping the PI hooks and
removing the vCPU from the blocking list, then unpause it after
that.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v4:
- Rename some fun
We should remove the vCPU from the per-cpu blocking list
if it is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v4:
- Call vmx_pi_list_cleanup() before vmx_destroy_vmcs()
xen/arch/x86/hvm/vmx/vmx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/h
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v4:
- Keep the construction of new_ire and only modify the hardware
IRTE when it is not in
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
v4:
- Remove the pointless check since we are in machine stop
context and no other cpus go down in parallel.
xen/arch/x86/h
. When a pCPU is unplugged, and there might be vCPUs on its
list. Since the pCPU is offline, those vCPUs might not be woken
up again. [6/6] addresses it.
Feng Wu (6):
VMX: Statically assign two PI hooks
VMX: Properly handle pi when all the assigned devices are removed
VMX: Cleanup PI per-cpu
the NDST is in a
proper state in vmx_vcpu_block().
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v4:
- This patch is previously called "Pause/Unpause the domain before/after
assigning PI hooks"
- Remove the pause/unpause method
-
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmcs.c | 1 +
xen/arch/x86/hvm/vmx/vmx.c| 54 ++
. When a pCPU is unplugged, and there might be vCPUs on its
list. Since the pCPU is offline, those vCPUs might not be woken
up again. [6/6] addresses it.
The previous version of this series is:
https://lists.xen.org/archives/html/xen-devel/2016-05/msg02592.html
Feng Wu (6):
VMX: Statically assign two
.
- No remaining vcpus of the domain in the per-cpu blocking list.
Basically, we pause the domain before zapping the PI hooks and
removing the vCPU from the blocking list, then unpause it after
that.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.
We should remove the vCPU from the per-cpu blocking list
if it is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c
index b869728..3
.
The problem is if we deassign the hooks while the vCPU is runnable
in the runqueue with 'SN' set, all the furture notificaton event
will be suppressed. This patch makes these two hooks statically
assigned.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 10 ++-
We don't set the affinity for posted format IRTE, since the
destination of these interrupts is vCPU and the vCPU affinity
is set during vCPU scheduling.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/drivers/passthrough/vtd/intremap.c | 62 +++---
1 file c
Pausing the domain can make sure the vCPU is not running and
hence calling the hooks simultaneously when deassigning the
PI hooks. This makes sure that all the appropriate state of
PI descriptor is actually set up for all vCPus before leaving
this function.
Signed-off-by: Feng Wu <f
The 'idx' can equal to the max number of vCPUs, fix it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/drivers/passthrough/io.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/xen/drivers/passthrough/io.c b/xen/drivers/passthrough/io.c
index 9e6b46c..66577b6
When cpu is offline, we need to move all the vcpus in its blocking
list to another online cpu, this patch handles it. And we need to
carefully handle the situation that calling to vmx_vcpu_block() and
cpu offline occur concurrently.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x
three PI hooks have not been assigned or not been excuted yet.
And during this interval, we are running in vmx_vcpu_block(), then
'NDST' may have different value.
This patch fix this concern case.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 15
to another blocking
list of an online pCPU, as well as, set the new cpu to the 'NDST'
field of PI descriptor.
Feng Wu (4):
VMX: Properly handle pi when all the assigned devices are removed
VMX: Cleanup PI per-cpu blocking list when vcpu is destroyed
VMX: Assign the right value to 'NDST
. This is achrived by always
making all the pi hooks available, so the pi descriptor is updated
during scheduling, which make it always up-to-data.
- No remaining vcpus of the domain in the per-cpu blocking list.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c
We should remove the vCPU from the per-cpu blocking list
if it is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/xen/arch/x86/hvm/vmx/vmx.c b/xen/arch/x86/hvm/vmx/vmx.c
index 65f5288..b
We need to make sure the bocking vcpu is not in any per-cpu blocking list
when the associated domain is going to be destroyed.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 32
1 file changed, 32 insertions(+)
diff --git a/xe
Make hook pi_do_resume always available, so when the last
assigned device is dettached from a domain, the blocked
vcpu can be removed from the per-cpu blocking list properly.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 4 ++--
1 file changed, 2 insertions
avaliable again, the status
of the pi descriptor is not true, we need to properly adjust
it.
Signed-off-by: Feng Wu <feng...@intel.com>
---
xen/arch/x86/hvm/vmx/vmx.c | 29 ++---
xen/include/asm-x86/hvm/vmx/vmcs.h | 1 +
2 files changed, 27 insertions(+), 3 del
in the per-cpu blocking.
This series fix the above issue.
I still have two opens, which needs comments/sugguestions from you guys.
- What shoule we do for the per-cpu blocking list during vcpu hotplug?
- What shoule we do for the per-cpu blocking list during pcpu hotplug?
Feng Wu (3):
VMX
. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html
Feng Wu (2):
vmx: VT-d posted-interrupt core logic handling
Add a command line parameter for VT-d posted-interrupts
docs/misc/xen-command-line.markdown | 9 +-
xen/arch
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
docs/misc/xen-c
: Yang Zhang <yang.z.zh...@intel.com>
Suggested-by: Dario Faggioli <dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: George Dunlap <geo
. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html
Feng Wu (2):
vmx: VT-d posted-interrupt core logic handling
Add a command line parameter for VT-d posted-interrupts
docs/misc/xen-command-line.markdown | 9 +-
xen/arch
: Yang Zhang <yang.z.zh...@intel.com>
Suggested-by: Dario Faggioli <dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@eu.citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v13:
- Define the blockin
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
docs/misc/xen-c
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
docs/misc/xen-c
. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html
Feng Wu (2):
vmx: VT-d posted-interrupt core logic handling
Add a command line parameter for VT-d posted-interrupts
docs/misc/xen-command-line.markdown | 9 +-
xen/arch
: Yang Zhang <yang.z.zh...@intel.com>
Suggested-by: Dario Faggioli <dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@eu.citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v12:
- Move the ASSERT to
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
docs/misc/xen-c
. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html
Feng Wu (2):
vmx: VT-d posted-interrupt core logic handling
Add a command line parameter for VT-d posted-interrupts
docs/misc/xen-command-line.markdown | 9 +-
xen/arch
: Yang Zhang <yang.z.zh...@intel.com>
Suggested-by: Dario Faggioli <dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@eu.citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v11:
- Add ASSERT() in vmx
. in the following URL:
http://www.intel.com/content/www/us/en/intelligent-systems/intel-technology/vt-directed-io-spec.html
Feng Wu (17):
r VT-d Posted-intterrupt (PI) design
ra vmx: Suppress posting interrupts when 'SN' is set
r vt-d: Add API to update IRTE when VT-d PI is used
a Update
Add the design doc for VT-d PI.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Jan Beulich <jbeul...@suse.com>
CC: Keir Fraser <k...@xen.org>
CC: Andrew Cooper <andrew.coop...@citrix.com>
CC: George Dunlap <george.dun...@eu.citrix.com>
Signed-off-by: Feng Wu <feng...@i
ooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
Acked-by: <kevin.t...@intel.com>
---
v10:
- Changed some comments to make them clear.
<jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
v8:
- Remove local variable 'bitmap_array_size'
- Use switch to replace if-else
v7:
- Remove some pointless debug printk
- Fix a logic error when assigning 'deliv
>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Kevin Tian <kevin.t...@intel.com>
---
v7:
- Retain 'cli' in the comments to make it more understandable.
- Register another not
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
v6:
- Change the default
This patch adds an API which is used to update the IRTE
for posted-interrupt when guest changes MSI/MSI-X information.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
: Yang Zhang <yang.z.zh...@intel.com>
Suggested-by: Dario Faggioli <dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@eu.citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v10:
- Check iommu_int
lt;dario.faggi...@citrix.com>
Suggested-by: George Dunlap <george.dun...@eu.citrix.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v9:
- Remove arch_vcpu_block_cancel() and arch_vcpu_wake_prepare()
- Add vmx_pi_state_change
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
v6:
- Change the default
Remove pointless casts.
CC: Yang Zhang <yang.z.zh...@intel.com>
CC: Kevin Tian <kevin.t...@intel.com>
Suggested-by: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
---
v7:
- R
' to control whether enable VT-d
posted-interrupt or not in the generic IOMMU code.
CC: Jan Beulich <jbeul...@suse.com>
CC: Kevin Tian <kevin.t...@intel.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk
gt;
CC: Kevin Tian <kevin.t...@intel.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v7:
- Remove pointless "if non iommu_intremap then disable iommu_intpost" log
Move some APIC related macros to apicdef.h, so they can be used
outside of vlapic.c.
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Jan Beulich &l
<jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
v8:
- Remove local variable 'bitmap_array_size'
- Use switch to replace if-else
v7:
- Remove some pointless debug printk
- Fix a logic error when assigning 'deliv
operand an input and output.
- [PATCH v9 15/17] vmx: VT-d posted-interrupt core logic handling
* Remove arch_vcpu_block_cancel() and arch_vcpu_wake_prepare().
* Add vmx_pi_state_change() and call it before VM Entry.
Feng Wu (17):
r VT-d Posted-intterrupt (PI) design
Add cmpxchg16b
This patch adds cmpxchg16b support for x86-64, so software
can perform 128-bit atomic write/read.
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v9:
- Make t
Add the design doc for VT-d PI.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Yang Zhang <yang.z.zh...@intel.com>
CC: Jan Beulich <jbeul...@suse.com>
CC: Keir Fraser <k...@xen.org>
CC: Andrew Cooper <andrew.coop...@citrix.com>
CC: George Dunlap <george.dun...@eu.c
Extend struct pi_desc according to VT-d Posted-Interrupts Spec.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-
Extend struct iremap_entry according to VT-d Posted-Interrupts Spec.
CC: Yang Zhang <yang.z.zh...@intel.com>
CC: Kevin Tian <kevin.t...@intel.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Kevin Tian <kevin.t...@intel.com>
---
v8:
- Make use of the __ui
>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Kevin Tian <kevin.t...@intel.com>
---
v7:
- Retain 'cli' in the comments to make it more understandable.
- Register another not
This patch initializes the VT-d Posted-interrupt Descriptor.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Ke
ooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.w...@oracle.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v8:
- Parenthesize '1 << POSTED_INTR_ON' and '1 << POSTED_INTR_SN'
v7:
- Coding
drew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v8:
- Some minor adjustment
v7:
- Remove __uint128_t cast
- Remove Kevin's Ack due to a bug fix for v6
- Reword some comments
- Setup posted IRTE from z
Add the utility to dump the posted format IRTE.
CC: Yang Zhang <yang.z.zh...@intel.com>
CC: Kevin Tian <kevin.t...@intel.com>
Signed-off-by: Feng Wu <feng...@intel.com>
---
v8:
- Coding style
v7:
- Remove the two stage loop
v6:
- Fix a typo
v4:
- Newly added
xen/drive
This patch adds some helper functions to manipulate the
Posted-Interrupts Descriptor.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <
>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Kevin Tian <kevin.t...@intel.com>
---
v7:
- Retain 'cli' in the comments to make it more understandable.
- Register another not
This patch initializes the VT-d Posted-interrupt Descriptor.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Keir Fraser <k...@xen.org>
CC: Jan Beulich <jbeul...@suse.com>
CC: Andrew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Acked-by: Ke
drew Cooper <andrew.coop...@citrix.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Jan Beulich <jbeul...@suse.com>
---
v8:
- Some minor adjustment
v7:
- Remove __uint128_t cast
- Remove Kevin's Ack due to a bug fix for v6
- Reword some comments
- Setup posted IRTE from z
Add the design doc for VT-d PI.
CC: Kevin Tian <kevin.t...@intel.com>
CC: Yang Zhang <yang.z.zh...@intel.com>
CC: Jan Beulich <jbeul...@suse.com>
CC: Keir Fraser <k...@xen.org>
CC: Andrew Cooper <andrew.coop...@citrix.com>
CC: George Dunlap <george.dun...@eu.c
Enable VT-d Posted-Interrupts and add a command line
parameter for it.
CC: Jan Beulich <jbeul...@suse.com>
Signed-off-by: Feng Wu <feng...@intel.com>
Reviewed-by: Kevin Tian <kevin.t...@intel.com>
Acked-by: Jan Beulich <jbeul...@suse.com>
---
v6:
- Change the default
1 - 100 of 227 matches
Mail list logo