FreeBSD/doc 7e6b303documentation/content/en/articles/committers-guide _index.adoc

committers-guide: Tidy Fixes: trailer instructions

Reviewed by:            jlduran
Reported by:            emaste, jlduran
Differential Revision:  https://reviews.freebsd.org/D55121
DeltaFile
+1-1documentation/content/en/articles/committers-guide/_index.adoc
+1-11 files

FreeBSD/src abf911ausr.sbin/pkg pkg.c config.c

pkg: Fix mirror type parsing and service discovery

Signed-off-by: Pavel Knoblokh <info at software-advisory.com.au>
Reviewed by:    emaste, imp, kevans
Fixes:          dc4581589a3 ("pkg: clean support for repositories")
Closes:         https://github.com/freebsd/freebsd-src/pull/1989
DeltaFile
+6-0usr.sbin/pkg/pkg.c
+2-1usr.sbin/pkg/config.c
+8-12 files

FreeBSD/src 2e020c8lib/libbe be.c libbe.3, lib/libbe/tests target_prog.c be_create.sh

bectl: Add -E flag to create an empty boot environment

Signed-off-by: Pat Maddox <pat at patmaddox.com>
Reviewed by:    kevans
MFC after:      1 week
Closes:         https://github.com/freebsd/freebsd-src/pull/1975
DeltaFile
+50-14lib/libbe/be.c
+14-2sbin/bectl/bectl.c
+13-1sbin/bectl/bectl.8
+7-4lib/libbe/tests/target_prog.c
+9-0lib/libbe/tests/be_create.sh
+8-1lib/libbe/libbe.3
+101-223 files not shown
+111-239 files

FreeBSD/ports 2667fbeconverters/R-cran-base64enc distinfo Makefile

converters/R-cran-base64enc: Update to 0.1-6

Reported by:    portscout
DeltaFile
+3-3converters/R-cran-base64enc/distinfo
+1-2converters/R-cran-base64enc/Makefile
+4-52 files

LLVM/project cab9517flang/lib/Semantics pointer-assignment.cpp check-call.cpp, flang/test/Semantics ignore_tkr05.f90

[flang] Disable various semantic checks for descriptor dummy args with ignore_tkr(c) (#179530)

When descriptor dummy args have ignore_tkr(c), we want to use the
descriptor unchanged. As such, disable various semantic error checks
that are normally performed on descriptor based dummy args without
ignore_tkr(c)
DeltaFile
+97-0flang/test/Semantics/ignore_tkr05.f90
+16-1flang/lib/Semantics/pointer-assignment.cpp
+6-0flang/lib/Semantics/check-call.cpp
+4-1flang/lib/Semantics/check-declarations.cpp
+123-24 files

LLVM/project 37bbeb3llvm/test/Analysis/DependenceAnalysis weak-zero-siv-large-btc.ll rdiv-large-btc.ll

[DA] Add tests for dependencies are missed due to large BTC (NFC) (#179664)

For some dependence tests, there are corner cases where `BTC <s 0`. This
patch adds test cases for those situations. Notably, in these tests,
dependencies are missed even though no overflow occurs.
DeltaFile
+106-0llvm/test/Analysis/DependenceAnalysis/weak-zero-siv-large-btc.ll
+83-0llvm/test/Analysis/DependenceAnalysis/rdiv-large-btc.ll
+69-0llvm/test/Analysis/DependenceAnalysis/weak-crossing-siv-large-btc.ll
+62-0llvm/test/Analysis/DependenceAnalysis/strong-siv-large-btc.ll
+320-04 files

LLVM/project ce9471fllvm/test/CodeGen/AMDGPU amdgcn.bitcast.1024bit.ll amdgcn.bitcast.512bit.ll, llvm/test/CodeGen/RISCV/rvv clmulh-sdnode.ll

Merge branch 'main' into users/kasuga-fj/pipeliner-handle-global-barrier
DeltaFile
+121,421-138,357llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.1024bit.ll
+43,323-44,825llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.512bit.ll
+56,025-0llvm/test/CodeGen/RISCV/rvv/clmulh-sdnode.ll
+52,760-0polly/lib/External/isl/include/isl/typed_cpp.h
+12,842-18,547llvm/test/CodeGen/AMDGPU/amdgcn.bitcast.960bit.ll
+30,890-0polly/lib/External/isl/include/isl/cpp.h
+317,261-201,7297,188 files not shown
+984,842-581,4057,194 files

FreeBSD/src 4f7336ausr.sbin/etcupdate etcupdate.sh, usr.sbin/etcupdate/tests empty_file_test.sh Makefile

etcupdate: Do not ignore empty files.

PR:             bin/292773
Reviewed by:    markj
MFC after:      1 week

Differential Revision: https://reviews.freebsd.org/D54935
DeltaFile
+86-0usr.sbin/etcupdate/tests/empty_file_test.sh
+0-4usr.sbin/etcupdate/etcupdate.sh
+1-0usr.sbin/etcupdate/tests/Makefile
+87-43 files

FreeBSD/src c1a339bsys/powerpc/aim moea64_native.c

powerpc64/pmap: No need to use r0 anymore in tlbie

The only use of `tlbie %rN, 0` is now explicit and covered in the block
above.  Since there's no need for an explicit `tlbie %rN, 0` now, drop
this convoluted piece and let the compiler decide.

While here, a trivial optimization of the old-style tlbie block, by
clearing tlbie_lock and returning, instead of going to the end which
checks again if the lock is needed.  Since it's already known to be
needed, there's no need to check again.
DeltaFile
+3-14sys/powerpc/aim/moea64_native.c
+3-141 files

FreeBSD/src e54a1efshare/man/man1 builtin.1 Makefile

builtin.1: Command list maintenance

+ link to return(1) like the other exclusive builtins
+ fix alphabetical sorting of list in rendered manual

MFC after:      3 days
DeltaFile
+1-1share/man/man1/builtin.1
+1-0share/man/man1/Makefile
+2-12 files

LLVM/project f00584dcompiler-rt/lib/asan asan_flags.cpp, compiler-rt/test/asan/TestCases initialization-bug-no-global.cpp

[asan] Disable strict init checking on AIX (#178012)

The `__cxa_atexit` interceptor is disabled for `SANITIZER_AIX` because
Clang on AIX neither uses `__cxa_atexit` nor links against a library
with such. This interceptor calls `StopInitOrderChecking()`, which is
needed to prevent false positives for the `initialization-order-fiasco`
error observed in the asan test `init-order-atexit.cpp` that uses the
`strict_init_order` flag. For now, we'll disable the `strict_init_order`
flag, but we'll look to support it in the future by implementing an
`exit` interceptor or some other alternative. With the flag disabled, we
won't update `init-order-atexit.cpp` to ensure it continues to pass and
the false positive doesn't show up.
DeltaFile
+10-0compiler-rt/test/asan/TestCases/AIX/lit.local.cfg.py
+6-0compiler-rt/test/asan/TestCases/AIX/strict-init-order-warning.cpp
+5-0compiler-rt/lib/asan/asan_flags.cpp
+3-0compiler-rt/test/asan/TestCases/initialization-bug-no-global.cpp
+24-04 files

FreeBSD/src 38a4995sys/dev/tpm tpm20.c tpm20.h

tpm20: fix suspend/resume and entropy harvesting

There were a few problem here:
  - TPM2_Shutdown results in a response that we need to either process
    or ignore, otherwise any tpm20_write or tpm20_harvest call will
    trivially hang on an `sc->pending_data_length != 0`
  - We should have a matching TPM2_Startup upon resume to restore any
    state that should have persisted
  - We must drain the harvest task before we suspend to avoid problems
    there

This commit is sufficient to avoid breaking suspend/resume.

PR:             291067
Fixes:  a2d5ed9442bb ("Introduce driver for TPM 2.0 in CRB and [...]")
Fixes:  4ee7d3b0118c ("Allow using TPM as entropy source.")
Co-authored-by: markj (D53835)
Tested by:      garga
Differential Revision:  https://reviews.freebsd.org/D55074
DeltaFile
+65-0sys/dev/tpm/tpm20.c
+1-0sys/dev/tpm/tpm20.h
+1-0sys/dev/tpm/tpm_crb.c
+1-0sys/dev/tpm/tpm_tis_core.c
+68-04 files

FreeBSD/src 5c9d988tools/build/mk OptionalObsoleteFiles.inc

OptionalObsoleteFiles: Add etc/zfs/compatibility.d

If the world is built and installed with WITHOUT_ZFS, then make
-DBATCH_DELETE_OLD_FILES delete-old-dirs will give the error:

> rmdir: /etc/zfs: Directory not empty

because /etc/zfs/compatibility.d is still there.  While we're here,
clean out /usr/share/zfs as well.

Co-authored-by: kevans
Differential Revision:  https://reviews.freebsd.org/D54758
DeltaFile
+58-0tools/build/mk/OptionalObsoleteFiles.inc
+58-01 files

LLVM/project 010f853llvm/unittests/Transforms/Utils BasicBlockUtilsTest.cpp

[BasicBlockUtilsTests] Added test case splitBlockBefore2. NFC (#179408)

Splitting a basic block BB into a pair of blocks NewBB->BB used to make
LoopInfo invalid. Commit 28a0cfa946c5 (PR #179392) fixed this issue. So
this commit just adds the test case the issue was found with.
DeltaFile
+31-0llvm/unittests/Transforms/Utils/BasicBlockUtilsTest.cpp
+31-01 files

LLVM/project 567376fllvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext/sext transform and update tests
DeltaFile
+0-49llvm/utils/profcheck-xfail.txt
+8-12llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+1-1llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+9-623 files

LLVM/project 362759allvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine zext-bool-add-sub.ll

[InstCombine][profcheck] Fix missing profdata for zext transform.
DeltaFile
+17-4llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+9-5llvm/test/Transforms/InstCombine/zext-bool-add-sub.ll
+0-1llvm/utils/profcheck-xfail.txt
+26-103 files

LLVM/project 98861bdllvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select factorization folding
DeltaFile
+12-12llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+12-132 files

LLVM/project 7ea4514llvm/lib/Transforms/InstCombine InstCombineCalls.cpp InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in clamp folds and fix verifier errors
DeltaFile
+18-5llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+5-4llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+23-103 files

LLVM/project 46a9098llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Comprehensive fix for missing profile metadata in libcall simplifications
DeltaFile
+50-22llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+50-232 files

LLVM/project e2495a8llvm/lib/Transforms/InstCombine InstCombineShifts.cpp InstCombineAddSub.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in shift-of-select folding
DeltaFile
+8-2llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+3-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+2-1llvm/lib/Transforms/InstCombine/InstructionCombining.cpp
+0-1llvm/utils/profcheck-xfail.txt
+13-44 files

LLVM/project 96703f0llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in nested select folding
DeltaFile
+6-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+1-1llvm/utils/profcheck-xfail.txt
+7-32 files

LLVM/project 617cb86llvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in logical op creation and select folding
DeltaFile
+12-0llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+8-2llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+20-33 files

LLVM/project 7d36913llvm/lib/Transforms/InstCombine InstCombineSelect.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in symmetric select folding
DeltaFile
+6-3llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+0-1llvm/utils/profcheck-xfail.txt
+6-42 files

LLVM/project c58e980llvm/lib/Transforms/Utils SimplifyLibCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in memchr-to-select folding
DeltaFile
+10-1llvm/lib/Transforms/Utils/SimplifyLibCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-22 files

LLVM/project 8900a6cllvm/lib/Transforms/InstCombine InstCombineShifts.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in lshr-to-select folding
DeltaFile
+8-1llvm/lib/Transforms/InstCombine/InstCombineShifts.cpp
+0-1llvm/utils/profcheck-xfail.txt
+8-22 files

LLVM/project 60fd696llvm/lib/Transforms/InstCombine InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in ldexp(zext) folding
DeltaFile
+10-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+10-12 files

LLVM/project 3223d9cllvm/lib/Transforms/InstCombine InstCombineMulDivRem.cpp, llvm/test/Transforms/InstCombine fmul.ll

InstCombine: Propagate profile metadata in mul(select) folding
DeltaFile
+50-8llvm/lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
+5-3llvm/test/Transforms/InstCombine/fmul.ll
+0-1llvm/utils/profcheck-xfail.txt
+55-123 files

LLVM/project 0e4966allvm/lib/Transforms/InstCombine InstCombineAndOrXor.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Set unknown profile metadata in logic-to-select folding
DeltaFile
+3-0llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
+0-1llvm/utils/profcheck-xfail.txt
+3-12 files

LLVM/project 62e8deallvm/lib/Transforms/InstCombine InstCombineSelect.cpp InstCombineCalls.cpp, llvm/utils profcheck-xfail.txt

InstCombine: Propagate profile metadata in select(ldexp) and ldexp(select) folding
DeltaFile
+11-2llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
+5-0llvm/lib/Transforms/InstCombine/InstCombineCalls.cpp
+0-1llvm/utils/profcheck-xfail.txt
+16-33 files

LLVM/project a3ffb86llvm/lib/Transforms/InstCombine InstCombineAddSub.cpp, llvm/test/Transforms/InstCombine fneg.ll

InstCombine: Propagate profile metadata in fneg(select) folding
DeltaFile
+8-4llvm/test/Transforms/InstCombine/fneg.ll
+6-0llvm/lib/Transforms/InstCombine/InstCombineAddSub.cpp
+0-1llvm/utils/profcheck-xfail.txt
+14-53 files