From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 225083D8127; Tue, 10 Mar 2026 17:53:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773165187; cv=none; b=PntrQXFL1RND8+s5wouVPEtIm9tx8/Ud3a0Iv9gVuEAfQNjk7x0TGtk57IG9q/bU8xFYbUazk6q6mGDAOjC8o577hM1V883VmHuDZ9p7aKJlVoPkXlvWRGYN284a+mHQ56pZHbjWjCAO0CC2wmcdm5pMqpcLMPRJNC8X7jNZT/k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773165187; c=relaxed/simple; bh=WO2FOycvuuimWf2BBulOdnsAjAo+YazNHVVwxkp7CTQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To; b=ZCvBZQfG1HtZq82QDgI6g7a3FjjKn04wJMU334qjLDMqo+dvs6IcSjtICDicC/+TG/vHM6cMed6WbmHhVgq8NCTZtur7tlZ4YC55EpA7mqIF5y2lVqLcmYVm6iotP17sk7/uNhOVUmk1RjZv776c1gzy9eu2KxL1q8YrjM0gUVY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=eBcXb+X8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="eBcXb+X8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 72949C19423; Tue, 10 Mar 2026 17:53:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1773165186; bh=WO2FOycvuuimWf2BBulOdnsAjAo+YazNHVVwxkp7CTQ=; h=Date:From:To:Cc:Subject:In-Reply-To:From; b=eBcXb+X80rgKqCBvLspNlTOV1vd/pku+H6vrMwjnIUc1EPld/SwvI87VOk2v9spAk mQwzcYlSAluwZ68uAzim6BOLYhwuR8hvCczaCcrGemVxRjRgvMRz7of7bwaxtz6kRd 8qySGXq8grwSK5TKxbSjaXWiTsWNvgZx6eHB/8xZY8WWUeaScw3fMAM7MDLDfNxl7z tuQvq86WkhT8OZAzrXBsWUK0J89R9XxcjJg1hqWabtJJwZex+dDwXjeMi63lPBbZNv qOKy8IvjIYCvJ2lP43twwYPykiMiWqj4+PjF4xTACYlgH5VX2O6O8QN3kfkzkExPxm ckaiF6BuuSr7Q== Date: Tue, 10 Mar 2026 12:53:05 -0500 From: Bjorn Helgaas To: Chengwen Feng Cc: Bjorn Helgaas , Catalin Marinas , Will Deacon , "Rafael J . Wysocki" , Jonathan Corbet , Shuah Khan , Huacai Chen , WANG Xuerui , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , Juergen Gross , Boris Ostrovsky , Len Brown , Sunil V L , Mark Rutland , Jonathan Cameron , Kees Cook , Yanteng Si , Sean Christopherson , Kai Huang , Tom Lendacky , Thomas Huth , Thorsten Blum , Kevin Loughlin , Zheyun Shen , Peter Zijlstra , Pawan Gupta , Xin Li , "Ahmed S . Darwish" , Sohil Mehta , Ilkka Koskinen , Robin Murphy , James Clark , Besar Wicaksono , Ma Ke , Ajit Khaparde , Wei Huang , Andy Gospodarek , Somnath Kotur , wangzhou1@hisilicon.com, wanghuiqiang@huawei.com, liuyonglong@huawei.com, linux-pci@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, loongarch@lists.linux.dev, linux-riscv@lists.infradead.org, xen-devel@lists.xenproject.org, linux-acpi@vger.kernel.org, linux-perf-users@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v5 1/2] ACPI: Rename get_acpi_id_for_cpu() to acpi_get_cpu_acpi_id() on non-x86 Message-ID: <20260310175305.GA730372@bhelgaas> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260310032049.25387-2-fengchengwen@huawei.com> On Tue, Mar 10, 2026 at 11:20:48AM +0800, Chengwen Feng wrote: > To unify the CPU ACPI ID retrieval interface across architectures, > rename the existing get_acpi_id_for_cpu() function to > acpi_get_cpu_acpi_id() on arm64/riscv/loongarch platforms. > > This is a pure rename with no functional change, preparing for a > consistent ACPI Processor UID retrieval interface across all ACPI-enabled > platforms. Really a question for the ACPI folks, but my preferences would be: - Simpler name for the interface, e.g., "acpi_get_cpu_id()" - Single prototype in generic header, e.g., include/linux/acpi.h - Split the x86 part to a separate patch and maybe (a tangent, but looks dubious to me) figure out whether/why xen needs xen_vcpu_id to be ACPI CPU IDs > Cc: stable@vger.kernel.org > Signed-off-by: Chengwen Feng > Reviewed-by: Jonathan Cameron > --- > arch/arm64/include/asm/acpi.h | 4 ++-- > arch/loongarch/include/asm/acpi.h | 2 +- > arch/riscv/include/asm/acpi.h | 2 +- > arch/riscv/kernel/acpi_numa.c | 2 +- > drivers/acpi/pptt.c | 16 ++++++++-------- > drivers/acpi/riscv/rhct.c | 2 +- > drivers/perf/arm_cspmu/arm_cspmu.c | 2 +- > 7 files changed, 15 insertions(+), 15 deletions(-)