Commit Graph

268677 Commits

Author SHA1 Message Date
martin 1f21161492 Don't overwrite the filesystem type unconditionally with the FFSv1 or v2
setup for an architectures default - now we have /tmp on tmpfs back.
2019-07-15 19:13:05 +00:00
martin d1a5991552 Fix partition size display 2019-07-15 17:17:59 +00:00
skrll 916851dd6d Fix a comment 2019-07-15 11:46:53 +00:00
skrll 433d817310 Restore the comment against the line changed in the last commit 2019-07-15 11:45:54 +00:00
skrll 043d2fb874 Pass the VA of start (and not VM_MIN_KERNEL_ADDRESS) when mapping the
kernel at its KVA address.  Previously the last 64 bytes of the .bss might
not be mapped if _end was within 64 bytes of a L2_SIZE boundary
2019-07-15 11:27:19 +00:00
skrll b74ac9308b Fix and improve a VPRINTF 2019-07-15 08:44:33 +00:00
mrg d5d7d88468 adjust axe(4) similar to recent axen(4)/cdce(4)/ure(4) updates
(which were in turn partly based upon smsc(4) changes):
- mark network interface MPSAFE, and use MPSAFE calls
- convert to local tick task doing watchdog timeout
- add global, tx and rx locks
- add ratelimited tx error message
- split many functions into locked/unlocked version
- use more const
- fix some comments
- remove spl
- don't bother with OACTIVE and do it all internally (axe_tx_cnt)

additional changes here:
- use axe_stop() to abort pipes in detach

fixes a crash potential i only saw when almost finished debugging
these changes..
2019-07-15 06:40:21 +00:00
mrg 928c247fdb define _CONST_X_STRING for newer versions. 2019-07-15 05:41:16 +00:00
mrg 5c5367623b minor white space adjustments. 2019-07-15 03:14:22 +00:00
uwe 8fd03c43d4 Tweak markup some more. 2019-07-15 01:26:15 +00:00
mrg 1fec062d90 move software parts out of the "reg" header. 2019-07-14 21:37:09 +00:00
thorpej 384f3f68e8 Add a 'DDTK' tag so that the RPI firmware will load device tree overlays.
Based on a patch I got from Nick Hudson ages ago.
2019-07-14 20:12:22 +00:00
christos f9b8013d85 PR/54375: Andreas Gustafsson: gdb attached to running process shows extra
thread. When attaching to a process that has threads make sure that we
mutate the inferior_ptid (that currently has lwpid == 0 to the first thread
we encounter.
2019-07-14 18:50:58 +00:00
martin 3e0865bfbe Limit the number of menu entries in extended partitioning to the
pre-allocated storage.
Minor cosmetics.
2019-07-14 16:12:02 +00:00
kamil a38205d0e0 Update sysinst(8) Polish translations
Submitted by Krzysztof Lasocki.
2019-07-14 16:04:03 +00:00
martin 02ce76da63 Fix a few of the very stupid mistakes I made when converting this to
the abstract partitioning interface.
2019-07-14 15:36:57 +00:00
mlelstv 1f35f2fe1f Fix error path, kmem_free doesn't allow NULL pointers.
Fix compilation with CONFIG_USB_DWC2_TRACK_MISSED_SOFS.
2019-07-14 13:55:43 +00:00
martin 32ea71a6fe Work in progress UEFI boot support, don't try this at home yet! 2019-07-14 11:27:33 +00:00
martin 3bde5c8f4b Don't force mounting of newfs'd partitions.
Provide MD hooks for setups where we do not need any bootblocks.
2019-07-14 11:26:18 +00:00
martin 87c16c7ab4 Follow our internal install instructions correctly: newfs when a partition
is marked for it, don't second guess from mount point or similar.
2019-07-14 11:25:10 +00:00
sevan b60ae75e99 Add Fernando Jose Corbato
https://multicians.org/corby.html
https://www.nytimes.com/2019/07/12/science/fernando-corbato-dead.html
2019-07-14 10:43:01 +00:00
skrll 202efe03e1 Use PV_ISKENTER_P. NFCI. 2019-07-14 09:31:33 +00:00
skrll 344c7d8922 Spell initarm correctly in comments 2019-07-14 09:29:21 +00:00
maxv 1a0e73db20 Fix uninitialized variable: if 'tvp' is NULL, '*tdep' is not initialized.
This could have caused the KASSERT to wrongfully fire.

ok riastradh@
2019-07-14 05:58:44 +00:00
thorpej 664653b09e Make failure-to-attach errors a little more informative. 2019-07-13 21:56:23 +00:00
christos 870d594d5a Use ULONGEST_MAX instead of (ULONGEST)-1 2019-07-13 21:55:52 +00:00
christos 5625e95427 Add (ULONGEST) to prevent narrowing warnings. 2019-07-13 21:53:48 +00:00
martin 4f30cbf326 We may call md_pre_mount() multiple times for the same install set,
so pass an additional index argument so MD code knows which part
of the install will be mounted next.
2019-07-13 17:13:36 +00:00
mlelstv eea8587cd3 register with pmf to allow suspend. 2019-07-13 17:06:00 +00:00
mlelstv 65e8dbb3e1 Use common code for SMEP/SMAP panic to print more information and
allow debugging.
2019-07-13 17:03:01 +00:00
maxv 7b3e694533 Remove the roundups, they are incorrect and cause memcmp to wrongfully fail
because of uninitialized bytes at the end of the buffers.

ok rmind@
2019-07-13 14:24:37 +00:00
gson b9a5a0bbdb In the setitimer_old test case, allow for time passing between the two
setitimer() calls.  Should fix PR kern/54370.
2019-07-13 12:44:02 +00:00
skrll 41001223f9 G/C 2019-07-13 09:47:14 +00:00
msaitoh a598bfb695 Define some new bits of CPUID Fn8000_0007 %edx AMD Advanced Power Management
leaf.
2019-07-13 09:28:03 +00:00
msaitoh 88e2c8620e Improve SB800 and newer chipsets support:
- Add newer chipset (e.g. X370/X399 and newer) support that the PCI device id
  is 0x790b. The register definitions are mainly taken from FreeBSD.
- Rename PIIXPM_INDIRECTIO_* to SB800_INDIRECTIO_* because those are only
  for SB800 and newer chipsets.
- SB800 also support 4 ports.
- SB800's interrupt configuration bit is different from others.
  Use SB800_SMB_HOSTC's bit 0.
- Do not bus_space_map devices which are at address 0 (it's uninitialized)
  in piixpm_attach().
- Add the port number to the dmesg output.
- Avoid uninitiliazed use of ctl and corresponding warnings. From OpenBSD rev.
  1.38
2019-07-13 09:24:17 +00:00
christos a713a1068c allow c9x struct casts (in new libXt) 2019-07-12 23:32:45 +00:00
christos a8a9d504b1 Regen mips 2019-07-12 22:45:07 +00:00
christos 8c59d46439 remove ancient and unused regset_t definitions 2019-07-12 22:44:33 +00:00
christos e81dba3600 remove dup solib-svr4 defs 2019-07-12 22:44:11 +00:00
christos 434b3c9777 put back the kvm stuff lost in previous merge. 2019-07-12 22:43:15 +00:00
christos ca881224bd add the bfd ntrad vectors so that core files are recognized on mips64 2019-07-12 22:42:45 +00:00
skrll a6f2c766a6 Add a couple of spaces to do the <space><tab> thing 2019-07-12 19:28:20 +00:00
martin e4f8c9e59c When adding non-disklabel boot partitions (or similar), distinguish between
ones we need to add to the outer (MBR) partitions, or copy over to the
inner (disklabel) partitions.
2019-07-12 18:28:08 +00:00
martin 268feb8d90 Fix copy & pasto: when using the whole disk but requiring boot partitions,
do not extend the size of the boot partition(s) to full disk size.
2019-07-12 18:25:08 +00:00
martin 72fce37fcf Add (U)EFI system partition type 2019-07-12 18:23:06 +00:00
martin c556aa7c3b Implement add_outer_partition (to allow access to partitions outside
the NetBSD disklabel part)
2019-07-12 18:22:36 +00:00
maxv 79bc662a91 Fix info leak: zero out the buffer, because it is not entirely filled, and
the uninitialized bytes get copied to userland in sys___getdens30(). Remove
unneeded cast while here.
2019-07-12 17:18:30 +00:00
skrll 930577a55f Provide and use PV_ISKENTER_P. NFCI. 2019-07-12 10:39:12 +00:00
skrll 48bcae0923 Fix STACK_ALIGN "bytes" argument which actually should be a mask.
Spotted by Mark Millard (marklmi at yahoo.com)
2019-07-12 06:44:49 +00:00
mlelstv b5e559801c Add missing lock around pmap_protect.
ok, chs@

Reported-by: syzbot+6bfd0be70896fc9e9a3d@syzkaller.appspotmail.com
2019-07-12 06:27:13 +00:00