Received: from eggs.gnu.org ([2001:4830:134:3::10]:51768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzkd7-0003Jj-E6 for qemu-devel@nongnu.org; Tue, 11 Sep 2018 11:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzkcB-0007UG-BC for qemu-devel@nongnu.org; Tue, 11 Sep 2018 11:30:10 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:53765) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fzkcA-0007SG-TD for qemu-devel@nongnu.org; Tue, 11 Sep 2018 11:30:07 -0400 References: <20180911140631.18481-1-alex.bennee@linaro.org> <20180911140631.18481-4-alex.bennee@linaro.org> <8346c1bb-9cb6-4c08-66a2-b5e5a31903d4@vivier.eu> <87tvmwax7m.fsf@linaro.org> From: Marek Vasut Message-ID: <8c9a56ac-5b3f-cbe3-49ce-e79314b1c4db@denx.de> Date: Tue, 11 Sep 2018 17:30:03 +0200 MIME-Version: 1.0 In-Reply-To: <87tvmwax7m.fsf@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [RFC PATCH 3/4] linux-user/nios2: bump min uname to 4.16.0 [!HACK] List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Alex_Benn=c3=a9e?= Cc: Laurent Vivier , qemu-devel@nongnu.org, 1791796@bugs.launchpad.net, thuth@redhat.com, Riku Voipio , Chris Wulff On 09/11/2018 05:08 PM, Alex Benn=C3=A9e wrote: >=20 > Marek Vasut writes: >=20 >> On 09/11/2018 04:14 PM, Laurent Vivier wrote: >>> Le 11/09/2018 =C3=A0 16:06, Alex Benn=C3=A9e a =C3=A9crit: >>>> This is to work around the limitations of the buildroot >>>> qemu_nios2_10m50_defconfig which sets the base kernel version for >>>> glibc. >>>> >>>> Signed-off-by: Alex Benn=C3=A9e >>>> --- >>>> linux-user/nios2/target_syscall.h | 2 +- >>>> 1 file changed, 1 insertion(+), 1 deletion(-) >>>> >>>> diff --git a/linux-user/nios2/target_syscall.h b/linux-user/nios2/ta= rget_syscall.h >>>> index ca6b7e69f6..905b80d112 100644 >>>> --- a/linux-user/nios2/target_syscall.h >>>> +++ b/linux-user/nios2/target_syscall.h >>>> @@ -2,7 +2,7 @@ >>>> #define TARGET_SYSCALL_H >>>> >>>> #define UNAME_MACHINE "nios2" >>>> -#define UNAME_MINIMUM_RELEASE "3.19.0" >>>> +#define UNAME_MINIMUM_RELEASE "4.16.0" >>>> >>>> struct target_pt_regs { >>>> unsigned long r8; /* r8-r15 Caller-saved GP registers */ >>>> >>> >>> I have no objection. Perhaps you could ask NiosII Maintainers (cc). >> >> If that's needed, so be it. The Linux 3.19 was required because some >> obscure ABI change happened at that point. >=20 > I don't think so - it's an artefact of the way the buildroot toolchain > is built. But the real question which I address in the cover letter is > does nios2-linux-user get much use? I tried enabled tests/tcg for it an= d > it fails rather badly. I used it around 2.10 and it worked for me. --=20 Best regards, Marek Vasut