Received: from eggs.gnu.org ([208.118.235.92]:37787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SzZeV-00005X-Kj for qemu-devel@nongnu.org; Thu, 09 Aug 2012 16:48:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SzZeU-00031F-4z for qemu-devel@nongnu.org; Thu, 09 Aug 2012 16:48:19 -0400 Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <5022EAE0.7040103@freescale.com> Date: Thu, 9 Aug 2012 22:48:09 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1340492856-21126-1-git-send-email-agraf@suse.de> <1340492856-21126-57-git-send-email-agraf@suse.de> <61CF2032-367D-4F3A-A845-BB92B35C334B@suse.de> <5022EAE0.7040103@freescale.com> Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH 56/72] PPC: e500: Use new MPIC dt format List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Scott Wood Cc: qemu-ppc Mailing List , qemu-devel qemu-devel On 09.08.2012, at 00:40, Scott Wood wrote: > On 08/08/2012 04:16 PM, Alexander Graf wrote: >>=20 >> On 24.06.2012, at 01:07, Alexander Graf wrote: >>=20 >>> Due to popular demand, we're updating the way we generate the MPIC >>> node and interrupt lines based on what the current state of art is. >>>=20 >>> Requested-by: Scott Wood >>> Signed-off-by: Alexander Graf >>=20 >> Hey Scott, >>=20 >> This patch breaks SMP for me. The reason for the breakage is that >> Linux does some things differently when it finds an fsl,mpic instead >> of a generic openpic. I have assembled logs between a working version >> (compatible openpic) and a broken version (compatible fsl,mpic) with >> guest and host debug turned on. >>=20 >> Maybe you have an idea what's going wrong. >=20 > IIRC QEMU is missing support for large vectors, which is probably > breaking IPIs. A recent change to Linux has it assuming it can use > large vectors when it sees fsl,mpic, as we're running out of vectors = (on > p4080 MSIs collided with the arbitrarily chosen timer vector, and on > t4240 the normal internal interrupts alone go beyond 256). >=20 > We need to get the enhancements from our internal KVM MPIC back into = QEMU. Ok, so the quick fix for 1.2 would be to revert to the old compatible = name. Can we leave the 4-field interrupt numbers or do we need to revert = the whole patch? Alex