Age | Commit message (Collapse) | Author |
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
Signed-off-by: Chaudhary Amit Kumar <Chaudharyamit.Kumar@amd.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Chaudhary Amit Kumar <chaudharyamit.kumar@amd.com>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
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>
|
|
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>
|
|
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Cosmetic change to remove unnecessary newlines in
recipes.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
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>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
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>
|
|
This fixes the kernel and amdgpu hang when I2S
audio is enabled through the BIOS.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
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>
|
|
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>
|
|
This integrates the fix for CV-2016-5195 from upstream.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
This consolidates common settings between standard and
RT type kernel across the BSPs.
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
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>
|
|
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>
|
|
Signed-off-by: Awais Belal <awais_belal@mentor.com>
|
|
|
|
|
|
Signed-off-by: Sanjay R Mehta <sanju.mehta@amd.com>
|
|
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>
|
|
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>
|
|
|
|
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>
|