Received: from [140.186.70.92] (port=35498 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ONvb0-00071C-9p for qemu-devel@nongnu.org; Sun, 13 Jun 2010 18:24:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ONvaz-0007gv-2o for qemu-devel@nongnu.org; Sun, 13 Jun 2010 18:24:02 -0400 Received: from cantor.suse.de ([195.135.220.2]:41692 helo=mx1.suse.de) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ONvay-0007gc-UA for qemu-devel@nongnu.org; Sun, 13 Jun 2010 18:24:01 -0400 Subject: Re: [Qemu-devel] [PATCH 15/35] tcg-s390: Query instruction extensions that are installed. Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <20100613164412.GA17992@volta.aurel32.net> Date: Mon, 14 Jun 2010 00:23:55 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <75975F50-EEFE-43B8-B481-BC204E1817DC@suse.de> References: <1275678883-7082-1-git-send-email-rth@twiddle.net> <1275678883-7082-16-git-send-email-rth@twiddle.net> <20100610102815.GM26968@volta.aurel32.net> <4C1164ED.7020403@twiddle.net> <20100611080634.GP26968@volta.aurel32.net> <4C12368D.3050807@twiddle.net> <20100613104940.GA30341@volta.aurel32.net> <4C150120.2050600@twiddle.net> <20100613164412.GA17992@volta.aurel32.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Aurelien Jarno Cc: qemu-devel@nongnu.org, Richard Henderson On 13.06.2010, at 18:44, Aurelien Jarno wrote: > On Sun, Jun 13, 2010 at 09:02:40AM -0700, Richard Henderson wrote: >> On 06/13/2010 03:49 AM, Aurelien Jarno wrote: >>>> Also, what era is that second machine without highgprs? Is it = running an >>>> old kernel, or a 32-bit kernel? >>>=20 >>> I have very few infos about it, it's an IBM System z10 machine = running a >>> 64-bit 2.6.26 kernel. >>=20 >> Ah, I see it now: ea2a4d3a3a929ef494952bba57a0ef1a8a877881 >>=20 >> [S390] 64-bit register support for 31-bit processes >>=20 >> which adds a mechanism to pass the high parts of the gprs >> in the ucontext to the 31-bit signal handler, and adds a >> spot for them in the 31-bit core dump. >>=20 >> It doesn't change the actual saving of registers within >> the kernel. Since we take asynchronous signals and return >> from them (as opposed to always longjmping out), we cannot >> use the full 64-bit register within a 31-bit process without >> having that bit set in HWCAP. >>=20 >> Something to remember if we ever implement TCG for 31-bit mode. >> At the moment we only allow KVM in 31-bit mode. >>=20 >=20 > Is KVM in 31-bit mode actually functional? I'm not aware of anything preventing it to be. But I honestly haven't = tried. As long as all hypercall parameters stay within the first 32/31 = bits, things should be safe. Alex