From patchwork Wed Jun 21 12:18:58 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 694770 Delivered-To: patch@linaro.org Received: by 2002:adf:e885:0:0:0:0:0 with SMTP id d5csp817235wrm; Wed, 21 Jun 2023 05:23:06 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4z+FQQ2iDMQzes2D2xCfxtNKhwRfecy84LRxOPGEXU6gcTO814/QUW9rQmJZKdX2VB63ZF X-Received: by 2002:a05:620a:384f:b0:763:ae07:9715 with SMTP id po15-20020a05620a384f00b00763ae079715mr4587468qkn.46.1687350185963; Wed, 21 Jun 2023 05:23:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687350185; cv=none; d=google.com; s=arc-20160816; b=BD5VMNMhxI3Y1/D5g6bzTGxmseC49oiotpG2j9bfrpaPKJi7Ya7Z2w02zbF9Xr+rPu TFD3ZjJob2KMEasiyN9ZSBgUjPrq9drab1nVOOyKj2nz03PukRvcyRKdJcVJnMGCUJ7t 1qDZrWb9PM5f8XvgWsJz0S/XgYhf8r5/9VnVEl4zv50g/nu9wSjwiloaMGvNHVC+8pSj DIvKNB20tQBKUcJcYqsn4MvpuzA+rxsEGy9eZK8vCdII1N62rZ4lZTuSbQT1LcsU3Qhm LZBXbBOyLZAtTqBvow6Rz5nblqWh1XDJ4p8B6BgXBjCyGZ5r1RvbqHjUls/tdfZDeMcE fatQ== 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:cc:to :from:dkim-signature; bh=dTPy8thSqYZgAKDn29KvnLtMmsCZ90i/2T3uJj/CEGM=; b=kIFuD31/IjY53Vrt2CqOQTTY5SDqQpwsNMj/vPPkb2gzM4nfu7RaYzkqTWy6kp5Aor pYwxt/m6Eg9uja+0bxstLdrwoxAIgEaMtBA9AJvjLB7ePrxcHkv3d1G+oqhg/xAGiQSQ QfufB+NTUZXWjRdVYIGFaiohdgTBl1gO1Xzi/G0p1poPSs4DwkbU10X6Oe1CpaUQBIAT 6Jnyr3M9/d8tmBcYHCirD0uN/iICQYS2eFmCjy83MfRdzNJB0gGZiqbS8Pn7RNcGfhiJ k9vtcUeBbqlXnkzKI0HGsA6kRiGECXtIeCLmYdMDfh1zkekldYxp7eL9EL1hySvzuZ/v 4j0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iQf0GyV4; 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 u6-20020ae9c006000000b00761f9af3ad2si1674473qkk.214.2023.06.21.05.23.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Jun 2023 05:23:05 -0700 (PDT) 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=iQf0GyV4; 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 ) id 1qBwo8-0006nP-O0; Wed, 21 Jun 2023 08:19:32 -0400 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 1qBwnt-0006dy-8Y for qemu-devel@nongnu.org; Wed, 21 Jun 2023 08:19:19 -0400 Received: from mail-lj1-x236.google.com ([2a00:1450:4864:20::236]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qBwnn-0000IB-GB for qemu-devel@nongnu.org; Wed, 21 Jun 2023 08:19:12 -0400 Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2b475b54253so52926031fa.2 for ; Wed, 21 Jun 2023 05:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687349949; x=1689941949; 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=dTPy8thSqYZgAKDn29KvnLtMmsCZ90i/2T3uJj/CEGM=; b=iQf0GyV40LYkREx78g9bCoUUZiCecLFIulcYznbS668cpFFWWzLeX7b6Qmn/hF5Aux 2bWrxhApiDDI61O1hV0m4jmqZGq9VpkBI99PHkKLLSfXpoYO21rS/E1s0KqVYxQcvVJr Y84ZPJ1DcSuHzJt+gA/rKBeqMvCQMOyntbqtjhvoQsg/YwftLjkusZ6lRtpddb00j1kO PeZ2otjBaSC9wNnqNidxDkCrDrPTwr1CubNA2h1zQ553mpqQTYMHvVDpBkNJdPoM3hdc D0hlsjNmzwCspkzG51I4UH7o/EsWA/lhTLb2mZ9pboeLJ/AJXgwDcuOyNgfb/mPW2FYh x+Jg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687349949; x=1689941949; 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=dTPy8thSqYZgAKDn29KvnLtMmsCZ90i/2T3uJj/CEGM=; b=jb7SZdU0CGusQT0gicXquuR86Mt+Jl4cYOlJFCMk4LlVzfdeqpdrkvPcohzrR7ygkn GD87RJYS8OEIEswZbXN037LX5AIg04eVcFIxDC+RXp+jL+yOTg5ZXM245GO0xDZnqhYu T+tbuPxXXlH9DrLuVN7Qf11Kuqtm0Aeodgvw8htxKWrW9oYCL4xIKTMNdnv3HSFwtmS3 P/UVFhIqD5dlf/7gDlqvKma4IP5OlFl3pq0BJNq2Kc/snlPzjwKS6dGHpFiwkh7qyTY7 YkDE7nYUHXXq5q3D7LRLkZvRvWVcRd90jtEZoU0FfKfDpgcuL4FtB5sedXz92vtUlA64 4Ezw== X-Gm-Message-State: AC+VfDyUWlzp2WuljJTb53ir/t6/+DjkXa9kKUxmY5t24DoA6QwFq7O4 N857579YnmH5C6H1unn7ukK7M0Lpf88rs56usf6003nn X-Received: by 2002:a2e:80c9:0:b0:2b1:e6eb:1ba2 with SMTP id r9-20020a2e80c9000000b002b1e6eb1ba2mr10713542ljg.22.1687349949599; Wed, 21 Jun 2023 05:19:09 -0700 (PDT) Received: from stoup.lan ([176.176.128.70]) by smtp.gmail.com with ESMTPSA id s6-20020a056402014600b0051bdf152295sm543176edu.76.2023.06.21.05.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Jun 2023 05:19:09 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= Subject: [PATCH v2 5/9] exec/memattrs: Remove target_tlb_bit* Date: Wed, 21 Jun 2023 14:18:58 +0200 Message-Id: <20230621121902.1392277-6-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230621121902.1392277-1-richard.henderson@linaro.org> References: <20230621121902.1392277-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::236; envelope-from=richard.henderson@linaro.org; helo=mail-lj1-x236.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=unavailable 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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org These fields are no longer used since 937f224559. Target specific extensions to the page tables should be done with TARGET_PAGE_ENTRY_EXTRA. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson --- include/exec/memattrs.h | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/include/exec/memattrs.h b/include/exec/memattrs.h index 9fb98bc1ef..1bd7b6c5ca 100644 --- a/include/exec/memattrs.h +++ b/include/exec/memattrs.h @@ -47,16 +47,6 @@ typedef struct MemTxAttrs { unsigned int requester_id:16; /* Invert endianness for this page */ unsigned int byte_swap:1; - /* - * The following are target-specific page-table bits. These are not - * related to actual memory transactions at all. However, this structure - * is part of the tlb_fill interface, cached in the cputlb structure, - * and has unused bits. These fields will be read by target-specific - * helpers using env->iotlb[mmu_idx][tlb_index()].attrs.target_tlb_bitN. - */ - unsigned int target_tlb_bit0 : 1; - unsigned int target_tlb_bit1 : 1; - unsigned int target_tlb_bit2 : 1; } MemTxAttrs; /* Bus masters which don't specify any attributes will get this,