aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-kernel/linux
AgeCommit message (Collapse)Author
2018-04-24Merge remote-tracking branch 'morty' into 'master'Awais Belal
2018-04-04linux-yocto_4.9: move upstream backports to common layerAwais Belal
This moves the upstream backports to the common layer and uses an append to apply these so the same could be used for other common changes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-03linux-yocto: move 4.9 recipe to commonAwais Belal
The kernel 4.9 recipe is being used for v1000 as well as snowyowl. Move the base recipe to common and then use appends for BSP overrides. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-23linux-yocto: add 4.4 recipesAwais Belal
Few of the AMD BSPs currently only support kernel 4.4 and the same version has been dropped by upstream yocto. In order to address the Meltdown/Spectre changes that approach is actually feasible but the AMD BSPs would fail to build in this scenario. Add 4.4 kernel recipes for the time being to at least building of images cleanly up until a decision is taken on which kernel to support for the longer run. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-12-18cleanup: drop all unnecessary patch filesAwais Belal
During update/upgrade/removal of packages/recipes we missed out patch files here and there which are not being used anywhere in the layer so delete all such patch files. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-11remove unnecessary newlinesAwais Belal
Cosmetic change to remove unnecessary newlines in recipes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-05-25moving some of amdfalconx86 related kernel patches to meta-amdfalconx86 layerSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-21kernel: Reverting refine pg code for gfx_v8.Sanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-03-31steppeeagle: disable DEBUG_PREEMPT and DEBUG_RODATAAwais Belal
These configurations conflict with KGDB debugging in some cases and generate stack dumps in various other situations. The stack dumps related to mwaitx are properly fixed through https://patchwork.kernel.org/patch/8549611/ but the mentioned patch is only available for Yocto kernel 4.8 and we don't use these so it is much better to avoid the problem with this for the time being rather than backporting the patch. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-03-20linux-yocto: fix I2S audio hangAwais Belal
This fixes the kernel and amdgpu hang when I2S audio is enabled through the BIOS. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-01-03kernel: Add support for vulkan semaphore and cache raster config valuesSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-11-23linux-yocto: pick up random optimizationsAwais Belal
This enables the chacha20 scheme of random number generator which is way more optimized and efficient from the legacy non-blocking pool. This helps providing a steady and more robust random mechanism which allows for better boot times and other positives. The included patch has been back ported from linux-yocto 4.8 tree and adjusted accordingly. Ref: https://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-4.8/commit/drivers/char/random.c?h=standard/base&id=e192be9d9a30555aae2ca1dc3aad37cba484cd4a Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-11-07linux-yocto: fix QA warningsAwais Belal
Fixes warnings printed out during kernel_configcheck phase regarding CONFIG_BT_6LOWPAN and CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-27linux-yocto: fix CVE-2016-5195Awais Belal
This integrates the fix for CV-2016-5195 from upstream. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-26AMD I2S audio supportSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-10-14linux-yocto/rt: consolidate common settings where possibleAwais Belal
This consolidates common settings between standard and RT type kernel across the BSPs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14linux-yocto: fix SRCREVsAwais Belal
This explicitly locks the source to particular SRCREVs otherwise an upstream move can break our builds and we also want to support BB_NO_NETWORK builds. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14SE/BE: move to 4.4 kernelAwais Belal
This commit does a few things which cannot be separated easily so it cannot be split in to separate commits. * Drops all 4.1 kernel bits. * Moves all common patches from meta-amdfalconx86 to common. * Moves SE/BE builds to 4.4 kernel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-14linux-yocto-rt: enable 4.4 kernel for amdfalconx86Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-03amdgpu vulkan supportSanjay R Mehta
2016-08-26Merge branch 'jethro'Drew Moseley
2016-08-24add support of SW clock gating for UVD6Sanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-08-10Merge branch 'jethro'Drew Moseley
2016-07-22linux-yocto: prioritize ext4 RootFSAwais Belal
This gives us some performance benefit by trying the ext4 filesystem check in priority to ext3 and ext2 where we already know that our rootfs is ext4. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-07-20Add power gating initialization support for GFX8.0Sanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-07-13i2c: Adapt patch for newer kernelDrew Moseley
In the 4.1.2x kernels the i2c code was modified to use a helper routine for device probing called i2c_dw_probe. This patch originally modified the ordering of when i2c_add_numbered adapter was called. This is no longer needed. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-07-13linux-yocto: fix amdgpu compilationAwais Belal
The build configuration for amdgpu/dal enforces warnings to be treated as errors. The attached patch fixes such warnings which make the compilation fail with gcc6. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-07-12Merge branch 'jethro'Drew Moseley
2016-07-11linux-yocto: add support for Stoney HDMI audioAwais Belal
The AMD Stoney platform uses a new device id 0x15b3 for its HDMI audio which currently isn't available in the PCI device list for Azalia compatible devices. We now add this device so it correctly shows up as HDMI rather than a generic one. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-07-08Revert "linux-yocto: fix amdgpu compilation"Drew Moseley
This reverts commit aab6159ff00300bfc57d0a133be9460f43e9c898.
2016-06-30amd: Add patch for power management workaround for multiple displaysDrew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-06-29linux-yocto: fix amdgpu compilationAwais Belal
The build configuration for amdgpu/dal enforces warnings to be treated as errors. The attached patch fixes such warnings which make the compilation fail with gcc6. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-06-22amd: Move common kernel patch from meta-amdfalconx86 to commonDrew Moseley
Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-06-22Merge pull request #298 from narindam/cedarDrew Moseley
meta-amd: add code to support falcon family
2016-06-20meta-amdfalconx86: fix display corruption issue on BF platformArindam Nath
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-06-15linux-yocto: upgrade to version 4.1.24Awais Belal
The mentioned version brings in changes that allow building with gcc 6.x. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-05-17meta-amd/common: add I2S audio supportArindam Nath
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com> Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-05-17meta-amd/common: linux kernel updatesArindam Nath
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com> Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-05-16linux-yocto-rt: fix RT builds and move to commonAwais Belal
During consolidation of the kernel recipes for standard kernel some changes were made to the linux-yocto-amd-4.1.inc which was being utilized b/w standard and RT kernel for the amdfalconx86 machine. These updates rendered void many features on the RT kernel along with making the build of this kernel unstable. We now move the RT kernel recipe to common layer so it can be utilized by other machines and fix the issues that were present prior to the move. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-05-16linux-yocto: fix LINUX_VERSIONAwais Belal
During consolidation of kernel recipes the LINUX_VERSION string got dropped incorrectly. This ends up creating a wrongly named working directory. We now fix this by declaring the variable as intended. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-04-21linux-yocto: enable HID_MULTITOUCH for all platformsAwais Belal
This was only being applied to the amdfalconx86 BSP earlier. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-04-21linux-yocto: disable RODATA for all platforms when KGDB is neededAwais Belal
The issue was first noted and fixed for the amdfalconx86 BSP. We now move it to common so it applies across all. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-04-07Enable IMC and or AMD SPI SDKArindam Nath
- amdfalconx86 / SteppeEagle: IMC and AMD SPI SDK - BaldEagle: Enable IMC Signed-off-by: Arindam Nath <arindam.nath@amd.com> Signed-off-by: Michael Powell <michael_powell@mentor.com>
2016-04-06linux-yocto: drop wildcard versioned appendAwais Belal
The wildcard versioned append is only working around a race condition so we move the workaround to the versioned append and simply drop the wildcard one. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-04-06linux-yocto: drop CVE-2016-0728Awais Belal
All the BSPs have moved to 4.1.18 which has the fix already in base source so we drop the application from our layer. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-04-05linux-yocto: Upgrade SE / BE to v4.1 kernel and refactorMichael
2016-02-17linux-yocto: fix keyring for non MEL and MEL-LITEMichael
The update layer will handle MEL and MEL-LITE
2016-02-05linux-yocto: Workaround race for archiving filesDrew Moseley
This is fixed properly in the master branch with: http://patchwork.openembedded.org/patch/107179/ Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-02-04linux-yocto: kernel-keyring-CVE-2016-0728Michael
MEL is covered by the update layers, but mel-lite and others are not.
2015-12-22linux-amd: fix jmp behavior for early idt handlersAwais Belal
The kernel hangs while trying to do a load_idt in the early start up phase and there's nothing obvious to observe on any of the consoles. This happens because jmp targets for early_idt_handlers are global which should always generate a long jmp which in theory should work correctly but tends to fail with newer assemblers. Patch backported from https://patchwork.kernel.org/patch/6469791/ Signed-off-by: Awais Belal <awais_belal@mentor.com>