From patchwork Thu Aug 10 02:35:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 712345 Delivered-To: patch@linaro.org Received: by 2002:a05:6359:baf:b0:129:c516:61db with SMTP id gf47csp355162rwb; Wed, 9 Aug 2023 19:37:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG0mVcGUo6NnXn3pRyoorG3cbKHtvrjivu6laK0HXD3xeglOf78uYPw7eE6y0lv2TO3yqpx X-Received: by 2002:a0c:ab47:0:b0:63d:3d9:6391 with SMTP id i7-20020a0cab47000000b0063d03d96391mr852830qvb.12.1691635049085; Wed, 09 Aug 2023 19:37:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691635049; cv=none; d=google.com; s=arc-20160816; b=mqErNsPLjOdSSKHQ5Zlb/ubANQgtj8qXUTRYZiPMj4C++RVLxl9l21n9WPL/0sVsV2 +5Ry454trq2QIQK6XqMHGBkjB213PvHEWyWKgQ5OkLSq+WcExiJvaefoKdbCaiBKYxN6 HJC8NY/tuezv0G8xPGfJi7fk0RG/w2512n4JiM4gL3FDyW3T++szHOHVTz9/FhTCODXf J5hKdkeDtfihW2iT+hpX01VwMDh7QyVbuhm4WvFfYd0pyNuyY7cdMogMYQa+VJhdhAsx ZkGd5/u1a9wwBb1pEML1BN0He/7gRyjyiYeY/Vw5IwIhIQPHi+EzRY+b4vnjdFQCFEvT mT+w== 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=UIUuncYK5LuF874bLlgv9Sndabs4GqkeEig1nWblAF4=; fh=oweadga+1U1BKjDqlK8hSmEWEC1EUfcsKuPkDinEDsU=; b=KVs9/6GQDfdtmJnB4M5dE/OIrkS+qpqaM1ciCFIF1YwgxSrTXQYTUorgC2P770OXyG O6YNmp+Sp42AZi7oMNBYohB4lrwVdTLk2dEXos+AqLLqq3XGtL/iu6Nh/H/m6711A76k OJEOzqPzMR0zmJU0cm1Jm4XWOI5BrpHqXd0QHRmpLyCIDVYJ3LJwxnW97sicuYNxpyA4 AlX5+bjOcP/EF8e5vWeLR+f3JX8+7a/vuLfzhv0kL/7HvIKzu3c+JxED+rxJYQx2ob7T gDxRWjdv4BZME+IKTidbyeN7FLl0mbToRCeyI0iiP8L2Wl+omYbOcJY0e2BZEN7gcESs 6lSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=J14rMj2a; 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 f15-20020a0ccc8f000000b0063d4cfb4d53si224633qvl.438.2023.08.09.19.37.29 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 09 Aug 2023 19:37:29 -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=J14rMj2a; 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 1qTvWr-00011B-Kg; Wed, 09 Aug 2023 22:36:01 -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 1qTvWl-0000vz-4l for qemu-devel@nongnu.org; Wed, 09 Aug 2023 22:35:55 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qTvWj-0004xO-7W for qemu-devel@nongnu.org; Wed, 09 Aug 2023 22:35:54 -0400 Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-686f38692b3so370707b3a.2 for ; Wed, 09 Aug 2023 19:35:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1691634952; x=1692239752; 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=UIUuncYK5LuF874bLlgv9Sndabs4GqkeEig1nWblAF4=; b=J14rMj2aacj5EX9ezHdfTZFOQTc/yhy+QR3vqDVS+RdKti+m6kXabo1mjwCdIYysEq USjXsFOrRhtjwnD6dpZV2zQ8PFEPdgA8g+WZa92hxeXeHrl1j1HLW6oBIJ69a9Y/CpHy H9YHx8OevAaKxQHWcaRLAIePumywdmXHd/bfP6XkM/NHlj3TDlQV3KhapA5KgNjpvNpW jD2fXlXoTXppb6dN94vlYjioEuClCbZI/0ChNZ8NMFWqo91GCR2uTzlmx2BQB/qZNr3D 0x6qwhbS+PfxXzcSNkKAiQfal5ptWj+AUxQqlsg5ef+OSZrmNhWp6XPzMh0BQt3x4hs5 7CWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691634952; x=1692239752; 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=UIUuncYK5LuF874bLlgv9Sndabs4GqkeEig1nWblAF4=; b=UYPqNLRGn+b1qNLmFstjA5DScFFIaWH4msYvz9S2n/6aSK8zTyugN4J5xFp4Zq11u/ CBskpTIJ8xonjStvInBfXz5wi0JcL5vUY2yde9nVmZd6Da14ArBvqwHILIVYYBjFadOA AIweePGKvsT47Iw8kWp8EyGUFR8rJMkKiW5xgBQY0EZqN5ccS45rIu7MGL2AMrHGBQNj tHuglpxcTbdPWGJoB6NLTwZYIQQNM6JFdPym7XMj6bcRoSOGSuWlyVA4ncyQF79SEd7j aD4QRSaUC0wCfzysoxgUMq/hDv+yffWgqMdfzUNsNv2s1fZdWYUtFF7H0eMG3NUXc+xA 0/bw== X-Gm-Message-State: AOJu0YxwedutejVBwnBBsInccleTXIGI19dGp4ojSGUIu/bkVTS0x7NJ fDHvFMu2mPTkmLoa18fhGpNqDiVHUUTUspa8PoY= X-Received: by 2002:a05:6a00:14c8:b0:687:5c3f:d834 with SMTP id w8-20020a056a0014c800b006875c3fd834mr1585369pfu.11.1691634951983; Wed, 09 Aug 2023 19:35:51 -0700 (PDT) Received: from stoup.. ([2602:47:d483:7301:6bf0:9674:6ac4:f74c]) by smtp.gmail.com with ESMTPSA id z7-20020aa791c7000000b0066ebaeb149dsm287283pfa.88.2023.08.09.19.35.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Aug 2023 19:35:51 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org Subject: [PATCH 2/5] target/arm: Reduce dcz_blocksize to uint8_t Date: Wed, 9 Aug 2023 19:35:45 -0700 Message-Id: <20230810023548.412310-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230810023548.412310-1-richard.henderson@linaro.org> References: <20230810023548.412310-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42d.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org This value is only 4 bits wide. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- target/arm/cpu.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index 88e5accda6..7fedbb34ba 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1074,7 +1074,8 @@ struct ArchCPU { bool prop_lpa2; /* DCZ blocksize, in log_2(words), ie low 4 bits of DCZID_EL0 */ - uint32_t dcz_blocksize; + uint8_t dcz_blocksize; + uint64_t rvbar_prop; /* Property/input signals. */ /* Configurable aspects of GIC cpu interface (which is part of the CPU) */