Marshall Dawson has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/48305 )
Change subject: soc/amd: factor out common family 17h&19h TSC and monotonic timer code ......................................................................
Patch Set 1:
(1 comment)
Could consider putting under block/cpu instead of a new block.
Eventually we could also point other devices to use similar code, with different decoding of the p-state register, and subject to the various limitations (e.g. Stoney's TSC frequency changes after a ucode patch, and IIRC Kyõsti had measured some differences in Family 14h and Family 16h). But, I'm not sure whether that might change your Kconfig symbol.
https://review.coreboot.org/c/coreboot/+/48305/1/src/soc/amd/common/block/ts... File src/soc/amd/common/block/tsc/Makefile.inc:
https://review.coreboot.org/c/coreboot/+/48305/1/src/soc/amd/common/block/ts... PS1, Line 7: Use all-y instead?