diff options
author | Jan Beulich <jbeulich@suse.com> | 2013-03-18 17:13:32 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2013-03-18 17:13:32 +0100 |
commit | 2d8a2823f3d6d2e5fba832e0afe1fab8fbcb3694 (patch) | |
tree | 8ef8fd4b13c550613d41f4c93078b5da2cb71c5f /xen/arch/x86/hpet.c | |
parent | e9f3de0b9c06cc8449be04f655b2dd0e71420e17 (diff) | |
download | xen-2d8a2823f3d6d2e5fba832e0afe1fab8fbcb3694.tar.gz xen-2d8a2823f3d6d2e5fba832e0afe1fab8fbcb3694.tar.bz2 xen-2d8a2823f3d6d2e5fba832e0afe1fab8fbcb3694.zip |
x86/HPET: mask interrupt while changing affinity
While being unable to reproduce the "No irq handler for vector ..."
messages observed on other systems, the change done by 5dc3fd2 ('x86:
extend diagnostics for "No irq handler for vector" messages') appears
to point at the lack of masking - at least I can't see what else might
be wrong with the HPET MSI code that could trigger these warnings.
While at it, also adjust the message printed by aforementioned commit
to not pointlessly insert spaces - we don't need aligned tabular output
here.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Diffstat (limited to 'xen/arch/x86/hpet.c')
-rw-r--r-- | xen/arch/x86/hpet.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xen/arch/x86/hpet.c b/xen/arch/x86/hpet.c index 02926b5319..9b3d83b728 100644 --- a/xen/arch/x86/hpet.c +++ b/xen/arch/x86/hpet.c @@ -466,7 +466,9 @@ static void set_channel_irq_affinity(const struct hpet_event_channel *ch) ASSERT(!local_irq_is_enabled()); spin_lock(&desc->lock); + hpet_msi_mask(desc); hpet_msi_set_affinity(desc, cpumask_of(ch->cpu)); + hpet_msi_unmask(desc); spin_unlock(&desc->lock); } |