From patchwork Mon Jun 20 17:52:00 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 583179 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp923759mab; Mon, 20 Jun 2022 11:06:35 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vhmr728PN7LH8iLRf/r3Svva00tU75eTr04vLxeOa1+nokTfhdhTgZ6ds7fgkzcGEzqa3s X-Received: by 2002:ac8:5dd4:0:b0:305:27ec:4fdd with SMTP id e20-20020ac85dd4000000b0030527ec4fddmr20797502qtx.12.1655748395853; Mon, 20 Jun 2022 11:06:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655748395; cv=none; d=google.com; s=arc-20160816; b=OmjtdztwW42r7qENUz/xEkfMe4CVM52sPL1iZiK9hjrXA0dJpzVVsH3mbc992qsYJI MAMOCO3Os6JVvLxTdxKyxesEviYAFVE6lTxarGFzK3Y04fDQiAS47vz25ThdHVjpAiiN AuRn+Trav4WxARgzYrAvRgCZN5vbR1EwLDaeNO98p1dXemC8adsWQMgc1rUYY+jH4rOJ I8DWvLk2ejagQ7cmLV/vLdPaUyeRbxiiXdcopP37OmsIy+Z5ti1tlZbiRzBCDXpHXbw3 fUAC8edWb5HcMRmLck2Oq6Ro4sdFFTpP/SgJGMisrE3B2Y/7ffuIG916Mev3i5LRUOiH NwHw== 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=0GkGtDVAyt+ZiAYpm1KJyv57Q9M+Q57+AxwceX30tYs=; b=eZ0roeo3wzh3GLFUK3rGAKqa+r4wMlu1fCXUsRcZ2c5ArlYqk6YE+xgdoLKmFZ+rmC QNyodaxaqLcPUd7LB8brA5nfiwHwm+5it30IiAythJobmr+Cad8kZG9ncK/Nf06vVk0O 4V/dm6H5o5Yc0QieMGreTq6s5nkC1W82AHZggFivKABkBFjzuKvK+WxhHfxKFqdCmd9c Z+xX5xOPf2aclBf2QdnqX8Ur9CSvzz2prrmbaUZ95f1NyUTzq5Wd8+S7oIh9F+AE3s1i F2Zk/CpBGrzSlGnfEFwEGvGI9CW78PDqkji5/8TAvWwRHpq2VQZBfo2ZtZ066+0WDKfo Gexg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="dsq/UyEP"; 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 t4-20020a05621421a400b00461fab6c054si8689598qvc.443.2022.06.20.11.06.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jun 2022 11:06:35 -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="dsq/UyEP"; 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]:48880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3LnH-0004Qg-Bv for patch@linaro.org; Mon, 20 Jun 2022 14:06:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3La4-00065y-JW for qemu-devel@nongnu.org; Mon, 20 Jun 2022 13:52:56 -0400 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:45815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3LZz-0001S2-Oo for qemu-devel@nongnu.org; Mon, 20 Jun 2022 13:52:56 -0400 Received: by mail-pf1-x430.google.com with SMTP id 128so3865167pfv.12 for ; Mon, 20 Jun 2022 10:52:51 -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=0GkGtDVAyt+ZiAYpm1KJyv57Q9M+Q57+AxwceX30tYs=; b=dsq/UyEPLkSSnX//nUKplY2EL2+fM3/aQQhDBOk69b/OZKsayqxlMXYeiNWzcDcdeR C50pQuSJzHP2FlPzZvt1u1RSC+XQULc5V2MRGbR8h8OFgGKe3l7gEiXcQRMzS1QzstgD KH6riiFY9GHH9u+tVKJ4IIF2qo1rS3qvTHIgBYGDDFmvxknJh7oPxK+BTm6nhSAuGbLx pztGn1B0IDs5ZH7Y4dVeBpymWAW+eZ/P9uZRVrvsHf28AKdwXFY0sUgeXY6ySQ2YWG3y lJ3sJp8xROIWazdHAjCU/DIkl50ZLhdbFR57S1ZHod6/tCPFAPt0cc+2hNV0L/jx47Ic Zesg== 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=0GkGtDVAyt+ZiAYpm1KJyv57Q9M+Q57+AxwceX30tYs=; b=6V7ore3gTe8yjumAjLmMyWg2kRkl4FqBV+t4d4FQ4vdgTtSLwNvUz5lyV/uqFNrX4g xpwCexxer4g2+3rhZ/jWYwX0QrE9LfL4uLFtIaUNqbd4Hn9fcF88VVrS32uCeH+cVFij 7ZuIZpUNa3HxNxYbOmW+nFDG2atkplUUmsAZziA2IB3sQMZdIcyuFGyyjIRUKzD5JF0S zENDaWtJZ6jQ5iqrqEvmK/qipTqirstsWHTaWfkTzT9a60JZEoWCoOMBfN5yd0Kc43Fz zasE5RlMraVsFs5iJzgFBmETMahOZA0VQB0iM0yq24eJatGnPKpo/HV//2qdmQgEFUcy trpw== X-Gm-Message-State: AJIora9r7fo4re2MwjmLgNJ8/W0kJvUGjF6DiQ7bgKTTp7Ai2Lebo5XW 8bK9F+Vtx/xqSab2gYOGZmt7hNhOzGugrA== X-Received: by 2002:a63:7248:0:b0:40c:762e:c866 with SMTP id c8-20020a637248000000b0040c762ec866mr12090026pgn.558.1655747570639; Mon, 20 Jun 2022 10:52:50 -0700 (PDT) Received: from stoup.. ([2602:47:d49e:3c01:a3e0:8a80:7b85:aea6]) by smtp.gmail.com with ESMTPSA id j14-20020aa7928e000000b00525133f98adsm5138138pfa.146.2022.06.20.10.52.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Jun 2022 10:52:50 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell Subject: [PATCH v3 16/51] target/arm: Unexport aarch64_add_*_properties Date: Mon, 20 Jun 2022 10:52:00 -0700 Message-Id: <20220620175235.60881-17-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220620175235.60881-1-richard.henderson@linaro.org> References: <20220620175235.60881-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::430; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x430.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_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_HELO_TEMPERROR=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" These functions are not used outside cpu64.c, so make them static. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- target/arm/cpu.h | 3 --- target/arm/cpu64.c | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/target/arm/cpu.h b/target/arm/cpu.h index d8ff78d96d..c73f289125 100644 --- a/target/arm/cpu.h +++ b/target/arm/cpu.h @@ -1097,8 +1097,6 @@ int aarch64_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg); void aarch64_sve_narrow_vq(CPUARMState *env, unsigned vq); void aarch64_sve_change_el(CPUARMState *env, int old_el, int new_el, bool el0_a64); -void aarch64_add_sve_properties(Object *obj); -void aarch64_add_pauth_properties(Object *obj); void arm_reset_sve_state(CPUARMState *env); /* @@ -1130,7 +1128,6 @@ static inline void aarch64_sve_narrow_vq(CPUARMState *env, unsigned vq) { } static inline void aarch64_sve_change_el(CPUARMState *env, int o, int n, bool a) { } -static inline void aarch64_add_sve_properties(Object *obj) { } #endif void aarch64_sync_32_to_64(CPUARMState *env); diff --git a/target/arm/cpu64.c b/target/arm/cpu64.c index b15a0d398a..6f6ee57a91 100644 --- a/target/arm/cpu64.c +++ b/target/arm/cpu64.c @@ -689,7 +689,7 @@ static void cpu_arm_get_default_vec_len(Object *obj, Visitor *v, } #endif -void aarch64_add_sve_properties(Object *obj) +static void aarch64_add_sve_properties(Object *obj) { ARMCPU *cpu = ARM_CPU(obj); uint32_t vq; @@ -752,7 +752,7 @@ static Property arm_cpu_pauth_property = static Property arm_cpu_pauth_impdef_property = DEFINE_PROP_BOOL("pauth-impdef", ARMCPU, prop_pauth_impdef, false); -void aarch64_add_pauth_properties(Object *obj) +static void aarch64_add_pauth_properties(Object *obj) { ARMCPU *cpu = ARM_CPU(obj);