virtio_pci_modern: Remove endianness conversion for config space
The bus_* functions already handle converting from PCI endianness
(i.e. little-endian) to native endianness when accessing the config
space (see ofw_pcib_bus_get_bus_tag), so converting again with
virtio_htogX/virtio_gtohX undoes any byte-swapping and breaks
big-endian systems. They should only be used for operating on shared
memory.
Note part of this reverts commit fb53b42e36a9 ("virtio-modern: fix PCI
common read/write functions on big endian targets").
PR: 294706
Reviewed by: adrian, tuexen
Fixes: fb53b42e36a9 ("virtio-modern: fix PCI common read/write functions on big endian targets")
Fixes: 9da9560c4dd3 ("virtio: Add VirtIO PCI modern (V1) support")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D57392
[Support] Make format_object non-virtual (#206319)
Currently, format_object creates a 32B vtable for every instantiation.
This is costs space and dynamic relocations. Make format_object
non-virtual and adapt the two printing users to use a function_ref
instead.
adduser: Normalize supplemental groups
Rather than insist on a space-separated list, normalize the input so
that any number of spaces, commas, colons, or semicolons are accepted.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D57774
(cherry picked from commit 65fba082f44cb9451d2b12bcd99c3287d0a47acc)
rc: Improve load_kld
* Centralize the usage message.
* Document and enforce that -e and -m are mutually exclusive; previously,
speficying both would result in only -e being applied.
* If -e was not specified, and -m was not specified or did not match,
fall back to `kldstat -n file` which will always work for modules that
aren't built into the kernel.
This means the kld and ntpd scripts can now rely on load_kld to dtrt.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57706
(cherry picked from commit a95d324dd3107afcbc16767d183acca7a57ebca9)
rc: Fix improper use of load_kld
Fix scripts that needlessly used -e when the simpler -m would work, or
that used -m when the module and file name are the same, or, in one
particularly egregious case, used -m with the wrong name when using
nothing at all would have worked just fine.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57705
(cherry picked from commit cfe1962a19259fea8f51673f4da6c96656776486)
rc: Make devmatch use load_kld
The default behavior of load_kld is now robust enough for devmatch.
Switching means settings from /etc/sysctl.kld.d are now properly applied
when the corresponding modules are loaded by devmatch.
While here, reduce the amount of output produced by devmatch from one
line per module to a single line.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57707
(cherry picked from commit b9f616d031566e94e6967a2c533b8aa7f36123b9)
adduser: Normalize supplemental groups
Rather than insist on a space-separated list, normalize the input so
that any number of spaces, commas, colons, or semicolons are accepted.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D57774
(cherry picked from commit 65fba082f44cb9451d2b12bcd99c3287d0a47acc)
rc: Make devmatch use load_kld
The default behavior of load_kld is now robust enough for devmatch.
Switching means settings from /etc/sysctl.kld.d are now properly applied
when the corresponding modules are loaded by devmatch.
While here, reduce the amount of output produced by devmatch from one
line per module to a single line.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57707
(cherry picked from commit b9f616d031566e94e6967a2c533b8aa7f36123b9)
rc: Fix improper use of load_kld
Fix scripts that needlessly used -e when the simpler -m would work, or
that used -m when the module and file name are the same, or, in one
particularly egregious case, used -m with the wrong name when using
nothing at all would have worked just fine.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57705
(cherry picked from commit cfe1962a19259fea8f51673f4da6c96656776486)
rc: Improve load_kld
* Centralize the usage message.
* Document and enforce that -e and -m are mutually exclusive; previously,
speficying both would result in only -e being applied.
* If -e was not specified, and -m was not specified or did not match,
fall back to `kldstat -n file` which will always work for modules that
aren't built into the kernel.
This means the kld and ntpd scripts can now rely on load_kld to dtrt.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57706
(cherry picked from commit a95d324dd3107afcbc16767d183acca7a57ebca9)
gotosocial: improve package after review by wiz
Changes:
- Removed unecessary things like PKGREVISION, pre-extract
- Cleanup
- Added INSTALL_UNSTRIPPED flag to no to mimic GoToSocial's production
build
Pull up following revision(s) (requested by isaki in ticket #347):
sys/arch/virt68k/virt68k/bus_dma.c: revision 1.5
Fill in bus_dmamap_sync() for 68030. Since 68030 caches are write-through,
this is pretty trivial: just invalidate the on-chip + any external D cache
in the PREREAD case. (See comment in code for why PREREAD is preferred
over POSTREAD.)
PR kern/60144
Pull up following revision(s) (requested by kbowling in ticket #2023):
sys/uvm/uvm_km.c: revision 1.168
uvm_km_pgremove: pmap_update before freeing pages
Update the commentary in uvm_km_free to reflect this reality while here
Reviewd by skrll@
PR kern/60376
Pull up following revision(s) (requested by kbowling in ticket #1293):
sys/uvm/uvm_km.c: revision 1.168
uvm_km_pgremove: pmap_update before freeing pages
Update the commentary in uvm_km_free to reflect this reality while here
Reviewd by skrll@
PR kern/60376
Pull up following revision(s) (requested by kbowling in ticket #346):
sys/uvm/uvm_km.c: revision 1.168
uvm_km_pgremove: pmap_update before freeing pages
Update the commentary in uvm_km_free to reflect this reality while here
Reviewd by skrll@
PR kern/60376
py-blessed: updated to 1.44.0
1.44
* improve: reduce errant XTGETTCAP output for Terminal.app and ConEmu.exe :ghpull:`385`.
1.43
* bugfix: regression of XTGETTCAP responses leaking into first call for empty/non-response
terminals (libvte/Gnome Terminal), in versions 1.40 to 1.42 :ghpull:`383`.
1.42
* bugfix: regression in :meth:`~.Terminal.cbreak` and :meth:`~.Terminal.raw` were not thread-safe
broken in versions 1.40 and 1.41, remove signal ignore of SIGTTOU :ghissue:`380`.
1.41
* bugfix: :meth:`~.Terminal.get_location` broken in 1.40, returned a generator instead of a tuple.
:ghissue:`378`.
1.40
* improved: jinxed_ is **now required on all platforms**, providing a curses-free and
[18 lines not shown]
py-jinxed: added version 2.0.4
Jinxed is a pure-Python implementation of a subset of the Python curses
library. It provides jinxed.tigetstr(), jinxed.tparm(), and related terminfo
functions on all platforms with a virtual terminfo(5) database.
atari800: updated to 7.0.0
7.0.0
New features:
Auto-download missing OS/BASIC ROMs from the Internet
Mount zipped disk images directly from the Internet
Portable mode — config file and data storage next to the executable
Platform specific:
Windows: 32/64-bit builds, installer executable, portable zip archive
Windows: app icon, MP3 recording support
Windows: win32-no-network build for XP compatibility
macOS: ready-to-run .dmg archive
Linux: AppImage builds (x86_64 + i386)
Android: auto-download ROMs, upgrade dialog
[10 lines not shown]
databases/turso: New port
Turso is an open-source, SQLite-compatible database written in Rust that
lets developers create millions of small, file-based databases for AI
agents, multi-tenant SaaS applications, and edge workloads.
Unlike traditional databases that run as a single shared server process,
Turso treats each database as a lightweight file that can be spun up
instantly, replicated globally, or synced to a device.