[scudo] Return nullptr if a remap fails on linux. (#200537)
Add a check if a fixed address mmap doesn't return the expected address.
Allow a remap call to fail if the mmap fails and returns a nullptr to
the caller.
Fix a place where if remap fails in the secondary, it didn't do
anything. Now it will unmap the original entry on failure.
[SelectionDAG] Don't over-claim alignment on vector splice/compress stack MMOs (#200622)
expandVectorSplice and expandVECTOR_COMPRESS allocate their scratch slot
on the stack with getReducedAlign, but the memory accesses they generate
touching this slot use the type's natural alignment, which may be
larger!
[llvm-debuginfo-analyzer] Add support for LLVM IR format. (#200603)
llvm-debuginfo-analyzer is a command line tool that processes debug
info contained in a binary file and produces a debug information
format agnostic “Logical View”, which is a high-level semantic
representation of the debug info, independent of the low-level format.
Add support for the LLVM IR format and be able to generate logical
views. Both textual representation (.ll) and bitcode (.bc) formats
are supported.
This relands https://github.com/llvm/llvm-project/pull/135440, which was
reverted in https://github.com/llvm/llvm-project/pull/199890.
It includes the fixes for the buildbots problems.
drm/i915/dp: Fix readback for target_rr in Adaptive Sync SDP
From Ankit Nautiyal
ad8e3d096fa1e2f8b1009731c6e0cdae7ebedf79 in linux-6.18.y/6.18.34
f87abd0c6604fb6cc31cc86fc7ccc6a576924352 in mainline linux
drm/amd/display: Validate payload length and link_index in dc_process_dmub_aux_transfer_async
From Harry Wentland
1ecde19bfce6535bffddad1139ff466b6d401b8e in linux-6.18.y/6.18.34
6c92f6d9600efa3ef0d9e560a2b52776d9803c29 in mainline linux
drm/amd/display: Validate GPIO pin LUT table size before iterating
From Harry Wentland
7ca695b3122297b06a3ed605bbe1cd32c85d9f5a in linux-6.18.y/6.18.34
86d2b20644b11d21fe52c596e6e922b4590a3e3f in mainline linux
[CIR][AMDGPU] Implement lowering for __builtin_amdgcn_dispatch_ptr (#199880)
Port `emitAMDGPUDispatchPtr` from OGCG. Emits the `amdgcn.dispatch.ptr`
intrinsic and inserts an address-space cast when the builtin's expected
return type differs.
[CIR] Fix cir.call_llvm_intrinsic lowering for 0-result ops (#199516)
`cir.call_llvm_intrinsic` declares `Optional<CIR_AnyType>:$result`, but
the lowering indexed `op->getResultTypes()[0]` unconditionally and OOBed
on void calls.
Guard with `getNumResults()` and pick the void overload of
`LLVM::CallIntrinsicOp::create` in `createCallLLVMIntrinsicOp`.
drm/amd/display: Fix integer overflow in bios_get_image()
From Harry Wentland
6bbd703ea1c141d7ac0e7f7e82ff5fd237b67a17 in linux-6.18.y/6.18.34
cd86529ec61474a38c3837fb7823790a7c3f8cce in mainline linux
drm/amdgpu/vpe: Force collaborate sync after TRAP
From Alan Liu
3ed448c1dc78ddbf2e1f29dc00788c028ccdbb82 in linux-6.18.y/6.18.34
b6074630a461b1322a814988779005cbc43612ea in mainline linux
drm/vblank: Fix kernel docs for vblank timer
From Thomas Zimmermann
141ffb83abe97db88df8822c82cd53ae5e38221a in linux-6.18.y/6.18.34
3946d3ba99342f3b9996e621f05e7003d4308171 in mainline linux
drm/atomic: Increase timeout in drm_atomic_helper_wait_for_vblanks()
From Thomas Zimmermann
ed39ecd3a96cdf94589aef46f2f711cf93baa0d3 in linux-6.18.y/6.18.34
79ae8510b5b81b9500370f89c619b50ca9c0990f in mainline linux
drm/vblank: Add CRTC helpers for simple use cases
From Thomas Zimmermann
60918357456d39f640de25845890614caa44a30a in linux-6.18.y/6.18.34
d54dbb5963bdbdf8559903fe2b2343e871adcb30 in mainline linux
drm/vblank: Add vblank timer
From Thomas Zimmermann
fa4b91eea4331e7c24aa2d7855583d062a73e4ea in linux-6.18.y/6.18.34
74afeb8128502a529041a2566febd26053a7be11 in mainline linux
[clang][bytecode] Improve `getType()` (#200342)
We previously often fell back to the type of the declaration, which is
wrong if we're pointing e.g. to a nested array.
Add a new unit test to vaildate this.
Merge tag 'for-7.1/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm
Pull device mapper fix from Mikulas Patocka:
- fix race condition in dm-cache-policy-smq
* tag 'for-7.1/dm-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/device-mapper/linux-dm:
dm cache policy smq: check allocation under invalidate lock
Add todo guard for declarative construct
Metadirective variants are lowered through genOMPDispatch, which
only handles executable constructs. If the generated construct
queue contains a declarative directive, route it to the existing
TODO path instead of dispatching it.
[ORC] Simplify DylibManager::lookupSymbols, remove LookupRequest. (#195954)
DylibManager::lookupSymbols used to take an array of LookupRequests,
where each request specified a handle and list of symbols to lookup
within that handle.
This commit replaces the array of lookup requests with a single handle
and list of symbols passed directly to lookupSymbols.
In practice all clients were passing a singlton array anyway, and
simplifying this signature significantly simplifies implementations.