LLVM/project e013a0fllvm/lib/Target/Sparc/AsmParser SparcAsmParser.cpp, llvm/test/MC/Sparc sparc-alu-instructions.s

[SPARC][IAS] Adjust bounds check in %rX name parsing (#218301)

Fix an off-by-one error that results in %r31 being incorrectly rejected.

This was reported by the folks at OpenBSD.
DeltaFile
+1-1llvm/lib/Target/Sparc/AsmParser/SparcAsmParser.cpp
+2-0llvm/test/MC/Sparc/sparc-alu-instructions.s
+3-12 files

FreeBSD/src 22c4099release/tools ec2-small.conf ec2-base.conf

EC2: Enable autogrowing filesystems post-boot

Enable the new growfs_postboot mechanism.  Note that this also implies
disabling automatic allocation of swap space on the root disk, since we
cannot grow the root filesystem if swap space is allocated after it.

This will not be MFCed since it is a significant behavioural change.

Sponsored by:   Amazon
Relnotes:       yes
DeltaFile
+5-1release/tools/ec2-small.conf
+5-1release/tools/ec2-base.conf
+10-22 files

FreeBSD/src 5a31987libexec/rc rc.conf, libexec/rc/rc.d growfs_postboot

rc+devd: Add growfs_postboot

In VM and cloud environments it is often possible to enlarge virtual
disks; this can be useful, for example, if a system is launched with a
small root disk and it later becomes clear that more space is needed.

On kernels which support run-time resizing of disks (for NVMe, this was
added in November 2025; some other disk types have supported this for
longer) a SIZECHANGE notification is sent to userland via devd.

Add a "nostart" rc.d script (runnable manually but not automatically at
boot time) and a devd script which invokes it when a notification
arrives.  The rc.d script enlarges the "final partition" on partitioned
geoms, or the UFS filesystem or zpool device when triggered on a disk
containing either of those.

Reviewed by:    imp, ziaee
MFC after:      2 weeks
Relnotes:       Disk partitions and filesystems can be enlarged

    [4 lines not shown]
DeltaFile
+116-0libexec/rc/rc.d/growfs_postboot
+69-0share/man/man7/growfs_postboot.7
+8-0sbin/devd/growfs_postboot.conf
+3-0libexec/rc/rc.conf
+1-0share/man/man7/growfs.7
+1-0share/man/man7/Makefile
+198-03 files not shown
+201-09 files

FreeBSD/ports 7997d69net Makefile

*/Makefile: Sort SUBDIRs
DeltaFile
+1-1net/Makefile
+1-11 files

LLVM/project a9700b9bolt/include/bolt/Rewrite RewriteInstance.h, bolt/lib/Rewrite RewriteInstance.cpp

[BOLT] Add option --merge-text-sections (#217732)

With BOLT optimization enabled the output carries the new hot code in
.text and the cold code in .text.cold, allocated back to back in the
same segment. Some consumers may prefer a single .text covering both.

The two text sections are already in one contiguous address range, so
only the section header table separates them. Under this new option
"--merge-text-sections" the lowest addressed code section keeps the
header, reports the extent of the whole run under the name .text, and
the rest are marked anonymous so no header is written for them. Their
contents and addresses are untouched, which keeps the emitted code byte
for byte identical to the one built without the option.

Symbols defined in a folded section, such as cold fragments, take the
index of the merged section so they won't end up referencing SHN_UNDEF.
Each folded section also gets a local marker symbol, named as
".bolt.pre_merge<original_section_name>", recording the name and start
address it had before the merge, so the previous layout stays

    [9 lines not shown]
DeltaFile
+153-0bolt/test/AArch64/merge-text-sections.s
+92-1bolt/lib/Rewrite/RewriteInstance.cpp
+21-0bolt/include/bolt/Rewrite/RewriteInstance.h
+266-13 files

LLVM/project fb1a751llvm/lib/Transforms/Vectorize VectorCombine.cpp, llvm/test/Transforms/VectorCombine load-insert-store.ll

[VectorCombine] Support simplification to scalar store for multiple insertelt (#132820)

VectorCombine already folds a load–insertelement–store sequence
containing
a single insertion into a scalar store. Extend this fold to chains of
insertelement instructions:

  V0 = load vector from p
  V1 = insertelement V0, x1, i1
  ...
  Vn = insertelement V(n-1), xn, in
  store Vn to p

=>

  store x1 to element i1 of the vector at p
  ...
  store xn to element in of the vector at p


    [4 lines not shown]
DeltaFile
+422-0llvm/test/Transforms/VectorCombine/X86/load-insert-store.ll
+420-0llvm/test/Transforms/VectorCombine/AArch64/load-insert-store.ll
+173-45llvm/lib/Transforms/Vectorize/VectorCombine.cpp
+77-2llvm/test/Transforms/VectorCombine/load-insert-store.ll
+1,092-474 files

FreeBSD/ports 73ca224devel/semver distinfo Makefile, devel/semver/files patch-CMakeLists.txt

devel/semver: Update to 1.0.1

Port changes:
- Include an upstreamed patch to unbreak the tests.
- Add DOCS and EXAMPLES options to install documentation and examples.
- Disable separate install of the license file.

Changelog: https://github.com/Neargye/semver/releases/tag/v1.0.1

PR:             297705
DeltaFile
+16-1devel/semver/Makefile
+12-0devel/semver/files/patch-CMakeLists.txt
+5-3devel/semver/distinfo
+33-43 files

FreeBSD/ports 56a5e0faudio/fooyin pkg-plist Makefile

audio/fooyin: Update to 0.12.6

Changelog: https://github.com/fooyin/fooyin/releases/tag/v0.12.6
DeltaFile
+3-3audio/fooyin/distinfo
+1-1audio/fooyin/Makefile
+1-0audio/fooyin/pkg-plist
+5-43 files

FreeBSD/ports d584ba1emulators/Ymir Makefile

*/*: Bump consumers of devel/semver

Bump PORTREVISION to pick up new version

PR:             297705
DeltaFile
+1-1emulators/Ymir/Makefile
+1-11 files

LLVM/project 57cf418flang/include/flang/Semantics semantics.h, flang/lib/Lower PFTBuilder.cpp

[flang] Do not branch to a FORMAT statement from an assigned GO TO

Label analysis already classifies which labeled statements may be named by
a statement that branches.  Record the positions of those statements in the
semantics context and consult it when lowering records the targets of an
assigned GO TO, so that a FORMAT statement is not given a target block.

A GO TO whose variable holds only a format label now reaches the run-time
error instead of branching into the FORMAT statement.

The label analysis is built once and shared: AnalyzeLabels() runs the
constraint checks first and records the branch targets only if they pass,
since a program with fatal errors is not lowered.

Co-Authored-By: Claude Opus 5 (1M context) <noreply at anthropic.com>
DeltaFile
+75-0flang/test/Lower/assigned-goto-format-target.f90
+24-4flang/lib/Semantics/resolve-labels.cpp
+17-2flang/lib/Lower/PFTBuilder.cpp
+14-0flang/include/flang/Semantics/semantics.h
+4-2flang/lib/Semantics/resolve-labels.h
+6-0flang/test/Semantics/assign07.f90
+140-81 files not shown
+141-97 files

LLVM/project 35fcfb8flang/lib/Lower PFTBuilder.cpp, flang/lib/Semantics resolve-labels.cpp

PR review fixes
DeltaFile
+55-0flang/test/Lower/assigned-goto-labeled-end.f90
+11-12flang/lib/Lower/PFTBuilder.cpp
+4-1flang/test/Lower/assigned-goto-format-target.f90
+1-1flang/lib/Semantics/resolve-labels.cpp
+71-144 files

LLVM/project 37a8aaeflang/lib/Semantics resolve-labels.cpp, flang/test/Semantics label20.f90

[flang] Record the position of a labeled program-unit END statement (#217842)

The END statement of a program unit is visited in advance, before the
statement visitor has moved its current position onto it, so the
position recorded for a label on that statement was whatever statement
came last -- a null source position for the first program unit in a
file, and the preceding unit's position for the others. Pass the
statement position to AddTargetLabelDefinition explicitly instead of
reading it from the visitor.

A diagnostic anchored on such a label had no location to report:
```fortran
  subroutine s(j)
    integer :: j
    write(*,fmt=40)
    go to j
  40 end subroutine
```
before:

    [16 lines not shown]
DeltaFile
+108-0flang/test/Semantics/label20.f90
+15-9flang/lib/Semantics/resolve-labels.cpp
+123-92 files

OpenBSD/src 8SVVaWrsys/dev/pci/drm drm_client.c

   drm/client: Move dumb-buffer handling to drm_client_framebuffer_create()

   From Thomas Zimmermann
   60f1a2ecdf8b958f0bec81e1b9886ec9d8d85ff3 in linux-6.18.y/6.18.46
   2d262a483c7a128e50cdb64a0ec20c6d78df66cc in mainline linux
VersionDeltaFile
1.11+29-27sys/dev/pci/drm/drm_client.c
+29-271 files

OpenBSD/src zwDa4qjsys/dev/pci/drm drm_client.c, sys/dev/pci/drm/include/drm drm_client.h

   drm/client: Remove pitch from struct drm_client_buffer

   From Thomas Zimmermann
   841bc853a2b115457d980891a44e64c5122f7bca in linux-6.18.y/6.18.46
   dce4657ff526b65007fe8d5c92968a933cc7c9da in mainline linux
VersionDeltaFile
1.10+7-7sys/dev/pci/drm/drm_client.c
1.8+0-5sys/dev/pci/drm/include/drm/drm_client.h
+7-122 files

OpenBSD/src 6APZT43sys/dev/pci/drm/clients drm_log.c

   drm/log: Fix out-of-bounds read on empty message length

   From Shixiong Ou
   16a2716910ecf7d31bf3c033ee7c506a0b00b2ee in linux-6.18.y/6.18.46
   60baa179ed1333535f6e2da4133511db55278ee4 in mainline linux
VersionDeltaFile
1.2+3-0sys/dev/pci/drm/clients/drm_log.c
+3-01 files

OpenBSD/src JHywjwfsys/dev/pci/drm/amd/pm amdgpu_pm.c amdgpu_dpm.c, sys/dev/pci/drm/amd/pm/inc amdgpu_dpm.h

   drm/amd/pm: fix pptable use-after-free

   From Yang Wang
   8c685df5c3b261c42505110965b42f9a754eb9b7 in linux-6.18.y/6.18.46
   bb493058c35c8676e48269ab6732688ea733d23c in mainline linux
VersionDeltaFile
1.12+11-3sys/dev/pci/drm/amd/pm/amdgpu_dpm.c
1.26+3-10sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1.9+2-1sys/dev/pci/drm/amd/pm/inc/amdgpu_dpm.h
+16-143 files

OpenBSD/src eEHuAwWsys/dev/pci/drm/amd/pm amdgpu_pm.c amdgpu_dpm.c, sys/dev/pci/drm/amd/pm/powerplay amd_powerplay.c

   drm/amd/pm: adjust the visibility of pp_table sysfs node

   From Yang Wang
   2895aeb4327c9f3452ad705f9f303a5b8697934b in linux-6.18.y/6.18.46
   5de8ce0f3709ad93ca5a579aa45cf1b52d72bc90 in mainline linux
VersionDeltaFile
1.11+9-3sys/dev/pci/drm/amd/pm/amdgpu_dpm.c
1.25+10-1sys/dev/pci/drm/amd/pm/amdgpu_pm.c
1.12+4-1sys/dev/pci/drm/amd/pm/powerplay/amd_powerplay.c
1.29+1-1sys/dev/pci/drm/amd/pm/swsmu/amdgpu_smu.c
+24-64 files

OpenBSD/src 0hVPvyFsys/dev/pci/drm/amd/amdgpu amdgpu_cs.c

   drm/amdgpu: disallow multiple FENCE chunks in one submit

   From Junrui Luo
   71aa45f7bfe46fbc6f51e7832573ff49b6005fea in linux-6.18.y/6.18.46
   931cd1d1baeae68e8eb2c23bc1f3d8934dca6241 in mainline linux
VersionDeltaFile
1.33+4-0sys/dev/pci/drm/amd/amdgpu/amdgpu_cs.c
+4-01 files

OpenBSD/src fmm2Bcksys/dev/pci/drm/amd/amdgpu amdgpu_uvd.c

   drm/amdgpu: Fix UVD decode image min size calculation

   From David Rosca
   25ee120f3803ad9e416ef9f76f4c3234cc4d645b in linux-6.18.y/6.18.46
   b8bb9ba3f101a1b0011f785a577a4a0a38371174 in mainline linux
VersionDeltaFile
1.17+2-2sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
+2-21 files

OpenBSD/src w6yYWWrsys/dev/pci/drm/amd/amdgpu amdgpu_uvd.c

   drm/amdgpu: Fix UVD dpb min size calculation for H264

   From David Rosca
   38914cb2c6afb5fe00241ea3438e655822196378 in linux-6.18.y/6.18.46
   21a8084cd76223a13493237e04d45f5226d7cee6 in mainline linux
VersionDeltaFile
1.16+4-58sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
+4-581 files

OpenBSD/src Muyz40nsys/dev/pci/drm/amd/amdgpu amdgpu_uvd.c

   drm/amdgpu: Fix UVD min buffer sizes

   From David Rosca
   c76e5cca0675b83d3a7bf69282c3cf5754c336c6 in linux-6.18.y/6.18.46
   18727670b44753865b81c56a9338c0d7bd102c54 in mainline linux
VersionDeltaFile
1.15+7-5sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
+7-51 files

OpenBSD/src XZCcXUwsys/dev/pci/drm/amd/amdgpu vce_v3_0.c

   drm/amdgpu: Implement insert_end for VCE 3

   From David Rosca
   86a5cb020322156b188b16ddec94872dbdbfc5ba in linux-6.18.y/6.18.46
   d5ab4c6a64efef2d143a96df5357f59703cd703d in mainline linux
VersionDeltaFile
1.9+22-4sys/dev/pci/drm/amd/amdgpu/vce_v3_0.c
+22-41 files

OpenBSD/src zhvSQcXsys/dev/pci/drm/amd/amdgpu amdgpu_uvd.c

   drm/amdgpu: Reject UVD message with dimensions above 4096

   From David Rosca
   339deb76ee4859ea973e435c9a9a4a4fefc29338 in linux-6.18.y/6.18.46
   8c9aebcdd9f46f7a14b98d6ab18574b7a48fbb08 in mainline linux
VersionDeltaFile
1.14+2-2sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
+2-21 files

OpenBSD/src 5ElznoBsys/dev/pci/drm/amd/amdgpu amdgpu_gem.c

   drm/amdgpu: validate GEM_CREATE domain combinations

   From Candice Li
   220aa2589d7321fb68d2e8597862711b5f22ae0b in linux-6.18.y/6.18.46
   5e9d136ad74df4edec67e502ce267597064d8f86 in mainline linux
VersionDeltaFile
1.20+21-0sys/dev/pci/drm/amd/amdgpu/amdgpu_gem.c
+21-01 files

OpenBSD/src VU4V0b3sys/dev/pci/drm/amd/amdgpu amdgpu_device.c

   drm/amdgpu: check ASPM on the dGPU host link

   From Yang Wang
   a082bd76c5f255ff825276f168b1143bc2fc2816 in linux-6.18.y/6.18.46
   2a9c5154a5650c09ad44ff5e1dff74754e15a3c6 in mainline linux
VersionDeltaFile
1.105+49-1sys/dev/pci/drm/amd/amdgpu/amdgpu_device.c
+49-11 files

OpenBSD/src eWSU1YLsys/dev/pci/drm/amd/amdgpu nbif_v6_3_1.c

   drm/amdgpu: fix nbif 6.3.1 l1 low power not functional

   From Yang Wang
   916e8a1550be1a96f5af2f12bd3e78ffbcd96e9b in linux-6.18.y/6.18.4
   cd688a3cb342b9f56399aa076157f1c324c15c5a in mainline linux
VersionDeltaFile
1.3+17-25sys/dev/pci/drm/amd/amdgpu/nbif_v6_3_1.c
+17-251 files

OpenBSD/src bAVpHDYsys/dev/pci/drm/amd/amdgpu amdgpu_uvd.c

   drm/amdgpu: Reject UVD message with invalid number of h265 refs

   From David Rosca
   e304c3e0d9ce251887be1f274aa0ed52219d5fd7 in linux-6.18.y/6.18.46
   9fca434208f1f9ab977feac62df8ebb1cc7ce893 in mainline linux
VersionDeltaFile
1.13+3-0sys/dev/pci/drm/amd/amdgpu/amdgpu_uvd.c
+3-01 files

OpenBSD/src XKmyWpUsys/dev/pci/drm/amd/display/dc/dce dce_transform.c, sys/dev/pci/drm/amd/display/dc/dce110 dce110_opp_csc_v.c

   drm/amd/display: fix BT.2020 YCbCr output CSC matrices for DCE

   From Nathan Lucas
   e3e6a631dcb1c32bd12c602fe51364ed5f5c3d27 in linux-6.18.y/6.18.46
   cd22349e86faf6e15e6c622d70c0efc57d43201e in mainline linux
VersionDeltaFile
1.4+4-3sys/dev/pci/drm/amd/display/dc/dce110/dce110_opp_csc_v.c
1.9+4-3sys/dev/pci/drm/amd/display/dc/dce/dce_transform.c
+8-62 files

OpenBSD/src ROWL61psys/dev/pci/drm/amd/display/dc/core dc_hw_sequencer.c

   drm/amd/display: fix BT.2020 YCbCr limited output CSC matrix

   From Nathan Lucas
   cd99fa1cbaf5a5d745b90aacc39442d10fce71d1 in linux-6.18.y/6.18.46
   2f9a5c0f018d4a1586ee892f81f1383219676415 in mainline linux
VersionDeltaFile
1.14+20-11sys/dev/pci/drm/amd/display/dc/core/dc_hw_sequencer.c
+20-111 files

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

   drm/amd/display: Fix NULL pointer dereference in amdgpu_dm_crtc_set_vblank()

   From Samuel Pitoiset
   5045fb4c70bfde36a05e0f41cf35ddfb6d85d3af in linux-6.18.y/6.18.46
   f2a1c4c6fe0a6fcde02e59dde546dba28d283635 in mainline linux
VersionDeltaFile
1.17+1-1sys/dev/pci/drm/amd/display/amdgpu_dm/amdgpu_dm_crtc.c
+1-11 files