x86/AMD: flush TLB after ucode update
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 7 lines · Jan Beulich
The increased number of messages (spec_ctrl.c:print_details()) within a certain time window made me notice some slowness of boot time screen output. Experimentally I've narrowed the time window to be from immediately after the early ucode update on the BSP to the PAT write in
cpu_init(), which upon further investigation has an effect because of the full TLB flush that's implied by that write.
Quoted 6 lines
For that reason, as a workaround, flush the TLB of the mapping of the page that holds the blob. Note that flushing just a single page is
sufficient: As perverify_patch_size()patch size can't exceed 4k, and the wayxmalloc()works the blob can't be crossing a page boundary.Signed-off-by Jan Beulich <[email protected]>
Juergen
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel