From patchwork Sun Jul 3 08:23:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 586800 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp2913970mab; Sun, 3 Jul 2022 01:33:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1smVWYtcmcvGvl3ABDZpbILwWXYonVJpd4mi3E69xLcj7BUg8UeOKWHdvah5Qx9iTcmH6nq X-Received: by 2002:a25:8f82:0:b0:66d:f6e9:843a with SMTP id u2-20020a258f82000000b0066df6e9843amr11400412ybl.232.1656837233974; Sun, 03 Jul 2022 01:33:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656837233; cv=none; d=google.com; s=arc-20160816; b=LTLWLkfmCsFCROQ8WspcekjVHvF2gyLR2fAJx6GLgD/M32mSgWWXkto3fYPeSH2nNN 8VQhncCir3LgZCVWEGNDpDGNHfJIPbPFIitqTm6leG+KYmyQAwyHIO3sl9TSFsbhgbk4 bS0XHze+M6qiQ5P3UmYP0hqG24ZxNNKYq3ULpEG5eTtKbo1y5oialzbcr6ffmRWHSv+2 h9lSzufHW933VF3JT7c0l2g9FE/ovyOmASsatDShN9c+70DOm4tHcxRL5jknqgXwqhYe PzX/EDruDZAy2ZiAlnIqSVowqofEtElrRQdFBd7gXXhON+8y+pc8ren2U05RDEkeXqpz 4dXw== 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=mlHd+wwiv8pBaZCez3yDRMnKt1mN27booBhwkoA66eA=; b=ggwX0fri1nCnv0BH1EQLd4AzVvL8LQPnAnot9LCyYFlgPtsEvL35mTKTKVraKWVr2b z6dE3BrPRmNo0n9FqkBMo218Q/R+twdv8Oq8EbExYjlrhXwZURPXBAwKUp7euuLHx8vq lw/GZIqP1Z9jiz3EsbEAOjXfegimSJN3W7NUE3Q3WkGHVW3JXFaxmOce4pR8Z6DRIkSz pBIkLhZMGe0BMR5rxwKRUxnPfsyZj16bRycjFp7GTixTinsk2QmKmh4omCrrj3BAngHV n4yMZyzjnCMO08ssy5q1jmXMpxds694pSiTYCgag3QnVE4E81TFhEvAH7R3FMWcHymjx ETGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y0WctPXq; 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 n7-20020a254007000000b0066e31a4ef63si2774430yba.609.2022.07.03.01.33.53 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 03 Jul 2022 01:33:53 -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=Y0WctPXq; 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]:50434 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7v3B-0003l9-FJ for patch@linaro.org; Sun, 03 Jul 2022 04:33:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52660) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7uuP-0006fm-C9 for qemu-devel@nongnu.org; Sun, 03 Jul 2022 04:24:49 -0400 Received: from mail-pg1-x534.google.com ([2607:f8b0:4864:20::534]:43930) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7uuN-0005qe-Tq for qemu-devel@nongnu.org; Sun, 03 Jul 2022 04:24:49 -0400 Received: by mail-pg1-x534.google.com with SMTP id 68so6236130pgb.10 for ; Sun, 03 Jul 2022 01:24:47 -0700 (PDT) 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 :mime-version:content-transfer-encoding; bh=mlHd+wwiv8pBaZCez3yDRMnKt1mN27booBhwkoA66eA=; b=Y0WctPXqAx1Q/3ThobA6XG7UJZXzaAX9zjC/GsBIPpO/WSnU7wDNmUVJYgD/FuPew6 t+wsfuuwwZoUqp8qY2zvhR41Q6/GesiES7flqc5QuixYWfIRgzHhqO7UP+zwVmkbDjhU 2tIh3SHgL34I6HXnixVTinT2jD9L+HaIpkoB5RK+0j9zLtfMQA+Pm6t1PjLzflvScrPA rY9HSs46AYMlFGACj7RLLWLWIZx/3pGG74P2sOj4F9mwP86uWlW4EZmdwTNugnyUVU5y +ssvJ+k2e1J+sMWsy0uTHhJzuc2xASIi0qUs5NScyZ91hwuHNM+q0asRbFYcvNqDP6/E fTcg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mlHd+wwiv8pBaZCez3yDRMnKt1mN27booBhwkoA66eA=; b=SOjwh0CAPTpCF5o+2uXgBbrZoz4FpvLmuzwgzh79+BKil5wx8AlZYtQc00sgaefq65 pYb/kv9snM85FWSO1t39JMFYXojuOsl7HJz/fRJ16fSDRpqgNHTvz3829ciwGUUIAgMt U/mHWRedugjqVY6KfkiuETaPXD2bwAXdW+KrWzMoU2mCW95WiJvxncoUZNH6bcS4Mp86 k7UxwMgMe9UIjoPtEqNanxYqhrY6+tKIIqrkrp9y5VIqDysyUqdU+ghwu1zdfbpR3C3t t2VEf7GnfYAN9VttOE6QVkuPiH29CdLeWMj75LKKMS0yZh2kvSTGNznd/MB6uSgiK831 o9Tg== X-Gm-Message-State: AJIora/jE12JwVegZI+fZMOORP5TVNhg+DqrSDv4OWCWCKS8paBQS0s7 qAmKu4xJMX7/BlmNS4apjujBDaMSz0wLgMVU X-Received: by 2002:a63:1b62:0:b0:411:4722:e712 with SMTP id b34-20020a631b62000000b004114722e712mr20076822pgm.87.1656836686640; Sun, 03 Jul 2022 01:24:46 -0700 (PDT) Received: from stoup.. ([122.255.60.245]) by smtp.gmail.com with ESMTPSA id im22-20020a170902bb1600b0016a3f9e528asm13569112plb.57.2022.07.03.01.24.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 01:24:45 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 07/62] include/exec: Remove target_tlb_bitN from MemTxAttrs Date: Sun, 3 Jul 2022 13:53:24 +0530 Message-Id: <20220703082419.770989-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220703082419.770989-1-richard.henderson@linaro.org> References: <20220703082419.770989-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::534; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x534.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" We have now moved all uses to PageEntryExtra. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- 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,