Give the user a proper error message if there aren't packages built,
rather than a less friendly traceback.
[YOCTO #14619]
(From OE-Core rev: b14c176b7dd74b7d63ca0f72e6e00fbf209f5a0b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
After the overrides change, the format of pkgdata changed and this
usage of configparser no longer works. This change is a bandaid to make
things work but the pkgdata format isn't very similar to ini files
so this may need to be reimplmented in a better way in the long run.
[YOCTO #14619]
(From OE-Core rev: 25a8ec6e2891b71bc280aacaf5f62ecc4b0bd1d1)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
There may be none, one or more spaces including tab before backslash in
SRC_URI. Use regex to check and update. It helps to avoid malformed uri
such as recipe open-iscsi-user in meta-openstack:
SRC_URI = "git://github.com/open-iscsi/open-iscsi.git;protocol=https ;branch=master \
And help to check more recipes such as concurrent-ruby in the same
layer:
SRC_URI = "git://github.com/ruby-concurrency/concurrent-ruby.git;protocol=https;tag=v1.1.6\
(From OE-Core rev: a69a53573b1987ee5834a6fc27763f9bbf5fe5a4)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Also switch to https for https://gcc.gnu.org/pub/gcc/releases/
(From OE-Core rev: 45670d96119c3a483e9571821b6d5e984c2e2f93)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS and
SSTATE_MIRRORS with "\n".
(From OE-Core rev: 3db607deea3b2982edb333f99056119490fcf5ea)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".
(From OE-Core rev: a7fc98fadab8779bf7975cca5b3ed006884b4910)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".
(From OE-Core rev: 5374c45725ef5796a563c0665cde0fc05cecd856)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
for the type field and instead anchor regexp) the type regexp has
been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in PREMIRRORS with
"\n".
(From OE-Core rev: 1edc5e689d54b788c35ece14e0dbd76ec545f3ee)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Since commit ce0579dc in bitbake (fetch2: Revert the regexp removal
for the type field and instead anchor regexp) the type regexp has
been automatically anchored at the end.
* Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in MIRRORS with "\n".
(From OE-Core rev: ec806f1e3b08d73524515aa83c5ee8dea7a40215)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
(From OE-Core rev: 9ef86e740e7b95df615fdb476267c72cd9b3dd40)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
(From OE-Core rev: c436124eb9a98400cc6872b252971477bb451551)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is a partial revert of commit 5ace3ada (systemd:
'${systemd_unitdir}/system' => '${systemd_system_unitdir}') where
the string '${systemd_unitdir}/system' matched something other than the
intended directory.
(From OE-Core rev: b3334c7134e812fe839e47a3d06aa5379b7b8bd8)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
The file is already included just three lines below.
(From OE-Core rev: bcfb2539ed319fefd2b3605d8505666bdfc4704c)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Mark as incompatible with 32 bit x86: there are several failures
and I do not think anyone is interested in vulkan on that platform.
(From OE-Core rev: 0be583c6cf34a68950dafad4ca3dbb74bc4eea70)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Drop patch as problem fixed upstream.
(From OE-Core rev: ed0984fe7888e971008d4bb6be0fe62de7aeacdc)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This update includes fixes for the 'trojan source' vulnerability:
https://blog.rust-lang.org/2021/11/01/Rust-1.56.1.html
Drop two unused patches.
(From OE-Core rev: 5ff0b0d8c6c37ebf916062f03a378fe0e34b1c53)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This wasn't a problem in poky, but was exposed with a nodistro build.
(From OE-Core rev: 0afc9fdb93bb62a78ec6d3aaf870587f52c5a7a4)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Not every option was carried over, drop them accordingly.
(From OE-Core rev: e05abd87ee5d23750c641d0129d9c83db68ee2e8)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libxcvt is a new dependency (thanks Oleksandr!).
Include ${libdir}/xorg/modules/input/*.so into the main
package (if for someone separate packaging matters, please
investigate what they do).
Remove options no longer present upstream.
Remove patches available upstream; drop a chunk as well.
(From OE-Core rev: fe501ae1f6bea73882707c944c4fab5c5657a551)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
As far as I can see the x11 option does the same thing.
(From OE-Core rev: a904c9492e86be39fcdd244e8f4b9768861c0e77)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Since we allow the kernel package name to be varied, we should
allow those packages to provide virtua/kernel, which allows them
to be used as primary kernels.
This change drops the use of regex, since any regex would enforce
naming (and limit what can be a provider) and add complexity./
There are currently no recipes that I found, that inherit kernel
that are not kernel recipes (kernel-base, etc, provide other
facilities), so making this provides simpler shouldn't cause
problems.
Multiple kernel providers can be dealt with in the same way as
any multiple provider.
[YOCTO: #13172]
(From OE-Core rev: 365dc1471a1b67c45de58aadf29844a9ff83d30f)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
squash with provider
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:
b6abb62daa55 Linux 5.15.1
569fd073a954 ALSA: usb-audio: Add quirk for Audient iD14
fd5f954b690c Revert "drm/i915/gt: Propagate change in error status to children on unhold"
8af3a335b553 drm/amd/display: Revert "Directly retrain link from debugfs"
6ecad8906f05 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
a273384cf1af Revert "wcn36xx: Disable bmps when encryption is disabled"
57f31b313231 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
110d5f4421ed Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
f17dca0ab3f3 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
f5e3b7f0f0b7 Revert "usb: core: hcd: Add support for deferring roothub registration"
421f91bf0451 Revert "xhci: Set HCD flag to defer primary roothub registration"
cb667140875a media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
abc558fd0f89 sfc: Fix reading non-legacy supported link modes
(From OE-Core rev: 6a5ab16bbbf92ce99fbbd3ac7cb1d2e4e1690feb)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:
3dfa869cb79d Linux 5.14.17
b1dbd891bfe5 ALSA: usb-audio: Add Audient iD14 to mixer map quirk table
570b5004f827 ALSA: usb-audio: Add Schiit Hel device to mixer map quirk table
db6d7c4acca3 Revert "drm/i915/gt: Propagate change in error status to children on unhold"
aac2f6861683 drm/amd/display: Revert "Directly retrain link from debugfs"
77d029e1e218 drm/amdgpu: revert "Add autodump debugfs node for gpu reset v8"
9f9e09a59c58 Revert "wcn36xx: Disable bmps when encryption is disabled"
b9722a7369f8 ARM: 9120/1: Revert "amba: make use of -1 IRQs warn"
e556fca311ce Revert "soc: imx: gpcv2: move reset assert after requesting domain power up"
d6a60e6ada49 drm/i915: Remove memory frequency calculation
7883e13c2494 drm/amdkfd: fix boot failure when iommu is disabled in Picasso.
a82fa1213d12 Revert "usb: core: hcd: Add support for deferring roothub registration"
0979b923ff3f Revert "xhci: Set HCD flag to defer primary roothub registration"
02a476ca886d media: firewire: firedtv-avc: fix a buffer overflow in avc_ca_pmt()
ec0c91e2ebb8 vrf: Revert "Reset skb conntrack connection..."
6467b75cf9d1 sfc: Fix reading non-legacy supported link modes
f30822c0b4c3 scsi: core: Put LLD module refcnt after SCSI device is released
(From OE-Core rev: a9ac5a388d682bcf0aad59d1b8ae8334846dfcd9)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
09df347cfd18 Linux 5.10.77
fbb91dadb512 perf script: Check session->header.env.arch before using it
6f416815c505 riscv: Fix asan-stack clang build
7a4cf25d8329 riscv: fix misalgned trap vector base address
acb8832f6a1c scsi: ufs: ufs-exynos: Correct timeout value setting registers
8ecddaca7942 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
e11a7355fb98 KVM: s390: clear kicked_mask before sleeping again
727e5deca802 lan743x: fix endianness when accessing descriptors
a7112b8eeb14 sctp: add vtag check in sctp_sf_ootb
c2442f721972 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
14c1e02b11c2 sctp: add vtag check in sctp_sf_violation
dad2486414b5 sctp: fix the processing for COOKIE_ECHO chunk
8c50693d25e4 sctp: fix the processing for INIT_ACK chunk
ad111d4435d8 sctp: use init_tag from inithdr for ABORT chunk
4509000a2515 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
5b88bb9377ee phy: phy_start_aneg: Add an unlocked version
81780b624d1c phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
258c5fea44cf phy: phy_ethtool_ksettings_get: Lock the phy for consistency
58722323d4bc net/tls: Fix flipped sign in async_wait.err assignment
44e8c93e1e49 net: nxp: lpc_eth.c: avoid hang when bringing interface down
c2af2092c9bb net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
bfa6fbdb4e39 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
e81bed557fe7 mlxsw: pci: Recycle received packet upon allocation failure
be98be1a17e9 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
aead02927af3 gpio: xgs-iproc: fix parsing of ngpios property
863a423ee07b RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
2b7c5eed19d3 net: Prevent infinite while loop in skb_tx_hash()
04121b10cdf0 cfg80211: correct bridge/4addr mode check
aed897e96b19 net-sysfs: initialize uid and gid before calling net_ns_get_ownership
b0a2cd38553c net: batman-adv: fix error handling
36e911a16b37 regmap: Fix possible double-free in regcache_rbtree_exit()
e51371bd687e reset: brcmstb-rescal: fix incorrect polarity of status bit
2cf7d935d6ba arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
10e40fb2f508 RDMA/mlx5: Set user priority for DCT
24fd8e2f027d octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
c63d7f2ca99a nvme-tcp: fix possible req->offset corruption
32f3db20f126 nvme-tcp: fix data digest pointer calculation
4286c72c5321 nvmet-tcp: fix data digest pointer calculation
d98883f6c33e IB/hfi1: Fix abba locking issue with sc_disable()
c3e17e58f571 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
ee4908f909b3 bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
dd2260ec643d bpf: Fix potential race in tail call compatibility check
15dec6d8f864 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
cac6b043cea3 riscv, bpf: Fix potential NULL dereference
01599bf7cc2b cgroup: Fix memory leak caused by missing cgroup_bpf_offline
eb3b6805e3e9 drm/amdgpu: fix out of bounds write
c21b4002214c drm/ttm: fix memleak in ttm_transfered_destroy
69a7fa5cb0de mm, thp: bail out early in collapse_file for writeback page
8fb858b74ac5 net: lan78xx: fix division by zero in send path
4c22227e39c7 cfg80211: fix management registrations locking
fa29cec42c2d cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
db1191a529e4 nvme-tcp: fix H2CData PDU send accounting (again)
5043fbd294f5 ocfs2: fix race between searching chunks and release journal_head from buffer_head
01169a43353d mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
ee3213b117ce mmc: sdhci: Map more voltage level to SDHCI_POWER_330
a95a76fc01a0 mmc: dw_mmc: exynos: fix the finding clock sample value
12a46f72f499 mmc: mediatek: Move cqhci init behind ungate clock
44c2bc2a6bbe mmc: cqhci: clear HALT state after CQE enable
efe934629fff mmc: vub300: fix control-message timeouts
f3dec7e7ace3 net/tls: Fix flipped sign in tls_err_abort() calls
c828115a14ea Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
11c0406b4c33 nfc: port100: fix using -ERRNO as command type mask
0b1b3e086b0a tipc: fix size validations for the MSG_CRYPTO type
5aa5bab57957 ata: sata_mv: Fix the error handling of mv_chip_id()
9a52798dce73 pinctrl: amd: disable and mask interrupts on probe
01c2881bb0e0 Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
017718dfbb6f usbnet: fix error return code in usbnet_probe()
693ecbe8f799 usbnet: sanity check for maxpacket
b663890d8544 ext4: fix possible UAF when remounting r/o a mmp-protected file system
d4d9c065988c arm64: Avoid premature usercopy failure
e184a21b5ccc powerpc/bpf: Fix BPF_MOD when imm == 1
3f2c12ec8a3f io_uring: don't take uring_lock during iowq cancel
5a768b4d3e1a ARM: 9141/1: only warn about XIP address when not compile testing
15b278f94bbb ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
c06d7d9bfcf6 ARM: 9138/1: fix link warning with XIP + frame-pointer
8a6af97c31be ARM: 9134/1: remove duplicate memcpy() definition
6ad8bbc9d301 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
3ceaa85c331d ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images
(From OE-Core rev: d57bc7281015d09e2ff7a8a028dbf31559ff7331)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Updating linux-yocto/5.14 to the latest korg -stable release that comprises
the following commits:
f63179c1e68c Linux 5.14.16
e874c870dfd8 KVM: x86: Take srcu lock in post_kvm_run_save()
9ab39a3d0cec KVM: SEV-ES: fix another issue with string I/O VMGEXITs
eb0461c572e9 KVM: x86: switch pvclock_gtod_sync_lock to a raw spinlock
10242cc2ad79 KVM: x86/xen: Fix kvm_xen_has_interrupt() sleeping in kvm_vcpu_block()
669a7e147ee6 perf script: Check session->header.env.arch before using it
e914237feb46 riscv: Fix asan-stack clang build
4606bbb6b19c riscv: Do not re-populate shadow memory with kasan_populate_early_shadow
7567abe63797 riscv: fix misalgned trap vector base address
20bd764387ac scsi: ibmvfc: Fix up duplicate response detection
f6782c0ca808 perf script: Fix PERF_SAMPLE_WEIGHT_STRUCT support
04ced3822a66 scsi: ufs: ufs-exynos: Correct timeout value setting registers
d748da838b21 KVM: s390: preserve deliverable_mask in __airqs_kick_single_vcpu
4faa35ce98c7 KVM: s390: clear kicked_mask before sleeping again
ae566351ca18 octeontx2-af: Check whether ipolicers exists
45d9cd363786 virtio-ring: fix DMA metadata flags
52a936b037b5 net: hns3: expand buffer len for some debugfs command
efccb66bc917 net: hns3: add more string spaces for dumping packets number of queue info in debugfs
e5c6ad377c07 bpf: Move BPF_MAP_TYPE for INODE_STORAGE and TASK_STORAGE outside of CONFIG_NET
b341612b659d watchdog: sbsa: only use 32-bit accessors
de709ec74f8b bpf: Use kvmalloc for map values in syscall
0717c71deae6 sctp: add vtag check in sctp_sf_ootb
1c255b5f68f4 sctp: add vtag check in sctp_sf_do_8_5_1_E_sa
dd82b3a345ab sctp: add vtag check in sctp_sf_violation
44ef3ecbc24a sctp: fix the processing for COOKIE_ECHO chunk
7975f42f1038 sctp: fix the processing for INIT_ACK chunk
6277d424ead2 sctp: fix the processing for INIT chunk
332933f9ae0a sctp: use init_tag from inithdr for ABORT chunk
44d44bf72591 RDMA/irdma: Do not hold qos mutex twice on QP resume
6392f26fbe92 RDMA/irdma: Set VLAN in UD work completion correctly
7762917173cc RDMA/irdma: Process extended CQ entries correctly
7860484eeb90 phy: phy_ethtool_ksettings_set: Lock the PHY while changing settings
37a1b9befb73 phy: phy_start_aneg: Add an unlocked version
1f9c99e0bb5b phy: phy_ethtool_ksettings_set: Move after phy_start_aneg
2191b1e8eb3d phy: phy_ethtool_ksettings_get: Lock the phy for consistency
e2b4dd261720 net/tls: Fix flipped sign in async_wait.err assignment
373f94d73651 net: ethernet: microchip: lan743x: Fix skb allocation failure
228862acb549 net: hns3: fix data endian problem of some functions of debugfs
20d88211706b net: hns3: fix pause config problem after autoneg disabled
7cc73feb57f6 net: nxp: lpc_eth.c: avoid hang when bringing interface down
d8774769d198 net: ethernet: microchip: lan743x: Fix dma allocation failure by using dma_set_mask_and_coherent
69d3c7785ec4 net: ethernet: microchip: lan743x: Fix driver crash when lan743x_pm_resume fails
18bd5e285a78 mlxsw: pci: Recycle received packet upon allocation failure
960f4a54b909 nios2: Make NIOS2_DTB_SOURCE_BOOL depend on !COMPILE_TEST
030f05812d81 gpio: xgs-iproc: fix parsing of ngpios property
c653c522e521 RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string
5f6995295f65 RDMA/mlx5: Initialize the ODP xarray when creating an ODP MR
ed894f5439ab net: Prevent infinite while loop in skb_tx_hash()
f435287d719b cfg80211: correct bridge/4addr mode check
da279dac227a net-sysfs: initialize uid and gid before calling net_ns_get_ownership
a8f7359259dd net: batman-adv: fix error handling
50cc1462a668 regmap: Fix possible double-free in regcache_rbtree_exit()
c9e39214fddf reset: brcmstb-rescal: fix incorrect polarity of status bit
86f9394073d8 arm64: dts: allwinner: h5: NanoPI Neo 2: Fix ethernet node
63a97a9f95f2 ice: check whether PTP is initialized in ice_ptp_release()
ebd0edad1cdf RDMA/mlx5: Set user priority for DCT
e83b3cce4722 ice: Respond to a NETDEV_UNREGISTER event for LAG
f1e3cd1cc802 octeontx2-af: Fix possible null pointer dereference.
98db2a8c14be octeontx2-af: Display all enabled PF VF rsrc_alloc entries.
c7752ec9ad39 nvme-tcp: fix possible req->offset corruption
7258a6eef5be nvme-tcp: fix data digest pointer calculation
daa12f0c1d1b nvmet-tcp: fix data digest pointer calculation
5d33bd6b4d4d IB/hfi1: Fix abba locking issue with sc_disable()
0d4395477741 IB/qib: Protect from buffer overflow in struct qib_user_sdma_pkt fields
6525bfbd546f bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
adb17f828177 bpf: Fix potential race in tail call compatibility check
6f226ffe4458 tcp_bpf: Fix one concurrency problem in the tcp_bpf_send_verdict function
e1b80a5ebe54 riscv, bpf: Fix potential NULL dereference
b529f88d9388 cgroup: Fix memory leak caused by missing cgroup_bpf_offline
b7ca59297fa3 Revert "watchdog: iTCO_wdt: Account for rebooting on second timeout"
0a8b7eba95a0 drm/amd/display: Fix deadlock when falling back to v2 from v3
a363d80566cc drm/amd/display: Fallback to clocks which meet requested voltage on DCN31
aeadb0662478 drm/amd/display: Moved dccg init to after bios golden init
5a5f1f070c3e drm/amd/display: Increase watermark latencies for DCN3.1
85cf47160d0e drm/amd/display: increase Z9 latency to workaround underflow in Z9
01f39421d590 drm/amd/display: Fix prefetch bandwidth calculation for DCN3.1
b60efcaf5e8b drm/amd/display: Limit display scaling to up to true 4k for DCN 3.1
c3ae5cf3e3ee drm/amdgpu: support B0&B1 external revision id for yellow carp
d3ed72495a59 drm/amdgpu: fix out of bounds write
9eb4bdd554fc drm/amdgpu: Fix even more out of bound writes from debugfs
d87ac6054e3d drm/i915/dp: Skip the HW readout of DPCD on disabled encoders
7650327e7174 drm/i915: Catch yet another unconditioal clflush
0ed2dfb5f598 drm/i915: Convert unconditional clflush to drm_clflush_virt_range()
132a3d998d67 drm/ttm: fix memleak in ttm_transfered_destroy
15a4f2bdbdfd mac80211: mesh: fix HE operation element length check
ce277959d77c arm64: dts: imx8mm-kontron: Make sure SOC and DRAM supply voltages are correct
8c684aaceaf3 arm64: dts: imx8mm-kontron: Set lower limit of VDD_SNVS to 800 mV
f5eaf91dd8af arm64: dts: imx8mm-kontron: Fix connection type for VSC8531 RGMII PHY
da32086a0203 arm64: dts: imx8mm-kontron: Fix CAN SPI clock frequency
d2bdcd23cba9 arm64: dts: imx8mm-kontron: Fix polarity of reg_rst_eth2
5fcb6fce74ff mm: khugepaged: skip huge page collapse for special files
5e669d8ab30a mm, thp: bail out early in collapse_file for writeback page
6ac017254b59 mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
8821fedc7f83 mm: hwpoison: remove the unnecessary THP check
67979d186c51 drm/amd/display: Require immediate flip support for DCN3.1 planes
75b1b172ae5a net: lan78xx: fix division by zero in send path
3c897f39b71f cfg80211: fix management registrations locking
2a000d137589 cfg80211: scan: fix RCU in cfg80211_add_nontrans_list()
e6d02b0da2df ftrace/nds32: Update the proto for ftrace_trace_function to match ftrace_stub
ea081b13b00e nvme-tcp: fix H2CData PDU send accounting (again)
2e382600e885 ocfs2: fix race between searching chunks and release journal_head from buffer_head
7335acd51f6b block: Fix partition check for host-aware zoned block devices
10bcaafc5753 mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
78873d5a2717 mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
b572d6c18511 mmc: sdhci: Map more voltage level to SDHCI_POWER_330
ac6f66f208a1 mmc: dw_mmc: exynos: fix the finding clock sample value
b1ad3ecffaac mmc: tmio: reenable card irqs after the reset callback
e1b94f0e744f mmc: mediatek: Move cqhci init behind ungate clock
9106d68c8082 mmc: cqhci: clear HALT state after CQE enable
aa2f3e425e22 mmc: vub300: fix control-message timeouts
e41473543f75 net/tls: Fix flipped sign in tls_err_abort() calls
8ba94a7f7b9f Revert "net: mdiobus: Fix memory leak in __mdiobus_register"
836f40777d58 nfc: port100: fix using -ERRNO as command type mask
e029c9828c5b tipc: fix size validations for the MSG_CRYPTO type
43849df432c9 ata: sata_mv: Fix the error handling of mv_chip_id()
66a1c8748068 pinctrl: amd: disable and mask interrupts on probe
18f31a907c9f Revert "pinctrl: bcm: ns: support updated DT binding as syscon subnode"
b5c410a4af7d usbnet: fix error return code in usbnet_probe()
7e8b6a4f18ed usbnet: sanity check for maxpacket
a350df591870 ARM: 9148/1: handle CONFIG_CPU_ENDIAN_BE32 in arch/arm/kernel/head.S
351d0f587b4c ARM: 9141/1: only warn about XIP address when not compile testing
a51d78193d21 ARM: 9139/1: kprobes: fix arch_init_kprobes() prototype
4108f38c05bd ARM: 9138/1: fix link warning with XIP + frame-pointer
6aa2d9cf81f9 ARM: 9134/1: remove duplicate memcpy() definition
78a7a2694e69 ARM: 9133/1: mm: proc-macros: ensure *_tlb_fns are 4B aligned
e108afbd38a5 ARM: 9132/1: Fix __get_user_check failure with ARM KASAN images
(From OE-Core rev: ae32a59571abec59cc9f19bf9289ec9472b3923b)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Integrating the following commit(s) to linux-yocto-rt/5.15:
6f51b8d2b7dc Add localversion for -RT release
3c8ff0c09156 sysfs: Add /sys/kernel/realtime entry
828d8f9b903f POWERPC: Allow to enable RT
6db76b613e53 powerpc/stackprotector: work around stack-guard init from atomic
44be16e0180a powerpc/kvm: Disable in-kernel MPIC emulation for PREEMPT_RT
a5c27dfc178a powerpc/pseries/iommu: Use a locallock instead local_irq_save()
dce767609e50 powerpc: traps: Use PREEMPT_RT
9cad1f8c7dd7 ARM64: Allow to enable RT
5bd881944e4f ARM: Allow to enable RT
715792fbbaf7 tty/serial/pl011: Make the locking work on RT
69221f2f5b91 tty/serial/omap: Make the locking RT aware
5fa50218f3e3 arm64: signal: Use ARCH_RT_DELAYS_SIGNAL_SEND.
c004c410d380 arm64/sve: Make kernel FPU protection RT friendly
7ffcb4485981 arm64/sve: Delay freeing memory in fpsimd_flush_thread()
322561563b01 KVM: arm/arm64: downgrade preempt_disable()d region to migrate_disable()
fe5ed302a1ec ARM: enable irq in translation/section permission fault handlers
f17af435c3a3 arch/arm64: Add lazy preempt support
10e096c7a491 powerpc: Add support for lazy preemption
5e15c21804be arm: Add support for lazy preemption
abc04080e1b3 entry: Fix the preempt lazy fallout
2fb1741e933b x86: Support for lazy preemption
24b379de7afc x86/entry: Use should_resched() in idtentry_exit_cond_resched()
860dbaa27ad1 sched: Add support for lazy preemption
4d5c9c824eee */softirq: Disable softirq stacks on PREEMPT_RT
2676f33e2cf4 generic/softirq: Disable softirq stacks on PREEMPT_RT
1886700e5658 leds: trigger: Disable CPU trigger on PREEMPT_RT
694e3f263964 drivers/block/zram: Replace bit spinlocks with rtmutex for -rt
97f765c75d6d mm/zsmalloc: Replace bit spinlock and get_cpu_var() usage.
49c7010ff12e tpm_tis: fix stall after iowrite*()s
df583a002c38 virt: acrn: Remove unsued acrn_irqfds_mutex.
a68737287907 smack: Guard smack_ipv6_lock definition within a SMACK_IPV6_PORT_LABELING block
ac9df8459eda ASoC: mediatek: mt8195: Remove unsued irqs_lock.
02bc2e3cbe09 genirq: update irq_set_irqchip_state documentation
ac932078b2e6 x86: Enable RT also on 32bit
e262f9f76c5b x86: Allow to enable RT
fef570ba4596 x86: kvm Require const tsc for RT
e5a9202c3535 signal/x86: Delay calling signals in atomic
2c0f317da8b9 drm/i915: Drop the irqs_disabled() check
06b3f43f370b drm/i915/gt: Use spin_lock_irq() instead of local_irq_disable() + spin_lock()
ac58ec9af512 drm/i915/gt: Queue and wait for the irq_work item.
aaa6ddcfd053 drm/i915: skip DRM_I915_LOW_LEVEL_TRACEPOINTS with NOTRACE
6db29073f209 drm/i915: Disable tracing points on PREEMPT_RT
5d34e949e11c drm/i915: Don't check for atomic context on PREEMPT_RT
0ca85efbe2e9 drm/i915: Don't disable interrupts on PREEMPT_RT during atomic updates
688ce2658570 drm/i915: Use preempt_disable/enable_rt() where recommended
9a76a256848c drm/i915: Don't disable interrupts and pretend a lock as been acquired in __timeline_mark_lock().
766248132ccf random: Make it work on rt
ba411ba63b8e x86: stackprotector: Avoid random pool on rt
3c158aab9acc panic: skip get_random_bytes for RT_FULL in init_oops_id
bf099c9ff70f net: dev: always take qdisc's busylock in __dev_xmit_skb()
783862056952 net: Dequeue in dev_cpu_dead() without the lock
61793a50d51d net: Use skbufhead with raw lock
4e369dc108af net/core: use local_bh_disable() in netif_rx_ni()
8056c6bd6380 rcu: Delay RCU-selftests
1372b981252b fs/dcache: disable preemption on i_dir_seq's write side
8f35827f634d fs/dcache: use swait_queue instead of waitqueue
dc26bf05c680 ptrace: fix ptrace vs tasklist_lock race
54332013d985 signal: Revert ptrace preempt magic
65309bca8d9c mm/memcontrol: Disable on PREEMPT_RT
5d193966a444 u64_stats: Disable preemption on 32bit-UP/SMP with RT during updates
9e7c9b1a7d21 softirq: Check preemption after reenabling interrupts
0d4e38f0610e crypto: cryptd - add a lock instead preempt_disable/local_bh_disable
4a01578f1878 sunrpc: Make svc_xprt_do_enqueue() use get_cpu_light()
03f8b0f0eedb net: Remove preemption disabling in netif_rx()
ddd725b42e48 mm/vmalloc: Another preempt disable region which sucks
28545272667f scsi/fcoe: Make RT aware.
dcb042c59ca4 md: raid5: Make raid5_percpu handling RT aware
393999301a85 block/mq: do not invoke preempt_disable()
8485ff82f922 kernel/sched: add {put|get}_cpu_light()
274408c7b291 sched: Make preempt_enable_no_resched() behave like preempt_enable() on PREEMPT_RT
9708837923a7 locking: Allow to include asm/spinlock_types.h from linux/spinlock_types_raw.h
b5f1fc042d2f lockdep/selftests: Adapt ww-tests for PREEMPT_RT
3e6dd28f0231 lockdep/selftests: Skip the softirq related tests on PREEMPT_RT
0da6a4f59354 lockdep/selftests: Unbalanced migrate_disable() & rcu_read_lock()
b29dc4a9ef20 lockdep/selftests: Add rtmutex to the last column
db92f5fc3fb7 lockdep: Make it RT aware
fae24609aafa rtmutex: Add rt_mutex_lock_nest_lock() and rt_mutex_lock_killable().
9d8c380fa819 rtmutex: Add a special case for ww-mutex handling.
d6b24f0f2a8a sched: Trigger warning if ->migration_disabled counter underflows.
6e09a284f2a6 lockdep/selftests: Avoid using local_lock_{acquire|release}().
bd833044483a locking: Remove rt_rwlock_is_contended()
36839db14247 jump-label: disable if stop_machine() is used
5a657ef837de tcp: Remove superfluous BH-disable around listening_hash
c11095ec78ef mm: workingset: replace IRQ-off check with a lockdep assert.
168e3d8875c7 cgroup: use irqsave in cgroup_rstat_flush_locked()
639d2eb6493f sched: Move mmdrop to RCU on RT
590419b10863 sched: Delay task stack freeing on RT
37860896be2e sched: Move kprobes cleanup out of finish_task_switch()
dc3565cd6bbd sched: Disable TTWU_QUEUE on RT
77db91d4d2b5 sched: Limit the number of task migrations per batch on RT
8ea3ab8bb409 locking/rt: Take RCU nesting into account for __might_resched()
b2f56dfeab18 sched: Make cond_resched_lock() variants RT aware
9bac73a04b71 sched: Make RCU nest depth distinct in __might_resched()
4f3dd3cb71e5 sched: Make might_sleep() output less confusing
b8c4ad5ceaec sched: Cleanup might_sleep() printks
588c973bd55b sched: Remove preempt_offset argument from __might_sleep()
5b8fbf83bb40 sched: Make cond_resched_*lock() variants consistent vs. might_sleep()
8e4b532478f2 sched: Clean up the might_sleep() underscore zoo
3a5e868f92f0 fscache: Use only one fscache_object_cong_wait.
67ba86618a1e fs/namespace: Boost the mount_lock.lock owner instead of spinning on PREEMPT_RT.
cad3bedc2a83 smp: Wake ksoftirqd on PREEMPT_RT instead do_softirq().
394e3bdd3242 irq_poll: Use raise_softirq_irqoff() in cpu_dead notifier
4de8f9d6a1ad irq_work: Also rcuwait for !IRQ_WORK_HARD_IRQ on PREEMPT_RT
87e75faa338d irq_work: Handle some irq_work in a per-CPU thread on PREEMPT_RT
d2100f67254d irq_work: Allow irq_work_sync() to sleep if irq_work() no IRQ support.
ada60e0098ea sched/rt: Annotate the RT balancing logic irqwork as IRQ_WORK_HARD_IRQ
f657de711e15 net: stats: Read the statistics in ___gnet_stats_copy_basic() instead of adding.
0d3a9c303dd9 net: sched: remove one pair of atomic operations
853f1349041a net: sched: fix logic error in qdisc_run_begin()
68f3b93760b7 net: sched: Allow statistics reads from softirq.
86e29a3d2d68 net: sched: Remove Qdisc::running sequence counter
304640d0b862 net: sched: Merge Qdisc::bstats and Qdisc::cpu_bstats data types
1c7a827367ee net: sched: Use _bstats_update/set() instead of raw writes
22701ce1b59f net: sched: Protect Qdisc::bstats with u64_stats
54538aff544a u64_stats: Introduce u64_stats_set()
69534c384086 gen_stats: Move remaining users to gnet_stats_add_queue().
e1f89d46623c mq, mqprio: Use gnet_stats_add_queue().
d3968711bb65 gen_stats: Add gnet_stats_add_queue().
c2b1af791919 gen_stats: Add instead Set the value in __gnet_stats_copy_basic().
3d38b89d239a net/sched: sch_ets: properly init all active DRR list handles
b59a9b759b1a kcov: Replace local_irq_save() with a local_lock_t.
8e2db8a2201a kcov: Avoid enable+disable interrupts if !in_task().
d244291fb820 kcov: Allocate per-CPU memory on the relevant node.
6eec9f99da0e Documentation/kcov: Define `ip' in the example.
e619eb9cb198 Documentation/kcov: Include types.h in the example.
f002c820156b x86/softirq: Disable softirq stacks on PREEMPT_RT
12b80085754b mm: Disable NUMA_BALANCING_DEFAULT_ENABLED and TRANSPARENT_HUGEPAGE on PREEMPT_RT
a1411120989b mm/scatterlist: Replace the !preemptible warning in sg_miter_stop()
56fb69cc8a0b mm: page_alloc: Use migrate_disable() in drain_local_pages_wq()
39d1d6a46eaa mm: Allow only SLUB on PREEMPT_RT
bf1b661248f6 crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()
ddd1767afd69 samples/kfifo: Rename read_lock/write_lock
a6c921dd2368 net/core: disable NET_RX_BUSY_POLL on PREEMPT_RT
96cc6b82ae54 mm: Disable zsmalloc on PREEMPT_RT
f77af3465961 efi: Allow efi=runtime
8b3cde535f8f efi: Disable runtime services on RT
7082e94c5405 lockdep: Let lock_is_held_type() detect recursive read as read
ffc314d30f16 genirq: Disable irqfixup/poll on PREEMPT_RT.
1ec49f38b6ae genirq: Move prio assignment into the newly created thread
e272fc66d6bc kthread: Move prio/affinite change into the newly created thread
468813504d5a rcutorture: Avoid problematic critical section nesting on PREEMPT_RT
e6a408241cee sched: Switch wait_task_inactive to HRTIMER_MODE_REL_HARD
cd6bda4839a6 printk: Enhance the condition check of msleep in pr_flush()
2ad1282d77e8 printk: add pr_flush()
cd582486f3e8 printk: add console handover
25f13bd1d07b printk: remove deferred printing
2d440f3f2ee5 printk: move console printing to kthreads
df0a27dbd128 printk: introduce kernel sync mode
4efb519165f1 printk: use seqcount_latch for console_seq
8653ea7d3c45 printk: call boot_delay_msec() in printk_delay()
892cddfada1f printk: relocate printk_delay()
e1ac77117990 serial: 8250: implement write_atomic
967b98b7c528 kdb: only use atomic consoles for output mirroring
36422a33e3b3 console: add write_atomic interface
7b9055c4c17d printk: rename printk cpulock API and always disable interrupts
3791dee37847 arm64: mm: Make arch_faults_on_old_pte() check for migratability
e5b82790a28d sched: Introduce migratable()
0cf3b776c423 rcu/tree: Protect rcu_rdp_is_offloaded() invocations on RT
(From OE-Core rev: a784cd98bb095e19957bc5aeec3c3303bea64def)
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lnr is a script in oe-core that creates relative symlinks, with the same
behaviour as `ln --relative --symlink`. It was added back in 2014[1] as
not all of the supported host distributions at the time shipped
coreutils 8.16, the first release with --relative.
However the oldest coreutils release in the supported distributions is
now 8.22 in CentOS 7, so lnr can be deprecated and users switched to ln.
[1] 6ae3b85eaffd1b0b6914422e8de7c1230723157d
(From OE-Core rev: 1ca455a98de4c713f58df0a537d4c982d256cd68)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This is not invoked with bitbake context as a result bb.utils is not
visible when this function is called during image creation and builds
fail e.g.
NameError: name 'bb' is not defined
(From OE-Core rev: df9dca9fe4dd1abfe5f3986389a8e8ff524da5d7)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Joshua Watt <JPEWhacker@gmail.com>
Cc: Devendra Tewari <devendra.tewari@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Backport patches from upstream to fix these CVEs.
(From OE-Core rev: b493eb4f9a6bb75a2f01a53b6c70762845bf79f9)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>