Commit Graph

212410 Commits

Author SHA1 Message Date
jakllsch d2539b0884 The maximum watchdog period is dependant on mvTclk; calculate at runtime.
This gets the maximum period up to 25 seconds at 166⅔MHz mvTclk.
2012-07-22 16:59:10 +00:00
jakllsch 170dab62fb Remove duplicate global variable. 2012-07-22 16:54:35 +00:00
jakllsch 64a871484d When disabling watchdog timer, do not set the counter to 0.
Having the watchdog counter at 0 and having WDRstOutEn set to 1 causes
immediate watchdog reset on my 88F5182 A2.
2012-07-22 16:52:51 +00:00
darrenr 49ef629822 ansify new function definition 2012-07-22 16:40:40 +00:00
darrenr 8685465b07 ansify new function definition 2012-07-22 16:37:31 +00:00
darrenr 72926482fb ansify new function definition 2012-07-22 16:26:56 +00:00
darrenr 30a942f180 test cases n201 and n202 were removed on import of 5.1.2 2012-07-22 16:22:41 +00:00
darrenr 847affb24e h323 proxy removed 2012-07-22 16:19:34 +00:00
darrenr 109f582a52 ansify new functio definitions 2012-07-22 16:13:16 +00:00
matt 05305b42f7 Regen. 2012-07-22 14:37:34 +00:00
matt c68c1f6de5 Add more FREESCALE devices
Fix RICOH RU5230 description
2012-07-22 14:36:44 +00:00
darrenr e60fd761ef Merged IPFilter 5.1.2 into HEAD 2012-07-22 14:33:26 +00:00
matt 0bc3200029 Fix mii_statchg to take a 'struct ifnet *' instead of device_t. This fixes
problem with a common MDIO bus used for multiple interfaces.
Some drivers converted to CFATTACL_DECL_NEW.
2012-07-22 14:32:49 +00:00
darrenr 13885a6659 Merge IPFilter 5.1.2 into HEAD 2012-07-22 14:27:35 +00:00
matt 0594375659 Add a few missing devices. 2012-07-22 14:23:47 +00:00
matt 41b3f7407b Silence a gcc warning. 2012-07-22 14:02:45 +00:00
matt 7919b49c20 Use new style syscall format which uses __predict_* to optimize branches. 2012-07-22 14:02:11 +00:00
darrenr c9d5dc6c77 Import IPFilter 5.1.2 2012-07-22 13:44:10 +00:00
rmind 28b444bcec Revert the test addition. 2012-07-22 11:30:14 +00:00
apb 044bbc98fd We still have tzcode2011i, as it said in the log message for
revision 1.920 of src/doc/3RDPARTY.  The wrong value mysteriously
appeared in the actual contents of revision 1.920.
2012-07-22 11:27:51 +00:00
apb eb49e2e4e4 Updated from tzdata2012b to tzdata2012d. 2012-07-22 10:46:53 +00:00
apb fa8247bf2e Merge tzdata2012d. 2012-07-22 10:40:29 +00:00
apb 5c269f597c Import tzdata2012d from ftp://ftp.iana.org/tz/releases/tzdata2012d.tar.gz
Major changes from tzdata2011b to tzdata2011c:
    africa
	    Summer time changes for Morocco (to start late April 2012)

    asia
	    Changes for 2012 for Gaza & the West Bank (Hebron) and Syria

    northamerica
	    Haiti following US/Canada rules for 2012 (and we're assuming,
	    for now anyway, for the future).

Major changes from tzdata2011c to tzdata2011d:

    Morocco does not observe DST from Jul 20 03:00 to
    Aug 20 02:00 [2012].

    Infrastructure changes to accommodate how the tz
    code and data are released on IANA.
2012-07-22 10:34:48 +00:00
apb bd523a66c8 tzcode2012c / tzdata2012d were released on 19 July 2012. 2012-07-22 10:12:09 +00:00
martin 0180ae1c0a Add special handling needed for OLO10 relocations.
First part of fixing PR port-sparc64/46724.
2012-07-22 09:21:03 +00:00
martin e97494f3ca Remove a debug assert that does not hold for PIE (e.g. phdr = 0x40, but
obj has not been mapped at 0, so obj->phdr is 0x100040).
OK: skrll
2012-07-22 09:16:35 +00:00
rmind d65753d972 Move some the test for MAKEENTRY into the cache_enter(9). Make some
variables in vfs_cache.c static, __read_mostly, etc.

No objection on tech-kern@.
2012-07-22 00:53:18 +00:00
joerg ca946cd63d Redo hashing, if two of the three individual hashes result in identical
hash modules. This is the trivial case for loops in the 3-graph and got
lost when adopting the nbperf code.
2012-07-21 22:49:37 +00:00
rmind a7d27dddfd Add a simple test for cdb(5). 2012-07-21 22:22:55 +00:00
rmind 4ad5029440 - npf_fetch_tcpopts: fix off-by-one when validating TCP option length
against the maximum allowed.
- npf_tcp_inwindow: be more liberal with npf_fetch_tcpopts().
- Few minor improvements to npftest.
2012-07-21 17:11:01 +00:00
skrll 0c3c3bcfc7 Provide a method for attachments to specify capabilites. 2012-07-21 16:14:05 +00:00
gdt b6bb903ff2 Add comments describing parameter handling for ip6_insertfraghdr.
Depending on compiler options, this code can be involved in an
(apparently) spurious compiler warning.  However, it was not
immediately obvious the the compiler was wrong.
2012-07-21 14:52:40 +00:00
martin 8f3c15e2f4 Add a test case that (if gcc supports it on the current arch) to compile
a PIE binary and see if we can run it.
2012-07-21 12:30:55 +00:00
skrll 734571d26b Add support for the ARM1176JZS 2012-07-21 12:19:15 +00:00
para 7e85a4e1d1 split allocation lookup table to decrease overall memory used
making allocator more flexible for allocations larger then 4kb
move the encoded "size" under DEBUG back to the begining of allocated chunk

no objections on tech-kern@
2012-07-21 11:45:04 +00:00
manu 075ba0e590 - Fix same vnodes associated with multiple cookies
The scheme used to retreive known nodes on lookup was flawed, as it only
used parent and name. This produced a different cookie for the same file
if it was renamed, when looking up ../ or when dealing with multiple files
associated with the same name through link(2).

We therefore abandon the use of node name and introduce hashed lists of
inodes. This causes a huge rewrite of reclaim code, which do not attempt
to keep parents allocated until all their children are reclaimed

- Fix race conditions in reclaim
There are a few situations where we issue multiple FUSE operations for
a PUFFS operation. On reclaim, we therefore have to wait for all FUSE
operation to complete, not just the current exchanges. We do this by
introducing node reference count with node_ref() and node_rele().

- Detect data loss caused by FAF
VOP_PUTPAGES causes FAF writes where the kernel does not check the
operation result. At least issue a warning on error.

- Enjoy FAF shortcut on setattr
No need to wait for the result if the kernel does not want it. There is
however an exception for setattr that touch the size, we need to wait
for completion because we have other operations queued for after the
resize.

- Fix fchmod() on write-open file
fchmod() on a node open with write privilege will send setattr with both mode and size set. This confuses some FUSE filesystem. Therefore we send two FUSE operations, one for mode, and one for size.

- Remove node TTL handling for netbsd-5 for simplicity sake. The code
still builds on netbsd-5 but does not have the node TTL feature anymore.
It works fine with kernel support on netbsd-6.
2012-07-21 05:49:42 +00:00
manu 8502ba8ea3 - Improve PUFFS_KFLAG_CACHE_FS_TTL by reclaiming older inactive nodes.
The normal kernel behavior is to retain inactive nodes in the freelist
until it runs out of vnodes. This has some merit for local filesystems,
where the cost of an allocation is about the same as the cost of a
lookup. But that situation is not true for distributed filesystems.
On the other hand, keeping inactive nodes for a long time hold memory
in the file server process, and when the kernel runs out of vnodes, it
produce reclaim avalanches that increase lattency for other operations.

We do not reclaim inactive vnodes immediatly either, as they may be
looked up again shortly. Instead we introduce a grace time and we
reclaim nodes that have been inactive beyond the grace time.

- Fix lookup/reclaim race condition.

The above improvement undercovered a race condition between lookup and
reclaim. If we reclaimed a vnode associated with a userland cookie while
a lookup returning that same cookiewas inprogress, then the kernel ends
up with a vnode associated with a cookie that has been reclaimed in
userland. Next operation on the cookie will crash (or at least confuse)
the filesystem.

We fix this by introducing a lookup count in kernel and userland. On
reclaim, the kernel sends the count, which enable userland to detect
situation where it initiated a lookup that is not completed in kernel.
In such a situation, the reclaim must be ignored, as the node is about
to be looked up again.
2012-07-21 05:17:10 +00:00
kiyohara 983ce0cbdd Add 88F6282 parameters.
Use MVSOC_UNITID_PEX instead of {ORION,KIRKWOOD}_UNITID_PEX.  This PEX UNITID is generic UNITID for MVSoC maybe.
2012-07-21 05:11:45 +00:00
kiyohara 136a67bff5 Add some comments of 88F6282 and TWSI column.
Add IRQ and BASE for TWSI1.
2012-07-21 04:30:34 +00:00
kiyohara 22a31fe368 TWSI size is 0x100. Not 0x1000. 2012-07-21 04:23:16 +00:00
kiyohara 7ae4f9e50f Don't send a stop bit immediately after start bit transmission. 2012-07-21 04:21:14 +00:00
mrg d6a35d155a now that the task threads are created earlier, move the call to
usb_create_event_thread() back into usb_doattach(), so that eg,
usb_discover() never operates when the root_hub is not setup.

fixes a crash joerg@ reported.
2012-07-20 23:18:02 +00:00
matt 259bfd9a0d Fix botched change to use right value for ipl. Thanks jak 2012-07-20 21:53:57 +00:00
rkujawa 65667a28a9 Preliminary blitter support for Voodoo2. 2012-07-20 21:31:28 +00:00
joerg e7a9d9d117 Remove a bunch of broken inline qualifiers that break the -O0 build. 2012-07-20 21:18:00 +00:00
wiz 4fe6953778 Whitespace fixes. 2012-07-20 20:48:59 +00:00
ginsbach 02704af418 - Add an ERRORS section rather than incompletely documenting the
possible errno values in the DESCRIPTION section.
2012-07-20 19:44:39 +00:00
tsutsui cf893e7db3 Switch luna68k wscons framebuffer driver to using rasops(9) APIs instead of
deprecated rcons(4).  This allows "options FONT_foo" in kernel config files.
Mostly taken from OpenBSD/luna88k, but unnecessary MI rasops(9) stuff is
omitted since omrasops.c has own raster wsdisplay_emulops functions.
Tested on LUNA with 4bpp fb and LUNA-II with 1bpp fb.
2012-07-20 19:31:53 +00:00
ginsbach 507b3f0fc0 - Add ERRORS section covering errno values set by inet_ntop() and
inet_pton()
2012-07-20 19:18:08 +00:00
wiz d569744a1d Remove trailing whitespace. 2012-07-20 18:57:27 +00:00