iichid(4): Expect I2C address provided by iicbus(4) to be in 8-bit
format rather than in 7-bit to chase "acpi_iicbus: shift the ACPI slave
address into the form iicbus(4) stores" commit.
acpi_iicbus: shift the ACPI slave address into the form iicbus(4) stores
An I2cSerialBus resource carries the 7-bit slave address, but iicbus(4)
stores and passes around the 8-bit form -- ofw_iicbus(4) shifts a device-tree
"reg" value for the same reason, and the AML address space handler in this
file already shifts before issuing a transfer. Without the shift every
device enumerated from ACPI is addressed at half its address, and a driver
that probes by reading a register sees no ack.
Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D60062
[VectorCombine] Fix crash on bitcasts of pointer vectors
foldBitcastShuffle divides by the scalar sizes of the source and
destination element types, which are zero for pointers. A bitcast of a
shuffled pointer vector, or one between a byte vector and a pointer
vector, then crashes with a division by zero. Skip the fold for pointer
elements.
Fixes #246659
Assisted-by: Claude Code (Claude Opus 5.5)
[analyzer][docs] Add a release note for the performance improvements (#246650)
Assisted-by: Claude Opus 5.5
---------
Co-authored-by: Gabor Horvath <gaborh at apple.com>
monit: allow skipping service checks during a cron window (not every) (#11337)
Monit supports `not every "<cron>"` next to `every "<cron>"`: the
service is skipped while the schedule matches and checked at all other
times, e.g. to pause a check during a nightly job that briefly stalls
the service. Only one of the two can be set per service, so add a
"Poll Time Mode" option to choose how the Cron-style Poll Time is
applied. The default keeps the current `every` behaviour.
[analyzer] Sanitize handling of currStmtIdx (#243897)
The index of the currently analyzed `CFGElement` within the current
`CFGBlock` was stored in the data member `unsigned currStmtIdx` of
`ExprEngine`. However, when the current analysis step does not analyze a
`CFGElement` (e.g. it handles the terminator of a block), there is no
meaningful "current statement index" and `currStmtIdx` held a stale
value from the last analyzed statement.
To make this "not always meaningful" property explicit, replace
`unsigned currStmtIdx` with `std::optional<unsigned> CurrStmtIdx` (also
adjusting the capitalization).
Now operations that are only meaningful while analyzing a `CFGElement`
trigger an assertion failure instead of silently reusing a stale index.
On the other hand `ExprEngine::getCFGElementRef()` is updated to return
an element ref with the invalid statement index `UINT_MAX` when not
analyzing a `CFGElement`. This is useful because the result of this
[28 lines not shown]
powerpc64: Fix disappearing low memory on radix MMU systems (POWER9)
The FreeBSD radix implementation piggybacks on the physical memory
allocation function from the HPT implementation, but did not share
the same state information for number of physical memory ranges.
This led to a situation where the HPT physical memory allocator
would attempt to shift the physical memory ranges in the shared
range table, but would use the wrong number of entries, thus
overwriting the large segment of low memory that should have been
available for e.g. 32-bit DMA.
Incorrect physical memory map:
real memory = 33997058048 (32422 MB)
available KVA = 34359619583 (32767 MB)
Physical memory chunk(s):
0x0000000000003000 - 0x0000000000002fff, 0 bytes (0 pages)
0x000000000000e000 - 0x000000000000ffff, 8192 bytes (2 pages)
0x0000000000094000 - 0x0000000000ffffff, 16171008 bytes (3948 pages)
[28 lines not shown]
powerpc64: Fix disappearing low memory on radix MMU systems (POWER9)
The FreeBSD radix implementation piggybacks on the physical memory
allocation function from the HPT implementation, but did not share
the same state information for number of physical memory ranges.
This led to a situation where the HPT physical memory allocator
would attempt to shift the physical memory ranges in the shared
range table, but would use the wrong number of entries, thus
overwriting the large segment of low memory that should have been
available for e.g. 32-bit DMA.
Incorrect physical memory map:
real memory = 33997058048 (32422 MB)
available KVA = 34359619583 (32767 MB)
Physical memory chunk(s):
0x0000000000003000 - 0x0000000000002fff, 0 bytes (0 pages)
0x000000000000e000 - 0x000000000000ffff, 8192 bytes (2 pages)
0x0000000000094000 - 0x0000000000ffffff, 16171008 bytes (3948 pages)
[28 lines not shown]
[Analysis][NFC] Use EnumStrings for VecFuncs (#246605)
Currently, a VecDesc contains StringRefs, which cause dynamic
relocations. Port these to use compact EnumStrings storage instead. This
reduces the size of .data.rel.ro by ~108kiB.
sysutils/vm-bhyve-devel: Update to the latest commit
This commit includes initial support for vlanfilter switch. See also
upstream PR [1] for brief usage instructions.
This feature is still under development and has some rough edges. Its
behaviour may change, so please use it with caution.
[1] https://github.com/freebsd/vm-bhyve/pull/153
(cherry picked from commit 6081c967f77610933e72afdb1dea7e42e15ed02f)
sysutils/vm-bhyve-devel: Update to the latest commit
This commit includes initial support for vlanfilter switch. See also
upstream PR [1] for brief usage instructions.
This feature is still under development and has some rough edges. Its
behaviour may change, so please use it with caution.
[1] https://github.com/freebsd/vm-bhyve/pull/153
openimageio: updated to 3.2.2.0
3.2.2.0
color: Give the linear display identities their CICP codes.
color: Add chromaticities and transfer gamma queries to ColorConfig.
color: Resolve namespaced Color Interop IDs.
color: Convert to and from Color Interop IDs the config lacks.
color: Preserve gamma conversion order with OCIO 2.3 and 2.4.
color: IsData() follows OCIO's lookup and its isdata flag.
color: Keep the default view transform when copying configs on OCIO < 2.3.2.
color: Load the color config on first use, not on construction.
ImageSpec: Carry source provenance on higher-level image specs.
oiiotool: Don't read past an empty --info result.
perf: Resolve the color interop ID table's names once per config.
perf: Reduce cache-line contention in ImageCache lookups.
perf: Faster spin_mutex under contention; fix arm64 pause.
IBA: Properly clamp resample() channel range and Highway row stride.
IBA: Don't index channelnames past its size.
[55 lines not shown]
opencolorio: updated to 2.6.0
2.6.0
This is the main new feature release for this year and is the base version for
the CY2027 VFX Reference Platform (which specifies 2.6.x).
Major new features:
* Add read/write support for SMPTE ST2136-1 CLF
* Config compatibility validation for HDR displays
* Add functions to support ASWF color interop ID
* Display and view alias support
* Add 2.6.0 built-in configs for ACES
* Add DirectX 12 GPU unit test backend for Windows
* Add Vulkan unit test framework
[Bazel] Remove unnecessary arm-specific select in BUILD (#246329)
and scope x86 BLAKE3 macros to local_defines. This limits defines
propagation to other targets.
- Drop BLAKE3_USE_NEON, dispatched at
llvm/lib/Support/BLAKE3/blake3_impl.h
- Move x86 BLAKE3_* into local_defines to prevent propagation.
ibcore: Avoid quadratic uverbs ID allocation
FreeBSD's LinuxKPI xa_alloc() starts at index zero for each allocation.
The per-file uverbs XArray holds protection domains, completion queues,
queue pairs, and memory regions. As the number of live objects grows,
each new handle probes all occupied lower IDs, making large connection
setups increasingly expensive.
Keep the optimization in the OFED uverbs caller: track the next candidate
ID in ib_uverbs_file, reserve under the XArray lock, and advance the
cursor on success. On a collision, search forward and wrap through the
32-bit handle space. Existing lookup, commit, erase, and destruction
paths are unchanged. Freed lower IDs are reused after wraparound.
Signed-off-by: Lewandowski, Rafal <rafal.lewandowski at intel.com>
Reviewed by: bartosz.sobczak_intel.com, kib
MFC after: 2 weeks
Sponsored by: Intel Corporation
Differential Revision: https://reviews.freebsd.org/D60405