[MachineCombiner] Defer pattern order verfication. NFC (#177081)
The `verifyPatternOrder` function was created to check if machine
combiner patterns are ordered by their latency reduction degree. This
function can be merged into the following loop, which iterates through
all the patterns, such that (1) `TII::genAlternativeCodeSequence`, which
can be quite expensive, won't be called twice (2) since it's now placed
after we print out the candidate sequence through debug print, if
anything goes wrong during the verification, we at least know what the
sequence looks like (3) we don't need to verify all patterns if we will
eventually exit early.
This should be a NFC
drm/amdkfd: Fix improper NULL termination of queue restore SMI event string
From Brian Kocoloski
47206d70d1fba05470a2bd00ae3d66d27487c195 in linux-6.12.y/6.12.66
969faea4e9d01787c58bab4d945f7ad82dad222d in mainline linux
drm/amd/display: Fix DP no audio issue
From Charlene Liu
f609041424d56f673e278f38ebbc71e05564b2ea in linux-6.12.y/6.12.66
3886b198bd6e49c801fe9552fcfbfc387a49fbbc in mainline linux
drm/amd/display: shrink struct members
From Rosen Penev
e83af97d5c3913c5d0bb81dcf0188f7c48731215 in linux-6.12.y/6.12.66
7329417fc9ac128729c3a092b006c8f1fd0d04a6 in mainline linux
drm/radeon: Remove __counted_by from ClockInfoArray.clockInfo[]
From Alex Deucher
7500ab83bad207341916950bb21248af0a1ee21e in linux-6.12.y/6.12.66
19158c7332468bc28572bdca428e89c7954ee1b1 in mainline linux
drm/amdgpu: Fix query for VPE block_type and ip_count
From Alan Liu
90b4b130a20d80decfc9b115c187f818ab83a30a in linux-6.12.y/6.12.66
72d7f4573660287f1b66c30319efecd6fcde92ee in mainline linux
cron: Implement full PAM session lifecycle for user jobs
Extend PAM integration beyond account checks to include credential
establishment and session management, allowing PAM modules to configure
the execution environment for user cron jobs.
Previously, cron only called pam_acct_mgmt() to verify account validity
but immediately terminated the PAM handle before job execution. This
prevented PAM modules from establishing sessions, setting credentials
(e.g., Kerberos tickets), or exporting environment variables needed by
jobs.
The PAM handle now persists in the intermediate process throughout the
job execution, enabling proper session open/close pairing. Credentials
are established and sessions opened while still running as root, before
dropping privileges in the grandchild. PAM environment variables are
exported in the job process with user crontab variables taking precedence.
A session rule (pam_permit.so) is added to /etc/pam.d/cron to enable
[9 lines not shown]
[LoongArch] Remove DAG combination for extractelement
Combination for `trunc+extend+extractelement` to a single
`extractelement` may occur error, because the high bits of the
extract index truncated by `trunc` operation are reserved
after the combination.
This commit remove this combination and the issue
https://github.com/llvm/llvm-project/issues/176839 will never
appear.
[lit] Fix filter-failed-rerun.py on readonly FSes (#177075)
This test invokes lit in a directory and then tries to overwrite
fail.txt within that directory. With the project sources mounted as
read-only, fail.txt ends up being marked readonly, which causes cp to
fail without -f. Use cp -f to ensure we overwrite the existing fail.txt.
libexecinfo: tests: Expect failure on aarch64
Add a guard that expects a failure of the test on aarch64.
Reviewed by: emaste
Fixes: df1ea5887326 ("tests: Test libexecinfo backtrace call througth signal trampoline")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54675
(cherry picked from commit fef84fd8ae845e19cec0f6b9aac0e6451cca3d7a)
libexecinfo: tests: Expect failure on aarch64
Add a guard that expects a failure of the test on aarch64.
Reviewed by: emaste
Fixes: df1ea5887326 ("tests: Test libexecinfo backtrace call througth signal trampoline")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D54675
(cherry picked from commit fef84fd8ae845e19cec0f6b9aac0e6451cca3d7a)
[AMDGPU] Further improve `AMDGPUSubtargetFeature` multiclass
This PR extends the multiclass to support two additional parameters: one for specifying whether an `AssemblerPredicate` should be generated, and another for dependent `SubtargetFeatures`. This allows 15 more definitions to be converted to use the multiclass.
[HWASAN] [RISC-V] Update EnableTaggingAbi for RISC-V linux. (#176616)
Enabling pointer tagging in the userspace ABI for RISC-V kernels differs
to that of Aarch64. It requires requesting a particular number of masked
pointer bits, an error is returned if the platform could not accommodate
the request:
https://docs.kernel.org/arch/riscv/uabi.html#pointer-masking
While experimenting with enabling RISC-V HWASAN on GCC I was hitting the
error
> HWAddressSanitizer failed to enable tagged address syscall ABI
when attempting to run instrumented programs in the spike simulator
running kernel release 6.18. This patch successfully allows the tagged
address syscall ABI to be enabled by the support runtime.
[llvm][DebugInfo][NFC] Remove DITypeRefArray in favour of DITypeArray (#177066)
`DITypeRefArray` is just an alias (since
https://github.com/llvm/llvm-project/pull/176938). Remove it in favour
of just using `DITypeArray`.