FreeBSD/src cb90757sys/kern vfs_aio.c

aio: fix alignment of struct (o)aiocb32 on non-amd64

Only i386 has a four-byte alignment for uint64_t, others have
eight-byte alignment.  This causes the structure to mismatch
on armv7 binaries running under aarch64, breaking the aio interface.

Approved by:    re (cperciva)
Fixes:          3858a1f4f501d00000447309aae14029f8133946
Approved by:    markj (mentor)
Reported by:    Mark Millard <marklmi26-fbsd at yahoo.com>
Discussed with: jrtc27
PR:             290962
MFC after:      immediately (for 15.0)

(cherry picked from commit ea26fd52a949116d03f59066d364eee2af6c9f51)
DeltaFile
+8-0sys/kern/vfs_aio.c
+8-01 files

FreeBSD/src 5431dafsys/dev/usb/wlan if_mtw.c

mtw: convert to new net80211 crypto key API

* constify mtw_write_region_1()'s data field
* convert to use ieee80211_crypto_get_*()
* .. note that rx/tx mic data routines are explicitly being called,
  as this NIC is doing TKIP + MIC offload

Differential Revision:  https://reviews.freebsd.org/D53704
Reviewed by:    bz
DeltaFile
+16-8sys/dev/usb/wlan/if_mtw.c
+16-81 files

FreeBSD/src 333eb58sys/dev/rtwn if_rtwn_cam.c

rtwn: migrate to new ieee80211 key data accessors

Migrate to the ieee80211_crypto_key_*() routines.
Should be no functional change.

Locally tested:

* RTL8821AU, STA mode

Differential Revision:  https://reviews.freebsd.org/D52712
DeltaFile
+12-4sys/dev/rtwn/if_rtwn_cam.c
+12-41 files

LLVM/project f42fcfallvm/docs LangRef.rst, llvm/include/llvm/Transforms/Utils LoopUtils.h

Rethink fix: Don't convert 0 to 1.
DeltaFile
+84-80llvm/test/Transforms/LoopVectorize/AArch64/check-prof-info.ll
+17-38llvm/lib/Transforms/Utils/LoopUtils.cpp
+34-0llvm/test/Transforms/LoopVectorize/vectorize-zero-estimated-trip-count.ll
+6-21llvm/include/llvm/Transforms/Utils/LoopUtils.h
+17-9llvm/docs/LangRef.rst
+14-12llvm/test/Transforms/LoopVectorize/branch-weights.ll
+172-1607 files not shown
+197-18713 files

FreeBSD/ports e69db49mail/roundcube-automatic_addressbook Makefile, mail/roundcube-automatic_addressbook/files patch-automatic__addressbook.php

mail/roundcube-automatic_addressbook: Silence warnings

PR:             288954
Approved by:    Andrej Ebert <andrej at ebert.su>
DeltaFile
+24-0mail/roundcube-automatic_addressbook/files/patch-automatic__addressbook.php
+2-1mail/roundcube-automatic_addressbook/Makefile
+26-12 files

OpenBSD/src XdEQnDRsys/dev/pci/drm/amd/display/amdgpu_dm amdgpu_dm_crtc.c

   drm/amd/display: Fix incorrect return of vblank enable on unconfigured crtc

   From Ivan Lipski
   ab574f883307cab920fd0663c40a416231741983 in linux-6.12.y/6.12.58
   b3656b355b5522cef1b52a7469010009c98156db in mainline linux
VersionDeltaFile
1.13+7-3sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
+7-31 files

OpenBSD/src 8xfuN0Vsys/dev/pci/drm/amd/amdgpu amdgpu_vpe.c

   drm/amd: Check that VPE has reached DPM0 in idle handler

   From Mario Limonciello
   3daad56d20db357e9c5c1b4b09b323141cd546f5 in linux-6.12.y/6.12.58
   ba10f8d92a2c026b1052b4c0fa2cd7538838c965 in mainline linux
VersionDeltaFile
1.2+30-4sys/dev/pci/drm/amd/amdgpu/amdgpu_vpe.c
+30-41 files

OpenBSD/src OdZMjS0sys/dev/pci/drm/scheduler sched_entity.c

   drm/sched: avoid killing parent entity on child SIGKILL

   From David Rosca
   3ec3d47e3a03d5f1fe663edafcf0051cf0460788 in linux-6.12.y/6.12.58
   9e8b3201c7302d5b522ba3535630bed21cc03c27 in mainline linux
VersionDeltaFile
1.14+6-1sys/dev/pci/drm/scheduler/sched_entity.c
+6-11 files

OpenBSD/src 96C4nYwsys/dev/pci/drm/amd/pm/powerplay/smumgr iceland_smumgr.c

   drm/amd/pm/powerplay/smumgr: Fix PCIeBootLinkLevel value on Iceland

   From John Smith
   ba58efa890cc8c9df8e072397ad153f04d06c24b in linux-6.12.y/6.12.58
   501672e3c1576aa9a8364144213c77b98a31a42c in mainline linux
VersionDeltaFile
1.5+1-1sys/dev/pci/drm/amd/pm/powerplay/smumgr/iceland_smumgr.c
+1-11 files

OpenBSD/src hLLpxRYsys/dev/acpi ispi_acpi.c, sys/dev/ic ispi.c ispivar.h

   add ispi driver for Intel LPSS SPI controller

   input from deraadt and miod
VersionDeltaFile
1.1+367-0sys/dev/ic/ispi.c
1.1+158-0sys/dev/pci/ispi_pci.c
1.1+116-0sys/dev/acpi/ispi_acpi.c
1.1+101-0sys/dev/ic/ispivar.h
1.1+48-0sys/dev/pci/lpssreg.h
1.5+4-34sys/dev/pci/com_pci.c
+794-348 files not shown
+828-5614 files

OpenBSD/src 8GFmhxRsys/dev/pci/drm/amd/pm/powerplay/smumgr fiji_smumgr.c

   drm/amd/pm/powerplay/smumgr: Fix PCIeBootLinkLevel value on Fiji

   From John Smith
   6f18f14eb3edf5b89c07bd179ecfdb43a02b4a31 in linux-6.12.y/6.12.58
   07a13f913c291d6ec72ee4fc848d13ecfdc0e705 in mainline linux
VersionDeltaFile
1.4+1-1sys/dev/pci/drm/amd/pm/powerplay/smumgr/fiji_smumgr.c
+1-11 files

OpenBSD/src vAuoU0jsys/dev/pci/drm/amd/pm/swsmu smu_cmn.c

   drm/amd/pm: fix smu table id bound check issue in smu_cmn_update_table()

   From Yang Wang
   3545f3cb517c1440eb7d7c503c71be95ae395574 in linux-6.12.y/6.12.58
   238d468d3ed18a324bb9d8c99f18c665dbac0511 in mainline linux
VersionDeltaFile
1.8+1-1sys/dev/pci/drm/amd/pm/swsmu/smu_cmn.c
+1-11 files

OpenBSD/src lZQ7toKsys/dev/pci/drm/radeon radeon_drv.c

   drm/radeon: Remove calls to drm_put_dev()

   From Daniel Palmer
   2fa41445d8c98f2a65503c373796466496edc0e7 in linux-6.12.y/6.12.58
   745bae76acdd71709773c129a69deca01036250b in mainline linux
VersionDeltaFile
1.21+4-21sys/dev/pci/drm/radeon/radeon_drv.c
+4-211 files

OpenBSD/src HxCHRBHsys/dev/pci/drm/radeon radeon_kms.c

   drm/radeon: Do not kfree() devres managed rdev

   From Daniel Palmer
   f7482516002a11317912e29577bbf33cf59a0fb1 in linux-6.12.y/6.12.58
   3328443363a0895fd9c096edfe8ecd372ca9145e in mainline linux
VersionDeltaFile
1.95+0-1sys/dev/pci/drm/radeon/radeon_kms.c
+0-11 files

LLVM/project 182c415llvm/lib/Target/AMDGPU SIRegisterInfo.cpp SIRegisterInfo.h

AMDGPU: Remove getProperlyAlignedRC (#167993)

This is unused.
DeltaFile
+0-22llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+0-5llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+0-272 files

LLVM/project e4e55ecclang/lib/CodeGen BackendUtil.cpp, cross-project-tests/veclib veclib-sincos.c

RuntimeLibcalls: Move VectorLibrary handling into TargetOptions

This fixes the -fveclib flag getting lost on its way to the backend.

Previously this was its own cl::opt with a random boolean. Move the
flag handling into CommandFlags with other backend ABI-ish options,
and have clang directly set it, rather than forcing it to go through
command line parsing.

Prior to de68181d7f, codegen used TargetLibraryInfo to find the vector
function. Clang has special handling for TargetLibraryInfo, where it would
directly construct one with the vector library in the pass pipeline.
RuntimeLibcallsInfo currently is not used as an analysis in codegen, and
needs to know the vector library when constructed.

RuntimeLibraryAnalysis could follow the same trick that TargetLibraryInfo is
using in the future, but a lot more boilerplate changes are needed to thread
that analysis through codegen. Ideally this would come from an IR module flag,
and nothing would be in TargetOptions. For now, it's better for all of these
sorts of controls to be consistent.
DeltaFile
+30-29clang/lib/CodeGen/BackendUtil.cpp
+0-34llvm/lib/IR/SystemLibraries.cpp
+24-0llvm/lib/CodeGen/CommandFlags.cpp
+21-0cross-project-tests/veclib/veclib-sincos.c
+9-6llvm/lib/Analysis/TargetLibraryInfo.cpp
+5-3llvm/tools/opt/optdriver.cpp
+89-7212 files not shown
+117-8618 files

LLVM/project e363d62clang/lib/CodeGen BackendUtil.cpp

clang: Pass -vector-library flag when using -fveclib

Really this belongs in an IR module flag.
DeltaFile
+30-0clang/lib/CodeGen/BackendUtil.cpp
+30-01 files

LLVM/project 0b3d5adllvm/lib/Analysis RuntimeLibcallInfo.cpp, llvm/lib/Transforms/Utils DeclareRuntimeLibcalls.cpp

DeclareRuntimeLibcalls: Use RuntimeLibraryAnalysis

Also add boilerplate to have a live instance when running
opt configured from CommandFlags / TargetOptions.
DeltaFile
+17-0llvm/test/Transforms/Util/DeclareRuntimeLibcalls/codegen-opt-flags.ll
+7-3llvm/tools/opt/NewPMDriver.h
+7-1llvm/tools/opt/optdriver.cpp
+5-3llvm/tools/opt/NewPMDriver.cpp
+4-1llvm/lib/Transforms/Utils/DeclareRuntimeLibcalls.cpp
+3-1llvm/lib/Analysis/RuntimeLibcallInfo.cpp
+43-91 files not shown
+44-107 files

NetBSD/src pe2rNLEsys/arch/virt68k/virt68k locore.s machdep.c

   Call bootinfo_startup2() from virt68k_init().
VersionDeltaFile
1.27+6-15sys/arch/virt68k/virt68k/locore.s
1.15+9-4sys/arch/virt68k/virt68k/machdep.c
+15-192 files

LLVM/project 9d6a9b9offload/include device.h

Fix format
DeltaFile
+1-2offload/include/device.h
+1-21 files

LLVM/project b5444acllvm/lib/Target/AMDGPU SIRegisterInfo.cpp SIRegisterInfo.h

AMDGPU: Remove getProperlyAlignedRC

This is unused.
DeltaFile
+0-22llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
+0-5llvm/lib/Target/AMDGPU/SIRegisterInfo.h
+0-272 files

FreeBSD/src 498a4c7sys/kern vfs_aio.c

aio: fix alignment of struct (o)aiocb32 on non-amd64

Only i386 has a four-byte alignment for uint64_t, others have
eight-byte alignment.  This causes the structure to mismatch
on armv7 binaries running under aarch64, breaking the aio interface.

Fixes:          3858a1f4f501d00000447309aae14029f8133946
Approved by:    markj (mentor)
Reported by:    Mark Millard <marklmi26-fbsd at yahoo.com>
Discussed with: jrtc27
PR:             290962
MFC after:      immediately (for 15.0)

(cherry picked from commit f0af21824331648a41b4e5d3323bea9216bcb7e2)
DeltaFile
+8-0sys/kern/vfs_aio.c
+8-01 files

FreeBSD/src ea26fd5sys/kern vfs_aio.c

aio: fix alignment of struct (o)aiocb32 on non-amd64

Only i386 has a four-byte alignment for uint64_t, others have
eight-byte alignment.  This causes the structure to mismatch
on armv7 binaries running under aarch64, breaking the aio interface.

Fixes:          3858a1f4f501d00000447309aae14029f8133946
Approved by:    markj (mentor)
Reported by:    Mark Millard <marklmi26-fbsd at yahoo.com>
Discussed with: jrtc27
PR:             290962
MFC after:      immediately (for 15.0)
DeltaFile
+8-0sys/kern/vfs_aio.c
+8-01 files

HardenedBSD/src f204fb6share/man/man4 hgame.4, sys/dev/cxgbe adapter.h t4_main.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,200-292sys/dev/cxgbe/common/t4_hw.c
+58-32share/man/man4/hgame.4
+29-0tests/sys/kern/unix_passfd_test.c
+9-9sys/kern/uipc_usrreq.c
+11-1sys/dev/cxgbe/adapter.h
+6-3sys/dev/cxgbe/t4_main.c
+1,313-3375 files not shown
+1,327-34211 files

HardenedBSD/src 2a4b2bashare/man/man4 pcic.4 hgame.4, usr.sbin/jail jail.8

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+0-100share/man/man4/pcic.4
+58-32share/man/man4/hgame.4
+24-3usr.sbin/jail/jail.8
+10-14share/man/man4/mx25l.4
+17-6share/man/man4/sbp.4
+3-1share/man/man4/ix.4
+112-1565 files not shown
+120-16111 files

Linux/linux 6da43bbtools/testing/selftests/vfio vfio_dma_mapping_test.c vfio_pci_driver_test.c, tools/testing/selftests/vfio/lib vfio_pci_device.c

Merge tag 'vfio-v6.18-rc6' of https://github.com/awilliam/linux-vfio

Pull VFIO seftest fixes from Alex Williamson:

 - Fix vfio selftests to remove the expectation that the IOMMU supports
   a 64-bit IOVA space.

   These manifest both in the original set of tests introduced this
   development cycle in identity mapping the IOVA to buffer virtual
   address space, as well as the more recent boundary testing.

   Implement facilities for collecting the valid IOVA ranges from the
   backend, implement a simple IOVA allocator, and use the information
   for determining extents (Alex Mastro)

* tag 'vfio-v6.18-rc6' of https://github.com/awilliam/linux-vfio:
  vfio: selftests: replace iova=vaddr with allocated iovas
  vfio: selftests: add iova allocator
  vfio: selftests: fix map limit tests to use last available iova
  vfio: selftests: add iova range query helpers
DeltaFile
+245-1tools/testing/selftests/vfio/lib/vfio_pci_device.c
+17-3tools/testing/selftests/vfio/vfio_dma_mapping_test.c
+18-1tools/testing/selftests/vfio/lib/include/vfio_util.h
+8-4tools/testing/selftests/vfio/vfio_pci_driver_test.c
+288-94 files

HardenedBSD/ports ac75cd0devel/py-ty distinfo Makefile.crates, games/retroarch-assets pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+4-14,116games/retroarch-assets/pkg-plist
+259-253net/keycloak/pkg-plist
+189-203x11-wm/cosmic-comp/distinfo
+113-115devel/py-ty/distinfo
+92-99x11-wm/cosmic-comp/Makefile.crates
+56-57devel/py-ty/Makefile.crates
+713-14,84347 files not shown
+865-15,07353 files

LLVM/project cfad41cclang/include/clang/CIR MissingFeatures.h, clang/lib/CIR/CodeGen CIRGenFunction.cpp

[CIR] Upstream l-value emission for ExprWithCleanups (#167938)

This adds the necessary handler for emitting an l-value for an
ExprWithCleanups expression.
DeltaFile
+86-0clang/test/CIR/CodeGen/temporary-materialization.cpp
+7-0clang/lib/CIR/CodeGen/CIRGenFunction.cpp
+1-0clang/include/clang/CIR/MissingFeatures.h
+94-03 files

FreeBSD/src f0af218sys/kern vfs_aio.c

aio: fix alignment of struct (o)aiocb32 on non-amd64

Only i386 has a four-byte alignment for uint64_t, others have
eight-byte alignment.  This causes the structure to mismatch
on armv7 binaries running under aarch64, breaking the aio interface.

Fixes:          3858a1f4f501d00000447309aae14029f8133946
Approved by:    markj (mentor)
Reported by:    Mark Millard <marklmi26-fbsd at yahoo.com>
Discussed with: jrtc27
PR:             290962
MFC after:      immediately (for 15.0)
DeltaFile
+8-0sys/kern/vfs_aio.c
+8-01 files

Linux/linux 01814e1drivers/hwmon gpd-fan.c

Merge tag 'hwmon-for-v6.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging

Pull hwmon fixes from Guenter Roeck:

 - gpd-fan: Fix compilation error for non-ACPI builds, and initialize EC
   when loading the driver

* tag 'hwmon-for-v6.18-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
  hwmon: (gpd-fan) initialize EC on driver load for Win 4
  hwmon: (gpd-fan) Fix compilation error in non-ACPI builds
DeltaFile
+26-28drivers/hwmon/gpd-fan.c
+26-281 files