Message ID | 20190108223129.5570-30-richard.henderson@linaro.org |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp46766jaa; Tue, 8 Jan 2019 14:53:55 -0800 (PST) X-Google-Smtp-Source: ALg8bN42NwtmFxTqj2zsYe8gOXAZ069vK37wPDZDPA03tQy3Nmgcn9ZqU4L5uAz4yT94JRmEFZyv X-Received: by 2002:a1c:7c07:: with SMTP id x7mr3248632wmc.82.1546988035484; Tue, 08 Jan 2019 14:53:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546988035; cv=none; d=google.com; s=arc-20160816; b=XIchvAtrYEX4egSeLAHY0MirTeBuMYtYIIuMyn4VSVTgioKILcio8CbqDD6vWwrkyx qfJscqX4LB82e+9YCHxwSmfMVWl8jalQz/urKo0/UemHG5Ssw55kdDMn6lBHKbHgu4ea k8bZGoCy1LHYajm3swIfmMmwLdrCIJjSK/J/ehLXjLUJTCu95eKrG/7P+K4ELFiZYr0e Md/g9OyiBUrJSPbAFyw0WQhIKbQGcEm+feNZ+Pp4bmzt0nvxxVkfufoh0GV/REu8d8Mr up6L8bdahchmI7/wkJUuN9CFdM00yKB5HhPldE41JzlBa1zv5lYLN2jGAsAatxgZGTsQ sHWw== 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=9pMhAJaZppv83OJ/WEZU7HzfgmZ4OshNKmGIx2Wtdqk=; b=hYwRc8vWcDWaIP1JezA00QIe5uh0vx1dsRpjaxUHIDYpK7u2CGyVje3z60j3V8jQXa 0p7Ob8ffzWajZHpl6EybHSnL0QU4o+JkY7qDqtFXmnh+yBAS5PHbeiZOgwKVttI13Uw8 R0h3CxtfNajPXRSibX6TNNnPo/OXnqaSkG0SdAlp8CpyaZleHZxi8Yk9bhA+rpQVoJVR wsI/OwcMCWIi4uQT3GPam9mM7XDi72bidVlUt5R/81VtusxgR7Hf/K3YP9k2ZKBrzDjZ J+tX9wnQ4C2OqoNY9EwQoK1tXph83M0A+W7DNLKim9FQel5z8ziqTx0/vUE8CVzPNT/Q cjdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=Wp0B3d5r; 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 y71si7676745wme.122.2019.01.08.14.53.55 for <patch@linaro.org> (version=TLS1 cipher=AES128-SHA bits=128/128); Tue, 08 Jan 2019 14:53:55 -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=Wp0B3d5r; 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]:44979 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1gh0Fu-0003F5-CG for patch@linaro.org; Tue, 08 Jan 2019 17:53:54 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53131) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ggzvd-0000oe-Dq for qemu-devel@nongnu.org; Tue, 08 Jan 2019 17:32:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ggzvb-0005PA-G1 for qemu-devel@nongnu.org; Tue, 08 Jan 2019 17:32:57 -0500 Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]:34531) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <richard.henderson@linaro.org>) id 1ggzvZ-0005Ld-HX for qemu-devel@nongnu.org; Tue, 08 Jan 2019 17:32:54 -0500 Received: by mail-pf1-x441.google.com with SMTP id h3so2626415pfg.1 for <qemu-devel@nongnu.org>; Tue, 08 Jan 2019 14:32:52 -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=9pMhAJaZppv83OJ/WEZU7HzfgmZ4OshNKmGIx2Wtdqk=; b=Wp0B3d5roDAwda1CJ9ivoJuYp1/l9X3aXe0k5aBB+SkmvoDn9ycgZJWvjfHzPuywj2 WKmnsIOc9y7EqKMkIW56gwfZKVlnwAYEzhglhN5LcTZPxUBdwwJwE7Xa8UmmapmkqwLD hYKgcnHy6JDuy/qp9UZfJir3/Ly3Cc2DHERsU= 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=9pMhAJaZppv83OJ/WEZU7HzfgmZ4OshNKmGIx2Wtdqk=; b=Uu205Sm85+2j3/V0G+O1vuhED4LGaydTvN12e4KcUwhzvvr43P3/E9GE1WQ6y2YYb7 7hemR1WJVTj6K24bqGm3MdqA/yNEedynxx0qJ/W/NnRA8NZws6uu32DgfG3Oa6Dz0Dzz 4kUkn+xLs74Kb9t+r7Rp5VN/VBapGeTU0PVbsCo0O7RIORDaB3aqZyKWKFTc43O3lEHk dFWU1ZdF8Wg02+hsS9Gq0vT54pXw8Ycp8p7BF5tRK620+vj5GjcvZ98dJh0F1wJAjxlK +B0+PQKgk/uHjG9f9igNbTnM1OzQMHCIXto0zuID8WWHrdULUA42VQGW5eSyD34aRoWk LU5g== X-Gm-Message-State: AJcUukcS/s9twbZEbe/8WfTtXW/h0RGYU4X5Z1k7P+fKUSP023lXkzco X9EgtHDVlxAcQ1e94sd+uXpYI3oC1Mg= X-Received: by 2002:a63:d34a:: with SMTP id u10mr3184618pgi.301.1546986771674; Tue, 08 Jan 2019 14:32:51 -0800 (PST) Received: from cloudburst.lan (2001-44b8-2176-c800-8cc6-2630-7d99-5ef1.static.ipv6.internode.on.net. [2001:44b8:2176:c800:8cc6:2630:7d99:5ef1]) by smtp.gmail.com with ESMTPSA id w128sm100686177pfw.79.2019.01.08.14.32.49 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 08 Jan 2019 14:32:50 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Date: Wed, 9 Jan 2019 08:31:27 +1000 Message-Id: <20190108223129.5570-30-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.2 In-Reply-To: <20190108223129.5570-1-richard.henderson@linaro.org> References: <20190108223129.5570-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::441 Subject: [Qemu-devel] [PATCH v3 29/31] target/arm: Enable PAuth for -cpu max 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: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
target/arm: Implement ARMv8.3-PAuth
|
expand
|
diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index 4b544a1c58..1974f1aeb7 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -316,6 +316,10 @@ static void aarch64_max_initfn(Object *obj) t = cpu->isar.id_aa64isar1; t = FIELD_DP64(t, ID_AA64ISAR1, FCMA, 1); + t = FIELD_DP64(t, ID_AA64ISAR1, APA, 1); /* PAuth, architected only */ + t = FIELD_DP64(t, ID_AA64ISAR1, API, 0); + t = FIELD_DP64(t, ID_AA64ISAR1, GPA, 1); + t = FIELD_DP64(t, ID_AA64ISAR1, GPI, 0); cpu->isar.id_aa64isar1 = t; t = cpu->isar.id_aa64pfr0;