Re: [PATCH RFC 1/3] PCI/TPH: Factor out the ST _DSM evaluation
From: fengchengwen
Date: Wed Nov 18 2026 - 19:18:41 EST
Acked-by: Chengwen Feng <fengchengwen@xxxxxxxxxx>
On 10/1/2026 11:55 PM, Wei Huang wrote:
> The ACPI _DSM that returns the CPU to Steering Tag (ST) mapping is
> evaluated in one place today, with the lookup of the ACPI device providing
> it open coded in pcie_tph_get_cpu_st().
>
> Factor the handle lookup and the per-CPU query into tph_dsm_handle() and
> tph_get_cpu_st_info() so other callers can reuse them, name the _DSM
> revision instead of repeating the bare number, and constify the ST info
> passed to tph_extract_tag().
>
> No functional change introduced.
>
> Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>