LLVM/project e6e6947mlir/lib/Dialect/LLVMIR/IR LLVMTypeSyntax.cpp

clang-format
DeltaFile
+3-2mlir/lib/Dialect/LLVMIR/IR/LLVMTypeSyntax.cpp
+3-21 files

LLVM/project 49266famlir/include/mlir/Dialect/LLVMIR LLVMTypes.td, mlir/lib/Dialect/LLVMIR/IR LLVMTypes.cpp LLVMDialect.cpp

[mlir][LLVM] Add the `byte` type to the LLVM dialect

This PR ports the newly added `byte` type from LLVM IR to mlir's LLVM dialect.
The simplest motivation for the byte type is being able to implement `memcpy` in LLVM IR. This was previously not possible: Due to rules around conversions between integers and pointers (which e.g. implicitly happen during loads), partial-poisons and pointer provenance were not preserved.
No alterantive types to integers existed that one could use to have poison and provenance preserving SSA-values. The byte type solves exactly this issue.
Frontends are encouraged to use it when needed for better optimization capabilities.

Currently, the only operation that has changed semantics around `byte` is `bitcast`. Is now allows casting between `byte` and `ptr` (unlike integers and pointers).

Corresponding LLVM commit: https://github.com/llvm/llvm-project/commit/80f2ef70f592

Assisted by Claude & Gemini
DeltaFile
+57-0mlir/test/Dialect/LLVMIR/layout.mlir
+25-0mlir/include/mlir/Dialect/LLVMIR/LLVMTypes.td
+23-1mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
+14-0mlir/test/Dialect/LLVMIR/roundtrip.mlir
+9-4mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
+9-3mlir/lib/Target/LLVMIR/TypeToLLVM.cpp
+137-85 files not shown
+172-1111 files

LLVM/project cc61305llvm/lib/Target/X86 X86ISelLowering.cpp X86ISelLowering.h, llvm/test/Transforms/AtomicExpand/X86 expand-atomic-non-integer.ll

[X86] Remove shouldCastAtomicLoadInIR; use DAG combine instead (#199520)

Remove X86's shouldCastAtomicLoadInIR override that cast FP atomic loads
to integer at the IR level. Instead, handle this in a pre-legalize DAG
combine (combineAtomicLoad) that rewrites FP/FP-vector atomic loads to
integer atomic loads plus a bitcast.

This and #199310, which adds the necessary cmpxchg support for
non-integer atomic loads in AtomicExpand, are a response to
https://github.com/llvm/llvm-project/pull/148899 for `atomic_vec4_float`
of `atomic-load-store.ll`.

Stacked above #201303.
DeltaFile
+25-7llvm/lib/Target/X86/X86ISelLowering.cpp
+2-4llvm/test/Transforms/AtomicExpand/X86/expand-atomic-non-integer.ll
+0-2llvm/lib/Target/X86/X86ISelLowering.h
+27-133 files

FreeBSD/src 142cba9sys/dev/bge if_bge.c

bge: read MAC from loader hint for boards without NVRAM/EEPROM

BCM57766 on Apple T2 Macs (Macmini8,1) has no dedicated EEPROM and the
chip firmware handshake fails (the T2 intercepts PCI config space),
leaving the SRAM mailbox unpopulated.  All four existing MAC retrieval
paths (SRAM mailbox, NVRAM, EEPROM, firmware stub) fail, causing bge to
abort attach with "failed to read station address".

Work around this with two changes:

  1. Tolerate EEPROM read failure on BCM57766.  The chip is copper-only
     so hwcfg=0 is correct; skip the fatal error that aborts attach
     before bge_get_eaddr() is ever called.

  2. Implement bge_get_eaddr_fw() to read a "hint.bge.N.mac" string
     (e.g. "f0:18:98:f4:1e:2f") from loader(8) tunable / kenv.

This is a workaround until the T2 BCE API is understood well enough to
either poke the chip firmware into completing its handshake or read the

    [4 lines not shown]
DeltaFile
+36-6sys/dev/bge/if_bge.c
+36-61 files

FreeBSD/src e37e49bsys/dev/asmc asmc.c

asmc: fix asmc_key_dump() page fault on T2 MMIO backend

asmc_key_dump() used I/O port macros (ASMC_DATAPORT_WRITE/READ,
asmc_command()) unconditionally. On T2 Macs, sc_ioport is NULL
(MMIO backend is used instead), causing a page fault when
ASMC_DEBUG triggers asmc_dumpall() during attach.

Add an MMIO guard at the top of asmc_key_dump(): delegate to
asmc_key_dump_by_index() + asmc_key_read() for MMIO devices,
consistent with the rest of the T2 code paths.

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D56748
DeltaFile
+31-5sys/dev/asmc/asmc.c
+31-51 files

FreeBSD/src 9f90536sys/dev/apple_bce apple_bce_vhci.c apple_bce_vhci.h, sys/modules/apple_bce Makefile

apple_bce/vhci: add T2 virtual USB host controller

Implements a VHCI driver on top of the BCE transport:
- Virtual USB bus registration via usb_controller
- Port discovery and device enumeration
- Control, interrupt, and bulk endpoint support
- Firmware event handling with taskqueue
- Suspend/resume via BCE mailbox

Provides keyboard, trackpad, and Touch Bar access on T2 Macs.

Tested-on: MacBookPro16,2 (A2251), Mac mini 8,1 (A1993)

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57089
DeltaFile
+4,821-0sys/dev/apple_bce/apple_bce_vhci.c
+251-0sys/dev/apple_bce/apple_bce_vhci.h
+87-0sys/dev/apple_bce/apple_bce.c
+5-0sys/dev/apple_bce/apple_bce_mailbox.c
+2-1sys/dev/apple_bce/apple_bce.h
+2-0sys/modules/apple_bce/Makefile
+5,168-12 files not shown
+5,170-18 files

FreeBSD/src 6fd2ad9sys/dev/apple_bce apple_bce.c apple_bce_queue.c

apple_bce: add Apple T2 Buffer Copy Engine driver

DMA ring transport between the host and the T2 coprocessor.
Provides mailbox handshake, queue setup, and firmware keepalive
for higher-level T2 services (VHCI, audio, etc.).

Tested-on: MacBookPro16,2 (A2251), Mac mini 8,1 (A1993)

Reviewed by:    adrian
Differential Revision:  https://reviews.freebsd.org/D57088
DeltaFile
+642-0sys/dev/apple_bce/apple_bce.c
+492-0sys/dev/apple_bce/apple_bce_queue.c
+304-0sys/dev/apple_bce/apple_bce.h
+108-0sys/dev/apple_bce/apple_bce_mailbox.c
+52-0sys/dev/apple_bce/apple_bce_queue.h
+20-0sys/dev/apple_bce/apple_bce_mailbox.h
+1,618-03 files not shown
+1,630-09 files

FreeBSD/src 5e0ba47sys/dev/nvme nvme_qpair.c nvme_pci.c

nvme: add Apple T2 ANS2 NVMe quirks

The Apple T2 (ANS2, PCI 106b:2005) requires several quirks:

- 128-byte submission queue entries (CC.IOSQES = 7)
- Single MSI vector, one IO queue
- Admin and IO queues share a CID table; IO CIDs offset by
  adminq.num_trackers to avoid overlap
- No async event support
- IDENTIFY CNS >= 2 rejected to avoid firmware confusion

Tested-on:
- MacBookPro16,2 (A2251)
- Mac mini 8,1 (A1993)
- Multiple Non-Apple computers

Reviewed by:    imp
Differential Revision:  https://reviews.freebsd.org/D57087
DeltaFile
+23-9sys/dev/nvme/nvme_qpair.c
+15-0sys/dev/nvme/nvme_pci.c
+14-0sys/dev/nvme/nvme_private.h
+13-0sys/dev/nvme/nvme_ctrlr.c
+9-0sys/dev/nvme/nvme_sim.c
+1-1sys/dev/nvme/nvme_sysctl.c
+75-106 files

FreeBSD/ports 7467b1ccad/freecad/files patch-src_Mod_TechDraw_Gui_CommandCreateDims.cpp

cad/freecad: attempt to fix build on CURRENT

hard cast to make call to abs unambiguous

Error was:

/wrkdirs/usr/ports/cad/freecad/work/FreeCAD-1.1.1/src/Mod/TechDraw/Gui/CommandCreateDims.cpp:1106:52: error: call to 'abs' is ambiguous
 1106 |             int alpha = std::round(Base::toDegrees(std::abs<float>(std::atan(type == "DistanceY" ? (dx / dy) : (dy / dx)))));
DeltaFile
+13-0cad/freecad/files/patch-src_Mod_TechDraw_Gui_CommandCreateDims.cpp
+13-01 files

FreeBSD/ports 625b0ffdevel/rust-cbindgen distinfo Makefile, mail/thunderbird-esr/files patch-bug2046162

devel/rust-cbindgen: update to 0.29.4

Release Notes:
  https://github.com/mozilla/cbindgen/releases/tag/0.29.4

Second attempt, pull in fixes for gecko esr ports to fix build with
newer rust-cbindgen as per https://github.com/mozilla/cbindgen/issues/1165
DeltaFile
+31-0mail/thunderbird-esr/files/patch-bug2046162
+31-0www/firefox-esr/files/patch-bug2046162
+3-3devel/rust-cbindgen/distinfo
+1-2devel/rust-cbindgen/Makefile
+66-54 files

FreeBSD/ports 6ff19dctextproc/p5-PPIx-Regexp distinfo Makefile

textproc/p5-PPIx-Regexp: Update 0.091 => 0.092

Changelog:
https://metacpan.org/release/WYANT/PPIx-Regexp-0.092/source/Changes

PR:             296056
Sponsored by:   UNIS Labs
DeltaFile
+3-3textproc/p5-PPIx-Regexp/distinfo
+1-1textproc/p5-PPIx-Regexp/Makefile
+4-42 files

OpenBSD/src Nt2XU7tusr.bin/tmux layout.c

   Skip floating panes when working out the top or bottom cell. Fixes
   missing bottom status pane status line when floating panes exist.
VersionDeltaFile
1.69+23-9usr.bin/tmux/layout.c
+23-91 files

LLVM/project 71f69c1llvm/lib/Transforms/Vectorize LoopVectorize.cpp

[LV] Use ResumeForEpilogue for header phi resume in epilogue plan (NFC) (#203786)

Pass the ResumeForEpilogue VPInstructions created by
preparePlanForMainVectorLoop into preparePlanForEpilogueVectorLoop and
get the resume IR from ResumeForEpilogue::getUnderlyingValue()
DeltaFile
+15-9llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
+15-91 files

LLVM/project ad71198llvm/test/Transforms/LoopVectorize outer_loop_contiguous.ll

[LV] Add outer-loop tests for continuous access analysis. (NFC) (#203789)

Add outer loop tests with different strided accesses.
DeltaFile
+288-0llvm/test/Transforms/LoopVectorize/outer_loop_contiguous.ll
+288-01 files

FreeBSD/ports 8b01fbawww/freenginx-devel distinfo Makefile.extmod, www/freenginx-devel/files extra-patch-ngx_http_zip_headers.c

www/freenginx-devel: third-party modules management (+)

Update third-party modules to their recent snapshots:

- keyval
- lua
- mod_zip (moves back to its original author's repo)

Bump PORTREVISION.

Sponsored by:   tipi.work
DeltaFile
+20-0www/freenginx-devel/files/extra-patch-ngx_http_zip_headers.c
+7-7www/freenginx-devel/distinfo
+4-3www/freenginx-devel/Makefile.extmod
+1-1www/freenginx-devel/Makefile
+32-114 files

LLVM/project f7e53fcoffload/liboffload/src OffloadImpl.cpp

[offload] Fix olMemcpy error message typo (#197273)
DeltaFile
+1-1offload/liboffload/src/OffloadImpl.cpp
+1-11 files

FreeBSD/src b5cb273sys/kern tty.c

tty: Add sysctl knob to globally disable TIOCSTI

Reviewed by:    markj
PR:             293485
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57233

(cherry picked from commit c289291a6736c01dd68fb8459ec3801859b0a59a)
(cherry picked from commit c94b8eee5bcb5f9d116cce9c831933115cfeeb19)
(cherry picked from commit 16532b220c9cbd9fb0365a80a23cc435003e9986)
DeltaFile
+8-0sys/kern/tty.c
+8-01 files

FreeBSD/src 16532b2sys/kern tty.c

tty: Add sysctl knob to globally disable TIOCSTI

Reviewed by:    markj
PR:             293485
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57233

(cherry picked from commit c289291a6736c01dd68fb8459ec3801859b0a59a)
(cherry picked from commit c94b8eee5bcb5f9d116cce9c831933115cfeeb19)
DeltaFile
+8-0sys/kern/tty.c
+8-01 files

FreeNAS/freenas d7f3b86src/middlewared/middlewared/etc_files/proftpd proftpd.conf.mako, src/middlewared/middlewared/plugins ftp.py

Convert FTP plugin to typesafe pattern

## Context
The `ftp` plugin was still dict-based: a `SystemServiceService` with a string `datastore_extend`, a `do_update` returning a plain dict, and consumers/mako templates reading config via `cfg['key']`. This moves it to the typesafe pattern (lean service class delegating to a `SystemServicePart`, `generic = True`, typed `config()`/`do_update`, `check_annotations=True`, `call2`), matching the converted `ups` plugin.

## Solution
- **New `plugins/ftp/` package** replacing `plugins/ftp.py` and `plugins/ftp_/`: `__init__.py` holds the lean `FTPService` (registered in `main.py`'s `ServiceContainer`), `config.py` holds `FTPModel` + `FTPServicePart` (extend/validate/do_update), and the port/cert attachment delegates plus the `connection_count` helper move in alongside. The old compound `ftp_/status.py` service is folded into `connection_count` as a `@private` method.
- **API models** (`api/v27_0_0/` only): split the legacy `@single_argument_args('ftp_update')` form into the standard `FTPUpdate` / `FTPUpdateArgs(data=...)` / `FTPUpdateResult` shape; the wire API is unchanged.
- **Consumers fixed for the dict→model change:** `usage.py` switches to `call2` + attribute access, and the three proftpd mako templates (plus a dead line in `ftpusers.mako`) move from `ftp['x']` to `ftp.x` now that `ftp.config` returns an `FTPEntry`.
- **`ServicePortDelegate.config()`** now normalizes a Pydantic config to a dict (`isinstance` / `model_dump`), the same dispatch the certificate delegate already does. Without this, the FTP port delegate hit `'FTPEntry' object has no attribute 'get'` whenever `port.validate_port` ran (e.g. on `ftp.update`).
- Added type annotations to `resolve_hostname`/`validate_port` in `async_validators.py` so the typed FTP part can call them, and added `plugins/ftp/` to the mypy workflow.
DeltaFile
+0-203src/middlewared/middlewared/plugins/ftp.py
+121-0src/middlewared/middlewared/plugins/ftp/config.py
+121-0src/middlewared/middlewared/plugins/ftp/__init__.py
+35-35src/middlewared/middlewared/etc_files/proftpd/proftpd.conf.mako
+0-23src/middlewared/middlewared/plugins/ftp_/status.py
+22-0src/middlewared/middlewared/plugins/ftp/cert_attachment.py
+299-26114 files not shown
+369-31020 files

FreeNAS/freenas 8589f9asrc/middlewared/middlewared main.py, src/middlewared/middlewared/plugins/hardware m_series_nvdimm.py __init__.py

Convert hardware plugin to the typesafe pattern

## Context
The hardware plugin is a directory of four mostly-private legacy services (mseries.bios, mseries.nvdimm, hardware.memory, plus hardware.virtualization). Only hardware.virtualization.variant is public over the wire; the rest return plain dicts/bools consumed internally by alert sources and usage reporting, so Pydantic models would be pure overhead.

## Solution
Applied the port-plugin pattern: lean Service shims in __init__.py that delegate to plain, fully type-annotated module functions, keeping the existing dict/primitive return shapes so no consumer changes are needed. The one public method gets check_annotations=True against the existing HardwareVirtualizationVariant models. Registered the services in main.py's ServiceContainer via nested hardware/mseries containers and added the plugin to mypy.yml.
DeltaFile
+179-170src/middlewared/middlewared/plugins/hardware/m_series_nvdimm.py
+79-0src/middlewared/middlewared/plugins/hardware/__init__.py
+36-43src/middlewared/middlewared/plugins/hardware/mem_info.py
+11-35src/middlewared/middlewared/plugins/hardware/virt_detection.py
+18-18src/middlewared/middlewared/plugins/hardware/m_series_bios.py
+22-0src/middlewared/middlewared/main.py
+345-2661 files not shown
+346-2667 files

FreeBSD/doc 0344687website/content/ru/releases/15.1R relnotes.adoc

website/ru: Update releases/15.1R/relnotes.adoc

Update to EN 01d28516c437d000bc0c1a7adc0c967828489858
DeltaFile
+1-4website/content/ru/releases/15.1R/relnotes.adoc
+1-41 files

LLVM/project 80b1dddllvm/lib/Transforms/Vectorize VPlanTransforms.cpp, llvm/test/Transforms/LoopVectorize predicatedinst-loop-invariant.ll

[LV] Drop the mask of a predicated store masked by the header mask. (#201676)

Drop the mask of a predicated store masked by the header mask (which is
guaranteed to be true at least for the first lane) and both the stored
value and the address are uniform across VF and UF.

An similar version for loads was included in
https://github.com/llvm/llvm-project/pull/196630, but restricted the
uniform-across-vfs-and-ufs did not have impact in practice.

For stores, this results in some improvements after
https://github.com/llvm/llvm-project/pull/196632.

PR: https://github.com/llvm/llvm-project/pull/201676
DeltaFile
+59-49llvm/test/Transforms/LoopVectorize/X86/vectorize-interleaved-accesses-gap.ll
+49-39llvm/test/Transforms/LoopVectorize/SystemZ/pr47665.ll
+17-0llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
+0-16llvm/test/Transforms/LoopVectorize/predicatedinst-loop-invariant.ll
+125-1044 files

FreeBSD/doc 968cae3website/content/ru/releases/15.1R installation.adoc

website/ru: Add releases/15.1R/installation.adoc

Synced to EN c3372876197d665c77772a2581abdc66bc7b075e
DeltaFile
+96-0website/content/ru/releases/15.1R/installation.adoc
+96-01 files

FreeBSD/doc 93a5549website/content/en/cgi man.cgi

update freebsd-ports alias
DeltaFile
+1-1website/content/en/cgi/man.cgi
+1-11 files

NetBSD/pkgsrc-wip 9e0a0f8john-jumbo PLIST Makefile, john-jumbo/patches patch-src_osx__as__wrapper.sh patch-src_configure

Update to john-jumbo to bleeding-jumbo as of 20260613

Move from the 1.8.0-jumbo-1 release to the bleeding-jumbo development
branch, which tracks ongoing jumbo development past 1.9.0-jumbo-1
(May 2019) -- ~4.5 years and 6000+ jumbo commits beyond 1.8.0-jumbo-1.

Notable changes since 1.8.0-jumbo-1:
- New 1.9.0 core base; bcrypt interleaving on x86-64 raised 2x -> 3x
  for a major speedup on CPUs without SMT
- Extended bitslice DES with more SIMD sets: AVX2, AVX-512 (incl.
  2nd-gen Xeon Phi) and MIC (1st-gen Xeon Phi) on x86(-64); ASIMD
  on Aarch64
- AVX-512 ternary-logic (3-input LUT) DES S-box expressions, also
  used via OpenCL on NVIDIA Maxwell and above
- FPGA support for 7 hash types on ZTEX 1.15y boards
- Many new format/hash types, OpenCL improvements, bugfixes and
  portability updates

Full release notes at https://www.openwall.com/lists/announce/2019/05/14/1
DeltaFile
+198-0john-jumbo/PLIST
+42-6john-jumbo/Makefile
+0-21john-jumbo/patches/patch-src_osx__as__wrapper.sh
+3-12john-jumbo/distinfo
+0-13john-jumbo/patches/patch-src_configure
+0-13john-jumbo/patches/patch-src_escrypt_sysendian.h
+243-656 files not shown
+243-13812 files

FreeBSD/ports 75044aesysutils/chezmoi distinfo Makefile, sysutils/chezmoi/files patch-go.mod patch-assets_chezmoi.io_mkdocs.yml

sysutils/chezmoi: Update 2.50.0 => 2.70.5

Changelog (~50 new versions):
https://github.com/twpayne/chezmoi/releases/tag/v2.51.0
 . . .
https://github.com/twpayne/chezmoi/releases/tag/v2.70.5

PR:             295946
Sponsored by:   UNIS Labs
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+5-303sysutils/chezmoi/distinfo
+7-194sysutils/chezmoi/Makefile
+0-11sysutils/chezmoi/files/patch-go.mod
+0-7sysutils/chezmoi/files/patch-assets_chezmoi.io_mkdocs.yml
+12-5154 files

OpenBSD/src Vu9eE4zusr.bin/tmux window.c screen-redraw.c

   Add a helper to get pane-border-status for a window for some other
   changes to come.
VersionDeltaFile
1.336+17-11usr.bin/tmux/window.c
1.134+6-6usr.bin/tmux/screen-redraw.c
1.468+5-7usr.bin/tmux/server-client.c
1.68+5-5usr.bin/tmux/layout.c
1.1349+4-3usr.bin/tmux/tmux.h
1.58+2-2usr.bin/tmux/cmd-resize-pane.c
+39-341 files not shown
+41-367 files

NetBSD/pkgsrc IiQaZvQsecurity/cyrus-sasl Makefile

   cyrus-sasl: Fails with C23 default language.

   Uses "old-style function definitions".
VersionDeltaFile
1.83+4-1security/cyrus-sasl/Makefile
+4-11 files

Dreckly/dreckly c66062dsecurity/cyrus-sasl Makefile distinfo, security/cyrus-sasl/patches patch-digestmd5-legacy-rejected-pr-688

cyrus-sasl: Fails with C23 default language.

Uses "old-style function definitions".
DeltaFile
+837-0security/cyrus-sasl/patches/patch-digestmd5-legacy-rejected-pr-688
+3-0security/cyrus-sasl/Makefile
+1-0security/cyrus-sasl/distinfo
+841-03 files

FreeBSD/doc 01d2851website/content/en/releases/15.1R relnotes.adoc

15.1/relnotes: Remove ath(4) update

The update was to ath10k, not ath.

Reported by:    bz
DeltaFile
+0-3website/content/en/releases/15.1R/relnotes.adoc
+0-31 files