[RISCV] Add Codegen support for ACLIC (#238325)
This commit adds support for the `preemptible` and `push-pop` interrupt
kinds from the RISC-V Advanced Core-Local Interrupt Controller (ACLIC)
fast interrupt extensions.
AI Usage: GPT 5.6 Sol/6/6.2 Astra, Opus 5/5.5, Fable 5.1/5.2 and Gemini
Neon were used for pre-commit self-reviewing.
[SandboxVec][LoadStoreVec] Vectorize store chains whose loads have external uses
Loads that feed a store chain used to block vectorization whenever they
had more than one use. The store chain can now be vectorized even if the
loads have external uses. Once the scalar stores are erased, each
original load is rebuilt from the lanes it occupies in the new vector
load, and reinterpreted back to its original type if needed.
The legality check, canUnpack(), runs before any IR is created, so a load
whose lanes cannot be reinterpreted (for example, a non-integral pointer)
rejects the whole chain instead of leaving a partially rewritten block.
The unpacking itself is done by unpackIfNeeded() after the scalar stores
have been removed.
Update the store_seeds.ll and mixed_types.ll checks to match the new
output.
Co-authored-by: Cursor <cursoragent at cursor.com>
arm64: Reject user-mode faults on kernel addresses
On a CPU without FEAT_E0PD, a user-mode store to a mapped kernel
address takes a permission fault, which data_abort() passes to
pmap_fault() with the process's pmap. pmap_pte() then finds the user
mapping whose address has the same low-order bits. If that mapping is
writable, pmap_fault() marks it dirty, although nothing wrote it, and
returns KERN_SUCCESS. The store is retried and faults again, so the
thread spins instead of receiving SIGSEGV. Access flag faults, which
loads also take, have the same flaw when a kernel mapping lacks
ATTR_AF.
Like amd64's trap_pfault(), send SIGSEGV for a user-mode fault in the
kernel address space without calling pmap_fault() or vm_fault_trap().
Also, in pmap_fault(), assert that a kernel address comes with the
kernel pmap and a user address with a user pmap.
Found by: Claude Code (Opus 5.5)
[3 lines not shown]
graphics/ect: New port
Efficient Compression Tool (ECT) is a file optimizer that losslessly
reduces the size of PNG, JPEG, gzip and ZIP files. It combines a
modified zopfli deflate encoder, optipng-style PNG filter selection
and mozjpeg-based JPEG optimization.
Upstream unconditionally builds x86 with SSSE3, SSE4.2 and PCLMUL
without runtime dispatch; this is now gated behind the SIMD option
(off by default) so packages run on baseline amd64 CPUs.
WWW: https://github.com/fhanau/Efficient-Compression-Tool
archivers/plzip: Fix decompression from stdin
Decompressing from a pipe or stdin always failed with "Not enough
memory." without reading any input.
clang (seen with 19 and 20) constant-folds the result of
'new (std::nothrow) uint8_t[N]' to a null pointer when the result
is stored in a const pointer and N is a constant larger than the
-fconstexpr-steps limit (default 2^20). The splitter buffer in
dec_stream.cc is 2^20 + 30 bytes, so the compiled splitter thread
unconditionally took the out-of-memory path. GCC is not affected,
which is why upstream could not reproduce this on GNU/Linux.
As a temporary workaround until clang is fixed, drop 'const' from
the pointer, which prevents the folding. Raising -fconstexpr-steps
would also work but depends on the compiler and on the buffer size,
so it was not used.
PR: 301139
www/immich-power-tools: Unbreak build
Type checking runs out of memory on the build cluster and only looks at
the sources. The port now takes the default node version.
Sponsored by: Netzkommune GmbH
audio/p5-Net-FreeDB: Mark DEPRECATED
- Client for the defunct freedb.org service
- Use audio/p5-MusicBrainz-DiscID (MusicBrainz) instead
- Switch to DISTVERSION while I am here
- Set EXPIRATION_DATE 2026-12-24
- No consumers in the tree
(cherry picked from commit 196a6a0653aa8d93bf2b79087c3cbffbaaa62f7f)
www/p5-WebService-IMDB: Mark DEPRECATED
- Relies on IMDb's retired app.imdb.com API
- No consumers in the tree
- Switch to DISTVERSION while I am here
- Set EXPIRATION_DATE 2026-12-24
(cherry picked from commit 8971ef6c84f5d6c202574225a772fd41499ca79d)
contrib/lutok: upgrade to 0.7.0
This is a large cleanup release which has a number of changes that
should be largely transparent to end-users of lutok.
Please see NEWS for more details, as well as the vendor import commit.
MFC after: 1 week
Merge commit 'a1e3c85b0684e1a1896fbf811a894a45e658ec83'
lutok: import lutok-0.7.0
This change adds lutok lutok-0.7.0 from [upstream][1].
The lutok-0.7.0 artifact was been verified by [SHA256 checksum][3].
This is a major cleanup release. A lot of credit goes to mchoo@ for all of the
hard work submitted in #13 🎉.
The API should not change in a noticeable way to consumers, e.g., a number of
"transparent" changes like const poisoning was done with methods, etc.
Iterative builds will require rebuilding lutok from scratch--which should
happen naturally, given how header dependencies [should] be treated with make.
More information about the release (from a high level) can be found in
the [release notes][4].
Updated via [`update_lutok.sh`][4] like: `update_lutok.sh 0.7.0 lutok-0.7.0`.
[4 lines not shown]
security/{pecl|php}-mcrypt: Convert port
Pecl package available only for PHP 7.2 and above
Please note that pecl infrastructure is being deprecated so create a
different port which is not dependent on pecl infrastructure.
This commit also removes pecl-mcrypt ports in lieu of this port and
updates reverse dependency.
WWW: https://pecl.php.net/package/mcrypthttps://github.com/php/pecl-encryption-mcrypt/