[libc] Use a syscall wrapper for pkey_free
This PR move pkey_free behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
[libc] Use a syscall wrapper for pkey_alloc
This PR move pkey_alloc behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
[libc] Use a syscall wrapper for mremap
This PR move mremap behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
System: Access - add "authority" option to ACL's which can be set to one of 'limited', 'administrative', 'unrestricted', this will help the user to identify sensitive roles more easily.
[mlir][ODS] Set `cppIncludes` on core traits and interfaces
Set the `cppIncludes` field introduced in #236155 on the traits and
interfaces defined in MLIR's core. Generated declarations using them now include the
headers declaring them.
Dialect interfaces get the field as well, although their generated
declarations do not emit includes yet.
Record-level `let` statements were generally preferred (as is currently convention with e.g., `cppNamespace`) with just occasional use of top-level `let` for e.g., many small trait definitions.
Co-authored-by: Claude <noreply at anthropic.com>
[MachineSink] Don't pass LiveIntervals and SlotIndexes to SplitCriticalEdge (#238888)
LiveIntervals and SlotIndexes are not used by this pass.
SplitCriticalEdge does not need them as well. This removes them and all
mentions of those analysis from MachineSink.
This was causing a crash under NewPM pipeline because SlotIndexes were
passed to SplitCriticalEdge, which was attempting to update it, but the
SI became corrupted in PerformTrivialForwardCoalescing which destroys MI
without updating SI
[CopyProf][NFC] Add argument comments in state test. (#237763)
Split out of #232851 as requested in review.
Stack: #237763 (this PR) → #232851 → #235453 → #235454 → #235455
[LoongArch][MC] Support --print-imm-hex and --no-print-imm-hex (#236024)
Fix llvm-objdump's `--print-imm-hex` and `--no-print-imm-hex` support on
LoongArch, it's worth noticing that the default behaviour is print hex
format immediate, which is different from binutils objdump.
[libc][test] Reference callables in skipped death tests (#234960)
When death or subprocess tests are skipped, expanding EXPECT_DEATH and
ASSERT_DEATH to empty macros discards callables before type checking.
This triggers unused parameter or variable warnings under -Werror when a
test sets up a variable or parameter solely for a death check.
Evaluate callables and expected values in an unevaluated block inside do
{ if (false) { ... } } while (false). The compiler type-checks the
expression and marks captured variables as referenced, while the dead
code is eliminated at compile time.
Assisted-by: Automated tooling, human reviewed.
Mk/*: Bring support for Plasma 6 LTS release
Upcoming KDE Plasma 6.8 is Wayland exclusive [1]. Plasma 6.6 LTS with
X11 support will be maintained till February 2029 [2].
Due do missing DRM drivers Plasma 6.6 LTS will be the default variant
on non-amd64 systems. On amd64 both variants are available.
Third-party Plasma consumer will be built with the default Plasma version.
The preferable Plasma version can be set via DEFAULT_VERSIONS:
DEFAULT_VERSIONS+= kde_plasma=variant
[1] https://blogs.kde.org/2025/11/26/going-all-in-on-a-wayland-future/
[2] https://community.kde.org/Schedules/Plasma_6#Long-term_support_releases
Reviewed by: arrowd
[libc] Use a syscall wrapper for madvise
This PR move madvise behind the centralized syscall wrappers, following libc/docs/dev/syscall_wrapper_refactor.md.
snd_envy24ht: Fix out-of-bounds DMA buffer indexing
378e0c5c8967 reduced the number of playback channels from 5 to 1. This
introduced a regression, because the global DMA buffer indexing was not
adapted accordingly, which now results in kernel panics because of
out-of-bounds reads into the buffer. Additionally, because of wrong
indexing, recording channels ended up being serviced by the playback
part of envy24ht_intr().
Register 1 recording channel instead of 2 + sc->adcn, as the recording
DMA buffer only has room for 1 stereo stream. With 1 channel per
direction, give each channel the first index of its direction
(ENVY24HT_CHAN_PLAY_DAC1 and ENVY24HT_CHAN_REC_ADC1).
While here, fix the buffer wrap in envy24ht_r16sl(). It has to be
ch->size / ch->unit, but was copied verbatim from the 32-bit equivalent,
whose samples are twice as large, so 16-bit recording wrapped halfway
through the DMA buffer and never read the second half.
[6 lines not shown]
[LLVM][AArch64] Ensure compatible indices when converting dupq to dup_lane. (#238488)
instCombineSVEDupqLane was not verifying the subvector being splatted
matched the one being inserted. At the same time I've also added a check
to ensure the quad index is zero because otherwise we'll generate the
wrong result for out-of-range indices.
Fixes https://github.com/llvm/llvm-project/issues/235610