linux-yocto: enable pci and CRYPTO_DEV_VIRTIO

With recent kernels and the latest openssl we observe hangs when there
is not sufficient entropy in the system before crypto is used
(i.e. OpenVSwitch or openssh server).

This was mainly observed on qemuarm64, but can happen elsewhere. So
we enable CRYPTO_DEV_VIRTIO in the main virtio fragment and enable
PCI for qemuarm64 to ensure that entropy is available.

(From OE-Core rev: 8cc08e44cf3e969c124456d459c6c06a76cad018)

(From OE-Core rev: 76a51f21af63b99b71dce4f068a11c9073d0f1b2)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
[Dropped 4.18 changes]
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2018-09-22 13:18:54 -04:00
committed by Richard Purdie
parent 41bfca7bb5
commit 3963875e4a
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ python () {
}
SRCREV_machine ?= "c37a14708f5b618602f84f83f902346e055824c3"
SRCREV_meta ?= "c35dd5cbbdb08dcc4fe35b8e9c0a62d1a157aeaf"
SRCREV_meta ?= "46a547fa5195c2990e513ae3050376b7670e8287"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"

View File

@@ -13,7 +13,7 @@ KMETA = "kernel-meta"
KCONF_BSP_AUDIT_LEVEL = "2"
SRCREV_machine ?= "3218be18094b7dfb4471b083c469452c8c7709ce"
SRCREV_meta ?= "c35dd5cbbdb08dcc4fe35b8e9c0a62d1a157aeaf"
SRCREV_meta ?= "46a547fa5195c2990e513ae3050376b7670e8287"
PV = "${LINUX_VERSION}+git${SRCPV}"

View File

@@ -19,7 +19,7 @@ SRCREV_machine_qemux86 ?= "78a16a4d8cfd58f91be412797aac248e811d083b"
SRCREV_machine_qemux86-64 ?= "78a16a4d8cfd58f91be412797aac248e811d083b"
SRCREV_machine_qemumips64 ?= "f074d718736e95e8ed5460bf8e85c7e77ff7df87"
SRCREV_machine ?= "78a16a4d8cfd58f91be412797aac248e811d083b"
SRCREV_meta ?= "c35dd5cbbdb08dcc4fe35b8e9c0a62d1a157aeaf"
SRCREV_meta ?= "46a547fa5195c2990e513ae3050376b7670e8287"
SRC_URI = "git://git.yoctoproject.org/linux-yocto.git;name=machine;branch=${KBRANCH}; \
git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-4.14;destsuffix=${KMETA}"