Re: [PATCH 0/2] x86/fpu: Extend kernel_fpu_begin_mask() for the In-Field Scan driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/2/2024 1:52 PM, Chang S. Bae wrote:

This brief mention may prompt questions about why the hardware must refuse to run the test under these conditions. Because this is part of its internal, we'd go back to folks who wrote this test and will grab their write-up to provide the logic behind this requirement.

Okay, I got the write-up sooner than expected:

In-Field Scan (IFS) is a destructive test meaning that it will overwrite the existing state to achieve the goal of testing the logic. IFS must ensure that it is able to return the CPU back to the OS in the same architectural state as it was prior to IFS start. To do this architectural state (register state visible to the OS) is saved in a cache [*]. The cache has a limited size. When AMX is in use, the state of the AMX logic that needs to be saved is too large to be accommodated in the cache. Therefore OS must clear the AMX logic from being in use prior to IFS start.

[*] This cache is software-inaccessible space.

Thanks,
Chang




[Index of Archives]     [Linux Kernel Development]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux