From b09c7fb54818033ad2eb4755b61ae869781fdacf Mon Sep 17 00:00:00 2001 From: Packit Service Date: Dec 15 2020 23:59:02 +0000 Subject: Add spec-file for the distribution --- diff --git a/SPECS/microcode_ctl.spec b/SPECS/microcode_ctl.spec index b514f7e..826f1d7 100644 --- a/SPECS/microcode_ctl.spec +++ b/SPECS/microcode_ctl.spec @@ -1,4 +1,4 @@ -%define intel_ucode_version 20201027 +%define intel_ucode_version 20201112 %global debug_package %{nil} %define caveat_dir %{_datarootdir}/microcode_ctl/ucode_with_caveats @@ -17,8 +17,7 @@ Release: 2.%{intel_ucode_version}.1%{?dist} Epoch: 4 License: CC0 and Redistributable, no modification permitted URL: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files -#Source0: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%{intel_ucode_version}.tar.gz -Source0: microcode-%{intel_ucode_version}.tar.gz +Source0: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/microcode-%{intel_ucode_version}.tar.gz # (Pre-MDS) revision 0x714 of 06-2d-07 microcode Source2: https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/raw/microcode-20190514/intel-ucode/06-2d-07 @@ -112,6 +111,10 @@ Source170: 06-8e-9e-0x-dell_readme Source171: 06-8e-9e-0x-dell_config Source172: 06-8e-9e-0x-dell_disclaimer +# TGL-UP3/UP4 (CPUID 06-8c-01) hangs +Source180: 06-8c-01_readme +Source181: 06-8c-01_config +Source182: 06-8c-01_disclaimer # "Provides:" RPM tags generator Source200: gen_provides.sh @@ -173,6 +176,9 @@ tar xvvf "%{SOURCE7}" --wildcards --strip-components=2 \ '*/intel-ucode/06-[89]e-0*' popd +# Moving 06-8c-01 microcode to intel-ucode-with-caveats +mv intel-ucode/06-8c-01 intel-ucode-with-caveats/ + : %install @@ -222,6 +228,7 @@ install -m 644 releasenote.md \ # caveats install -m 644 "%{SOURCE100}" "%{SOURCE110}" "%{SOURCE120}" "%{SOURCE130}" \ "%{SOURCE140}" "%{SOURCE150}" "%{SOURCE160}" "%{SOURCE170}" \ + "%{SOURCE180}" \ -t "%{buildroot}/%{_pkgdocdir}/caveats/" @@ -291,6 +298,14 @@ install -m 644 "%{SOURCE170}" "%{dell_latest_inst_dir}/readme" install -m 644 "%{SOURCE171}" "%{dell_latest_inst_dir}/config" install -m 644 "%{SOURCE172}" "%{dell_latest_inst_dir}/disclaimer" +# TGL caveat +%define tgl_inst_dir %{buildroot}/%{caveat_dir}/intel-06-8c-01/ +install -m 755 -d "%{tgl_inst_dir}/intel-ucode" +install -m 644 intel-ucode-with-caveats/06-8c-01 -t "%{tgl_inst_dir}/intel-ucode/" +install -m 644 "%{SOURCE180}" "%{tgl_inst_dir}/readme" +install -m 644 "%{SOURCE181}" "%{tgl_inst_dir}/config" +install -m 644 "%{SOURCE182}" "%{tgl_inst_dir}/disclaimer" + # SUMMARY.intel-ucode generation # It is to be done only after file population, so, it is here, # at the end of the install stage @@ -528,6 +543,16 @@ rm -rf %{buildroot} %changelog +* Fri Nov 13 2020 Eugene Syromiatnikov - 4:20200609-2.20201112.1 +- Update Intel CPU microcode to microcode-20201112 release (#1897187): + - Addition of 06-8a-01/0x10 (LKF B2/B3) microcode at revision 0x28; + - Update of 06-7a-01/0x01 (GLK B0) microcode from revision 0x32 up + to 0x34; + - Updated releasenote file. + +* Fri Nov 13 2020 Eugene Syromiatnikov - 4:20200609-2.20201027.2 +- Disable 06-8c-01 (TGL-UP3/UP4 B1) microcode update by default. + * Thu Oct 29 2020 Eugene Syromiatnikov - 4:20200609-2.20201027.1 - Update Intel CPU microcode to microcode-20201027 release, addresses CVE-2020-8694, CVE-2020-8695, CVE-2020-8696, CVE-2020-8698