FreeBSD/doc 1036728website/content/ru/platforms ppc.adoc

website/ru: Update platforms/ppc.adoc

Update to EN 9d7e125935722c62fb2d26fa8ac3ed489808ab92
DeltaFile
+17-17website/content/ru/platforms/ppc.adoc
+17-171 files

LLVM/project 4500e53llvm/lib/Target/AArch64 AArch64PointerAuth.cpp, llvm/test/CodeGen/AArch64 pauth-lr-tail-call-fpdiff.ll swifttail-ptrauth.ll

[AArch64] Skip FrameDestroy DW_CFA_AARCH64_negate_ra_state_with_pc (#198677)

The toggle semantics of DW_CFA_AARCH64_negate_ra_state_with_pc are
evaluated over a linear stream of CFI opcodes, rather than along control
flow edges, making it impossible to faithfully represent the RA state
across all CFG paths for functions with non-trivial block layouts (for
example hot-cold-splitting, or doubly-shrinkwrapped functions with
multiple independent frames).

libunwind works around this by recording the signing address at the
FrameSetup site, and not validating that the CFI state has toggled back
to "unsigned" after authentication. We can therefore omit the
FrameDestroy emission, treating the marker solely as a marker for the
signing site. This holds so long as each function has at most one
signing location, which is currently guaranteed since shrinkwrapping
does not yet create functions with more than one frame.

DW_CFA_AARCH64_set_ra_state is the correct long-term fix, but cannot be
used exclusively due to unwinder compatability concerns.

    [4 lines not shown]
DeltaFile
+36-0llvm/lib/Target/AArch64/AArch64PointerAuth.cpp
+0-24llvm/test/CodeGen/AArch64/pauth-lr-tail-call-fpdiff.ll
+0-9llvm/test/CodeGen/AArch64/swifttail-ptrauth.ll
+36-333 files

LLVM/project 1c14574clang/lib/CIR/Dialect/Transforms/TargetLowering CIRABIRewriteContext.cpp CIRABIRewriteContext.h, clang/test/CIR/Transforms/abi-lowering expand-struct-arg.cir

[CIR] Implement ArgKind::Expand in CallConvLowering

Struct arguments classified Expand were rejected with an errorNYI in
CallConvLowering; the System V x86-64 ABI passes small structs by
flattening them into one scalar register argument per field, so the
classifier produced Expand but the rewriter could not honor it.

Lower Expand on both sides of the call.  buildNewArgTypes flattens the
struct wire type into one argument per member, and updateArgAttrs emits a
matching empty attribute dict per field.  In the callee, insertArgCoercion
splits the single struct block argument into N scalar field block
arguments and stores each field straight into the parameter's own alloca
(the CIRGen spill slot), erasing the original whole-struct store so no
scratch alloca or reload is introduced; a parameter whose spill slot was
already removed by DCE is only reshaped, with no field stores.  At the call
site,
rewriteCallSite decomposes the struct operand into its fields, reading each
member directly from the source alloca (get_member + load) when the operand
is a load of an alloca, and falling back to cir.extract_member on the value

    [7 lines not shown]
DeltaFile
+232-87clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.cpp
+280-0clang/test/CIR/Transforms/abi-lowering/expand-struct-arg.cir
+2-2clang/lib/CIR/Dialect/Transforms/TargetLowering/CIRABIRewriteContext.h
+514-893 files

LLVM/project 6b8b41bclang/include/clang/Basic TargetInfo.h, clang/lib/Basic/Targets AMDGPU.h AMDGPU.cpp

clang: Replace getTargetID API with isProcessorName

The "target ID" naming is an AMDGPUism. Replace the getTargetID query
with an isProcessorName predicate so the target reports whether the
string should be considered a match. This makes alias handling more
natural than checking for exact match, and avoids an unnecessary
parse of the target ID.

Co-authored-by: Claude (Opus 4.8) <noreply at anthropic.com>
DeltaFile
+5-9clang/lib/Basic/Targets/AMDGPU.h
+4-4clang/include/clang/Basic/TargetInfo.h
+6-2clang/lib/Basic/Targets/AMDGPU.cpp
+1-2clang/lib/Sema/SemaAMDGPU.cpp
+16-174 files

LLVM/project c5cf859llvm/include/llvm/Transforms/IPO Instrumentor.h, llvm/lib/Transforms/IPO Instrumentor.cpp

[Instrumentor] Add subtype IDs to complement type IDs for vectors/arrays

If the type of an argument passed to the instrumentation is a vector or
array, we still want to filter on the underlying type, and the
instrumentation might also need to know. Thus, we can now pass a subtype
ID, which is -1 except if it's a vector or array, then it's the element
type ID. Structs need to be handled differently.
DeltaFile
+90-11llvm/lib/Transforms/IPO/Instrumentor.cpp
+22-22llvm/test/Instrumentation/Instrumentor/default_rt.c
+39-0llvm/test/Instrumentation/Instrumentor/numeric_subtypeid.ll
+21-0llvm/include/llvm/Transforms/IPO/Instrumentor.h
+20-0llvm/test/Instrumentation/Instrumentor/default_config.json
+10-10llvm/test/Instrumentation/Instrumentor/module_and_globals.ll
+202-439 files not shown
+257-5515 files

FreeBSD/src 4726b80sys/ofed/drivers/infiniband/core ib_umem_odp.c ib_addr.c, sys/ofed/include/rdma ib_umem_odp.h

OFED: Various changes from Linux 4.20

This contains changes from the following Linux commits:

627212c9d49b RDMA/core: Replace open-coded variant of get_device
adee9f3f3bbb RDMA/core: Depend on device_add() to add device attributes
954a8e3aea87 RDMA/cma: Protect cma dev list with lock
722c7b2bfead RDMA/{cma, core}: Avoid callback on rdma_addr_cancel()
f9d08f1e1939 RDMA/core: Rate limit MAD error messages
e1f540c3ed0e RDMA/core: Define client_data_lock as rwlock instead of spinlock
2d65f49ff961 RDMA/core: Use simpler spin lock irq API from blocking context
4512acd0d34c RDMA/core: Remove context entries from list while unregistering device
f7b65d9bf2db RDMA/core: Use simplified list_for_each
93688ddbe1da RDMA/core: No need to protect kfree with spin lock and semaphore
50704e039ab1 RDMA/umem: Restore lockdep check while downgrading lock
eb93c82ed8c7 RDMA/core: Document QP @event_handler function
4269024639f6 RDMA/core: Document CM @event_handler function
77addc524473 RDMA/core: Rename rdma_copy_addr to rdma_copy_src_l2_addr
a362ea1d9e1a RDMA/core: Introduce and use rdma_set_src_addr() between IPv4 and IPv6

    [20 lines not shown]
DeltaFile
+285-332sys/ofed/drivers/infiniband/core/ib_umem_odp.c
+222-95sys/ofed/drivers/infiniband/core/ib_addr.c
+49-51sys/ofed/drivers/infiniband/core/ib_umem.c
+41-34sys/ofed/include/rdma/ib_umem_odp.h
+37-35sys/ofed/drivers/infiniband/core/ib_mad.c
+28-35sys/ofed/drivers/infiniband/core/ib_sysfs.c
+662-58211 files not shown
+779-67117 files

FreeBSD/src 1d99fedsys/ofed/drivers/infiniband/core ib_cma.c ib_verbs.c, sys/ofed/include/rdma ib_addr.h ib_verbs.h

OFED: Various changes from Linux 4.16

This contains changes from the following Linux commits:

c5c4e40e90b5 IB/CM: Change sgid to IB GID when handling CM request
54a6d63f14bd IB/mlx4: Potential buffer overflow in _mlx4_set_path()
56d0a7d9a0f0 IB/core: Depend on IPv6 stack to resolve link local address for RoCEv2
1060f8653414 IB/{core/cm}: Fix generating a return AH for RoCEE
981b5a2384b7 RDMA/cma: Introduce and use helper functions to init work
c42388053758 RDMA/cma: Avoid setting path record type twice
4367ec7fe2dd RDMA/cma: Simplify netdev check
151ed9d70097 IB/core: Refactor to avoid unnecessary check on GID lookup miss
b0dd0d335364 IB/core: Avoid unnecessary type cast
86937fcd6ed2 RDMA/core: Avoid redundant memcpy in rdma_addr_find_l2_eth_by_grh
1c43d5d308f0 IB/core: Avoid exporting module internal ib_find_gid_by_filter()
dbb12562f7c2 IB/{core, ipoib}: Simplify ib_find_gid to search only for IB link layer
f6bdb14267ba IB/{core, umad, cm}: Rename ib_init_ah_from_wc to ib_init_ah_attr_from_wc
4ad6a0245ec8 IB/{core, cm, cma, ipoib}: Rename ib_init_ah_from_path to ib_init_ah_attr_from_path
33f93e1ebcf5 IB/cm: Fix sleeping while spin lock is held

    [37 lines not shown]
DeltaFile
+140-85sys/ofed/drivers/infiniband/core/ib_cma.c
+105-95sys/ofed/drivers/infiniband/core/ib_verbs.c
+94-64sys/ofed/drivers/infiniband/core/ib_cm.c
+8-33sys/ofed/include/rdma/ib_addr.h
+21-15sys/ofed/include/rdma/ib_verbs.h
+16-12sys/ofed/drivers/infiniband/core/ib_cq.c
+384-30412 files not shown
+475-36718 files

FreeBSD/src 6a75471sys/ofed/drivers/infiniband/core ib_cache.c ib_verbs.c

OFED: Various changes from Linux 4.19

Many of these changes deal with shifting from fetcing SGID attributes
via an index in drivers to including references to SGID attributes in
other structures passed to driver callbacks which can be used directly
avoiding the need for fetching attributes via lookup functions.  I had
to fixup the ROCE GID management code directly as the version in
FreeBSD is very different from Linux.

I also tweaked the change from commit
475c8de7bf2dc86d9806709a04e9c8f524d4ec32 to use a goto to reduce diffs
with upstream to minimize conflicts when merging upstream changes.

This contains changes from the following Linux commits:

a1a4caeebac9 IB/core: Do not set the gid type when reserving default entries
1c36cf912ad1 IB/core: Store default GID property per-table instead of per-entry
1dfce2945771 IB: Replace ib_query_gid/ib_get_cached_gid with rdma_query_gid
83f6f8d29dd3 IB/core: Make rdma_find_gid_by_filter support all protocols

    [57 lines not shown]
DeltaFile
+445-288sys/ofed/drivers/infiniband/core/ib_cache.c
+340-75sys/ofed/drivers/infiniband/core/ib_verbs.c
+189-194sys/ofed/drivers/infiniband/core/ib_cma.c
+76-60sys/ofed/drivers/infiniband/core/ib_cm.c
+46-60sys/ofed/drivers/infiniband/core/ib_sa_query.c
+31-37sys/ofed/drivers/infiniband/core/ib_sysfs.c
+1,127-71442 files not shown
+1,433-1,16848 files

FreeBSD/src cd567a2sys/dev/mlx4/mlx4_ib mlx4_ib_main.c mlx4_ib_qp.c, sys/ofed/drivers/infiniband/core ib_cache.c ib_cm.c

OFED: Various changes from Linux 4.18

This contains changes from the following Linux commits:

e822ff213fe6 IB/cm: Store and restore ah_attr during CM message processing
0e225dcb7681 IB/cm: Store and restore ah_attr during LAP msg processing
a5c57d327272 IB/cm: Avoid AV ah_attr overwriting during LAP message handling
724631a9c6e9 IB/core: Introduce and use rdma_gid_table()
25e62655c793 IB/core: Reduce the places that use zgid
08bb558ac11a IB/core: Make testing MR flags for writability a static inline function

Commit 0e225dcb7681 was partially merged previously as
cm_init_av_for_lap() already existed in FreeBSD matching the version
from the Linux commit.

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+29-15sys/ofed/drivers/infiniband/core/ib_cache.c
+24-11sys/ofed/drivers/infiniband/core/ib_cm.c
+1-10sys/ofed/drivers/infiniband/core/ib_umem.c
+3-2sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
+1-1sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
+1-1sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
+59-401 files not shown
+60-407 files

FreeBSD/src b6354f0sys/ofed/include/rdma ib_verbs.h

OFED: Calculate UDP source port based on flow label or lqpn/rqpn

Calculate and set UDP source port based on the flow label. If flow label
is not defined in GRH then calculate it based on lqpn/rqpn.

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Obtained from:  Linux commit 18451db82ef7f943c60a7fce685f16172bda5106
Sponsored by:   Chelsio Communications
DeltaFile
+17-0sys/ofed/include/rdma/ib_verbs.h
+17-01 files

FreeBSD/src 45c0d87sys/dev/bnxt/bnxt_re ib_verbs.c, sys/dev/mlx4/mlx4_ib mlx4_ib_ah.c

OFED: A few channges from Linux 5.0

The main point of these changes is the last commit adding a couple of
helper functions used in ROCE drivers.

This contains changes from the following Linux commits:

a70c07397fd8 RDMA: Introduce and use GID attr helper to read RoCE L2 fields
8f9748602491 IB/cm: Reduce dependency on gid attribute ndev check
adb4a57a7a1d RDMA/cma: Use rdma_read_gid_attr_ndev_rcu to access netdev
b4fb4cc5ba83 RDMA/cma: Fix unbalanced cm_id reference count during address resolve
d5665a21250e RDMA/core: Add hash functions to calculate RoCEv2 flowlabel and UDP source port

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+44-0sys/ofed/include/rdma/ib_verbs.h
+32-0sys/ofed/drivers/infiniband/core/ib_cache.c
+12-9sys/dev/bnxt/bnxt_re/ib_verbs.c
+12-2sys/ofed/drivers/infiniband/core/ib_cma.c
+5-3sys/dev/mlx4/mlx4_ib/mlx4_ib_ah.c
+6-2sys/dev/mlx5/mlx5_ib/mlx5_ib_main.c
+111-164 files not shown
+123-2010 files

FreeBSD/src f08a980sys/dev/cxgbe/iw_cxgbe qp.c, sys/dev/mlx4/mlx4_ib mlx4_ib_main.c

OFED: Malloc API cleanups from Linux 4.18

This contains changes from the following Linux commits:

acafe7e30216 treewide: Use struct_size() for kmalloc()-family
fad953ce0b22 treewide: Use array_size() in vzalloc()
6396bb221514 treewide: kzalloc() -> kcalloc()
6da2ec56059c treewide: kmalloc() -> kmalloc_array()

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+11-7sys/dev/mthca/mthca_allocator.c
+10-6sys/ofed/drivers/infiniband/core/ib_umem_odp.c
+7-5sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c
+6-4sys/ofed/drivers/infiniband/core/ib_cache.c
+5-3sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_cm.c
+4-4sys/dev/cxgbe/iw_cxgbe/qp.c
+43-2918 files not shown
+84-6624 files

FreeBSD/src 75cde38sys/ofed/drivers/infiniband/core ib_cache.c ib_sa_query.c

OFED: Various changes from Linux 4.17

This contains changes from the following Linux commits:

a3b641af72ba RDMA/CM: move rdma_id_private to cma_priv.h
6612b4983f7e IB/core: Fix comments of GID query functions
b26c4a1138df IB/{core, ipoib}: Simplify ib_find_gid() for unused ndev
5ac08a341303 IB/cma: Use rdma_protocol_roce() and remove cma_protocol_roce_dev_port()
a9c06aeba997 IB/core: Remove rdma_resolve_ip_route() as exported symbol
a22af59ea9a5 IB/cm: Add and use a helper function to add cm_id's to the port list
cb12a8e2fa5f IB/cm: Introduce and use helper function to get cm_port from path
0a5141593567 IB/core: Refactor ib_init_ah_attr_from_path() for RoCE
e41a7c41947d IB/core: Move rdma_addr_find_l2_eth_by_grh to core_priv.h
98f1f4e0ed26 IB/core: Refer to RoCE port property instead of GID table property
114cc9c4b182 IB/cma: Resolve route only while receiving CM requests
9137108cc3d6 RDMA/rdma_cm: Fix use after free race with process_one_req
190fb9c4d130 IB/core: Refer to RoCE port property to decide building cache
22d24f75a193 IB/core: Search GID only for IB link layer
4ab7cb4bf362 IB/core: Refer to RoCE port property instead of GID table property

    [21 lines not shown]
DeltaFile
+307-246sys/ofed/drivers/infiniband/core/ib_cache.c
+104-90sys/ofed/drivers/infiniband/core/ib_sa_query.c
+48-100sys/ofed/drivers/infiniband/core/ib_addr.c
+95-0sys/ofed/drivers/infiniband/core/cma_priv.h
+10-67sys/ofed/drivers/infiniband/core/ib_cma.c
+39-14sys/ofed/drivers/infiniband/core/ib_cm.c
+603-51722 files not shown
+709-76428 files

FreeBSD/src eaf9f1asys/ofed/drivers/infiniband/core ib_verbs.c

OFED: Use _ib_modify_qp to implement ib_modify_qp

This was missed when merging in ib_modify_qp_with_udata() previously.

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Fixes:          b633e08c705f ("ibcore: Kernel space update based on Linux 5.7-rc1.")
Sponsored by:   Chelsio Communications
DeltaFile
+1-9sys/ofed/drivers/infiniband/core/ib_verbs.c
+1-91 files

FreeBSD/src 38d9ce1sys/dev/mlx4/mlx4_ib mlx4_ib_mad.c, sys/ofed/drivers/infiniband/core ib_cma.c ib_roce_gid_mgmt.c

OFED: Various changes from Linux 4.10

This contains changes from the following Linux commits:

850d8fd76507 IB/mlx4: Handle IPv4 header when demultiplexing MAD
a0b3455fcb2d IB/core: Remove debug prints after allocation failure
74226649f42d IB/ipoib: Remove and fix debug prints after allocation failure
870b28524552 IB/mthca: Remove debug prints after allocation failure
aa6aae38f7fb IB/core: Release allocated memory in cache setup failure
f73a1dbc45a5 infiniband: remove WARN that is not kernel bug
5f24410408fd rdma_cm: add rdma_consumer_reject_data helper function
5042a73d3e9d rdma_cm: add rdma_is_consumer_reject() helper function
d3f4aadd614c RDMA/core: Add the function ib_mtu_int_to_enum

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+32-0sys/ofed/include/rdma/ib_verbs.h
+29-0sys/ofed/drivers/infiniband/core/ib_cma.c
+21-1sys/dev/mlx4/mlx4_ib/mlx4_ib_mad.c
+4-14sys/ofed/drivers/infiniband/core/ib_roce_gid_mgmt.c
+17-0sys/ofed/include/rdma/rdma_cm.h
+9-7sys/ofed/drivers/infiniband/core/ib_verbs.c
+112-2212 files not shown
+132-8018 files

FreeBSD/src 687057esys/ofed/drivers/infiniband/core ib_cm.c ib_uverbs_marshall.c, sys/ofed/include/rdma ib_verbs.h opa_addr.h

OFED: Various changes from Linux 4.14

This contains changes from the following Linux commits:

1cb2fc0db764 IB/mad: Change slid in RMPP recv from 16 to 32 bits
7e93e2cb835c IB/IPoIB: Increase local_lid to 32 bits
d541e45500bd IB/core: Convert ah_attr from OPA to IB when copying to user
6b3c0e6e6d5a IB/CM: Create appropriate path records when handling CM request
e92aa00a5189 IB/CM: Add OPA Path record support to CM
7db20ecd1d97 IB/core: Change wc.slid from 16 to 32 bits
db58540b021a IB/core: Change port_attr.sm_lid from 16 to 32 bits
582faf3150f5 IB/core: Change port_attr.lid size from 16 to 32 bits
ac3a949fb2ff IB/CM: Set appropriate slid and dlid when handling CM request
06f8174a9782 IB/core: Protect sysfs entry on ib_unregister_device
62ede7779904 Add OPA extended LID support
13c19222889d IB/rdmavt, hfi1, qib: Modify check_ah() to account for extended LIDs
d98bb7f7e6fa IB/hfi1: Determine 9B/16B L2 header type based on Address handle
dcc9881e6767 RDMA/(core, ulp): Convert register/unregister event handler to be void
f808c13fd373 lib/interval_tree: fast overlap detection

    [4 lines not shown]
DeltaFile
+131-28sys/ofed/drivers/infiniband/core/ib_cm.c
+46-5sys/ofed/include/rdma/ib_verbs.h
+43-5sys/ofed/drivers/infiniband/core/ib_uverbs_marshall.c
+39-2sys/ofed/include/rdma/opa_addr.h
+16-8sys/ofed/drivers/infiniband/core/ib_sa_query.c
+8-15sys/ofed/drivers/infiniband/core/ib_cache.c
+283-6319 files not shown
+341-11525 files

FreeBSD/src ba5c6casys/ofed/drivers/infiniband/core ib_addr.c ib_umem_odp.c

OFED: Various changes from Linux 4.13

This contains changes from the following Linux commits:

28b5b3a23ba6 RDMA/core: Document confusing code
5fff41e1f89d IB/core: Fix race condition in resolving IP to MAC
b1a89257f28e IB/umem: update to new mmu_notifier semantic

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+45-11sys/ofed/drivers/infiniband/core/ib_addr.c
+0-19sys/ofed/drivers/infiniband/core/ib_umem_odp.c
+13-0sys/ofed/drivers/infiniband/core/ib_verbs.c
+58-303 files

FreeBSD/src 85893a8sys/dev/bnxt/bnxt_re ib_verbs.c main.c, sys/ofed/drivers/infiniband/core ib_umem_rbtree.c ib_umem_odp.c

OFED: Various changes from Linux 4.15

This contains changes from the following Linux commits:

c0b64f58e8d4 RDMA/cma: Avoid triggering undefined behavior
c0348eb06968 IB: Let ib_core resolve destination mac address
5a3dc3237243 IB/cm: Fix memory corruption in handling CM request
fec99ededf6b RDMA/umem: Avoid partial declaration of non-static function
19b57c6c4499 IB/core: Convert OPA AH to IB for Extended LIDs only
e08ce2e82b2f RDMA/core: Make function rdma_copy_addr return void
4190b4e96954 RDMA/core: Rename kernel modify_cq to better describe its usage

Tested by:      Wafa Hamzah <wafah at nvidia.com> (mlx5_ib)
Tested by:      John Baldwin <jhb at FreeBSD.org> (iw_cxgbe)
Sponsored by:   Chelsio Communications
DeltaFile
+0-111sys/ofed/drivers/infiniband/core/ib_umem_rbtree.c
+72-0sys/ofed/drivers/infiniband/core/ib_umem_odp.c
+1-69sys/dev/bnxt/bnxt_re/ib_verbs.c
+0-22sys/dev/bnxt/bnxt_re/main.c
+13-9sys/ofed/drivers/infiniband/core/ib_addr.c
+9-10sys/ofed/drivers/infiniband/core/ib_cma.c
+95-22113 files not shown
+123-27119 files

FreeBSD/src 774a662sys/dev/mlx4/mlx4_ib mlx4_ib_ah.c, sys/ofed/drivers/infiniband/core ib_sa_query.c ib_verbs.c

OFED: Various changes from Linux 4.12

Most of the changes involve renaming InfiBand address handles (AH) to
RDMA address handles including renaming various types and functions.
Address handles now also include type-specific fields and a set of
wrapper accessor functions for getting and setting fields.  For some
of the type and function renames, drivers in sys/dev had to be updated
directly (typically via sed).

This contains changes from the following Linux commits:

f039f44fc331 IB/core: Add support for draining IB_POLL_DIRECT completion queues
fedd9e1f7582 IB/cq: Don't process more than the given budget
403cd12e2cf7 IB/umem: Add contiguous ODP support
0008b84ea9af IB/umem: Add support to huge ODP
3e7e1193e28a IB: Replace ib_umem page_size by page_shift
cb8637660ae8 IB/SA: Move functions update_sm_ah() and ib_sa_event()
680562b56939 IB/SA: Remove unwanted braces
dbb6c91fd8e0 IB/SA: Add braces when using sizeof

    [38 lines not shown]
DeltaFile
+669-208sys/ofed/drivers/infiniband/core/ib_sa_query.c
+260-33sys/ofed/include/rdma/ib_sa.h
+218-27sys/ofed/include/rdma/ib_verbs.h
+65-65sys/ofed/drivers/infiniband/core/ib_verbs.c
+38-86sys/ofed/drivers/infiniband/core/ib_cma.c
+69-53sys/dev/mlx4/mlx4_ib/mlx4_ib_ah.c
+1,319-47260 files not shown
+2,275-1,15666 files

FreeBSD/src 8d57de3sys/dev/mlx4/mlx4_ib mlx4_ib_qp.c, sys/ofed/drivers/infiniband/core ib_cma.c ib_cache.c

OFED: Various changes from Linux 4.11

This contains changes from the following Linux commits:

55efcfcd7776 RDMA/core: Fix incorrect structure packing for booleans
aaaca121c7cf RDMA/core: add port state cache
9e2c3f1c7f3e RDMA/core: export ib_get_cached_port_state
93b1f29de71f RDMA/cma: resolve to first active ib port
d43dbacfc063 IB/core: Change the type of an ib_dma_alloc_coherent() argument
6532c380bf40 IB/core: Remove ib_dma_*map_single_attrs()
0bbb3b7496ea IB/rxe, IB/rdmavt: Use dma_virt_ops instead of duplicating it
f57e8ca50e23 IB/mad: Add port_num to error message
828f6fa65ce7 IB/umem: Release pid in error and ODP flow
19b752a19dce IB/cma: Allow port reuse for rdma_id
21d6454a392d RDMA/core: create struct ib_port_cache
25bf14d6f589 IB/core: Add implicit MR flag
d9d0674c0f8a IB/umem: Indicate that process is being terminated
d07d1d70ce1a IB/umem: Update on demand page (ODP) support
a748d60df32e IB/mlx4: Take source GID by index from HW GID table

    [9 lines not shown]
DeltaFile
+147-14sys/ofed/drivers/infiniband/core/ib_cma.c
+22-126sys/ofed/include/rdma/ib_verbs.h
+69-76sys/ofed/drivers/infiniband/core/ib_cache.c
+81-11sys/ofed/drivers/infiniband/core/ib_umem_odp.c
+32-24sys/dev/mlx4/mlx4_ib/mlx4_ib_qp.c
+17-4sys/ofed/include/rdma/ib_umem_odp.h
+368-2556 files not shown
+410-26512 files

LLVM/project 7c6c2aflibc/src/__support/FPUtil/x86_64 fenv_x87_utils.h, libc/src/__support/macros sanitizer.h

[libc] Prefix sanitizer macros with LIBC_ (#205002)

Since these macros leak into user code via libc/shared/math.h,
prefix them with LIBC_ to not cause collisions.

Change created with:

    rg -l MSAN_UNPOISON libc | xargs sed -i '' \
        -e 's/MSAN_UNPOISON/LIBC_MSAN_UNPOISON/g'
    rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
        's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'
    rg -l ASAN_POISON_MEMORY_REGION libc | xargs sed -i '' -e \
        's/ASAN_POISON_MEMORY_REGION/LIBC_ASAN_POISON_MEMORY_REGION/g'

No behavior change.
DeltaFile
+7-6libc/src/__support/macros/sanitizer.h
+4-4libc/src/sys/socket/linux/recvmsg.cpp
+3-3libc/src/__support/FPUtil/x86_64/fenv_x87_utils.h
+2-2libc/test/src/string/memory_utils/memory_check_utils.h
+2-2libc/src/sys/socket/linux/recvfrom.cpp
+2-2libc/src/unistd/linux/pipe.cpp
+20-198 files not shown
+30-2914 files

LLVM/project ec22c2eclang/test/AST ast-dump-openmp-teams-distribute-parallel-for.c ast-dump-openmp-teams-distribute-parallel-for-simd.c

Merge branch 'main' into users/jdoerfert/instrumentor_subtype_ids
DeltaFile
+0-2,193clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for.c
+0-2,193clang/test/AST/ast-dump-openmp-teams-distribute-parallel-for-simd.c
+0-1,970clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for.c
+0-1,970clang/test/AST/ast-dump-openmp-target-teams-distribute-parallel-for-simd.c
+0-1,233clang/test/AST/ast-dump-openmp-teams-distribute-simd.c
+0-1,233clang/test/AST/ast-dump-openmp-teams-distribute.c
+0-10,792123 files not shown
+1,779-20,082129 files

OpenZFS/src 99ab859module/zfs metaslab.c

Optimize metaslab_set_selected_txg()

I don't think it makes much sense to choose for eviction between
metaslabs selected in the same TXG.  Considering that we also don't
evict them for at least 32 TXG, the difference should be in a noise.
Just skip the metaslab bumping if we already done it in this TXG.

Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Reviewed-by: Rob Norris <rob.norris at truenas.com>
Signed-off-by: Alexander Motin <alexander.motin at TrueNAS.com>
Closes #18669
DeltaFile
+3-0module/zfs/metaslab.c
+3-01 files

FreeNAS/freenas f2d0e70src/middlewared/middlewared/api/v27_0_0 vm.py, src/middlewared/middlewared/plugins/vm info.py __init__.py

Add vm.get_guest_network_interfaces API method

Uses libvirt_qemu.qemuAgentCommand to query the QEMU guest agent
virtio-serial channel, returning the guest's network interfaces
without requiring IP-layer connectivity to the guest.
DeltaFile
+38-1src/middlewared/middlewared/plugins/vm/info.py
+27-0src/middlewared/middlewared/api/v27_0_0/vm.py
+18-0src/middlewared/middlewared/plugins/vm/__init__.py
+83-13 files

LLVM/project 42ff45bclang/docs ghlinks.py conf.py, lldb/docs conf.py

[docs] Create utils/docs (#203962)

llvm-project is home to many sphinx documentation sites, each with
configuration quirks and bespoke extensions.

The sphinx config model makes sharing code somewhat difficult. There
are options like sphinx-multiproject, but some of our docs builds are
out of the source tree while some are done out of the binary tree, so
the multiproject configuration itself would need to be generated. It
also would impose more uniformity around extensions than required.

This change instead creates a python package at utils/docs/llvm_sphinx
and makes it available to all sphinx-build processes via PYTHONPATH.
Each conf.py does not modify its own sys.path because not all builds are
out of the source tree, so there isn't a stable relative path to use to
refer to the utils/docs/ directory.

Type checking via pyright in new package is pinned to being python 3.8
compatible.

    [28 lines not shown]
DeltaFile
+0-273clang/docs/ghlinks.py
+151-0utils/docs/llvm_sphinx/ext/ghlinks/__init__.py
+71-0utils/docs/llvm_sphinx/__init__.py
+12-44llvm/docs/conf.py
+6-39lldb/docs/conf.py
+9-30clang/docs/conf.py
+249-38623 files not shown
+423-64929 files

FreeNAS/freenas a2d4d3d

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas ef45f3bsrc/middlewared/middlewared main.py, src/middlewared/middlewared/etc_files/local/nginx nginx.conf.mako

NAS-141545 / 27.0.0-BETA.1 / proxy nginx-middleware over a private unix socket (#19189)

This commit changes our proxy settings for nginx so that UI / API
traffic goes to a www-data-owned unix socket instead of loopback
127.0.0.1:6000.

Connections on the unix socket are classified as TCP origins from the
X-Real-Remote-* headers, so auth behavior is unchanged. Loopback :6000
is now bound only on vendored systems. HA heartbeat is unaffected.
DeltaFile
+71-0tests/unit/test_origin.py
+26-2src/middlewared/middlewared/main.py
+13-8src/middlewared/middlewared/etc_files/local/nginx/nginx.conf.mako
+17-0src/middlewared/middlewared/utils/origin.py
+3-0src/middlewared/middlewared/utils/__init__.py
+130-105 files

FreeBSD/doc 8f53df8website/content/ru/releases/15.1R upgrading.adoc

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

Update to EN 4df494ffc469a8e3b8e4f760dc76e8223529143b
DeltaFile
+5-4website/content/ru/releases/15.1R/upgrading.adoc
+5-41 files

NetBSD/pkgsrc-wip 08c8a03libreswan TODO distinfo

libreswan: bump to 5.3.1

v5.3.1 (June 24, 2026)
* Security: Fixes http://libreswan.org/security/CVE-2026-12413
* Security: Fixes http://libreswan.org/security/CVE-2026-50721
* Security: Fixes http://libreswan.org/security/CVE-2026-50722
* IKEv2: Fix error: variable `local_proposal` set but not used [Daiki]
DeltaFile
+6-2libreswan/TODO
+3-3libreswan/distinfo
+1-2libreswan/COMMIT_MSG
+1-1libreswan/Makefile
+11-84 files

LLVM/project c46c342compiler-rt/lib/tysan tysan_interceptors.cpp

[tysan] Guard mallopt() use on SANITIZER_GLIBC instead of SANITIZER_LINUX (#203118)

mallopt() is a glibc extension, not provided by other Linux C libraries
such as musl, but its declaration and its use in
InitializeInterceptors() are gated on SANITIZER_LINUX. Linking the TySan
runtime for a musl target therefore fails:

  ld.lld: error: undefined symbol: mallopt
  >>> referenced by tysan_interceptors.cpp:215 in
  >>>   __tysan::InitializeInterceptors() in libclang_rt.tysan-hexagon.a
DeltaFile
+2-2compiler-rt/lib/tysan/tysan_interceptors.cpp
+2-21 files