[SLP] Handle REVEC when costing expanded compress mask
With REVEC the scalars are vectors. The masked-load-compress shuffle that is
emitted uses the compress mask expanded to the elements of those vectors
(transformScalarShuffleIndiciesToVector), but the cost was computed with the
unexpanded per-vector mask, so a shuffle such as <24 x i8> -> <16 x i8> was
costed as a <2 x i8> shuffle. This made the compress sequence looked cheaper
than it is.
Assisted-By: Claude Sonnet 5.5
[AMDGPU] Stop merging loads and stores in clauses on gfx1250 (#231269)
In CDNA5 the spec states "Once the clause type is determined, any
instruction encountered within the clause that is not of the same type
(and not an internal instruction described below) is illegal and may
lead to undefined behaviour". For GFX10, VMEM/FLAT loads and stores are
mapped to one shared type. However, for CDNA5 these become two
conflicting instruction types and therefore this is undefined behavior.
[mlir] Check greedy rewrite change flag against fingerprints
Compare the driver’s local changed result against whether the enclosing operation fingerprint changed. Keep the result separate from the optional output parameter so the check validates this invocation even when the caller reuses the output variable.
[OpenMP] Match device and target_device ISA names separately
VariantMatchInfo kept the names from device={isa(...)} and
target_device={isa(...)} in one list, and each isa property required
every name in it. An unsupported ISA in one selector therefore also
failed the other one. Under match_any, a variant whose device ISA
matched was rejected; under match_none, a variant whose target_device
ISA matched was accepted.
Record which property each name belongs to and match the names per
property. Begin declare variant, which ignores target_device traits, no
longer elides a block because of a target_device ISA name.
Assisted-by: GitHub Copilot (Claude Opus 5.5)
Merge tag 'printk-for-7.3-hotfix' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux
Pull printk fixes from Petr Mladek:
- Switch NBCON consoles to the emergency mode in emergency_restart() to
see messages even in this shutdown code path
- Postpone the start of printk kthreads after smp_init(). It prevents
boot stalls on some HW
- Typo fix in a previous hot-fix patch
* tag 'printk-for-7.3-hotfix' of git://git.kernel.org/pub/scm/linux/kernel/git/printk/linux:
printk: Postpone kthread startup
printk: fix kernel-doc name for nbcon_write_context_is_braille
nbcon/reboot: Switch NBCON consoles into the emergency mode in emergency_restart()
Merge tag 'trace-v7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull tracing fixes from Steven Rostedt:
- Fix NULL dereference when copying histogram field variable
If event_hist_trigger_parse() creates an action that uses one of
pseudo fields for its keys, the hist_data field element will have a
NULL for its field member. When looking to match that key, the lookup
uses key_field->field->name which will dereference a NULL pointer.
Instead use the helper function that handles such cases:
expr_field_str().
- Take the trace_types_lock when dropping the buffer_meta reference
The tracing_buffer_meta_open() error return drops the trace_array
reference with __trace_array_put() instead of trace_array_put() where
the former doesn't take the lock and the latter does.
[142 lines not shown]
Merge tag 'probes-fixes-v7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes fix from Masami Hiramatsu:
- error out if BTF is required but unavailable
Fix to return an error instead of NULL if BTF is not available when
user specify '$args*' meta fetch argument for probe events.
* tag 'probes-fixes-v7.3-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace:
tracing: probes: error if BTF is required but unavailable
Name dedup, not asize, in the zdb --class error messages
zdb --class accepts normal, special, dedup and other, as its usage
text and the man page say, but both of its error messages list
"asize" instead of "dedup". asize is not a class and is rejected
like any other unknown word, so the message sends the user to a value
that fails. Name dedup instead.
Reviewed-by: Alexander Motin <alexander.motin at TrueNAS.com>
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Tigerblue77 <37409593+tigerblue77 at users.noreply.github.com>
Closes #19387
Find the dataset of a renamed volume by its object number
A volume looks its dataset up by zv_name when it is first opened, to
own it, after a rollback or a receive in zvol_resume(), to find its
objset again, and in zvol_setup_zv(), which both call, to read the
readonly property. A rename only updates zv_name later, though:
dsl_dir_rename_sync() hands the update to the zvol taskq through
zvol_rename_minors(). Until that task has run, zv_name is the old
name. A first open of the volume, or of any volume below a renamed
dataset, then fails with ENOENT. A rollback or a receive issued by the
old name in that window still finds the minor by it, and when
zvol_resume() then fails in zvol_setup_zv(), the volume stays open
without its dnode and the next read or write dereferences NULL; had the
hold in zvol_resume() failed, its VERIFY0() would have panicked.
Record the object number of the dataset when the minor is allocated and
look the dataset up by it, which a rename does not change, and read the
property from the dataset already held. The pool is still found by
zv_name, whose pool part a rename keeps. dmu_objset_own() also
[9 lines not shown]
x11/xss-lock: perform some needed facelifting on the port (+)
- Modernize CMakeLists.txt to prepare for upcoming CMake 4.x
- Simplify distfile handling by employing the ?dummy=/ trick
x11/xss-lock: perform some needed facelifting on the port (+)
- Modernize CMakeLists.txt to prepare for upcoming CMake 4.x
- Simplify distfile handling by employing the ?dummy=/ trick