search for: ctrl_address

Displaying 2 results from an estimated 2 matches for "ctrl_address".

2013 Nov 26
6
[PATCH v5] x86: properly handle MSI-X unmask operation from guests
...:Totally handled inside hypervisor. v3:Change some logics of handling msi-x pending unmask operations. v4:Some changes related to coding style according to Andrew Cooper''s comments v5:Some changes according to Jan''s comments, including a) remove "valid" field, use "ctrl_address" itself to judge if there is a valid pending msix unmask operation b) Call msix_post_handler() when (p->state == STATE_IOREQ_NONE), which means it gets executed only upon completion of I/O From de586050612f2fbe6fbb46065c2a84069c52009e Mon Sep 17 00:00:00 2001 From: Feng Wu...
2013 Nov 22
10
[PATCH v4] x86: properly handle MSI-X unmask operation from guests
...@ static int msixtbl_write(struct vcpu *v, unsigned long address, /* exit to device model if address/data has been modified */ if ( test_and_clear_bit(nr_entry, &entry->table_flags) ) + { + v->arch.pending_msix_unmask.valid = 1; + v->arch.pending_msix_unmask.ctrl_address = address; goto out; + } virt = msixtbl_addr_to_virt(entry, address); if ( !virt ) @@ -528,3 +532,17 @@ void msixtbl_pt_cleanup(struct domain *d) spin_unlock(&d->arch.hvm_domain.msixtbl_list_lock); local_irq_restore(flags); } + +int msix_post_handler(struct...