aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel
AgeCommit message (Collapse)Author
2023-01-09bsp: fix the warning about duplicated configurationZhang, Siyu
Signed-off-by: Zhang, Siyu <Siyu.Zhang@windriver.com>
2023-01-08bsp: enable screen console by defaultZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-30kernel 5.15: port netdev upstream fix for amd xgbe driverZhang, Siyu
Signed-off-by: Zhang, Siyu <Siyu.Zhang@windriver.com>
2022-12-30kernel 5.15: fix calltrace about nfsZhang, Siyu
Signed-off-by: Zhang, Siyu <Siyu.Zhang@windriver.com>
2022-12-30bsp: add genoa configurationZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-23kernel 5.15: merge upstream patches for genoaZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-12bsp: refactor machine configurationsZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-12kernel 5.10: upgrade linux-yocto(-rt) from v5.10.109 to v5.10.149Zhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-12kernel: upgrade linux-yocto(-rt) from v5.15.32 to v5.15.68Zhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-12kernel 5.15: fix build warningsZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-12-12kernel 5.15: merge out-of-tree patchesZhaolong Zhang
This commit contains update for: * AMD XGBE controller Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-10-08kernel: merge out-of-tree patchesZhaolong Zhang
This commit contains update for: * Aquantia PHY * AMD XGBE controller Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-06-07kernel: merge out-of-tree and upstream patchesZhaolong Zhang
This commit contains update for: * Aquantia PHY * AMD MP2 PCIe I2C adapter * NVIDIA GPU I2C controller * Synopsys DesignWare I2C adapter * PIIX4 family of mainboard I2C interfaces * AMD SP5100 TCO Timer/Watchdog * AMD XGBE controller * AMD xhci controller Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-27kernel: upgrade linux-yocto(-rt) from v5.10.70 to v5.10.109Zhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
2022-04-27kernel: add linux-yocto(-rt) 5.15 supportZhaolong Zhang
Signed-off-by: Zhaolong Zhang <zhaolong.zhang@windriver.com>
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>