Message ID | 20190205190224.2198-6-alex.bennee@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp5586735jaa; Tue, 5 Feb 2019 12:06:03 -0800 (PST) X-Google-Smtp-Source: AHgI3IaJxQ+JiY6j6XQOaZg31LcCmaQO5Wg41ePhwq1RkPMCw3YBCOKjKAXiEw7OAAWhwbLdJ1st X-Received: by 2002:a0d:da44:: with SMTP id c65mr5592709ywe.218.1549397163649; Tue, 05 Feb 2019 12:06:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549397163; cv=none; d=google.com; s=arc-20160816; b=PBDbLDG9QPwIFqKYojGX9+KkonLYb4SJT/WGa4RjK5VV2/NBs/4Rk1LVwMSyw0m+JP W5v69VpHVJuWMcFMn07nhZK4Gt08tu0hJH2QcqACg8LckX/+X96l/RmPJCLnTGRLmr7o kUdtzQYP0+cT9uM4KzG0dglJEf2tS/LLH4xv07IqyzcFAcKn6Y63DUMvonXfjOZctTHE p56zcptGPGiNZi1WGgPkzCbaVLQTBlxdhTYcTX59HylB0uVVlW/LUbjDuODiLW+X56Bm abHER4tl7U6NYiHDXS3BmprbszzrAFSddqKZuk4Hwe3AbSs5cSPQx8bSFLNrXOnNbBTG ujcg== 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:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=V6utdBoArSjP75yC+1U3GRv6m7Z5RTe0msKq4eU8rIc=; b=Lp8GBFYRJMHkwUpB17RDnn0bo9Notn1ZDa7+xntt8mHH8CF1dZSbL/PnqUiDt/KWxW n9YZ7MUvlpy0uvSfWZgON1Fnwpa8euVLiXK3RzrjFOgjKsO+i5vjJUJ8l8/xhOrW566x EdVyMb7Xe1BGfWvv6pw4Pqemi31WxU+c+CUgxpKR8MfOhr7hzslcEXN0GKl+cEyPudj+ wgJAH8aUse89O6TJd9J79EyUZ6wxUoNZ5BAKZHw1MXEbQ2Ip8eTwWNdfEe3fLDPJPry1 zq4flLLTLlZLH/zzM9bhlsfhKpOSnI/r9J1YM+aI4YWCTnJls5WiXcFVkAaRXDU7s/Us UpjA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qzMlilZr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 202si2460723ywu.243.2019.02.05.12.06.03 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 05 Feb 2019 12:06:03 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=qzMlilZr; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 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 ([127.0.0.1]:39610 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gr6yp-0008FT-5J for patch@linaro.org; Tue, 05 Feb 2019 15:06:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gr5zd-0007sk-Sw for qemu-devel@nongnu.org; Tue, 05 Feb 2019 14:02:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gr5zb-0004Ju-Ph for qemu-devel@nongnu.org; Tue, 05 Feb 2019 14:02:49 -0500 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:42116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <alex.bennee@linaro.org>) id 1gr5za-0004BI-G4 for qemu-devel@nongnu.org; Tue, 05 Feb 2019 14:02:46 -0500 Received: by mail-wr1-x443.google.com with SMTP id q18so4848740wrx.9 for <qemu-devel@nongnu.org>; Tue, 05 Feb 2019 11:02:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=V6utdBoArSjP75yC+1U3GRv6m7Z5RTe0msKq4eU8rIc=; b=qzMlilZrCMPioJfoMCi9DZ+Nom4hrAEHXb87jgsjamcsAdcelAsZUh5nzwhmSn65QE UbZ5vRIpIJkDaz9PlAHVGHzf+PD6dYiqxc/VUzDbAfBxJIrx2WLr41vYob/SeGIWbYMp sWm2eWnbFEy9Tebi4QkNNRUxw7yK94+tbEPvzyQmJxYRBtpHCu52U7zBSuUOGhOVPeZI g0T2JmH9eK/eIpbH5/O3bjYYpSdybVRpP4SGTf4tmwF471+iZVg3KHnX6Qd+maxZdYRt 1SMlBUvcr6pUerhenE9JdL+TsCuy742NGJfQrtZ1UKlMoQaHIy6AiFW+crY41dWNzZSq qy4w== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=V6utdBoArSjP75yC+1U3GRv6m7Z5RTe0msKq4eU8rIc=; b=Y0YzDGmvanNmmx6zhhtLshQrkj2qMjQ1Y0uyitcsX0po412DNkCbfI8C3tpBVtsilp Bnyz664V5yNqH1wAivm6h0gJnyZF1yHcm3kMJ9gmVY87z8ioMsGxU/pzi0Cr9z9ZU5xs kqMTeHZCDUmoDHt2OjV7LuGyohDBwaiG170dmL/9UTqhUkOy3KFhi+huvJpudhLYLJfL 0Q8c3g/ol5cvViETZ30Yepb+0qs4ZxteLonbNvQnivy62EsddpT0tC57wr/QdQse5cp4 I5om48CcUv6IT4K65r4/oIIAz77hW9jK3cpNEYAZbqARp0cJH+9WCZRGfblAJP9Qhya9 pGtA== X-Gm-Message-State: AHQUAuaZcu7htAXyIv/3W5Dpp8pIoiooRC2sJxYi6rxz5vzy4HuZx1BD Da/UF4nWrSgdmuawbWdeWYb3Nw== X-Received: by 2002:adf:de09:: with SMTP id b9mr4556080wrm.295.1549393349793; Tue, 05 Feb 2019 11:02:29 -0800 (PST) Received: from zen.linaroharston ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id v22sm4901940wml.37.2019.02.05.11.02.26 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 05 Feb 2019 11:02:28 -0800 (PST) Received: from zen.linaroharston. (localhost [127.0.0.1]) by zen.linaroharston (Postfix) with ESMTP id B935C1FF85; Tue, 5 Feb 2019 19:02:24 +0000 (UTC) From: =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> To: qemu-devel@nongnu.org Date: Tue, 5 Feb 2019 19:02:23 +0000 Message-Id: <20190205190224.2198-6-alex.bennee@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190205190224.2198-1-alex.bennee@linaro.org> References: <20190205190224.2198-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v2 5/6] linux-user/elfload: enable HWCAP_CPUID for AArch64 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Richard Henderson <richard.henderson@linaro.org>, qemu-arm@nongnu.org, =?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
HWCAP_CPUID registers for aarch64
|
expand
|
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 775a36ccdd..3a50d587ff 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -580,6 +580,7 @@ static uint32_t get_elf_hwcap(void) hwcaps |= ARM_HWCAP_A64_FP; hwcaps |= ARM_HWCAP_A64_ASIMD; + hwcaps |= ARM_HWCAP_A64_CPUID; /* probe for the extra features */ #define GET_FEATURE_ID(feat, hwcap) \