aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel
AgeCommit message (Collapse)Author
2022-04-27kernel: refactor linux-yocto_5.10 recipeZhaolong Zhang
refactor recipe, remove obsolete features, without functional change. Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-22kernel: upgrade linux-yocto(-rt) to v5.10.70 from v5.10.47Zhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-22bsp: split ethanolx into milan and romeZhaolong Zhang
milan and rome belong to different microarchitectures thus have different tune features. Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-19linux-yocto: drop 5.4 recipeZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-19meta-amd: Convert to new override syntaxZhaolong Zhang
This converts the layers to the new override syntax. This was done using `<oe-core>/scripts/contrib/convert-overrides.py <this-layer>` after expending the override strings(shortvars) in convert-overrides.py by: "radeon amdgpu amd seattle-be v1000 amdx86" with no more other manual fixes. Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2021-09-06kernel: create MACHINE_FEATURE for ccp drivers & enable on e3000 onlyArsalan H. Awan
Lets control the ccp driver enablement via MACHINE_FEATURES. This way, the ccp drivers are enabled in the kernel only if a machine specifies it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-09-01kmod: prevent ccp module autoload at system boot on vermeerArsalan H. Awan
ccp is probed at system boot time but is not supported on the vermeer platform. Lets disable that for the vermeer platform as well in order to get rid of the errors at boot time. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-08-31kernel: upgrade linux-yocto(-rt) to v5.10.47 from v5.10.25Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-08-29kernel: fix configure warnings related to CONFIG_X86_BIGSMPArsalan H. Awan
This gets rid of the following build time kernel warning: WARNING: linux-yocto-5.10.25+gitAUTOINC+031f6c76e4_cf5b0320cf-r0.1 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_X86_BIGSMP' last val (y) and .config val (n) do not match [INFO]: CONFIG_X86_BIGSMP : n Config 'X86_BIGSMP' has the following Direct dependencies (X86_BIGSMP=n): SMP(=y) && X86_32(=n) Parent dependencies are: SMP [y] X86_32 [n] [INFO]: config 'CONFIG_X86_BIGSMP' was set, but it wasn't assignable, check (parent) dependencies Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-08-29bsp: implement screen-console MACHINE_FEATUREArsalan H. Awan
This adds a new custom MACHINE_FEATURE called screen-console that allows to enable graphical console for machines. The implementation controls the kernel configs and the grub config kernel flags to get this result. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-08-29vermeer: add base bsp based on zen3 tunings with kernel 5.10 supportArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-08-02linux/pciehp: enable the pcie hotplug kernel driverArsalan H. Awan
This is to enable the PCIe Hotplug functionality for the motherboards that support the PCI Express Native Hotplug, such as ethanolx. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-28kmod: prevent ccp module autoload at system boot on ethanolxArsalan H. Awan
ccp is probed at system boot time but is not supported on the ethanolx platforms. Lets disable that for the ethanolx platforms in order to get rid of the errors at boot time. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-28linux/ccp: make ccp & ccp_crypto modules as some machines dont use themArsalan H. Awan
The Cryptographic Coprocessor (CCP) is not exposed to the x86 CPU on the ethanolx platforms i.e. rome and milan. Therefore having this enabled in the kernel by default results in an error at boot time: [ 6.585600] ccp 0000:43:00.1: enabling device (0000 -> 0002) [ 6.590543] ccp 0000:43:00.1: no command queues available [ 6.595151] ccp 0000:43:00.1: sev enabled [ 6.598167] ccp 0000:43:00.1: psp enabled [ 6.833678] ccp 0000:43:00.1: SEV API:1.23 build:23 [ 6.837683] ccp_crypto: Cannot load: there are no available CCPs Lets compile ccp & ccp_crypto as modules so that they can be loaded when needed by a machine that supports CCP (such as: e3000), and can be disabled for a machine that does not support it (such as: ethanolx). Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-06-10bsp: merge milan & rome into single bsp ethanolx as they use same boardArsalan H. Awan
This merges the milan and rome bsps into a single bsp called ethanolx as they make use of the same motherboard and the serial uart console device is also the same (i.e. ttyS0) on both platforms. This allows us to use the same binary images on both platforms. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-25linux-yocto: add kernel v5.10.25 support for the milan bspArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-05-03linux-yocto-amdx86.inc: remove sound.cfg as it is not supported hereArsalan H. Awan
This removes the sound.cfg kernel configs as we don't support audio and alsa on bsps under amdx86.inc. This also gets rid of the following warning: WARNING: linux-yocto-rt-5.10.25+gitAUTOINC+031f6c76e4_be2935bce3-r0.1 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_FW_LOADER' last val (m) and .config val (y) do not match [INFO]: CONFIG_FW_LOADER : y ## .config: 1641 :configs/v5.10/ktypes/base/base.cfg (m) [INFO]: selection details for 'CONFIG_FW_LOADER': Symbols currently y-selecting this symbol: - SND_HDA_PATCH_LOADER - SND_HDA_CODEC_CA0132_DSP Symbols currently m-selecting this symbol: - BT_BCM - BT_RTL - BT_HCIBCM203X - BT_HCIBFUSB - BT_ATH3K - CFG80211 - BNX2X - BNXT - R8169 - CARL9170 - BRCMSMAC - BRCMFMAC_SDIO - BRCMFMAC_USB - IWLWIFI - RT2X00_LIB_FIRMWARE Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-29Merge pull request #702 from ArsalanHAwan/hardknott-dpdk-upgradeWade Farnsworth
hardknott: upgrade dpdk
2021-04-26dpdk: upgrade to the latest LTS release v20.11.1Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-26amd-spi: rm incompatible spirom kernel module and spirom-test appArsalan H. Awan
This removes the spirom module and app as they are not compatible with the spi_amd upstream kernel driver that we use now instead of the IOSDK driver that spirom module and spirom-test app were compatible with. We will not be able to upgrade the BIOS from userspace for now, but an alternate way to upgrade the BIOS will be introduced later on. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-20linux-yocto: patch xgbe, usb and spi on kernel v5.10.25Arsalan H. Awan
Integrates the AMD code drop for XGBE, USB and SPI. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-04-20linux-yocto: drop spi_amd iosdk module and use upstream kernel driverArsalan H. Awan
We now use the upstream kernel driver for amd spi instead of the local iosdk spi kernel module. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-31linux-yocto: rm configs that did not make it into kernel final configArsalan H. Awan
WARNING: linux-yocto-5.10.25+gitAUTOINC+031f6c76e4_cf5b0320cf-r0.1 do_kernel_configcheck: [kernel config]: specified values did not make it into the kernel's final configuration: [NOTE]: 'CONFIG_PGTABLE_LEVELS' last val (4) and .config val (5) do not match [INFO]: CONFIG_PGTABLE_LEVELS : 5 ## .config: 297 :configs/v5.10/standard/./amdx86-extra-config.cfg (4) [NOTE]: 'CONFIG_IOSF_MBI' last val (m) and .config val (y) do not match [INFO]: CONFIG_IOSF_MBI : y ## .config: 320 :configs/v5.10/standard/./amdx86-extra-config.cfg (m) [NOTE]: 'CONFIG_HOTPLUG_PCI_SHPC' last val (m) and .config val (n) do not match [INFO]: CONFIG_HOTPLUG_PCI_SHPC : n ## .config: 1578 :configs/v5.10/standard/./amdx86-user-config.cfg (m) [NOTE]: 'CONFIG_MOUSE_PS2_FOCALTECH' last val (n) and .config val (y) do not match [INFO]: CONFIG_MOUSE_PS2_FOCALTECH : y ## .config: 2662 :configs/v5.10/standard/./amdx86-extra-config.cfg (n) [NOTE]: 'CONFIG_HW_RANDOM_TPM' last val (m) and .config val (y) do not match [INFO]: CONFIG_HW_RANDOM_TPM : y ## .config: 2919 :configs/v5.10/standard/./amdx86-user-config.cfg (m) [NOTE]: 'CONFIG_PINMUX' last val (n) and .config val (y) do not match [INFO]: CONFIG_PINMUX : y ## .config: 3106 :configs/v5.10/standard/./amdx86-extra-config.cfg (n) Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto: rm kernel configs not found in the active configurationArsalan H. Awan
WARNING: linux-yocto-5.10.25+gitAUTOINC+031f6c76e4_cf5b0320cf-r0.1 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: the following symbols were not found in the active configuration: - CONFIG_SYSCTL_SYSCALL - CONFIG_CALGARY_IOMMU - CONFIG_CALGARY_IOMMU_ENABLED_BY_DEFAULT - CONFIG_NODES_SPAN_OTHER_NODES - CONFIG_X86_INTEL_MPX - CONFIG_INTEL_MIC_BUS - CONFIG_GPIO_LYNXPOINT - CONFIG_THUNDERBOLT Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto: rm watchdog sp5100_tco patch as it is already mergedArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-30linux-yocto,linux-yocto-rt: add kernel v5.10.25 recipesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-10bsp/amdx86: split into separate machines that share the same kernelArsalan H. Awan
This splits the amdx86 bsp into separate machines i.e. e3000 & rome, as they use different serial/uart ports for kernel console. e3000 has ttyS4 and ttyS5 available for use, whereas rome has ttyS0 only. The kernel console is needed for the grub install option. Linux kernel allows only one device per device-type to be usable as kernel console device. Therefore, we cannot have 2 different ttySx as serial console devices. We are still keeping the same kernel shared across both platforms, and any other platforms that will be added under amdx86 will share the same kernel. The console device is the only thing that differs across the devices. If we could find a way to have the serial device number automatically determined at boot time, and have it passed to linux kernel commandline args, maybe we'll switch back to having a single bsp/machine that works on all the AMD x86 platforms. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-03-01increase CONFIG_NR_CPUS to support AMD EPYC 7002 Series ProcessorsArsalan H. Awan
This changes the max cpu limit from default of 64 cores to 256 cores in order to support the rome platform that can host 2 of 64 core cpus with 2 thread per core, giving us a total of 256 virtual cpus. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-02-12amdx86/wdt: enable sp5100_tco wdt driver for family 17h and rm amd_wdtArsalan H. Awan
This enables the CONFIG_SP5100_TCO watchdog driver and removes the amd_wdt kernel module. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2021-02-12amdx86/linux-yocto: patch xgbe, emmc, spi and usb on kernel v5.4.69Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17lttng-modules: rm patch that was added for an older kernelArsalan H. Awan
This removes the patch that was added here for an old 4.14 kernel that is not applicable for our current 5.4.69 kernel. See: 1f067a0daa21b39a87bd156f2ad2c106846489d1 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-17remove e3000 and create a generic amdx86 bsp for all supported machinesArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-14e3000/kernel: move to linux-yocto v5.4.69 as per yocto-3.1.4Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-12-14meta-amd-bsp: remove unsupported codeArsalan H. Awan
This removes all the unsupported bsps and recipes. We can bring back bsps and/or recipes when needed. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-25e3000/linux-yocto-rt: add recipe for the RT kernel v5.4.2Arsalan H. Awan
This adds the linux-yocto-rt v5.4.2 recipe so that the e3000 BSP can make use of it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-24e3000/kernel: move to linux-yocto v5.4.2Arsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-09-24bsp/kernel: rm linux-yocto-4.14.71 bits as it is not used by any bspArsalan H. Awan
We are keeping the linux-yocto-4.19.8 for now as r1000 has not moved to linux-yocto-5.4.2 yet. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-05-28linux-yocto_5.4.2 : add 5.4.2 amdgpu patchRahul Kumar
2020-05-28Fix amd-spi build failureRahul Kumar
- access_ok argument reduced to 2 parmaters in 5.4 kernel
2020-05-21linux-yocto: add kernel v5.4.2 recipeArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-05-21bsp/kernel: let's port the 4.19 kernel recipes to start with on dunfellArsalan H. Awan
This ports the 4.19 kernel recipes from upstream warrior branch into meta-amd to start with the new dunfell branch. User should be able to build an image for a BSP on which 4.19 kernel was supported previously. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2020-01-20R1000 : R1000 firmware updateChaudhary Amit Kumar
2020-01-17R1000_LP : add 4.19.8 amdgpu patch for R1000 LPChaudhary Amit Kumar
2019-12-19e3000/linux-yocto-rt: add recipe for the RT kernel v4.19.8Arsalan H. Awan
This adds the linux-yocto-rt v4.19.8 recipe for the e3000 BSP. This is just a base port without any patches. We might get patches from AMD on top of this port for e3000 later on. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-12-18e3000/linux-yocto: add recipe for kernel v4.19.8Arsalan H. Awan
This adds the linux-yocto v4.19.8 recipe for the e3000 BSP. This is just a base port without any patches. We might get patches from AMD on top of this port for e3000 later on. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-11-20amdgpu : kernel patch update to 2019_40 versionChaudhary Amit Kumar
2019-11-19V1000 : update v1000 firmwareChaudhary Amit Kumar
2019-10-23v1000/kernel: add linux-yocto_4.19.8 support for v1000Arsalan H. Awan
This adds the linux-yocto_4.19.8 recipe for v1000. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2019-10-23amdgpu : amdgpu patch update for various issues fix for gfx, display, kfdChaudhary Amit Kumar
2019-09-12bsp/linux-yocto: enable kgdb if DISTRO is poky-amd else disable kgdbArsalan H. Awan
Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>