HardenedBSD/src 23b2b35sys/netinet6 nd6_rtr.c nd6.h, sys/powerpc/booke pmap.c

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+336-1sys/netinet6/nd6_rtr.c
+13-13sys/powerpc/include/tlb.h
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+17-6sys/powerpc/booke/pmap.c
+15-2usr.sbin/rtadvd/rtadvd.c
+13-1sys/netinet6/nd6.h
+412-2913 files not shown
+444-3419 files

HardenedBSD/src 1abf532sys/netinet6 nd6_rtr.c nd6.h, sys/powerpc/booke pmap.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+336-1sys/netinet6/nd6_rtr.c
+13-13sys/powerpc/include/tlb.h
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+17-6sys/powerpc/booke/pmap.c
+15-2usr.sbin/rtadvd/rtadvd.c
+13-1sys/netinet6/nd6.h
+412-2913 files not shown
+444-3419 files

FreeBSD/doc d40e6a8website/content/en/releases/15.1R schedule.adoc

15.1: On schedule

The code slush has started.

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1website/content/en/releases/15.1R/schedule.adoc
+1-11 files

HardenedBSD/ports 36c4f42devel/cargo-readme distinfo Makefile.crates, multimedia/dvdstyler pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+0-1,721multimedia/lebiniou-data/pkg-plist
+0-334multimedia/dvdstyler/pkg-plist
+113-129devel/cargo-readme/distinfo
+0-133multimedia/lebiniou/pkg-plist
+55-63devel/cargo-readme/Makefile.crates
+114-0multimedia/kdenlive/pkg-plist
+282-2,380359 files not shown
+1,702-3,783365 files

FreeBSD/src cddcca7sys/conf newvers.sh, usr.bin/yacc config.h

15.1: Update stable/15 to -PRERELEASE

This marks the start of the FreeBSD 15.1 release cycle; the stable/15
tree is now in "code slush".

Developers are encouraged to prioritize fixing bugs (and/or merging bug
fixes from HEAD) over new features at this time.  Commit approval from
re@ is not required but if new features introduce problems they may be
removed from the release.

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+2-2sys/conf/newvers.sh
+1-1usr.bin/yacc/config.h
+3-32 files

LLVM/project e836103llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp SIISelLowering.cpp, llvm/test/CodeGen/AMDGPU lds-link-time-codegen.ll lds-link-time-codegen-named-barrier.ll

[AMDGPU] Emit the relocation symbol for LDS and named barrier when object linking is enabled
DeltaFile
+50-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen.ll
+35-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-named-barrier.ll
+12-3llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+12-0llvm/lib/Target/AMDGPU/SIISelLowering.cpp
+109-34 files

LLVM/project 2dbe45allvm/docs AMDGPUUsage.rst, llvm/lib/Target/AMDGPU AMDGPUAsmPrinter.cpp

[AMDGPU] Add `.amdgpu.info` section for per-function metadata

AMDGPU object linking requires the linker to propagate resource usage
(registers, stack, LDS) across translation units. To support this, the compiler
must emit per-function metadata and call graph edges in the relocatable object
so the linker can compute whole-program resource requirements.

This PR introduces a `.amdgpu.info` ELF section using a tagged, length-prefixed
binary format: each entry is encoded as:

```
[kind: u8] [len: u8] [payload: <len> bytes]
```

A function scope is opened by an `INFO_FUNC` entry (containing a symbol
reference), followed by per-function attributes (register counts, flags, private
segment size) and relational edges (direct calls, LDS uses, indirect call
signatures). String data such as function type signatures is stored in a
companion `.amdgpu.strtab` section.

    [4 lines not shown]
DeltaFile
+198-0llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
+172-2llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
+116-0llvm/test/MC/AMDGPU/amdgpu-info-roundtrip.s
+111-0llvm/lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
+110-0llvm/docs/AMDGPUUsage.rst
+83-0llvm/test/CodeGen/AMDGPU/lds-link-time-codegen-typeid.ll
+790-211 files not shown
+1,203-1417 files

LLVM/project c78f80cclang/test/CIR/IR branch.cir for.cir

[CIR][NFC] Upstream IR roundtrip tests for branch and loop ops (#189006)

Add `clang/test/CIR/IR` roundtrip tests for `cir.br`, `cir.brcond`,
`cir.for`, `cir.while`, and `cir.do`.

This adds parser/printer coverage for the textual forms of these
control-flow operations.

Partially addresses #156747.
DeltaFile
+33-0clang/test/CIR/IR/branch.cir
+21-0clang/test/CIR/IR/for.cir
+17-0clang/test/CIR/IR/do-while.cir
+17-0clang/test/CIR/IR/while.cir
+88-04 files

LLVM/project 4b6231dflang/include/flang/Support Fortran.h, flang/lib/Parser Fortran-parsers.cpp

[flang][cuda] Accept attributes(value) as a CUDA Fortran extension (#192560)

This is accepted by legacy compiler and is part of some documentation
DeltaFile
+9-1flang/test/Lower/CUDA/cuda-data-attribute.cuf
+7-0flang/test/Semantics/cuf03.cuf
+5-1flang/lib/Semantics/resolve-names.cpp
+2-2flang/include/flang/Support/Fortran.h
+2-1flang/lib/Parser/Fortran-parsers.cpp
+2-0flang/lib/Semantics/check-declarations.cpp
+27-51 files not shown
+29-57 files

LLVM/project 3b1cc61flang-rt/lib/cuda pointer.cpp, flang/include/flang/Runtime/CUDA pointer.h

[flang][cuda] Add missing pointer deallocation entry point (#192566)

We were missing the deallocation entry point for pointer and wiring all
to allocatable deallocate which will trigger Invalid descriptor error.
DeltaFile
+21-0flang/test/Fir/CUDA/cuda-allocate.fir
+18-0flang-rt/lib/cuda/pointer.cpp
+13-4flang/lib/Optimizer/Transforms/CUDA/CUFAllocationConversion.cpp
+6-0flang/include/flang/Runtime/CUDA/pointer.h
+58-44 files

OpenZFS/src d88d9c9. META

Linux 7.0 compat: META

Update the META file to reflect compatibility with the 7.0
kernel.

Reviewed-by: Tony Hutter <hutter2 at llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Closes #18435
DeltaFile
+1-1META
+1-11 files

OpenZFS/src b32911btests/zfs-tests/tests/functional/replacement resilver_restart_001.ksh

ZTS: resilver_restart_001 improvements

The resilver_restart_001 test case has not been entirely reliable
when run under the CI.  Address several small issues which may be
responsible.

- Configure the pool as raidz2 instead of raidz1 since the test
  offlines two devices.  This ensures the second device is marked
  as OFFLINE instead of DEGRADED.

- Start the zpool replace after setting SCAN_SUSPEND_PROGRESS to
  close any potential race where the replace finishs to quickly.

- Wait for the offlines/onlined vdevs to fully transition to the
  expected state during the test.

- Add the true flag to sync_pool to force a TXG sync to happen
  even if it might not otherwise be required.


    [5 lines not shown]
DeltaFile
+12-7tests/zfs-tests/tests/functional/replacement/resilver_restart_001.ksh
+12-71 files

LLVM/project 2664fd3offload/test/mapping map_ordering_tgt_exit_data_always_always.c map_ordering_tgt_exit_data_delete_from.c

[NFC][OpenMP] Make map ordering tests for no host->tgt transfer more robust (#192571)

They were relying on the host value not being seen on the device, but
the value being matched was small enough for the probability of a
successful match against garbage data relatively high.

Now we just rely on the LIBOMPTARGET_DEBUG logs to ensure there wasn't
any transfer.
DeltaFile
+2-1offload/test/mapping/map_ordering_tgt_exit_data_always_always.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_delete_from.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_delete_from_assumedsize.c
+1-2offload/test/mapping/map_ordering_tgt_exit_data_from_delete_assumedsize.c
+5-74 files

LLVM/project daf814clibclc/opencl/lib/generic/atomic atomic_fetch_sub.cl atomic_fetch_add.cl

[libclc] Fix atomic_fetch_add/sub overloads for uintptr_t (#192570)

The overloads taking the memory order and/or scope parameters should
have the `_explicit` suffix, according to the OpenCL C specification.
DeltaFile
+11-13libclc/opencl/lib/generic/atomic/atomic_fetch_sub.cl
+11-13libclc/opencl/lib/generic/atomic/atomic_fetch_add.cl
+22-262 files

LLVM/project d9075b7llvm/lib/CAS MappedFileRegionArena.cpp

address review feedback

Created using spr 1.3.7
DeltaFile
+3-3llvm/lib/CAS/MappedFileRegionArena.cpp
+3-31 files

SmartOS/live 7ddd5cesrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+97-5src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+135-103 files

SmartOS/live 06c9bafsrc/vm/man vmadm.8.md, src/vm/node_modules VM.js

vm.js, vmadm: migrate-listen startup mode for bhyve live migration

Adds a first-class way to boot a bhyve VM in its live-migration
destination mode, replacing the /tmp/migrate.listen sentinel file
sidechannel with a properly scoped zonecfg attribute.

Interface:

  vmadm start <uuid> migrate-listen=true

This flows through VM.start(uuid, extra, {migrate_listen: true}, cb)
→ startVM → startZone, which (for the duration of this single
zoneadm boot call only) adds a transient `migrate_listen=true`
attribute to the zone's config via zonecfg.  The brand boot program
(usr/src/lib/brand/bhyve/zone/boot.c, illumos-joyent companion
change) reads the attribute and appends `-o migrate.listen=true` to
the bhyve argv, causing bhyve to skip bootrom + vcpu_reset and block
on its in-zone control socket waiting for import-state from the GZ
migration agent.

    [16 lines not shown]
DeltaFile
+91-3src/vm/node_modules/VM.js
+22-5src/vm/sbin/vmadm.js
+16-0src/vm/man/vmadm.8.md
+129-83 files

LLVM/project 393207allvm/lib/Target/WebAssembly WebAssemblyInstrSIMD.td WebAssemblyISelLowering.cpp, llvm/test/CodeGen/WebAssembly f16-intrinsics.ll

[WebAssembly] Improve FP16 load and store generation. (#191274)

Previously, these LL instructions were expanded to software emulation
calls, causing performance overhead in benchmarks. By making these
operations legal and providing patterns, we can generate efficient code
using the new instructions.
DeltaFile
+29-0llvm/test/CodeGen/WebAssembly/f16-intrinsics.ll
+17-0llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
+7-2llvm/lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
+2-0llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
+55-24 files

LLVM/project c03ed03llvm/lib/CAS MappedFileRegionArena.cpp, llvm/test/tools/llvm-cas mapping-size-too-small.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+22-0llvm/test/tools/llvm-cas/mapping-size-too-small.test
+7-1llvm/lib/CAS/MappedFileRegionArena.cpp
+29-12 files

LLVM/project b420af1lldb/include/lldb/Target StackFrame.h, lldb/source/API SBFrame.cpp

[lldb] Add synthetic variable support to Get*VariableList.

This patch adds a new flag to the lldb_private::StackFrame API to get variable lists: `include_synthetic_vars`.  This allows ScriptedFrame (and other future synthetic frames) to construct 'fake' variables and return them in the VariableList, so that commands like `fr v` and `SBFrame::GetVariables` can show them to the user as requested.

This patch includes all changes necessary to call the API the new way - I tried to use my best judgement on when to include synthetic variables or not and leave comments explaining the decision.

As a consequence of producing synthetic variables, this patch means that ScriptedFrame can produce Variable objects with ValueType that contains a ValueTypeExtendedMask in a high bit. This necessarily complicates some of the switch/case handling in places where we would expect to find such variables, and this patch makes best effort to address all such cases as well. From experience, they tend to show up whenever we're dealing with checking if a Variable is in a specified scope, which means we basically have to check the high bit against some user input saying "yes/no synthetic variables".

stack-info: PR: https://github.com/llvm/llvm-project/pull/181501, branch: users/bzcheeseman/stack/9
DeltaFile
+42-11lldb/source/API/SBFrame.cpp
+44-8lldb/source/Plugins/Process/scripted/ScriptedFrame.cpp
+31-11lldb/source/Commands/CommandObjectFrame.cpp
+27-8lldb/test/API/functionalities/scripted_frame_provider/TestScriptedFrameProvider.py
+16-2lldb/source/Target/StackFrame.cpp
+16-0lldb/include/lldb/Target/StackFrame.h
+176-407 files not shown
+217-5613 files

HardenedBSD/src 19887b9sbin/ifconfig Makefile

ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT

geneve(4) is netlink-only, therefore, don't build it with
WITHOUT_NETLINK_SUPPORT=1 set.

Reported by:    kp
Fixes:          688e289ee904 ("ifconfig: Add support for geneve (netlink)")
Differential Revision: https://reviews.freebsd.org/D55184
DeltaFile
+1-1sbin/ifconfig/Makefile
+1-11 files

FreeBSD/src 19887b9sbin/ifconfig Makefile

ifconfig: Do not build geneve with WITHOUT_NETLINK_SUPPORT

geneve(4) is netlink-only, therefore, don't build it with
WITHOUT_NETLINK_SUPPORT=1 set.

Reported by:    kp
Fixes:          688e289ee904 ("ifconfig: Add support for geneve (netlink)")
Differential Revision: https://reviews.freebsd.org/D55184
DeltaFile
+1-1sbin/ifconfig/Makefile
+1-11 files

OpenBSD/ports 1AdLt6Qdevel/codex/patches patch-codex-rs_modcargo-crates_v8-146_4_0_build_config_compiler_BUILD_gn patch-codex-rs_modcargo-crates_v8-146_4_0_build_toolchain_openbsd_BUILD_gn

   devel/codex: update to 0.121.0; recovery code mode; claim maintainership

   patches which cut off code mode from codex grows, and I think soon it
   will make that tool useless.

   Here an opposite approach: build v8 which is requried for code mode.

   For now it is limited only for amd64 and arm64.
VersionDeltaFile
1.1+178-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_build_config_compiler_BUILD_gn
1.1+70-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_build_toolchain_openbsd_BUILD_gn
1.1+60-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_v8_src_base_platform_platform-posix_cc
1.1+53-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_third_party_abseil-cpp_absl_base_internal_sysinfo_cc
1.13+5-45devel/codex/patches/patch-codex-rs_Cargo_toml
1.1+45-0devel/codex/patches/patch-codex-rs_modcargo-crates_v8-146_4_0_v8_BUILD_gn
+411-4555 files not shown
+1,166-6561 files

LLVM/project bbf325blldb/include/lldb lldb-enumerations.h, lldb/include/lldb/API SBVariablesOptions.h

[lldb] Scaffolding for synthetic variable support. (#181500)


This patch handles most of the scaffolding for synthetic variable support that isn't directly tied to functional changes. This patch will be used by one following patch that actually modifies the lldb_private::StackFrame API to allow us to fetch synthetic variables.

There were a couple important/interesting decisions made in this patch that should be noted:
- Any value type may be synthetic, which is why it's a mask applied over the top of another value type.
- When printing frame variables with `fr v`, default to showing synthetic variables.

This new value type mask makes some of the ValueType handling more interesting, but since nothing generates objects with this mask until the next patch, we can land the concept in this patch in some amount of isolation.
DeltaFile
+32-0lldb/include/lldb/Utility/ValueType.h
+19-2lldb/source/API/SBVariablesOptions.cpp
+17-2lldb/source/Interpreter/OptionGroupVariable.cpp
+6-0lldb/include/lldb/lldb-enumerations.h
+3-2lldb/include/lldb/Interpreter/OptionGroupVariable.h
+4-0lldb/include/lldb/API/SBVariablesOptions.h
+81-66 files

FreeBSD/src a249ddfsys/powerpc/powerpc intr_machdep.c

powerpc/intr setup: Don't check intr name for IPI

Since whether or not the irq is an IPI is passed into
powerpc_setup_intr_int(), use this as the check for IPI instead of
checking the name string.
DeltaFile
+1-1sys/powerpc/powerpc/intr_machdep.c
+1-11 files

HardenedBSD/src a249ddfsys/powerpc/powerpc intr_machdep.c

powerpc/intr setup: Don't check intr name for IPI

Since whether or not the irq is an IPI is passed into
powerpc_setup_intr_int(), use this as the check for IPI instead of
checking the name string.
DeltaFile
+1-1sys/powerpc/powerpc/intr_machdep.c
+1-11 files

HardenedBSD/src 603a29bsys/powerpc/mpc85xx platform_mpc85xx.c

mpc85xx: Support timebase sync on T-series devices

Freescale T-series QorIQ devices use a different register to twiddle the
timebase enable.
DeltaFile
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+18-61 files

FreeBSD/src 603a29bsys/powerpc/mpc85xx platform_mpc85xx.c

mpc85xx: Support timebase sync on T-series devices

Freescale T-series QorIQ devices use a different register to twiddle the
timebase enable.
DeltaFile
+18-6sys/powerpc/mpc85xx/platform_mpc85xx.c
+18-61 files

HardenedBSD/src 1fc50a4sys/powerpc/booke pmap.c, sys/powerpc/include tlb.h spr.h

powerpc/pmap: Add support for page sizes found on E6500

E6500 cores (MMUv2) support all powers-of-2 page sizes from 4k to 1TB,
not just powers of 4.  By using the other page sizes (8k, 32k, etc) we
can save on TLB1 space, saving up to ~1/3 of used TLB1 entries.
DeltaFile
+13-13sys/powerpc/include/tlb.h
+17-6sys/powerpc/booke/pmap.c
+5-0sys/powerpc/include/spr.h
+35-193 files

FreeBSD/src 1fc50a4sys/powerpc/booke pmap.c, sys/powerpc/include tlb.h spr.h

powerpc/pmap: Add support for page sizes found on E6500

E6500 cores (MMUv2) support all powers-of-2 page sizes from 4k to 1TB,
not just powers of 4.  By using the other page sizes (8k, 32k, etc) we
can save on TLB1 space, saving up to ~1/3 of used TLB1 entries.
DeltaFile
+13-13sys/powerpc/include/tlb.h
+17-6sys/powerpc/booke/pmap.c
+5-0sys/powerpc/include/spr.h
+35-193 files