From patchwork Sun Feb 16 19:43:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 183563 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp4180430ile; Sun, 16 Feb 2020 11:47:12 -0800 (PST) X-Google-Smtp-Source: APXvYqwk2IF1dkRk06QdEw3PqkdrkLotY5kZHsgwSEvwwZ6dT5g8ZV8Lgju7mEUm0NQRntE6rO0A X-Received: by 2002:ac8:6a04:: with SMTP id t4mr1246646qtr.213.1581882432710; Sun, 16 Feb 2020 11:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581882432; cv=none; d=google.com; s=arc-20160816; b=UcbQRtNx+j6xnGrTDLYcqZvUQb1WnYFroOV8OJSNvK7Ah09sUYHxdPf1orW3KGsfo1 ewQmXtLlcNlfW6cIy/V0/JJPXqe+txDbfrahOaNfj/BQhgbwOMmy8k03bX8by5FNynSd RKrVyw2XryLJYD6oXehodCjIBmj0t8vdxSm5CcZB1uzNJhTiFovCVdMia3z518kfYoO+ lWRmgC0Ljyp2hvU1lfcIFBH2ecOJLVhItlQpfJXUMdVcSxIdZfN30OaY7TQgV0WXQ6dX XmxnIkGGF5VxncTX91mW/LkyqZldVTOAfzMp/V8Y7L4ujsa12zBJOE02QtzHcFFF5dLl LNmQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature; bh=2Ox+v/I0pqLjSZRLVIm2ELpIo1rl7PcWPrh50XcU3n0=; b=mnyrwsnqaR0eWjnwlIhnFRQWrfWWZXIGVXVpD0CsEK7yHPQokV73M7eEQai7aSysd3 xiVg/Fg2hdD0mAfKiZqbpMUCX9JUCa5gbE7YjMzsO6z8yeOolhPCX72HGzAeQga1iKku 1Y6iA1VRza/epOeOkyxQWqMgdaBmb4zeN43cESHlvAD/2zpalBmxOUFlNBcDHVHFmUWR FTgqf7pvppgd22WOE+tOIoP9Bp8+Y/VnaIG3WbRivZzdiExE8EPcF2oPDGGoLOjIV/x1 f3uqigCz9BUV629Htrm70Tu5sKPHbrxyi1WXOQDINxoJreiarffKYj2oOelLH51Fkxax d9yw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="C5W/HF0Q"; 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: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h5si5731428qvr.92.2020.02.16.11.47.12 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 16 Feb 2020 11:47:12 -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=pass header.i=@linaro.org header.s=google header.b="C5W/HF0Q"; 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]:35802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Psm-0008BL-8m for patch@linaro.org; Sun, 16 Feb 2020 14:47:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34665) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3PpT-0003b1-Mr for qemu-devel@nongnu.org; Sun, 16 Feb 2020 14:43:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3PpS-0005TE-GZ for qemu-devel@nongnu.org; Sun, 16 Feb 2020 14:43:47 -0500 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:40819) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j3PpS-0005S0-Bj for qemu-devel@nongnu.org; Sun, 16 Feb 2020 14:43:46 -0500 Received: by mail-pg1-x529.google.com with SMTP id z7so7889842pgk.7 for ; Sun, 16 Feb 2020 11:43:46 -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:mime-version :content-transfer-encoding; bh=2Ox+v/I0pqLjSZRLVIm2ELpIo1rl7PcWPrh50XcU3n0=; b=C5W/HF0QbLRqYmpwkA9ZL+VCbhMUDiMRfYlviLRrwXyJrFZ0KsPpNPbG8Z3jM8QSUo p9TEA/eFRJnBFCaUG0wGRBSrMDYc6dYRj/KfUUBhfZcSfaIDFju4SvBDnPJHdJf9JHak V9+GPZ79MAO+gExD2wqDYdH5TFeqpWtNp8dW4ZbYyhMq8PtDt7oe9z6FsETH7WUn93N7 bxz37VE0m/dAFWTkB0obNDFOLPd7l4TcpC1gr/W3Gr8ELnQzwKZM9qcvHBwJ3eMS9kS6 Xiw9+FByobRoLbag23Xf3oYPbhq2Z5no/LIZVm1wViQ7LqmMFBHpZB1kEyXa6tcSBuvL Ut/w== 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=2Ox+v/I0pqLjSZRLVIm2ELpIo1rl7PcWPrh50XcU3n0=; b=VisMEK4TKnSHn9GmvBu8YXN+Z3ddzx3POUaECDy1bVQ5BHzG0i4uT1PWhHKjmF/xLS O4a12+kO2R6M3VU2oscPZ1WfZhFub9OAIpWCJOj7KgN9jHPkFg8c/qAOqWyxt/gMHKbW dswuq9ezlwW7CxUDFeSllrm/LTc/WFZF+ywokQySH9W4U9rBeuzet13SKiidMIbY2RkJ i3CRy14jmbVzuLwhWo2pFrfNIl5LWkB8WnsWBUh2YB7A6M7vXYYUxZEfCkKJlZ8sSdGt 9V6pklRg+wsBeY4VqQ++x4cz4VTkmR0exKpSCFE77AHtC2a9XdCQaMPpMaaGhmjheT4E gyxA== X-Gm-Message-State: APjAAAWvi/LoKTwEvPcwp7p/w1kbBpQEeNTSd8fbtixcAzL9CJqaq+P4 bM0avrE85OPFAHR5r2vcpDWbbLuzLfY= X-Received: by 2002:a63:f54c:: with SMTP id e12mr13873617pgk.181.1581882225018; Sun, 16 Feb 2020 11:43:45 -0800 (PST) Received: from localhost.localdomain (97-126-123-70.tukw.qwest.net. [97.126.123.70]) by smtp.gmail.com with ESMTPSA id y127sm13945188pfg.22.2020.02.16.11.43.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 16 Feb 2020 11:43:44 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PATCH v3 0/4] target/arm: Reduce aa64_va_parameter overhead Date: Sun, 16 Feb 2020 11:43:39 -0800 Message-Id: <20200216194343.21331-1-richard.henderson@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::529 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" Something I noticed while developing and testing VHE. For v2, fix select as a separate patch. For v3, adjust pauth to use bit 55 explicitly, and remove a now duplicate test within get_phys_addr_lpae. r~ Richard Henderson (4): target/arm: Use bit 55 explicitly for pauth target/arm: Fix select for aa64_va_parameters_both target/arm: Remove ttbr1_valid check from get_phys_addr_lpae target/arm: Split out aa64_va_parameter_tbi, aa64_va_parameter_tbid target/arm/internals.h | 3 - target/arm/helper.c | 144 ++++++++++++++++++++------------------ target/arm/pauth_helper.c | 3 +- 3 files changed, 76 insertions(+), 74 deletions(-) -- 2.20.1