]> www.infradead.org Git - users/jedix/linux-maple.git/commit
x86/cpuid: Rename hypervisor_cpuid_base()/for_each_possible_hypervisor_cpuid_base...
authorAhmed S. Darwish <darwi@linutronix.de>
Thu, 15 May 2025 20:28:59 +0000 (22:28 +0200)
committerIngo Molnar <mingo@kernel.org>
Fri, 16 May 2025 08:54:47 +0000 (10:54 +0200)
commit3bf8ce828419810f45a272948805cf9a2b685529
treec8eebeda1502dbb068f6b2901a232627a98278f7
parent119deb95b0bc2793d4b002549444ce0aec346b4f
x86/cpuid: Rename hypervisor_cpuid_base()/for_each_possible_hypervisor_cpuid_base() to cpuid_base_hypervisor()/for_each_possible_cpuid_base_hypervisor()

In order to let all the APIs under <cpuid/api.h> have a shared "cpuid_"
namespace, rename hypervisor_cpuid_base() to cpuid_base_hypervisor().

To align with the new style, also rename:

    for_each_possible_hypervisor_cpuid_base(function)

to:

    for_each_possible_cpuid_base_hypervisor(function)

Adjust call-sites accordingly.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Ahmed S. Darwish <darwi@linutronix.de>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Andrew Cooper <andrew.cooper3@citrix.com>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Sean Christopherson <seanjc@google.com>
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Cc: x86-cpuid@lists.linux.dev
Link: https://lore.kernel.org/r/aCZOi0Oohc7DpgTo@lx-t490
arch/x86/include/asm/acrn.h
arch/x86/include/asm/cpuid/api.h
arch/x86/include/asm/xen/hypervisor.h
arch/x86/kernel/jailhouse.c
arch/x86/kernel/kvm.c
arch/x86/kvm/cpuid.c