Commit Graph

273289 Commits

Author SHA1 Message Date
skrll fcb8be3594 #ifdef whack-a-mole for the pmap_maxproc_set functionality 2020-01-22 12:23:12 +00:00
ad 20f33b0230 Catch a leaked hold of kernel_lock sooner with DIAGNOSTIC and make the
message a bit more informative.
2020-01-22 12:23:04 +00:00
jmcneill 4e19d93e81 Write pbdma timeout regs during initialisation on GK208B, GK208, and GM107.
Based on the following upstream commit:
79bb4b617f
2020-01-22 11:38:54 +00:00
skrll b99dfc1784 Oops, the cast is required 2020-01-22 10:52:35 +00:00
uwe 10180bec9c Switch powerpc back to GCC 7 until we fix alloca() PR port-macppc/54827
ok mrg@
2020-01-22 08:32:33 +00:00
jmcneill 84160ba1d4 Fix PHYS_TO_BUS_MEM and BUS_MEM_TO_PHYS on arm and aarch64 2020-01-22 07:53:45 +00:00
mrg 4ea65bdb69 save the new current level when set by the user.
stops PBP display from going back to default brightness after
dpms, etc.

ok jmcneill.
2020-01-22 07:29:23 +00:00
martin e7acfd1971 Clamp FAT partition size to 32 bit byte offsets to make the code small
enough to fit.
2020-01-22 06:13:18 +00:00
martin 39cd2eeea8 To support big partitions we need to make sure all byte offsets are calculated
in 64 bit arithmetic. Pointed out by Rob Newberry.
Unfortunately this causes a code size increase breaking some boot blocks,
so conditionalize it and use 32 bit arithmetic if SA_DOSFS_NO_BIG_PART_SUPPORT
is defined.
2020-01-22 06:11:28 +00:00
thorpej 9c0a409d68 Static'ify. 2020-01-22 03:48:10 +00:00
msaitoh 7a3531b65f Remove unused shift and mask definitions. 2020-01-22 02:51:38 +00:00
sjg 438d096b56 meta.c: report OODATE value if not empty
When a target is out-of-date per normal make rules
.OODATE will be non-empty, report this in .meta file
to help clarify why target was updated.
2020-01-22 00:26:45 +00:00
ad 193a0504a9 NetBSD 9.99.41 - struct lwp changed for LOCKDEBUG 2020-01-21 22:08:41 +00:00
ad 090ebf9cc8 uvmpdpol_pageactive(): the change to not re-activate recently activated
pages worked great with uvm_pageqlock, but it doesn't buy anything any more,
because now the busy pages are likely in a per-CPU queue somewhere waiting
to be processed, and changing the intent on those queued pages costs next
to nothing.  Remove this and get back all the bits in pg->pqflags.
2020-01-21 20:37:06 +00:00
ad a4da18db9d ddb's "show all locks":
- Make the output easier to scan quickly.

- Show every LWP that is blocked on a lock, and the details of the lock.
2020-01-21 20:31:57 +00:00
ad 85e6de746e Add a rw_owner_running() for the pagedaemon. 2020-01-21 20:29:51 +00:00
martin ce6562a91d Deal with even stranger fictious empty disklabels (PR kern/54882). 2020-01-21 20:04:30 +00:00
christos eb89610755 Fix printf formats in tests for the clang build. 2020-01-21 18:33:47 +00:00
kamil 7c40686451 Add new ATF tests in t_ptrace_wait*
New tests:
 - access_regs_set_unaligned_pc_0x1
 - access_regs_set_unaligned_pc_0x3
 - access_regs_set_unaligned_pc_0x7

The purpose of these tests is check whether unaligned PC can panic the
kernel. If there is a panic it is fine to return EINVAL on PT_SETREGS.
New tests check respectively pc |= 0x1, pc |= 0x3 and pc |= 0x7.

Inspired by https://marc.info/?l=openbsd-bugs&m=107558043319084&w=2

While there fix access_regs6 to really test PT_SETREGS.
2020-01-21 16:46:07 +00:00
tkusumi 67de4a9395 dm: #if0 target's ->upcall() handler
This is part of NetBSD's dm design, but unimplemented
(all handlers return 0) and also unused.
2020-01-21 16:27:53 +00:00
christos 4b5571e4a3 oops, undo this (committed accidentally) 2020-01-21 15:26:36 +00:00
christos 81e23aba9b Don't crash if we are on a hippie trail, head full of zombie 2020-01-21 15:25:38 +00:00
mlelstv 1e89c63a0f Was too slight a bump. 2020-01-21 14:58:58 +00:00
msaitoh e9ddeea551 Fix the freeing code for some error paths. Found and tested by Patrick Welche. 2020-01-21 14:55:55 +00:00
martin 85760d7e91 Bump image size slightly 2020-01-21 11:48:10 +00:00
jmcneill d0ba3bb8a0 Choose between dmat and dmat64, instead of relying on subregion of the 32-bit tag 2020-01-21 11:29:17 +00:00
jmcneill a496d771a8 Provide a properly constrained 32-bit DMA tag to ACPI. 2020-01-21 11:24:47 +00:00
jmcneill 5e83bb186f Switch aarch64 to use a single freelist. 2020-01-21 10:54:11 +00:00
msaitoh d2b5404b02 Add Intel I219 LM10-LM15 and V10-V14 from OpenBSD. 2020-01-21 08:50:54 +00:00
msaitoh fb1eb27483 Regen. 2020-01-21 08:50:19 +00:00
msaitoh 7643c78a9e Add Intel I219 LM10-LM15 and V10-V14 from OpenBSD. 2020-01-21 08:49:31 +00:00
wiz b99eb4b31d Use standard Dd format. Remove superfluous Pp 2020-01-21 07:57:49 +00:00
wiz 6e6411c310 Remove superfluous Pp. 2020-01-21 07:53:51 +00:00
mrg 02b08f1785 hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.
should fix most builds.
2020-01-21 06:44:40 +00:00
skrll 304903570a Sort a bit 2020-01-21 05:05:22 +00:00
skrll b3ca445da0 Trailing whitespace 2020-01-21 05:02:55 +00:00
skrll 3d868f8106 Remove unnecessary cast 2020-01-21 04:59:47 +00:00
skrll c910979512 Small re-org. NFCI. 2020-01-21 04:54:11 +00:00
thorpej 257c00ba42 Update for changes to <sys/rwlock.h> -- owner field is now bits 5-N. 2020-01-21 04:30:14 +00:00
thorpej 40f85a18e2 Update a comment. 2020-01-21 04:09:10 +00:00
taca 7f302b7b1d Revive entries for uyurex(4) as obsolete. 2020-01-21 03:29:56 +00:00
pgoyette 9aa9288552 Regen 2020-01-21 02:38:25 +00:00
pgoyette 09a5fcaf68 Split the compat_50 module into two, separating the QUOTA-related
stuff from the rest of the module.  This allows loading of the
(main) compat_50 module on kernels that don't include ``options
QUOTA''.

Welcome to 9.99.40 !

Addresses PR kern/54875
2020-01-21 02:37:16 +00:00
jmcneill f6875214ef add missing memset in radeon_gart_table_ram_alloc 2020-01-20 23:22:09 +00:00
skrll ff25504b20 Fix indentation 2020-01-20 22:25:07 +00:00
pgoyette 0e9ecb4e89 COMPAT_43 requires COMPAT_60 2020-01-20 22:18:39 +00:00
skrll b5622f1eb9 s/_ARM_ARCH_6/ARM_MMU_EXTENDED/ in the #ifdef for the recent 4k pages
change
2020-01-20 22:13:57 +00:00
dholland 773d4d29d4 ...and it seems that -d is no longer restricted to root.
(No particular reason it should be; I suspect this changed when we got
real quota plumbing as historically -d would have been a special case
of asking about another user.)
2020-01-20 21:38:29 +00:00
dholland cdca48c40d Document the actual behavior of -g; clarify the optional user/group args. 2020-01-20 21:35:41 +00:00
dholland 5edfd5c42b Clarify -u. 2020-01-20 21:30:41 +00:00