mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 10:43:02 +01:00
Integrating the -rt11 changes into the linux-yocto-rt branches:
e3a0470f1ebe (HEAD -> v5.4/standard/preempt-rt/base, origin/v5.4/standard/preempt-rt/base) v5.4.19-rt11
2748be173948 bpf/stackmap: Don't trylock mmap_sem with PREEMPT_RT and interrupts disabled
d721d73cb752 bpf, lpm: Make locking RT friendly
dc53d4c7fad3 bpf: Prepare hashtab locking for PREEMPT_RT
a13a53a8ae75 bpf: Factor out hashtab bucket lock operations
96a25d8a5a2d bpf: Use migrate_disable() in sys_bpf()
bb8a96d7e701 bpf: Use migrate_disable() in hashtab code
615cc5998661 bpf: Use migrate_disable/enable in array macros and cgroup/lirc code.
c3a06a1ab3d4 bpf/tests: Use migrate disable instead of preempt disable
0717741a61e6 trace/bpf: Use migrate disable in trace_call_bpf()
b528161bf4e0 bpf: Use BPF_PROG_RUN_PIN_ON_CPU() at simple call sites.
a3b5b903f04f bpf: Replace cant_sleep() with cant_migrate()
dd708fd4fb18 bpf: Provide BPF_PROG_RUN_PIN_ON_CPU() macro
6ccad68939c7 bpf: Don't iterate over possible CPUs with interrupts disabled
055b62ad0b2c perf/bpf: Remove preempt disable around BPF invocation
7848f4a45054 bpf/tracing: Remove redundant preempt_disable() in __bpf_trace_run()
caf8a5d6b42f bpf: Update locking comment in hashtab code
2ddd1653369d sched: Provide cant_migrate()
37b6c8361d28 sched: Provide migrate_disable/enable() inlines
2a1c4980a1e6 drm/i915/gt: use a LOCAL_IRQ_LOCK in __timeline_mark_lock()
84a119be5c68 v5.4.19-rt10
bb5e8418fb66 v5.4.17-rt9
bf976f5d86e7 locallock: Include header for the `current' macro
7a00b04683bd mm/memcontrol: Move misplaced local_unlock_irqrestore()
b647f8807169 sched: migrate_enable: Remove __schedule() call
2b321530c794 sched: migrate_enable: Use per-cpu cpu_stop_work
22b448083286 locking: Percpu-rwsem rewrite
f5d550cc9950 v5.4.17-rt8
(From OE-Core rev: dd407673d7091cb49ed41bef750c33bbcb53a1c3)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
45 lines
1.9 KiB
BlitzBasic
45 lines
1.9 KiB
BlitzBasic
KBRANCH ?= "v5.4/standard/preempt-rt/base"
|
|
|
|
require recipes-kernel/linux/linux-yocto.inc
|
|
|
|
# Skip processing of this recipe if it is not explicitly specified as the
|
|
# PREFERRED_PROVIDER for virtual/kernel. This avoids errors when trying
|
|
# to build multiple virtual/kernel providers, e.g. as dependency of
|
|
# core-image-rt-sdk, core-image-rt.
|
|
python () {
|
|
if d.getVar("KERNEL_PACKAGE_NAME") == "kernel" and d.getVar("PREFERRED_PROVIDER_virtual/kernel") != "linux-yocto-rt":
|
|
raise bb.parse.SkipRecipe("Set PREFERRED_PROVIDER_virtual/kernel to linux-yocto-rt to enable it")
|
|
}
|
|
|
|
SRCREV_machine ?= "e3a0470f1ebedce56d1c924f8ac8d3638f52304c"
|
|
SRCREV_meta ?= "c11911d4d1cf0d0b069dfd1922b41256f61442de"
|
|
|
|
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-5.4;destsuffix=${KMETA}"
|
|
|
|
LINUX_VERSION ?= "5.4.20"
|
|
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"
|
|
|
|
DEPENDS += "${@bb.utils.contains('ARCH', 'x86', 'elfutils-native', '', d)}"
|
|
DEPENDS += "openssl-native util-linux-native"
|
|
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
|
|
KMETA = "kernel-meta"
|
|
KCONF_BSP_AUDIT_LEVEL = "2"
|
|
|
|
LINUX_KERNEL_TYPE = "preempt-rt"
|
|
|
|
COMPATIBLE_MACHINE = "(qemux86|qemux86-64|qemuarm|qemuarmv5|qemuarm64|qemuppc|qemumips)"
|
|
|
|
KERNEL_DEVICETREE_qemuarmv5 = "versatile-pb.dtb"
|
|
|
|
# Functionality flags
|
|
KERNEL_EXTRA_FEATURES ?= "features/netfilter/netfilter.scc features/taskstats/taskstats.scc"
|
|
KERNEL_FEATURES_append = " ${KERNEL_EXTRA_FEATURES}"
|
|
KERNEL_FEATURES_append_qemuall=" cfg/virtio.scc features/drm-bochs/drm-bochs.scc"
|
|
KERNEL_FEATURES_append_qemux86=" cfg/sound.scc cfg/paravirt_kvm.scc"
|
|
KERNEL_FEATURES_append_qemux86-64=" cfg/sound.scc cfg/paravirt_kvm.scc"
|
|
KERNEL_FEATURES_append = "${@bb.utils.contains("DISTRO_FEATURES", "ptest", " features/scsi/scsi-debug.scc", "" ,d)}"
|