Page MenuHomeFreeBSD

Handle Skylake-X errata SKZ63.
ClosedPublic

Authored by kib on Apr 7 2018, 11:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 7 2024, 4:22 PM
Unknown Object (File)
Jan 5 2024, 5:38 PM
Unknown Object (File)
Dec 25 2023, 9:40 AM
Unknown Object (File)
Dec 19 2023, 11:53 PM
Unknown Object (File)
Nov 5 2023, 7:25 AM
Unknown Object (File)
Nov 4 2023, 11:56 PM
Unknown Object (File)
Oct 4 2023, 7:23 AM
Unknown Object (File)
Oct 4 2023, 12:12 AM
Subscribers

Details

Summary
SKZ63     Processor May Hang When Executing Code In an HLE Transaction Region

Problem:  Under certain conditions, if the processor acquires an HLE (Hardware Lock Elision) lock via the XACQUIRE instruction in the Host Physical Address range between 40000000H  and 403FFFFFH, it may hang with an internal timeout error (MCACOD 0400H) logged into IA32_MCi_STATUS.

Implication: Due to this erratum, the processor may hang after acquiring a lock via XACQUIRE.

Workaround: BIOS can reserve the host physical address ranges of 40000000H and 403FFFFFH (e.g. map it as UC/MMIO). Alternatively, the VMM (Virtual Machine Monitor) can reserve that address range so no guest can use it. In non-virtualized systems, the OS can reserve that memory space.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib edited the summary of this revision. (Show Details)
markj added inline comments.
sys/amd64/amd64/pmap.c
1295 ↗(On Diff #41227)

Missing a period.

sys/vm/vm_page.h
479 ↗(On Diff #41227)

Why boolean_t? bootverbose is an int and this header already uses bool.

This revision is now accepted and ready to land.Apr 7 2018, 3:36 PM
kib marked an inline comment as done.Apr 7 2018, 3:51 PM
kib added inline comments.
sys/vm/vm_page.h
479 ↗(On Diff #41227)

vm_phys_unfree_page() returns int, I tried to be slightly more consistent with the internal interfaces.

Changed both arg and result to bool.

This revision now requires review to proceed.Apr 7 2018, 3:51 PM
markj added inline comments.
sys/vm/vm_page.c
353 ↗(On Diff #41234)

Can use the bool literal here.

This revision is now accepted and ready to land.Apr 7 2018, 4:02 PM
This revision was automatically updated to reflect the committed changes.