Commit Graph

63 Commits

Author SHA1 Message Date
Naveen Saini
c43a7b5900 ovmf: refresh patch
Refresh patch as per the latest version in OE-Core.

ac0a286f4d

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
2022-03-03 07:04:30 +08:00
Anuj Mittal
7bcff11829 intel-microcode: upgrade 20210608 -> 20220207
Also fixes CVE-2021-0146, CVE-2021-0127. More details:

https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20220207

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-09 16:16:56 +08:00
Tomasz Moń
c2d12c05cd intel-microcode: use microcode filter for package
Commit cba66dfb7b ("intel-microcode: fix microcode loading on newer
kernels") effectively disabled microcode filtering for intel-microcode
package.

Add the missing filter parameter to iucode_tool command to install only
necessary files. Do not generate microcode bin file in compile step as
it is no longer needed.

Signed-off-by: Tomasz Moń <tomasz.mon@camlingroup.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2022-02-09 13:49:26 +08:00
Anuj Mittal
e4d0c52cba meta: add explicit branch and protocol to SRC_URI
Add branch name explicitly to SRC_URI where it's not defined and switch
to using https protocol for Github projects.

The change was made using convert_srcuri script for OE-Core.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-11-03 12:35:28 +08:00
Anuj Mittal
e67676976b Manually move some overrides to new syntax
Some of these were missed when using the script and were noticed when
building intel-skylake-64 and tiny images  which had started failing.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-08-06 15:51:53 +08:00
Anuj Mittal
0584f63879 Convert to new override syntax
Use the convert-overrides.py to convert to new syntax and manually
fix some additional changes.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-07-31 17:47:03 +08:00
Anuj Mittal
c172ab37aa intel-microcode: upgrade 20210216 -> 20210608
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20210608

Fixes CVE-2021-24489, CVE-2020-24511, CVE-2020-24512, CVE-2020-24513.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-06-09 17:26:15 +08:00
Anuj Mittal
15a0d87635 intel-microcode: fix the license md5sum
The upgrade was pushed without the correct license md5sum. Fix it now.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-17 15:56:59 +08:00
Anuj Mittal
495dca1010 intel-microcode: upgrade 20201118 -> 20210216
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20210216

Fixes CVE-2020-8698, CVE-2020-8696

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-02-17 14:39:42 +08:00
Naveen Saini
7e4066ea24 libxcam: upgrade 1.4.0 -> 1.5.0
Drop patches which are merged and avaialble in this
release.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2021-01-21 09:04:25 +08:00
Anuj Mittal
6cf386fa94 intel-microcode: upgrade 20201112 -> 20201118
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20201118

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-21 00:09:20 +08:00
Anuj Mittal
bd5c27bae3 intel-microcode: upgrade 20201110 -> 20201112
Updates microcode for one more platform:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20201112

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-13 10:01:56 +08:00
Anuj Mittal
b8ca20b337 intel-microcode: upgrade 20200616 -> 20201110
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20201110

Fixes: CVE-2020-8696 CVE-2020-8698 CVE-2020-8695 CVE-2020-8694

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-12 10:59:11 +08:00
Mohamad Noor Alim Hussin
84f3d83f41 libxcam: Fix compilation error due to unrecognized micros
Vulkan micros was not recognized during compilation.
Log as follows

| x86_64-poky-linux-libtool: compile:  x86_64-poky-linux-g++ -m64 -march=nehalem -mtune=generic -mfpmath=sse -msse4.2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/pokybuild/yocto-autobuilder-new/yocto-worker/nightly-meta-intel-world/build/build/tmp/work/corei7-64-poky-linux/libxcam/1.4.0-r0/recipe-sysroot -DHAVE_CONFIG_H -I. -I../../../git/modules/vulkan -I../.. -fPIC -Wall -fstack-protector -std=c++0x -I../../../git/xcore -I../../../git/modules -I../../../git/shaders/spv -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/pokybuild/yocto-autobuilder-new/yocto-worker/nightly-meta-intel-world/build/build/tmp/work/corei7-64-poky-linux/libxcam/1.4.0-r0=/usr/src/debug/libxcam/1.4.0-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder-new/yocto-worker/nightly-meta-intel-world/build/build/tmp/work/corei7-64-poky-linux/libxcam/1.4.0-r0=/usr/src/debug/libxcam/1.4.0-r0 -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder-new/yocto-worker/nightly-meta-intel-world/build/build/tmp/work/corei7-64-poky-linux/libxcam/1.4.0-r0/recipe-sysroot= -fdebug-prefix-map=/home/pokybuild/yocto-autobuilder-new/yocto-worker/nightly-meta-intel-world/build/build/tmp/work/corei7-64-poky-linux/libxcam/1.4.0-r0/recipe-sysroot-native= -fvisibility-inlines-hidden -c ../../../git/modules/vulkan/vk_geomap_handler.cpp  -fPIC -DPIC -o .libs/libxcam_vulkan_la-vk_geomap_handler.o
| ../../../git/modules/vulkan/vk_instance.cpp: In member function 'XCamReturn XCam::VKInstance::query_physical_info()':
| ../../../git/modules/vulkan/vk_instance.cpp:134:30: error: 'VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE' was not declared in this scope; did you mean 'VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM'?
|   134 |     VkPhysicalDevice gpu_dev[VK_PHYSICAL_DEVICE_TYPE_RANGE_SIZE] = {};
|       |                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                              VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM
| ../../../git/modules/vulkan/vk_instance.cpp:140:35: error: 'VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE' was not declared in this scope; did you mean 'VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM'?
|   140 |         if (dev_prop.deviceType < VK_PHYSICAL_DEVICE_TYPE_BEGIN_RANGE ||
|       |                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                   VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM
| ../../../git/modules/vulkan/vk_instance.cpp:141:39: error: 'VK_PHYSICAL_DEVICE_TYPE_END_RANGE' was not declared in this scope; did you mean 'VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM'?
|   141 |                 dev_prop.deviceType > VK_PHYSICAL_DEVICE_TYPE_END_RANGE) {
|       |                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|       |                                       VK_PHYSICAL_DEVICE_TYPE_MAX_ENUM
| ../../../git/modules/vulkan/vk_instance.cpp:144:13: error: 'gpu_dev' was not declared in this scope
|   144 |         if (gpu_dev[dev_prop.deviceType]) {
|       |             ^~~~~~~
| ../../../git/modules/vulkan/vk_instance.cpp:150:9: error: 'gpu_dev' was not declared in this scope
|   150 |         gpu_dev[dev_prop.deviceType] = devs[i];
|       |         ^~~~~~~
| ../../../git/modules/vulkan/vk_instance.cpp:158:9: error: 'gpu_dev' was not declared in this scope
|   158 |     if (gpu_dev[VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU])
|       |         ^~~~~~~

Signed-off-by: Mohamad Noor Alim Hussin <mohamad.noor.alim.hussin@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-11-04 15:12:43 +08:00
Anuj Mittal
a30cb23e85 intel-microcode: change branch name master -> main
Upstream has made 'main' the default branch so make the branch name
explicit.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-10-27 11:01:39 +08:00
Naveen Saini
c4e2039ca6 libxcam: upgrade 1.3.0 -> 1.4.0
Created and submitted a patch to fix header path.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-26 11:54:15 +08:00
Anuj Mittal
635e8a6892 intel-microcode: upgrade 20200609 -> 20200616
Release notes:
0e4288f81f/releasenote

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-17 23:44:49 +08:00
Anuj Mittal
2413398a19 intel-microcode: upgrade 20200520 -> 20200609
Release notes:
021c295269/releasenote

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-06-10 08:08:43 +08:00
Anuj Mittal
02c984fd9f intel-microcode: upgrade 20200508 -> 20200520
Release notes:
437f382b1b/releasenote

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-21 09:42:04 +08:00
Anuj Mittal
d9db6587af intel-microcode: upgrade 20191115 -> 20200508
Release notes:
d6e1db6755/releasenote

License-Update: Change in Copyright year

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-05-21 00:08:30 +08:00
Anuj Mittal
53c87950e8 mkl-dnn: upgrade 1.2.2 -> 1.4
The name of project has changed to oneDNN. Enable GPU engine to be built
by default which would need clang layer to be included.

Also include two minor fixes to install logic that have been submitted
for review upstream.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-21 22:07:00 +08:00
Naveen Saini
544e3d33f2 mkl-dnn: upgrade 1.2 -> 1.2.2
Release notes:
https://github.com/intel/mkl-dnn/releases/tag/v1.2.2

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-04 18:22:52 +08:00
Yeoh Ee Peng
ee09a28adb recipe-core/libxcam: Enable test package
Enable test package:
 - include libxcam sample apps

Signed-off-by: Yeoh Ee Peng <ee.peng.yeoh@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-04-02 00:09:06 +08:00
Naveen Saini
ae4221d52d mkl-dnn: upgrade v1.1.1 -> v1.2
Added full text of third party licenses and copyright
notices to LICENSE
88d4573ed5

Release notes can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.2

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2020-02-07 17:05:48 +08:00
Naveen Saini
d824afa110 mkl-dnn: upgrade v1.1 -> v1.1.1
Release notes can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.1.1

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-12-11 13:47:57 +08:00
Anuj Mittal
df2c8eefb2 intel-microcode: upgrade 20191112 -> 20191115
Release notes:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20191115

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-18 07:52:17 +08:00
Anuj Mittal
951fb4b4ba intel-microcode: upgrade 20190918 -> 20191112
For changes in this release, see:
https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/releases/tag/microcode-20191112

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-13 07:41:17 +08:00
Ross Burton
2c70bc31ea mkl-dnn: set CVE_PRODUCT
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-11-13 06:02:59 +08:00
Naveen Saini
62ac7ad874 libxcam: upgrade 1.2.2 -> 1.3.0
Patch is already merged, so not required anymore.

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:18:55 +08:00
Naveen Saini
dd9437e9be mkl-dnn: upgrade v1.0.2 -> v1.1
Added third party license info:

   CMake, 3-clause BSD licenseq
   Copyright 2000-2019 Kitware, Inc. and Contributors
   See full license text in cmake/Copyright.txt

   MathJax, Apache License 2.0
   Copyright (c) 2009-2018 The MathJax Consortium
   See full license text in doc/assets/mathjax/LICENSE

   Boost C++ Libraries, Boost Software License, Version 1.0
   Copyright 2005-2014 Daniel James.
   See full license text in src/common/LICENSE_1_0

Release highlights can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.1

Note:
Starting with this release (version 1.1) the library is renamed to DNNL
https://intel.github.io/mkl-dnn/dev_guide_transition_to_dnnl.html
https://intel.github.io/mkl-dnn/dev_guide_transition_to_v1.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-10-21 07:18:55 +08:00
Anuj Mittal
125c05dd42 intel-microcode: upgrade 20190618 -> 20190918
Release notes:
5ada2f32ed/releasenote

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-21 09:17:27 +08:00
Naveen Saini
2656d21e2f mkl-dnn: upgrade v1.0.1 -> v1.0.2
Release highlights can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.0.2

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-09-04 07:37:42 +08:00
Anuj Mittal
50721b67a9 ovmf: refresh patch
Refresh patch as per the latest version in OE-Core. Move the key as per:

a79b115ade

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-13 22:11:49 +08:00
Anuj Mittal
f4f248406d zlib-intel: use '.' instead of '_' in PV
Otherwise everything after underscore either gets ignored (in case of
devtool)  or converted to a hyphen. This ensures that the version is
handled more consistently.

Also add a custom GITTAGREGEX check to check for upstream releases.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-10 21:23:47 +08:00
Naveen Saini
fae140eb19 mkl-dnn: upgrade v0.19 -> v1.0.1
Added third party license info:
"ittnotify, 3-clause BSD license
Copyright (c) 2011, Intel Corporation
See full copyright notice and license text in
src/cpu/jit_utils/jitprofiling/LICENSE.BSD"

Release highlights can be found here:
https://github.com/intel/mkl-dnn/releases/tag/v1.0

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-06 11:10:44 +08:00
Anuj Mittal
3b5236690c libxcam: set proper version for recipe
Since this fetches a release version, set PV accordingly.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-08-01 09:40:13 +08:00
Ankit Navik
e3d7b3aba6 libxcam: Initial recipe for libXCam
It adds generic recipe for libXCam for extended camera feature, but not limited
in camera. It focuses on image quality improvement and video analysis.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-30 12:41:53 +08:00
Anuj Mittal
2bf939d17f intel-microcode: fix upstream check
There could be zero or more characaters at the end of version string.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-04 17:39:29 +08:00
Naveen Saini
41967144c4 mkl-dnn: add ptest
Added api-c & test_c_symbols testcases under ptest.

Shipping benchdnn, which is a standalone correctness and performance
benchmark for Intel(R) Math Kernel Library for Deep
Neural Networks (Intel(R) MKL-DNN).

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-04 10:17:36 +08:00
Yong, Jonathan
cba66dfb7b intel-microcode: fix microcode loading on newer kernels
The /dev/microcode interface and microcode-ctl utility has
been deprecated in favor of the new kernel
/sys/devices/system/cpu/microcode/reload interface as documented in:
https://github.com/torvalds/linux/blob/master/Documentation/x86/microcode.rst

It expects the microcode binaries to be split out and loaded from
/lib/firmware, eg:
/lib/firmware/intel-ucode/06-01-01
/lib/firmware/intel-ucode/06-01-02
/lib/firmware/intel-ucode/06-01-06
/lib/firmware/intel-ucode/06-01-07
/lib/firmware/intel-ucode/06-01-09
...

This change does not affect the earlyfw cpio generated by inte-ucode.

Signed-off-by: Yong, Jonathan <jonathan.yong@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-04 10:16:09 +08:00
Naveen Saini
16d24415ed mkl-dnn: do not use host machine instructions
For GNU* Compiler Collection version 5 and newer
the default options are `-march=native -mtune=native`,
which should not happen in cross compilation environment.

ARCH_OPT_FLAGS=\"\" does not allow to use host machine
instructions.

For more information, please check:
http://intel.github.io/mkl-dnn/dev_guide_build_options.html

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-07-01 10:15:20 +08:00
Anuj Mittal
2e47b48e5d intel-microcode: upgrade 20190514a -> 20190618
For changes in this version, see:

940d904b72/releasenote

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-19 19:53:43 +08:00
Naveen Saini
c941d896c0 mkl-dnn: update SRCREV to fix GCC9 build failure
Fix for GCC9 build error is backported from master
branch to release branch rls-v0.19.

Patch Link:
027de76036

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-07 11:02:18 +08:00
Naveen Saini
a5c617ea99 mkl-dnn: upgrade 0.18.1 -> 0.19
For more details, please check:
https://github.com/intel/mkl-dnn/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-06-01 16:00:44 +08:00
Anuj Mittal
35555fb519 intel-microcode: fix upstream release checking
There could be a character to signify minor changes for the same
microcode at the end.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-24 10:09:39 +08:00
Anuj Mittal
6633f87024 intel-microcode: upgrade to 20190514a
Include the microcode from caveats as well since all kernels supported
have those patches. Also point to the new git repo and corrected
license.

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-21 17:31:51 +08:00
Ross Burton
3ec3be372d zlib-intel: add zlib fork with IA-specific optimisations
This fork of zlib has a number of IA-specific improvements and is
noticably faster when running on Intel hardware.

As this is a relatively minor fork of zlib, include the oe-core recipe
and override where appropriate.  This ensures that we still generate
the ptest package for example.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-05-06 12:03:14 +08:00
Naveen Saini
7573548c97 mkl-dnn: upgrade 0.17.4 -> 0.18.1
A list of third party components added to the LICENSE.

LICENSE changes:
"""
Intel MKL-DNN includes components with separate copyright
notices and license terms.

XByak, 3-clause BSD license
Copyright (c) 2007 MITSUNARI Shigeo
See full copyright notice and license text in src/cpu/xbyak/COPYRIGHT

gtest, 3-clause BSD license
Copyright 2008, Google Inc.
See full copyright notice and license text in tests/gtests/gtest/LICENSE
"""

This release contains performance optimizations, new functionality,
usability improvements and bug fixes.

For more details, please check:
https://github.com/intel/mkl-dnn/releases

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-04-25 12:24:37 +08:00
Naveen Saini
3191010548 mkl-dnn: fix upstream release checking
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-04-25 12:24:29 +08:00
Ankit Navik
a0f0731eaa mkl-dnn: Initial recipe for Intel Math Kernel Library
Add generic recipe for Intel(R) Math Kernel Library for Deep Neural
Networks. The library accelerates deep-learning applications and
frameworks on Intel architecture.

Signed-off-by: Ankit Navik <ankit.tarot@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
2019-03-05 13:16:46 +08:00