|
[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@...>
---
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@...>
---
|
By
fengwei.yin@...
·
#1
·
|
|
Re: [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
·
|
|
Re: [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
fengwei.yin@...
·
#3
·
|
|
Re: [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
·
|
|
Re: [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
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
|
By
Yin, Fengwei <fengwei.yin@...>
·
#5
·
|
|
Re: [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
·
|
|
Re: [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
·
|
|
Re: [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
Yin, Fengwei <fengwei.yin@...>
·
#8
·
|
|
Re: [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
Yin, Fengwei <fengwei.yin@...>
·
#9
·
|
|
Re: [PATCH] microcode: Enable microcode update from SOS.
OK
By
Eddie Dong
·
#10
·
|
|
Re: [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
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
|
By
Yin, Fengwei <fengwei.yin@...>
·
#11
·
|
|
Re: [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
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
|
By
Tian, Kevin
·
#12
·
|
|
Re: [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
Yin, Fengwei <fengwei.yin@...>
·
#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
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
|
By
Yin, Fengwei <fengwei.yin@...>
·
#14
·
|
|
Re: [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
·
|
|
Re: [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
Yin, Fengwei <fengwei.yin@...>
·
#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
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
|
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:
From: "Yan, Like" <like.yan@...>
Replace ASSERT which should not pause hypervisor with CHECK or
CHECK_RET in hypercall and vmexit handling.
Change-Id:
|
By
Yan, Like
·
#18
·
|
|
Re: [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
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
|
By
Yin, Fengwei <fengwei.yin@...>
·
#19
·
|
|
Re: [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
·
|