[Bug 261169] [Intel AlderLake]Read&Write files to FAT32 or UFS partition cause data corrupt

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 31 Dec 2022 22:11:25 UTC

--- Comment #9 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:


commit cde70e312c3fde5b37a29be1dacb7fde9a45b94a
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2022-10-10 23:08:55 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2022-12-31 22:09:45 +0000

    amd64: for small cores, use (big hammer) INVPCID_CTXGLOB instead of INVLPG

    A hypothetical CPU bug makes invalidation of global PTEs using INVLPG
    in pcid mode unreliable, it seems.  The workaround is applied for all
    CPUs with small cores, since we do not know the scope of the issue, and
    the right fix.

    Reviewed by:    alc (previous version)
    Discussed with: emaste, markj
    Tested by:      karels
    PR:     261169, 266145
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D37770

 sys/amd64/amd64/initcpu.c    |  5 +++++
 sys/amd64/amd64/mp_machdep.c | 16 +++++++++++-----
 sys/amd64/amd64/pmap.c       | 36 +++++++++++++++++++++++++++++-------
 sys/amd64/include/pcpu.h     |  3 ++-
 sys/amd64/include/pmap.h     | 20 ++++++++++++++++++++
 5 files changed, 67 insertions(+), 13 deletions(-)

You are receiving this mail because:
You are the assignee for the bug.