From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WuhUZ-00079z-6G for qemu-devel@nongnu.org; Wed, 11 Jun 2014 08:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WuhUS-00011V-VP for qemu-devel@nongnu.org; Wed, 11 Jun 2014 08:18:59 -0400 Message-ID: <5398492B.7060305@suse.de> Date: Wed, 11 Jun 2014 14:18:51 +0200 From: Alexander Graf MIME-Version: 1.0 References: <1402476573-18404-1-git-send-email-aik@ozlabs.ru> In-Reply-To: <1402476573-18404-1-git-send-email-aik@ozlabs.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2] spapr_pci: Advertise MSI quota List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexey Kardashevskiy Cc: qemu-ppc@nongnu.org, Badari Pulavarty , qemu-devel@nongnu.org On 06/11/2014 10:49 AM, Alexey Kardashevskiy wrote: > From: Badari Pulavarty > > Hotplug of multiple disks fails due to MSI vector quota check. > Number of MSI vectors default to 8 allowing only 4 devices. > This happens on RHEL6.5 guest. RHEL7 and SLES11 guests fallback > to INTX. > > One way to workaround the issue is to increase total MSIs, > so that MSI quota check allows us to hotplug multiple disks. > > This sets the quota to the maximum number of interupts XICS has > which is 1024 now (XICS_IRQS). This moves XICS_IRQS from spapr.c > to xics.h for wider visibility. > > Signed-off-by: Badari Pulavarty > [aik: put XICS_IRQS=1024 instead of 64i, fixed endianness and size] > Signed-off-by: Alexey Kardashevskiy Thanks, applied to ppc-next. Alex