From patchwork Fri Mar 7 15:06:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 871192 Delivered-To: patch@linaro.org Received: by 2002:a5d:64c8:0:b0:38f:210b:807b with SMTP id f8csp809948wri; Fri, 7 Mar 2025 07:10:37 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVHE5k9xre3MNjM5exnWrh5HhL/6xsubk4q7q98KM99gekLii/nIVbWR5KK8BZmKXsr2pGFFQ==@linaro.org X-Google-Smtp-Source: AGHT+IFci76kEMoQzBmq4acViXNTU7+pbOH94hK/gtcc4WCQC+80BVRRxzCNOASgVGHWQQNjhe4O X-Received: by 2002:a05:622a:43:b0:474:f83e:9e73 with SMTP id d75a77b69052e-47618af3908mr52386321cf.50.1741360237195; Fri, 07 Mar 2025 07:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1741360237; cv=none; d=google.com; s=arc-20240605; b=IoLUCSfchhU7c45nTcudqWq3Wb8vkM7iaqqlbmcPpJuHIxLYeiUuSSvMw1+vnR79ah OA+L4h3pKgqtMqTpVXTsKCGoXmXqWKeUvnPdOxbj9wItgj+KmXsDz0XOgE3c7/mqeCP7 HJ1Xc0gFKr+yIOS1G6YHJRrBSOMraumQ2w9qFJ0dZ7T4AkgOAXOgO9SR8wfEzxRVFN8N GchOTXt5Sq14sZ0P5/8a5iBBle09chBP58XIl/y0BGlhlwh9YImMPtt+TkZ9CoC1AOHu wh/m5+e6zfvwk7GXfK3G7NpIM4Y8Pipx+qpT6XmcZniXVYQ1cWMHE85jw5ImPEwd4UlO uNBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=+QkSXpcJmb4SjhyzEiZSJ5JG+w4vRWp9nEHIGthYBHI=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=PQTBBHUqTB2r5Kgu8TFjJQve+GjABRImRUs73kAaoCUP2wzPKZ+8yyRAZtBMj6xvm1 E4NSMpzNHSOCT2YNmHdsaWnJuUNB011bIO33zYNbd8NrYgJzzt4AgS/M6UEuiXpTkCMY n4WJlzgOwWe68hUmL6WaPYWYNAAP8/e0ogiJw5qoVBt0Ash0NgcsYwxvMr+jVZGFtsLN wWXIEvv21hGZs9MjUN/1WIk+/I2hJcaygAbx1WYPsO4jfyfo6cfTLUowVxYkqczBmxBx JDbpKTPIupxUP8GmUyPeM8F1jyTNWL5ytW4iAFjIWTs+YOFNYmLBBlnj0Dzsm+ylTmt8 k5sw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=thqRFN7z; 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; dara=neutral header.i=@linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id d75a77b69052e-4751db1afc8si34329011cf.416.2025.03.07.07.10.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Mar 2025 07:10:37 -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=thqRFN7z; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tqZII-0000vq-NM; Fri, 07 Mar 2025 10:07:22 -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 1tqZID-0000uh-Oc for qemu-devel@nongnu.org; Fri, 07 Mar 2025 10:07:18 -0500 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tqZIB-00088N-8r for qemu-devel@nongnu.org; Fri, 07 Mar 2025 10:07:17 -0500 Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-390ec449556so2383743f8f.1 for ; Fri, 07 Mar 2025 07:07:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1741360032; x=1741964832; darn=nongnu.org; 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=+QkSXpcJmb4SjhyzEiZSJ5JG+w4vRWp9nEHIGthYBHI=; b=thqRFN7zE2ku6n9akLdRiBFPzENE5uCDlJgsUdrscgNznRrR2WBJG78H1tOekZDBQE OPFmxXvH8Xb8h4Huge6keL4PAePUx2pp1YAF1a2FWkCmDJAXt1M+K2lj/2Sby3pg0l/o +NOFExdOFx4kwghtUI+O5llA75ExJ3Xt9lumN4o1GN2Hj5ZvAqxt0vHSyFZYFbBmGiIe PvAel6r80J6uVhH3l6p1/dvi2aex2Jy5ZK1aG//GCszIBd2RKkQcV62Ba1SttnqABO6O i8w3oQ1XFUu9vpa9lkzIezrZYRMg8JYK8DVIYeaqy9guZiaYdxI4gVkR/tfuWPccx3fo nDow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741360032; x=1741964832; 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=+QkSXpcJmb4SjhyzEiZSJ5JG+w4vRWp9nEHIGthYBHI=; b=i/DK7xKDwvcdJqadr65nVHNRbNAdS9KupECfPns6AYrBjlrkduHAmhYi6v2/yFtBCR N3Q45YcdpG7REFvATwdpssQOho3iEqHd9HAhCFVY3pqEqg3eDJQ+dlI1tcz3oRiepL/E Sj35ZbhZfLsmU2BBrqoFZ0DKktLgJwK84AOY3x1pFRcZnpSPf+lBqXeDy9rNzcRm5Tvo YSG6cjByLkco5cwYlC1X3NxoQL4cmv9bKOwlMxqj3K9slYq+Snabts8o+nRXGBEXGwSa DMpTdQY9e35FxQHFTToZzqDjFISO03lt4uJ61ejtE+zriY1QwAHrvzGkl3D0eeJcBqIh NRFw== X-Gm-Message-State: AOJu0YxxjhsBZrgwOabBX1UwX5JlTVlLf390eGG0U4MlzA+xnK6bj0ud wsRz+VT4g5eOKmeoJQZ5wZCsjnI6SLNxVH+bHbDfqvElsY6uPsXDFvtgo80sFOTkwwGF0HASztg L X-Gm-Gg: ASbGncvRUg27ZZI8T50qkiWVnXJKESXr59RglFpR9fqfhRz/o/LQFjYRMAgjWYdnpge xWlvim1Gc66l4FBe2uhN07GRiz0WrFS4Lhhoqrm4HHV3PK/Y4FJcRPWDt2DghPDn74p6SRXOP34 Lk3NgRMT6Qpdd8m+PuKWawdIaplUpjrStb62tDdL6/JdGy+Pss8Eg1aPdB/By19bbWKAfRfWGcc N3xOcRVD1mV8NdPg5mtRyscM0RWfrHAEkNlzqjAYemRazVsRMd3MdQte47J1HFxlKJTO/aaiZEK FvuxeAqJm9hcvlx57a4hlxYFNxLfHtK6174QQAAhyqGonmQsQN4= X-Received: by 2002:a05:6000:1a86:b0:391:4f9:a048 with SMTP id ffacd0b85a97d-39132d095e2mr3263933f8f.4.1741360032400; Fri, 07 Mar 2025 07:07:12 -0800 (PST) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3912c1031fdsm5443627f8f.89.2025.03.07.07.07.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Mar 2025 07:07:11 -0800 (PST) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 01/21] hw/arm/smmu-common: Remove the repeated ttb field Date: Fri, 7 Mar 2025 15:06:48 +0000 Message-ID: <20250307150708.3222813-2-peter.maydell@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250307150708.3222813-1-peter.maydell@linaro.org> References: <20250307150708.3222813-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::42a; envelope-from=peter.maydell@linaro.org; helo=mail-wr1-x42a.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 From: JianChunfu SMMUTransCfg->ttb is never used in QEMU, TT base address can be accessed by SMMUTransCfg->tt[i]->ttb. Signed-off-by: JianChunfu Reviewed-by: Eric Auger Message-id: 20250221031034.69822-1-jansef.jian@hj-micro.com Signed-off-by: Peter Maydell --- include/hw/arm/smmu-common.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/hw/arm/smmu-common.h b/include/hw/arm/smmu-common.h index d1a4a64551d..e5ad55bbae7 100644 --- a/include/hw/arm/smmu-common.h +++ b/include/hw/arm/smmu-common.h @@ -110,7 +110,6 @@ typedef struct SMMUTransCfg { /* Used by stage-1 only. */ bool aa64; /* arch64 or aarch32 translation table */ bool record_faults; /* record fault events */ - uint64_t ttb; /* TT base address */ uint8_t oas; /* output address width */ uint8_t tbi; /* Top Byte Ignore */ int asid;