Re: [PATCH v2] i386: flush cache only on VIA C3 and earlier

2023-10-06 Thread ValdikSS via Grub-devel
On 05.10.2023 19:57, Daniel Kiper wrote: On Fri, Jul 07, 2023 at 12:33:32AM +0300, ValdikSS via Grub-devel wrote: The code used to flush the cache on VIA processors unconditionally, which is excessive. Check for cpuid family and execute wbinvd only on C3 and earlier. See: https://savannah.gnu.o

Re: [PATCH v2] i386: flush cache only on VIA C3 and earlier

2023-10-05 Thread Daniel Kiper
On Fri, Jul 07, 2023 at 12:33:32AM +0300, ValdikSS via Grub-devel wrote: > The code used to flush the cache on VIA processors unconditionally, > which is excessive. > Check for cpuid family and execute wbinvd only on C3 and earlier. > > See: https://savannah.gnu.org/bugs/?45149 > See: commit 25492a

[PATCH v2] i386: flush cache only on VIA C3 and earlier

2023-07-06 Thread ValdikSS via Grub-devel
The code used to flush the cache on VIA processors unconditionally, which is excessive. Check for cpuid family and execute wbinvd only on C3 and earlier. See: https://savannah.gnu.org/bugs/?45149 See: commit 25492a0f047cb7a6583ae195568599c296a604d6 --- grub-core/kern/i386/pc/init.c | 11 +