From patchwork Fri Jan 25 22:57:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 156650 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp918847jaa; Fri, 25 Jan 2019 15:19:28 -0800 (PST) X-Google-Smtp-Source: ALg8bN5DxdUGkcq9gDgNcNzgJUQt2iaBbYGyJzhwCP8D/TCv+e34PKUG9fONVwu9zeBupdULgWfr X-Received: by 2002:a1c:4955:: with SMTP id w82mr8820441wma.33.1548458368320; Fri, 25 Jan 2019 15:19:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548458368; cv=none; d=google.com; s=arc-20160816; b=LzScRjX7W4wKEkwXdHAqTrATEsYrH3DlRD+uRLUz3QUN8pw6+DIe5w5tDr8PE/AVr2 ZdM2LgeLh8DI7EA++G8EumgXBRUOBCJpsBrbXNCpYhkjmKagH4ewhil0e/g4Z9AAF1zg zEXmNXJFMrvgZ9zRBDf6BBkXjYDHEknSMgCkb+6gi16eX09vAtKPffuPxcsQitEdHuke 6umTu3CMHRKuSsqlo5F65+NwDNNSK4bMru+6g7mWFKynw55o9KZ0VGoOQ9dCO40k5FMi aGP/E7k1dpG6y7YYnEcNZ0VbawE6Yt037bIa0mvWrNj9wpd2Vg9NwkjnZhtJxld43ME7 iNzg== 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:references:in-reply-to :message-id:date:to:from:dkim-signature; bh=WSqdNwycYtBIxGSnyv9o57NPJi26gtDbmBqE0+N3heA=; b=mlN/7Vkedb3uuBYu6MLDru9jl9cL/H8FdeiIEHIEa/l9V+ltHTfSW4b7SJpkVB503J /be8WoPfCmCEv1qCL42wSAHiitiggAoydOCO0i1gZGcZboIqBOKI8KrKVb03HgsS1bX9 Zj8GInk4xTSkKAartzu+75DGRxC3cWVtSTuhGxg6vGhxVe6v0BpS1A9+vcZwue7duJEK W75a87Xzo5mY2b4naZsmlwcpa/ilppY8wsBhZl4in7E5ouxUMkkoQnpaqdeK2n7qWg6j Dmv+Lw4KDz0crxTwjV3ArDDHiYUP+P/HRcmzM8xSsy+0Yv33FMkrkwXwR0eynVFqE5qB w44Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=JLuHBpEX; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f188si2611608wme.198.2019.01.25.15.19.28 for (version=TLS1 cipher=AES128-SHA bits=128/128); Fri, 25 Jan 2019 15:19:28 -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=JLuHBpEX; 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]:52280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnAkx-0000sj-BA for patch@linaro.org; Fri, 25 Jan 2019 18:19:27 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gnAe7-0004qA-SL for qemu-devel@nongnu.org; Fri, 25 Jan 2019 18:12:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gnAPc-0005NG-IS for qemu-devel@nongnu.org; Fri, 25 Jan 2019 17:57:25 -0500 Received: from mail-pl1-x644.google.com ([2607:f8b0:4864:20::644]:47007) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gnAPc-0005LI-6e for qemu-devel@nongnu.org; Fri, 25 Jan 2019 17:57:24 -0500 Received: by mail-pl1-x644.google.com with SMTP id t13so5179947ply.13 for ; Fri, 25 Jan 2019 14:57:23 -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; bh=WSqdNwycYtBIxGSnyv9o57NPJi26gtDbmBqE0+N3heA=; b=JLuHBpEXPqEqMA8SrHnDb4+4CEVols1gw1q1D1MPca+gWxVlz0bQjKFb8TyXvhzgjV tOW4q6v9Jm6e2OpWcLCGPQ4Njtz4k1u3zL4F1tDJx4/EzpnsbPIF7bOJdDodrLHpde9T 6uehCM30OTgOkoT8C5q82Y5JK7BL4K4WQOeps= 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; bh=WSqdNwycYtBIxGSnyv9o57NPJi26gtDbmBqE0+N3heA=; b=fe2F2B7pDCUYCbx7hdjaaVUg070AngT+SZayr2gXVt4JxZd6iCdsckYbmam34g6KoG /QJS5pawVaAECLkbw3+k1bz63h99zBNBFFTtqquLcX/UOWYT/DgcPIdj9rBGV8AqAOUn EYR14DnhRzJytTn+I2ykq2DNgy1ZiYIg1yc5m1jWh5tANk1N5SqQlUn9tujhvyvfKinR SZlWTD47EaXShlFMEwdeODa9jewZ7cxlzIm6DxDXbzemxLya6BXEp2/iIJEObqxWAwUx yLESJ6bTOUSSKxsTLp9aHMg4ziecYu58UZVa02dJNaaXI8ZnOx1P74HbJHu/7vQ6FkEp PiAw== X-Gm-Message-State: AJcUukekgHoJy1s9qDpVjXMGMGBprz4fc18pa/WBc6mu3wN3yNiWF3Ak df+F6rPyN4Zcr/e4yVrBE0qPBKvXSfc= X-Received: by 2002:a17:902:7588:: with SMTP id j8mr13038984pll.215.1548457041835; Fri, 25 Jan 2019 14:57:21 -0800 (PST) Received: from cloudburst.twiddle.net (97-126-115-157.tukw.qwest.net. [97.126.115.157]) by smtp.gmail.com with ESMTPSA id c7sm39148321pfh.18.2019.01.25.14.57.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Jan 2019 14:57:21 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Date: Fri, 25 Jan 2019 14:57:11 -0800 Message-Id: <20190125225714.10234-5-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190125225714.10234-1-richard.henderson@linaro.org> References: <20190125225714.10234-1-richard.henderson@linaro.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::644 Subject: [Qemu-devel] [PATCH 3/6] aarch64-linux-user: Enable HWCAP bits for PAuth 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Signed-off-by: Richard Henderson --- linux-user/elfload.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.2 diff --git a/linux-user/elfload.c b/linux-user/elfload.c index 3c7a7c2836..775a36ccdd 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -600,6 +600,7 @@ static uint32_t get_elf_hwcap(void) GET_FEATURE_ID(aa64_dp, ARM_HWCAP_A64_ASIMDDP); GET_FEATURE_ID(aa64_fcma, ARM_HWCAP_A64_FCMA); GET_FEATURE_ID(aa64_sve, ARM_HWCAP_A64_SVE); + GET_FEATURE_ID(aa64_pauth, ARM_HWCAP_A64_PACA | ARM_HWCAP_A64_PACG); #undef GET_FEATURE_ID