From nobody Tue May 13 23:17:24 2025 Delivered-To: importer2@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1677185225; cv=none; d=zohomail.com; s=zohoarc; b=SMLmrqFBPmypSf1hTwAG6/YD2pOaJHMy3hui+7JIXsYRZV8rnyJTPfjNnNa803RktbMNG8d1WaJ/3GWypphY5S4IYgVakEPkzvzWDChCIkLuL7vXa+tRk8YW9erDo9ffz1sr7V8OEGJg9L1CkXvCwIjCKplScv1Q+NVyE8yR8Lo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1677185225; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=m3uf45aNqmoWHA7BxhgBMDgfKLKR3Hs0LkS31+eiMNU=; b=PR7bX0W8AVZD0CPqwEEthnNdI7t2ZmLaPdqV6mHhPSZ42RzC5MXGbpoHkKORqKF3KiuZQWL28+QqhQ9pfQwTlOXJodiewi/al7mGyVSVdoN0t/bj0bv5k4EzNpWhANwvaL+qdp+ZcSoOiMCii1yyrUEbQ3aJGvU5quWWlnxhHOI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer2=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1677185225790416.0523191837584; Thu, 23 Feb 2023 12:47:05 -0800 (PST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pVIRZ-0002mb-1r; Thu, 23 Feb 2023 15:43:57 -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 ) id 1pVIRW-0002jQ-3c for qemu-devel@nongnu.org; Thu, 23 Feb 2023 15:43:54 -0500 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pVIRU-0007QA-5p for qemu-devel@nongnu.org; Thu, 23 Feb 2023 15:43:53 -0500 Received: by mail-pl1-x62f.google.com with SMTP id q11so14829499plx.5 for ; Thu, 23 Feb 2023 12:43:51 -0800 (PST) Received: from stoup.. (rrcs-173-198-77-218.west.biz.rr.com. [173.198.77.218]) by smtp.gmail.com with ESMTPSA id e187-20020a6369c4000000b004b1fef0bf16sm5992850pgc.73.2023.02.23.12.43.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Feb 2023 12:43:50 -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:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m3uf45aNqmoWHA7BxhgBMDgfKLKR3Hs0LkS31+eiMNU=; b=xFJK81G6y60hJSq+g8lrIzMMCS7am57ThhfMsuBVMvAc+Uj6Kxtm4tCFRuUuUjDERe c2Iv0MPCjRwdmDVbLC478W66+5Rvfkk/7aMJPgR1/kS9r5te6C/gk6secIGq3LyRafEi 0RFXVvoBOA+gP0vyUBBTpzDPo8zVNtfaLndtGQkEC2JQewtBIbCyHXMNxGgh7GZRwLS3 EznFxW9etI6IHHBRHrhqnPbZwcHpiOZutDNiztajwj6VEkYT2JYC9r1q/In/sLJCSKtO ePTjGvgUPz9C3OL1eNeOpJ9jpN5JEJZhQh5x+OvED4qN49i+GaUt+PZ/DoQApggKucVp kiIA== 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:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m3uf45aNqmoWHA7BxhgBMDgfKLKR3Hs0LkS31+eiMNU=; b=Vbv+ez2OgIIPWNz9X4rBRqhAXEl15WMhxy7N0PJRAodgo1yybKUc1x1F6By9C2rQUG ZKE8QRPUtMZoQGgRZEQcArmq1OgfIAgDo/k/NKCDsu8pMPmo/eSsUk4aS7Fg5GmT/mK2 Wyg0SzVxy3WSypw1tc9MYtksbx2nHzurP6I2roi3oNvQCQHjiNkHgHTM834cw6RFcnM5 WfnvCOGfl+U9fB8trKTamIIxAjICmhKhQHlXuxHE0KcXFEMA5NTxXtjJqYcWxxoTYd+L qb3jHhSiRDxUuv9uFFvIrypKwcuzF6eLaZymTOaiy6poIUcr9IL1x6I+230z6Gwq8bTp Y3Qg== X-Gm-Message-State: AO0yUKXha5Fij6yidwMiIwQGzowyFe6D6R3Bi0Vou4cGQFhDJSTwEXv9 oCM7Z9nBN2xVKGnKkSw9C1JPZM5Vuh5Cg0pD+b4= X-Google-Smtp-Source: AK7set+YwK7LQmSdzXvndRhdhCrKpvuF2ZQEdfyTjtDgvJQa13jXkO/97Xe3hXpDm2XlXbtvD9VzYw== X-Received: by 2002:a05:6a20:690d:b0:cb:c266:3f6b with SMTP id q13-20020a056a20690d00b000cbc2663f6bmr8770526pzj.12.1677185030839; Thu, 23 Feb 2023 12:43:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 02/13] accel/tcg: Retain prot flags from tlb_fill Date: Thu, 23 Feb 2023 10:43:31 -1000 Message-Id: <20230223204342.1093632-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230223204342.1093632-1-richard.henderson@linaro.org> References: <20230223204342.1093632-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer2=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer2=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer2=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @linaro.org) X-ZM-MESSAGEID: 1677185227968100003 Content-Type: text/plain; charset="utf-8" While changes are made to prot within tlb_set_page_full, they are an implementation detail of softmmu. Retain the original for any target use of probe_access_full. Fixes: 4047368938f6 ("accel/tcg: Introduce tlb_set_page_full") Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- accel/tcg/cputlb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/accel/tcg/cputlb.c b/accel/tcg/cputlb.c index d7ca90e3b4..169adc0262 100644 --- a/accel/tcg/cputlb.c +++ b/accel/tcg/cputlb.c @@ -1251,7 +1251,6 @@ void tlb_set_page_full(CPUState *cpu, int mmu_idx, desc->fulltlb[index] =3D *full; desc->fulltlb[index].xlat_section =3D iotlb - vaddr_page; desc->fulltlb[index].phys_addr =3D paddr_page; - desc->fulltlb[index].prot =3D prot; =20 /* Now calculate the new entry */ tn.addend =3D addend - vaddr_page; --=20 2.34.1