Commit Graph

243848 Commits

Author SHA1 Message Date
pgoyette
6eb90f9524 Rather than calling devsw_attach() and ignoring the EEXIST error when
the driver is already built-in to the kernel, don't bother calling.
2016-07-17 00:17:14 +00:00
matt
2973d5ed00 When doing dmamap syncs, try to use KSEG0/XKPHYS address if possible.
XXX once hard page coloring is supported XKPHYS could be used all the time.
2016-07-16 21:33:46 +00:00
maxv
b77ef7bf90 KNF, and rename. 2016-07-16 17:13:25 +00:00
maxv
404effc719 Simplify the way physical pages are internalized into the VM system on x86.
Only two functions are called now: init_x86_clusters, which initializes the
memory clusters from the bootinfo, and init_x86_vm, which inserts the pages
from the clusters into VM.
2016-07-16 17:02:34 +00:00
maxv
c031d605d2 Introduce x86_load_region(), and explain a little what we are doing. 2016-07-16 14:51:45 +00:00
maxv
8e5bb24039 Add the cr4 flags for PKE and UMIP. 2016-07-16 13:47:01 +00:00
skrll
d946c609af KNF 2016-07-16 12:58:11 +00:00
skrll
8f5f191a49 No need to define PSW_MBS as machine/psl.h provides it for us 2016-07-16 09:51:13 +00:00
pgoyette
e8f1cd85e9 Only emit bdevsw externs for entries in the bdev table, rather than for
entries in the cdev table.
2016-07-16 07:13:26 +00:00
macallan
ce13ac176a move sysctl-related #defines out of #ifdef _KERNEL so userland can see them
now pixman builds again on loongson
2016-07-16 01:59:05 +00:00
mrg
5dc817e3d2 apply some #if (ARM_MMU_V6 + ARM_MMU_V7) != 0.
now this builds on pre v6-only.
2016-07-16 01:49:42 +00:00
macallan
c9a4f92c3f adjust to dbdma changes 2016-07-15 22:10:47 +00:00
wiz
c94dcc5db3 Fix mdoclint warnings. 2016-07-15 21:19:19 +00:00
macallan
efb8d03127 - only unmap / free dbdma stuff when we actually mapped / allocated it
- use dbdma_free
now wdc_obio_detach() actually works without crashing
2016-07-15 21:11:12 +00:00
macallan
30ed9f0405 first step to make dbdma less hackish
- dbdma_alloc gets a new parameter to return the actual address of the
  buffer before being alignment-mangled so we can properly free it
- add dbdma_free which takes the pointer mentioned above
dbdma should really use bus_dma
2016-07-15 21:08:27 +00:00
christos
4523c25649 new mdocml. 2016-07-15 19:42:08 +00:00
christos
00e4117929 Sync with API changes. 2016-07-15 19:41:33 +00:00
christos
f47368cf1c merge conflicts 2016-07-15 19:40:42 +00:00
riastradh
e37ca7a7a0 Number the properties. Identify the key erasure property by name. 2016-07-15 15:23:43 +00:00
christos
9ff1f2ac94 Changes in version 1.13.4, released on July 14, 2016
--- MAJOR NEW FEATURES ---
 * man.conf(5): Design and implement a simpler configuration file format.
 * man(1): Leverage less(1) -T and :t in a way resembling ctags(1)
   to jump to the definitions of various terms inside manual pages.
 * soelim(1): New implementation by Baptiste Daroussin.
 * privilege limitation: Use OpenBSD pledge(2) or OS X sandbox_init(3)
   when available.
 * man.cgi(8): Support short URIs like http://man.openbsd.org/mdoc .
 * mandoc.css: Use one unified stylesheet rather than three different ones.
    --- MAJOR FUNCTIONALLY RELEVANT BUGFIXES ---
 * mdoc(7): Fix multiple aspects of SYNOPSIS .Nm formatting.
 * man(1): Fix process group handling, avoiding unclean shutdowns.
    --- PORTABILITY IMPROVEMENTS ---
 * Correctly use the ohash(3) compatibility implementation
   even when building without SQLite support.
 * Add compat glue for building on Solaris 9 and 10.
 * Let ./configure select a supported RE syntax for word boundaries.
 * Support LDFLAGS, to be used for example for hardening options.
 * Avoid mixing putchar(3) and putwchar(3) on the same file descriptor,
   it resulted in output corruption on some platforms.
 * Avoid reusing va_lists, use va_copy(3) for better portability.
 * Do not hardcode the path to the more(1) program.
    --- MINOR NEW FEATURES ---
 * roff(7): Implement \n(.$ (number of macro arguments).
 * roff(7): Fully implement \z (do not advance cursor).
 * roff(7): Implement the `r'  conditional (register exists).
 * roff(7): Implement \\$* (interpolate all arguments).
 * roff(7): Parse and ignore \, and \/ (italic corrections).
 * When there is no -m, no -M, no MANPATH and no /etc/man.conf,
   fall back to /usr/share/man:/usr/X11R6/man:/usr/local/man.
 * man(1): Give manuals in purely numerical sections priority over
   manuals of the same name in sections with an alphabetical suffix.
 * man.cgi(8): Support "header.html" and "footer.html".
 * man.cgi(8): Set the "autofocus" attribute on the query text box.
 * man.cgi(8): Simplify the search form, drop two useless buttons.
 * man.cgi(8): Delete the pseudo-manpath "mandoc", assume that
   apropos(1) and man.cgi(8) are installed in the default manpath.
    --- RELIABILITY BUGFIXES ---
 * mdoc(7): Avoid a use after free and an assertion failure when nodes
   are deleted during validation.
 * mdoc(7): Avoid a NULL pointer access when .Bd has no arguments.
 * mdoc(7): Avoid a NULL pointer access triggered by mismatching end macros.
 * mdoc(7): Avoid an assertion when .Fo has no argument.
 * mdoc(7): Avoid an assertion when .Ta<tab> occurs in .Bl -column.
 * mdoc(7): Avoid an assertion when a body gets broken and has a tail.
 * roff(7): Avoid an assertion caused by blanks inside \o.
 * roff(7): Make .so links to gziped manuals work without mandoc.db(5).
 * tbl(7): Avoid a use after free when the last line of a layout is empty.
 * eqn(7): Avoid an infinite loop caused by recursive "define".
 * makewhatis(8): Avoid a segfault caused by unusual directory structures.
 * Fix handling of leading, trailing, and double colons in MANPATH and -m.
    --- MINOR BUGFIXES ---
 * mdoc(7): Put arguments to end macros of broken partial explicit blocks
   inside the breaking block.
 * mdoc(7): Let .Dv force normal font.
 * mdoc(7): Make trailing whitespace significant in .Bl -tag widths.
 * mdoc(7): Fix macro interpretation around tabs in .Bl -column.
 * man(7): Use the default width for .RS without arguments.
 * man(7): On a new RS nesting level, the saved width starts from
   the default width, not from the saved width of the previous level.
 * man(7): Allow .PD in next-line scope.
 * man(7): Improve handling of empty .HP.
 * man(7): Improve formatting of .br and .sp inside .HP.
 * man(7): Do not mistreat empty arguments to font alternating
   macros as vertical spacing requests.
 * man(7): Allow fill mode changes in tagged paragraph next-line scope.
 * man(7): Fix minor bugs in block rewinding and simplify the related code.
 * man(7): Add missing line breaks before subsection headers.
 * man(7): Give section and subsection headers hanging indentation.
 * man(7): Make trailing whitespace significant in .TP widths.
 * roff(7): Don't allow breaking the output line after hyphens
   that immediately follow escape sequences.
 * roff(7): Ignore blank characters at the beginning of conditional blocks.
 * roff(7): Escape breakable hyphens only after handling input line traps.
 * roff(7): Reject \[uD800] to \[uDFFF] (surrogates) in the parser.
 * tbl(7): Allow more than one data field after T} on the same input line.
 * terminal output: Apply bold and italic to non-ASCII Unicode codepoints.
 * terminal output: Improve rounding rules for horizontal scaling widths.
 * HTML output: Render ASCII_NBRSP as "&nbsp;", not "-".
 * man(1): Do not match the first part of a name if it continues with a dot.
 * man(1): Keep working even if the current directory is unusable.
 * man(1): Better error message when $PAGER is invalid.
 * makewhatis(8): Improve handling of .Va and .Vt macros.
 * apropos(1): Print "nothing appropriate" to stderr when appropriate.
 * apropos(1): Abort with a useful error message when elementary
   database operations like preparing queries or binding variables fail.
    --- STRUCTURAL CHANGES, no functional change ---
 * mdoc(7) and man(7): Unified data structures struct roff_node etc.
 * mdoc(7) and man(7): Unified node handling library in roff.c.
 * mdoc(7) and man(7): Seperate validation phase from parsing.
 * roff(7): Major character table cleanup.
 * Link with libz rather than forking gunzip(1).
    --- THANKS TO ---
 * Baptiste Daroussin (FreeBSD) for the new soelim(1)
   and for release testing.
 * Anthony Bentley (OpenBSD) for unifying mandoc.css, two nice
   patches for man.cgi(8), some documentation patches, some bug
   reports, and various useful discussions.
 * Todd Miller (OpenBSD) for lots of help with process group and
   signal handling, a few patches, some bug reports and some useful
   discussions.
 * Jonathan Gray (OpenBSD) for yet more testing with afl(1)
   again resulting in more than half a dozen important bug reports.
 * Svyatoslav Mishyn (Crux Linux) for some patches, several bug
   reports, and extensive release testing.
 * Christian Neukirchen (void Linux) for a number of compatibility
   patches and suggestions and several bug reports.
 * Christos Zoulas (NetBSD) for a bug fix patch and some useful
   suggestions for cleanup.
 * Florian Obser (OpenBSD) for a bugfix patch and some bug reports.
 * Sevan Janiyan for help with Solaris compatibility and release
   testing on many platforms.
 * Jan Holzhueter and OpenCSW in general for help with Solaris
   compatibility, and for providing me with a Solaris 9/10/11 testing
   environment.
 * Michael McConville (OpenBSD) for some simple cleanup patches.
 * Thomas Klausner (NetBSD) for some bug reports and release testing.
 * Christian Weisgerber, Dmitrij Czarkoff, Igor Sobrado,
   Ken Westerback, Marc Espie, Mike Belopuhov, Rafael Neves,
   Ted Unangst, Tim van der Molen, Theo Buehler, Theo de Raadt
   (OpenBSD), Kurt Jaeger, Dag Erling Smoergrav (FreeBSD),
   Joerg Sonnenberger (NetBSD), Carsten Kunze (Heirloom troff),
   Daniel Levai, Fabian Raetz, Jan Stary, Jean-Yves Migeon,
   Lorenzo Beretta, Markus Waldeck, Maxim Belooussov, Michael Reed,
   Peter Bray, and Serguey Parkhomovsky for bug reports and feature
   suggestions.
 * Alexander Hall, Andrew Fresh, Antoine Jacoutot, Doug Hogan,
   Jason McIntyre, Jasper Lievisse Adriaanse, Kent Spillner,
   Nicholas Marriott, Peter Hessler, Sebastien Marie, Stefan Sperling,
   and Theo de Raadt (OpenBSD) for helpful discussions and feedback.
2016-07-15 14:25:55 +00:00
martin
17f84ba4fd Mark the rt_timer callout MPSAFE and move the first reset a few lines
down so the the workqueue is properly prepared (the latter being more
a cosmetical change). Ok: ozaki-r@
2016-07-15 09:25:47 +00:00
ozaki-r
8759207c83 Use sin6tosa and sin6tocsa macros
No functional change.
2016-07-15 07:40:09 +00:00
ozaki-r
328b3c6b85 Use ifatoia6 macro
No functional change.
2016-07-15 07:33:41 +00:00
dholland
71e42904ae add one 2016-07-15 06:13:50 +00:00
skrll
7a75ac7982 Provide a mm_md_page_color and fix some kernel builds 2016-07-15 05:59:46 +00:00
pgoyette
8665318c03 Also, don't hard-code the function name in the message; use __func__ 2016-07-15 01:17:47 +00:00
pgoyette
abd2da1923 As suggested by christos@, use KASSERTMSG() 2016-07-15 01:13:10 +00:00
wiz
d854f54539 mdocml-1.13.4 out. 2016-07-14 22:39:40 +00:00
pgoyette
097a241ddc Remove a call to panic() which duplicates the subsequent KASSERT()!
XXX Since everything has (or should have) been switched to dev_t, we
XXX could probably remove the check for
XXX
XXX	ca->ca_devsize >= sizeof(struct device)
XXX
XXX But someone ought to check on that first!

Reviewed by riastradh@
2016-07-14 21:57:06 +00:00
christos
b305547c0c more XXX removal. 2016-07-14 20:38:20 +00:00
christos
1584c6d3ed XXX: removal 2016-07-14 20:34:36 +00:00
christos
fb3d963d14 remove soft interrupt queues that don't exist anymore. 2016-07-14 20:13:10 +00:00
christos
bb9aed0669 remove __P 2016-07-14 19:39:41 +00:00
skrll
46436668be Wrap long line 2016-07-14 19:08:12 +00:00
christos
cfa835e475 dedup 2016-07-14 18:58:26 +00:00
abhinav
83de4e7bb8 Fix grammar. 2016-07-14 18:36:57 +00:00
abhinav
f282f7d15c Fix grammar. 2016-07-14 18:21:31 +00:00
christos
21c3ca2d5c use sysctl to print multicast addresses 2016-07-14 18:19:11 +00:00
christos
91eb1e8293 provide net.inet.multicast, like we have net.inet6.multicast to be used
by netstat.
2016-07-14 18:18:16 +00:00
christos
20a2c0a7f7 make sure we cleanup properly when fd is too big. 2016-07-14 18:16:51 +00:00
abhinav
2e498fa9f2 Use .In for header file. 2016-07-14 17:43:48 +00:00
abhinav
d1c42b6403 Add comma to separate the Nm entries. 2016-07-14 17:17:58 +00:00
abhinav
24f5d739f4 Add missing words and fix grammar. 2016-07-14 17:09:03 +00:00
abhinav
263b36c655 Fix sentence. 2016-07-14 16:09:56 +00:00
skrll
c9a9fc846f Adapt this to the recent sys/uvm/pmap/pmap_tlb.c changes. MP kernels
now don't trigger KASSERTs
2016-07-14 15:51:41 +00:00
skrll
bf5805b9c2 Use KERNEL_PID instead of 0 2016-07-14 15:50:31 +00:00
skrll
6f2e9c1031 Fix some comments. 2016-07-14 15:49:43 +00:00
msaitoh
5457a8e2a4 - Use aprint*() more in xxx_attach().
- Add missing aprint_naive("\n").
- Remove extra spaces and tabs.
- KNF.
2016-07-14 10:19:05 +00:00
nonaka
1c1d2c157d Fix RCS Id. 2016-07-14 10:02:43 +00:00
msaitoh
b14b7c4301 - Use aprint() more in isic_pcmcia_attach().
- Add missing aprint_naive("\n").
- swap device_xname() and cde->name in the output of a printf().
2016-07-14 09:27:14 +00:00