firmware: show fingerprint instead of commit hash
The fingerprint consists of the commit hash and tree hash
joined by ":". To make this more digestible shorten the
tree hash to 9 characters too.
(cherry picked from commit 8daa3714c04249904605873aeaa3862988b87a40)
Reporting: Traffic - sort the Top talkers by their current rate (#11414)
updateTopTable() stored each row's current rate from item['rate_bits'+dir],
a key the top answer doesn't have (it has rate_bits_in and rate_bits_out).
With an undefined value, jQuery's .data() reads instead of writing, so
bps_in and bps_out stayed 0 and the sort fell back to last seen, the same
for every row of an update.
(cherry picked from commit e2986c4abec560d5a53f7012ec34652a4158f3a8)
NAS-145598 / 27.1.0 / Fix stale directory services cache after system dataset mount (by anodos325) (#20389)
Validate TDB handles by dev/inode; a mount over /var/db/system keeps the
path. Close handles after mounting and check the cache version as a
post-mount action.
Original PR: https://github.com/truenas/middleware/pull/20372
Co-authored-by: Andrew Walker <andrew.walker at truenas.com>
locale: rewrite cldr2def in lua
Since only UTF-8 locales are generated, the cldr2def can be greatly
simplified, while simplifying it, just rewrite it in flua so the entire
tool generation do not depend on perl at all anymore
net-mgmt/nfsen: Pet port{clippy,fmt,lint}
- Order the Makefile as portclippy suggests.
- Regenerate patch with makepatch as portlint suggests.
- Format Makefile as portfmt suggests.
PR: 301549
net-mgmt/nfsen: Update 1.3.11 => 1.3.12
- Works with nfdump 1.7.x and 1.8.x.
- Fixes for PHP 8.2 and rrdtool 1.9.
- Alert and notification mails get a Date: header; add the direct
dependency on p5-TimeDate (Date::Format) for it.
Commit log:
https://github.com/phaag/nfsen/compare/v.1.3.11...v1.3.12
PR: 301549
biology/py-goatools: Update to 1.6.9
Numerous fixes and enhancements since 1.6.5
Upstream changes: No release logs, so...
https://github.com/tanghaibao/goatools/tags (for commit hashes)
https://github.com/tanghaibao/goatools/commits/main/ (for changes per hash)
Port changes:
- Fetch from GitHub instead of PyPI to support a test target that runs the
upstream tests (those which pass without network access)
- Remove the patches, which are no longer needed with this release
- Remove wget from RUN_DEPENDS and the duplicate statsmodels entry
- Drop the version bound on the setuptools_scm build dependency and
use >0 instead of >=0 for rich
PR: 300515
Reported by: patrick at crandol.com
Reviewed by: jwb
Tested by: jwb
locale: merge mkwidths.pl into getwidths
mkwidths.pl only mapped the code points printed by getwidths to their
Unicode names. Read the charmap and do the mapping in getwidths
itself, so the widths table is produced by a single process.
[CIR][flang][CMake] Migrate generated-header dependencies
Replace CIR's mlir-headers dependencies and Flang's global MLIR library
lists with actual library dependencies. Declare public header ownership
and keep source shards, bytecode and lowering tables private.
CIRLowering.inc is no longer generated by install-clang-headers; only
transform/lowering sources include it and each consumer lists
CIRLowering. clang_tablegen accepts PRIVATE_TARGET to create it without
registering a global Clang dependency, isolating its output from the
caller's TABLEGEN_OUTPUT. Use add_private_tablegen_target for bytecode
tables, source shards and FIR canonicalization patterns, keeping their
outputs out of later generation targets. Keep
CanonicalizationPatternsIncGen in flang-headers so the header install
still generates every installed .inc file. clangFrontendTool links CIR
libraries privately after creation to preserve LLVM component
visibility, reducing obj.clangInterpreter's prerequisite edges from 579
at the base to 535 and obj.clangFrontendTool's from 1710 to 888.
[21 lines not shown]
[MLIR][CMake] Stop depending on mlir-generic-headers by default
Remove the default mlir-generic-headers dependency from ordinary and
example libraries. Migrate generated-interface requirements to library
owners, including the 17 requirements that become necessary when the
generic default is removed. Keep the compatibility aggregate and
registrations.
MLIRIR also lists MLIRInferIntRangeInterfaceIncGen for Matchers.h. Add
the Transform/Interfaces generator ordering. MLIRDialectUtils uses the
ArithDialect owner for ReshapeOpsUtils.h. Forward MaskableOpInterface's
compile-only MaskingOpInterface dependency through the local helper so
directly compiled libraries receive a bridge too.
MLIRCAPIIR links MLIRInferTypeOpInterface privately. MLIRPass,
MLIRRewrite and MLIRRewritePDL drop their explicit DEPENDS
mlir-generic-headers.
Extend the release note, guide and aggregate-independence regression to
[3 lines not shown]
[MLIR][docs] Document the CMake infrastructure
Describe MLIR's TableGen, library, visibility, aggregation, installation
and generated-header conventions in one infrastructure guide. Explain
library owners, explicit generators, compile-only requirements and
add_private_tablegen_target for source-only generators.
Document raw-link bridge usage, generated-header ordering and
unsupported compile-only spellings. Describe the aggregate defaults as
they are today. Link the guide from CreatingADialect.md.
Assisted-by: Codex
[MLIR][CMake] Stop depending on mlir-headers by default
Remove the default mlir-headers dependency from the dialect, conversion,
extension and translation library helpers. Keep the aggregate, its
registrations and explicit compatibility dependencies available;
mlir-generic-headers remains a default.
Replace redundant foreign generator edges with library links or
compile-only header owners. Add generator-to-generator ordering where
one generated header includes another. Keep requirements already covered
by generic headers or existing links. MLIRROCDLDialect, MLIRXeVMDialect
and MLIRSPIRVDialect retain private compile-only requirements on
MLIRGPUBase for GPU compilation attribute declarations.
MLIRRewrite drops its PDL generator dependencies; the PDL libraries it
links publish them. Remove redundant C API pass-generator dependencies.
Test aggregate independence for the dialect, conversion, extension and
translation helpers.
[6 lines not shown]
[CMake] Propagate generated headers through link dependencies
llvm_add_library made object libraries wait for whole PUBLIC link
providers to obtain generated headers. Publish marked DEPENDS generators
through the LLVM_GENERATED_HEADERS transitive compile property instead,
and order obj.<name> after the evaluated closure through a
<name>.headers bridge target. PRIVATE and transitive compile
requirements participate without compiling provider objects.
Use COMPILE_ONLY for another library's headers without its
implementation. Keep these items build-local, and create a bridge for
directly compiled libraries only when such an item is present.
llvm_add_generated_header_bridge covers items added later. Existing
Windows PCH variants also wait for the owner's bridge. Executables
compiled through obj.<tool> receive a bridge too, without linking their
object libraries to providers.
Shared libraries republish the interfaces of unkeyed links and
components hidden by shared mode. Explicit PRIVATE component
[35 lines not shown]
virtio_gpu: check the vt(4) attach and detach results
The driver recorded a framebuffer attachment vt_allocate() had refused,
and freed the framebuffer when vt_deallocate() failed, leaving vt(4)
drawing into freed memory.
MFC after: 3 days
Reviewed by: ngie
Differential Revision: https://reviews.freebsd.org/D62169
[MachineScheduler] Don't constrain copies that cannot be coalesced (#244227)
CopyConstrain adds weak edges that order the other uses of a copy's
source before the copy. This shortens the source's live range, so that
register allocation can give both sides of the copy the same physical
register and turn it into a no-op.
That is only possible for copies that CoalescerPair accepts. A copy
between register banks (for example in AArch64 FPR to GPR fmov) can
not be eliminated in this way, but it was constrained all the same.
This introduces weak edges which the scheduler will try to satisfy.
This is not a NFC: the schedule of functions that contain such a copy
changes. Most of the test churn is just reordered instructions.
By removing these scheduling constraints we allow more flexibility for
other
heuristics, such as macro fusion.