From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: [PATCH 2/2] Device assignment: Fix MSI IRQ affinity setting Date: Thu, 24 May 2012 17:47:30 -0300 Message-ID: <4FBE9E62.5050004@siemens.com> References: <1337878924-39069-1-git-send-email-richard@nod.at> <1337878924-39069-2-git-send-email-richard@nod.at> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org, avi@redhat.com, mtosatti@redhat.com, tglx@linutronix.de To: Richard Weinberger Return-path: Received: from david.siemens.de ([192.35.17.14]:34095 "EHLO david.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758841Ab2EXUrq (ORCPT ); Thu, 24 May 2012 16:47:46 -0400 In-Reply-To: <1337878924-39069-2-git-send-email-richard@nod.at> Sender: kvm-owner@vger.kernel.org List-ID: On 2012-05-24 14:02, Richard Weinberger wrote: > MSI interrupt affinity setting on the guest ended always up on vcpu0, > no matter what. > IOW writes to /proc/irq//smp_affinity are irgnored. > This patch fixes the MSI IRQ routing and avoids the utter madness of > tearing down and setting up the interrupt completely when this changes. The device assignment code will soon be significantly refactored in this regard (MSI/MSI-X handling will use generic QEMU services instead of open-coding their own bugs). Also for this reason, it would be very good to explain in the commit log what was broken or missing so that affinities were not respected. Thanks, Jan -- Siemens AG, Corporate Technology, CT T DE IT 1 Corporate Competence Center Embedded Linux