Arthur Heymans has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/31600
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
[UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info
Fixes microcode not being updated.
Change-Id: Iee7a3897362b63bc6d7b9827da47c1cb24135278 Signed-off-by: Arthur Heymans arthur@aheymans.xyz --- M src/cpu/intel/model_1067x/mp_init.c 1 file changed, 8 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/00/31600/1
diff --git a/src/cpu/intel/model_1067x/mp_init.c b/src/cpu/intel/model_1067x/mp_init.c index acd56c8..1a6110b 100644 --- a/src/cpu/intel/model_1067x/mp_init.c +++ b/src/cpu/intel/model_1067x/mp_init.c @@ -49,6 +49,13 @@ smm_initialize(); }
+static void get_microcode_info(const void **microcode, int *parallel) +{ + microcode_patch = intel_microcode_find(); + *microcode = microcode_patch; + *parallel = 1; +} + #define SMRR_SUPPORTED (1 << 11)
static void per_cpu_smm_trigger(void) @@ -98,6 +105,7 @@ .pre_mp_init = pre_mp_init, .get_cpu_count = get_cpu_count, .get_smm_info = smm_info, + .get_microcode_info = get_microcode_info, .pre_mp_smm_init = pre_mp_smm_init, .per_cpu_smm_trigger = per_cpu_smm_trigger, .relocation_handler = smm_relocation_handler,
Angel Pons has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Will test on G41M-S3 with a Pentium E5200 or something model_1067x
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Patch Set 1:
Will test on G41M-S3 with a Pentium E5200 or something model_1067x
This code is used for model_fxx, model_6ex and model_6fx too.
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Will test on G41M-S3 with a Pentium E5200 or something model_1067x
This code is used for model_fxx, model_6ex and model_6fx too.
The former have the update already applied early on the BSP, right?
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Also, just noticed, f3x seems to have some `!IS_ENABLED( CONFIG_PARALLEL_MP)` left, that is unreachable now? Or is it still used?
It's only selected by LGA775 and that only together with X4X/I945, AFAICS.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Patch Set 1:
Will test on G41M-S3 with a Pentium E5200 or something model_1067x
This code is used for model_fxx, model_6ex and model_6fx too.
The former have the update already applied early on the BSP, right?
There is some code to update the BSP microcode in the CAR setup, https://review.coreboot.org/c/coreboot/+/30775 but currently it is not done.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Patch Set 1:
Also, just noticed, f3x seems to have some `!IS_ENABLED( CONFIG_PARALLEL_MP)` left, that is unreachable now? Or is it still used?
It's only selected by LGA775 and that only together with X4X/I945, AFAICS.
I must have missed that... That CPU is not used by non-LGA775 anymore so that code can indeed be removed.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Is that a regression, or were microcode updates never applied by coreboot with these processors?
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Patch Set 1:
Is that a regression, or were microcode updates never applied by coreboot with these processors?
This fixes a regression indeed.
Masanori Ogino has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1: Code-Review+1
Tested on X60s (Core Solo U1300) with SeaBIOS, Linux 4.19.0 (Debian Buster) boots successfully and the microcode is loaded without OS's microcode package installed.
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1: Code-Review+1
Patch Set 1:
Patch Set 1:
Is that a regression, or were microcode updates never applied by coreboot with these processors?
This fixes a regression indeed.
Could you please update the commit message accordingly?
Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1:
Complete fix and confirmed working: CB:31664
Masanori Ogino has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Patch Set 1: -Code-Review
Arthur Heymans has abandoned this change. ( https://review.coreboot.org/c/coreboot/+/31600 )
Change subject: [UNTESTED]cpu/intel/model_1067x/mp_init: Implement get_microcode_info ......................................................................
Abandoned