[PATCH 12/16] arm64: Add helpers for checking CPU MIDR against a range

Dave Martin Dave.Martin at arm.com
Fri Jan 26 06:08:00 PST 2018


On Tue, Jan 23, 2018 at 12:28:05PM +0000, Suzuki K Poulose wrote:
> Add helpers for checking if the given CPU midr falls in a range
> of variants/revisions for a given model.

This doesn't describe what the patch does: instead, helpers are being
added for checking whether an MIDR falls in one of multiple affected
model(s) and or revision(s) here.

Doing this makes logical sense, but is it really worth it?

We might save 100-200 bytes in the kernel image for now, but a common
workaround for errata on multiple unrelated cpus is surely a rare case.

Only if there are many such lists, or if the lists become large does
this start to seem a clear win.

[...]

Cheers
---Dave



More information about the linux-arm-kernel mailing list