Inline mwx_mcu_init() into mwx_init_hardware() and add
mt7925_mcu_set_eeprom() which must be called during hardware init.
Tested on 7921 and 7925 (which now fails in mt7921_mac_init).
Avoid incorrect UFS1 timestamp corrections when system clock fails at boot.
Git 1111a44301da - main - Defer the January 19, 2038 date limit in
UFS1 file systems to February 7, 2106 - did so by changing the UFS1
32-bit signed timestamps to unsigned. With this change, time stamps
from before January 1, 1970 went from being negative numbers to
large positive numbers implying times in the future. When such a
time stamp is encountered when an inode is read into memory or when
it is encountered by fsck, its timestamp is replaced with the
kernel's current time.
Andre Albsmeier reported that he had a machine reboot after a power
failure and the battery that maintained its real-time clock had
died. The result was that the system booted with the time set to
five years earlier (absent a real-time clock value, the boot ROM
used the time that the boot ROM had last been updated). The net
result was that fsck reset the time stamps of all files newer than
five years old to the five year old time.
[31 lines not shown]
[Driver][RISCV] Support the new `-mtune` syntax with tuning feature string (#196653)
A follow-up patch for #175063 : now clang supports the new `-mtune`
syntax outlined in the aforementioned PR, guarded behind a switch,
`-mexperimental-mtune-syntax`.
Add various checks in mwx_load_firmware() to ensure that the buffer
passed to mwx_mcu_send_firmware() does not move beyond the firmware
image. For regions flagged with FW_FEATURE_NON_DL don't forget to
increase the offset.
[libcxx] Enrich message for std::bad_variant_access exception (#196495)
## Summary
`std::bad_variant_access::what()` now returns a more descriptive message
identifying the failing operation (e.g. `std::get: variant is
valueless`)
instead of the generic `bad_variant_access`. Brings libc++ to parity
with
libstdc++, which has provided richer messages for years.
Discussed in:
[RFC](https://discourse.llvm.org/t/rfc-improve-bad-variant-access-what-messages/90716)
Adds an internal derived class of `bad_variant_access` carrying a `const
char*`
message, exported from the dylib with availability annotations. The base
`bad_variant_access` class is unchanged — no ABI flag required, no
layout
[16 lines not shown]
[clang-tidy] Add `readability-redundant-nested-if` check (#181558)
Introduce a readability check that merges nested `if`/`if constexpr`
chains by combining conditions with `&&`.
This resurrects the earlier patch at https://reviews.llvm.org/D130630.
The implementation keeps fix-its conservative around macros,
preprocessor directives, attributes, user-defined bool conversions, and
comment placement in removable nested headers. It also supports C++17
declaration conditions by rewriting them into init-statement form when
safe.
Assisted by Codex in writing tests and some of the code.
reap_kill_subtree_once: when proctree_lock is dropped, reaper might change
Recalculate it to iterate over the right set of processes.
Prevent reaper' struct proc reuse by holding the tree ref on it.
Since our reference is taken under the proctree lock and we know that
the process is reaper, it cannot go away. The process hold count
(p_lock) cannot be used there because p_lock intent is prevent exit, but
reaper owns its reap-children until reaped itself, i.e. even a zombie
reaper is still on duty.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D57492
proc: add tree ref count
Owning the reference prevents reuse of the struct proc.
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D57492
connectat(2): do not enable EMPTYPATH for AT_FDCWD
This restores existing error code for connect(2) over unix domain socket
when the empty string is specified as socket address.
Reported by: eduardo
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D57509
Kill MWX_IS_CONNAC2 macro and just use sc->sc_hwtype != MWX_HW_MT7925
like everywhere else.
Right now only MT7925 is different from MT7920/21/22 so just use one
common way to do these checks.
www/gohugo: Update to 0.163.0
ChangeLog: https://github.com/gohugoio/hugo/releases/tag/v0.163.0
Improvements
* resources/jsconfig: Remove deprecated baseUrl setting
* all: Adjust tests for deprecated link and image render hook settings
* all: Run go fix ./...
* pagesfromdata: Use relative path for content adapter template metrics
* ci: Re-add macos-latest to the test matrix
* images: Deprecate Imaging.Compression and move it down to webp and avif configs
* Only support the latest Go version
* page: Add IsBranch and deprecate IsNode
* images: Force cache invalidation for AVIF target
* images: Add a per-format AVIF hint setting
* images: Make AVIF chroma subsampling content-aware via the hint
* Cap AVIF lossy quality at 99
* config: Deprecate the glogal imaging quality setting
[9 lines not shown]