From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfj4U-0000SM-V4 for qemu-devel@nongnu.org; Fri, 02 Sep 2016 03:39:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfj4N-0007CO-AB for qemu-devel@nongnu.org; Fri, 02 Sep 2016 03:39:29 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:48010 helo=mx0a-001b2d01.pphosted.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfj4N-0007CK-4B for qemu-devel@nongnu.org; Fri, 02 Sep 2016 03:39:23 -0400 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u827XUbJ136766 for ; Fri, 2 Sep 2016 03:39:22 -0400 Received: from e28smtp05.in.ibm.com (e28smtp05.in.ibm.com [125.16.236.5]) by mx0b-001b2d01.pphosted.com with ESMTP id 25753pgaa1-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 02 Sep 2016 03:39:22 -0400 Received: from localhost by e28smtp05.in.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Sep 2016 13:09:17 +0530 From: Nikunj A Dadhania In-Reply-To: <1472800761.9620.6.camel@kernel.crashing.org> References: <1472797976-24210-1-git-send-email-nikunj@linux.vnet.ibm.com> <1472800761.9620.6.camel@kernel.crashing.org> Date: Fri, 02 Sep 2016 13:09:05 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-Id: <87vayekaxy.fsf@abhimanyu.i-did-not-set--mail-host-address--so-tickle-me> Subject: Re: [Qemu-devel] [PATCH RFC 0/4] Enable MTTCG on PowerPC List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Benjamin Herrenschmidt , qemu-ppc@nongnu.org, alex.bennee@linaro.org, david@gibson.dropbear.id.au, rth@twiddle.net Cc: qemu-devel@nongnu.org Benjamin Herrenschmidt writes: > On Fri, 2016-09-02 at 12:02 +0530, Nikunj A Dadhania wrote: >> The series is a first attempt at enabling Multi-Threaded TCG on PowerPC. >> Changes that were needed to enable PowerPC are pretty simple; >>=20 >> Patch 01: Take a iothread lock during hcall, as hcall can generate io re= quests >> =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A002: For TCG, we were harcoding smt a= s 1, this gets rid of the limitation > > If we do this, we need to implement the shared SPRs properly Sure, will have a look at it. > and the inter-thread doorbells... You mean the below ? >> TODO >> =3D=3D=3D=3D >> Implement msgsndp instructions(door-bell), newer kernels enable it=C2=A0 >> depending on the PVR. I have been using following workaround to boot. >> https://github.com/nikunjad/qemu/commit/2c10052c5f93418a6b920e6ba3ce1813= fcf50bc4 Regards, Nikunj