LLVM/project 1658456llvm/lib/Target/AMDGPU AMDGPUMIRFormatter.cpp, llvm/test/CodeGen/AMDGPU valu-mask-write-hazard.mir valu-read-sgpr-hazard.mir

[AMDGPU] Introduce custom MIR formatting for s_wait_alu (#176316)

This patch implements a custom printer/parser for the immediate operand
of s_wait_alu that prints/parses the decoded counter values.

Format:
```
 .<counter1>_<value1>_<counter2>_<value2>
```

Example:
 `s_wait_alu .VaVdst_1_VmVsrc_1`
 ; Which is equivalent to this:
 `s_wait_alu 8167`

Features:
- If a counter is at its maximum value it won't get printed.
- The parser will error out if a counter is greater or equal to its max
value.

    [5 lines not shown]
DeltaFile
+133-0llvm/lib/Target/AMDGPU/AMDGPUMIRFormatter.cpp
+64-64llvm/test/CodeGen/AMDGPU/valu-mask-write-hazard.mir
+43-43llvm/test/CodeGen/AMDGPU/valu-read-sgpr-hazard.mir
+42-43llvm/test/CodeGen/AMDGPU/expert_scheduling_gfx12.mir
+71-0llvm/test/CodeGen/MIR/AMDGPU/s_wait_alu-errors.mir
+67-0llvm/test/CodeGen/MIR/AMDGPU/s_wait_alu.mir
+420-15017 files not shown
+583-26123 files

FreeBSD/src ab63669sys/net sff8436.h

sys/net/sff8436.h: Fix the register address of link length of copper or active cable

The register address of link length of copper or active cable is 146 as
per the SFF-8436 specification [1].

[1] 7.6.2 Upper Memory Map Page 00h SFF-8436 Specification (pdf): https://members.snia.org/document/dl/25896

Reviewed by:    imp, zlei
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1885
Closes:         https://github.com/freebsd/freebsd-src/pull/1885

(cherry picked from commit a537694b49f719d84e3a69a2b8a3098f603da7d7)
(cherry picked from commit fdd23fc3d0aacd1c80d0565d736591521b2421fc)
(cherry picked from commit 58cf2a2840532208ab1442fc421ca6c985274c2c)
DeltaFile
+1-1sys/net/sff8436.h
+1-11 files

FreeBSD/src 37de978sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Avoid out-of-bounds reading the multicast ethernet address

The correct length of an ethernet address is ETHER_ADDR_LEN but not
ETHER_HDR_LEN.

MFC after:      1 week

(cherry picked from commit 85f499be90c15a3de02d1c62ce03b99fab52f925)
(cherry picked from commit 2b01cc15447251862f5e25332fcbf41516f22a3e)
(cherry picked from commit a1828b1226fe8de1325a0e46ec5732268ba4525a)
DeltaFile
+3-3sys/dev/qlnx/qlnxe/qlnx_os.c
+3-31 files

FreeBSD/src f119719sys/dev/liquidio lio_main.c lio_ioctl.c

lio: Avoid out-of-bounds read or write MAC address

While here, replace loop copying the MAC address with memcpy() for
better readability.

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54177

(cherry picked from commit 094626d3a5009a56bf1b763dbdfc681ce371dc99)
(cherry picked from commit c162d7febbc83c1d877876b18ee864213dceca51)
(cherry picked from commit e8de565f6bb8d91e2882ae5422b8a4a0337e4ca4)
DeltaFile
+4-6sys/dev/liquidio/lio_main.c
+2-2sys/dev/liquidio/lio_ioctl.c
+6-82 files

FreeBSD/ports 49cc38cdatabases/mysql80-server/files patch-router_src_harness_include_mysql_harness_stdx_expected.h

databases/mysql80-server: fix build with libc++ 20 and higher

With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:

    In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
    /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
       74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
          |        ^
    /usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
       49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
          |        ^
    /usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
     1167 |       [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
          |         ^

This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.

    [8 lines not shown]
DeltaFile
+29-0databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_stdx_expected.h
+29-01 files

FreeBSD/ports 12e5207databases/mysql80-server/files patch-router_src_harness_include_mysql_harness_stdx_expected.h

databases/mysql80-server: fix build with libc++ 20 and higher

With libc++ 20 and higher, databases/mysql80-server fails to compile,
resulting in errors similar to:

    In file included from /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/stdx/filesystem.cc:40:
    /wrkdirs/usr/ports/databases/mysql80-server/work/mysql-8.0.44/router/src/harness/src/../include/mysql/harness/stdx/expected.h:74:8: error: 'is_default_constructible' cannot be specialized: Users are not allowed to specialize this standard library entity [-Winvalid-specialization]
       74 | struct is_default_constructible<std::unique_ptr<T, void (*)(T *)>>
          |        ^
    /usr/include/c++/v1/__type_traits/is_constructible.h:49:8: note: marked '_Clang::no_specializations' here
       49 | struct _LIBCPP_NO_SPECIALIZATIONS is_default_constructible : integral_constant<bool, __is_constructible(_Tp)> {};
          |        ^
    /usr/include/c++/v1/__config:1167:9: note: expanded from macro '_LIBCPP_NO_SPECIALIZATIONS'
     1167 |       [[_Clang::__no_specializations__("Users are not allowed to specialize this standard library entity")]]
          |         ^

This is due to a workaround for a std::unique_ptr problem which is only
applicable to gcc before 7.1, so the whole workaround can be deleted,
which fixes the problem.

    [6 lines not shown]
DeltaFile
+29-0databases/mysql80-server/files/patch-router_src_harness_include_mysql_harness_stdx_expected.h
+29-01 files

NetBSD/pkgsrc EXHZzkkdoc CHANGES-2026

   doc: Updated emulators/free42 to 3.3.11nb3
VersionDeltaFile
1.785+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc PEq3W4Kemulators/free42 Makefile distinfo

   emulators/free42: Update to 3.3.11

   2026-01-13: release 3.3.11

   * Added statistics sums to STAT->Σ and CATALOG->STAT menus.

   2025-10-28: release 3.3.10

   * Fixed crash in menu logic.

   2025-10-15: release 3.3.9

   * When a new program was created by inserting END, the new program could end up
     being locked initially. Fixed.
   * Linux version: Fixed beeper when running under Wayland.
   * Linux version: Replaced built-in XPM icons with PNG ones, for compatibility
     with certain recent Linux distros.
   * Windows and MacOS versions: Made the links in the About box more obviously
     clickable.

    [14 lines not shown]
VersionDeltaFile
1.45+5-4emulators/free42/Makefile
1.12+4-4emulators/free42/distinfo
1.3+2-2emulators/free42/PLIST
+11-103 files

FreeBSD/ports b03d74dsysutils/auto-admin distinfo Makefile

sysutils/auto-admin: Update to 0.8.4.14

auto-cups-setup: Tolerate missing drivers (prep for deprecation)
auto-install-base-components: Check for pkgbase
auto-ly-enable: New script to enable ly login manager
auto-pkg-latest:
    Fix missing _${VERSION_MINOR} in kmods repo config
    Offer to overwrite config file when already using latest
auto-update-system: Include /etc/pkg in repo checks
auto-dreckly-setup: Fix pkgsrc wip URL
DeltaFile
+3-3sysutils/auto-admin/distinfo
+2-2sysutils/auto-admin/Makefile
+1-0sysutils/auto-admin/pkg-plist
+6-53 files

FreeBSD/ports 40a0dd4devel/gitleaks Makefile

devel/gitleaks: Fix version option

PR:             292559
DeltaFile
+2-2devel/gitleaks/Makefile
+2-21 files

FreeBSD/src 58cf2a2sys/net sff8436.h

sys/net/sff8436.h: Fix the register address of link length of copper or active cable

The register address of link length of copper or active cable is 146 as
per the SFF-8436 specification [1].

[1] 7.6.2 Upper Memory Map Page 00h SFF-8436 Specification (pdf): https://members.snia.org/document/dl/25896

Reviewed by:    imp, zlei
MFC after:      1 week
Pull Request:   https://github.com/freebsd/freebsd-src/pull/1885
Closes:         https://github.com/freebsd/freebsd-src/pull/1885

(cherry picked from commit a537694b49f719d84e3a69a2b8a3098f603da7d7)
(cherry picked from commit fdd23fc3d0aacd1c80d0565d736591521b2421fc)
DeltaFile
+1-1sys/net/sff8436.h
+1-11 files

FreeBSD/src a1828b1sys/dev/qlnx/qlnxe qlnx_os.c

qlnxe: Avoid out-of-bounds reading the multicast ethernet address

The correct length of an ethernet address is ETHER_ADDR_LEN but not
ETHER_HDR_LEN.

MFC after:      1 week

(cherry picked from commit 85f499be90c15a3de02d1c62ce03b99fab52f925)
(cherry picked from commit 2b01cc15447251862f5e25332fcbf41516f22a3e)
DeltaFile
+3-3sys/dev/qlnx/qlnxe/qlnx_os.c
+3-31 files

FreeBSD/src db22431sys/x86/x86 tsc.c

tsc: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit bf8f6545f6ca41e080cc3bc42009bdf253f596b4)
(cherry picked from commit 81676635bad7e4cec1fee8ab52f1401f37de3d69)
DeltaFile
+1-1sys/x86/x86/tsc.c
+1-11 files

FreeBSD/src c4e3338share/man/man9 locking.9

locking.9: Tweak the table column width to fit 80 characters

While here, add some white spaces to improve the readability of source
code.

Reviewed by:    ziaee, #manpages
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54121

(cherry picked from commit 176075e661fc657845d788ab3451e690c4e9bac6)
(cherry picked from commit 14484cdb997c152def089c64a012b5a4596e1bfa)
DeltaFile
+7-7share/man/man9/locking.9
+7-71 files

FreeBSD/src e8de565sys/dev/liquidio lio_main.c lio_ioctl.c

lio: Avoid out-of-bounds read or write MAC address

While here, replace loop copying the MAC address with memcpy() for
better readability.

Reviewed by:    markj
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D54177

(cherry picked from commit 094626d3a5009a56bf1b763dbdfc681ce371dc99)
(cherry picked from commit c162d7febbc83c1d877876b18ee864213dceca51)
DeltaFile
+4-6sys/dev/liquidio/lio_main.c
+2-2sys/dev/liquidio/lio_ioctl.c
+6-82 files

FreeBSD/src d88ccbdsys/x86/xen xen_apic.c

x86/xen: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit c8e077e57b2535b840d391f3217d00465b0514c4)
(cherry picked from commit 871a335f3e7dcc8edcada353664ca6b40ae491a1)
DeltaFile
+1-1sys/x86/xen/xen_apic.c
+1-11 files

FreeBSD/src db80c07sys/powerpc/aim mmu_oea64.c, sys/powerpc/cpufreq pmcr.c

powerpc: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 9caa16bd028746af7bee01c6bcc6394de91265db)
(cherry picked from commit 4ccfafac43d398653574e36082fef15083ba6a35)
DeltaFile
+2-2sys/powerpc/aim/mmu_oea64.c
+2-1sys/powerpc/cpufreq/pmcr.c
+4-32 files

FreeBSD/src 2a87a2csys/vm vm_pageout.c vm_meter.c

vm: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit a5d5851c86ebba87f580e4f9bada495ebeedc465)
(cherry picked from commit 27b24359656a3d30828595ade1b824be3fac4f83)
DeltaFile
+2-2sys/vm/vm_pageout.c
+1-1sys/vm/vm_meter.c
+3-32 files

FreeBSD/src 13a9cafsys/arm64/coresight coresight.c

arm64 coresight: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 5d5ba0c0fa9e2eaeda9d41508bb0f83d5a55f367)
(cherry picked from commit bac2bad0615ac64960f1ae93c0e7c3d9277b1a6b)
DeltaFile
+1-1sys/arm64/coresight/coresight.c
+1-11 files

FreeBSD/src 9ddec7bsys/arm/arm unwind.c pmap-v6.c

arm: Use proper prototype for SYSINIT functions

The only possible return value of function module_info_init() is 0. Make
it return void to match the prototype of SYSINIT.

MFC after:      1 week

(cherry picked from commit 0b9c12fa976446705635a94984f45232f034eecf)
(cherry picked from commit fcdc37febbb6b6c4efb7f4f42162466992f90523)
DeltaFile
+1-3sys/arm/arm/unwind.c
+1-1sys/arm/arm/pmap-v6.c
+2-42 files

FreeBSD/src 8b07da3sys/i386/i386 pmap.c machdep.c

i386: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 0039721e3bab22446413fb62532e622345770ffb)
(cherry picked from commit adc937e06f69b2fd21c44e27b5c33bf2c96e7c4d)
DeltaFile
+1-1sys/i386/i386/pmap.c
+1-1sys/i386/i386/machdep.c
+2-22 files

FreeBSD/src 8f6cd5bsys/sys sysent.h

sys/sysent.h: Remove an unneeded type cast

The function exec_sysvec_init() already has the right prototype.

While here, remove an extra semicolon from the macro INIT_SYSENTVEC.

MFC after:      1 week

(cherry picked from commit 296db8c72dca1c17d9a4ce94cc8881e48df8187b)
(cherry picked from commit 64771eeaf82f06c2af4e0f20f40baa9d5103f0dd)
DeltaFile
+1-2sys/sys/sysent.h
+1-21 files

FreeBSD/src 846393bsys/netpfil/ipfw ip_fw2.c ip_fw_nat.c

ipfw: Use proper prototype for SYSINIT functions

The only possible return value of function ipfw_init() is 0. Make it
return void to match the prototype of SYSINIT.

MFC after:      1 week

(cherry picked from commit 1bba2194c8a960235f8eae36e7d3e96f347ce779)
(cherry picked from commit 745b6ca4ed933f9f4c1d314dc7b0aa31e8e9e0de)
DeltaFile
+3-6sys/netpfil/ipfw/ip_fw2.c
+2-2sys/netpfil/ipfw/ip_fw_nat.c
+5-82 files

FreeBSD/src 139a945sys/security/audit audit.c

audit: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 32c1e940e07c48ab80427efd3d6ff2091407d577)
(cherry picked from commit c48a31e3508555606b4399d33000cf60fe98e207)
DeltaFile
+1-1sys/security/audit/audit.c
+1-11 files

FreeBSD/src a60c871sys/netpfil/pf pf_ioctl.c

pf: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 0ce8c20fcd44c1595b42fcb540913d3802edd438)
(cherry picked from commit 34462748d79a6e2ea8215564286f97e93670dfbb)
DeltaFile
+2-2sys/netpfil/pf/pf_ioctl.c
+2-21 files

FreeBSD/src bddd706sys/security/mac mac_framework.c

MAC: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 12ac59a0d1f6ae2065e8e2cb36c53c00771bfc74)
(cherry picked from commit 2e5a55c7af56022fb38e3d528b2e8b1257de891d)
DeltaFile
+2-2sys/security/mac/mac_framework.c
+2-21 files

FreeBSD/src 01af376sys/nfs nfs_diskless.c

nfs: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit a06ecc4f70c296f62f666421c3cf9643d40bdca2)
(cherry picked from commit 0e001bef1593c1bcc6c020b0f7a31ce9589ba59e)
DeltaFile
+1-1sys/nfs/nfs_diskless.c
+1-11 files

FreeBSD/src a7334aesys/net80211 ieee80211_vht.c ieee80211_hwmp.c

net80211: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 7449e59110b8abbb3d647c3565ca3de1d21b2c84)
(cherry picked from commit 0270d3dfa75a462019d7d8555c4249b3e8790604)
DeltaFile
+1-1sys/net80211/ieee80211_vht.c
+1-1sys/net80211/ieee80211_hwmp.c
+1-1sys/net80211/ieee80211_ht.c
+1-1sys/net80211/ieee80211_mesh.c
+1-1sys/net80211/ieee80211_phy.c
+1-1sys/net80211/ieee80211_proto.c
+6-66 files

FreeBSD/src 72bf99esys/netinet in_fib_algo.c, sys/netinet/cc cc.c

netinet: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 6613b6ad1ecc5384c119018b9b27c18bd7516e3f)
(cherry picked from commit 5b41be5cc0666372840d798507e85544d8a3e7c3)
DeltaFile
+1-1sys/netinet/cc/cc.c
+1-1sys/netinet/in_fib_algo.c
+2-22 files

FreeBSD/src db75edfsys/netipsec xform_ipcomp.c

netipsec: Use proper prototype for SYSINIT functions

MFC after:      1 week

(cherry picked from commit 360bb45690d918fac5bae78ab44f45d11327067a)
(cherry picked from commit a32ee2897f8eed4a03976be65020912f03f7228e)
DeltaFile
+2-2sys/netipsec/xform_ipcomp.c
+2-21 files