[PATCH] soc: aspeed: soninfo: mask table entries for accurate SoC ID matching

Andrew Jeffery andrew at codeconstruct.com.au
Mon Feb 9 16:16:11 AEDT 2026


On Thu, 22 Jan 2026 16:37:56 +0800, Potin Lai wrote:
> The siliconid_to_name function currently masks the input silicon ID with
> 0xff00ffff, but compares it against unmasked table entries. This causes
> matching to fail if the table entries contain non-zero values in the
> bits covered by the mask (bits 16-23).
> 
> Update the logic to apply the 0xff00ffff mask to the table entries
> during comparison. This ensures that only the relevant model and
> revision bits are considered, providing a consistent match across
> different manufacturing batches.
> 
> [...]

Thanks, I've applied this to the BMC tree.

-- 
Andrew Jeffery <andrew at codeconstruct.com.au>



More information about the Linux-aspeed mailing list