Received: from eggs.gnu.org ([2001:4830:134:3::10]:60164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d40ul-0002PT-3l for qemu-devel@nongnu.org; Fri, 28 Apr 2017 04:06:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d40ug-0007vz-1L for qemu-devel@nongnu.org; Fri, 28 Apr 2017 04:06:06 -0400 Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:35606) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d40uf-0007ux-MP for qemu-devel@nongnu.org; Fri, 28 Apr 2017 04:06:01 -0400 Received: by mail-wm0-x22f.google.com with SMTP id w64so35500258wma.0 for ; Fri, 28 Apr 2017 01:06:01 -0700 (PDT) Sender: Richard Henderson References: <20170427120006.20564-1-rth@twiddle.net> <20170427120006.20564-4-rth@twiddle.net> <874lx996hh.fsf@linaro.org> <30d66407-ad33-bc8c-55c6-0a5d7009bed4@twiddle.net> <871ssd7z46.fsf@linaro.org> From: Richard Henderson Message-ID: Date: Fri, 28 Apr 2017 10:05:57 +0200 MIME-Version: 1.0 In-Reply-To: <871ssd7z46.fsf@linaro.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH v5 03/19] qemu/atomic: Loosen restrictions for 64-bit ILP32 hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: qemu-devel@nongnu.org, cota@braap.org On 04/28/2017 09:47 AM, Alex Bennée wrote: > So maybe the comment should be clearer for ATOMIC_REG_SIZE that it > should match TCG_TARGET_REG_BITS (and therefore sync with > TCG_OVERSIZED_GUEST) in the atomic.h comment. How about * That said, we have a problem on 64-bit ILP32 hosts in that in order to * sync with TCG_OVERSIZED_GUEST, this must match TCG_TARGET_REG_BITS. * We'd prefer not want to pull in everything else TCG related, so handle * those few cases by hand. ? r~