From patchwork Tue Jun 7 20:32:31 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 579362 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5806:0:0:0:0 with SMTP id j6csp5523705max; Tue, 7 Jun 2022 14:23:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJOfH4T3Z9fvkKXKRyekhG6NPo3u3RcP46x7LNVTt0lZNnZ65DS6x45Xv/ztad1ohOrgkA X-Received: by 2002:a05:622a:164c:b0:304:c605:4d34 with SMTP id y12-20020a05622a164c00b00304c6054d34mr24715229qtj.553.1654637018487; Tue, 07 Jun 2022 14:23:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654637018; cv=none; d=google.com; s=arc-20160816; b=g7skKsBWmIdH1wJvYDi6fRpEREa+8i1CaoGkJFTM6DSenf84hlBCpFyhNEWyoIl0jz 3TSJbVUak6ms1yRJMzqHgn1QKK2R6yGgsD/s6DqVG1SctnXVMcvmZf2uGT6+uMInS1Or 1ti1u3AGYHB/xQ1AKzJ0pw0q+xgb3rVbBqTdTYCc68ykIumSctuZuEKOP+J0tksrYlIe E2rpuIib7/BoRC151ZfRlgEOuxHk9WrRwiGVlYja+CkGvbJiGxiY2BwrLejBve1TNVPY wqsaqi9RimtSRla2+hYQkgPxZ6Qhw5A1aQOa1Mv+nBVg7TYhRsmhupL7oB6peRz+eCRw mIog== 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=lr8nU07ATHOfF6fXY/tNxkqqDhGq3qxiduBu16rymxM=; b=h9zVs9eF7jrh5uKvh+jhnBHfcVIiPjYM9tVAKXN72r4kUaZ6MOLrXTyTmHY7QJ2FXF xD3xQ7R26RhTs5I3NBKdzNYA5j4ckGOGEseAWoUR0AGEezyB8dZCy40TawI82Oy2dZrn 6zhBVcoGluPyKDJQ92U0q8tjuAnd/BWQWtmfTxkkH4I7ay6j5ouY8/FlPfxJwMJ3mXIR 9NQR3WVKopBx6orXzuzR+i3p42pNI1yWUy/FuOUN3BKbN5iZNldEUdpMaNkFsfTbu8OW nzQGcs3CtckR+20nhkvK0m3qGiJ+Kx2cwjzLq9Jicgbf0/IZ0HA7QjJB74fdgX3Yk1Xl DE8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="NV6/dE+r"; 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 w7-20020a05622a190700b002f3eff80fcdsi10943689qtc.452.2022.06.07.14.23.38 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 07 Jun 2022 14:23:38 -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="NV6/dE+r"; 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]:33360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nygfp-0006ne-1A for patch@linaro.org; Tue, 07 Jun 2022 17:23:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nyfte-0000Nm-KG for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:33:50 -0400 Received: from mail-pg1-x529.google.com ([2607:f8b0:4864:20::529]:34697) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nyftW-0007TZ-K8 for qemu-devel@nongnu.org; Tue, 07 Jun 2022 16:33:50 -0400 Received: by mail-pg1-x529.google.com with SMTP id g186so8076296pgc.1 for ; Tue, 07 Jun 2022 13:33:41 -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=lr8nU07ATHOfF6fXY/tNxkqqDhGq3qxiduBu16rymxM=; b=NV6/dE+rxePGYSNNSPx0QSoT9PYlQKsOvAAYE9It/RcORdGiNZiKJf+YvBNdykBatE kjeTFKW1aTTZf6Z0fLwcdnQPtkBNJTuYOhezoM4xbk4leZxZwIjAmieboJgT0vlYZTJs mj/WQWCRKzZeTXJkNgPlCz05aTXCPNOdlHZGRfYu9rQPA+DYNndOZFq5PDK+fIy1OMiK /jcEHDAqe5W7G3RhbmMmxvKATbNjkTFqiR3/G3945A7RvIuHDD9S2txCpjOR141X5NUv FKzH3dlWp17FdAe6T1JS7Ps/mkJcIKbvu5gRURsukvkinJzH6Y+M2uSzuNloUoVTs+R2 9hTQ== 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=lr8nU07ATHOfF6fXY/tNxkqqDhGq3qxiduBu16rymxM=; b=l0ULRnZ+7mbZ1fPSXovyGdueTpCxgtWbJRughM//2vg+LQcZRayOO3W2Fq2VwZbSK4 YBcPSwgcgEYukDxihgD5DQTLPejWufGy97HDNK3brm5R3iZyFWxDwluPJx/FZqaakZ/m HJIpgZQs1feokhF+se1lNWJJfZJ5GOZ4Z6BcgknMqt89zaBe6h6/vDgJpNvLyqL+1+l5 XXDqgb5p0Yf6s7rIbMRrTSFKv/ezVyGIVmcyFZKyMfAlK8yB8qiwiW6PHA4oYWvMQ9qb ownjyjXx3AklTOYeEc7MzCTNIDYYFRWhrwLMx1mt5nWrLskH7ntTsJsntZMJNi7N+Zqy 4K8Q== X-Gm-Message-State: AOAM533wTonuNWO1JkATvdatdFgN5LuOAawRXw/AHF9UpOaI9pY1AnGw OO+rMeUiPuY3gbyibL4y+e5chaVRhMqbig== X-Received: by 2002:a63:480c:0:b0:3fa:7277:bf34 with SMTP id v12-20020a63480c000000b003fa7277bf34mr27186216pga.35.1654634020767; Tue, 07 Jun 2022 13:33:40 -0700 (PDT) Received: from stoup.. ([2602:ae:1547:e101:3cf2:c634:5b19:25f6]) by smtp.gmail.com with ESMTPSA id s22-20020a17090aba1600b001d9780b7779sm4227856pjr.15.2022.06.07.13.33.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 13:33:40 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, qemu-arm@nongnu.org Subject: [PATCH v2 36/71] target/arm: Unexport aarch64_add_*_properties Date: Tue, 7 Jun 2022 13:32:31 -0700 Message-Id: <20220607203306.657998-37-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220607203306.657998-1-richard.henderson@linaro.org> References: <20220607203306.657998-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::529; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x529.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=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. Signed-off-by: Richard Henderson Reviewed-by: Peter Maydell --- 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 25a77ec676..8a89548cb9 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 c5bfc3d082..9ae9be6698 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);