skrll
8eda370a73
slop wasn't sloppy enough in the kernel_size calculation. Add in the L2
...
page tables required as well.
Should fix the dockstar boot problem reported by Andy Ruhl on port-arm.
http://mail-index.netbsd.org/port-arm/2012/09/20/msg001471.html
2012-10-19 09:56:32 +00:00
skrll
cfc7d82ede
Comments.
2012-10-19 09:50:30 +00:00
skrll
954f84ae1a
Print the message buffer VAs and number of pages. Other minor cosmetics.
2012-10-19 09:06:42 +00:00
msaitoh
a2c28d44be
Add CLKGATING_BIT for some devices. This change prevent some boards
...
that a device's clock is stopped from hangup.
2012-10-19 06:14:44 +00:00
christos
0d87ef641d
print major device numbers symbolically from kinfo_drivers
2012-10-19 02:49:52 +00:00
christos
902a40f133
more info for unix sockets. XXX: chroot handling
2012-10-19 02:11:25 +00:00
riastradh
8db30059ca
No, we can't elide the fs-wide rename lock for same-directory rename.
...
rename("a/b", "a/c") and rename("a/c/x", "a/b/y") will deadlock.
Darn.
2012-10-19 02:07:22 +00:00
para
fc7d559bb7
bring comment up to reality
...
kmem_map => kmem_arena
2012-10-18 19:33:38 +00:00
msaitoh
eeea54cd91
Update device list
2012-10-18 17:27:36 +00:00
apb
22c6226401
Print the value of MAKECONF.
2012-10-18 16:15:29 +00:00
riastradh
4797828821
Back out accidental commit of errno kludge for rmdir(".") &c.
...
Solaris returns EEXIST, whereas we want to return ENOTEMPTY (POSIX
allows both), but this got included in an unrelated commit and should
be separated into a common commit for other related error code fixes.
2012-10-18 14:29:44 +00:00
riastradh
2111fc7126
Take a first whack at making zfs permissions work.
...
zfs_access uses secpolicy_vnode_access, so it makes no sense for the
latter to call VOP_ACCESS!
Everything seems to return EACCES instead of EPERM, probably because
that's what kauth returns. This should be fixed, but that may
require some nontrivial surgery to zfs's calls to secpolicy_*, which
is where kauth gets involved.
This commit imports some code from illumos to implement the routine
secpolicy_vnode_setattr. This shouldn't be outside dist/, but for
now it is expedient to do so. We ought to fix that, along with all
the other CDDL code outside dist/, when we next import a newer
version of zfs.
2012-10-18 14:22:57 +00:00
msaitoh
b57799371b
- Indent.
...
- Fix some product names or device names.
2012-10-18 10:41:44 +00:00
msaitoh
5fae10faa1
Add some deivces.
2012-10-18 09:41:24 +00:00
apb
3ba5a7a66d
tzcode2012g and tzdata202g have been released. We have updated
...
to tzdata2012g.
Also fix the upstream Maintainer; Paul Eggert has been doing this
job for several months.
2012-10-18 08:59:00 +00:00
apb
010fc2e85f
zoneinfo: Import tzdata2012g. [apb 20121018]
2012-10-18 08:57:26 +00:00
apb
9335fb9deb
Merge tzdata2012g from ftp://ftp.iana.org/tz/releases/tzdata2012g.tar.gz
...
Changes from tzdata2012f to tzdata2012g:
Samoa fall 2012 and later. (Thanks to Nicholas Pereira
and Robert Elz.)
Palestine fall 2012. (Thanks to Steffen Thorsen.)
2012-10-18 08:50:32 +00:00
apb
f9685b5d74
Import tzdata2012g from ftp://ftp.iana.org/tz/releases/tzdata2012g.tar.gz
...
Changes from tzdata2012f to tzdata2012g:
Samoa fall 2012 and later. (Thanks to Nicholas Pereira
and Robert Elz.)
Palestine fall 2012. (Thanks to Steffen Thorsen.)
In addition to those changes, the tzdata distribution now includes
a copy of the Makefile from the tzcode distribution. NetBSD's
src/share/zoneinfo/Makefile is completely different from the Makefile
that is now included in the tzdata distribution.
2012-10-18 08:47:25 +00:00
msaitoh
8ac15b216d
Style fix. No functional change.
2012-10-18 08:22:37 +00:00
matt
f791be4d83
Rearrange some code.
2012-10-18 02:36:37 +00:00
matt
fb28547815
Make an ASSERT more "flexible".
2012-10-18 02:34:34 +00:00
matt
ef2ef30bcc
Fix an errant define.
2012-10-17 23:40:42 +00:00
dyoung
818ff29c73
Quiet down autoconfiguration by changing some printf() calls to
...
aprint_normal() calls.
2012-10-17 21:35:38 +00:00
matt
61f99d32b1
Add a missing mutex exit.
2012-10-17 20:45:49 +00:00
skrll
035e5d28e8
Fix two off-by-one loops. Saves a whole two pages.
2012-10-17 20:44:48 +00:00
matt
7b7cfaa723
Make sure the L2 cache is enabled
...
Restrict the PCIe interface to negotiate at Gen1 speeds.
2012-10-17 20:22:23 +00:00
drochner
16e95cd0dc
avoid dummy structure definition, include a system header instead,
...
looks just cleaner
2012-10-17 20:22:15 +00:00
matt
4ef99a678e
Add PMAP_NEEDS_ALLOC_POOLPAGE
2012-10-17 20:21:26 +00:00
matt
a79730286b
If there is more than 256MB of ram, add the first 256MB into a separate
...
VM freelist and specifiy that PMAP_ALLOC_POOLPAGE allocate using that freelist.
2012-10-17 20:20:54 +00:00
drochner
035939be53
put binary compatibility support for the old AMD-only CPU microcode
...
update API inside COMPAT_60
2012-10-17 20:19:55 +00:00
matt
07e4706e38
Add a coherent bus dma tag which marks the first 256MB as having coherent
...
dma (but only for PCIe and ethernet). Make the ethernet and PCIe attachments
use this tag instead of the default non-coherent one.
2012-10-17 20:18:55 +00:00
matt
463cf12d17
Add per-segment and per-ragne flag (to store _BUS_DMAMAP_COHERENT).
...
Use the per-range flag to set the per-segment flag.
This allows bus_dma to skip flushing for known coherent memory regions.
2012-10-17 20:17:18 +00:00
drochner
bd4999fa18
defopt COMPAT_60, it is already being used
2012-10-17 20:16:59 +00:00
matt
3dda49cbd6
Add PMAP_MAP_POOLPAGE / PMAP_UNMAP_POOLPAGE if PMAP_NEED_ALLOC_POOLPAGE is
...
defined.
2012-10-17 20:15:41 +00:00
matt
cf7ccb1e86
Add a few more DSBs before flushing cache lines.
2012-10-17 18:55:43 +00:00
matt
f88bd6b7b9
Change the semantics of the boot_physmem array to select a freelist to use
...
with uvm_page_physload. Reduces duplication of work.
2012-10-17 18:53:45 +00:00
matt
60064e74d2
Add a PMAP_NEEDS_ALLOC_POOLPAGE / PMAP_ALLOC_POOLPAGE hook so systems can
...
allocate pool pages from a specific VM freelist.
2012-10-17 18:52:15 +00:00
jnemeth
c8dac53719
note NetBSD 6.0 release
2012-10-17 18:30:33 +00:00
matt
742e8c1b10
Need to set pmap_needs_pte_sync before calling PTE_SYNC
2012-10-17 18:29:10 +00:00
msaitoh
e8d66652c1
Fix a bug that kernel panics when the system get a packet while calling
...
mvgbe_stop (via ifconfig down).
2012-10-17 18:12:59 +00:00
dyoung
a433f1351e
Correct spelling: entrie -> entry.
2012-10-17 17:48:48 +00:00
mlelstv
f50847fa5b
Don't rely on TS_BUSY to determine wether there is a buffer
...
available. Instead handle a possible buffer shortage.
Also aquire lock when modifying t_state.
2012-10-17 17:05:15 +00:00
matt
0464864ace
When setting pmap_needs_pte_sync to 1 be sure to sync pte that caused
...
the issue.
2012-10-17 16:16:23 +00:00
drochner
513c97eaed
recognize the P1GB and RDTSCP which were AMD-only on Intel HW too
2012-10-17 16:13:01 +00:00
drochner
e61202360d
fix trivial typo in warning msg
2012-10-17 16:09:03 +00:00
apb
5c7419e70f
Add commented out "#options COMPAT_60" to all kernel configuration files
...
that already had commented out "#options COMPAT_50".
2012-10-17 14:49:40 +00:00
apb
4ebc1e1ca3
Add "no options COMPAT_60" to all kernel configuration files
...
that already had "no options COMPAT_50".
2012-10-17 14:48:41 +00:00
apb
f3929b106b
Add "options COMPAT_60" to all kernel configuration files
...
that already had "options COMPAT_50".
2012-10-17 14:48:07 +00:00
msaitoh
1bf68f95d9
Add code to modify interrupt coalescing with sysctl.
...
- both TX side an RX side.
- different setting for each port
- TX side is hw.mvgbe.mvgbe*.ipginttx
- RX side is hw.mvgbe.mvgbe*.ipgintrx
- The default value is 768.
- The lowest value is 0
- For highest value, 0x3777 is used for V1, and 0xffff is used for V2.
2012-10-16 19:49:41 +00:00
msaitoh
31b7118873
Change to uintmax_t again.
2012-10-16 19:40:59 +00:00