Commit Graph

297297 Commits

Author SHA1 Message Date
mrg 02502a24d6 make MAXLWP a real option that triggers rebuilds properly. 2022-07-23 19:15:28 +00:00
mrg be53bacd52 regen 2022-07-23 19:05:14 +00:00
mrg 7f2f931bcb bump the netbsd version GCC to yesterday's date. 2022-07-23 19:01:18 +00:00
skrll 96b232f06f whitespace 2022-07-23 13:30:15 +00:00
riastradh 29ed65e473 drm: Split scheduler into separate module.
Used only by amdgpu, and it uses something that is currently broken
from the gcc update on aarch64, so let's make it a little more
optional.
2022-07-23 12:52:09 +00:00
simonb e999c129d4 Add some file system options present in GENERIC kernels. 2022-07-23 11:49:58 +00:00
riastradh 8892a56649 drm: Go back to using device_unit(pciN) for pci busid.
This isn't arbitrary; it has to match existing logic in userland in
libpciaccess, and until we extend the pci(4) ioctl interface, and
find some way to handle userland compatibility, we can't change it.
2022-07-23 08:45:03 +00:00
thorpej 568ac2aacb - Handle dtlink in acpi_pack_compat_list().
- Don't pass the _HID value as the device name; always use the ACPI
  node name.
2022-07-23 03:08:17 +00:00
thorpej fa87d2aa12 If there is a compat string list, parenthetically print the first one
in iic_print_direct().  (From thorpej-i2c-spi-conf2 branch.)
2022-07-23 03:05:27 +00:00
thorpej 66fba52e46 Normalize how motoi2c controllers are attached. 2022-07-22 23:43:23 +00:00
mrg 8306b1360a arm64 needs additional lse.S builds with GCC 10.4.0. 2022-07-22 21:59:11 +00:00
mrg 96ca164f32 revert the previous; atomicity.cc is also built into here. 2022-07-22 21:51:08 +00:00
mrg 343972289b atomicity.cc has moved into libsupc++ for everyone.
this was a workaround we applied for sparc in PR#54660, and
now is used for all platforms.
2022-07-22 21:28:32 +00:00
mrg 370697021d GCC 10.4.0 is now in -current. 2022-07-22 21:11:47 +00:00
mrg e017c8d29d regen everything for GCC 10.4.0. 2022-07-22 21:10:26 +00:00
mrg 9f30ce74df merge GCC 10.4.0. 2022-07-22 20:22:33 +00:00
thorpej f3bcee9cf5 Split the i2c controller into 2 separate instances. This aligns with
how the device is represented when using DeviceTree, and also allows us
to de-weirdify the shared motoi2c code.

XXX Because e500 interrupt code doesn't support shared interrupts, we
no longer establish one for the i2c controller, but this isn't a great
loss as motoi2c doesn't support using interrupts right now anyway.
2022-07-22 20:09:47 +00:00
thorpej df0013f6b5 Stop using deprecated problib functions. 2022-07-22 20:05:55 +00:00
thorpej 129929c6a9 Revert previous; that was intended to be two separate commits. 2022-07-22 20:04:53 +00:00
thorpej 0879024568 Stop using deprecated proplib functions. 2022-07-22 19:54:14 +00:00
mrg a448f87c37 initial import of GCC 10.4.0 sources.
mostly a large list of PRs fixed (210 total), plus one x86-64
specific change related to MMX and 64 bit integer return.

https://gcc.gnu.org/gcc-10/changes.html links to the full list
of PRs fixed.
2022-07-22 19:52:30 +00:00
thorpej b22591ba11 Drop using deprecated proplib functions. 2022-07-22 19:52:29 +00:00
mrg 0f1671f24f initial import of GCC 10.4.0 sources.
mostly a large list of PRs fixed (210 total), plus one x86-64
specific change related to MMX and 64 bit integer return.

https://gcc.gnu.org/gcc-10/changes.html links to the full list
of PRs fixed.
2022-07-22 19:52:28 +00:00
nia fdf6cf6310 ctwm_app_menu: Work around "emacs being installed results in the
generated ctwmrc containing invalid syntax" problem. Emacs installs
a desktop file called "emacsclient" that contains "doublequotes"
in its exec string. Pending a better solution for dumping escaped
shell lines into the config file, hide or sanitize desktop entires
that might mess up the internal ctwmrc quoting rules.
2022-07-22 17:06:46 +00:00
christos a63bd7e822 Add a menu option to set the file extension of the downloaded sets.
amd64 sets are .tar.xz and sysinst fails by default.
2022-07-22 16:51:14 +00:00
wiz 5bea87492d Build and install pkgconfig files for liblzma and libarchive 2022-07-22 15:43:36 +00:00
wiz 230f85b870 fix current libarchive version, and mention 3.6.1 release 2022-07-22 12:30:56 +00:00
mrg c38f6a9699 fix missing components of c++17.
codecvt.cc was already present and handled for c++98 and c++11,
but cow-string-inst.cc, ostream-inst.cc, and string-inst.cc
were not handled for c++11 and c++17.

move all the handling of this into the Makefiles out of the
mknative-gcc output, and handle the new c++17 files.

fixes a problem reported by dholland.
2022-07-22 07:09:21 +00:00
mrg 7e76252b1d don't rename codecvt.cc here, do it in a Makefile when consumed.
since the Makefiles already need updates for these, it's easier
if all of the changes are there.
2022-07-22 06:50:26 +00:00
skrll cb3f674b71 malloc -> kmem. 2022-07-22 06:31:08 +00:00
msaitoh b479ac816a Add more statistics countes.
- Add many statics counters that the chip has.
 - Attach event counters only if available.
2022-07-22 05:23:50 +00:00
mrg 6d5d98fc8a build glamoregl module with all the glamor objects, not as part of
the base list of libraries.  noted by rjs.

should fix PR#56934.
2022-07-21 22:51:23 +00:00
martin 5411e19c89 Add some driver debugging infrastructure 2022-07-21 18:12:24 +00:00
andvar 0b988ad480 s/pedning/pending/ 2022-07-21 14:41:59 +00:00
andvar 1c4208385c s/Transration/Translation/ 2022-07-21 14:27:46 +00:00
simonb ea119a1a22 Removed unused opt_wapbl.h include. 2022-07-21 14:07:16 +00:00
andvar 6913cbefe0 fix typos in comments and log messages, mainly s/intrrupt/interrupt/. 2022-07-21 10:09:20 +00:00
wiz 33b95c7f55 readlink: sort SEE ALSO 2022-07-21 10:08:28 +00:00
kre a71e9960ca Add an Xr to realpath(1) (which does much the same as readlink -f).
Try not to forget the damn comma!
2022-07-21 10:00:31 +00:00
kre 1f79159709 Note realpath(1) update. 2022-07-21 09:56:34 +00:00
kre fa7d65a3b6 Add ATF tests for realpath(1)
Note that realpath can act differently for root than for other users
(where an ordinary user will see EACCESS root just barrels right through).

The tests adapt themselves, when run as root, less error cases can be
tested than when run as some other user.
2022-07-21 09:52:48 +00:00
wiz d0aa7735ce Add missing comma. 2022-07-21 09:51:53 +00:00
kre 245b5ea4e5 Make realpath(1) compat with the planned (not yet approved) specification
for POSIX.8 (its next version).   (Should the requirements change, the code
here can be updated).

This adds two new options.  -e and -E
-e just tells realpath to do what it has done since it was imported here.
-E makes realpath more compatible with the coreutils version, and allows
   the final component of the path to not exist (the final component after
   all symlinks have been expanded, not of the arg on the command line - though
   that one not existing is one case of the more general spec.).

POSIX is not going to specify which of those is the default - instead is
planning to require users to always explicitly specify one.

The default (now) here is -E.   This makes us more compat with coreutils.
realpath was added in the first place because it is (apparently) used in
real world scripts - the more we can support, the better.

Note that in all cases where realpath -e succeeds, realpath -E will succeed
as well.   This means that any uses of "realpath file" that have been
working in HEAD will still work.   Some cases that would have failed
will work (by default) now.
2022-07-21 09:47:31 +00:00
kre 5c922bdb9e PR bin/56917
If getfsspecname() fails that will usually mean that a NAME=wedge or
ROOT.x partition is unabailable.   raidframe specified unavailable
partitions as "absent" so in this case, pass "absent" rather than the
unaltered NAME= or ROOT.x string, which the kernel has no clue what
do do with, and doesn't configure the raid at all.
2022-07-21 09:19:53 +00:00
riastradh 62f40b1cc2 drm/ttm: Cast to potentially larger types before << PAGE_SHIFT.
Not sure if this is a problem but it might affect, e.g., i386pae.
Can't hurt, in any case, to cast to what the type will be after the
shift anyway.
2022-07-21 08:07:56 +00:00
kre 15e7028037 Cleanup the "hup" function - quote properly, and test for the pid
file existing (with something in it) before simply using it, so the
error message can be controlled, rather than just sh's cannot open file msg.
2022-07-21 07:53:28 +00:00
kre d8eb9e45f2 Get rid of the (insulting)
We recommend that you create a non-root account...
message from single user mode shell startups.
2022-07-21 07:51:12 +00:00
kre bd7c53a85d Make this better ... Allow config file for raidN to be found
in /etc/conf/raid/raidN (as well as in /etc/raidN.conf) (less
clutter in /etc).

Allow config files to exist for raids that are autoconfigured (just
skip anything autoconfigured) - this allows a (simplistic) recovery
mechanism if autoconf fails, and makes it simpler to enable/disable
autoconf at will, while keeping the raid working.

While here, add sh quoting where it is needed, and remove it from
where it is pointless.
2022-07-21 07:49:36 +00:00
thorpej e0c45a1489 Rename functions in previous in preparation for future changes. 2022-07-21 01:52:28 +00:00
thorpej a441e7a25d Improve error reporting. 2022-07-20 22:58:35 +00:00