zed: fix failure domain detection for unavail case
When the domain fails and there is no traffic, zed might get
list.suspect event with the disks entering into UNAVAIL state,
instead of zfs.statechange events with the disks entering into
FAULTED state. We should handle that situation similarly and
and don't start resilvering, which would be only a huge waste
of CPU and i/o bandwidth resources.
Reviewed-by: Brian Behlendorf <behlendorf1 at llnl.gov>
Signed-off-by: Andriy Tkachuk <atkachuk at wasabi.com>
Related-to #18148
Closes #19154
[NewPM] Match LegacyPM behavior for opt-bisect in passes
This patch updates passes that change their behavior around opt-bisect
(e.g., performing less optimizations) so that this behavior is
replicated in the NewPM.
Assisted by LLM.
Reviewers: aeubanks, arsenm
Pull Request: https://github.com/llvm/llvm-project/pull/225439
[NewPM] Fix OptBisect Functionality for disabled gate
We were never actually checking if the gate was enabled. This patch
fixes it to match the behavior of the LegacyPM.
Reviewers: aeubanks
Pull Request: https://github.com/llvm/llvm-project/pull/225437
Merge tag 'v7.3-p5' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto fix from Herbert Xu:
"This fixes an hmac hashing bug on s390"
* tag 'v7.3-p5' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
crypto: s390/hmac - Generate intermediate CV for API partial block handling
lang/fpc-wasip1threads-devel: New port: Free Pascal wasm wasip1threads compiler (devel)
FPC supports three Wasm compilation targets: WASIp1 (WASI 0.1, also known as
WASI Preview 1), WASIp1threads (WASI 0.1 with the wasi-threads proposal) and
Embedded. FPC's Wasm support adds to FPC's already extensive list of
compilation targets, potentially allowing Pascal programs to run in even more
environments than they already do.
PR: 297129
lang/fpc-wasip1-devel: New port: Free Pascal wasm wasip1 compiler (devel)
FPC supports three Wasm compilation targets: WASIp1 (WASI 0.1, also known as
WASI Preview 1), WASIp1threads (WASI 0.1 with the wasi-threads proposal) and
Embedded. FPC's Wasm support adds to FPC's already extensive list of
compilation targets, potentially allowing Pascal programs to run in even more
environments than they already do.
PR: 297129
Reported by: tiga
[Sparc][clang] Use 64-bit long double on bare-metal targets (#222304)
GCC uses 64-bit long double for bare-metal SPARC V8 targets, including
RTEMS. Keep the default 128-bit for other SPARC targets.
Use the scalar calling convention for 64-bit long double.
Assisted-by: Codex
ntb_tool: Bound memory window option strings
parse_mw_buf() copies option names from privileged sysctl input into
eight-byte stack buffers. Unbounded %s conversions permit option tokens
longer than seven bytes to write past those buffers before the parser
validates them.
Limit each conversion to seven characters, leaving space for the
terminating NUL.
Signed-off-by: Yudi Yang <yudi.yang at rice.edu>
Fixes: 96f556f5044a ("NTB Tool: Test driver for NTB hardware drivers.")
Reviewed by: markj
MFC after: 1 week
(cherry picked from commit 602d1b994a22949fff7e4a87cb6e54d6fbad13b6)
amd64/pmap: Return la57 in amd nested page
AMD doesn't encode page depth in eptp. As a result, the page level is
decided by the host la57 value. Without this, it uses 4 level page and
therefore cause machine enable la57 have garbage page translation.
PR: 291768
Reviewed by: kib
Tested by: Antranig Vartanian <antranigv at freebsd.am>
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D57978
(cherry picked from commit ef26f64c11220ea303de16d088c585f9d2908b0f)
buf: Avoid calling bufdomain() on newly initialized bufs
bufinit() inserts newly initialized bufs into the QUEUE_EMPTY queue, at
which point they haven't yet been assigned a domain. Thus, bufdomain()
returns &bdomain[-1], which trips the array-bounds sanitizer.
This is harmless since we don't use the result in that case, but let's
avoid the invalid access to begin with. This is sufficient to let an
amd64 kernel boot to a login prompt with -fsanitize=array-bounds
configured.
Reported by: Andrew Griffiths <andrew at calif.io>
Reviewed by: rlibby, kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D59381
(cherry picked from commit e1d903bbfaf91060c43209b35b78a9992fbffe5e)
Merge tag 'mm-hotfixes-stable-2026-09-21-17-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
Pull MM fixes from Andrew Morton:
"14 hotfixes. 10 are cc:stable. 11 are for MM.
Five DAMON fixes: one fixes an arm64 contpte bug where DAMON can write
past the end of a page-table page, resulting in memory corruption and
possible crashes.
Two hugetlb fixes: one fixes an mremap() address calculation bug which
can panic x86-64.
There's also a missing anon_vma publication barrier which can result
in hung tasks, and a writeback fix to keep long cgroup writeback
drains from delaying Tasks-RCU grace periods.
The remainder are smaller fixes and maintenance changes"
* tag 'mm-hotfixes-stable-2026-09-21-17-08' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
[14 lines not shown]