Bruce Ashfield [Tue, 5 Sep 2023 14:37:10 +0000 (10:37 -0400)]
linux-yocto/6.1: update to v6.1.50
Updating to the latest korg -stable release that comprises
the following commits:
a2943d2d9a00 Linux 6.1.50 19641b979b24 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG 9d5a3b4aee11 maple_tree: disable mas_wr_append() when other readers are possible 936cf79649e0 ASoC: amd: yc: Fix a non-functional mic on Lenovo 82SJ d10ab996bd5c gpio: sim: pass the GPIO device's software node to irq domain 3c839f8332df gpio: sim: dispose of irq mappings before destroying the irq_sim domain 3282e79a85c1 dma-buf/sw_sync: Avoid recursive lock during fence signal 6ed06b94f683 pinctrl: renesas: rza2: Add lock around pinctrl_generic{{add,remove}_group,{add,remove}_function} 3fb1b959af17 pinctrl: renesas: rzv2m: Fix NULL pointer dereference in rzv2m_dt_subnode_to_map() 4a75bf3f6f4f pinctrl: renesas: rzg2l: Fix NULL pointer dereference in rzg2l_dt_subnode_to_map() 0ba9a242a6b3 clk: Fix undefined reference to `clk_rate_exclusive_{get,put}' 70461151d0eb scsi: core: raid_class: Remove raid_component_add() 774cb3de7ac9 scsi: snic: Fix double free in snic_tgt_create() bd20e20c4d64 madvise:madvise_free_pte_range(): don't use mapcount() against large folio for sharing check f67e3a725b49 can: raw: add missing refcount for memory leak fix b7803afc77be ublk: remove check IO_URING_F_SQE128 in ublk_ch_uring_cmd f016326d31d0 thunderbolt: Fix Thunderbolt 3 display flickering issue on 2nd hot plug onwards d3ff67076bed cgroup/cpuset: Free DL BW in case can_attach() fails f0135131bb0e sched/deadline: Create DL BW alloc, free & check overflow interface 064b960dbe94 cgroup/cpuset: Iterate only if DEADLINE tasks are present d1b4262b78cc sched/cpuset: Keep track of SCHED_DEADLINE task in cpusets 9bcfe1527882 sched/cpuset: Bring back cpuset_mutex 7030fbf75f26 cgroup/cpuset: Rename functions dealing with DEADLINE accounting ce59b7c1b027 nfsd: use vfs setgid helper 362ed5d93114 nfs: use vfs setgid helper a0ec52f36ce9 selftests/net: mv bpf/nat6to4.c to net folder f1fa6e6f85cb hwmon: (aquacomputer_d5next) Add selective 200ms delay after sending ctrl report d8f9a9cfdcd3 x86/fpu: Set X86_FEATURE_OSXSAVE feature after enabling OSXSAVE in CR4 6bcb9c7d0435 x86/fpu: Invalidate FPU state correctly on exec() 3bc9b0364a8c drm/display/dp: Fix the DP DSC Receiver cap size 3abffee6091c drm/i915/dgfx: Enable d3cold at s2idle 115f2ccd3a99 drm/vmwgfx: Fix shader stage validation 1900e193b5dd PCI: acpiphp: Use pci_assign_unassigned_bridge_resources() only for non-root bus fe04122b9321 media: vcodec: Fix potential array out-of-bounds in encoder queue_setup 4919043ab93b pinctrl: amd: Mask wake bits on probe again c6b7d8902025 of: dynamic: Refactor action prints to not use "%pOF" inside devtree_lock 2d00ca90b81e of: unittest: Fix EXPECT for parse_phandle_with_args_map() test e75de82b3786 radix tree: remove unused variable aa096bc3c8c0 riscv: Fix build errors using binutils2.37 toolchains 33835975740e riscv: Handle zicsr/zifencei issue between gcc and binutils 30ffd5890a03 lib/clz_ctz.c: Fix __clzdi2() and __ctzdi2() for 32-bit kernels 82bb5f8aba00 batman-adv: Hold rtnl lock during MTU update via netlink cb1f73e691bb batman-adv: Fix batadv_v_ogm_aggr_send memory leak f1bead97f0ad batman-adv: Fix TT global entry leak when client roamed back fc9b87d8b741 batman-adv: Do not get eth header before batadv_check_management_packet ed1eb19806ae batman-adv: Don't increase MTU when set by user efef746c5a38 batman-adv: Trigger events for auto adjusted MTU d6b64d710e9b selinux: set next pointer before attaching to list 36c5aecc789d nfsd: Fix race to FREE_STATEID and cl_revoked 96fb46ef8281 NFS: Fix a use after free in nfs_direct_join_group() bdc544a87d43 mm: memory-failure: fix unexpected return value in soft_offline_page() 07fad410aa6e mm: add a call to flush_cache_vmap() in vmap_pfn() a8a60bc8027e mm/gup: handle cont-PTE hugetlb pages correctly in gup_must_unshare() via GUP-fast d4e11b85a269 ALSA: ymfpci: Fix the missing snd_card_free() call at probe error d13f3a63d236 shmem: fix smaps BUG sleeping while atomic 091591f6e7c3 mm,ima,kexec,of: use memblock_free_late from ima_free_kexec_buffer a7d172252bfa clk: Fix slab-out-of-bounds error in devm_clk_release() 14904f4d8bf8 NFSv4: Fix dropped lock for racing OPEN and delegation return ac467d7405fe platform/x86: ideapad-laptop: Add support for new hotkeys found on ThinkBook 14s Yoga ITL e6a60eccd0c8 wifi: mac80211: limit reorder_buf_filtered to avoid UBSAN warning b8b7243aafec ibmveth: Use dcbf rather than dcbfl 85607ef399d9 ASoC: cs35l41: Correct amp_gain_tlv values 014fec554010 ASoC: amd: yc: Add VivoBook Pro 15 to quirks list for acp6x 22a406b3629a io_uring/msg_ring: fix missing lock on overflow for IOPOLL 816c7cecf6a0 io_uring/msg_ring: move double lock/unlock helpers higher up 4f5937528518 io_uring: extract a io_msg_install_complete helper 0d617fb6d513 io_uring: get rid of double locking 82d811ff5665 KVM: x86/mmu: Fix an sign-extension bug with mmu_seq that hangs vCPUs 2800385fda53 KVM: x86: Preserve TDP MMU roots until they are explicitly invalidated a0559fd0e14e bonding: fix macvlan over alb bond support b15dea3de413 rtnetlink: Reject negative ifindexes in RTM_NEWLINK ed3fe5f9020c netfilter: nf_tables: fix out of memory error handling 41841b585e53 netfilter: nf_tables: flush pending destroy work before netlink notifier 136861956ad6 i40e: fix potential NULL pointer dereferencing of pf->vf i40e_sync_vsi_filters() 581668893e31 net/sched: fix a qdisc modification with ambiguous command request f94f30e2abfa igc: Fix the typo in the PTM Control macro 9b7fd6beec37 igb: Avoid starting unnecessary workqueues 39d43b9cdfe8 can: isotp: fix support for transmission of SF without flow control f41781b9d8a4 selftests: bonding: do not set port down before adding to bond 850e2322ae59 ice: Fix NULL pointer deref during VF reset 7cddaed2a3f6 Revert "ice: Fix ice VF reset during iavf initialization" 1188e9dd7af9 ice: fix receive buffer size miscalculation 417e7ec0d61e ipv4: fix data-races around inet->inet_id 4af1fe642f37 net: validate veth and vxcan peer ifindexes afc9d3d21793 net: bcmgenet: Fix return value check for fixed_phy_register() 029e491b8c11 net: bgmac: Fix return value check for fixed_phy_register() ac259251487a net: dsa: mt7530: fix handling of 802.1X PAE frames c663607202f5 selftests: mlxsw: Fix test failure on Spectrum-4 1288f9907514 mlxsw: Fix the size of 'VIRT_ROUTER_MSB' 7134565a8207 mlxsw: reg: Fix SSPR register layout 22f9b5468df5 mlxsw: pci: Set time stamp fields also when its type is MIRROR_UTC 4496f6ccf599 ipvlan: Fix a reference count leak warning in ipvlan_ns_exit() 265ed382e0f4 dccp: annotate data-races in dccp_poll() b516a24f4c07 sock: annotate data-races around prot->memory_pressure cfee17993d10 net: dsa: felix: fix oversize frame dropping for always closed tc-taprio gates b701b8d191da devlink: add missing unregister linecard notification 1375d2061204 devlink: move code to a dedicated directory eaeef5c865ab octeontx2-af: SDP: fix receive link config 2cb0c037c927 tracing: Fix memleak due to race between current_tracer and trace 7d0c2b0de2db tracing: Fix cpu buffers unavailable due to 'record_disabled' missed 7e862cce3491 drm/i915/gt: Support aux invalidation on all engines 8e3f138b96f6 drm/i915/gt: Poll aux invalidation register bit on invalidation 017d4404312a drm/i915/gt: Ensure memory quiesced before invalidation c23126f2c76a drm/i915: Add the gen12_needs_ccs_aux_inv helper d4f5dcf68c05 s390/zcrypt: fix reply buffer calculations for CCA replies 246d763b79a5 s390/zcrypt: remove unnecessary (void *) conversions 40dafcab9da9 can: raw: fix lockdep issue in raw_release() 335987e21237 can: raw: fix receiver memory leak e5c768d809a8 jbd2: fix a race when checking checkpoint buffer busy 5fda50e262e6 jbd2: remove journal_clean_one_cp_list() 8168c96c24ec jbd2: remove t_checkpoint_io_list 1fa68a781098 MIPS: cpu-features: Use boot_cpu_type for CPU type based features 92c568c82ee7 MIPS: cpu-features: Enable octeon_cache by cpu_type 3e4d038da33e PCI: acpiphp: Reassign resources on bridge if necessary 28916927b762 video/aperture: Move vga handling to pci function 4aad3b82b9de video/aperture: Only kick vgacon when the pdev is decoding vga 437e99f2a1e9 drm/aperture: Remove primary argument cccfcbb9e51a drm/gma500: Use drm_aperture_remove_conflicting_pci_framebuffers 6db53af15444 fbdev/radeon: use pci aperture helpers cd1f889c99ee drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers 26ea8668b8aa xprtrdma: Remap Receive buffers after a reconnect d9aac9cdd6e2 NFSv4: fix out path in __nfs4_get_acl_uncached 4a289d123f62 NFSv4.2: fix error handling in nfs42_proc_getxattr 024f76bca9d0 Linux 6.1.49 db05f8449bb3 Revert "f2fs: fix to do sanity check on direct node in truncate_dnode()" c5bd20577ff3 Revert "f2fs: fix to set flush_merge opt and show noflush_merge" 76e18e6709c8 Revert "f2fs: don't reset unchangable mount option in f2fs_remount()" 77c576602dc7 objtool/x86: Fix SRSO mess cd363bb9548e Linux 6.1.48 7487244912b1 x86/srso: Correct the mitigation status when SMT is disabled 4da4aae04b7f objtool/x86: Fixup frame-pointer vs rethunk c8b056a3b4eb x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG dae93ed961a8 x86/srso: Disable the mitigation on unaffected configurations e4679a0342e0 x86/CPU/AMD: Fix the DIV(0) initial fix attempt b41eb316c95c x86/retpoline: Don't clobber RFLAGS during srso_safe_ret() c1f831425fe9 x86/static_call: Fix __static_call_fixup() c16d0b3baff4 x86/srso: Explain the untraining sequences a bit more 529a9f087a7e x86/cpu: Cleanup the untrain mess e6b40d2cb5aa x86/cpu: Rename srso_(.*)_alias to srso_alias_\1 54dde78a50a8 x86/cpu: Rename original retbleed methods 44dbc912fd8a x86/cpu: Clean up SRSO return thunk mess 53ebbe1c8c02 x86/alternative: Make custom return thunk unconditional 8bb1ed390d35 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk() 6e4dd7d2636d x86/cpu: Fix __x86_return_thunk symbol type 802aacbbffe2 Linux 6.1.47 0768ecc49ea7 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove b2c55af89b51 net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled 3f27451c9f29 drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create 790c2f9d15b5 af_unix: Fix null-ptr-deref in unix_stream_sendpage(). ab63f883bfdc drm/amdgpu: keep irq count in amdgpu_irq_disable_all 8abce61273c2 drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11 21614ba60883 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state 1be35f5c1670 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state 1b4ce2952b4f hugetlb: do not clear hugetlb dtor until allocating vmemmap 4bdfe20d85b3 drm/amd/display: Implement workaround for writing to OTG_PIXEL_RATE_DIV register 8517d739923e sched/fair: Remove capacity inversion detection e8acf9971fbe sched/fair: unlink misfit task from cpu overutilized 5274bf1f743f zsmalloc: allow only one active pool compaction context d4008eadfce5 drm/amd/display: disable RCO for DCN314 b2f599c014f3 ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG 7de99bf5bcd6 drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7 9c8c2cf9f9bc drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix e1cbd5637f37 drm/amd: flush any delayed gfxoff on suspend entry df1566ce41ee drm/i915/sdvo: fix panel_type initialization a1fa8f0fc58e drm/qxl: fix UAF on handle creation 5818da46a2b5 mmc: block: Fix in_flight[issue_type] value error dccd07b0d9e4 mmc: wbsd: fix double mmc_free_host() in wbsd_init() 8ad3bfdd227e blk-crypto: dynamically allocate fallback profile 65bcb07b1262 arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards fc66f8157917 virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case 9e725386d426 cifs: Release folio lock on fscache read hit. bfd25f5e6400 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces. 0c05493341d6 serial: 8250: Fix oops for port->pm on uart_change_pm() af7ca7ad3753 riscv: uaccess: Return the number of bytes effectively not copied ea65d78ef999 ALSA: hda/realtek - Remodified 3k pull low procedure b662856b7134 soc: aspeed: socinfo: Add kfree for kstrdup 15db1e594e2c soc: aspeed: uart-routing: Use __sysfs_match_string 6c889d2123ba ALSA: hda/realtek: Add quirks for HP G11 Laptops 7b041466ed42 ASoC: meson: axg-tdm-formatter: fix channel slot allocation f0451002a4d9 ASoC: rt5665: add missed regulator_bulk_disable 2b34636b50bf arm64: dts: imx93: Fix anatop node size 9ba52bd26774 ARM: dts: imx: Set default tuning step for imx6sx usdhc 6777c4379bd8 arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration ca69bb145383 ARM: dts: imx6: phytec: fix RTC interrupt level d2d6d51d753a ARM: dts: imx: align LED node names with dtschema 66d761a2290a arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+ 52d3607db0de arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4 9657a754c5de arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict fae3868be844 bus: ti-sysc: Flush posted write on enable before reset 1c82d1b736ce ice: Block switchdev mode when ADQ is active and vice versa fbc7b1dad825 qede: fix firmware halt over suspend and resume 2e03a92b2411 net: do not allow gso_size to be set to GSO_BY_FRAGS 06b8f06f9302 sock: Fix misuse of sk_under_memory_pressure() 3d820924c00c sfc: don't unregister flow_indr if it was never registered df83af3b996d net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset 740924313a1b i40e: fix misleading debug logs ea749b5e3b38 iavf: fix FDIR rule fields masks validation c965a5837614 net: openvswitch: reject negative ifindex d5e4c0e78f1d team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves 85bd0af93994 net: phy: broadcom: stub c45 read/write for 54810 7148bca63b21 netfilter: nft_dynset: disallow object maps 7f8a160d40ef ipvs: fix racy memcpy in proc_do_sync_threshold 00ea7eb1c69e netfilter: nf_tables: deactivate catchall elements in next generation a800fcd8f18d netfilter: nf_tables: fix false-positive lockdep splat 75c724e2b714 octeon_ep: cancel tx_timeout_task later in remove sequence 58a54bad3a76 net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source 06af678c6080 drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs 2f07f1302ecb selftests: mirror_gre_changes: Tighten up the TTL test match cd4460b21741 net: phy: fix IRQ-based wake-on-lan over hibernate / power off a41e5a79a059 net: pcs: Add missing put_device call in miic_create 120a89c36d3d virtio-net: set queues after driver_ok 45085ba966fb virtio_net: notify MAC address change on device initialization a442cd170193 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH 87b655f4936b xfrm: add NULL check in xfrm_update_ae_params 2b05bf5dc437 ip_vti: fix potential slab-use-after-free in decode_session6 55ad2309205c ip6_vti: fix slab-use-after-free in decode_session6 0d27567fde5b xfrm: fix slab-use-after-free in decode_session6 71dfe71df100 net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure 479884b4ce16 net: af_key: fix sadb_x_filter validation 9a0056276f5f net: xfrm: Fix xfrm_address_filter OOB read 5a47c2fa0d39 i2c: designware: Handle invalid SMBus block data response length value 52114963307e i2c: designware: Correct length byte validation logic ceb9ba8e3083 btrfs: fix BUG_ON condition in btrfs_cancel_balance 9f68e2105dd9 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range 0693c8f134f9 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms 31311a9a4baa tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux d6aa03bda8c0 vdpa: Enable strict validation for netlinks ops ff71709445ac vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check 8ad9bc25cbdc vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check 44b508cc9688 vdpa: Add features attr to vdpa_nl_policy for nlattr length check b8fee83aa4ed powerpc/rtas_flash: allow user copy to flash block cache objects 9fedcd07abdc fbdev: mmp: fix value check in mmphw_probe() 3461e6492ca2 i2c: tegra: Fix i2c-tegra DMA config option processing ba249011f665 i2c: hisi: Only handle the interrupt of the driver's transfer db0416c15572 i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue 5ee28bcfbaac cifs: fix potential oops in cifs_oplock_break cba26abc3f94 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary bb4983ec9e75 vdpa/mlx5: Fix mr->initialized semantics e706675beeec vduse: Use proper spinlock for IRQ injection af5818c35173 virtio-mmio: don't break lifecycle of vm_dev 6297644db23f btrfs: fix use-after-free of new block group that became unused 29cebf80877b btrfs: convert btrfs_block_group::seq_zone to runtime flag 94cde94169f0 btrfs: convert btrfs_block_group::needs_free_space to runtime flag 01eca70ef8cf btrfs: move out now unused BG from the reclaim list 485ec8f8e1d8 video/aperture: Only remove sysfb on the default vga pci device f83ab817effb fbdev/hyperv-fb: Do not set struct fb_info.apertures e41170d128e6 ARM: dts: nxp/imx6sll: fix wrong property name in usbphy node 3d2d051be161 KVM: arm64: vgic-v4: Make the doorbell request robust w.r.t preemption 402f1d86ea26 drm/amd/display: fix access hdcp_workqueue assert 81e6cf447a2e drm/amd/display: phase3 mst hdcp for multiple displays d90f97cb3821 drm/amd/display: save restore hdcp state when display is unplugged from mst hub 48f0671be281 igc: read before write to SRRCTL register 128c06a34cfe ring-buffer: Do not swap cpu_buffer during resize process 356fe907dfcd Bluetooth: MGMT: Use correct address for memcpy() a1ceb871284f powerpc/kasan: Disable KCOV in KASAN code 6d06cf0f0238 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V 2b248cf8b6db ALSA: hda/realtek: Add quirk for ASUS ROG GA402X c48616e52d5d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P cdd412b528de ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 63e0b5d76d75 ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760 9e79f3e8f129 fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted 1e2205568bb8 fs: ntfs3: Fix possible null-pointer dereferences in mi_read() 4246bbef0442 fs/ntfs3: Enhance sanity check while generating attr_list dd0b3b367c38 drm/amdgpu: Fix potential fence use-after-free v2 3a89f3bfbf53 ceph: try to dump the msgs when decoding fails d92613aa43da Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally 149daab45922 Bluetooth: L2CAP: Fix use-after-free de8677ccf883 watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub) 9040adc38cf6 firewire: net: fix use after free in fwnet_finish_incoming_packet() ef87750caea5 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth acb9038e1d60 thunderbolt: Add Intel Barlow Ridge PCI ID e8a80cf06b4b pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db() a4f71523ed21 gfs2: Fix possible data races in gfs2_show_options() 8277a215c872 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting 31f8efefa2a9 usb: chipidea: imx: don't request QoS for imx8ulp 809625f4419c thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx() b7bd48f0be84 media: platform: mediatek: vpu: fix NULL ptr dereference 28d900836d47 usb: gadget: uvc: queue empty isoc requests if no video buffer is available 49038877f948 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push 54a55c345c3b media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250 c71aa5f1cf96 media: v4l2-mem2mem: add lock to protect parameter num_rdy 6c9317f73b80 led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops bda3f463543f serial: stm32: Ignore return value of uart_remove_one_port() in .remove() 7e4f5c3f01fb cifs: fix session state check in reconnect to avoid use-after-free issue 945f4a7aff84 smb: client: fix warning in cifs_smb3_do_mount() a783230585e5 ALSA: hda/realtek: Add quirks for ROG ALLY CS35l41 audio de840f77f564 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID 055971715ff6 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown() 359ec0952cbb drm/amd/display: Enable dcn314 DPP RCO 5447155001e6 drm/amd/display: Skip DPP DTO update if root clock is gated 5fe7815e784b RDMA/mlx5: Return the firmware result upon destroying QP/RQ fbd9332d32ec drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz 78b25110eb8c drm/amdgpu: install stub fence into potential unused fence pointers 96522cf9c71e iommu/amd: Introduce Disable IRTE Caching Support 83c22663acb6 HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard d7933b92c4ca accel/habanalabs: add pci health check during heartbeat b7a34e30d42f dma-remap: use kvmalloc_array/kvfree for larger dma memory remap 3dd5c90c48bf ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion ff1b4b1e02c3 iopoll: Call cpu_relax() in busy loops b3e662ece02e ASoC: Intel: sof_sdw: Add support for Rex soundwire c01ec45a7c4c ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit 31149bb94f77 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings a7d4d28d2c0b ASoC: amd: vangogh: Add check for acp config flags in vangogh platform 633ac567bd9e drm: rcar-du: remove R-Car H3 ES1.* workarounds 340dba127bbe drm/stm: ltdc: fix late dereference check f934cad91318 ASoC: SOF: amd: Add pci revision id check ea88c6c7819e PCI: tegra194: Fix possible array out of bounds access 5c23d9bd5f5d ASoC: Intel: sof_sdw: add quirk for LNL RVP 3f498ae94c54 ASoC: Intel: sof_sdw: add quirk for MTL RVP ce3288d8d654 drm/amdgpu: fix memory leak in mes self test 9f55d300541c drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1 ab6f446c220d drm/amdgpu: fix calltrace warning in amddrm_buddy_fini caa2d40a0da2 net: phy: at803x: fix the wol setting functions 7dcc894e1518 net: phy: at803x: Use devm_regulator_get_enable_optional() 0d52759710fa net/smc: Fix setsockopt and sysctl to specify same buffer size again 206381cee964 net/smc: replace mutex rmbs_lock and sndbufs_lock with rw_semaphore 0fc3c55a3a4b selftests: forwarding: tc_actions: Use ncat instead of nc 306a5dddfb12 selftests: forwarding: tc_actions: cleanup temporary files when test is aborted f872672edd5e zsmalloc: fix races between modifications of fullness and isolated 802b34e99224 zsmalloc: consolidate zs_pool's migrate_lock and size_class's locks 8a214f88e8ff cpuidle: psci: Move enabling OSI mode after power domains creation ad1fa1a028ee cpuidle: psci: Extend information in log about OSI/PC mode 78721c8f9379 mmc: sdhci-f-sdh30: Replace with sdhci_pltfm
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Bruce Ashfield [Tue, 5 Sep 2023 14:37:09 +0000 (10:37 -0400)]
linux-yocto/6.4: update to v6.4.12
Updating to the latest korg -stable release that comprises
the following commits:
05d8970cca01 Linux 6.4.12 b237550e1f1b net: fix the RTO timer retransmitting skb every 1ms if linear option is enabled 4a3fcfc3b517 af_unix: Fix null-ptr-deref in unix_stream_sendpage(). cdd01bada273 ASoC: SOF: intel: hda: Clean up link DMA for IPC3 during stop c1fc26cc6637 Revert "perf report: Append inlines to non-DWARF callchains" 5b6284759656 drm/amdgpu: keep irq count in amdgpu_irq_disable_all 6ccbdc0a018e drm/amd/pm: skip the RLC stop when S0i3 suspend for SMU v13.0.4/11 04ee31fb4861 drm/amd/display: disable RCO for DCN314 0469cd57d5da ASoC: amd: vangogh: select CONFIG_SND_AMD_ACP_CONFIG 0fbdf79d003c drm/amdgpu/pm: fix throttle_status for other than MP1 11.0.7 11c187026cce drm/amdgpu: skip fence GFX interrupts disable/enable for S0ix 333f1edde0ad drm/amd: flush any delayed gfxoff on suspend entry fcb4a0bd819b drm/i915/sdvo: fix panel_type initialization 19a213d106a1 Revert "Revert "drm/amdgpu/display: change pipe policy for DCN 2.0"" d3ffc25912d6 Revert "drm/edid: Fix csync detailed mode parsing" a79aebe5bb68 drm/qxl: fix UAF on handle creation 5c10ce0d815f mmc: sunplus: Fix error handling in spmmc_drv_probe() 741a951f4192 mmc: sunplus: fix return value check of mmc_add_host() 43a181a53c1a mmc: block: Fix in_flight[issue_type] value error 62507bca734f mmc: wbsd: fix double mmc_free_host() in wbsd_init() cc3fa629bf13 mmc: f-sdh30: fix order of function calls in sdhci_f_sdh30_remove c65a1be58f09 dt-bindings: pinctrl: qcom,sa8775p-tlmm: add gpio function constant ceecb1bcaf7a media: uvcvideo: Fix menu count handling for userspace XU mappings 531c6ed342d9 blk-crypto: dynamically allocate fallback profile 8a33c9e15b7d arm64/ptrace: Ensure that the task sees ZT writes on first use e01af8e26c23 arm64/ptrace: Ensure that SME is set up for target when writing SSVE state 44463c32622f arm64: dts: rockchip: Fix Wifi/Bluetooth on ROCK Pi 4 boards 901ace2effdf virtio-net: Zero max_tx_vq field for VIRTIO_NET_CTRL_MQ_HASH_CONFIG case aa402a3b553b regulator: da9063: better fix null deref with partial DT abcd2a0b4f58 smb: client: fix null auth b8e7ee1d9c6b parisc: Fix CONFIG_TLB_PTLOCK to work with lightweight spinlock checks 7a9fb689c1a1 cifs: Release folio lock on fscache read hit. 8bd9786a1b57 ALSA: usb-audio: Add support for Mythware XA001AU capture and playback interfaces. 375806616f8c serial: 8250: Fix oops for port->pm on uart_change_pm() 258b867f40f0 riscv: uaccess: Return the number of bytes effectively not copied 3f0605239fa2 riscv: correct riscv_insn_is_c_jr() and riscv_insn_is_c_jalr() 761cf8f7a922 riscv: entry: set a0 = -ENOSYS only when syscall != -1 4039f5e9e9d9 ALSA: hda/realtek - Remodified 3k pull low procedure d9a5ad4477d2 soc: aspeed: socinfo: Add kfree for kstrdup 776133d21391 soc: aspeed: uart-routing: Use __sysfs_match_string 7c315e716ba3 pinctrl: qcom: Add intr_target_width field to support increased number of interrupt targets 44f3d2d2ae44 ALSA: hda/realtek: Add quirks for HP G11 Laptops cf2983df94de ASoC: meson: axg-tdm-formatter: fix channel slot allocation 5de8e85b6734 ASoC: rt5665: add missed regulator_bulk_disable f163dc22e339 arm64: dts: imx93: Fix anatop node size 5fb0d35fac3f ASoC: max98363: don't return on success reading revision ID 66f202b1dcb6 ARM: dts: imx: Set default tuning step for imx6sx usdhc fe4d623f2e1b arm64: dts: imx8mm: Drop CSI1 PHY reference clock configuration a1aab731f0c8 ARM: dts: imx: Set default tuning step for imx7d usdhc 969d3e64ebe7 ARM: dts: imx: Adjust dma-apbh node name 506f787bd717 ARM: dts: imx6: phytec: fix RTC interrupt level 0e67e84a2847 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK 4C+ 749e4dbb3c96 arm64: dts: rockchip: Disable HS400 for eMMC on ROCK Pi 4 59de878d1185 arm64: dts: qcom: qrb5165-rb5: fix thermal zone conflict 28b634c9b328 bus: ti-sysc: Flush posted write on enable before reset 24f0d69da35d ice: Block switchdev mode when ADQ is active and vice versa 7d25579fb978 qede: fix firmware halt over suspend and resume e3636862f559 net: do not allow gso_size to be set to GSO_BY_FRAGS 07ec025d7125 sock: Fix misuse of sk_under_memory_pressure() 7575a3f1443c sfc: don't fail probe if MAE/TC setup fails 80b707ac5d03 sfc: don't unregister flow_indr if it was never registered 612b57e85162 sfc: add fallback action-set-lists for TC offload ff4ad046da4e net: dsa: mv88e6xxx: Wait for EEPROM done before HW reset 872feeecd08c drm/nouveau/disp: fix use-after-free in error handling of nouveau_connector_create 9a5d622b54dc net/mlx5e: XDP, Fix fifo overrun on XDP_REDIRECT 8896f8498538 i40e: fix misleading debug logs 62b46d6010f3 iavf: fix FDIR rule fields masks validation 881faff9e548 net: openvswitch: reject negative ifindex 1ac37294f952 team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves 6095d0c396a9 net: phy: broadcom: stub c45 read/write for 54810 8e249f8ffe16 netfilter: nft_dynset: disallow object maps c26cc57f41c6 netfilter: nf_tables: GC transaction race with netns dismantle 3bdf400a1ad1 netfilter: nf_tables: fix GC transaction races with netns and netlink event exit path 6650bebaa564 ipvs: fix racy memcpy in proc_do_sync_threshold c050b4c998f1 netfilter: set default timeout to 3 secs for sctp shutdown send and recv state 156369a702c3 netfilter: nf_tables: don't fail inserts if duplicate has expired 83ff16e449a6 netfilter: nf_tables: deactivate catchall elements in next generation a8f303445a5e netfilter: nf_tables: fix false-positive lockdep splat d410a96e5cb8 accel/qaic: Clean up integer overflow checking in map_user_pages() df45c3e46cdb accel/qaic: Fix slicing memory leak a0d348c61d08 net: veth: Page pool creation error handling for existing pools only 62312e2f6466 octeon_ep: cancel queued works in probe error path 067a5ec70ee1 octeon_ep: cancel ctrl_mbox_task after intr_poll_task 1c5cc171ab10 octeon_ep: cancel tx_timeout_task later in remove sequence 7757c240bf0e octeon_ep: fix timeout value for waiting on mbox response e6cf72c0330c net: macb: In ZynqMP resume always configure PS GTR for non-wakeup source 8890f5b665a0 drm/i915/guc/slpc: Restore efficient freq earlier 37e8031e134d drm/panel: simple: Fix AUO G121EAN01 panel timings according to the docs e75311fa503d selftests: mirror_gre_changes: Tighten up the TTL test match 59f3d9198db7 net: phy: fix IRQ-based wake-on-lan over hibernate / power off 2361c766093b net: pcs: Add missing put_device call in miic_create 3c8608fb8d87 virtio-net: set queues after driver_ok c8ce01aad133 xfrm: don't skip free of empty state in acquire policy 757eaa5d7625 xfrm: delete offloaded policy a9020514f175 xfrm: add forgotten nla_policy for XFRMA_MTIMER_THRESH 53df4be4f522 xfrm: add NULL check in xfrm_update_ae_params 78e397a43e1c ip_vti: fix potential slab-use-after-free in decode_session6 c070688bfbe7 ip6_vti: fix slab-use-after-free in decode_session6 86f15300a226 xfrm: fix slab-use-after-free in decode_session6 21a3a70cf3ea xfrm: Silence warnings triggerable by bad packets 6d1e6152778c net: xfrm: Amend XFRMA_SEC_CTX nla_policy structure 66e1cd1b06c0 net: af_key: fix sadb_x_filter validation 5713c7ca31f5 net: xfrm: Fix xfrm_address_filter OOB read e854497f5acf x86/srso: Correct the mitigation status when SMT is disabled dc4d07ddc4ff x86/retpoline,kprobes: Skip optprobe check for indirect jumps with retpolines and IBT aadb82bb7c65 x86/retpoline,kprobes: Fix position of thunk sections with CONFIG_LTO_CLANG 51fc0a886211 x86/srso: Disable the mitigation on unaffected configurations 1251b96d79fc x86/CPU/AMD: Fix the DIV(0) initial fix attempt 48a558fbe848 x86/retpoline: Don't clobber RFLAGS during srso_safe_ret() 92588f22a2a6 x86/static_call: Fix __static_call_fixup() 37e6d8509c19 objtool/x86: Fixup frame-pointer vs rethunk c70e2efa972b x86/srso: Explain the untraining sequences a bit more 04103096c1c3 x86/cpu/kvm: Provide UNTRAIN_RET_VM 9588fd887886 x86/cpu: Cleanup the untrain mess ee621dddfe0f x86/cpu: Rename srso_(.*)_alias to srso_alias_\1 5c510151d769 x86/cpu: Rename original retbleed methods 4f0d18c28fcb x86/cpu: Clean up SRSO return thunk mess 06bcb3dadce7 x86/alternative: Make custom return thunk unconditional 2d4d8761e314 objtool/x86: Fix SRSO mess 1e7b3334d180 x86/cpu: Fix up srso_safe_ret() and __x86_return_thunk() 7047af224197 x86/cpu: Fix __x86_return_thunk symbol type 385f438b5807 i2c: designware: Handle invalid SMBus block data response length value b2ef640ff40d i2c: designware: Correct length byte validation logic c4b460b5fa92 btrfs: only subtract from len_to_oe_boundary when it is tracking an extent 8add2a9644e4 btrfs: fix replace/scrub failure with metadata_uuid ae81329f7de3 btrfs: fix BUG_ON condition in btrfs_cancel_balance b43a4c99d878 btrfs: fix incorrect splitting in btrfs_drop_extent_map_range 5441532ffc9c btrfs: fix infinite directory reads c5be9bc0dff6 tty: serial: fsl_lpuart: Clear the error flags by writing 1 for lpuart32 platforms f40e70d7f40b tty: n_gsm: fix the UAF caused by race condition in gsm_cleanup_mux 1c37d5101e40 smb3: display network namespace in debug information 98085d20c49c vdpa: Enable strict validation for netlinks ops ea65e8b5e6b1 vdpa: Add max vqp attr to vdpa_nl_policy for nlattr length check ccb533b7070a vdpa: Add queue index attr to vdpa_nl_policy for nlattr length check 645d17e06c50 vdpa: Add features attr to vdpa_nl_policy for nlattr length check 6acb8a453388 powerpc/rtas_flash: allow user copy to flash block cache objects 1ced17e05dc6 media: mtk-jpeg: Set platform driver data earlier 92010480edc9 fbdev: mmp: fix value check in mmphw_probe() cd4ffdf56791 blk-cgroup: hold queue_lock when removing blkg->q_node 3c38774dbaaa i2c: tegra: Fix i2c-tegra DMA config option processing 4c07b591014e i2c: hisi: Only handle the interrupt of the driver's transfer 64d83e2c2fcb i2c: bcm-iproc: Fix bcm_iproc_i2c_isr deadlock issue 4f210ab49736 rust: macros: vtable: fix `HAS_*` redefinition (`gen_const_name`) 6b67a6d2e506 cifs: fix potential oops in cifs_oplock_break 8671f8bdc7c0 vdpa/mlx5: Delete control vq iotlb in destroy_mr only when necessary bfb5564d969e vdpa/mlx5: Fix mr->initialized semantics fa450621efab virtio-vdpa: Fix cpumask memory leak in virtio_vdpa_find_vqs() a44a443dd12d vduse: Use proper spinlock for IRQ injection 2dcb368fe5a8 virtio-mmio: don't break lifecycle of vm_dev 049a8ae7f818 regulator: qcom-rpmh: Fix LDO 12 regulator for PM8550 7569c4294ba6 btrfs: fix use-after-free of new block group that became unused 5d19abcffd84 btrfs: move out now unused BG from the reclaim list 02e52d7daaa3 ring-buffer: Do not swap cpu_buffer during resize process f2b06472be43 Bluetooth: MGMT: Use correct address for memcpy() 3cecad9f4b81 powerpc/kasan: Disable KCOV in KASAN code 3447bfd9d5d1 ALSA: hda/realtek: Add quirk for ASUS ROG GZ301V 6e8d944d9e60 ALSA: hda/realtek: Add quirk for ASUS ROG G614Jx 345fa36353da ALSA: hda/realtek: Amend G634 quirk to enable rear speakers cd7bee74ed63 ALSA: hda/realtek: Add quirk for ASUS ROG GA402X 485cbcb5089d ALSA: hda/realtek: Add quirk for ASUS ROG GX650P b32e40379e5b ALSA: hda: fix a possible null-pointer dereference due to data race in snd_hdac_regmap_sync() 472b6955ec2c ALSA: hda/realtek: Add quirks for Unis H3C Desktop B760 & Q760 ec904a70e02a fs/ntfs3: Alternative boot if primary boot is corrupted 209b0468acea fs/ntfs3: Mark ntfs dirty when on-disk struct is corrupted c5d39f001526 fs: ntfs3: Fix possible null-pointer dereferences in mi_read() 1474098b590a fs/ntfs3: Return error for inconsistent extended attributes 64fab8bce523 fs/ntfs3: Enhance sanity check while generating attr_list f5db29ce2502 drm/amdgpu: Fix potential fence use-after-free v2 6eb77ac68f7a ceph: try to dump the msgs when decoding fails c68268e1ba8a Bluetooth: btusb: Add MT7922 bluetooth ID for the Asus Ally 255be6815029 Bluetooth: L2CAP: Fix use-after-free 552a15a0b4dd watchdog: sp5100_tco: support Hygon FCH/SCH (Server Controller Hub) 9860921ab452 firewire: net: fix use after free in fwnet_finish_incoming_packet() 3ab42eba15a1 thunderbolt: Limit Intel Barlow Ridge USB3 bandwidth 9f1bd1392336 thunderbolt: Add Intel Barlow Ridge PCI ID fd53a1f28fab pcmcia: rsrc_nonstatic: Fix memory leak in nonstatic_release_resource_db() 42077d4de49e gfs2: Fix possible data races in gfs2_show_options() d7b9e07ed765 usb: chipidea: imx: add missing USB PHY DPDM wakeup setting 97ce5c4e7e5e usb: chipidea: imx: turn off vbus comparator when suspend 15494054b51f usb: chipidea: imx: don't request QoS for imx8ulp 000dd3a768e9 xhci: get rid of XHCI_PLAT quirk that used to prevent MSI setup 84ee48939551 thunderbolt: Read retimer NVM authentication status prior tb_retimer_set_inbound_sbtx() 4d299e6e0ac3 media: platform: mediatek: vpu: fix NULL ptr dereference 61c7abd743b0 usb: gadget: uvc: queue empty isoc requests if no video buffer is available e20a23b34245 usb: gadget: u_serial: Avoid spinlock recursion in __gs_console_push 0d353e6cd313 media: camss: set VFE bpl_alignment to 16 for sdm845 and sm8250 e01ea1c4191e media: v4l2-mem2mem: add lock to protect parameter num_rdy 09b490f3bb2a led: qcom-lpg: Fix resource leaks in for_each_available_child_of_node() loops 9eb0bd1eeaac serial: stm32: Ignore return value of uart_remove_one_port() in .remove() 759ffc164d95 cifs: fix session state check in reconnect to avoid use-after-free issue eb79f8dfba34 smb: client: fix warning in cifs_smb3_do_mount() c4f7f31b3a0e Revert "[PATCH] uml: export symbols added by GCC hardened" 2356f03d50c1 HID: intel-ish-hid: ipc: Add Arrow Lake PCI device ID 12f415a07490 ASoC: SOF: core: Free the firmware trace before calling snd_sof_shutdown() 49698f5f3c3e drm/amd/display: Enable dcn314 DPP RCO 49d5f97be648 drm/amd/display: Skip DPP DTO update if root clock is gated 48c9a6f964a0 RDMA/bnxt_re: consider timeout of destroy ah as success. 04704c201bb0 RDMA/mlx5: Return the firmware result upon destroying QP/RQ a3a96bf843c3 drm/amdgpu: unmap and remove csa_va properly 8fd4d6d3619a drm/amd/display: Apply 60us prefetch for DCFCLK <= 300Mhz dcfd5a3ecf91 drm/amd/display: Remove v_startup workaround for dcn3+ aa9e9ba5748c drm/amdgpu: install stub fence into potential unused fence pointers f03bcd68082f iommu/amd: Introduce Disable IRTE Caching Support 45c5f38073ef HID: logitech-hidpp: Add USB and Bluetooth IDs for the Logitech G915 TKL Keyboard cfe5e5d87e93 HID: i2c-hid: goodix: Add support for "goodix,no-reset-during-suspend" property b5f4d1915090 dt-bindings: input: goodix: Add "goodix,no-reset-during-suspend" property 973e0890e526 accel/habanalabs: fix mem leak in capture user mappings 7f59afa93ffc accel/habanalabs: add pci health check during heartbeat 4503b78fe6cd dma-remap: use kvmalloc_array/kvfree for larger dma memory remap aa09a767b3ae ASoC: SOF: Intel: fix SoundWire/HDaudio mutual exclusion 848149e899c3 iopoll: Call cpu_relax() in busy loops b1079090c9c2 ASoC: Intel: sof_sdw: Add support for Rex soundwire 09c98d0de748 ASoC: Intel: sof_sdw: add quick for Dell SKU 0BDA 6fc290c768fc ASoC: Intel: sof_sdw_rt_sdca_jack_common: test SOF_JACK_JDSRC in _exit a2394961ca96 ARM: dts: imx6dl: prtrvt, prtvt7, prti6q, prtwd2: fix USB related warnings 9376002694e3 RDMA/mana_ib: Use v2 version of cfg_rx_steer_req to enable RX coalescing 1260703fbc87 ASoC: amd: vangogh: Add check for acp config flags in vangogh platform c212c2b01db2 drm: rcar-du: remove R-Car H3 ES1.* workarounds a6e0079b14f0 arm64: dts: qcom: ipq5332: add QFPROM node 04fe3b825282 drm/stm: ltdc: fix late dereference check 7235fb8db5e7 ASoC: SOF: amd: Add pci revision id check a740b0c82f16 ASoC: cs35l56: Move DSP part string generation so that it is done only once de8d025da18e PCI: tegra194: Fix possible array out of bounds access 2bb7ffec12b6 ASoC: Intel: sof_sdw: add quirk for LNL RVP 0755560e39ad ASoC: Intel: sof_sdw: add quirk for MTL RVP f15682b9d366 Revert "drm/amd/display: disable SubVP + DRR to prevent underflow" 8d8c96efcec9 drm/amdgpu: fix memory leak in mes self test c3deb091398e drm/amdgpu: Fix integer overflow in amdgpu_cs_pass1 756d674117f5 drm/amdgpu: fix calltrace warning in amddrm_buddy_fini 4bea16716950 drm/scheduler: set entity to NULL in drm_sched_entity_pop_job() dd2e5d3f806b drm/amd/display: Update DTBCLK for DCN32 86fd1f1ec4dd net: phy: at803x: fix the wol setting functions b129b7537a56 net: phy: at803x: Use devm_regulator_get_enable_optional() 0ba71114c3af crypto, cifs: fix error handling in extract_iter_to_sg()
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Thu, 24 Aug 2023 15:41:20 +0000 (16:41 +0100)]
qemu: Upgrade 8.0.4 -> 8.1.0
This upgrade isn't straighforward as upstream made changes. A pyenv
is now needed containing meson. This doesn't work for us for reasons
as yet unclear however it does mean we need python3native inherited
for that to stand a chance of working as otherwise host system
dependencies may be missing. For now, allow meson to work from our
sysroot via a patch. Our meson is always deterministic anyway so
we don't need their help for that.
The submodules approach used previously has changed, switch the options
for new ones to disable downloads and docs.
Some of the images binaries shipped for s390 show QA warnings for
relocations in code sections. Drop those binaries to avoid the QA
warnings since we don't need them anyway.
Drop a backported patch and refresh another.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Kai Kang [Tue, 5 Sep 2023 02:02:09 +0000 (10:02 +0800)]
webkitgtk: fix build failure with DEBUG_BUILD enabled
It fails to compile webkitgtk when debug build enabled:
| /path_to/tmp/work/core2-64-poky-linux/webkitgtk/2.40.5/webkitgtk-2.40.5/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1:
error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)':
function not considered for inlining
| 76 | pas_allocation_result_identity(pas_allocation_result result)
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Add a cmake variable WEBKIT_NO_INLINE_HINTS to disable gcc function
attribute `always_inline` when debug build is enabled.
And adjust indent as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Richard Purdie [Mon, 4 Sep 2023 16:47:12 +0000 (17:47 +0100)]
python3-numpy: Attempt to fix reproducibility issue
We've seen reproducibility failures where it appears an extra -O3 compiler flag ends
up in the multiarray library compilation. This can only really have come through
extra_info for BLASS support since it only affects just this library. Rather than
try and track down exactly where this came from in a rabbit warren of code, just
disable this since we don't have any of the dependencies anyway.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Benjamin Bara [Mon, 4 Sep 2023 08:49:06 +0000 (10:49 +0200)]
ffmpeg: avoid neon on unsupported machines
Disable neon if the machine does not support it.
Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Benjamin Bara [Mon, 4 Sep 2023 08:48:27 +0000 (10:48 +0200)]
nettle: avoid neon on unsupported machines
Disable neon if the machine does not support it. --enable-fat also
includes the neon assembler code, therefore also disable it.
Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Benjamin Bara [Mon, 4 Sep 2023 08:04:19 +0000 (10:04 +0200)]
pixman: avoid neon on unsupported machines
Disable neon if the machine does not support it.
Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Peter Marko [Tue, 1 Aug 2023 06:18:49 +0000 (08:18 +0200)]
gcc-runtime: remove bashism
Debian 12 no longer supports replacing dash with bash as default shell.
Therefore to achieve compatibility with Debian 12, all bashisms need
to be removed.
Shell comparison via == gives an error with dash and thus the condition
is always false.
Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Wang Mingyu [Thu, 31 Aug 2023 02:51:53 +0000 (10:51 +0800)]
python3-wheel: upgrade 0.41.1 -> 0.41.2
Changelog:
============
-Fixed platform tag detection for GraalPy and 32-bit python running on an
aarch64 kernel
-Fixed wheel tags to not list directories in RECORD files
-Fixed ABI tag generation for GraalPy
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:45:41 +0000 (10:45 +0800)]
python3-hypothesis: upgrade 6.82.5 -> 6.82.7
Changelog:
=========
- updates our autoformatting tools, improving our code style without any API changes.
- enables and fixes many more of ruff‘s lint rules.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:55:07 +0000 (10:55 +0800)]
zlib: upgrade 1.2.13 -> 1.3
Changelog:
============
- Remove K&R function definitions and zlib2ansi
- Fix bug in deflateBound() for level 0 and memLevel 9
- Fix bug when gzungetc() is used immediately after gzopen()
- Fix bug when using gzflush() with a very small buffer
- Fix crash when gzsetparams() attempted for transparent write
- Fix test/example.c to work with FORCE_STORED
- Rewrite of zran in examples (see zran.c version history)
- Fix minizip to allow it to open an empty zip file
- Fix reading disk number start on zip64 files in minizip
- Fix logic error in minizip argument processing
- Add minizip testing to Makefile
- Read multiple bytes instead of byte-by-byte in minizip unzip.c
- Add memory sanitizer to configure (--memory)
- Various portability improvements
- Various documentation improvements
- Various spelling and typo corrections
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:54:40 +0000 (10:54 +0800)]
xz: upgrade 5.4.3 -> 5.4.4
Changelog:
===========
* liblzma and xzdec can now build against WASI SDK when threading
support is disabled. xz and tests don't build yet.
* CMake:
- Fixed a bug preventing other projects from including liblzma
multiple times using find_package().
- Don't create broken symlinks in Cygwin and MSYS2 unless
supported by the environment. This prevented building for the
default MSYS2 environment. The problem was introduced in
xz 5.4.0.
* Documentation:
- Small improvements to man pages.
- Small improvements and typo fixes for liblzma API
documentation.
* Tests:
- Added a new section to INSTALL to describe basic test usage
and address recent questions about building the tests when
cross compiling.
- Small fixes and improvements to the tests.
* Translations:
- Fixed a mistake that caused one of the error messages to not
be translated. This only affected versions 5.4.2 and 5.4.3.
- Updated the Chinese (simplified), Croatian, Esperanto, German,
Korean, Polish, Romanian, Spanish, Swedish, Ukrainian, and
Vietnamese translations.
- Updated the German, Korean, Romanian, and Ukrainian man page
translations.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:54:13 +0000 (10:54 +0800)]
sysklogd: upgrade 2.5.0 -> 2.5.2
Changelog:
- Issue #67: restore support for reading kernel logs from '/proc/kmsg',
regression introduced in v2.4.0, issue #48.
- Issue #37: improved accuracy of the MARK timer, optional, default: 20
minutes. Generates log messages to files, which have had no activity
within the MARK interval. Was off by up to 'interval / 2' minutes.
It may now be off by up to '1 / 2' minutes, i.e.g, 30 seconds.
- Issue #64: sub-second faking of kernel timestamps was always zero
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:53:45 +0000 (10:53 +0800)]
sqlite3: upgrade 3.42.0 -> 3.43.0
Changelog:
==========
-Add support for Contentless-Delete FTS5 Indexes.
-Enhancements to the date and time functions:
-Added the octet_length(X) SQL function.
-Added the sqlite3_stmt_explain() API.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:47:06 +0000 (10:47 +0800)]
python3-setuptools: upgrade 68.1.0 -> 68.1.2
0001-conditionally-do-not-fetch-code-by-easy_install.patch
refreshed for new version.
Changelog:
-Fix editable install finder handling of nested packages, by only handling 1
level of nesting and relying on importlib.machinery to find the remaining
modules based on the parent package path.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:42:00 +0000 (10:42 +0800)]
pkgconf: upgrade 1.9.5 -> 2.0.2
Changelog:
===========
* Fix long-standing bug where package identifiers for "uninstalled"
packages incorrectly included the "-uninstalled" suffix.
* The behavior of --modversion was largely reverted back to the traditional
pkg-config behavior, but still operates on a solved dependency graph.
* A new flag, --verbose, has been added.
* When flattening the dependency graph, retain the latest seen edges
rather than the earliest.
* Fix a long-standing bug where the dependency resolution queue was
evaluated in reverse. This bug masked the aforementioned dependency
flattening bug in many cases.
* Fix handling of --with-path, which was appending paths to the search
list rather than prepending them as intended.
* Error when --modversion is requested with more than one package, as
the output is ambiguous.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:38:13 +0000 (10:38 +0800)]
python3: upgrade 3.11.4 -> 3.11.5
Changelog:
============
-gh-104432: Fix potential unaligned memory access on C APIs involving returned
sequences of char * pointers within the grp and socket modules. These were
revealed using a -fsaniziter=alignment build on ARM macOS.
-gh-77377: Ensure that multiprocessing synchronization objects created in a fork
context are not sent to a different process created in a spawn context.
This changes a segfault into an actionable RuntimeError in the parent process.
-gh-106092: Fix a segmentation fault caused by a use-after-free bug in frame_dealloc when the trashcan delays the deallocation of a PyFrameObject.
-gh-106719: No longer suppress arbitrary errors in the __annotations__ getter and setter in the type and module types.
-gh-106723: Propagate frozen_modules to multiprocessing spawned process interpreters.
-gh-105979: Fix crash in _imp.get_frozen_object() due to improper exception handling.
-gh-105840: Fix possible crashes when specializing function calls with too many __defaults__.
-gh-105588: Fix an issue that could result in crashes when compiling malformed ast nodes.
-gh-105375: Fix bugs in the builtins module where exceptions could end up being overwritten.
-gh-105375: Fix bug in the compiler where an exception could end up being overwritten.
-gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() where an exception could end up being overwritten.
-gh-105235: Prevent out-of-bounds memory access during mmap.find() calls.
--gh-101006: Improve error handling when read marshal data.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:37:36 +0000 (10:37 +0800)]
neard: upgrade 0.18 -> 0.19
Changelog:
===========
Fixed missing DBus org.neard.se.conf.
Sync Linux kernel UAPI nfc.h header with newer kernel.
NFC tag: Implement readout of tag UID via DBus interface.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:37:03 +0000 (10:37 +0800)]
mpfr: upgrade 4.2.0 -> 4.2.1
Changelog:
===========
- Bug fixes (see <https://www.mpfr.org/mpfr-4.2.0/#fixed> and/or the
ChangeLog file).
- Improved MPFR manual.
- Configure tests: replaced the test of the link with GMP, in order to
avoid the use of a function without a prototype (Autoconf issue), as
this is obsolescent in ISO C. The new test should be more robust.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:36:52 +0000 (10:36 +0800)]
mc: upgrade 4.8.29 -> 4.8.30
0001-mc-replace-perl-w-with-use-warnings.patch
removed since it's included in 4.8.30
Changelog:
==========
- Core
--------
* Support PCRE2 as search engine (via ----with-search-engine=pcre2) (#4450)
* Implement panelization buffers for both file panels (#4370)
- VFS
-------
* tar: support extended headers (including long file names and sparse files) (#1952, #2201)
* extfs helpers: replace "perl -w" with "use warnings" (MidnightCommander/mc#174)
* extfs/patchfs: be more specific in error message (#4485)
- Editor
---------
* Add syntax highlighting:
- Jenkinsfiles (#4469)
- B language (#4470)
* Improve syntax highlighting:
- ECMAScript (MidnightCommander/mc#172)
- ECMAScript in TypeScript (MidnightCommander/mc#172)
- use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) (MidnightCommander/mc#85)
- Fixes
----------
* Usage of 'sed' in build system/makefiles is not portable (#4459, #4466)
* Unportable '$<' in Makefiles (#4460)
* FTBFS if ncurses used without --with-ncurses-includes= configure parameter (#4462)
* Ncurses library is duplicated in MCLIBS (#4463, #4465)
* FTBFS without ext2fs attributes support (#4464)
* Wrong sort order after swapping panels (#4432)
* Incorrect time delimiter in the copy/move progress window (#4437)
* Incorrect redraw of overlapped file panels (#4408)
* Subshell/Command line prompt is empty/missing (#3121)
* Find file: relative ignore directory is applied to the start search directory (#4235)
* Diff viewer: options are not applied on second run (#4486)
* mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434)
* mc.ext.ini: .md files are not recognized as Markdown ones by extension (#4444)
* mcedit: off-by-one error in paragraph formatting (#4446)
* ftp: incomplete file listing: block and character devices, pipes, sockets are missed (#4472)
* Various typos in the source code (MidnightCommander/mc#177, MidnightCommander/mc#178)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:34:18 +0000 (10:34 +0800)]
libsecret: upgrade 0.20.5 -> 0.21.0
Changelog:
===========
* Unlock the keyring before getting secret attributes [!105]
* file-backend: avoid deadlock when portal op is canceled [!118, !120]
* Properly chain-up GTasks around GDBusProxy::init_async [!106]
* Fix nullable in secret_collection_for_alias_* [!110]
* Fix finish function for searchv [!112]
* secret-paths: Fix a little memory leak [!109]
* Stop using GSlice [!116]
* docs: port to gi-docgen [!101]
* docs: fix example in usage docs [!117]
* Several CI fixes [!111, !114]
* Updated translations
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:33:48 +0000 (10:33 +0800)]
librepo: upgrade 1.15.1 -> 1.15.2
Changelog:
=============
Fixes and optimizations in header files
Fix lr_gpg_list_keys function when keys are empty
Update PGP test vectors
Fix CMake warnings
Bump glib version
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:33:18 +0000 (10:33 +0800)]
libgit2: upgrade 1.7.0 -> 1.7.1
Changelog:
===========
Bug fixes
-----------
proxy: Return an error for invalid proxy URLs instead of crashing.
ssh: fix known_hosts leak in _git_ssh_setup_conn
repository: make cleanup safe for re-use with grafts
fix: Add missing include for oidarray.
Revert "CMake: Search for ssh2 instead of libssh2."
Compatibility improvements
--------------------------
stransport: macOS: replace errSSLNetworkTimeout, with hard-coded value
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:28:09 +0000 (10:28 +0800)]
bluez5: upgrade 5.68 -> 5.69
fix-check-ell-path.patch
removed since it's included in 5.69
Changelog:
=========
Fix issue with BAP enabling state correctly when resuming.
Fix issue with detaching source ASEs only after Stop Ready.
Fix issue with handling VCP audio location and descriptor.
Fix issue with generating IRK for adapter with privacy enabled.
Add support for BAP broadcast sink.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Wang Mingyu [Thu, 31 Aug 2023 02:28:00 +0000 (10:28 +0800)]
bind: upgrade 9.18.17 -> 9.18.18
Changelog:
============
Deprecate the 'dialup' and 'heartbeat-interval' options.
Ignore 'max-zone-ttl' on 'dnssec-policy insecure'.
Return REFUSED to GSS-API TKEY requests if GSS-API support is not configured.
Mark a primary server as temporarily unreachable if the TCP connection attempt times out.
Don't process detach and close netmgr events when the netmgr has been paused.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Chen Qi [Wed, 30 Aug 2023 08:21:58 +0000 (01:21 -0700)]
oe-depends-dot: improve '-w' behavior
The '-w' option is not giving very helpful information. For example,
if we add 'spice' to IMAGE_INSTALL, bitbake -g core-image-minimal,
and then run `oe-depends-dot -k nspr -w task-depends.dot', the result is:
Ryan Eatmon [Thu, 31 Aug 2023 19:26:29 +0000 (14:26 -0500)]
kernel.bbclass: Add force flag to rm calls
The latest 6.5 kernels do not appear to create the source file in
${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/source so the
recipe errors out when trying to remove it. Simple fix is to add the
-f (force) flag to the call.
Signed-off-by: Ryan Eatmon <reatmon@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Jaeyoon Jung [Wed, 30 Aug 2023 12:38:56 +0000 (21:38 +0900)]
cml1: Fix KCONFIG_CONFIG_COMMAND not conveyed fully in do_menuconfig
Variable overrides in KCONFIG_CONFIG_COMMAND do not work as expected due
to double quote mismatches. The issue is reproducible in an environment
where gold is the default linker. Below is an example snippet of
run.do_terminal generated by do_menuconfig.
Although LD override is set to bfd correctly, it is not passed to make
and make menuconfig ends up with messages like:
| gold linker is not supported as it is not capable of linking the kernel proper.
| scripts/Kconfig.include:56: Sorry, this linker is not supported.
Signed-off-by: Jaeyoon Jung <jaeyoon.jung@lge.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Wed, 30 Aug 2023 14:20:17 +0000 (08:20 -0600)]
wic: Add gpt-hybrid partition layout
Add support for formatting a disk with a hybrid MBR & GPT partition
scheme. In this scheme, the primary partitioning method is GPT, but a
valid MBR header is also written than can point to a subset of the GPT
partitions on the disk (any partitions marked with the `--mbr` flag will
be included in this MBR). The primary purpose of this method is to allow
for SoCs that can only find a bootloader in an MBR partition to use GPT
once the bootloader is running. As an example, older versions of the
Raspberry Pi firmware can only parse MBR partitions to find a kernel (or
other bootloader like u-boot), but once those have booted GPT partitions
can be used.
In addition to the partitions annotated with the `--mbr`, a "protective"
GPT partition of type 0xEE is added, as the existence of such a
partition is the indication to tooling that this a hybrid MBR and that
the GPT partition table should be parsed instead.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 31 Aug 2023 10:02:43 +0000 (11:02 +0100)]
glib-networking: use gnutls backend for TLS sockets
As per upstream:
There are hacks in half the tests where this backend doesn't return
the expected error code or doesn't work as expected. I do hope to
enable this backend by default in the future. For now, it's not there
yet.
[RP: Add note to recipe about reasoning] Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Thu, 31 Aug 2023 11:22:48 +0000 (12:22 +0100)]
inetutils: don't guess target paths
inetutils guesses a lot of target paths in cross builds, and warns that
some of them are known to be wrong (for example, whether /proc/net/dev
exists is guessed as 'no').
Add a post-configure function to check for these warnings, and pass
--with-path-* as appropriate to set the paths explicitly.
This means we can remove the patch which was setting PATH_PROCNET_DEV,
and the autoconf cache value inetutils_cv_path_login.
The downside is that these --with-path-* options are not real autoconf
options, so the "unknown options" warning is emitted. Losing those is
an acceptable compromise, so disable it.
Musl doesn't implement utmp and has stub defines for _PATH_UTMP but not
_PATH_UTMPX, so we need to set the X variants explicitly.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chen Qi [Tue, 29 Aug 2023 07:33:30 +0000 (15:33 +0800)]
uninative.bbclass: sync to use UNINATIVE_STAGING_DIR
All other places in this bbclass are using ${UNINATIVE_STAGING_DIR}-uninative,
we should sync to use that too, although UNINATIVE_STAGING_DIR's default
value is STAGING_DIR.
Khem Raj [Sun, 27 Aug 2023 21:10:06 +0000 (14:10 -0700)]
core-image-ptest: Define a fallback for SUMMARY field
Fixes errors like below seen with bitbake core-image-ptest-fast
WARNING: core-image-ptest-apr-util-1.0-r0 do_recipe_qa: QA Issue: Recipe core-image-ptest-apr-util in /mnt/b/yoe/master/sources/poky/meta/recipes-core/images/core-image-ptest.bb does not contain a SUMMARY. Please a
dd an entry. [missing-metadata]
Khem Raj [Sun, 27 Aug 2023 00:27:46 +0000 (17:27 -0700)]
python3: Increase default thread stack size on musl
default stack size for threads is approx 140k on musl which is fine in
most cases but some of python apps e.g. python3-lz4 bindings run into
thread stack size overflow. Increase the default size to 2M on musl,
glibc defaults to 8M, so we are good there.
This default stack size change is limited to interpreter and stdlib
modules only, thats why CFLAGS_NODIST instead of CFLAGS
Stéphane Veyret [Sat, 26 Aug 2023 22:23:07 +0000 (00:23 +0200)]
nfs-utils: Add needed library to client
The nfs-utils recipe creates a nfs-utils-client package, which can be
used if we need to install only the client side of nfs-utils.
Unfortunately, rpc.idmapd is part of this package, and requires the
dynamic library libnfsidmap.so, which is included in the main package
nfs-utils. Therefore, nfs-utils-client has a dependency on nfs-utils, so
the server is installed, and try to be started, even on system where the
appropriate modules are not present, which causes errors.
This patch adds the needed library to the nfs-utils-client package, so
that it is now complete and does not require nfs-utils anymore.
Alberto Planas [Fri, 18 Aug 2023 09:30:56 +0000 (11:30 +0200)]
bitbake.conf: add bunzip2 in HOSTTOOLS
rpm2cpio.sh can make calls to bunzip2 to uncompress the RPM payload that
conform the cpio file.
bzip2 is already part of HOSTTOOLS, as a link to the system installed
bzip2.
This patch add bunzip2 in HOSTOOLS list as a non-optional binary, so is
available to rpm2cpio.sh when it is required.
The currect rpm2cpio.sh has other calls to gunzip (present in HOSTOOLS),
xzcat (missing), unlzma (missing) and unzstd (present in HOSTTOOLS since bff58d337890e804d33d7decbaa46065a4d3bba4)
Adding the missing ones will not add any new host dependency as xz-utils
is already listed as a requirement.
Signed-off-by: Alberto Planas <aplanas@suse.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Joshua Watt [Fri, 18 Aug 2023 16:32:44 +0000 (10:32 -0600)]
classes/image_types: Add vfat image type
Adds support for creating FAT formatted file system images (useful for
boot partitions on some SoCs).
Note that FAT partitions are limited in what they can represent (no
symlinks or device files), so they can't really be used for general
purpose root file systems. As such, they are skipped when testing for
that purpose.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Sun, 27 Aug 2023 19:57:44 +0000 (20:57 +0100)]
libtraceevent: build with Meson
After what I presume is the recent kernel upgrade, perf started to fail
to configure. This was actually due to libtraceevent racing during its
build and failing to put one of the .o files into the .so (reminder:
Make is terrible). This doesn't cause the libtraceevent build to fail so
once the broken .so is in sstate, it causes all future perf builds to
fail.
Instead of rewriting the Makefile rules to fix this race it's easier to
switch to Meson which doesn't have this sort of problem. However the
Meson support is pretty new and has some rough edges, so we need a patch
to make it do the right thing.
I will submit the libtraceevent fixes upstream shortly.
[ YOCTO #15201 ]
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Markus Volk [Thu, 24 Aug 2023 09:21:40 +0000 (11:21 +0200)]
qemu: fix libudev packageconfig for systemd images
eudev is needed to provide libudev when not using systemd,
but including eudev breaks things for systemd. We can't
include eudev here since systemd provides libudev itself.
Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Julien Stephan [Thu, 24 Aug 2023 07:34:58 +0000 (09:34 +0200)]
vulkan-samples: convert debugfix.patch to git format patch
devtool modify on vulkan-samples fails to apply the debugfix.patch
because it is not in one of git's known formats.
Here is the error:
ERROR: Applying patch 'debugfix.patch' on target directory '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-38uz7jyq/workdir/git'
CmdError("sh -c 'git add -f -A .'", 0, 'stdout:
stderr: fatal: not a git repository (or any of the parent directories):
.git
')
Also, rename debugfix.patch to something more meaningfull
Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Julien Stephan [Thu, 24 Aug 2023 07:34:57 +0000 (09:34 +0200)]
patch.py: use --absolute-git-dir instead of --show-toplevel to retrieve gitdir
[YOCTO #14141]
Currently the gitdir is manually constructed using `git
rev-parse --show-toplevel` and appending `.git`. This is most of the time
correct but not always: `.git` can be a file with the following content:
gitdir: <some_folder>
This is the case for submodules, so when using devtool modify on a recipe
using submodules *and* patching files inside one of the submodules, do_patch
fails with the following error:
ERROR: Error executing a python function in exec_func_python() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:patch_do_patch(d)
0003:
File: '<..>/poky/meta/classes-global/patch.bbclass', lineno: 157, function: patch_do_patch
0153: except Exception as exc:
0154: bb.utils.remove(process_tmpdir, True)
0155: bb.fatal("Importing patch '%s' with striplevel '%s'\n%s" % (parm['patchname'], parm['striplevel'], repr(exc).replace("\\n", "\n")))
0156: try:
*** 0157: resolver.Resolve()
0158: except bb.BBHandledException as e:
0159: bb.utils.remove(process_tmpdir, True)
0160: bb.fatal("Applying patch '%s' on target directory '%s'\n%s" % (parm['patchname'], patchdir, repr(e).replace("\\n", "\n")))
0161:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 769, function: Resolve
0765: def Resolve(self):
0766: olddir = os.path.abspath(os.curdir)
0767: os.chdir(self.patchset.dir)
0768: try:
*** 0769: self.patchset.Push()
0770: except Exception:
0771: import sys
0772: os.chdir(olddir)
0773: raise
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 274, function: Push
0270: else:
0271: next = 0
0272:
0273: bb.note("applying patch %s" % self.patches[next])
*** 0274: ret = self._applypatch(self.patches[next], force)
0275:
0276: self._current = next
0277: return ret
0278:
File: '<..>/poky/meta/lib/oe/patch.py', lineno: 556, function: _applypatch
0552: if os.path.lexists(hooks_dir_backup):
0553: raise Exception("Git hooks backup directory already exists: %s" % hooks_dir_backup)
0554: if os.path.lexists(hooks_dir):
0555: shutil.move(hooks_dir, hooks_dir_backup)
*** 0556: os.mkdir(hooks_dir)
0557: commithook = os.path.join(hooks_dir, 'commit-msg')
0558: applyhook = os.path.join(hooks_dir, 'applypatch-msg')
0559: with open(commithook, 'w') as f:
0560: # NOTE: the formatting here is significant; if you change it you'll also need to
Exception: NotADirectoryError: [Errno 20] Not a directory: '<..>/build/tmp/work/core2-64-poky-linux/vulkan-samples/git/devtooltmp-n87_zx1i/workdir/git/third_party/spdlog/.git/hooks'
Using `git rev-parse --absolute-git-dir` instead of `git rev-parse
--show-toplevel` ensure we get the correct gitdir
Signed-off-by: Julien Stephan <jstephan@baylibre.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>