ValdikSS cab04dcda3 kern/i386/pc/init: Flush cache only on VIA C3 and earlier
The code flushes the cache on VIA processors unconditionally which
is excessive. Check for cpuid family and execute wbinvd only on C3
and earlier.

Fixes: https://savannah.gnu.org/bugs/?45149
Fixes: 25492a0f0 (Add wbinvd around bios call.)

Signed-off-by: ValdikSS <iam@valdikss.org.ru>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
2023-10-12 19:18:58 +02:00
..
2023-05-25 16:47:59 +02:00
2018-12-12 12:03:27 +01:00
2013-12-06 09:18:55 +01:00
2016-02-14 08:34:10 +01:00
2020-10-30 21:53:00 +01:00
2015-12-01 18:49:38 +03:00