Message ID | 20210510122548.28638-3-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 68948d18224b93361e2880e2946ab268d0c650d7 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:c901:0:0:0:0:0 with SMTP id t1csp2791273jao; Mon, 10 May 2021 05:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtzNS4CSNkihUeBar0TolTS9MnF9XhBaW/kWHRAKBk7DV8I6h3UNP/fVwpHO3c/QohsZYE X-Received: by 2002:ab0:6898:: with SMTP id t24mr10845635uar.120.1620649572055; Mon, 10 May 2021 05:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620649572; cv=none; d=google.com; s=arc-20160816; b=LaJdaJ09TNDF5TdzJPjoeE7tqABLw2lZYAYE2pSQOWKgVD36yO3Cs4w6CuD7XoxWFS v+nP+VbUt4vXrNGKie0Rw+4qbKYzAPucYFLlvnoIi/eAXE0TjqkNJggfGQN2hAar0USu HNqDZ/A6ZQM0X4PNRpyqUh143n2t9UQzMZaCGwXcAR5oaZ2pojH6ex2zH/NABJ8clVqm L7q8PDmpNnI3j1TOZYCRCKx9ZBW94HyauuQVH08Q3+4cBnRgVCnT9Ac4F3gkMUXthzEo NyxSimQxXzvQz3SPNLYhfghfW7Alv2ux7qV79ebiVdNTnPfZHaPi0HqDuiOQGOqvliAJ qcDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=toJACPBD+agquDJNeNcjG7zq9jkLnO9aVFHB2e+yE4E=; b=oRUmX0XXe/IKVsHWesARkqWEyyd3VJHAeAoh0eGWvbUuGhWATC38cQHpR+8PPPFhkA PMD7dLycQR8Y9AcVlqp5kacn5fFaCjvWM2HCDxXo3R+DdllQKUI+DuvT9DZBj/boLngv HtJX/ZFxiU6WsImB6CYhsTJ7lbX6i+KRu5nJ6z1sOw89j+pDQ0qIbvUFdJpOx2oBcpSF mRHMBcA/YmsBZN4DzEHFVKQyYQJwXex+vjxafieDaTJyhXVQ82/ljGIw1/vPJWxz6u2z eLkICDs1dsHetbtptKfmsSqFqTfJE4o9//NbqXvbTXX9HvTZKz8D7XSLR/d43qFOWXvQ 87mw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FhSqu6T1; 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=pass (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 s3si5308123uag.178.2021.05.10.05.26.11 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 May 2021 05:26:12 -0700 (PDT) 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=pass header.i=@linaro.org header.s=google header.b=FhSqu6T1; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:42432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1lg4zD-0005Za-BK for patch@linaro.org; Mon, 10 May 2021 08:26:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1lg4yx-0005XR-Bc for qemu-devel@nongnu.org; Mon, 10 May 2021 08:25:55 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:33661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>) id 1lg4yv-00038q-3M for qemu-devel@nongnu.org; Mon, 10 May 2021 08:25:55 -0400 Received: by mail-wr1-x42f.google.com with SMTP id n2so16476754wrm.0 for <qemu-devel@nongnu.org>; Mon, 10 May 2021 05:25:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=toJACPBD+agquDJNeNcjG7zq9jkLnO9aVFHB2e+yE4E=; b=FhSqu6T1mT/f9nwoF7e6KsBelEk847slEF/6uxSahdZeMEQ4BMbwNYSK4kYeuYMl5e J8ZBb5aF4SMNgpiWc/aPqGbYgoSd5n4cVLx58yOvbX4ZOOlXys5b8f/ab6/rytLxxtmx Cxj8b2GRsxT0kYko53IwRUe8Lea18yHaqc/GJ27mrrOH9+08cIZpEfVWg8NXxYhdL4Qc cJwRFu+Ijd6Jth1537B2QnnrbXGevIyiYSKqWLiUewI9SWstopBaUXq8Gsa6TOFF+Xw4 r1tkxpYPAWf0lMNZqccJo0eNIyYw5izqWNuII5tD312XcvFwzHKsa4Td4Z0+D9R1A+5+ Zztw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=toJACPBD+agquDJNeNcjG7zq9jkLnO9aVFHB2e+yE4E=; b=Nry/liVyhNzlkFk625umyqyteoqGHCHgXnuH33EqmcdA1Ty+G1gCrWDXyyrm3JYVni LpW2XFNnYf2SyztdNsDysID8SEf/7vi9IncCP91/O4JrfHubwzedfDqWquUMLtxLcpCz sS6rF94g5Xe2fzhrf99XRkMsrHHH3lzJXbnH0ue8EqDyHzfe7V+P6qA9oX9/w3Eqlh3E T+IhOm6bLPyj7pC3Lrh9YrrX1vI/wXrXll0kDUvwVLresYH76ha+LdilO72aKEBOf0up 7B8UpNVxwlCIsSrPK5+u6jgJkxjFSqD4G+GY4hom7Lo4orxmihevEQ6LpkxERyPxzUZk toOA== X-Gm-Message-State: AOAM5325nyCdQ1rObtk0BLIm4tng/zJTDkA2xKHowmTVMp4fHfgMwU81 YJybS0wPNps+/jR7lMC3Sn8clPFq2aMotw== X-Received: by 2002:adf:cc8c:: with SMTP id p12mr30388590wrj.407.1620649551510; Mon, 10 May 2021 05:25:51 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [81.2.115.148]) by smtp.gmail.com with ESMTPSA id d9sm22749897wrp.47.2021.05.10.05.25.51 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 May 2021 05:25:51 -0700 (PDT) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 02/26] linux-user/aarch64: Enable hwcap for RND, BTI, and MTE Date: Mon, 10 May 2021 13:25:24 +0100 Message-Id: <20210510122548.28638-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210510122548.28638-1-peter.maydell@linaro.org> References: <20210510122548.28638-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 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: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target-arm queue
|
expand
|
diff --git a/linux-user/elfload.c b/linux-user/elfload.c index c6731013fde..fc9c4f12be9 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -586,6 +586,16 @@ enum { ARM_HWCAP2_A64_SVESM4 = 1 << 6, ARM_HWCAP2_A64_FLAGM2 = 1 << 7, ARM_HWCAP2_A64_FRINT = 1 << 8, + ARM_HWCAP2_A64_SVEI8MM = 1 << 9, + ARM_HWCAP2_A64_SVEF32MM = 1 << 10, + ARM_HWCAP2_A64_SVEF64MM = 1 << 11, + ARM_HWCAP2_A64_SVEBF16 = 1 << 12, + ARM_HWCAP2_A64_I8MM = 1 << 13, + ARM_HWCAP2_A64_BF16 = 1 << 14, + ARM_HWCAP2_A64_DGH = 1 << 15, + ARM_HWCAP2_A64_RNG = 1 << 16, + ARM_HWCAP2_A64_BTI = 1 << 17, + ARM_HWCAP2_A64_MTE = 1 << 18, }; #define ELF_HWCAP get_elf_hwcap() @@ -640,6 +650,9 @@ static uint32_t get_elf_hwcap2(void) GET_FEATURE_ID(aa64_dcpodp, ARM_HWCAP2_A64_DCPODP); GET_FEATURE_ID(aa64_condm_5, ARM_HWCAP2_A64_FLAGM2); GET_FEATURE_ID(aa64_frint, ARM_HWCAP2_A64_FRINT); + GET_FEATURE_ID(aa64_rndr, ARM_HWCAP2_A64_RNG); + GET_FEATURE_ID(aa64_bti, ARM_HWCAP2_A64_BTI); + GET_FEATURE_ID(aa64_mte, ARM_HWCAP2_A64_MTE); return hwcaps; }