--- - branch: netbsd-8 date: Fri Aug 16 15:28:38 UTC 2019 files: - new: 1.22.10.3 old: 1.22.10.2 path: src/sys/arch/x86/include/cacheinfo.h pathrev: src/sys/arch/x86/include/cacheinfo.h@1.22.10.3 type: modified - new: 1.55.2.8 old: 1.55.2.7 path: src/sys/arch/x86/x86/identcpu.c pathrev: src/sys/arch/x86/x86/identcpu.c@1.55.2.8 type: modified id: 20190816T152838Z.5d0bf992afb6ebbb86cf8c3854d742ace867f52a log: "Pull up following revision(s) (requested by msaitoh in ticket #1338):\n\n\tsys/arch/x86/include/cacheinfo.h: revision 1.27\n\tsys/arch/x86/x86/identcpu.c: revision 1.74\n\nHandle more Vortex CPU's from Andrius V.\nWhile here refactor the code to make it smaller.\n\n -\n\n It seems that AMD zen2's CPUID 0x80000006 leaf's spec has changed.\nThe EDX register's acsociativity field has 9. In the latest available document,\nit's a reserved value. I have no access to zen2's document, but many websites\nsay that the acsociativity is 16. Add it.\n\n -\n\n- AMD CPUID Fn8000_0001d Cache Topology Information leaf is almost the same as\n Intel Deterministic Cache Parameter Leaf(0x04), so make new\n cpu_dcp_cacheinfo() and share it.\n- AMD's L2 and L3's cache descriptor's definition is the same, so use one\n common definition.\n- KNF.\n\nXXX Split some common functions to new identcpu_subr.c or use #ifdef _KERNEK\n... #endif in identcpu.c to share from both kernel and cpuctl?\n" module: src subject: 'CVS commit: [netbsd-8] src/sys/arch/x86' unixtime: '1565969318' user: martin