path: root/common/recipes-kernel
AgeCommit message (Collapse)AuthorFilesLines
2019-08-28common: rename to meta-amd-bspArsalan H. Awan8764-3774448/+0
This renames common layers to meta-amd-bsp as it is going to hold all the bsps in it in the following commits. This also changes the layer title in layer.conf from "amd" to "amd-bsp" Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-08-28common: remove unused linux-yocto_4.4 & linux-yocto-rt_4.4 recipesArsalan H. Awan1139-527531/+0
This removes the linux-yocto_4.4 & linux-yocto-rt_4.4 kernel recipes as we don't need them anymore. This also sets the PREFERRED_VERSION_linux-yocto ?= "4.14%" as default kernel for all bsps. We still have snowyowl and v1000 using the 4.14 kernel. r1000 has moved to 4.19 kernel. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-08-22linux-yocto_4.19.8 : add 4.19.8 amdgpu patchChaudhary Amit Kumar2957-0/+963104
2019-07-22common: let's port the 4.14 kernel recipes to start withArsalan H. Awan2-0/+88
This ports the 4.14 kernel recipes from upstream sumo branch into meta-amd to start with. User should be able to build an image for a BSP on which 4.14 kernel was supported previously. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-06-12linux-yocto: move updates from meta-r1000 to commonAwais Belal10-1/+321
This allows the latest updates to be used on other BSPs such as the v1000 where these modifications are applicable. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2019-03-13amdgpu : RTQA1 2019 kernel patch backportedChaudhary Amit Kumar1631-1/+361060
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
2019-01-02linux-yocto: update eMMC patches for the common layerAwais Belal5-274/+349
The earlier patchset is not as stable and we've seen issues with it on different revisions of the v1000 target hardware. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-12-21linux-yocto_4.14: enable basic driversAwais Belal12-2/+84
Most of our BSPs require these drivers and they have been part of earlier releases so enabling them for the new kernel makes the most sense. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-27common/linux-yocto: separate out AMD eMMC patchesAwais Belal3-4/+5
Just like we've bisected for the XGBE fragment, this now allows the eMMC patches to be overriden from other BSPs which want to modify/drop the fragment. We're dropping the fragment name from the snowyowl layer SRC_URI because the common append now provides it already. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-27common/linux-yocto: separate out AMD XGBE patchesAwais Belal3-15/+17
Separate out XGBE patches from the GPU patches fragment. We apply this on all the BSPs and any BSP that wants to override the fragment can simply provide the same named fragment from its own layer. We're dropping the fragment name from the snowyowl layer SRC_URI because the common append now provides it already. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-24linux-yocto: move v1000 patches to commonAwais Belal4135-2/+2449592
These patches apply to other BSPs as well which utilize the amdgpu driver so move these to common. There are patches against XGBE and other peripherals in the same list which will be split in the upcoming commits so BSPs not requiring the subsets can modify or drop the fragments as needed. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-11-14common: drop all the 4.9 kernel metadataAwais Belal313-49933/+0
None of the BSPs are currently based on the 4.9 kernel so drop the common metadata as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-10-31kernel : add support for v4.14.71Chaudhary Amit Kumar3-0/+17
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
2018-07-17Merge remote-tracking branch 'morty' into sumoAwais Belal137-0/+27521
2018-07-04linux-yocto-4.9: backport speculation updates till 4.9.111Awais Belal11-0/+1048
This backports the speculation related patches up till the 4.9.111 version from the linux-stable tree. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-14linux-yocto-4.9: backport speculation updates till 4.9.107Awais Belal94-0/+22432
This backports the speculation related patches up till the 4.9.107 version from the linux-stable tree which includes mitigation for Spectre v4 as well. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-14linux-yocto-4.9: KVM backports for Spectre/Meltdown up till 4.9.88Awais Belal34-0/+4041
The upcoming mitigations for Spectre/Meltdown are addressed in a way that a patch contains fixes on a topic for both normal/KVM running modes. If we do not backport the earlier KVM patches the conflicts will be very hard to resolve. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-06-01Merge remote-tracking branch 'origin/morty' into masterAwais Belal110-300/+640
2018-05-22linux-yocto/rt: adjust spectre/meltdown backportsAwais Belal6-4/+189
This includes spectre/meltdown backports for the RT kernel as well by moving the patches fragment to the common include. A patch that conflicts with RT changes has been taken out of the backport set and added separately for both type of kernels after adjusting accordingly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-18snowyowl/linux-yocto-rt: make use of the common fragmentsAwais Belal1-0/+3
This moves the parts that can be utilized through the common layer for the RT kernel and generalizes the support. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-16linux-yocto-rt_4.9: move base recipe to common layerAwais Belal1-0/+38
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-16linux-yocto_4.9: further unify the support using the common layerAwais Belal2-9/+19
This will allow for an easier maintenance procedure such that the common fragments can be handled more seamlessly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-05-10linux-yocto/4.9: fix bpf backports for spectre/meltdownAwais Belal104-287/+391
A commit was missed during backports which generates failure during build. This now picks that commit up as well and updates the series appropriately. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-24Merge remote-tracking branch 'morty' into 'master'Awais Belal172-0/+22072
2018-04-04linux-yocto_4.9: move upstream backports to common layerAwais Belal171-0/+22028
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 Belal1-0/+44
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 Belal2-0/+78
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 Belal1-30/+0
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 Belal1-1/+0
Cosmetic change to remove unnecessary newlines in recipes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-11common: drop usage of PV and PRAwais Belal1-3/+0
PV is extracted from the filename and PR is managed through the PR service so no need to define them explicitly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-05-25moving some of amdfalconx86 related kernel patches to meta-amdfalconx86 layerSanjay R Mehta37-10810/+0
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-21kernel: Reverting refine pg code for gfx_v8.Sanjay R Mehta2-205/+0
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-03-31steppeeagle: disable DEBUG_PREEMPT and DEBUG_RODATAAwais Belal1-2/+0
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 Belal2-0/+56
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 Mehta12-0/+1753
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-11-23linux-yocto: pick up random optimizationsAwais Belal2-0/+802
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 Belal1-0/+5
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 Belal2-0/+92
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 Mehta13-0/+7003
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-10-14linux-yocto/rt: consolidate common settings where possibleAwais Belal3-73/+27
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 Belal1-0/+3
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 Belal2598-966389/+528159
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 Belal2-0/+28
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-10-03amdgpu vulkan supportSanjay R Mehta1-0/+55
2016-08-26Merge branch 'jethro'Drew Moseley2-0/+483
2016-08-24add support of SW clock gating for UVD6Sanjay R Mehta2-0/+483
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2016-08-16gpio-load: Remove unneeded packageDrew Moseley2-17/+0
This package serves to install a blank file into /etc/modprobe.d. Since the file is blank it does nothing. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-08-16wdt-load: Remove unneeded packageDrew Moseley2-18/+0
This package serves to install a blank file into /etc/modprobe.d. Since the file is blank it does nothing. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
2016-08-10Merge branch 'jethro'Drew Moseley3-0/+9906
2016-07-22linux-yocto: prioritize ext4 RootFSAwais Belal2-0/+36
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>