linux/drivers/soc/aspeed
Potin Lai 7ec1bd3d9b soc: aspeed: socinfo: Mask table entries for accurate SoC ID matching
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.

[arj: Add Fixes: tag, fix 'soninfo' typo, clarify function reference]

Fixes: e0218dca57 ("soc: aspeed: Add soc info driver")
Signed-off-by: Potin Lai <potin.lai.pt@gmail.com>
Link: https://patch.msgid.link/20260122-soc_aspeed_name_fix-v1-1-33a847f2581c@gmail.com
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>
2026-02-23 09:43:21 +10:30
..
aspeed-lpc-ctrl.c soc: aspeed: Use of_reserved_mem_region_to_resource() for "memory-region" 2025-08-11 09:37:53 +09:30
aspeed-lpc-snoop.c soc: aspeed: lpc-snoop: Lift channel config to const structs 2025-07-08 11:35:07 +09:30
aspeed-p2a-ctrl.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
aspeed-socinfo.c soc: aspeed: socinfo: Mask table entries for accurate SoC ID matching 2026-02-23 09:43:21 +10:30
aspeed-uart-routing.c soc: Switch back to struct platform_driver::remove() 2024-11-01 17:08:57 +01:00
Kconfig soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00
Makefile soc: aspeed: Add UART routing support 2021-10-22 17:32:09 +02:00