From patchwork Sun Dec 15 19:04:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 850962 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:2c4:b0:385:e875:8a9e with SMTP id o4csp2520118wry; Sun, 15 Dec 2024 11:06:57 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW3Zm1Jx9CPwYrRcCZpzG+7na/kfBBhhGT/AOiVv2+mDYa93sMX3SC2oduAhIYZB3aOnkCmZw==@linaro.org X-Google-Smtp-Source: AGHT+IG+Vn8lWpB8itrqqiGoJ4RFoQTum43tS8GptUkD6mogoTHRLt1gHDAitlw570wzftNQpDOL X-Received: by 2002:a05:6214:1947:b0:6d8:8da9:e418 with SMTP id 6a1803df08f44-6dc96874f40mr188888166d6.40.1734289616846; Sun, 15 Dec 2024 11:06:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1734289616; cv=none; d=google.com; s=arc-20240605; b=TjFVE0AUV4eRqfsmthjqe7UNM/9JoAwd6sT4f/lNPk/c26tqHNu3hR+UHTaul8bs/5 OV0VSFG1HyseVfhEvFuni/5ZRmesjrCol308mOZSsiSrhrDV7rE59DAZq+nBz9cbNorO +eIwOrZhnwJfHKXzwNY11N2R3PtEpW+GxElT1hZ8w/axDuovnqk8ZpX9Fd0ZKtnUQdjL 5m0cxp4z714MT8lWjaRyVfFDiCyIGK34kIl6WfSvHHH77QBIqndTJstX5UbHjpKxlwd4 CLsJeK3Ymf6u8tjchMlZwstBiTkcN6MaNozqNU+2N+dW7W+nM83CsyxX0b0Z7KRfbxlz MLcA== 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:cc:to :from:dkim-signature; bh=4KqTM/+wxwYqUqyOIxknRrXlNo+1wIkfDm+xIm6YiEI=; fh=T7oTPSt4FXKpDr/tVBHaVSUZbe1a6rFtypW2u95Un3Y=; b=FNGgNj+UKonCtF8IVvExl6OZsp60sHUPqICtfvgmAHaO0ZOogqi/RznmiSVFvJpV/N s4/fZhmAr2Fm6Us306JqPFFOl0/uNQ+bZiiVNI9YrK0rQ+v8iBR9azCu4VqpQuXs+Fq6 bJ/D4yHIUaTnfPktQ8RfIeEFDvdgAIGfF9TOCKVcXaVHcloTHfw6+TII2EX8gu9nXwZN 2R7LhrvX6o6s89RdDKP5q86pNI1T123NXY0Ra/k9onBw5aBCIsRlqZYJR0BzZ58YaOde WaeFcQ7EZSS358Gv35ORUVkW4Pu1r0Ib84RcfWswzugPahO4hXjq5IyFnxSkZiqiScot QL0A==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=L+MhTAld; 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 6a1803df08f44-6dccd1bb090si51062436d6.56.2024.12.15.11.06.56 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sun, 15 Dec 2024 11:06:56 -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=L+MhTAld; 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 1tMtwB-0001FV-Vf; Sun, 15 Dec 2024 14:05:56 -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 1tMtw9-0001Ef-7f for qemu-devel@nongnu.org; Sun, 15 Dec 2024 14:05:53 -0500 Received: from mail-oa1-x2a.google.com ([2001:4860:4864:20::2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tMtw7-0000zS-QZ for qemu-devel@nongnu.org; Sun, 15 Dec 2024 14:05:52 -0500 Received: by mail-oa1-x2a.google.com with SMTP id 586e51a60fabf-2a3c075ddb6so1026509fac.2 for ; Sun, 15 Dec 2024 11:05:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1734289550; x=1734894350; darn=nongnu.org; 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=4KqTM/+wxwYqUqyOIxknRrXlNo+1wIkfDm+xIm6YiEI=; b=L+MhTAldJmdGi24wKbiv5TLmw8mohHx8UxagdnPrJTguY7s7aq+UcZfwnw8+1AU96n r9Arc6xcQYy7Bm+tvUUWnBBNnSv4B4s0umUkKfWCCgrVSOUINjv+gtZb2V+U5LASrKl1 /ySuUf1kTgDEZLlka3AMw7ExvN2AWaFEaQ28u++GHkyZuc/h+TQSmQ5ejEa4pq+MYY5o dXSS+OJpfvTkxppKYk88MVC9FrLjBBTd55dgaXEUJvlVi+ArsiRdZAEzzT2YEMlq8Is/ ipdNfxa1ggd87rQMii2u3sd4GmiK5+/46dog6VkKWzth58e/WFQEm+ashBf1Ew0i4Bta 0IRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734289550; x=1734894350; 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=4KqTM/+wxwYqUqyOIxknRrXlNo+1wIkfDm+xIm6YiEI=; b=efNEMI5xQf8elMPXjZr4gVTSZYBhFAZVnASk9kakSbhCpSqQieZQOL4lNrA7FNP2xf tZgkcRvFhx0Ne+pJ+aJomqUFx1crbkY4qks4MP/Jf8BVxst1yTi0JFMQCOK/d0vFv5Hv 1q4FUqlkQIRC5DL5BpGlosBMBogeQbSzdWBWpISyOhdEmxHJ8u4CELqBAAW6DfhsGdqR e2AAI5NZY6hvlBIsnNoNUwd2BTkKSy+DQnvtAT0nn9gH4El67XVtPZmBnhj49BWLlFuC jg3kOqBWPUns7OAq9hXnQGXL1RTzcIQIwBtKHsGMhPm5GCDC2WAO/32I7GPt64u2H+Jk V2og== X-Gm-Message-State: AOJu0YxY4O2iFz8oZITN+iDOUAhdoqxzV3iFYDHEDm0I8/DfJbfSdtgm BkXMbciOQoF1JWjELwh8ItLEsJOLHo57Mmst9zXEQUxFWRHKPww7uoteWNI7EwCH6WDCChnqYwG fCbsuT2du X-Gm-Gg: ASbGncudsWro1loZqISiWp/ImuwYQiWCUNgt9dhEWcjqO1YqftcoHBsnMjxkk5Mtlxw 8njAJ4HnsGSMqRP5XUOTkqKDngKheQx2H1/+uqIdSpnmSOhqd04qCWWqi33pI0BhEsJHEM8usrN p/PQRoKio2C2/fB3cTHfSYZyeADXslN7qlUwCnD7OhdNFt3N8V7kcouzYgBiqwGkt17rmj00qVo 4Y7VDvODvYGjKVeLn9XpGBEoqp1lmpu78uHpmQiH9LatuXBsz3VmLSO0NOXvoX60lQRJJfMUkf/ 6ZDrb1tfC3JAwxd9z2APi76r/fRR+cMETsL3XzO6iOw= X-Received: by 2002:a05:6871:891:b0:29e:5ffa:b769 with SMTP id 586e51a60fabf-2a3ac8bac38mr5487674fac.29.1734289550637; Sun, 15 Dec 2024 11:05:50 -0800 (PST) Received: from localhost.localdomain (fixed-187-189-51-143.totalplay.net. [187.189.51.143]) by smtp.gmail.com with ESMTPSA id 586e51a60fabf-2a3d2914ac6sm1423214fac.39.2024.12.15.11.05.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Dec 2024 11:05:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Cc: stefanha@redhat.com, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Daniel Henrique Barboza Subject: [PULL 07/67] target/riscv: Constify all Property Date: Sun, 15 Dec 2024 13:04:33 -0600 Message-ID: <20241215190533.3222854-8-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20241215190533.3222854-1-richard.henderson@linaro.org> References: <20241215190533.3222854-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4860:4864:20::2a; envelope-from=richard.henderson@linaro.org; helo=mail-oa1-x2a.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 Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Daniel Henrique Barboza Signed-off-by: Richard Henderson --- target/riscv/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 80b09952e7..4329015076 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -2661,7 +2661,7 @@ RISCVCPUImpliedExtsRule *riscv_multi_ext_implied_rules[] = { NULL }; -static Property riscv_cpu_properties[] = { +static const Property riscv_cpu_properties[] = { DEFINE_PROP_BOOL("debug", RISCVCPU, cfg.debug, true), {.name = "pmu-mask", .info = &prop_pmu_mask},