Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp69699rdh; Wed, 22 Nov 2023 18:51:25 -0800 (PST) X-Google-Smtp-Source: AGHT+IE184Olp0xH6PAzfWvTWj40T/Fa/2QIUOdJSrAxKQj+6LjabwNorJ9tCSmFWFjwm2dBNrdF X-Received: by 2002:a05:6a21:9986:b0:187:b2a7:c6cd with SMTP id ve6-20020a056a21998600b00187b2a7c6cdmr4880170pzb.57.1700707884481; Wed, 22 Nov 2023 18:51:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700707884; cv=none; d=google.com; s=arc-20160816; b=IK9xBaU73E5cvBjC6IJgVsQ16GO7eeoYEM+//yNLMJ1rrjKAtBh3X2V+9V3xALk7zB SDmBz3id2rYNt14fJh988tFrVcKshjV31aqurSH0iLyiiwmuBCZv73g1YXAsjQExbM4R QgEGKGXrjXmIaRPhHBnmiIFyx3mxHH9IbnWw7CVgAdY27Iws1MMmqlKBH/jdE3LP6iHB DQZLvap95BdRx4nbMKC6fqSaKBRggoLuRUyHy+9yeb/WolQNrQ5zrGqhL5aGrbvLw9kN jBIM0vizXL6zO6MPBH09jMzSU6ECqghm+r2jXQUd3ZtXXZRt22nNgrbOVXJSsB7kuxV+ R0MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject; bh=HIaItuG+RyvAmLNrOqOwcQtOHozpXAmVYXhHVmFhlgQ=; fh=rTkJVrJZkYbL2GO06tilUVU8bFu0KJePBQHGV0oS2bA=; b=jY98Rb7bXCzpKeC8/uAbs1h2vWPRXtX2yqi579iqOwlxnQMNkrb9d2cIJsfgvVJzVd YcGd8EpsFttneWQcVgB8pjfcLwAd93JyOeXy2Az/SXRnrt0/NreNSg4qkIIv+5/HbATf gIvkhIzPTVHD2RqgUetuD8rhB3vGIk1oJuKSYkAFA5mf073oKLeCR7H5vQ0HqHI3K57V 4hFCUX8H8v8KM1RVEG79vkQ0oddLoGKXJ54TzBuPtKrH9wSg5i+z6d1T5LZLrur4dFmG u5C38X8ZYGr0T6OrC5WhpZ0nwB31A5Xit3CchidPYbukXKhPT6vJPRp79nA5UBRDB6gk 3fTw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id lx2-20020a17090b4b0200b002568a675b65si958700pjb.141.2023.11.22.18.51.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 18:51:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 08F6B807D548; Wed, 22 Nov 2023 18:51:22 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232694AbjKWCvH (ORCPT + 99 others); Wed, 22 Nov 2023 21:51:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232615AbjKWCvF (ORCPT ); Wed, 22 Nov 2023 21:51:05 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3946FDA; Wed, 22 Nov 2023 18:51:11 -0800 (PST) Received: from kwepemm000007.china.huawei.com (unknown [172.30.72.55]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4SbMzt3FHhzWhbc; Thu, 23 Nov 2023 10:50:34 +0800 (CST) Received: from [10.174.185.179] (10.174.185.179) by kwepemm000007.china.huawei.com (7.193.23.189) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 23 Nov 2023 10:51:08 +0800 Subject: Re: [PATCH] KVM: selftests: aarch64: Remove unused functions from vpmu test To: Raghavendra Rao Ananta CC: Oliver Upton , Marc Zyngier , James Morse , Suzuki K Poulose , Paolo Bonzini , Shaoqin Huang , , , , References: <20231122221526.2750966-1-rananta@google.com> From: Zenghui Yu Message-ID: Date: Thu, 23 Nov 2023 10:51:07 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.9.0 MIME-Version: 1.0 In-Reply-To: <20231122221526.2750966-1-rananta@google.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [10.174.185.179] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm000007.china.huawei.com (7.193.23.189) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.5 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Wed, 22 Nov 2023 18:51:22 -0800 (PST) On 2023/11/23 6:15, Raghavendra Rao Ananta wrote: > vpmu_counter_access's disable_counter() carries a bug that disables > all the counters that are enabled, instead of just the requested one. > Fortunately, it's not an issue as there are no callers of it. Hence, > instead of fixing it, remove the definition entirely. > > Remove enable_counter() as it's unused as well. > > Signed-off-by: Raghavendra Rao Ananta Reviewed-by: Zenghui Yu