From nobody Wed Oct 29 06:41:41 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1524588000832496.20052136142283; Tue, 24 Apr 2018 09:40:00 -0700 (PDT) Received: from localhost ([::1]:59619 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0z1-0008Sr-V1 for importer@patchew.org; Tue, 24 Apr 2018 12:40:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0Pr-0005Et-8w for qemu-devel@nongnu.org; Tue, 24 Apr 2018 12:03:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB0Pn-00063k-Bw for qemu-devel@nongnu.org; Tue, 24 Apr 2018 12:03:39 -0400 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]:36159) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fB0Pn-00062j-5r for qemu-devel@nongnu.org; Tue, 24 Apr 2018 12:03:35 -0400 Received: by mail-wm0-x242.google.com with SMTP id n10so1760864wmc.1 for ; Tue, 24 Apr 2018 09:03:35 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id 55-v6sm32391091wrw.52.2018.04.24.09.03.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Apr 2018 09:03:33 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id E762D3E0427; Tue, 24 Apr 2018 17:03:32 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lxR5bCUj8U6eJHIZ3wg41xTWOTSjR8C1ix95zUXrIA=; b=O4DmyS8+zn80x3Hkine3yIn0xylLMMp6HCgN08IUVPTrBwO6cBW+bnH0UQhtQVGxcx eAxzUyw4RZXQICLg/zld/PPmJqPLYE68KKVYZJ5lFZjsotrS2v+pc7EzrIHPMzqai5ge pseZLG/1SILCoawNw5RB9yUPIfG95C+cit2t0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5lxR5bCUj8U6eJHIZ3wg41xTWOTSjR8C1ix95zUXrIA=; b=UVPr2wVmzn1gOFWA+V4ac0sHZK3ve0Ie9X7gZSEnBXN8nMuk34SenD02Ccq97LOsnV zsISJf7TJgwK0NU0db0CSY+KLbmOaGNt61yjWyZBed+1d9fk5kcBZv0I/FU6V1mMeyTo O/9h2R8FGl/x7n/QmYn5otyuZw2LKwSl9OSd6uzHzfkVKl9Ijvlax9uevOfW2NeeDFZO d9z9NmLmTr/K6iiTji/ho7Q8LxMOcKexiwWOtrPrHCjHKjnnVaiGD0CiLoPia8SWdlC0 NlR8qc4aE1ZR8081K9eRw/y5BuJa04wmuijobhazmuA/tnISZr69R/+hjjG6N/152aYg /vfw== X-Gm-Message-State: ALQs6tDEk8v7dqI6e6LE4vnK82/iRQkbKVuVh0IRvNp36sl6a1lePIqh AytSudqvsOBzcvjy7HQtlp38pg== X-Google-Smtp-Source: AIpwx4+gE53tocNd2+Lp3pZD+z9z6X6HV+jcvabHdSRq+6xjItj6eraIznIv+jBQXQWfD/FrlJdUfA== X-Received: by 10.28.235.3 with SMTP id j3mr13213902wmh.146.1524585814039; Tue, 24 Apr 2018 09:03:34 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: qemu-devel@nongnu.org, mjc@sifive.com, palmer@sifive.com, sagark@eecs.berkeley.edu, kbastian@mail.uni-paderborn.de Date: Tue, 24 Apr 2018 17:03:29 +0100 Message-Id: <20180424160329.8089-1-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.0 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::242 Subject: [Qemu-devel] [PATCH] linux-user: set minimum uname for RISC-V X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Riku Voipio , =?UTF-8?q?Alex=20Benn=C3=A9e?= , Laurent Vivier Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 As support was merged into the mainline kernel at 4.15 it is unlikely 3.8.0 is the correct value. Indeed when I testing binaries created by the current Debian SID compiler the tests failed with: FATAL: kernel too old Signed-off-by: Alex Benn=C3=A9e Reviewed-by: Richard Henderson --- linux-user/riscv/target_syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_sy= scall.h index d4e109a27f..ee81d8bc88 100644 --- a/linux-user/riscv/target_syscall.h +++ b/linux-user/riscv/target_syscall.h @@ -45,7 +45,7 @@ struct target_pt_regs { #else #define UNAME_MACHINE "riscv64" #endif -#define UNAME_MINIMUM_RELEASE "3.8.0" +#define UNAME_MINIMUM_RELEASE "4.15.0" =20 #define TARGET_MINSIGSTKSZ 2048 #define TARGET_MLOCKALL_MCL_CURRENT 1 --=20 2.17.0