Commit Graph

72163 Commits

Author SHA1 Message Date
Bruce Ashfield
2aee74f610 linux-yocto/6.1: update to v6.1.59
Updating  to the latest korg -stable release that comprises
the following commits:

    7d24402875c7 Linux 6.1.59
    eb26fa974c77 ALSA: hda/realtek - Fixed two speaker platform
    54357fcafa73 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
    0afcc9d4a16d powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
    9a995e11b23f dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
    01b19fc6621d dmaengine: idxd: use spin_lock_irqsave before wait_event_lock_irq
    5b784489c815 x86/alternatives: Disable KASAN in apply_alternatives()
    033c0d5101e5 usb: cdnsp: Fixes issue with dequeuing not queued requests
    49fbc18378ae usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap call
    e5588fb39152 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
    71d323072af7 usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command fails
    4d85f1ce6ca4 usb: typec: altmodes/displayport: Signal hpd low when exiting mode
    bc6725085925 counter: microchip-tcb-capture: Fix the use of internal GCLK logic
    0e3953b57735 counter: chrdev: fix getting array extensions
    9f6b391b0486 scsi: ufs: core: Correct clear TM error log
    97306abdeaca pinctrl: avoid unsafe code pattern in find_pinctrl()
    d67b5a2b97b6 dma-buf: add dma_fence_timestamp helper
    cb8f1dd1b73c cgroup: Remove duplicates in cgroup v1 tasks file
    57e7696b7852 usb: typec: ucsi: Use GET_CAPABILITY attributes data to set power supply scope
    062f16c4dd69 nfp: flower: avoid rmmod nfp crash issues
    1db0724a01b5 mctp: perform route lookups under a RCU read-side lock
    60c3e7a00db9 tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
    862aa9818153 Input: goodix - ensure int GPIO is in input for gpio_count == 1 && gpio_int_idx == 0 case
    fbfb99ac5d4a Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
    9c6a11a05bc7 Input: xpad - add PXN V900 support
    211f71c1c0a7 Input: psmouse - fix fast_reconnect function for PS/2 mode
    2efe67c581a2 Input: powermate - fix use-after-free in powermate_config_complete
    4d6c1845cba2 ceph: fix type promotion bug on 32bit systems
    9f43481c0d85 ceph: fix incorrect revoked caps assert in ceph_fill_file_size()
    086d885c200d libceph: use kernel_connect()
    8ac2689502f9 powerpc/47x: Fix 47x syscall return crash
    434e3522b9bd thunderbolt: Restart XDomain discovery handshake after failure
    5d206a77d48a thunderbolt: Check that lane 1 is in CL0 before enabling lane bonding
    0cf7ee2cc6e6 thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge
    23122e0c0e5d mcb: remove is_added flag from mcb_device struct
    125f495fa66a x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
    386398949765 perf/x86/lbr: Filter vsyscall addresses
    55b51187d257 ksmbd: not allow to open file if delelete on close bit is set
    ac2d5e70fbb1 ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
    7aac2f2c0036 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
    f0410917561c drm/amd/display: Don't set dpms_off for seamless boot
    a61d905a8687 drm/amdgpu: add missing NULL check
    0fb82afee55f drm/atomic-helper: relax unregistered connector check
    5bab10496324 arm64: dts: mediatek: mt8195-demo: update and reorder reserved memory regions
    f17e00fb0c9f arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
    ff42d244b372 iio: addac: Kconfig: update ad74413r selections
    7d4ff34b6c33 iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
    b166ce527540 iio: pressure: dps310: Adjust Timeout Settings
    e93a7677f0ba iio: admv1013: add mixer_vgate corner cases
    8ab33ae244a9 iio: dac: ad3552r: Correct device IDs
    a6bd5e165382 iio: adc: imx8qxp: Fix address for command buffer registers
    92426b1f5f89 iio: imu: bno055: Fix missing Kconfig dependencies
    187939163b97 iio: pressure: bmp280: Fix NULL pointer exception
    88a204cc0c3d usb: musb: Modify the "HWVers" register address
    fecb419c62c6 usb: musb: Get the musb_qh poniter after musb_giveback
    fb9895ab9533 usb: hub: Guard against accesses to uninitialized BOS descriptors
    1edbf4b2850e usb: cdns3: Modify the return value of cdns_set_active () to void when CONFIG_PM_SLEEP is disabled
    357191036889 usb: dwc3: Soft reset phy on probe for host
    ea9ae69b0e11 net: usb: dm9601: fix uninitialized variable use in dm9601_mdio_read
    c5bfe67d9fa1 usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
    f049b10affc5 dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag is set
    721dbbabf14b dmaengine: stm32-mdma: use Link Address Register to compute residue
    fe15819408bc dmaengine: stm32-dma: fix residue in case of MDMA chaining
    1e3b981a25db dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of MDMA chaining
    8e7dfe9c2ac8 dmaengine: stm32-mdma: abort resume if no ongoing transfer
    0796c534242d tcp: enforce receive buffer memory limits by allowing the tcp window to shrink
    55027c1d99db workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()
    853dda54ba59 nfc: nci: assert requested protocol is valid
    684accd26dff pinctrl: renesas: rzn1: Enable missing PINMUX
    f05befe5c441 net/smc: Fix pos miscalculation in statistics
    e4f2611f07c8 net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
    ab8075d3a4a8 net/mlx5e: Again mutually exclude RX-FCS and RX-port-timestamp
    04753d5ae209 ixgbe: fix crash with empty VF macvlan list
    89be6ad344f7 net/mlx5e: macsec: use update_pn flag instead of PN comparation
    a698195f3a60 net: phy: mscc: macsec: reject PN update requests
    0d86ad068c3e net: macsec: indicate next pn update when offloading
    50bce6a051e8 net: refine debug info in skb_checksum_help()
    30ca523f287e bpf: Fix verifier log for async callback return values
    e1f1e3cc5b3c drm/vmwgfx: fix typo of sizeof argument
    5bfc5a28b53f riscv, bpf: Sign-extend return values
    72ae13954633 riscv, bpf: Factor out emit_call for kernel and bpf context
    30a835460293 xen-netback: use default TX queue size for vifs
    469bef81293f mlxsw: fix mlxsw_sp2_nve_vxlan_learning_set() return type
    217efe32a452 ieee802154: ca8210: Fix a potential UAF in ca8210_probe
    6f6fa8061f75 ravb: Fix use-after-free issue in ravb_tx_timeout_work()
    3f9295ad7f94 ravb: Fix up dma_free_coherent() call in ravb_remove()
    cfe535ee694d arm64: dts: mediatek: mt8195: Set DSU PMU status to fail
    53c6dc71bf35 can: sun4i_can: Only show Kconfig if ARCH_SUNXI is set
    789d125c0ebb can: isotp: isotp_sendmsg(): fix TX state detection and wait behavior
    881050b25b1d net: dsa: qca8k: fix potential MDIO bus conflict when accessing internal PHYs via management frames
    6f901f8448c6 phy: lynx-28g: serialize concurrent phy_set_mode_ext() calls to shared registers
    e173d9a2e548 phy: lynx-28g: lock PHY while performing CDR lock workaround
    e52c81a9e370 phy: lynx-28g: cancel the CDR check work item on the remove path
    5f9d0edff203 drm/msm/dp: Add newlines to debug printks
    61b595ede9e3 drm/msm/dpu: change _dpu_plane_calc_bw() to use u64 to avoid overflow
    3979a9e572a3 drm/msm/dsi: fix irq_of_parse_and_map() error checking
    3de09684defa drm/msm/dsi: skip the wait for video mode done if not applicable
    82cb81ea9688 drm/msm/dp: do not reinitialize phy unless retry during link training
    6c18c386fd13 pinctrl: nuvoton: wpcm450: fix out of bounds write
    37157830a97f ALSA: hda/realtek - ALC287 merge RTK codec with CS CS35L41 AMP
    171b791cc231 ALSA: hda/realtek - ALC287 I2S speaker platform support
    a8b85e47e311 ALSA: hda/realtek: Add quirk for mute LEDs on HP ENVY x360 15-eu0xxx
    e225f67d49ff ALSA: hda/realtek: Add quirk for HP Victus 16-d1xxx to enable mute LED
    8f7bb2b77bc4 ASoC: fsl_sai: Don't disable bitclock for i.MX8MP
    aacc508dd37d ASoC: fsl_sai: MCLK bind with TX/RX enable bit
    8276d65cf7ad ASoC: Use of_property_read_bool() for boolean properties
    8611606c765d ASoC: Intel: soc-acpi: Add entry for sof_es8336 in MTL match table.
    4a250b349287 ASoC: Intel: sof_sdw: add support for SKU 0B14
    307bbbbb940d ASoC: Intel: soc-acpi: Add entry for HDMI_In capture support in MTL match table
    988fba279db0 ASoC: simple-card-utils: fixup simple_util_startup() error handling
    e3353ad7db52 ASoC: SOF: amd: fix for firmware reload failure after playback
    2aa53213b661 ALSA: hda/realtek: Change model for Intel RVP board
    4cb0984557b9 ALSA: usb-audio: Fix microphone sound on Nexigo webcam.
    0f44423e355e ALSA: usb-audio: Fix microphone sound on Opencomm2 Headset
    3746b878efde KEYS: trusted: Remove redundant static calls usage
    b86ac71abbc0 irqchip: renesas-rzg2l: Fix logic to clear TINT interrupt source
    d6844187507a dt-bindings: interrupt-controller: renesas,rzg2l-irqc: Update description for '#interrupt-cells' property
    f4eaaa30d007 arm64: dts: qcom: sm8150: extend the size of the PDC resource
    020958c946c0 net: prevent address rewrite in kernel_bind()
    8fcdf7da9d4b ata: libata-scsi: Disable scsi device manage_system_start_stop
    abc918831a08 ASoC: amd: yc: Fix non-functional mic on Lenovo 82YM
    12a820a9923c quota: Fix slow quotaoff
    fd72ac9556a4 HID: logitech-hidpp: Fix kernel crash on receiver USB disconnect
    87aa3ca49746 scsi: Do not rescan devices with a suspended queue
    342f321af833 platform/x86: hp-wmi:: Mark driver struct with __refdata to prevent section mismatch warning
    af21c9119a37 platform/x86: think-lmi: Fix reference leak
    1c8f6c7b8375 perf/arm-cmn: Fix the unhandled overflow status of counter 4 to 7
    3aade96e0c93 RDMA/cxgb4: Check skb value for failure to allocate
    f175665385fe drm/i915: Don't set PIPE_CONTROL_FLUSH_L3 for aux inval
    f2060a3a5961 mptcp: fix delegated action races
    b67d7b1bfc46 net: mana: Fix TX CQE error handling
    adc4d740ad9e Linux 6.1.58
    38fd36728f40 lib/test_meminit: fix off-by-one error in test_pages()
    ff74bdc83847 Revert "NFS: Fix error handling for O_DIRECT write scheduling"
    b0cee281c433 Revert "NFS: Fix O_DIRECT locking issues"
    ebf5841ac1ed Revert "NFS: More O_DIRECT accounting fixes for error paths"
    506cf335d95a Revert "NFS: Use the correct commit info in nfs_join_page_group()"
    e8db8b55815d Revert "NFS: More fixes for nfs_direct_write_reschedule_io()"

(From OE-Core rev: 9bfdc8fdd0a2901e29eedc90b425a59794f9a7a4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfe38212221373737ac8a8a243976bd627524eea)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
d34067581f xserver-xorg: upgrade 21.1.8 -> 21.1.9
Changelog:
===========
-present: Send a PresentConfigureNotify event for destroyed windows
-Switch to libbsd-overlay
-Xi/randr: fix handling of PropModeAppend/Prepend
-mi: reset the PointerWindows reference on screen switch

(From OE-Core rev: 84236ab1d21b4df62d8ba074fe9f4ac4719a7333)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 82e87caedf84dcf5a933dbfc92718ac1cdd29734)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
51a049a282 glib-2.0: upgrade 2.78.0 -> 2.78.1
Changelog:
=========
* Fix truncating files when "g_file_set_contents_full()" is called without
  "G_FILE_SET_CONTENTS_CONSISTENT"

* Fix "-Dlibelf=disabled" on Linux

* Bugs fixed:
  - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0
  - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such
    file or directory)
  - #3116 gio clears modification time in microseconds when setting with
    "set_modification_date_time"
  - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled
  - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o
  - #3130 Segfault when creating GIO GPropertyAction without properties
  - #3144 "g_file_set_contents_full()" doesn't truncate the file (without
    "G_FILE_SET_CONTENTS_CONSISTENT")
  - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers
  - !3579 Fixes for integer cast warnings when targeting CHERI
  - !3580 Fix test_find_program on FreeBSD
  - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC
  - !3594 Fix gutils-user-database test on macOS
  - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX
  - !3601 meson: Fix Windows build with PCRE2 as sibling subproject
  - !3604 Backport !3589 "gconstructor.h: Ensure [c|d]tor prototypes are present
    for MSVC" to glib-2-78
  - !3608 Backport !3587 "glocalfileinfo: Preserve microseconds for
    access/modify times" to glib-2-78
  - !3609 Backport !3607 "Make sure the "GTask" is freed on a graceful
    disconnect" to glib-2-78
  - !3614 Backport !3582 "Buffer needs to be aligned correctly to receive
    linux_dirent64." to glib-2-78
  - !3616 Backport !3590 "gtestutils.h: Fix warning with -Wsign-conversion
    caused by g_assert_cmpint" to glib-2-78
  - !3619 Backport !3617 "tests: Drop unnecessary include from gsubprocess-
    testprog.c" to glib-2-78
  - !3622 Backport !3621 "wakeup: do single read when using eventfd()" to
    glib-2-78
  - !3625 Backport !3624 "wakeup: Fix g_wakeup_acknowledge if signal comes in"
    to glib-2-78
  - !3644 Backport !3633 "Use g_task_return in task threads" to glib-2-78
  - !3649 Backport !3648 "build: Fix -Dlibelf=disabled on Linux" to glib-2-78
  - !3659 Backport !3650 "gfileutils: Add a missing ftruncate() call when
    writing files" to glib-2-78

(From OE-Core rev: ca5ec3ed5c528f36204b0f6b95bef896f8858176)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2a2df44ef1b413f1ae268a69e36ca796fc8c9d0b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
b714245cc2 msmtp: upgrade 1.8.24 -> 1.8.25
This is a bug fix release:

Generation of Message-ID headers was improved to avoid problems with rspamd assigning SPAM points
Documentation of ignored options was fixed
The combination of envelope from addresses with wildcards and automatic account selection was fixed (thanks to Jonathan Wakely)
Translations were updated, including a new Romanian translation (thanks again to everyone at translationproject.org)

(From OE-Core rev: 8eeee56a576dffb7f9bac9131563b555d30ada42)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 58fe8184f7ea475ad1be754e0de9a76cd4cd7c2e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
99c43cf1a0 libnsl2: upgrade 2.0.0 -> 2.0.1
Changelog:
===========
* Remove unused internal symbols from libnsl.map
* Remove NIS+ from documentation

(From OE-Core rev: 32a6640fb99cdccb4a74e3ea8baa03272f827fb6)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 1c85811d3a31cd290c7cbc939663cd68d69d9146)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Wang Mingyu
a820a8a34a libnewt: upgrade 0.52.23 -> 0.52.24
Changelog:
===========
- add support for python3.13
- fix compiler warnings

(From OE-Core rev: da5850d11abe2e523b72500fbd304d5db041a9f1)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 3d97fe3848d68159c4b7119b0906c8388ce54a9a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Tim Orling
1dfa7cf067 vim: upgrade 9.0.2068 -> 9.0.2130
https://github.com/vim/vim/compare/v9.0.2068...v9.0.2130

CVE: CVE-2023-48231
CVE: CVE-2023-48232
CVE: CVE-2023-48233
CVE: CVE-2023-48234
CVE: CVE-2023-48235
CVE: CVE-2023-48236
CVE: CVE-2023-48237

(From OE-Core rev: 75b48593f8e1ad9efc14842bf29a68daa7b02472)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5978d565a9e700485fc563dfe2e3c0045dd74b59)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-15 03:54:00 -10:00
Lee Chee Yang
508acf3ab7 migration-guides: add release notes for 4.3.1
(From yocto-docs rev: 405b1e55eef16965c14ad0434b0e88ac165df0b3)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Vyacheslav Yurkov
bdfac04a9f lib/oe/path: Deploy files can start only with a dot
There might be only hidden files deployed. In that case we don't need a
generic wildcard present in copy command, otherwise it fails with:

Exception: subprocess.CalledProcessError: Command 'cp -afl --preserve=xattr ./.??* ./* <BUILDDIR>/tmp/deploy/images/qemux86-64' returned non-zero exit status 1.

Subprocess output:
cp: cannot stat './*': No such file or directory

(From OE-Core rev: c45f3e00189e034157996b88103a83efec3e0cf6)

Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@wika.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f92c751281609ea6bd6b838307de4bc70bf26ab9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Jermain Horsman
b680a95e6b lib/oe/buildcfg.py: Remove unused parameter
Several functions included the 'd' parameter but never used it,
additionally the value passed is always None.

(From OE-Core rev: ea871e7920726c7b2e57161092e21c62e6a5d91e)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9e03ce0426576ebef3739dc1dfec4f7cd73ae094)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Jermain Horsman
38e5d2ac60 lib/oe/buildcfg.py: Include missing import
get_layer_revisions() uses the os.path module but it is not included
in the imports.

(From OE-Core rev: a888d56d46b01d6126179e3f38e3c1739c38d45c)

Signed-off-by: Jermain Horsman <jermain.horsman@nedap.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4339ef5b46c39cce402d1cc3526b39702837b839)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Chen Qi
394a53b2a1 systemd: fix DynamicUser issue
The DynamicUser needs libnss-systemd to be installed to function
well. The tweaks to nsswitch.conf should be conditional on PACKAGECONFIG
values.

(From OE-Core rev: 5420215a3415f08c1d961fca2e3d8258f82fb7f1)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ba3a78c08cb0ce08afde049610d3172b9e3b0695)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
William Lyu
cb7590123a openssl: improve handshake test error reporting
Fixes [YOCTO #15225]

Yocto Bug #15255 is not reproducible. To obtain more useful information
for debugging, the OpenSSL test code is improved so that more detailed
state information in the handshake loop is printed when an error occurs.

(From OE-Core rev: c176229ced6b710b6c44d1090e9e7347d98e4be4)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5bf9a70f580357badd01f39822998985654b0bfc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Randy MacLeod
7ba45d212e strace: backport fix for so_peerpidfd-test
Backport the fix for the so_peerpidfd-test:
   44cf51a38 tests: fix so_peerpidfd test
and drop the patch that skipped that test.

(From OE-Core rev: 40127d0427d02d0c44d17b9959c5eae4d91d3f10)

Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 0a52da6530ebba08f9a3b30d5098b0c3ef1730d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Tim Orling
16bb0a1ced lsb-release: use https for UPSTREAM_CHECK_URI
http:// results in 301 Moved Permanently and redirects to https://

Also drop SRC_URI[md5sum].

(From OE-Core rev: 2060e7ba146a1e87d402af9557cdd5ce959a7bf6)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 4bb3e1dd642802a16ac9526df4098d6dcb97a795)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
e8810de8cb linux-firmware: package Robotics RB5 sensors DSP firmware
Add package with sensors DSP firmware for Qualcomm Robotics RB5
platform.

(From OE-Core rev: 3c33f44d7f4a13bb5ae734bc38de894f0acae783)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 195df10fcbfa1ef7e073d3332943458064519ae0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
45a9376b9a linux-firmware: package Qualcomm Venus 6.0 firmware
Package firmware for the Qualcomm video encoder / decoder (venus) core,
version 6.0

(From OE-Core rev: 247d5b997b4d8a3c72f2004c1df069f7f88fed38)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 51a64bd01adf3a81086e6368af01abaf4081a515)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
f71917facf linux-firmware: package firmware for Qualcomm QCM2290 / QRB4210
Package firmware files for the Qualcomm QCM2290 and QRB4210 platforms.

(From OE-Core rev: 11d1f62d4ccf0239e62fb4f8e9a71ba442cf410d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit bc4170ca691df3eefa39fffd31c280b3ead111a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
3252a1a24b linux-firmware: package firmware for Qualcomm Adreno a702
Separate firmware for the Quacomm Adreno A702 GPU, found on Qualcomm
QCM2290 / QRB2210 platforms.

(From OE-Core rev: a0569427f1c5d0e002d9659d5b102525247bf5e9)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ad24c24dc534b2da7dbd858e1436f8c0d1e86809)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
155f74e0e3 linux-firmware: add audio topology symlink to the X13's audio package
Add new symlink required for the sound driver to find the audio topology
to the linux-firmware--qcom-sc8280xp-lenovo-x13s-audio package.

(From OE-Core rev: 49c756b5752d1e0c9957deb336c86a5fb8fc8abd)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 313135eaa236872e4aa5f698515a3363eb75601f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
07bebb424a linux-firmware: add notice file to sdm845 modem firmware
Follow the upstream change (which moved wlanmdsp and notice files from
ath10k to sdm845 dir) and include notice file into the sdm845 modem
firmware package.

(From OE-Core rev: c7ece930e7232a4b76e793850ab7502020edc24b)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit e03d1b9cc06ae23a8abc8a30b1c09bd997465400)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
60e44e2786 linux-firmware: add missing depenencies on license packages
Several Adreno packages lack dependency on the package with the license
file. Add corresponding RDEPENDS.

Fixes: bf00a042d2fa ("linux-firmware: split platform-specific Adreno shaders to separate packages")
(From OE-Core rev: fe05fc9be2b8a58c721df2da602fa4465e07947d)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 9b9f7fef59cca72c3cd0aedd040a15e77ad5a2b2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Dmitry Baryshkov
2e9e5874c8 linux-firmware: upgrade 20230804 -> 20231030
License-Update: additional firmwares

(From OE-Core rev: 4027a2961d023c3788ec6d08b8f55b2b64bbc005)

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7c725d1f2ed9a271d39d899ac2534558c2d103fc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Bastian Krause
fa5c988242 linux-firmware: add new fw file to ${PN}-rtl8821
Extend the linux-firmware-rtl8821 package with rtw8821 firmware files for
Realtek RTL8821 variants.

(From OE-Core rev: 753a56079375b542e0e22a5bfb76804aa975eeb3)

Signed-off-by: Bastian Krause <bst@pengutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 23c945938f8d8bcf5fbd6d9b840ec319aaa40c62)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Fahad Arslan
30775beff8 linux-firmware: create separate packages
This is in continuation of earlier commit:
3ddddfc14f
linux-firmware: create separate package for cirrus and cnm firmwares

And creates separate sub packages for firmwares corresponding to following list of
licenses:
LICENSE.amphion_vpu
LICENCE.cw1200
LICENSE.ice_enhanced
LICENCE.mediatek
LICENCE.microchip
LICENCE.moxa
LICENSE.nxp_mc_firmware
LICENCE.OLPC
LICENCE.phanfw
LICENCE.qla2xxx
LICENCE.ti-keystone
LICENCE.wl1251
LICENCE.xc4000
LICENCE.xc5000
LICENCE.xc5000c

(From OE-Core rev: ce54c12a7a098d91244a99949e0e0772641c99b7)

Signed-off-by: Fahad Arslan <fahad.arslan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit c110e5708465a6becc611acf97f166302a17ebdf)
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Ross Burton
bbacbb58e6 xwayland: upgrade to 23.2.2
e4487cae1 Bump version to 23.2.2
1e8478455 Xi/randr: fix handling of PropModeAppend/Prepend (CVE-2023-5367)
829a99117 Switch to libbsd-overlay
4f8a851b6 xwayland: Cancel the EI disconnect timer when freed
cc79b2a83 glamor: xv: Fix invalid accessing of plane attributes for NV12
07c18c90e xwayland: Give up on EI on setup failure
10353a01a xwayland: Add an option to enable EI portal support
4f8e209d2 xwayland/glamor/gbm: Set GBM_BO_USE_LINEAR if only LINEAR modifier is supported
c9a842e60 xwayland/present: Handle NULL window_priv in xwl_present_cleanup
2bd43be92 glamor: fixes GL_INVALID_ENUM errors on ES if there is no quads

( cherry-pick from commit 7d0fc94d09db76d4c4d6ca9d2da1b30768f68c9e )

(From OE-Core rev: afaca63391f3d0318dd9ad79512d8a792e4052a6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Richard Purdie
c3b03830ca qemu: Upgrade 8.1.0 -> 8.1.2
Drop three backport patches as they're applied upstream.

( cherry-pick from commit 7480ff9064a74858e83e0ae275dbdb78dd6fc2a4 )

(From OE-Core rev: 3ab0c546f656a86dfbf716bb8f4d1d8b27f16692)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Khem Raj
795f82f534 python3-urllib3: Upgrade to 2.0.7
Addresses CVE-2023-45803 [1]

[1] 4e98d57809

( cherry-pick from commit befec4d3591bb0dce0e256cf338eb541b2a56b98 )

(From OE-Core rev: 99885e0914365f9c4bbb5584e9ab3d244dc58499)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
28664b526d libjpeg-turbo: upgrade 3.0.0 -> 3.0.1
Changelog:
=============
1. The x86-64 SIMD functions now use a standard stack frame, prologue, and
epilogue so that debuggers and profilers can reliably capture backtraces from
within the functions.

2. Fixed two minor issues in the interblock smoothing algorithm that caused
mathematical (but not necessarily perceptible) edge block errors when
decompressing progressive JPEG images exactly two MCU blocks in width or that
use vertical chrominance subsampling.

3. Fixed a regression introduced by 3.0 beta2[6] that, in rare cases, caused
the C Huffman encoder (which is not used by default on x86 and Arm CPUs) to
generate incorrect results if the Neon SIMD extensions were explicitly disabled
at build time (by setting the 'WITH_SIMD' CMake variable to '0') in an AArch64
build of libjpeg-turbo.

(From OE-Core rev: c86d9c34aea1e735c9c828029ce0ae1501928e4c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f1d2ffb6c7282751919a7057ffc445db71866f96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
8dedcabdb5 harfbuzz: upgrade 8.2.1 -> 8.2.2
Changelog:
===========
- Fix regression from 8.1.0 in shaping fonts with duplicate feature tags.
- Fix regression from 8.2.0 in parsing CSS-style feature strings.
- Variable fonts instanciation now handles more tables.
- Various CMake build improvements.
- various fixes to build without errors with gcc 4.9.2.

(From OE-Core rev: d33248db045b6959c641630dda1aa35aaf702648)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7380afcb41db7b1a93c716af567d4a30a71dddcd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
834f988885 enchant2: upgrade 2.6.1 -> 2.6.2
Changelog:
===========
Documents exclude files: each personal word list is paired with
an exclude file that contains words the user considers invalid.

(From OE-Core rev: 9da704f23bc9538c6fa6fb075fe2c28e7751c8a4)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f0877cebd2c990d9d98fc348032742c2d9fb4254)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Wang Mingyu
14c2c0d84b base-passwd: upgrade 3.6.1 -> 3.6.2
base-passwd (3.6.2)

  [ Peter Kjellerstedt ]
  * Make it possible to configure whether to use SELinux or not.

  [ Gioele Barabucci ]
  * d/postinst: Remove code for upgrades from outdated version 3.2.2.
  * d/control: Remove unused w3m build dependency (closes: #1051810).
  * Support <nodoc> build profile (closes: #1051809).

  [ Colin Watson ]
  * Debconf translations:
    - Romanian (thanks, Remus-Gabriel Chelu; closes: #1031149).
    - Swedish (thanks, Peter Kvillegård; closes: #1050440).
  * Explicitly build-depend on docbook, since otherwise the build fails if
    docbook-xml happens to be installed before installing build-dependencies
    (closes: #1033422).

  [ Samuel Thibault ]
  * Fix non-Linux builds (closes: #1054098).

0006-Make-it-possible-to-configure-whether-to-use-SELinux.patch
removed since it's included in 3.6.2

(From OE-Core rev: 9dc8a4b219cd8763299ca465e82bd4a5b495ea14)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit f318a13e8b6ce3ded313fa17ab80b35b936205fb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Vijay Anusuri
b5c29b2a94 avahi: backport Debian patches to fix multiple CVE's
import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469
 CVE-2023-38470
 CVE-2023-38471
 CVE-2023-38472
 CVE-2023-38473

Upstream-Status: Backport [import from ubuntu https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
a2696da2f2
&
a337a1ba7d
&
c6cab87df2
&
94cb648911
&
20dec84b24
&
894f085f40
&
b675f70739
&
b024ae5749
&
b448c9f771]

(From OE-Core rev: a9203c46cd64c3ec5e5b00e381bbac85733f85df)

Signed-off-by: Vijay Anusuri <vanusuri@mvista.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-12-05 11:51:37 -10:00
Steve Sakoman
bf9f2f6f60 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: cce77e8e79c860f4ef0ac4a86b9375bf87507360)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
nanbield-4.3.1 yocto-4.3.1
2023-11-24 08:31:43 -10:00
Steve Sakoman
3bcf525a68 poky.conf: bump version for 4.3.1 release
(From meta-yocto rev: 7324ba75c9ca2cb90704296e3882ad9f46497f61)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Lee Chee Yang
2b90e1725c release-notes-4.3: add Repositories / Downloads section
Add Repositories/Downloads Section for 4.3 release notes.

(From yocto-docs rev: 6b98a6164263298648e89b5a5ae1260a58f1bb35)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Michael Halstead
b23377f070 docs: add support for nanbield (4.3) release
This adds support for the Nanbield (4.3) release and update the
current dev branch to Scarthgap.

(From yocto-docs rev: b66ba1c2d117033493f3ec25ebcf121cde200286)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Ross Burton
9c1fb1c9ef oeqa/selftest/debuginfod: improve selftest
This test was occasionally failing for no obvious reason, so refactor
and improve:

- While waiting for the daemon, check that it is still running and
  explicitly timeout after 10s when making the HTTP call.

- While waiting for the daemon to be ready, log the current state of the
  daemon so we can tell if we're timing out as it is still scanning.

- This was in fact the cause of the intermittant failures, because the
  TMPDIR is reused between tests and may contain a large number of
  packages. Do the tests in an isolated TMPDIR to hopefully mitigate this
  issue and increase the timeout to two minutes.

- Decorate the test using runqemu as such so that can be skipped in
  environments without runqemu

- Add a second test that doesn't use runqemu or images, which is faster
  but less realistic.

(From OE-Core rev: 99590fac1bfb5474f5bf0e02d3888b518af9fb3e)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 88b660aaae2527736b6eccec4c952eee969e20a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Archana Polampalli
6a35bdf571 vim: Upgrade 9.0.2048 -> 9.0.2068
This includes CVE fix for CVE-2023-46246.
9198c1f2b (tag: v9.0.2068) patch 9.0.2068: [security] overflow in :history

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-46246

(From OE-Core rev: 55dba750cb37fdf09b9b8b768c5ebea86c769248)

Signed-off-by: Archana Polampalli <archana.polampalli@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 63bc72ccb63d2f8eb591d7cc481657a538f0fd42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Steve Sakoman
08bf0e6743 vim: use upstream generated .po files
A previous commit attempted to fix reproducibility errors by forcing
regeneration of .po files. Unfortunately this triggered a different
type of reproducibility issue.

Work around this by adjusting the timestamps of the troublesome .po
files so they are not regenerated and we use the shipped upstream
versions of the files.

The shipped version of ru.cp1251.po doesn't seem to have been created
with the vim tooling and specifies CP1251 instead of cp1251, fix that.

(From OE-Core rev: 14629902c9bb8ac155cf1077377589ab086c5020)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 13d9551ba626f001c71bf908df16caf1d739cf13)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Richard Purdie
899eeaf3fb vim: Improve locale handling
When making checkouts from git, the timestamps can vary and occasionally two files
can end up with the same stamp. This triggers make to regenerate ru.cp1251.po from
ru.po for example. If it isn't regenerated, the output isn't quite the same leading
to reproducibility issues (CP1251 vs cp1251).

Since we added all locales to buildtools tarball now, we can drop the locale
restrictions too. We need to generate a native binary for the sjis conversion
tool so also tweak that.

(From OE-Core rev: fdbdfd90f114ace6891f08625fd3fa8e66959ff7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 042c1a501b1dae5ddb31307b461be02c3591c589)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
1ce41a86e3 patchtest: rework license checksum tests
Remove the pretest_lic_files_chksum_modified_not_mentioned test entirely
and use pyparsing in test_lic_files_chksum_modified_not_mentioned to
scan the patches for lines starting with either "+LIC_FILES_CHKSUM" or
"-LIC_FILES_CHKSUM".  If either is found but no "License-Update" tag is
present in the commit, fail the test.

(From OE-Core rev: d1871afcec769b6503852adf6217460897ecf301)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 8e1bda0eb225ada22fdf5990edfec512be1d6629)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
bee889b6a1 patchtest-send-results: fix sender parsing
Not all mbox 'from' fields will contain angle brackets, so the
re.findall invocation used for getting a reply_address may fail. Use a
simpler reference to the field to get the sender's email address.

(From OE-Core rev: 78e76e2e4f71485a632f1c1ae83032e0e9341a9e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 86e9afe09a346586114133f5a7470304d2ed733f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
d171bc2f28 patchtest: remove test for CVE tag in mbox
After patchtest went live it was determined that testing for a CVE tag
in the mbox commit message is unnecessary, since it will already be in
the shortlog and in any carried patches. Remove the test and the
associated selftest files so that its absence isn't flagged in future
test results.

(From OE-Core rev: bf9671896eb60880b5dad36c2706855932ce091f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 54690f18f04a2ab993a85d551ce4f8d0fa56618a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
52e8e9e2b6 patchtest: make pylint tests compatible with 3.x
pylint 3.x has removed epylint, which is now a separate module. To avoid
adding another recipe or using outdated modules, modify the
test_python_pylint tests so that they use the standard pylint API.

(From OE-Core rev: 8b3c6837fe2367fa7aa20b2ee5be554be98f2acd)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 72be3d6a116febf46130cccbe12afe5ad93779b5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
d1c1d93077 patchtest-send-results: add In-Reply-To
Rework the script for sending results to use send_raw_email and specify
the 'In-Reply-To' field so that patchtest replies to the emails, rather
than sending them standalone to the submitter and mailing list.

(From OE-Core rev: b15537e2e13fd932e16fef5f7a25a3ab2130a19e)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0c45c92e7f26aea4edf2cfa577b7ba51384e59d3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
44dd3383c7 patchtest-send-results: send results to submitter
Modify patchtest-send-results so that it extracts the submitter's email
address and responds to them with the patch testresults. Also make a
minor adjustment to the suggestions provided with each email and include
a link to the Patchtest wiki page for additional clarification on
specific failures.

(From OE-Core rev: fe9ec57a07f4e341505030fdf49a5827f01a626f)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 64ed88e32cf9e04772319ff6e66c602d1cff4fd7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
cce3cab334 patchtest: shorten test result outputs
Some test result lines in TestMbox and TestPatch are still too long to
avoid being flagged by the mailer script. Clean them up by removing
redundant information, so that they are all under the length limit of
220 characters.

(From OE-Core rev: c543469e2da32a474a60a497b5d51fd9fc43dbb4)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c10d0bb542b23fbdc14d76dfa8e5885aa4d33083)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
9f4d69790c patchtest: reduce checksum test output length
The test_lic_files_chksum_modified_not_mentioned test in TestMetadata is
outputting very long lines that fail the maximum length check when
sending email results, preventing the actual errors from being
displayed. Reduce the length of the failure message by rewording and
removing redundant information.

(From OE-Core rev: e3c680bab99f7e5f0cb7874ada0297b5fac66702)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2e2625735181160e9760a6f3af4955bda2ea6d4d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00
Trevor Gamblin
f575a3bdd5 patchtest: simplify test directory structure
Consolidate the various mbox tests into a new TestMbox class, metadata
tests into TestMetadata, and patch tests into TestPatch. Also update the
selftest filenames to match the changes. The test contents are not
significantly changed (other than to reference the new class names).
While this doesn't improve overall readability, it does result in more
obvious categorization, and more importantly reduces the number of calls
to setup tinfoil in the tests, resulting in a roughly 25% reduction in
runtime.

Before:

[tgamblin@megalith poky]$ time ./meta/lib/patchtest/selftest/selftest
XPASS: PatchSignedOffBy.test_signed_off_by_presence (file: PatchSignedOffBy.test_signed_off_by_presence.pass)
XFAIL: Shortlog.test_shortlog_format (file: Shortlog.test_shortlog_format.fail)
XFAIL: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.1.fail)
XPASS: Shortlog.test_shortlog_length (file: Shortlog.test_shortlog_length.pass)
XFAIL: CommitMessage.test_commit_message_presence (file: CommitMessage.test_commit_message_presence.fail)
XFAIL: SrcUri.test_src_uri_left_files (file: SrcUri.test_src_uri_left_files.fail)
XPASS: Author.test_author_valid (file: Author.test_author_valid.1.pass)
XFAIL: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned (file: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned.fail)
XPASS: CVE.test_cve_tag_format (file: CVE.test_cve_tag_format.pass)
XPASS: CVE.test_cve_presence_in_commit_message (file: CVE.test_cve_presence_in_commit_message.pass)
XFAIL: CVE.test_cve_tag_format (file: CVE.test_cve_tag_format.fail)
XFAIL: Author.test_author_valid (file: Author.test_author_valid.1.fail)
XFAIL: LicFilesChkSum.test_lic_files_chksum_presence (file: LicFilesChkSum.test_lic_files_chksum_presence.fail)
XSKIP: Merge.test_series_merge_on_head (file: Merge.test_series_merge_on_head.2.skip)
XPASS: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.pass)
XFAIL: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.1.fail)
XPASS: Shortlog.test_shortlog_format (file: Shortlog.test_shortlog_format.pass)
XFAIL: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.2.fail)
XFAIL: MboxFormat.test_mbox_format (file: MboxFormat.test_mbox_format.2.fail)
XFAIL: Summary.test_summary_presence (file: Summary.test_summary_presence.fail)
XPASS: Author.test_author_valid (file: Author.test_author_valid.2.pass)
XSKIP: Merge.test_series_merge_on_head (file: Merge.test_series_merge_on_head.1.skip)
XPASS: Bugzilla.test_bugzilla_entry_format (file: Bugzilla.test_bugzilla_entry_format.pass)
XFAIL: CVE.test_cve_presence_in_commit_message (file: CVE.test_cve_presence_in_commit_message.fail)
XPASS: SignedOffBy.test_signed_off_by_presence (file: SignedOffBy.test_signed_off_by_presence.pass)
XPASS: LicFilesChkSum.test_lic_files_chksum_presence (file: LicFilesChkSum.test_lic_files_chksum_presence.pass)
XPASS: CommitMessage.test_commit_message_presence (file: CommitMessage.test_commit_message_presence.pass)
XPASS: Summary.test_summary_presence (file: Summary.test_summary_presence.pass)
XPASS: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned (file: LicFilesChkSum.test_lic_files_chksum_modified_not_mentioned.pass)
XFAIL: Shortlog.test_shortlog_length (file: Shortlog.test_shortlog_length.fail)
XFAIL: PatchSignedOffBy.test_signed_off_by_presence (file: PatchSignedOffBy.test_signed_off_by_presence.fail)
XFAIL: Bugzilla.test_bugzilla_entry_format (file: Bugzilla.test_bugzilla_entry_format.fail)
XPASS: SrcUri.test_src_uri_left_files (file: SrcUri.test_src_uri_left_files.pass)
XFAIL: Author.test_author_valid (file: Author.test_author_valid.2.fail)
============================================================================
Testsuite summary for patchtest
============================================================================
============================================================================

real    24m14.386s
user    1m13.599s
sys     0m21.477s

After:

[tgamblin@megalith poky]$ time ./meta/lib/patchtest/selftest/selftest
XFAIL: TestMbox.test_bugzilla_entry_format (file: TestMbox.test_bugzilla_entry_format.fail)
XPASS: TestMetadata.test_summary_presence (file: TestMetadata.test_summary_presence.pass)
XFAIL: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.1.fail)
XFAIL: TestMetadata.test_src_uri_left_files (file: TestMetadata.test_src_uri_left_files.fail)
XSKIP: TestMbox.test_series_merge_on_head (file: TestMbox.test_series_merge_on_head.2.skip)
XPASS: TestMbox.test_commit_message_presence (file: TestMbox.test_commit_message_presence.pass)
XFAIL: TestMbox.test_commit_message_presence (file: TestMbox.test_commit_message_presence.fail)
XPASS: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.pass)
XFAIL: TestPatch.test_cve_tag_format (file: TestPatch.test_cve_tag_format.fail)
XFAIL: TestMbox.test_author_valid (file: TestMbox.test_author_valid.1.fail)
XFAIL: TestMbox.test_shortlog_length (file: TestMbox.test_shortlog_length.fail)
XPASS: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.pass)
XFAIL: TestPatch.test_signed_off_by_presence (file: TestPatch.test_signed_off_by_presence.fail)
XFAIL: TestMbox.test_shortlog_format (file: TestMbox.test_shortlog_format.fail)
XFAIL: TestMbox.test_mbox_format (file: TestMbox.test_mbox_format.2.fail)
XPASS: TestPatch.test_cve_tag_format (file: TestPatch.test_cve_tag_format.pass)
XSKIP: TestMbox.test_series_merge_on_head (file: TestMbox.test_series_merge_on_head.1.skip)
XPASS: TestMbox.test_author_valid (file: TestMbox.test_author_valid.2.pass)
XPASS: TestMetadata.test_lic_files_chksum_modified_not_mentioned (file: TestMetadata.test_lic_files_chksum_modified_not_mentioned.pass)
XPASS: TestMbox.test_bugzilla_entry_format (file: TestMbox.test_bugzilla_entry_format.pass)
XPASS: TestMetadata.test_src_uri_left_files (file: TestMetadata.test_src_uri_left_files.pass)
XPASS: TestMetadata.test_lic_files_chksum_presence (file: TestMetadata.test_lic_files_chksum_presence.pass)
XPASS: TestMbox.test_cve_presence_in_commit_message (file: TestMbox.test_cve_presence_in_commit_message.pass)
XFAIL: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.2.fail)
XFAIL: TestMbox.test_author_valid (file: TestMbox.test_author_valid.2.fail)
XFAIL: TestMetadata.test_lic_files_chksum_presence (file: TestMetadata.test_lic_files_chksum_presence.fail)
XPASS: TestMbox.test_shortlog_format (file: TestMbox.test_shortlog_format.pass)
XPASS: TestMbox.test_author_valid (file: TestMbox.test_author_valid.1.pass)
XPASS: TestPatch.test_signed_off_by_presence (file: TestPatch.test_signed_off_by_presence.pass)
XFAIL: TestMetadata.test_lic_files_chksum_modified_not_mentioned (file: TestMetadata.test_lic_files_chksum_modified_not_mentioned.fail)
XPASS: TestMbox.test_shortlog_length (file: TestMbox.test_shortlog_length.pass)
XFAIL: TestMbox.test_signed_off_by_presence (file: TestMbox.test_signed_off_by_presence.1.fail)
XFAIL: TestMbox.test_cve_presence_in_commit_message (file: TestMbox.test_cve_presence_in_commit_message.fail)
XFAIL: TestMetadata.test_summary_presence (file: TestMetadata.test_summary_presence.fail)
============================================================================
Testsuite summary for patchtest
============================================================================
============================================================================
real    18m39.749s
user    0m41.857s
sys     0m14.708s

(From OE-Core rev: 497e128546b37d6cf5fb86188fff4c7a22526ec8)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f788592da2fd0e21638ce2c3326675a060ba51cf)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-11-24 05:01:37 -10:00