aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amdfalconx86/recipes-kernel
AgeCommit message (Collapse)Author
2019-08-28meta-amdfalconx86: remove this deprecated bspArsalan H. Awan
Users may use "sumo" or previous release branches to build for this machine. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2017-10-11amdfalconx86: use actual license text for LIC_FILES_CHKSUMAwais Belal
Increases maintainability and readability by using a single file with the actual license text being tested. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2017-10-11amdfalconx86: drop usage of PV and PRAwais Belal
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 Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
2017-04-19amdgpu: get maximum and used UVD handlesAhsan Hussain
This enables the ability to get max. and used UVD handles from userspace. JIRA Ticket: INTAMDDET-1890 Signed-off-by: Ahsan Hussain <ahsan_hussain@mentor.com>
2017-03-31amdfalconx86: 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-01-30kernel-module: Fix recipes for amd-spi and amd-wdtAhsan Hussain
Setting PN and FILES inside the recipe was conflicting with the module.bbclass bits. SPI driver made it into the RFS because of different module package name (due to source files) than what was specified in the recipe. This is also why we were seeing two packages for it, namely kernel-module-spi-amd and kernel-module-amd-spi. Signed-off-by: Ahsan Hussain <ahsan_hussain@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-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-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-13add amdgpu.cg_mask and amdgpu.pg_mask parameters disable EDCSanjay R Mehta
2016-10-03amdgpu vulkan supportSanjay R Mehta
2016-09-16linux-yocto-rt: disable I2S audioAwais Belal
Some components that are required for the I2S audio to work correctly are part of the AMDGPU driver like the amd_gnb_bus. The AMDGPU driver is not RT safe yet so it is disabled which makes the RT builds fail. We now disable these failing components on the RT kernel builds to cover up the issue. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-07-20Enabling kernel config for POWERPLAYSanjay R Mehta
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.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-05-18meta-amdfalconx86: add stoney firmwareArindam Nath
Signed-off-by: Sanjay Mehta <sanju.mehta@amd.com> Signed-off-by: Arindam Nath <arindam.nath@amd.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-amdfalconx86: update CZ UVD firmwareArindam 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-04-21linux-yocto/amdfalconx86: drop duplicated configsAwais Belal
These configurations are already provided through the common layer. 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-05linux-yocto: Upgrade SE / BE to v4.1 kernel and refactorMichael
2016-03-11linux-yocto/rt: drop duplicate/un-needed configsAwais Belal
Some configurations were duplicated among different configuration fragments or enabled in one and then disabled in the other vice versa. This has been consolidated and corrected now. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-11linux-yocto/rt: allow overrides SRCREV, KBRANCH and versionAwais Belal
Update definitions to allow overriding of the said variables through configuration files. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-10linux-yocto/rt: use common-pc-64 as KMACHINEAwais Belal
The closest kernel understandable machine for the amdfalconx86 platform is the common-pc-64. We now use it as KMACHINE per the yocto standards and manipulate configurations accordingly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-07Merge pull request #260 from abelal/fix_rt_config_warningsDrew Moseley
linux-yocto/rt: split out standard only configurations
2016-03-07Merge pull request #259 from abelal/fix_kgdbDrew Moseley
linux-yocto: fix kgdb hangs and warnings
2016-03-07linux-yocto/rt: split out standard only configurationsAwais Belal
Some of the configuration being passed through user config fragment are explicitly disabled in the kernel for RT type. This produces build warnings that the configuration does not apply cleanly. We split out the mentioned configuration to a separate config fragment and use that in case of standard type kernel only. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-05linux-yocto: fix kgdb hangs and warningsAwais Belal
KGDB does not play nice if DEBUG_PREEMPT and DEBUG_RODATA are enabled in the kernel. The connecting GDB gives warning that further execution would not be possible once it hits a breakpoint. Additionally, continuing or stepping while debugging runs into hangs sometimes and freezes the target. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-01linux-yocto/rt: fix configuration warningAwais Belal
Fixes WARNING: [kernel config]: specified values did not make it into the kernel's final configuration: Value requested for CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT not in final ".config" Requested value: "CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT=y" Actual value set: "" Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-03-01linux-yocto/rt: upgrade to 4.1.18Awais Belal
The kernel is upgraded to 4.1.18 stable tag. We specifically remove a kernel CVE coming in from mel-updates that has been merged already in the kernel we're upgrading to here. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-26linux-yocto: enable hid-multitouchAwais Belal
This enables support for touchscreens with multitouch support. The hid-multitouch driver supports a number of devices so it would be a good idea keeping it in as a module. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-18linux-yocto: enable R8168 driver for amdfalconx86Awais Belal
The AMD Falcon family uses an R8168 NIC for ethernet which is a Realtek based card. The in-kernel R8169 driver shows flaky behavior on some of the Falcon family variants so we integrate and leverage through the official R8168 driver provided by Realtek. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-08linux-yocto-amd.inc: close BSP audit warningsAwais Belal
Fixes WARNING: [kernel]: An auto generated BSP description was used, this normally indicates a misconfiguration. Check that your machine (amdfalconx86) has an associated kernel description. The warning is superfluous in our case so we close it. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-03linux-yocto: enable eMMC support for 4.1 kernelAwais Belal
The handling of AMD CZ SMBus device isn't yet available in the mainline 4.1 kernel so we patch the support in to get the on-board eMMC working for the Falcon family of platforms. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-03linux-yocto/rt: make configuration arrangement deterministicAwais Belal
In order to apply the kernel configuration fragments deterministically we should first apply the base configurations which are amdfalconx86-standard and amdfalconx86-preempt-rt in the different kernel types. We now include the common recipe fragment (linux-yocto-amd-4.1.inc) at the end so the earlier listed fragments appear ahead in the SRC_URI and get applied in the same manner. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-03linux-yocto: use MICROCODE as built-inAwais Belal
In order to use MICROCODE_EARLY which is an intention for the latest AMD GPU to work correctly the MICRODE configuration needs to be built-in (y) rather than configured as a module. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-03linux-yocto: disable the R8168 driverAwais Belal
We disable the R8168 driver which is not needed anymore as we've dropped it while upgrading for 4.1 kernel version and the in-tree R8169 driver handles compatibility issues with the DASH controller which were seen earlier with the 3.14 kernel version. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-03linux-yocto: use amdfalconx86 as KMACHINEAwais Belal
In order to generate a scratch kernel configuration we need to use a machine not know to the kernel otherwise if we specify a known machine like common-pc-64, the default configuration for this machine is used and any other machine configurations like the amdfalconx86.cfg are ignored. We fix this issue by defining the KMACHINE to amdfalconx86 for the falcon family so we can reliably provide configuration fragments to handle kernel configuration. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-02linux-yocto/rt: consolidate files under one directoryAwais Belal
With the upgrade to 4.1.15 a separate directory was created for patches and configurations which applied on the 4.1 kernel separately although some of the old configuration fragments were still used. With the removal of version 3.14 this is no longer necessary, creates confusion and would be harder to maintain at the end of the day. We now consolidate these directories to have a single one which provides everything needed to go through a sane build. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-02linux-yocto/rt: drop version 3.14Awais Belal
We now use 4.1.15 for both RT and standard kernel so drop the unneeded 3.14 kernel. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-02linux-yocto: use common bits through includeAwais Belal
A lot of things are common between the standard and RT kernel metadata so we use an include to specify these generic settings between the two types of kernel recipes. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-02-02linux-yocto-rt: upgrade to 4.1.15Awais Belal
Signed-off-by: Awais Belal <awais_belal@mentor.com>
2016-01-29meta-amdfalconx86: update kernel version to 4.1.15Arindam Nath
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-01-29meta-amdfalconx86: CZ UVD firmware upgradeArindam Nath
Signed-off-by: Arindam Nath <arindam.nath@amd.com>
2016-01-07linux-amd: fix recipetool crashMichael
bb.fetch.URI does not properly handle entries ending with ';'. For the time being, strip trailing ';' from SRC_URI.