FreeBSD/doc 6f9ec85website/content/ru/releng _index.adoc charter.adoc

website: RU - sync ru/releng pages

Reviewed by: andy, marck
Differential Revision: https://reviews.freebsd.org/D53883
DeltaFile
+64-69website/content/ru/releng/_index.adoc
+14-8website/content/ru/releng/charter.adoc
+78-772 files

FreeBSD/src f7725c3sys/conf NOTES

NOTES: Fix a typo in a comments

Signed-off-by: ykla yklaxds at gmail.com
Sponsored by:   Chinese FreeBSD Community
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1899
DeltaFile
+1-1sys/conf/NOTES
+1-11 files

FreeBSD/src 80ec82alib/libc/stdlib/malloc/jemalloc jemalloc.3

jemalloc: apply freebsd changes to jemalloc 5.3.0 man page

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1890
DeltaFile
+31-1lib/libc/stdlib/malloc/jemalloc/jemalloc.3
+31-11 files

FreeBSD/src 4c8bf76usr.sbin/fdread fdread.c

fdread: Fix logic bug when reading by sector

When reading by sector (because reading a whole track failed), we can
accidentally fall into the "should not happen" path, which both
(a) emits a spurious error message and (b) fouls up our position
accounting going forward.  Ensure we do not inappropriately fall into
that path.

Avoid obscuring the "short after" message in cases where it happens.

Signed-off-by: Matt Jacobson <mhjacobson at me.com>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1897
DeltaFile
+2-1usr.sbin/fdread/fdread.c
+2-11 files

FreeBSD/src bf4c748lib/libc/stdlib/malloc/jemalloc jemalloc.3

jemalloc: import jemalloc 5.3.0 man page

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1890
DeltaFile
+180-52lib/libc/stdlib/malloc/jemalloc/jemalloc.3
+180-521 files

FreeBSD/src 51f278elib/libsys lseek.2

lseek.2: SEEK_HOLE, SEEK_DATA & ENXIO conform to POSIX 2024

Signed-off-by: Ricardo Branco <rbranco at suse.de>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1891
DeltaFile
+2-1lib/libsys/lseek.2
+2-11 files

FreeBSD/src a4e3e72sys/amd64/conf NOTES

NOTES: Remove duplicate options KCSAN entries

Signed-off-by: ykla yklaxds at gmail.com
Sponsored by: Chinese FreeBSD Community
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1900
DeltaFile
+0-1sys/amd64/conf/NOTES
+0-11 files

FreeBSD/src 8494a3dlib/libefivar uefi-dputil.c

libefivar: Apply uncrustify changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the MdePkg package

Note that the link above no longer exists.  The commit message was kept
verbatim.  An original copy of the bug report can be found at:
https://web.archive.org/web/20241008121707/https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Obtained from:  https://github.com/tianocore/edk2/commit/2f88bd3a1296c522317f1c21377876de63de5be7

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+52-50lib/libefivar/uefi-dputil.c
+52-501 files

FreeBSD/src 6fa0057lib/libefivar uefi-dputil.c

libefivar: Support UefiDevicePathLib under StandaloneMm

This change added an instance of UefiDevicePathLib for StandaloneMm. It
abstracts DevicePathFromHandle function into different files for
Standalone MM and other instances to avoid linking gBS into MM_STANDALONE
drivers.

No functional change intended, as this function and its invocation are ifdefd
out.

Obtained from:  https://github.com/tianocore/edk2/commit/14a746bb6a92d59669c67a970479558734cf2383

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+0-33lib/libefivar/uefi-dputil.c
+0-331 files

FreeBSD/src 136ff60lib/libefivar uefi-dputil.c

libefivar: Replace BSD License with BSD+Patent License

https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Note that the link above no longer exists.  The commit message was kept
verbatim.  An archive of the bug report can be found at:
https://web.archive.org/web/20240714192319/https://bugzilla.tianocore.org/show_bug.cgi?id=1373

    [5 lines not shown]
DeltaFile
+2-8lib/libefivar/uefi-dputil.c
+2-81 files

FreeBSD/src ca6fef2lib/libefivar uefi-dputil.c

libefivar: Change OPTIONAL keyword usage style

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Update all use of ', OPTIONAL' to ' OPTIONAL,' for function params.

Note that the link above no longer exists.  The commit message was kept
verbatim.  An archive of the bug report can be found at:
https://web.archive.org/web/20240714185609/https://bugzilla.tianocore.org/show_bug.cgi?id=3760

Obtained from:  https://github.com/tianocore/edk2/commit/d0e2f8232a26453fc0191629ed44ff2a46ea073e

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+5-5lib/libefivar/uefi-dputil.c
+5-51 files

FreeBSD/src ef19114lib/libefivar uefi-dputil.c

libefivar: Move functions to match reference file

Move a few functions to match their locations in the reference file.
No functional change intended.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+99-101lib/libefivar/uefi-dputil.c
+99-1011 files

FreeBSD/src 9677ae7lib/libefivar uefi-dputil.c

libefivar: MdePkg: Clean up source files

1. Do not use tab characters
2. No trailing white space in one line
3. All files must end with CRLF

No functional change.

Obtained from:  https://github.com/tianocore/edk2/commit/9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+38-38lib/libefivar/uefi-dputil.c
+38-381 files

FreeBSD/src 5b7b60alib/libefivar uefi-dputil.c

libefivar: Add and comment out unused functions

This commit introduces gratuitous white space and unused functions.
This functionality is guarded/commented out.  This change is necessary
to reduce the differences with the reference file in subsequent commits.

No functional change intended.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+320-2lib/libefivar/uefi-dputil.c
+320-21 files

FreeBSD/src 5c2ae0alib/libefivar uefi-dputil.c

libefivar: Add sanity check for FilePath device path

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1497

Current implementation of IsDevicePathValid() is not enough for type
of MEDIA_FILEPATH_DP, which has NULL-terminated string in the device
path. This patch add a simple NULL character check at Length position.

Note that the link above no longer exists.  The commit message was kept
verbatim.  An archived version of the bug report can be found at:
https://web.archive.org/web/20240714191428/https://bugzilla.tianocore.org/show_bug.cgi?id=1497

Add the const keyword to avoid errors/warnings about dropping a const
qualifier.

Obtained from:  https://github.com/tianocore/edk2/commit/2f7a96d6ec13b292d6f31295f3195913921173e1

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+10-1lib/libefivar/uefi-dputil.c
+10-11 files

FreeBSD/src fd606b6lib/libefivar uefi-dputil.c

libefivar: Add a checking step

Add a checking step in DevicePathUtilities.c to verify DevicePath.
https://bugzilla.tianocore.org/show_bug.cgi?id=1372

v2: Remove ASSERT() and the redundant checking step. Update related
    description.

Note that the link above no longer exists.  The commit message was kept
verbatim.  An archived version of the bug report can be found at:
https://web.archive.org/web/20240714192353/bugzilla.tianocore.org/show_bug.cgi?id=1372

Obtained from:  https://github.com/tianocore/edk2/commit/fd02394228ee1dc2378cccfde6098c461f96dd42

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+9-10lib/libefivar/uefi-dputil.c
+9-101 files

FreeBSD/src b38f48dlib/libefivar uefi-dplib.h efivar-dp-parse.c

libefivar: Standardize #ifndef __FreeBSD__

Standardize preprocessor directives that comment out unused functions
(essentially #if 0).

No functional change intended.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+1-2lib/libefivar/uefi-dplib.h
+0-1lib/libefivar/efivar-dp-parse.c
+1-32 files

FreeBSD/src 0e614a4lib/libefivar efivar-dp-xlate.c FreeBSD-update, sys/sys efi-edk2.h

libefivar: Fix (some) typos

Fix typos in the files that are owned by the project.

Bring back a "duplicate word" removal (node node), which should have
been "node Node", the second "node" is not capitalized in the reference
file (yet).  We'll bring it back capitalized to avoid it from triggering
automated checking scripts and possibly reverting this change again.  A
few other typos were not fixed, as we strive to keep as close to the
reference files as possible, these fixes should be submitted to the
reference project (tianocore/edk2) in the not so distant future.

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1894
DeltaFile
+5-5lib/libefivar/efivar-dp-xlate.c
+1-1lib/libefivar/FreeBSD-update
+1-1lib/libefivar/efivar.h
+1-1lib/libefivar/uefi-dputil.c
+1-1sys/sys/efi-edk2.h
+9-95 files

LLVM/project 0c9c62allvm/lib/Target/PowerPC PPCISelLowering.cpp, llvm/test/CodeGen/PowerPC memCmpUsedInZeroEqualityComparison.ll

[PowerPC ]convert `(setcc (and X, 1), 0, eq)`  to  `XORI (and X, 1), 1` (#168384)

Convert `(setcc (and X, 1), 0, eq)` to `XORI (and X, 1), 1`  , it will save one instruction.
DeltaFile
+69-0llvm/lib/Target/PowerPC/PPCISelLowering.cpp
+1-2llvm/test/CodeGen/PowerPC/memCmpUsedInZeroEqualityComparison.ll
+70-22 files

LLVM/project f545c2cclang/lib/Sema SemaDeclCXX.cpp

[clang][NFC] Don't copy into a vector just to iterate in `IsInitListMemberExprInitialized` (#169385)

DeltaFile
+11-11clang/lib/Sema/SemaDeclCXX.cpp
+11-111 files

FreeBSD/doc a55c53fwebsite/content/ru/search _index.adoc search-mid.adoc

website: RU - sync ru/search pages

Reviewed by: andy, marck
Differential Revision: https://reviews.freebsd.org/D53882
DeltaFile
+36-17website/content/ru/search/_index.adoc
+8-1website/content/ru/search/search-mid.adoc
+7-1website/content/ru/search/searchhints.adoc
+51-193 files

LLVM/project 4822f49clang/lib/Analysis CFG.cpp, clang/test/Analysis lifetime-cfg-output.cpp scopes-cfg-output.cpp

[LifetimeSafety] Add parameter lifetime tracking in CFG (#169320)

This PR enhances the CFG builder to properly handle function parameters
in lifetime analysis:

1. Added code to include parameters in the initial scope during CFG
construction for both `FunctionDecl` and `BlockDecl` types
2. Added a special case to skip reference parameters, as they don't need
automatic destruction
3. Fixed several test cases that were previously marked as "FIXME" due
to missing parameter lifetime tracking

Previously, Clang's lifetime analysis was not properly tracking the
lifetime of function parameters, causing it to miss important
use-after-return bugs when parameter values were returned by reference
or address. This change ensures that parameters are properly tracked in
the CFG, allowing the analyzer to correctly identify when stack memory
associated with parameters is returned.

Fixes https://github.com/llvm/llvm-project/issues/169014
DeltaFile
+50-7clang/test/Sema/warn-lifetime-safety.cpp
+28-0clang/test/Analysis/lifetime-cfg-output.cpp
+19-1clang/lib/Analysis/CFG.cpp
+10-1clang/unittests/Analysis/FlowSensitive/LoggerTest.cpp
+2-0clang/test/Analysis/scopes-cfg-output.cpp
+109-95 files

FreeNAS/freenas d22187csrc/middlewared/middlewared/api/v26_04_0 tn_connect.py, src/middlewared/middlewared/plugins/truenas_connect update.py

Add an endpoint to retrieve ips configured with tnc against hostnames

This commit adds changes to add an endpoint which enables consumer to get a mapping against ips with their respective hostname from TNC side.
DeltaFile
+13-1src/middlewared/middlewared/plugins/truenas_connect/update.py
+9-1src/middlewared/middlewared/api/v26_04_0/tn_connect.py
+22-22 files

LLVM/project 3a86b08clang-tools-extra/clangd/test lit.cfg.py index-tools.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+14-1clang-tools-extra/clangd/test/lit.cfg.py
+2-4clang-tools-extra/clangd/test/index-tools.test
+3-1clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
+2-1clang-tools-extra/clangd/test/system-include-extractor.test
+1-0clang-tools-extra/clangd/test/CMakeLists.txt
+22-75 files

LLVM/project 4bbebd6clang-tools-extra/clangd/test index-tools.test include-cleaner-batch-fix.test

[𝘀𝗽𝗿] changes to main this commit is based on

Created using spr 1.3.7

[skip ci]
DeltaFile
+2-4clang-tools-extra/clangd/test/index-tools.test
+3-1clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
+2-1clang-tools-extra/clangd/test/system-include-extractor.test
+1-0clang-tools-extra/clangd/test/CMakeLists.txt
+8-64 files

LLVM/project 69fdf37clang-tools-extra/clangd/test index-tools.test include-cleaner-batch-fix.test

[𝘀𝗽𝗿] initial version

Created using spr 1.3.7
DeltaFile
+2-4clang-tools-extra/clangd/test/index-tools.test
+3-1clang-tools-extra/clangd/test/include-cleaner-batch-fix.test
+2-1clang-tools-extra/clangd/test/system-include-extractor.test
+1-0clang-tools-extra/clangd/test/CMakeLists.txt
+8-64 files

LLVM/project d5aa686mlir/lib/Dialect/GPU/Pipelines GPUToXeVMPipeline.cpp

[GPUToXeVMPipeline][Pipeline] Modify pipeline to add `convert-vector-to-llvm`. (#166204)

`convert-vector-to-llvm` pass applies a set of vector transformation
patterns that are not included in the standard `convert-to-llvm` pass
interface. These additional transformations are required to properly
lower MLIR vector operations. Since not all vector ops have direct
`llvm` dialect lowering, many of them must first be progressively
rewritten into simpler or more canonical vector ops, which are then
lowered to `llvm`. Therefore, running `convert-vector-to-llvm` is
necessary to ensure a complete and correct lowering of vector operations
to the `llvm` dialect.
DeltaFile
+3-0mlir/lib/Dialect/GPU/Pipelines/GPUToXeVMPipeline.cpp
+3-01 files

FreeBSD/doc b494cdfwebsite/content/ru/security _index.adoc notices.adoc

website: RU - sync ru/security pages

Reviewed by: andy, marck
Differential Revision: https://reviews.freebsd.org/D53881
DeltaFile
+86-118website/content/ru/security/_index.adoc
+9-1website/content/ru/security/notices.adoc
+8-0website/content/ru/security/advisories.adoc
+103-1193 files

LLVM/project 6a6b99aclang/test/CIR/CodeGenOpenACC loop-private-clause.cpp combined-firstprivate-clause.cpp, flang/test/Lower/OpenACC acc-reduction.f90

[acc][flang][cir] Add recipes to data entry operations (#149210)

This patch refactors the OpenACC dialect to attach recipe symbols
directly to data operations (acc.private, acc.firstprivate,
acc.reduction)
rather than to compute constructs (acc.parallel, acc.serial, acc.loop).

Motivation:
The previous design required compute constructs to carry both the recipe
symbol and the variable reference, leading to complexity. Additionally,
recipes were required even when they could be generated automatically
through MappableType interfaces.

Changes:
- Data operations (acc.private, acc.firstprivate, acc.reduction) now
  require a 'recipe' attribute referencing their respective recipe
  operations
- Verifier enforces recipe attribute presence for non-MappableType
  operands; MappableType operands can generate recipes on demand

    [21 lines not shown]
DeltaFile
+99-181mlir/lib/Dialect/OpenACC/IR/OpenACC.cpp
+74-74flang/test/Lower/OpenACC/acc-reduction.f90
+72-72clang/test/CIR/CodeGenOpenACC/loop-private-clause.cpp
+72-72clang/test/CIR/CodeGenOpenACC/combined-firstprivate-clause.cpp
+72-72clang/test/CIR/CodeGenOpenACC/combined-private-clause.cpp
+72-72clang/test/CIR/CodeGenOpenACC/compute-firstprivate-clause.cpp
+461-54334 files not shown
+1,126-1,16140 files

LLVM/project 44cffbellvm/lib/Target/RISCV RISCVISelLowering.cpp, llvm/test/CodeGen/RISCV fma-combine.ll

[RISCV] Propagate SDNode flags when combining `(fmul (fneg X), ...)` (#169460)

In #157388, we turned `(fmul (fneg X), Y)` into `(fneg (fmul X, Y))`.
However, we forgot to propagate SDNode flags, specifically fast math
flags, from the original FMUL to the new one. This hinders some of the
subsequent (FMA) DAG combiner patterns that relied on the contraction
flag and as a consequence, missed some of the opportunities to generate
negation FMA instructions like `fnmadd`.

This patch fixes this issue by propagating the flags.

---------

Co-authored-by: Craig Topper <craig.topper at sifive.com>
DeltaFile
+56-0llvm/test/CodeGen/RISCV/fma-combine.ll
+2-1llvm/lib/Target/RISCV/RISCVISelLowering.cpp
+58-12 files