Commit Graph

73392 Commits

Author SHA1 Message Date
Bruce Ashfield
e5f760b26f linux-yocto/6.6: update CVE exclusions
Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 15Jan24
        Date: Mon, 15 Jan 2024 12:48:45 -0500

    ]

(From OE-Core rev: 619a16f974ce838baaa864054261e879a7f7e924)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Bruce Ashfield
7483b2fe7f linux-yocto/6.6: update to v6.6.13
Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    62b19b564504 Linux 6.6.13
    9584c8d658c0 mm/memory_hotplug: fix memmap_on_memory sysfs value retrieval
    f54708e4a26d scripts/decode_stacktrace.sh: optionally use LLVM utilities
    09f222d40fae coresight: etm4x: Fix width of CCITMIN field
    d6d19c3d1792 PCI: Add ACS quirk for more Zhaoxin Root Ports
    7db7504a3e41 leds: ledtrig-tty: Free allocated ttyname buffer on deactivate
    12786872b26a parport: parport_serial: Add Brainboxes device IDs and geometry
    03427e7f2a56 parport: parport_serial: Add Brainboxes BAR details
    35f102607054 uio: Fix use-after-free in uio_open
    f4d6dbaa4376 binder: fix comment on binder_alloc_new_buf() return value
    8040d704adce binder: fix trivial typo of binder_free_buf_locked()
    a49087ab9350 binder: fix use-after-free in shinker's callback
    802c61319ec2 binder: use EPOLLERR from eventpoll.h
    e16a0bbdb7e5 Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    76a10fc65ab9 ksmbd: free ppace array on error in parse_dacl
    ab5c25b6988f ksmbd: don't allow O_TRUNC open on read-only share
    71be0f674070 drm/amd/display: Pass pwrseq inst for backlight and ABM
    6d4295d61579 ASoC: SOF: Intel: hda-codec: Delay the codec device registration
    08a2ae1d0402 bus: moxtet: Add spi device table
    b0ce6ddc1ca2 bus: moxtet: Mark the irq as shared
    2cd4362faa9e ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    3642b5a62496 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx
    d86c51e95644 x86/microcode: do not cache microcode if it will not be used
    7e881af7fb3c drm/crtc: fix uninitialized variable use
    2f09679b8ac1 x86/csum: clean up `csum_partial' further
    1078f257eb3a x86/csum: Remove unnecessary odd handling
    f99b7b22c0af ARM: sun9i: smp: fix return code check of of_property_match_string
    1e6b9bc8cc36 connector: Fix proc_event_num_listeners count not cleared
    6a186b28c4fc net: qrtr: ns: Return 0 if server port is not present
    e79e7c3aa522 nfc: Do not send datagram if socket state isn't LLCP_BOUND
    79aa992c8038 virtio_blk: fix snprintf truncation compiler warning
    ffcaafdb8be6 ida: Fix crash in ida_free when the bitmap is empty
    766c6c1dd140 posix-timers: Get rid of [COMPAT_]SYS_NI() uses
    406cea6443b6 pinctrl: cy8c95x0: Fix get_pincfg
    5f0a16617f70 pinctrl: cy8c95x0: Fix regression
    3d5729d5cee2 pinctrl: cy8c95x0: Fix typo
    a5ba95c226b5 drm/amd/display: get dprefclk ss info from integration info table
    18562b1691e2 drm/amd/display: Add case for dcn35 to support usb4 dmub hpd event
    bd443910debf drm/amdkfd: svm range always mapped flag not working on APU
    5a358b978618 i2c: rk3x: fix potential spinlock recursion on poll
    c5e0ed716c52 smb: client: fix potential OOB in smb2_dump_detail()
    00e66f948abe HID: nintendo: Prevent divide-by-zero on code
    8d6bda0f95c1 dm audit: fix Kconfig so DM_AUDIT depends on BLK_DEV_DM
    5e0e2cb4a1ce ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models
    4818174fd58a ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk
    ed1310b53b6f ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
    1339559bb6dd platform/x86/amd/pmc: Disable keyboard wakeup on AMD Framework 13
    5b235bbc2706 platform/x86/amd/pmc: Move keyboard wakeup disablement detection to pmc-quirks
    a7edb661bb85 platform/x86/amd/pmc: Only run IRQ1 firmware version check on Cezanne
    f4fb4b9f1364 platform/x86/amd/pmc: Move platform defines to header
    64954dd2eef1 platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some ThinkPad systems
    8e2609cbdee2 HID: nintendo: fix initializer element is not constant error
    3e0e4a900fcb kselftest: alsa: fixed a print formatting warning
    60e916d4b838 driver core: Add a guard() definition for the device_lock()
    1488b369267e Input: xpad - add Razer Wolverine V2 support
    015cfa30b39c wifi: iwlwifi: pcie: avoid a NULL pointer dereference
    544ce65cb52a ARC: fix smatch warning
    358bca0bb1b4 ARC: fix spare error
    c754028a068f s390/scm: fix virtual vs physical address confusion
    4361e15ac24b ASoC: cs35l45: Prevents spinning during runtime suspend
    ab65d383a57b ASoC: cs35l45: Prevent IRQ handling when suspending/resuming
    296e487dd215 ASoC: cs35l45: Use modern pm_ops
    a2af708bb197 pinctrl: amd: Mask non-wake source pins with interrupt enabled at suspend
    0a4a682b502f Input: i8042 - add nomux quirk for Acer P459-G2-M
    274333f82597 Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    88c38fd2f3e6 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    ad2347d78d7b Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
    33e42861eb95 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    d9a6029ddee5 tracing: Fix uaf issue when open the hist or hist_debug file
    0e73f1ba602d MIPS: dts: loongson: drop incorrect dwmac fallback compatible
    98707906c64e stmmac: dwmac-loongson: drop useless check for compatible fallback
    0df76142ca21 tracing: Add size check when printing trace_marker output
    f3dc260cd5f2 tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    cd70be63167a jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    6e567410d6d3 efi/loongarch: Use load address to calculate kernel entry address
    4dceffd823b7 platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
    cdd8512a5574 neighbour: Don't let neigh_forced_gc() disable preemption for long
    ff89e507b231 drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    5c480a6966c5 jbd2: increase the journal IO's priority
    6459656095e4 jbd2: correct the printing of write_flags in jbd2_write_superblock()
    262853dc685b soundwire: intel_ace2x: fix AC timing setting for ACE2.x
    8c8343127735 clk: rockchip: rk3128: Fix HCLK_OTG gate register
    351bcf3a3772 clk: rockchip: rk3568: Add PLL rate for 292.5MHz
    4dd2d87c88fd LoongArch: Preserve syscall nr across execve()
    4d8121aa13fd LoongArch: Set unwind stack type to unknown rather than set error flag
    10d9f8ed6daf LoongArch: Apply dynamic relocations for LLD
    3584858bfd34 hwmon: (corsair-psu) Fix probe when built-in
    3f7109ec1fa5 ALSA: pcmtest: stop timer before buffer is released
    b92ad44a1b32 drm/exynos: fix a wrong error checking
    2debe511c1d2 drm/exynos: fix a potential error pointer dereference
    fb26de4a86e1 drm/amdgpu: Add NULL checks for function pointers
    7fc3d8ea1a67 drm/amd/display: Add monitor patch for specific eDP
    a0827b9172ee arm64: dts: rockchip: Fix PCI node addresses on rk3399-gru
    c52d545c1e31 nvme: fix deadlock between reset and scan
    946fd64ba361 nvme: prevent potential spectre v1 gadget
    8b2a6a3692e2 nvme-ioctl: move capable() admin check to the end
    8884a56d2154 nvme: ensure reset state check ordering
    cc5b051eeb48 nvme: introduce helper function to get ctrl state
    8392d3234721 ASoC: da7219: Support low DC impedance headset
    55aba82746bd net/tg3: fix race condition in tg3_reset_task()
    06cb2064b0bf pds_vdpa: set features order
    d3bb92beda4a pds_vdpa: clear config callback when status goes to 0
    53fff954e77c pds_vdpa: fix up format-truncation complaint
    3ad7bf5e57c9 ASoC: SOF: ipc4-topology: Correct data structures for the GAIN module
    330c0f19b393 ASoC: SOF: ipc4-topology: Correct data structures for the SRC module
    5713ab41ace4 ASoC: hdac_hda: Conditionally register dais for HDMI and Analog
    8fa621053995 ASoC: amd: yc: Add DMI entry to support System76 Pangolin 13
    fa60f8fac637 nouveau/tu102: flush all pdbs on vmm flush
    3c124f09b7ff ASoC: SOF: sof-audio: Modify logic for enabling/disabling topology cores
    e8879e7a7b4e ASoC: SOF: ipc4-topology: Add core_mask in struct snd_sof_pipeline
    e1d391310724 ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not available
    f369cf7e94b4 ASoC: fsl_xcvr: refine the requested phy clock frequency
    8f82f2e4d9c4 ASoC: rt5650: add mutex to avoid the jack detection failure
    d568aed978da ASoC: fsl_xcvr: Enable 2 * TX bit clock for spdif only case
    193d4bbe81fe ASoC: cs43130: Fix incorrect frame delay configuration
    655e69056d09 ASoC: cs43130: Fix the position of const qualifier
    ab10ac262156 ASoC: Intel: Skylake: mem leak in skl register function
    d7368ad5313e ASoC: SOF: topology: Fix mem leak in sof_dai_load()
    5a8bceaeaad0 ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    07c7fd07b531 ASoC: Intel: Skylake: Fix mem leak in few functions
    8dada1d452ca arm64: dts: rockchip: fix rk356x pcie msg interrupt name
    73ed4a6ea7d3 ASoC: wm8974: Correct boost mixer inputs
    3290bb89e74d ASoC: amd: yc: Add HP 255 G10 into quirk table
    bade0c1e7569 hwtracing: hisi_ptt: Don't try to attach a task
    5e67b92b8b2b hwtracing: hisi_ptt: Handle the interrupt in hardirq context
    a4848c45a3f0 nvme-core: check for too small lba shift
    511f602527ac blk-mq: don't count completed flush data request as inflight in case of quiesce
    379af079c427 Revert "drm/prime: Unexport helpers for fd/handle conversion"
    5ca518149d46 smb: client, common: fix fortify warnings
    941887dc5ed4 drm/amdgpu: Use another offset for GC 9.4.3 remap
    ccba04281640 drm/amdkfd: Free gang_ctx_bo and wptr_bo in pqm_uninit
    61dfdb779048 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    6396b551f286 drm/amd/display: update dcn315 lpddr pstate latency
    867ecd8970d3 drm/amdkfd: Use common function for IP version check
    541cb7618a15 drm/amdgpu: Do not issue gpu reset from nbio v7_9 bif interrupt
    da29e4012f41 block: warn once for each partition in bio_check_ro()
    0c7df8c241ff io_uring: use fget/fput consistently
    75cc56afb28b nvme-core: fix a memory leak in nvme_ns_info_from_identify()
    a47f3a83411f ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format
    c455b17aff82 debugfs: fix automount d_fsdata usage
    0e25eac37f7a wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
    3f7af987d55b wifi: avoid offset calculation on NULL pointer
    35a59d349ab0 wifi: cfg80211: lock wiphy mutex for rfkill poll
    5814deb5a5b0 mptcp: fix uninit-value in mptcp_incoming_options
    948cb8b2d5d0 ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    d273f33bb1e3 pinctrl: lochnagar: Don't build on MIPS
    b12a331178d4 kunit: Reset suite counter right before running tests
    858c0840ef02 kunit: Warn if tests are slow
    f88c602fd0ab pinctrl: s32cc: Avoid possible string truncation
    2525d1ba225b f2fs: explicitly null-terminate the xattr list

(From OE-Core rev: cc0f087ec49dcf89ccf29475101a739c27e13d78)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Bruce Ashfield
b862b4aee4 linux-yocto/6.6: beaglebone: drop nonassignable kernel options
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Kevin Hao
    Email: kexin.hao@windriver.com
    Subject: beaglebone: Drop the nonassignable kernel options
    Date: Sat, 20 Jan 2024 20:19:20 +0800

    These kernel options aren't assignable. In the previous version of the
    kernel, these options were selected by DRM_FBDEV_EMULATION. But due to
    the commit 43049f17b526 ("drm/i915: Implement dedicated fbdev I/O
    helpers") in the new version of kernel, they are no longer enabled
    by DRM_FBDEV_EMULATION. Then the kernel config check emits unmatch
    warning for them. Drop all of them to fix these warnings.

    Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: f993871b656927b5be019e7ff788c6f53cb4caf6)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Bruce Ashfield
4a6057d6a8 linux-yocto/6.6: features/qat/qat.cfg: enable CONFIG_PCIEAER
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Naveen Saini
    Email: naveen.kumar.saini@intel.com
    Subject: features/qat/qat.cfg: enable CONFIG_PCIEAER
    Date: Fri, 19 Jan 2024 13:29:57 +0800

    Error:
    4.24.0-00005/qat17/quickassist/qat/drivers/crypto/qat/
    qat_common/../../../../compat/qat_compat.c:401:19: error:
    'struct pci_dev' has no member named 'aer_cap'; did you mean 'ats_cap'?
    |   401 |         if (!dev->aer_cap)
    |       |                   ^~~~~~~
    |       |                   ats_cap

    296455ade1/include/linux/pci.h (L339)

    Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: b4ebf4268369c99432d2c8dc98ea13ca594c1748)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Alexis Lothoré
d1ac9bb1bd testimage: retrieve ptests directory when ptests fail
TESTIMAGE_FAILED_QA_ARTIFACTS is set with a default, minimal list of files
to retrieve whenever a runtime test fails.
Add ptests directory to the list so we can get ptests artifacts (eg: logs)
whenever a ptest fails. By appending the ptest directory with the
multiconfig component in the path, only failing ptests will lead to
corresponding ptest artifacts retrieval, instead of all ptests artifacts
retrieval. While doing this addition, reinforce default value using "="
operator to make sure to get the default list in any case.

(From OE-Core rev: 9357ab6c47f0a0a7000cb18358bc9775fd54e1f7)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Richard Purdie
62049bfc7a ptest-packagelists: Mark python3 as problematic on riscv64
Most ptests run on on riscv64 but for some reason python3 hangs. Move
it to the problem list until this is resolved so we can establish a
"known to work" baseline.

(was still going after 42000s, long after everything else finished)

(From OE-Core rev: adc448b19e80f6343050f4c527acc63a161c88ca)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Richard Purdie
346d40b99f mirrors: Allow shallow glibc to work correctly
The intention of the mirror code was to allow faster cloning of glibc.
This wasn't quite working since the full clone was needed by glibc-tests
or cross-localedef-native. I noticed this when I updated a build and it
was trying to unpack glibc but fetch cross-localedef-native.

Add entries to cover these and restore the faster cloning for glibc
and realted recipes.

(From OE-Core rev: 7891b5fb96f757274bebbb77df634e7af9054298)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Alexander Kanavin
f66c8923c2 file: enable additional internal compressor support
This is an extension of
https://git.yoctoproject.org/poky/commit/meta/recipes-devtools/file?h=master&id=52a31bd5ba90713af82822047c3813afc31421f8
and the rationale is the same.

The issue was exposed by recent ptest support in xz, which packages .lz files
into the xz-ptest package which resulted in reproducibility fails:
http://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20240203-fdpg888c/packages/diff-html/

(From OE-Core rev: d740530daf4ad4e67a323bf39e968e930f208543)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Alexander Kanavin
d426872674 lzlib: add a recipe
This is needed for rpm reproducibility, as otherwise libmagic
will call an external lzip executable, which is both
non-threadsafe, and non-deterministic w.r.t sysroot presence.

(From OE-Core rev: 0e4bde86e1aa499274fc85d01d36a74c3401762e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:59:06 +00:00
Simone Weiß
20b1e729e1 gnutls: print log if ptest fails
There are AB-INT issues with the gnutls tests and the test for naked-alerts is
failing. Tweak the run-ptest script to save the error log to obtain more infos
for debugging. Related to [YOCTO #15352].

(From OE-Core rev: 9665d272df34bcb2811a2f7a1afccabe4bebc9d1)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Martin Jansa
81d90fc81c package_rpm: add RPMBUILD_EXTRA_PARAMS variable
* e.g. for DISTROs which define extra user-defined fields with
  PACKAGE_ADD_METADATA/PACKAGE_ADD_METADATA_RPM
  as undefined fields in packagedata are fatal error for rpmbuild:
  "error: line 9: Unknown tag: Author: Unspecified"
  as shown in:
  http://errors.yoctoproject.org/Errors/Details/751706/
  with "Author" field added with:

  PACKAGE_CLASSES = "package_rpm"
  PACKAGE_ADD_AUTHOR_METADATA = "test-author"
  PACKAGE_ADD_METADATA = "Author: ${PACKAGE_ADD_AUTHOR_METADATA}"

  to fix rpm build you can use:
  RPMBUILD_EXTRA_PARAMS = " --define '_Author Author'"
  keep in mind that this doesn't cause this Author field to be
  added in .rpm, it just avoids the BUILDSPEC failure.

  and for ipk build:
  OPKG_MAKE_INDEX_EXTRA_PARAMS = "-f"

  alternatively you can avoid additional packagedata fields ending
  in the package manager (if you use them only with buildhistory
  or packagedata) with:
  PACKAGE_ADD_METADATA_RPM = ""
  PACKAGE_ADD_METADATA_IPK = ""
  PACKAGE_ADD_METADATA_DEP = ""

(From OE-Core rev: 31030e7a19a27ad424b997fad36ee4f633ce0d63)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Martin Jansa
77f5f99fcf package_manager: ipk: add OPKG_MAKE_INDEX_EXTRA_PARAMS variable
* can be used to pass e.g. -f param to preserve user-defined fields
  in the index as added in:
  https://git.yoctoproject.org/opkg-utils/commit/opkg-make-index?id=13f6281d24e17199e0fef6c2984419372ea0f86f

* otherwise it will show a lot of messages like:
  "Lost field Author <value>"
  for every package in the feed

(From OE-Core rev: 6dc772fd9d5c2d90a6e32cfa4bc46ca0221f1b7f)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Yogita Urade
eba805ace4 tiff: fix CVE-2023-52355 and CVE-2023-52356
CVE-2023-52355:
An out-of-memory flaw was found in libtiff that could be
triggered by passing a crafted tiff file to the
TIFFRasterScanlineSize64() API. This flaw allows a remote
attacker to cause a denial of service via a crafted input
with a size smaller than 379 KB.
Issue fixed by providing a documentation update.

CVE-2023-52356:
A segment fault (SEGV) flaw was found in libtiff that could
be triggered by passing a crafted tiff file to the
TIFFReadRGBATileExt() API. This flaw allows a remote attacker
to cause a heap-buffer overflow, leading to a denial of service.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-52355
https://security-tracker.debian.org/tracker/CVE-2023-52355
https://gitlab.com/libtiff/libtiff/-/issues/621
https://gitlab.com/libtiff/libtiff/-/merge_requests/553
https://nvd.nist.gov/vuln/detail/CVE-2023-52356
https://gitlab.com/libtiff/libtiff/-/issues/622
https://gitlab.com/libtiff/libtiff/-/merge_requests/546

(From OE-Core rev: 831d7a2fffb3dec94571289292f0940bc7ecd70a)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Alexander Kanavin
57d82f92c1 classes/package_rpm: streamline the logic in one of the condition blocks
(From OE-Core rev: e6a8ca554509c0edf9fd36ced88165dc3caf0e87)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Alexander Kanavin
eda2fe2ac0 classes/package_rpm: additionally escape \ and " in filenames
As specified in:
https://github.com/rpm-software-management/rpm/blob/rpm-4.19.x/docs/manual/spec.md#shell-globbing

(From OE-Core rev: 78d22c80c3f3a9f82c9f0d3dd1c591d395e02918)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Maanya Goenka
3ef63361b4 toolchain-shar-relocate: allow 'find' access to libraries in symlinked directories
If the '/' is not added to the end of the dynamic loader path, only directories
that are not symlinks will be looked into for libraries such as ld-linux*,
so the slash is added to allow the 'find' command to have symlinked directory access too.

(From OE-Core rev: 8468f24e3e81d5248eb1424e43accd2ea8bf0568)

Signed-off-by: Maanya Goenka <maanyagoenka@microsoft.com>
Signed-off-by : Alejandro Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Adithya Balakumar
e685773513 wic: implement reproducible Disk GUID
GPT based disks have a disk guid apart from the 32-bit disk identifier.
This commit implements reproducible disk guid by using SOURCE_DATE_EPOCH (if available) value as a random seed

(From OE-Core rev: 150e079589e207fe174d2dceb40cd8f3d3972c5a)

Signed-off-by: Adithya Balakumar <Adithya.Balakumar@toshiba-tsip.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-08 10:53:13 +00:00
Trevor Gamblin
9c1d226fad patchtest.README: update mailing list
The contributing info still lists the main Yocto list, but patchtest is
in oe-core, so simplify the instructions and put the right mailing list
in.

(From OE-Core rev: 2cfad933c334b3d7f49bc8ca62f9d443428d4523)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 15:01:16 +00:00
Richard Purdie
92d6170c32 oeqa/runtime: Move files from oe-core to bsp layer
These were accidentally added to oe-core, move to the correct place in this
layer.

(From meta-yocto rev: d3d9f79d759e5c7818f17bf1331230d0d53cde1a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 12:27:21 +00:00
Richard Purdie
18e879ae05 meta-yocto-bsp: Remove accidentally added files
Move accidentally added files to the correct layer.

(From OE-Core rev: ad251812b740a06c0f8f2dab637a61cfff73c484)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 12:27:21 +00:00
Richard Purdie
5c55ed57e4 ltp: Try re-enabling problematic test
The proc01 test used to hang when reading /proc/kmsg. This issue could
have been a number of issues which were fixed in the meantime. Try
re-enabling the test to see if the issue is still present.

(From OE-Core rev: 8832ff65ba91587fbe739173bb2d33119a1c6f1b)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Richard Purdie
0513fd279c ltp: Enable extra test groups
Petr Vorel (upstream ltp maintainer) recommended some extra tests we should run.
Enable these for extra test coverage.

(From OE-Core rev: ebae56999dc2ed7abb65062a9abee53827c3bad3)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Alexis Lothoré
149f42b59e patchtest-send-results: properly parse test status
patchtest-send-results currently search the word "FAIL" in the whole
testresults file to decide whether it should send a report to patch
submitter or not. This global search can lead to false positives, for
example if the commit subject contains the word "FAIL" (as observed in
[1])

Prevent those false positives by explicitely parsing the test status from
each line. Each test result line, generated by the patchtest script, is
expected to have the following format:
<STATUS>: <some info, depending on the status>

[1] https://lore.kernel.org/openembedded-core/0101018d79bfe020-06f2ce89-ea19-456b-92e7-66ee1c710fd1-000000@us-west-2.amazonses.com/

(From OE-Core rev: 3567c21af8ed65448f9325ee3fe85b8be839e1b5)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Alexis Lothoré
d0b817d946 patchtest-send-results: remove unused variable
result_basename is declared but not used in the script

(From OE-Core rev: c2ba125dc30fb1ef0bf96152863db22159f4b31c)

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Chen Qi
6cc6246fd0 multilib_global.bbclass: fix parsing error with no kernel module split
The problem could be reproduced with the following settings:
MACHINE = "qemux86-64"
KERNEL_SPLIT_MODULES = "0"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"

The error message is as below:
  bb.data_smart.ExpansionError: Failure expanding variable KERNEL_VERSION_PKG_NAME, expression was ${@legitimize_package_name(d.getVar('KERNEL_VERSION'))} which triggered exception TypeError: expected string or bytes-like object
  The variable dependency chain for the failure is: KERNEL_VERSION_PKG_NAME -> RPROVIDES:kernel-modules

This is because multilib_virtclass_handler_global function in
multilib_global.bbclass deletes KERNEL_VERSION. So we need to handle
such situation. We'll also need to delete KERNEL_VERSION_PKG_NAME
to avoid this parsing error.

(From OE-Core rev: 43dd497bc161ac44faecfdff052db03679dbb4f8)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Robert Yang
b0b9d8768a gnu-config: Update to latest version
* Git log
948ae97 Update copyright years
471d814 config.sub: recognize nanoMIPS CPUs
ee6ea2f config.guess: recognize ironclad OS
5e2f254 config.sub: recognize ironclad OS
0e4a5b3 config.sub: recognize *-*-uefi
d21518c Recognize the VideoCore 4 processor
a9a369e config.guess: detect LLVM-libc via features.h
5b83c2f config.sub: add LLVM-libc support

The PV 20240101 is from SRCREV 948ae97ca5703224bd3eada06b7a69f40dd15a02.

(From OE-Core rev: b996184a13abf1e38b9cee5ed0fd008b07999bd8)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
baruch@tkos.co.il
7c230aa0e9 overlayfs: add missing closing parenthesis in selftest
Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
(From OE-Core rev: aebd526cdfea738745e57183b1015fd327bd94df)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Khem Raj
9d2e7189e4 strace: Upgrade to 6.7
License-Update: Update copyright years [1]
Implements new syscalls from kernel 6.7+ for complete changelog see [2]

[1] d74413095a
[2] https://github.com/strace/strace/releases/tag/v6.7

(From OE-Core rev: f97bb0063d7365ac059215e32044f6d9461d324b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Jose Quaresma
bca5c911a7 systemd: pack pre-defined pcrlock files installed with tpm2
The new pcrlock tool systemd-pcrlock [1] is installed when
the tpm2 and openssl package config is enabled and with them
some pre-defined pcrlock files is installed on the target.

[1] https://github.com/systemd/systemd/pull/28891

(From OE-Core rev: 0ee7002d8f6bfca7b275c082d032936494dc7e8e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Jon Mason
cc740bf63d arm/armv*: add all the Arm tunes in GCC 13.2.0
(From OE-Core rev: 5af154b66459ac05409619c81dd247c252b673f3)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Jon Mason
e71f54c6ef tunes/sve: Add support for sve2 instructions
Add support for SVE2 and add to 8-2a, as it can be used there.
Also, clean up the comments

(From OE-Core rev: 683443d57cb18b3b54245b1a09b6e5d2bae4f5d0)

Signed-off-by: Jon Mason <jon.mason@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Valek Andrej
b94e596464 glibc: Refresh CVE status w.r.t 2.39 release
- drop irrelevant CVEs for 2.39 release

(From OE-Core rev: bea91fb120fef012c1501d470f85ee60a672d1e3)

Signed-off-by: Valek Andrej <andrej.v@skyrain.eu>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Khem Raj
6d503a7f39 glibc: Upgrade to 2.39
License-Update: Relicenses the IBM portions of resolv/base64.c and
resolv/res_debug.c to a new license that does not have use-limited
patent language [1]

Upgrade localdef to get glibc 2.39 build fixes
Details of release [2]

Add fix for mips clone3 crash

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=ae49a7b29acc184b03c2a6bd6ac01b5e08efd54f
[2] https://sourceware.org/glibc/wiki/Release/2.39

(From OE-Core rev: 41ee98ea7e029515a94835952b8563097150f456)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-06 10:32:19 +00:00
Michael Opdenacker
f4fc8e6232 release-notes-4.3: fix spacing
This fixes an ugly formatting issue in the HTML output

(From yocto-docs rev: 79530aeb97976b9a63bf04ed247f98061fc9d737)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Michael Opdenacker
559313fe03 docs: remove support for mickledore (4.2) release
(From yocto-docs rev: a6c28b89b40df38d6456d1a3ddb42d0231759b41)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Michael Opdenacker
4697b6454c dev-manual: start: remove idle line
This fixes an issue introduced by d8fdec653f96c4ddcb705ff0ef17ed641afcfe2d

(From yocto-docs rev: bd970a2101df6e7437fce9cd74deb8bb86aedbd0)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
baruch@tkos.co.il
c71f5236a4 contributor-guide: fix lore URL
Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: 5962a09a120681c1328e05335c2f14fad06c63ce)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Simone Weiß
8ae9a598ce dev-manual: gen-tapdevs need iptables installed
Add the hint to the test setup that runqemu-gen-tapdevs will need the
iptables package installed.

(From yocto-docs rev: 4a688fb991282bf606f080d748f5290d988e4354)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Lee Chee Yang
596d5bb6fa migration-guide: add release notes for 4.0.16
(From yocto-docs rev: 5a7a60cef173e8e73949629129182471b0a8f4b9)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Simone Weiß
27d2c6dd1a bsp-guide: correct formfactor recipe name
This recipe was renamed some time ago. Update the name here as well for
consistency.

(From yocto-docs rev: cbbda4a95e0c6d5b669cf3bc844b6bb5cca881d3)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:30:34 +00:00
Khem Raj
c408737f04 syslinux: Disable error on implicit-function-declaration
syslinux has vendored copy of ext2fs/ext2_fs.h but uses ext2fs/ext2fs.h
from e2fsprogs package, however, ext2fs/ext2fs.h has dependencies on
ext2fs/ext2_fs.h coming from e2fsprogs package as these both headers
come from same package, here syslinux uses ext2fs.h from e2fsprogs but
supplies its own copy of ext2_fs.h which maybe out of sync and that
results in warnings about implicit implicit-function-declarations
e.g.

recipe-sysroot/usr/include/ext2fs/ext2fs.h:727:16: error: implicit declaration of function 'ext2fs_has_feature_gdt_csum' [-Wimplicit-function-declaration]
|   727 |                ext2fs_has_feature_gdt_csum(fs->super);
|       |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~

ext2fs_has_feature_gdt_csum here comes from newer version of
ext2fs/ext2_fs.h but missing from vendored copy, hence the warning.

With gcc-14 this warning is treated as error by default, which breaks
the build, so lets treat it as warning only.

All these functions are never used in syslinux, so functionality-wise we
are fine.

(From OE-Core rev: a2b30108055e68b62fdad7319d7d569bc38a07b4)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Richard Purdie
25868ee2cc qemu: Upgrade 8.2.0 -> 8.2.1
This was a bugfix release containing several important fixes according to upstream.

Drop a backported patch.

(From OE-Core rev: 1715d0907d372e787c054a5509690a2719acfed0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Khem Raj
3558ee528f qemu-native: Use inherit_defer for including native class
This helps working with native qemu recipes with devtool, since devtool
inserts an internal class called devtool-source resulting in

ERROR: QA Issue: qemu-system-native: native/nativesdk class is not inherited last, this can result in unexpected behaviour. Classes i
nherited after native/nativesdk: devtool-source.bbclass [native-last]
ERROR: Fatal QA errors were found, failing task.
ERROR: Parsing halted due to errors, see error messages above
ERROR: Command execution failed:

(From OE-Core rev: 6754387d7bd397700cef029ae6df86ff8cb3a4af)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Khem Raj
b0e5542e7a binutils: Upgrade to binutils 2.42
Release Notes are here [1]

[1] https://sourceware.org/pipermail/binutils/2024-January/132213.html

(From OE-Core rev: 795af50ed4005c097069a65f67eb604da9f41b92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Robert Joslyn
17a2c6e38d gtk: Set CVE_PRODUCT
The CPE vendor is "gnome" and the CPE product is "gtk" for both gtk+3
and gtk4 recipes. Set CVE_PRODUCT so we properly match the NVD database.

(From OE-Core rev: 253f5f745d66acefcc739f1c9ad2dd46be630e47)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Robert Joslyn
8c42532be5 curl: Update to 8.6.0
This is a bug fix and feature update. Release notes are available at:
https://curl.se/changes.html#8_6_0

Disable test 1478, it's comparing help output to documentation.

License-Update: Copyright year updated
(From OE-Core rev: efebd6a8824769137a21674e2bfe1c059a41758a)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Richard Purdie
3fda807ab0 python3-markupsafe: Switch to python_setuptools_build_meta
Move away from the outdated setuptools to more modern build
classes.

(From OE-Core rev: dd0de1f1dcbbc389ceb1a032c393e5148e01ad98)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Richard Purdie
f1921727d8 python3-markupsafe: upgrade 2.1.3 -> 2.1.5
Note that 2.1.4 broke python3-jinja2 so skip to 2.1.5 which doesn't.

(From OE-Core rev: 697a249f27d16adeeee074d0baad83ad67c7a9e6)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Petr Vorel
b6abbf4402 ltp: Update to 20240129
Removed patch accepted upstream as
8c53cc947 ("testcases/kernel/syscalls/fcntl: define _LARGEFILE64_SOURCE")

Rebase runtest/mm patch.

[RP:
Drop connectors group since dropped upstream:
9b642d89c0

Drop fsx too:
fb2b6a0b3c
]

(From OE-Core rev: b2867cac5ac58862469f0c6c056607abeca0b0d0)

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00
Richard Purdie
0a9e45a413 oeqa/selftest/bbtests: Tweak to use no-gplv3 inc file
With changes to gcc-runtime around improving debugging, python modules
are needed but this pulls in bash which breaks the tests.

Add an exclusion to the no-gplv3 include file to handle this.

(From OE-Core rev: 803060fa4e8fe98ac8f987b80162110d06788946)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-05 14:06:10 +00:00