if_bnxt: add support for SIOCGI2CPB page/bank i2c requests
Advertise IFLIB_I2C_PAGE_BANK and forward the requested page/bank to
firmware, so CMIS optics can be read correctly instead of falling
back to bogus legacy SFF-8472 decoding. Also fix bnxt_i2c_req() to
return positive errno values.
Signed-off-by: gallatin
Reviewed by: gallatin
MFC after: 2 weeks
Sponsored by: Broadcom Inc.
Differential Revision: https://reviews.freebsd.org/D59573
(cherry picked from commit fdab50f6f8107c9d825a7e6d92d7a6b89c417bbb)
[VPlan] Avoid recursive-fan-out of usesFirstLaneOnly (NFC) (#229130)
This fixes compile-time for the original slow case mentioned in #228403,
without affecting compile-time for smaller cases.
Ref:
https://github.com/llvm/llvm-project/pull/220730#issuecomment-5992802596.
Fixes #228403.
Co-authored-by: Florian Hahn <flo at fhahn.com>
[X86] Combine mask_beforefirst to (x - 1) & ~x in GPR (#232262)
glibc and libc use this pattern in strcpy etc. to set the bits before
the lowest set bit. It works correctly for x=0 too, returning an all
ones mask.
Because SSE/AVX/AVX2 promote vNi1 types, do this as a DAG combine before
type legalization.
We need to restrict it to power of 2 types otherwise we hit a latent
crash in combineToExtendBoolVectorInReg.
[lldb][test] Disable TestFrameProviderStepping.py on Windows temporarily (#234889)
One part of it is flaky in GitHub CI:
https://github.com/llvm/llvm-project/issues/234888
I'm not sure which, and whether the issue applies to all tests in the
file. Hence the class level disable for now.
Report TrueSearch in usage statistics services
## Problem
TrueSearch has no "Start Automatically" flag and no row in the services table, so it never shows up in the `services` list of the usage statistics and there is no way to tell how many systems use it.
## Solution
Append a `truesearch` entry to `services`, with `enabled` coming from `truesearch.enabled`, the same check middleware uses to decide whether to start the daemon (licensed, and SMB Spotlight or WebShare search have shares to index).
[libc] Enable baremetal Armv7-M pre-merge tests
The tests are run using QEMU system emulation on AArch64 GitHub runners.
No strong reason to use AArch64 instead of x86_64 as it is via emulation
anyway. But AArch64 runners are cheaper, so that might prove beneficial.
[libc] Application and testing support in baremetal Armv7-M CMake cache file
This patch adds support for linking and running applications, including
tests, targeting baremetal Armv7-M to the corresponding CMake cache
file.
The cache file takes into consideration if compiler-rt is enabled or
not. If it is, then linking applications is possible, and the relevant
CMake variables are set to enable test runs. If not, then only the libc
build is possible and enabled.
Particular libc configuration options, memory mappings, and QEMU options
are based on what Arm Toolchain for Embedded uses in its fully working
downstream testing.
[libc] Add qemu-system-arm to libc Dockerfile for Arm baremetal testing (#233496)
This patch adds `qemu-system-arm` to the packages installed into the
Docker image so that we can run Arm baremetal tests.
NAS-144452 / 28.0.0-BETA.1 / Report TrueSearch in usage statistics services (#20043)
## Problem
TrueSearch has no "Start Automatically" flag and no row in the services
table, so it never shows up in the `services` list of the usage
statistics and there is no way to tell how many systems use it.
## Solution
Append a `truesearch` entry to `services`, with `enabled` coming from
`truesearch.enabled`, the same check middleware uses to decide whether
to start the daemon (licensed, and SMB Spotlight or WebShare search have
shares to index).
[AMDGPU] Disable non-assert test cases (#234869)
3 test cases's checking line is based on `NDEBUG` or `ASSERTIONS` being
enable.
Disable these if assertion is off.
Co-authored-by: shore <shorshen at amd.com>
[CIR][HIP] Emit module ctor without a GPU binary (#234855)
Mirror classic codegen, reference an external __hip_fatbin and add the
CUID hash to the fatbin and handle names
---------
Co-authored-by: Steffen Larsen <sholstla at amd.com>