[LV] Return best VPlan together with VF from computeBestVF (NFC). (#190385)
computeBestVF iterates over all VPlans and picks the VF of the most
profitable VPlan. This VPlan is later needed for execution and
additional checks. Instead of retrieving it multiple times later, just
directly return it from computeBestVF.
This removes some redundant lookups.
PR: https://github.com/llvm/llvm-project/pull/190385
snd_uaudio: Retire sndcard_func usage
This is effectively a no-op, as it does not make use of the
sndcard_func->varinfo field, so eventually ua_probe() always succeeds.
Also change ua_probe()'s value to 0. There is no need to return
BUS_PROBE_DEFAULT, because snd_uaudio() attaches the sound(4)'s children
with bus_attach_children().
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Reviewed by: markj
Differential Revision: https://reviews.freebsd.org/D56160
(cherry picked from commit 0efd33382504d3172734fa21325fcabef9c7f063)
relayd: support TLS with multiple listeners
Fix a bug in relay_inherit() which runs only
relay_load_certfiles(conf, rb, NULL) unconditionally which isn't
alligned with logic in parser when it parses relay block, where multiple
certificates are load as relay_load_certfiles(conf, rb, NULL) only if
here no tlscerts (for default host) and otherwise it loads keypairs.
OK: rsadowski@
science/fasthenry: Update build to use clang instead of gcc
Also fix CFLAG usage in Makefiles and config script.
Bump PORTREVISION.
Reported by: gerald
rust194: for now don't make "known target in 'unknown' list" fatal.
The "m68k-unknown-netbsd" entry may be in that list for a while,
until upstream LLVM is fixed to not only emit 16-bit PC-relative
relocations, which are ... inadequate for rust.
This should get rid of this as a fatal error if you need to rebuild
newer rust compilers using older pkgsrc rust compilers, which have
since 1.93 made m68k-unknown-netbsd a "known" target.
[llvm-ir2vec] Added Enum for ir2vec embedding mode (#190466)
Currently, the initEmbedding() takes mode as an input. This input is a
string input. This PR introduces a patch to take the input as an enum
value.
x509v3.h: remove pointless #ifdef HEADER_CONF_H
x509v3.h has included conf.h since June 20, 1999, OpenSSL commit ba404b5e,
so HEADER_CONF_H has been defined since then. Also since then, CONF_VALUE
(only available via conf.h) has been used outside of HEADER_CONF_H, making
that #ifdef doubly pointless.
ok bcook jsing kenjiro
cms_local.h: remove #ifdef X509V3_HEADER_H
All thirteen files including cms_local.h do that after including cms.h,
which already includes x509v3.h, so this is always defined. While here
make the cms_local.h a bit more selfstanding by including asn1.h and
x509v3.h
ok bcook jsing (who had the same diff) kenjiro
Follow the sparc64 lead and simply define curcpu in the kernel as the
special register containing its value, this is a general register (x4)
and therefore can be used directly
Diff stolen from miod@ who is on strike but agreed to let me commit
this. ok kettenis@
[VPlan] Mark unary ops as not having side-effects (NFC). (#190554)
Mark unary ops (only FNeg current) to neither read nor write memory,
similar to binary and cast ops.
Should currently be NFC end-to-end.
Import wayland/kanshi
kanshi allows you to define output profiles that are automatically enabled and
disabled on hotplug. For instance, this can be used to turn a laptop's internal
screen off when docked.
This is a Wayland equivalent for tools like autorandr.
kanshi can be used on Wayland compositors supporting the wlr-output-management
protocol.
www: https://gitlab.freedesktop.org/emersion/kanshi
ok matthieu@