Message ID | 20230203142927.834793-3-peter.maydell@linaro.org |
---|---|
State | Accepted |
Commit | 9d2617ac7d3139d870ba14204aedd74395990192 |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a17:522:d8c:b0:4be:c3dc:14d8 with SMTP id d12csp853055pva; Fri, 3 Feb 2023 06:37:04 -0800 (PST) X-Google-Smtp-Source: AK7set9LalGAUFAziBk4nl4k9L6F7a2YWrUK+1itm0DN/wEe0azO6yddr6xT4/w7HZBJCgmz5x/G X-Received: by 2002:ac8:57c5:0:b0:3b8:6d74:234a with SMTP id w5-20020ac857c5000000b003b86d74234amr18650969qta.2.1675435023940; Fri, 03 Feb 2023 06:37:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675435023; cv=none; d=google.com; s=arc-20160816; b=WC85dVNAJ3lSvLy3r101nQKebOR+OSH9pJJj6sIh6PIVdPCEtEi7attLwQRxx95sY7 kfTRqOQXDnDuzDM0KovCqO1Gbv3Gt0/itNe5iiJmm+zzAGXs+58b15Kr8xLXRjnKYYZH XxWCGJPNQ3OBfQRehW4r3HkLf2PuiaeZXwJz6lpsIoiXjZWQX6/7ktjVOCdlCY2qy8Xz wOgAFe54IUN/cZZF1SYyIQWiccyp4M1ACLnd+662oZPYZXI/AG1mk3XbG2zHWLZyQrG/ XulslGHw9/F0CWd8MirWRSYTx8pyaEZsR3NQwlGPYZ9flD9LjOZr6M4tzWCfCB1d4d9W hwGg== 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=m8O7Eb+in4iFMyKSZKYhuiuIHFHL3PaJb5r8x77Y6qc=; b=uxX58qwClq1W8ugatsFXRRsEC/SkSmmAUts56YauCUKyvhLDErYqiO611esQN+PKR4 eC/i1ppFdyxU+jfIAfmYr1okAlGTNPN9pTGsDRTceBhmHN3P/OEgQByPVQlvoATVKgK9 1aDv6J/ssIg/qL0HsbrfW6OaaGrklxodXC4c3POTTz7J1OeuY0pgp2NP6Ldt06QS5gjz dGymIQFpFBEAZpH40cyZD5wUeWL52ZgX121XjJ969hJjLwAo7GZsRfrja7iVYJHEo7n1 oTW/Q7z9RgkglOHfxRxreNHra8gmG6hAqTJv+S//aYZS1/zI+YbN0ku69Ks8Bgtb4wgv sedw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=i8IPwMDB; 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 q15-20020a05622a030f00b003ab9329d092si1957329qtw.518.2023.02.03.06.37.03 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 03 Feb 2023 06:37: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=pass header.i=@linaro.org header.s=google header.b=i8IPwMDB; 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] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1pNx4Q-0006eJ-D5; Fri, 03 Feb 2023 09:29:42 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) 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 1pNx4I-0006cW-Ni for qemu-devel@nongnu.org; Fri, 03 Feb 2023 09:29:34 -0500 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]) 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 1pNx4G-00053h-7Q for qemu-devel@nongnu.org; Fri, 03 Feb 2023 09:29:34 -0500 Received: by mail-wm1-x32f.google.com with SMTP id k8-20020a05600c1c8800b003dc57ea0dfeso6160135wms.0 for <qemu-devel@nongnu.org>; Fri, 03 Feb 2023 06:29:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=m8O7Eb+in4iFMyKSZKYhuiuIHFHL3PaJb5r8x77Y6qc=; b=i8IPwMDBK6D7U86NTuPt5cIyVUk6mlA4mBJvYgIojsxJzoWKibHeuVtli4qnDOL3pt Yd1ld05rY1iYMGsLT5sK2vg9mY+TmQ2TVs/TMmMR3xx6ZDb0RjpiG+7WrXdNZSZhkFhM fq6HG09ZyrS7ZODB9X3lz7t0UVq/c5gpZXxdUliRhtvixCSs027smHEyXP+S0KRc83QX 665VkBj3IGZ2/lflE+CCSqULaMib+1y4TKCByWbm5Q/Qhx/cG3vHJ3GP4kyGz4wZ+gQ4 0l98wD09AeQ7u+us2R2gdWqnlpmUGjXXsoSH69kT11YiFKcWHJSxhUNpgT3WJ5lCbSyN Lv5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m8O7Eb+in4iFMyKSZKYhuiuIHFHL3PaJb5r8x77Y6qc=; b=lFM0aJ9Locjf1yjQeCfmqoZGKETy2b7APbMYDI8AJwXMybAhSx0C0dAy/jdMbJWupX DyudobwH75ifZSdK8HWGnFlTnbogYMsKzH4ZO6K5hqbxeRYEEwLSZ/7Nnc86P0n33goa KF/T2DzZSKeS8ERz5Kg8lMy+U0Dd8o7qg+Y3XQz8HB2XVVREAjF1BM1jikLlr3zDB+oD 9HJHxc4bYCrqmE3jFzLcpynPXY+oXp2VZO/CfXIlFY6vqfWu0IDaZXDVdLW7iSsSVppo Zu8BHj7cbs3N5CDg/LoXJcGiQKmEYdP1dTx0PVf0R8jY2/ZuOIh6rSMOXAPoNZiWXQ/C YvrA== X-Gm-Message-State: AO0yUKXq8lmNAMhSptnlZO2h36cJy0E4mbMvjAsK6/i4wqSVrKrxqdUB 7g/nxxa9PuDRzGzzKfob+99OqBHKoMWdROUl X-Received: by 2002:a05:600c:4ec7:b0:3dc:5e0d:4ce7 with SMTP id g7-20020a05600c4ec700b003dc5e0d4ce7mr9786261wmq.11.1675434570955; Fri, 03 Feb 2023 06:29:30 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id j14-20020a05600c130e00b003df241f52e8sm2578492wmf.42.2023.02.03.06.29.30 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 06:29:30 -0800 (PST) From: Peter Maydell <peter.maydell@linaro.org> To: qemu-devel@nongnu.org Subject: [PULL 02/33] target/arm: Fix physical address resolution for Stage2 Date: Fri, 3 Feb 2023 14:28:56 +0000 Message-Id: <20230203142927.834793-3-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230203142927.834793-1-peter.maydell@linaro.org> References: <20230203142927.834793-1-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x32f.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.29 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-bounces+patch=linaro.org@nongnu.org |
Series |
[PULL,01/33] hw/arm: Use TYPE_ARM_SMMUV3
|
expand
|
diff --git a/target/arm/ptw.c b/target/arm/ptw.c index 57f3615a66d..2b125fff446 100644 --- a/target/arm/ptw.c +++ b/target/arm/ptw.c @@ -266,7 +266,7 @@ static bool S1_ptw_translate(CPUARMState *env, S1Translate *ptw, if (unlikely(flags & TLB_INVALID_MASK)) { goto fail; } - ptw->out_phys = full->phys_addr; + ptw->out_phys = full->phys_addr | (addr & ~TARGET_PAGE_MASK); ptw->out_rw = full->prot & PAGE_WRITE; pte_attrs = full->pte_attrs; pte_secure = full->attrs.secure;