From patchwork Tue Apr 24 16:03:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Alex_Benn=C3=A9e?= X-Patchwork-Id: 134153 Delivered-To: patch@linaro.org Received: by 10.46.151.6 with SMTP id r6csp2452940lji; Tue, 24 Apr 2018 09:38:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqwLe+QXxYfy++qs3wrbN+7NC5O2XygdptgcIde9RdpvtKCVAtK+CBbdeF8xbCf4wmlwIxq X-Received: by 10.55.31.156 with SMTP id n28mr28427863qkh.379.1524587922738; Tue, 24 Apr 2018 09:38:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524587922; cv=none; d=google.com; s=arc-20160816; b=0C2jfJkyNG6mBFynn1JDlyoi8K20xkfqzvOPTV5fUdSc02Tw12JGswHBYOLPsubpHI JCPww+AqFYUSSpNqUU7FW+VoLsvuq59KhNtlzxVrnU1hXU3LI7QbZRr9tmKRZJ1ghAq3 xbu61n9dwl7WkRdoJwyo4zHFQpvST0ncfBCIYoNWQ/xca6J2c0ptVeabv/ZzcJWv6SPm PEcXBbhpPcdUZgcsynPsrFhBUAwhSJAYd/R/W0DfwzhGrBulid7Qvo1DPI8WdMVCO64x wrWNbtyPSxB9GDes/IbtAxs699SyUhY8Oqphf8cUHxf7Qeb97jlD0N5dP1gsHd5q04vt cTfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject :content-transfer-encoding:mime-version:message-id:date:to:from :dkim-signature:arc-authentication-results; bh=5lxR5bCUj8U6eJHIZ3wg41xTWOTSjR8C1ix95zUXrIA=; b=Qc1KgXPJUGu2irExVcZsm4D6Kzt3PFEKbSo1YJYQR+k/aacFqEcg921g+e1TuOaGnL HYrkBkAOsTOeG46TBo5EuP1Pmulylw8rhUPZnJFWSraCYbOTa+ZzmCWur2H0fU+GtrQa 8Pf/ov9Lbl5e7Q+5UlaMuXjWQLRTzRUzQefbrKloZnFNyJh2at4ESop6Got+W2wk6vYL OesaoUUQKO6HQ3X5GDlSEpbzu0ucc+PmAchA/ZaG4lfYyJZUjEAO8v6vmT6/j68DbL+J eWiPRn/I8YllaRtEjmTB8CrnmZ/2TzuIh05YhFvY5uHyTFg86y66ZYoaGZQy93u/0Kss Ttrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=O4DmyS8+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [2001:4830:134:3::11]) by mx.google.com with ESMTPS id k93-v6si106610qte.394.2018.04.24.09.38.42 for (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 24 Apr 2018 09:38:42 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) client-ip=2001:4830:134:3::11; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=O4DmyS8+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 2001:4830:134:3::11 as permitted sender) smtp.mailfrom=qemu-devel-bounces+patch=linaro.org@nongnu.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:59611 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB0xm-0007Yu-6n for patch@linaro.org; Tue, 24 Apr 2018 12:38:42 -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) 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-Received: by 10.28.235.3 with SMTP id j3mr13213902wmh.146.1524585814039; Tue, 24 Apr 2018 09:03:34 -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) From: =?utf-8?q?Alex_Benn=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 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_Benn=C3=A9e?= , Laurent Vivier Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" 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ée --- linux-user/riscv/target_syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.0 Reviewed-by: Richard Henderson diff --git a/linux-user/riscv/target_syscall.h b/linux-user/riscv/target_syscall.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" #define TARGET_MINSIGSTKSZ 2048 #define TARGET_MLOCKALL_MCL_CURRENT 1