Return-Path: Received: from zen.linaroharston ([51.148.130.216]) by smtp.gmail.com with ESMTPSA id v16sm210581wrt.12.2019.09.26.12.02.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 12:02:49 -0700 (PDT) Received: from zen (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id 855A51FF87; Thu, 26 Sep 2019 20:02:48 +0100 (BST) References: <20190925233013.6449-1-alex.bennee@linaro.org> <20190926125817.GB19660@redhat.com> <19efe3ee-a532-cf66-a5a7-03a7c053737c@redhat.com> <87d0fn9ix8.fsf@linaro.org> User-agent: mu4e 1.3.4; emacs 27.0.50 From: Alex =?utf-8?Q?Benn=C3=A9e?= To: Alistair Francis Cc: Thomas Huth , Peter Maydell , =?utf-8?Q?Daniel_P=2E_Berrang=C3=A9?= , Richard Henderson , QEMU Developers , qemu-discuss , Christian Borntraeger , qemu-s390x , qemu-arm , "open list\:New World" , "open list\:RISC-V" Subject: Re: [RFC PATCH] configure: deprecate 32 bit build hosts In-reply-to: Date: Thu, 26 Sep 2019 20:02:48 +0100 Message-ID: <878sqaanjb.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TUID: GCS/rVJr52Gk Alistair Francis writes: > On Thu, Sep 26, 2019 at 8:41 AM Alex Benn=C3=A9e = wrote: >> >> >> Thomas Huth writes: >> >> > On 26/09/2019 15.46, Christian Borntraeger wrote: >> >> >> >> >> >> On 26.09.19 14:58, Daniel P. Berrang=C3=A9 wrote: >> >>> On Thu, Sep 26, 2019 at 08:50:36AM +0100, Peter Maydell wrote: >> >>>> On Thu, 26 Sep 2019 at 00:31, Alex Benn=C3=A9e wrote: >> >>>>> >> >>>>> The 32 bit hosts are already a second class citizen especially with >> >>>>> support for running 64 bit guests under TCG. We are also limited by >> >>>>> testing as actual working 32 bit machines are getting quite rare in >> >>>>> developers personal menageries. For TCG supporting newer types like >> >>>>> Int128 is a lot harder with 32 bit calling conventions compared to >> >>>>> their larger bit sized cousins. Fundamentally address space is the >> >>>>> most useful thing for the translator to have even for a 32 bit gue= st a >> >>>>> 32 bit host is quite constrained. >> >>>>> >> >>>>> As far as I'm aware 32 bit KVM users are even less numerous. Even >> >>>>> ILP32 doesn't make much sense given the address space QEMU needs to >> >>>>> manage. >> >>>> >> >>>> For KVM we should wait until the kernel chooses to drop support, >> >>>> I think. >> >>> >> >>> What if the kernel is waiting for QEMU to drop support too ;-P >> >> >> >> For what its worth on kvm/s390 we never cared about implementing >> >> 32 bit. >> > >> > Looking at tcg/s390/tcg-target.inc.c : >> > >> > ... >> > /* We only support generating code for 64-bit mode. */ >> > #if TCG_TARGET_REG_BITS !=3D 64 >> > #error "unsupported code generation mode" >> > #endif >> > ... >> > >> > ... it seems to me that TCG does not support 32-bit on s390 either. I >> > think we can remove s390 (32-bit) from the list completely? >> >> It's the same for riscv32 I think. > > I think riscv32 host *should* work, although I don't think it was ever > tested. You certainly don't support oversized guests: /* We don't support oversize guests */ QEMU_BUILD_BUG_ON(TCG_TARGET_REG_BITS < TARGET_LONG_BITS); > > Considering that we have enough trouble keeping the riscv32 kernel > booting it's probably ok to drop it from QEMU. > > Alistair > >> >> > >> > Thomas >> >> >> -- >> Alex Benn=C3=A9e >> -- Alex Benn=C3=A9e