From patchwork Fri Dec 29 21:23:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 758844 Delivered-To: patch@linaro.org Received: by 2002:a5d:67c6:0:b0:336:6142:bf13 with SMTP id n6csp4672417wrw; Fri, 29 Dec 2023 13:31:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IGOeiuTW/PRXfGWlqhP4Q8UDl2Chigz86NHkslLahoA9HjHevVkqlEOuT3Nz45JDtvQU3/x X-Received: by 2002:a05:620a:260a:b0:781:2d7c:1332 with SMTP id z10-20020a05620a260a00b007812d7c1332mr16987139qko.18.1703885496685; Fri, 29 Dec 2023 13:31:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703885496; cv=none; d=google.com; s=arc-20160816; b=e5zHhAuqTjYGKBS2RICqljVNatjj63r4QfQ9GP+xpQas0kGvfGUjbgQvtIzlCN3XRs xRBPVaxOpe2pHewTj56rqcXQ1sBtDOjsTAjvlUHh5U8MK/O4t3BhK5Xk+0bVv3Jgfexn SFwZAM1M7QyiLSuOmPw1InCFE8lUZqBjtVTlbZ7TcXePeUtz8ddn3fYSVYWzGtmZhad1 cO9th++cd7WNUdGIicHEb7gCP9QnNZXEMmZsgXtykg4hsoWlZo2YqBpKvCGG6blmuXc7 51p74/+9U0XXxxcLezGXbQjL5gHS77tVUR9KiV7pYBeWH+RMPD+ALE6RnsMCsHcGylW8 ZI+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:to:from :dkim-signature; bh=aNh1yh21I+GB6YiRXDF7E0H7kYf0QvfrR1nWFgKbksM=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=QK+NJGBmrciNlOmHfKLnTiiivK+a6Ls1ERM/JLJl84JhbCPi7jhOoqqxOoTKuv/5ZF aU5Y9gbiA2fnCq/GlFGmC4LqpnO+QY2N7wDoxtJ/GZilrGi78WKVaP/8bfSvC/ncU+Wu ZprnizDAZ5fdo6osNW+ti26O54U7rzCNLuQfbfBejo8+ZekmOngyD5zQTGktkmvIf8tk fOekpOuDM3eCQkSS9PXFvwfTfovDKSiRsPfYGwglSOyeVKhYWfzlGRrNuEvx4Uy3UJaw 4gZCoe0NwVga732u7/Mpk+LmMmef1mP1Z2yui+MpTv+96z6irCw69TpvezuhATOvB2aD khew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Qvd4mDic; 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 vu19-20020a05620a561300b0077d9accf19fsi19108004qkn.352.2023.12.29.13.31.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Dec 2023 13:31:36 -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=Qvd4mDic; 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 1rJKPm-0007Qm-H5; Fri, 29 Dec 2023 16:29:10 -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 1rJKPk-0007ID-8o for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:29:08 -0500 Received: from mail-ot1-x330.google.com ([2607:f8b0:4864:20::330]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rJKPf-0000MU-C4 for qemu-devel@nongnu.org; Fri, 29 Dec 2023 16:29:08 -0500 Received: by mail-ot1-x330.google.com with SMTP id 46e09a7af769-6dc076e9e59so1478170a34.2 for ; Fri, 29 Dec 2023 13:29:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703885341; x=1704490141; 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=aNh1yh21I+GB6YiRXDF7E0H7kYf0QvfrR1nWFgKbksM=; b=Qvd4mDicmxBEif2vOlXfGSRfunKUV3hj60ek6kTa3iruemahC36Z5pqyzcBsFlR9ne qauXgmaCrxMDVCobHwsx3Tb57H1uZMoMTFN0DylXmUlboGkqfqMrC7dGS6FLHJJUdXU7 BcjCwd9CL+kpaZSHexJk3d3oL7Xyfv6SxB96Rs7AlTRTQtHh0tC8qSzbp7AO3xyjUm6h AkLs+BUr37D2lG+8uAIJe/usTzkULmlowEBxgAnn03DrVqXiHqv/AfW1InXul58OSnJo 23nrJbA3LOTcuhnprtQ5Emktnnlq+rFDjDtVR951Gt7fAeuqXliVuViSHjtaYyWnCNmN 2PTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703885341; x=1704490141; 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=aNh1yh21I+GB6YiRXDF7E0H7kYf0QvfrR1nWFgKbksM=; b=NepfsGJR703BpdD0LyXLBVU2PLQHCnj4+OhqkwXZ9xN81IAGNSQ9ZOELL5XzcUdypt H9ng72KL9N20WV6zWgDF60YDFXyapVhzJ24ttvT7p1npcX0qFee8jufiENfLGXQirWDw yyHzJTFmPhuI0XLaBKhXDilnMFMDl+WYmB6e8cBm/GgjUC1q43Tms6zwPI8S2iGqyOjs U1WdvNOTa2yfEjW3L8RPH2YPAAIWKnj5GWdSTPYvHJzzxWilJm6pCbM8Xa8+4RhaCo5T K+f2lkGZ0fc9N5PpXwrHX81FMeoSOuotQHUxe/Mo8hUvDbjX6jomzUMU0cyWCc5Y16Ap xncw== X-Gm-Message-State: AOJu0Yz3nQMadDF+0C4N6pUEqjMqCC965q4axzvnQbcDG1Kplncr5aSE h+C420YF7rPCm99SbdCjBo2I955quxtTNszMu4O5ayVWZAj+bg== X-Received: by 2002:a05:6870:63a1:b0:203:e9cc:4878 with SMTP id t33-20020a05687063a100b00203e9cc4878mr14659108oap.46.1703885341178; Fri, 29 Dec 2023 13:29:01 -0800 (PST) Received: from stoup.lan (203-217-28-32.perm.iinet.net.au. [203.217.28.32]) by smtp.gmail.com with ESMTPSA id bd33-20020a056a0027a100b006d9a96b7d0dsm11285396pfb.208.2023.12.29.13.28.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Dec 2023 13:29:00 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 54/71] hw/sparc: Constify VMState Date: Sat, 30 Dec 2023 08:23:29 +1100 Message-Id: <20231229212346.147149-55-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231229212346.147149-1-richard.henderson@linaro.org> References: <20231229212346.147149-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::330; envelope-from=richard.henderson@linaro.org; helo=mail-ot1-x330.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=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 Signed-off-by: Richard Henderson Message-Id: <20231221031652.119827-55-richard.henderson@linaro.org> --- hw/sparc/sun4m_iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sparc/sun4m_iommu.c b/hw/sparc/sun4m_iommu.c index eb40f9377c..06703b1d96 100644 --- a/hw/sparc/sun4m_iommu.c +++ b/hw/sparc/sun4m_iommu.c @@ -331,7 +331,7 @@ static const VMStateDescription vmstate_iommu = { .name = "iommu", .version_id = 2, .minimum_version_id = 2, - .fields = (VMStateField[]) { + .fields = (const VMStateField[]) { VMSTATE_UINT32_ARRAY(regs, IOMMUState, IOMMU_NREGS), VMSTATE_UINT64(iostart, IOMMUState), VMSTATE_END_OF_LIST()