|
[PATCH] microcode: Enable microcode update from SOS.
From: Yin Fengwei <fengwei.yin@...> microcode update from UOS is disabled. microcode version checking is available for both SOS and UOS. Signed-off-by: Yin Fengwei <fengwei.yin@...> --- Ma
From: Yin Fengwei <fengwei.yin@...> microcode update from UOS is disabled. microcode version checking is available for both SOS and UOS. Signed-off-by: Yin Fengwei <fengwei.yin@...> --- Ma
|
By
...
· #1
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Can we bypass the uCode update process for VM0? Why we need to intercept? Thx Eddie
Can we bypass the uCode update process for VM0? Why we need to intercept? Thx Eddie
|
By
Eddie Dong
· #2
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Tried bypass the uCode update for VM0. But it doesn't work. Regards Yin, Fengwei
Tried bypass the uCode update for VM0. But it doesn't work. Regards Yin, Fengwei
|
By
...
· #3
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
That is stranger... We use identical mapping for VM0, right? Anyway, it is ok to leave as it is. BTW, why: It clears bit 63. The rest is fine to me. Thx Eddie
That is stranger... We use identical mapping for VM0, right? Anyway, it is ok to leave as it is. BTW, why: It clears bit 63. The rest is fine to me. Thx Eddie
|
By
Eddie Dong
· #4
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Yes. We are using identical mapping for VM0. But Linux kernel uses vmalloc to allocate memory to load uCode itself. But I did try changing vmalloc to kmalloc in kernel. The uCode update still failed.
Yes. We are using identical mapping for VM0. But Linux kernel uses vmalloc to allocate memory to load uCode itself. But I did try changing vmalloc to kmalloc in kernel. The uCode update still failed.
|
By
...
· #5
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Not sure if clear bit 63 is an architectural requirement or not. + Kevin.
Not sure if clear bit 63 is an architectural requirement or not. + Kevin.
|
By
Eddie Dong
· #6
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
BTW, when upload the uCode, should we check the guest uCode version with physical uCode version before doing real uCode upload? This can save time, and helps the real time behavior..
BTW, when upload the uCode, should we check the guest uCode version with physical uCode version before doing real uCode upload? This can save time, and helps the real time behavior..
|
By
Eddie Dong
· #7
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Yes. According to Documentation/x86/x86_64/mm.txt, the 64bit is available. Let me check why the code could work and get you guys back later. Regards Yin, Fengwei
Yes. According to Documentation/x86/x86_64/mm.txt, the 64bit is available. Let me check why the code could work and get you guys back later. Regards Yin, Fengwei
|
By
...
· #8
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
We expose the uCode version to SOS and SOS kernel does the check before issue update the uCode. Regards Yin, Fengwei
We expose the uCode version to SOS and SOS kernel does the check before issue update the uCode. Regards Yin, Fengwei
|
By
...
· #9
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
OK
By
Eddie Dong
· #10
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Here is what I got: bit63 of the line address is actually not used for now. With 4-level paging, the PML4 entry is selected using: bits 51:12 from CR3 bits 11:3 are from bits 47:39 of liner address. b
Here is what I got: bit63 of the line address is actually not used for now. With 4-level paging, the PML4 entry is selected using: bits 51:12 from CR3 bits 11:3 are from bits 47:39 of liner address. b
|
By
...
· #11
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Thanks for confirmation. sorry I forgot there is canonical definition of available linear address bits. above info explains why kernel va can be 0xffffffffxxxxxxxx and yes anyway we don't need clear b
Thanks for confirmation. sorry I forgot there is canonical definition of available linear address bits. above info explains why kernel va can be 0xffffffffxxxxxxxx and yes anyway we don't need clear b
|
By
Tian, Kevin
· #12
·
|
|
[PATCH] microcode: Enable microcode update from SOS.
Yes. Working on new patch version. Regards Yin, Fengwei
Yes. Working on new patch version. Regards Yin, Fengwei
|
By
...
· #13
·
|
|
[PATCH v2] microcode: Enable microcode update from SOS.
From: Yin Fengwei <fengwei.yin@...> microcode update from UOS is disabled. microcode version checking is available for both SOS and UOS. Signed-off-by: Yin Fengwei <fengwei.yin@...> --- Ch
From: Yin Fengwei <fengwei.yin@...> microcode update from UOS is disabled. microcode version checking is available for both SOS and UOS. Signed-off-by: Yin Fengwei <fengwei.yin@...> --- Ch
|
By
...
· #14
·
|
|
[PATCH v2] microcode: Enable microcode update from SOS.
there is a problem with current implementation. microcode needs being updated on all CPU cores, however SOS only sees partial. If there is no plan to introduce a hypercall, we need hook on the 1st MSR
there is a problem with current implementation. microcode needs being updated on all CPU cores, however SOS only sees partial. If there is no plan to introduce a hypercall, we need hook on the 1st MSR
|
By
Tian, Kevin
· #15
·
|
|
[PATCH v2] microcode: Enable microcode update from SOS.
Yes. It's on my TODO list. Because we only allow SOS to update uCode, only pCPU running SOS get uCode updated. We try not to change kernel source. So I prefer IPI approach( cpu offline depends on the
Yes. It's on my TODO list. Because we only allow SOS to update uCode, only pCPU running SOS get uCode updated. We try not to change kernel source. So I prefer IPI approach( cpu offline depends on the
|
By
...
· #16
·
|
|
[PATCH 1/2] Add CHECK and CHECK_RET macro
From: "Yan, Like" <like.yan@...> - CHECK macro checks the given condition, if false, print a fatal message, dump both host and guest context and return void; - CHECK_RET macro checks the given c
From: "Yan, Like" <like.yan@...> - CHECK macro checks the given condition, if false, print a fatal message, dump both host and guest context and return void; - CHECK_RET macro checks the given c
|
By
Yan, Like
· #17
·
|
|
[PATCH 2/2] Cleanup ASSERT in hypercall/vmexit
From: "Yan, Like" <like.yan@...> Replace ASSERT which should not pause hypervisor with CHECK or CHECK_RET in hypercall and vmexit handling. Change-Id: If80b6be0abb808365e0208557a2682e67d245277 S
From: "Yan, Like" <like.yan@...> Replace ASSERT which should not pause hypervisor with CHECK or CHECK_RET in hypercall and vmexit handling. Change-Id: If80b6be0abb808365e0208557a2682e67d245277 S
|
By
Yan, Like
· #18
·
|
|
[PATCH v2] microcode: Enable microcode update from SOS.
Yes. It's in Table 9-7 of SDM vol 3. Should I add comments for 2000? For uCode case, there is valid mapping for sure. The uCode itself is loaded by kernel to memory allocated with vmalloc. When the uC
Yes. It's in Table 9-7 of SDM vol 3. Should I add comments for 2000? For uCode case, there is valid mapping for sure. The uCode itself is loaded by kernel to memory allocated with vmalloc. When the uC
|
By
...
· #19
·
|
|
[PATCH v2] microcode: Enable microcode update from SOS.
Acked by <Eddie.dong@...> Leave to Anthony...
Acked by <Eddie.dong@...> Leave to Anthony...
|
By
Eddie Dong
· #20
·
|