www/mod_auth_kerb2: Deprecate and mark BROKEN
The module uses the krb5_rc_dfl_* interfaces, which MIT Kerberos no
longer exports. The module builds but cannot be loaded with the
GSSAPI_MIT option, and with the default GSSAPI_BASE option on
FreeBSD 15.1, where the base Kerberos is MIT. The last upstream release
is from 2008.
Mark GSSAPI_MIT and GSSAPI_BASE on FreeBSD 15.1 and later as BROKEN and
deprecate the port in favor of www/mod_auth_gssapi, with removal on
2027-01-31.
PR: 279586
Sponsored by: Netzkommune GmbH
cpufreq_dt: Do not use an uninitialised OPP when restoring the state
cpufreq_dt_set() only looks up the current OPP (copp) when the voltage
cannot be read from the regulator. When it can, which is the usual
case, copp is never set but the two error paths that restore the
previous state still use it: a failure to set the clock reads the
voltage limits of copp and a failure to lower the voltage reads its
frequency.
Restore the frequency with the one that was read from the clock before
the change, and look up the current OPP when the voltage has to be
restored, skipping it if there is none.
Fixes: a701764e9c50 ("Improve cpufreq_dt.")
Reported by: llm-postcr
cpufreq_dt: Use all the OPPs when the hardware version is unknown
An OPP with opp-supported-hw is only used if the hardware version, given
by the vendor specific code, matches it. When no vendor class handles
the OPP table, for example the ones of the TI and i.MX SoCs, the version
is unknown, so every OPP that has the property was dropped and the table
ended up empty. The driver still attached and cpufreq_dt_find_opp()
returned a pointer to an entry that does not exist, using an
uninitialised index.
Use all the OPPs when the hardware version is unknown, as if the
property was not there, which is what the driver did before the
property was honored. Also make cpufreq_dt_find_opp() return NULL for
an empty table, as its callers already expect.
Fixes: 7178a47a4ffd ("cpufreq_dt: Honor opp-supported-hw and opp-microvolt-<name>")
Reported by: llm-postcr
rtwn: fix the build without RTWN_DEBUG
RTWN_DPRINTF() compiles to nothing without RTWN_DEBUG, which leaves four
of the IQK result copies in r92f_iq_calib() set but never read. Kernels
with "device rtwn" in their config, LINT among them, then fail with
-Werror,-Wunused-but-set-variable. The module build does not hit this
because its generated opt_rtwn.h always defines RTWN_DEBUG.
Print the result array directly and drop the four locals.
Fixes: 1f0e186e1832 ("rtwn: added support for Realtek RTL8192FU...")
Sponsored by: Rubicon Communications, LLC ("Netgate")
devel/sgb: Update to version 2021-02-02
This adds one file (word_giant.ch), increases a buffer in gb_gates.w,
and brings two editorial fixes to documentation.
On the way switch the download site from ftp to https.
amd64: Avoid redundant CR0 writes on switches to kernel threads
fpu_activate_sw() sets CR0.TS whenever it switches to a kernel thread,
or to a thread inside fpu_kern_enter(). The bit is clear only while a
thread owns the FPU, and at a context switch the only possible owner is
the old thread. When fpcurthread is NULL the bit is already set and
the write to CR0, which is serializing, changes nothing. That is the
common case for switches between kernel threads, such as the idle
thread and interrupt threads on a router.
Write CR0 only when fpcurthread was set, as cpu_switch() did before
the eager FPU switch became the default in d1a07e31e5cc, and assert
that TS is set otherwise.
Reviewed by: kib
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D62206