aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-05-10linux-yocto/4.9: fix bpf backports for spectre/meltdownAwais Belal
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-05-09Merge pull request #523 from abelal/INTAMDDET-2300Wade Farnsworth
snowyowl/linux-yocto: disable unnecessary EDAC configs
2018-05-09Merge pull request #521 from abelal/add_amdvlkWade Farnsworth
Add amdvlk for v1000
2018-05-09snowyowl/linux-yocto: disable unnecessary EDAC configsAwais Belal
These generate unnecessary boot logs and are not needed for the platform to work correctly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-19Merge pull request #517 from abelal/amd_spectre_kaiserWade Farnsworth
AMD Spectre/Meltdown Upstream backports
2018-04-18core-image-sato: deploy amdvlk conditionally for v1000Awais Belal
The AMD Vulkan ICD for v1000 is now integrated in the layer so deploy it whenever INCLUDE_VULKAN is set. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-18amdvlk: add AMD Vulkan ICD libraryAwais Belal
This integrates the closed source AMD Vulkan ICD library. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-12Merge pull request #519 from ArsalanHAwan/mortyWade Farnsworth
DRM/hotplug: fixed udev rule
2018-04-12DRM/hotplug: fixed udev ruleArsalan H. Awan
The udev rule for hotplug was getting triggered multiple times at system boot-up even when there was no occurance of a hotplug event. This generates a huge stream of DRM events at startup, observable in kernel logs, resulting in system boot-up delays. This commit fixes the udev rule by making use of the HOTPLUG uevent environment variable that is set by the uevent drm_sysfs_hotplug_event generated by DRM sysfs class at the time of a hotplug: kernel_source/drivers/gpu/drm/drm_sysfs.c That way, the udev hotplug rule is only triggered at the time of a DRM hotplug, as it should. Fixes issue: INTAMDDET-2306 Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
2018-04-09Merge pull request #513 from abelal/dpdk_snowyWade Farnsworth
DPDK + Strongswan for Snowy Owl
2018-04-04linux-yocto_4.9: further simplify common settingsAwais Belal
This moves further common settings from the BSP specific appends to the common fragment. Signed-off-by: Awais Belal <awais_belal@mentor.com>
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-04-02v1000/linux-yocto: backport speculation updates till 4.9.88Awais Belal
This backports the speculation related patches up till the 4.9.88 version from the linux-stable tree. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-02v1000/linux-yocto: backport Spectre/Meltdown patches up till 4.9.85Awais Belal
This backports the patches for Spectre/Meltdown from the stable-4.9 tree that are found between 4.9.81 and 4.9.85. Additionally for now we've removed the disablement of IBPB as that would likely be the last patch going in from our side otherwise it will simply create conflicts while cherry-picking. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-02v1000/linux-yocto: backport Spectre/Meltdown patches from 4.9.81Awais Belal
This backports the patches introduced in 4.9.81 and disables the IBPB support on top of that. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-02v1000-extra-config.cfg: disable KPTIAwais Belal
AMD BSPs do not require the config and it has performance burden so disable the configuration. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-04-02v1000/linux-yocto: backport patches for Spectre and MeltdownAwais Belal
This backports patches from linux-stable-4.9.y relevant to Spectre (V1/2) and Meltdown. There are some additional patches apart from these in order to make the backport smoother. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-30Merge pull request #514 from abelal/cleanup_mortyWade Farnsworth
common: drop packages merged mistakenly
2018-03-30common: drop packages merged mistakenlyAwais Belal
This drops some packages which were merged unintentionally under https://github.com/MentorEmbedded/meta-amd/commit/2b7369b74af7b8c533fb061a5856ddb029ec0ff8 Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29console-image: install strongswan for snowyowlAwais Belal
Install the strongswan package conditionally for the snowyowl BSP only. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29console-image: include dpdk components for snowyowlAwais Belal
This installs various dpdk components on the target RFS conditionally for snowyowl BSP only at the moment. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29snowyowl/linux-yocto: enable UIOAwais Belal
This enables the userspace I/O drivers support which is required by DPDK to function properly. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: fix deployment pathsAwais Belal
This forces the build system to deploy build artifacts such as examples and tests under /usr/share/dpdk/. Earlier the output would populate directly under /usr/share which is not very convenient for identifying what the package actually provides. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk/ccp/axgbe: fix shared libs buildAwais Belal
This fixes shared library builds for CCP and AXGBE drivers and provides a way of selecting the sort of build user requires however there are some caveats of using a shared mode build and this has been documented with the change. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: integrate support for AXGBE driverAwais Belal
This enables support for the AXGBE driver found on the snowyowl BSP. The patches have been backported from the upstream dpdk project. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-29dpdk: enable support for snowyowl and CCP driversAwais Belal
This enables the dpdk framework for the snowyowl BSP and backports the patches for the crypto hardware CCP from the main dpdk project. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-28Merge pull request #512 from abelal/dri3_v1kWade Farnsworth
mesa: enable dri3 for v1000
2018-03-28Merge pull request #511 from smavila/mortyWade Farnsworth
Morty
2018-03-28mesa: enable dri3 for v1000Awais Belal
This enables dri3 under Mesa for v1000. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-27 amd-xgbe Fix to auto negotiation and trainingSudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2018-03-27 amd-ccp Bug fixesSudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2018-03-27amd-xgbe fix to phy failure after suspend/resumeSudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2018-03-27Linux-UART-driver-to-support-DEV-ID-AMDI0021Sudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2018-03-27Driver-reports-error-for-incomplete-I2C-transactionSudheesh Mavila
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
2018-03-07Merge pull request #509 from abelal/tearingWade Farnsworth
Fix tearing issues for AMDGPU
2018-03-07xserver-xf68-config: fix various indentation issuesAwais Belal
Cleaned up indentation issues as the file was pretty messed up. The OE guidelines suggest using 4 spaces and no tabs. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf86-config: enable TearFree for AMDGPUAwais Belal
This enables the Xorg TearFree option for the AMDGPU to cope with various tearing issues. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-07xserver-xf86-config: provide generic mechanism to set Xorg configsAwais Belal
Various Xorg configs are needed to be set in different scenarios and can become painful when trying to configure one-by-one. This now provides a way to simply populate an array and use that to populate as many values as required. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-03-06Merge pull request #508 from Arsalan-Awan/fixed-scale-xrandrWade Farnsworth
common/xrandr: fixed scale issue
2018-03-05common/xrandr: fixed scale issueArsalan-Awan
Whenever scale value is increased when it is between 0.0 - 1.0 and is kept within 0.0 - 1.0 range, the display does not expand to fullscreen. It rather becomes smaller and leaves blank spaces on the right and bottom sides. And the following error message shows up: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 139 (RANDR) Minor opcode of failed request: 7 (RRSetScreenSize) Serial number of failed request: 36 Current serial number in output stream: 38 Before xrandr attempts to apply the transformation matrix requested by "scale", "transform" or "scale-from" options, it disables the CRTCs for which the transformed image's dimensions are larger than the target display's resolution/mode. But, when the image is smaller, it does not disable the CRTCs, and proceeds with applying the transformation (involves framebuffer dimension changes). This works well for all the scale values and transitions except for the above mentioned transitions. This patch fixes such issues! Issue: INTAMDDET-2189 Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2018-02-28Merge pull request #507 from Arsalan-Awan/fixed-build-with-dbg-pkgsWade Farnsworth
Fixed build with EXTRA_IMAGE_FEATURES "dbg-pkgs"
2018-02-28V1000/llvm6.0: synced recipe with upstream fixing dbg-pkgs & splittingArsalan-Awan
The packaging and pkg splitting was not working as it should be. "llvm6.0-dbg" pkg was eating up all available debug files/info and it was leaving nothing for "libllvm6.0-llvm-6.0-dbg" pkg to get built. libllvm6.0-llvm-6.0-dbg is a pkg that was not only getting set as a dependency for llvm6.0-dbg by our recipe, but also actually is a dependency for some mesa pkgs. (as mentioned in this commit openembedded/meta-openembedded @ b95f9d5). This commit syncs the recipe with upstream and that fixes the following issue: With dbg-pkgs added to EXTRA_IMAGE_FEATURES, build fails at do_rootfs with the following error in log.do_rootfs: Collected errors: * calculate_dependencies_for: Cannot satisfy the following dependencies for llvm6.0-dbg: * libllvm6.0-llvm-6.0-dbg * * opkg_solver_install: Cannot install package llvm6.0-dbg. Issue: INTAMDDET-2285 Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2018-02-28amd-common-configurations.inc: set overhead to 1.1 to support dbg-pkgsArsalan-Awan
With dbg-pkgs added to EXTRA_IMAGE_FEATURES, build fails at do_bootimg with an error that ROOTFS_SIZE exceeds 4GB. Post install scripts and the package management system use disk space inside an overhead area (which defaults to "1.3"). We will reduce it to 1.1 to allow build with "dbg-pkgs". Otherwise ROOTFS_SIZE exceeds 4GB. (Not possible for FAT fs used for HDDIMG) where: ROOTFS_SIZE = (actual-rootfs-dir-size * overhead-factor) + rootfs-extra-space The following can be used to add extra available space in rootfs as required: IMAGE_ROOTFS_EXTRA_SPACE_append = " + <size-in-kilobytes>" Also, when using the above variable to add extra space, it may cause an error similar to this: The initramfs size 294088(K) overrides INITRAMFS_MAXSIZE: 131072(K) You can set INITRAMFS_MAXSIZE a larger value. Usually, it should be less than 1/2 of ram size, or you may fail to boot it. You may need to adjust INITRAMFS_MAXSIZE variable to fix that, or as a workaround, you could set it to an empty string, to avoid such error, as: INITRAMFS_MAXSIZE = "" Issue: INTAMDDET-2285 Signed-off-by: Arsalan-Awan <Arsalan_Awan@mentor.com>
2018-02-27Merge pull request #506 from abelal/build_issuesWade Farnsworth
Fix various build issues
2018-02-27Merge pull request #505 from abelal/pstore_efivarsWade Farnsworth
v1000/linux-yocto: disable efi vars for pstore by default
2018-02-27qemu: fix builds with recent glibcAwais Belal
This backports a fix for hosts using recent glibc, the support is backported from http://cgit.openembedded.org/openembedded-core/commit/?id=b1b7a46f0febe7ac17ec46ecdf88b4120a7d75c4 Upstream morty already has this fixed so we do a conditional backport for MEL releases. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-27fontconfig: Fix namespace conflicts with glibcAwais Belal
This is essentially a backport of http://cgit.openembedded.org/openembedded-core/commit/?id=7687234ff0f36ae943ca17624da9cdd8da0da83b for MEL releases so the patch is included conditionally. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-27v1000/linux-yocto: disable efi vars for pstore by defaultAwais Belal
There are adverse effects of using the pstore backend for this sort of usage and should only be enabled when there's a real need so disable feature in default environment. Signed-off-by: Awais Belal <awais_belal@mentor.com>
2018-02-23Merge pull request #501 from abelal/drop_4.4_v1kWade Farnsworth
v1000: drop 4.4 kernel append