[PATCH v2] PCI/TPH: Fix get cpu steer-tag fail on ARM64 platform

Jonathan Cameron jonathan.cameron at huawei.com
Thu Mar 5 06:54:03 PST 2026


> >> +       ret = acpi_get_cpu_acpi_id(cpu);  
> > Can we use get_acpi_id_for_cpu() directly? Then just x86 needs a wrapper.  
> 
> Yes, it indeed simple.
> 
> But I prefer to have the acpi_ prefix for such API names because it's a cross-subsystem API reference.

Can we just do a global rename of get_acpi_id_for_cpu() as a precursor
patch?  Then this just becomes adding x86 implementation and using
it on all architectures.

J





More information about the linux-riscv mailing list