FreeBSD/src d583f31tests/sys/kern/tty test_sti.c

tests: Fix build if TIOCSTI is not defined

Some downstream projects (e.g. ElectroBSD) have removed the TIOCSTI

We already have some components (such as mail and tcsh) that build
without TIOCSTI defined.  This is (existing portability support in those
projects.

Simplify things for downstreams by extending this approach to this
additional TIOCSTI user.

Reviewed by:    markj
Differential Revision: https://reviews.freebsd.org/D50614

(cherry picked from commit 52a2b4bc5da21d7a54cb16b9450196244b59b8c0)
(cherry picked from commit b1bb3aa65cc9d720f54dba009565e0d1d0419323)
DeltaFile
+6-0tests/sys/kern/tty/test_sti.c
+6-01 files

LLVM/project 0ed130amlir/lib/Dialect/MemRef/IR MemRefMemorySlot.cpp, mlir/test/Dialect/MemRef mem2reg.mlir

[mlir][memref] Fix mem2reg crash on zero-extent alloca (#216851)

`memref` allows a zero extent, but vector types require strictly
positive ones.
Since #211880, `AllocaOp::getPromotableSlots` builds a `VectorType` from
the
memref shape, so `mlir-opt --mem2reg` asserts on

```mlir
func.func @z() { %a = memref.alloca() : memref<0xf32>  return }
```

Bail out of whole-buffer promotion when the shape contains a zero
extent. The
scalable path needs `*c > 0` rather than `!= 0`, since
`VectorType::verify`
rejects `<= 0`.

Assisted-by: Claude (Anthropic)

AI-assisted, disclosed per the LLVM AI Tool Use Policy.
DeltaFile
+34-0mlir/test/Dialect/MemRef/mem2reg.mlir
+13-6mlir/lib/Dialect/MemRef/IR/MemRefMemorySlot.cpp
+47-62 files

LLVM/project f078d99clang/lib/Driver/ToolChains WebAssembly.cpp, clang/test/Driver wasm-toolchain.c

[WebAssembly] fix: respect -Wl,--no-demangle option (#213878)

Right now, the option is not passed to the wasm-ld.
DeltaFile
+4-0clang/test/Driver/wasm-toolchain.c
+3-0clang/lib/Driver/ToolChains/WebAssembly.cpp
+7-02 files

FreeBSD/ports 0760929dns/bind-tools pkg-plist-devel, dns/bind9-devel Makefile distinfo

dns/bind9-devel: update to 9.21.25

Changes:        https://downloads.isc.org/isc/bind9/9.21.25/doc/arm/html/notes.html#notes-for-bind-9-21-25
DeltaFile
+12-12dns/bind9-devel/files/patch-meson.build
+8-8dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+6-5dns/bind9-devel/pkg-plist
+5-5dns/bind-tools/pkg-plist-devel
+3-3dns/bind9-devel/distinfo
+1-1dns/bind9-devel/Makefile
+35-346 files

FreeBSD/ports 0760928dns/bind-tools pkg-plist, dns/bind920 Makefile distinfo

dns/bind920: update to 9.20.27

Changes:        https://downloads.isc.org/isc/bind9/9.20.27/doc/arm/html/notes.html#notes-for-bind-9-20-27
DeltaFile
+7-7dns/bind920/files/extrapatch-bind-min-override-ttl
+5-5dns/bind920/pkg-plist
+5-5dns/bind-tools/pkg-plist
+3-3dns/bind920/distinfo
+1-1dns/bind920/Makefile
+21-215 files

FreeBSD/ports 0760927devel/gitolite Makefile distinfo

devel/gitolite2: update to 3.6.15
DeltaFile
+3-3devel/gitolite/distinfo
+1-1devel/gitolite/Makefile
+4-42 files

LLVM/project d5b4271libsycl/include/sycl/__impl platform.hpp, libsycl/src platform.cpp

[libsycl] add sycl_khr_default_context (#216863)

Fixes: https://github.com/llvm/llvm-project/issues/216859

Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin at intel.com>
DeltaFile
+25-0libsycl/test/basic/khr_get_default_context.cpp
+9-0libsycl/unittests/platform/get_platforms.cpp
+7-0libsycl/include/sycl/__impl/platform.hpp
+5-0libsycl/src/platform.cpp
+46-04 files

Linux/linux e8bf40dDocumentation/ABI/testing sysfs-firmware-gsmi, drivers/firmware/google coreboot_table.c

Merge tag 'chrome-platform-firmware-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome platform firmware updates from Tzung-Bi Shih:
 "Fixes:
    - Don't map no-map memory regions for CBMEM entries
    - Check bound of coreboot table entries

  Cleanups:
  - Fix typo in docs"

* tag 'chrome-platform-firmware-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
  firmware: coreboot: Validate table bounds
  firmware: coreboot: Skip no-map CBMEM entries
  docs: ABI: testing: Fix typo
DeltaFile
+36-7drivers/firmware/google/coreboot_table.c
+1-1Documentation/ABI/testing/sysfs-firmware-gsmi
+37-82 files

LLVM/project fd6d7a6clang/lib/Sema SemaRISCV.cpp, clang/test/Sema riscv-rvv-int64-scalar-type.c

[RISCV] Use correct type for (u)int64_t in RVV intrinsics on OpenBSD (#217211)

The intrinsics are documented to use (u)int64_t for 64-bit scalars.

OpenBSD on RV64 uses long long for int64_t while Linux uses long. The
current code finds the first 64 bit type which is long for both OpenBSD
and Linux.

This patch looks up the type that corresponds to (u)int64_t.

Fixes #216531.

Assisted-by: Claude
DeltaFile
+35-0clang/test/Sema/riscv-rvv-int64-scalar-type.c
+16-2clang/lib/Sema/SemaRISCV.cpp
+51-22 files

LLVM/project e2679f3mlir/lib/Dialect/SPIRV/IR SPIRVTypes.cpp, mlir/test/Conversion/SPIRVToLLVM spirv-types-to-llvm.mlir

[mlir][SPIR-V] Fix ArrayType::getSizeInBytes double counting the stride (#203821)

The array stride is the per-element byte distance and already includes
the element size, so adding it to the element size overcounted strided
arrays
DeltaFile
+66-0mlir/unittests/Dialect/SPIRV/SPIRVTypeTest.cpp
+5-3mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
+3-0mlir/test/Conversion/SPIRVToLLVM/spirv-types-to-llvm.mlir
+1-0mlir/unittests/Dialect/SPIRV/CMakeLists.txt
+75-34 files

LLVM/project a8ca5b2llvm/lib/CodeGen/SelectionDAG DAGCombiner.cpp

[DAGCombiner] Pass const SDLoc &DL to visitADDLikeCommutative. NFC (#217169)

Instead of passing an SDNode* that was only intended for to create an
SDLoc, we can use the SDLoc the caller already created.
DeltaFile
+4-6llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
+4-61 files

LLVM/project 9715eb9llvm/include/llvm/Analysis ScalarEvolution.h, llvm/lib/Analysis ScalarEvolution.cpp

[SCEV] Answer range queries for constants directly (NFC) (#217339)

Skip unnecessary getRangeRef calls and return the early for constants
when getting constant min/max values.

Adding entries to the cache for constants is unnecessary and relatively
expensive.

There may be better ways to integrate this, although a few different
attempts did not yield similar compile-time improvements.

Compile-time impact:

* stage1-O3: -0.07%
* stage1-ReleaseThinLTO: -0.06%
* stage1-ReleaseLTO-g: -0.06%
* stage1-aarch64-O3: -0.06
* stage2-O3: -0.07%


    [3 lines not shown]
DeltaFile
+15-0llvm/include/llvm/Analysis/ScalarEvolution.h
+6-0llvm/lib/Analysis/ScalarEvolution.cpp
+21-02 files

FreeBSD/src 3e42109sys/compat/linuxkpi/common/src linux_80211.c

LinuxKPI: 802.11: deal with wdev list, and misc

Fill in more (lvif) wdev details and add it to the list under the wiphy
struct so that iterators at least work and find the (one) device.
This is needed for the upcoming espwl(4) driver.

misc: add WPI-SMS4 to the list of cipher suits (we won't support it but
at least print the name).

MFC after:      3 days
DeltaFile
+24-5sys/compat/linuxkpi/common/src/linux_80211.c
+24-51 files

FreeBSD/src 83e8fd6sys/net80211 ieee80211_radiotap.h

net8021!: radiotap: add another HE define

Add another HE define needed by the upcoming espwl(4).

MFC after:      3 days
DeltaFile
+1-0sys/net80211/ieee80211_radiotap.h
+1-01 files

FreeBSD/ports 923cb70www/py-djangorestframework Makefile distinfo

www/py-djangorestframework: Update to 3.18.0

Changelog:

https://github.com/encode/django-rest-framework/releases/tag/3.18.0
DeltaFile
+3-3www/py-djangorestframework/distinfo
+2-2www/py-djangorestframework/Makefile
+5-52 files

FreeBSD/ports 7f527d6textproc/py-ttp-templates Makefile distinfo

textproc/py-ttp-templates: Update to 0.5.10

Changelog:

https://github.com/dmulyalin/ttp_templates/releases/tag/0.5.10
DeltaFile
+3-3textproc/py-ttp-templates/distinfo
+1-1textproc/py-ttp-templates/Makefile
+4-42 files

FreeBSD/ports b2c5f5ddevel/py-banal distinfo Makefile

devel/py-banal: Update to 1.1.2

* Switch to the PEP517 build framework.

* Use GitHub for a while because no sdist tarballs are available
  at PyPI.

Changelog since 1.0.6:
DeltaFile
+6-4devel/py-banal/Makefile
+3-3devel/py-banal/distinfo
+9-72 files

FreeBSD/ports b574e57textproc/py-fingerprints distinfo Makefile

textproc/py-fingerprints: Update to 1.3.1

* Switch to the PEP517 build framework.

* Update WWW to point to the new location of upstream.

Changelog since 1.2.3:

https://github.com/opensanctions/fingerprints/compare/1.2.3...1.3.1
DeltaFile
+5-7textproc/py-fingerprints/Makefile
+3-3textproc/py-fingerprints/distinfo
+8-102 files

FreeBSD/ports c3b1dc1textproc/py-normality distinfo Makefile

textproc/py-normality: Update to 3.1.0

* Fold ICU option because its requirement, py-pyicu, is now a mandatory
  dependency since the 3.0.0 release.

* Switch to GitHub for a while because no sdist tarballs are available
  at PyPI.

Changelog since 2.5.0:

https://github.com/pudo/normality/compare/2.5.0...3.1.0
DeltaFile
+6-12textproc/py-normality/Makefile
+3-3textproc/py-normality/distinfo
+9-152 files

LLVM/project 8ef1f86llvm/test/CodeGen/AMDGPU promote-alloca-mixed-width-access.ll

Testing updates per PR feedback, add some new test cases
DeltaFile
+87-6llvm/test/CodeGen/AMDGPU/promote-alloca-mixed-width-access.ll
+87-61 files

FreeBSD/src 9b13e6csys/compat/linuxkpi/common/include/linux nl80211.h ieee80211.h, sys/compat/linuxkpi/common/include/net mac80211.h cfg80211.h

LinuxKPI: 802.11: add more defines, structures, ...

Add more defines, structures, sort struct field types, add inline
functions (partially implemented) all needed for the upcoming
espwl(4) wireless driver.

MFC after:      3 days
DeltaFile
+46-10sys/compat/linuxkpi/common/include/net/cfg80211.h
+22-5sys/compat/linuxkpi/common/include/linux/ieee80211.h
+11-1sys/compat/linuxkpi/common/include/net/mac80211.h
+6-0sys/compat/linuxkpi/common/include/linux/nl80211.h
+85-164 files

LLVM/project e1b7e2dutils/bazel/llvm-project-overlay/mlir BUILD.bazel

[Bazel] Port 40f48bf (#217367)

Standard bazel porting.
DeltaFile
+4-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+4-01 files

LLVM/project 6618866llvm/lib/Object ArchiveWriter.cpp

Add assert to ensure SymbolAttrs and Symbols are equal sized.
DeltaFile
+2-0llvm/lib/Object/ArchiveWriter.cpp
+2-01 files

LLVM/project 4a8b939clang/lib/Sema SemaLambda.cpp, clang/test/CodeGenCXX optnone-pragma-optimize-off.cpp

[Clang][Sema] Fix lambda attribute processing order with clang optimize off (#217194)

This PR fixes a regression from #215173 where an `always_inline` lambda
on a `#pragma clang optimize off` will throw a compiler error. For
example,

```
#pragma clang optimize off

// 1. function:
__attribute__((always_inline)) void front_func() {}

// 2. lambda:
auto trailing_lambda = []() __attribute__((always_inline)) { return 42; };
```

causes only an error for the lambda, not function:

```

    [16 lines not shown]
DeltaFile
+17-1clang/test/CodeGenCXX/optnone-pragma-optimize-off.cpp
+4-4clang/lib/Sema/SemaLambda.cpp
+21-52 files

Linux/linux c36a499drivers/platform/chrome cros_ec.c chromeos_of_hw_prober.c

Merge tag 'chrome-platform-v7.3' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux

Pull chrome platform updates from Tzung-Bi Shih:
 "New:
   - Add post_power_on_delay_ms for Hana in of_hw_prober

  Improvements:
   - Use dumb trackpad prober for Spherion in of_hw_prober

  Fixes:
   - Check bound of firmware-reported data in cros_ec_sensorhub and
     cros_ec_typec
   - Fix memory overread in cros_ec_sensorhub
   - Fix resource leak in cros_ec_debugfs
   - Clamp payload length for LIGHTBAR_CMD_SET_PROGRAM_EX in
     cros_ec_lightbar

  Cleanups:
   - Drop unused platform_device_id driver data

    [14 lines not shown]
DeltaFile
+23-5drivers/platform/chrome/cros_ec_sensorhub_ring.c
+8-3drivers/platform/chrome/cros_ec_lightbar.c
+7-3drivers/platform/chrome/cros_ec_debugfs.c
+2-4drivers/platform/chrome/chromeos_of_hw_prober.c
+6-0drivers/platform/chrome/cros_ec_typec.c
+1-4drivers/platform/chrome/cros_ec.c
+47-1910 files not shown
+67-3916 files

LLVM/project 713b7c4llvm/lib/Target/X86/AsmParser X86AsmParser.cpp

[X86] Remove write-only variable OffsetOperatorLoc (NFC) (#217231)

This patch removes OffsetOperatorLoc and getOffsetLoc in
IntelExprStateMachine.  Nobody calls getOffsetLoc, so
OffsetOperatorLoc is write-only.

OffsetOperatorLoc and getOffsetLoc were introduced on Dec 30, 2019 in
commit 4a7aa252a32a94b1bb61b3dc7f027b4a27ae334f, but getOffsetLoc has
never been called.

Assisted-by: Antigravity
DeltaFile
+2-7llvm/lib/Target/X86/AsmParser/X86AsmParser.cpp
+2-71 files

LLVM/project f652cd6mlir/lib/IR MLIRContext.cpp, mlir/lib/Support StorageUniquer.cpp

[mlir][IR] Add transient scope support for resettable MLIRContext. (#217320)

We have cases where we have many context being used to compile
independent modules. Creating a context per ends up being rather
expensive and the only reason to not reuse contexts more is bloat over
time. This changes adds a "transient" scope which can be used for such
cases. Initially I had tried a "cheap fork" approach for contexts, this
is complimentary to that (that one allows for independent contexts
cheaply), while this one is less invasive.

Introduce an overlay/layered state architecture in StorageUniquer and
MLIRContext to enable efficient scoping and rollback of transient types,
attributes, affine expressions, and distinct attributes added since
entering a transient scope.

When executing repeated compilation passes or running in long-lived
compiler services (e.g. JITs, servers, REPLs), allocating and destroying
an MLIRContext incurs significant overhead (~3.7 ms per context) to
re-register and load dialects. This change allows freezing an

    [4 lines not shown]
DeltaFile
+201-7mlir/lib/Support/StorageUniquer.cpp
+193-0mlir/unittests/IR/MLIRContextResetTest.cpp
+107-0mlir/lib/IR/MLIRContext.cpp
+105-0mlir/unittests/Support/StorageUniquerTest.cpp
+66-0mlir/test/python/ir/context_lifecycle.py
+50-0mlir/test/CAPI/ir.c
+722-713 files not shown
+949-1619 files

NetBSD/pkgsrc iRClSOuinputmethod/ibus Makefile

   ibus: use common Wayland platform detection

   Remove the temporary NetBSD native X11 workaround and rely on
   PLATFORM_SUPPORTS_WAYLAND.

   Native EGL support is now handled by graphics/MesaLib/features.mk, so
   the additional libglamoregl.so check is no longer needed.  PR pkg/60476

   Bump PKGREVISION.
VersionDeltaFile
1.125+3-6inputmethod/ibus/Makefile
+3-61 files

NetBSD/pkgsrc iIOFmgsx11/gtk3 Makefile options.mk

   gtk3: remove NetBSD-specific Wayland workaround

   MESALIB_SUPPORTS_EGL now handles native EGL support correctly on
   NetBSD, so PLATFORM_SUPPORTS_WAYLAND already excludes systems where
   the native libepoxy has no EGL support.

   Remove the additional libglamoregl.so check added in PR pkg/60295.
   The file is part of the xserver set, so checking for it incorrectly
   disables Wayland on bulk build hosts where the xserver set is not
   installed.  PR pkg/60476

   Bump PKGREVISION.
VersionDeltaFile
1.37+1-5x11/gtk3/options.mk
1.231+2-2x11/gtk3/Makefile
+3-72 files

NetBSD/pkgsrc BDBkOvegraphics/MesaLib features.mk

   graphics/MesaLib: improve native EGL detection on NetBSD

   For native X11 on NetBSD, use HAVE_XORG_EGL when it is available
   instead of only checking for the EGL header.

   On older NetBSD releases without HAVE_XORG_EGL, use HAVE_XORG_GLAMOR
   as a fallback, since native libepoxy EGL support was conditional on
   GLAMOR there.

   This is a proper fix for PR pkg/60295 and makes MESALIB_SUPPORTS_EGL
   reflect the actual native EGL support more accurately.

   PR pkg/60476
VersionDeltaFile
1.3+10-2graphics/MesaLib/features.mk
+10-21 files