Commit Graph

234817 Commits

Author SHA1 Message Date
riastradh
944fbd0d8b Cull unused vnode v_iflags: VI_LAYER, VI_LOCKSHARE. 2015-04-20 19:36:55 +00:00
riastradh
1054fdc184 First attempt to make ttm_buffer_object_transfer less bogus. 2015-04-20 19:17:04 +00:00
prlw1
68974b6b61 Apply modified version of patch from Wolfgang Stukenbrock in PR bin/41766
This forcibly unmounts tmpfs file systems, so that swapctl doesn't run
out of swap itself, eventually trying to kill pid 1.

No objections since:
  http://mail-index.netbsd.org/current-users/2015/03/16/msg026908.html
2015-04-20 18:01:46 +00:00
riastradh
4c17c141c3 Use Er, not Dv, for errno E* names. 2015-04-20 15:39:38 +00:00
riastradh
4897f1c47a Remove old drm's container_of. 2015-04-20 15:38:13 +00:00
riastradh
e3d7ca5cf5 First part of reworking vnode(9) man page. Much more to come. 2015-04-20 15:30:41 +00:00
riastradh
e2a04dfae4 Bump kernel version to 7.99.10 for vget(9) change. 2015-04-20 15:23:56 +00:00
riastradh
7fd36dbc4a Add container_of to libkern.
Given x = &c->f, container_of(x, T, f) yields c, where T is the type
of c.

Discussed on tech-kern a while ago:

https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html
2015-04-20 15:22:17 +00:00
riastradh
240ea8611b Fix C arithmetic quirks in roundup2 and avoid multiple evaluation.
Add rounddown2.

Discussed on tech-kern a while ago:

https://mail-index.netbsd.org/tech-kern/2013/03/21/msg015131.html
2015-04-20 15:18:59 +00:00
maxv
149659eb68 Fix the French translation. 2015-04-20 14:10:31 +00:00
riastradh
830199bd4a Use Dv, not Li, for EBUSY/ENOENT. 2015-04-20 14:09:14 +00:00
riastradh
4515b0035e Fix punctuation. 2015-04-20 14:08:52 +00:00
riastradh
3a57946f59 Rewrite vput(9) description. 2015-04-20 14:07:24 +00:00
riastradh
1e28edefae Document current state of vget. 2015-04-20 14:03:10 +00:00
riastradh
7c2823c7a4 Remove declaration of speedup_syncer, removed back in 2011. 2015-04-20 13:49:02 +00:00
riastradh
f6139440c5 Make vget always return vnode unlocked.
Convert callers who want locks to use vn_lock afterward.

Add extra argument so the compiler will report stragglers.
2015-04-20 13:44:16 +00:00
riastradh
3373340e21 Nix LEASE_READ/LEASE_WRITE from <sys/vnode.h>. 2015-04-20 13:12:24 +00:00
kiyohara
94da04ed3e Backout r1.18.
Don't change IRQ porality.  The Real-machines encounters interrupt storm.
  OK slp@.

  I assum configured it from boot-loader already.  However need polarity
  information, if not.  Shall we implement to use prop_dictionary_{set,get}?

  Also this case, re-initialized to LAN9118_IRQ_CFG without
  LAN9118_IRQ_CFG_POL in lan9118_init().  I think, again interrupt storm on
  QEMU.
2015-04-20 12:41:38 +00:00
roy
33e035dca4 Introduce p2p_rtrequest() so that IFF_POINTOPOINT interfaces can work
with RTF_LOCAL.
Fixes PR kern/49829.
2015-04-20 10:19:54 +00:00
jmcneill
7a329562eb Add pseudo-devices crypto, swcrypto, bridge, vlan, ppp, pppoe, tun, tap,
gre, and npf.
2015-04-20 10:09:09 +00:00
ozaki-r
aead28a1c2 Unbreak the build of spdmem
- Get rid of a tab after backslace
- Add a missing semicolon

From Henning Petersen
2015-04-20 07:51:36 +00:00
ozaki-r
d18817a22a Remove non-USE_RADIX case and USE_RADIX switch
It seems that we have been using ip_encap only with USE_RADIX
for long years. Let's remove unused non-USE_RADIX case.

No objection on tech-kern and tech-net.

Double-checked by knakahara@
2015-04-20 07:34:48 +00:00
wiz
eb6e09f00c Add missing .El. From Henning Petersen in PR 49845. 2015-04-20 06:50:13 +00:00
pgoyette
50d1d96a63 Initial pass at supporting decode for DDR4.
XXX I fully expect that reporting of PC4-xxxxx values is incorrect.
XXX Please report this, or any other errors that you may see.
2015-04-20 02:55:14 +00:00
matt
19763396ac Switch to armv7_generic bus_space. 2015-04-20 01:33:22 +00:00
matt
80ff7cef1c Use TPIDRPRW_IS_CURLWP 2015-04-20 00:11:27 +00:00
matt
05fc45b72f Comment out __HAVE_PREEMPTION 2015-04-20 00:09:48 +00:00
jmcneill
3fdbbc29a9 Like SDHC, SDIO also doesn't support SG DMA.
Remove the DMA capability flag and do transfers through a MAXPHYS-sized
buffer instead. This lets us do larger transfers and even with the memcpy,
still a significant win for performance.
2015-04-19 23:12:21 +00:00
matt
bc2411d2fd Remove CPU_CORTEXA7 since ALLWINNER_A31 implies it 2015-04-19 23:03:47 +00:00
jmcneill
b027443721 fix size of dmamem map 2015-04-19 22:51:04 +00:00
matt
32119e03e7 Remove options CPU_CORTEX* since options ALLWINNER_* will now define them.
Use GENERIC.common for CUBIEBOARD (and BPI and CUBIETRUCK)
2015-04-19 21:28:37 +00:00
matt
33802c521b Let the ALLWINNER_Axx define the CPU they use 2015-04-19 21:25:19 +00:00
jmcneill
9267f48d2c The Amlogic SDHC controller doesn't support SG DMA. When we advertise
DMA but not SG DMA support, the sdmmc layer breaks up transfers into
multiple PAGE_SIZE (8KB here) transfers.

Remove the DMA capability flag and do transfers through a MAXPHYS-sized
buffer instead. This lets us do larger transfers and even with the memcpy,
still a significant win for performance.

Before: 134217728 bytes transferred in 15.301 secs (8771827 bytes/sec)
After:  134217728 bytes transferred in 8.834 secs (15193313 bytes/sec)
2015-04-19 21:23:01 +00:00
matt
1a80f299be Add JIT options and DKWEDGE_{AUTODISCOVER,GPT} 2015-04-19 21:09:02 +00:00
rtr
c40869fd3c clean up the way ti_bind() was converted to use sockaddr_big.
instead of using the original sockaddr_{in,un} structures for storage
use the single sockaddr_big structure instead.

while here ditch superfluous assignment of sockaddr sb_len since the
assignment is already performed in netaddr_to_sockaddr_{in,un}
2015-04-19 19:17:37 +00:00
christos
46b8188b2d Fix deref "command" after "free(file)", from KIYOHARA Takashi 2015-04-19 19:05:19 +00:00
jmcneill
8ef23f5c3f Add a driver for Amlogic "SDIO" MMC controller. 2015-04-19 18:54:52 +00:00
hubertf
4eeec9e6c7 More cleanup:
Instead of first overwriting the *_evbarm functions with own code,
and then calling them from the regular functions, directly put the
code into the regular functions.

No more functions from evbarm.conf are used now.
Some variables are still used!
2015-04-19 18:53:33 +00:00
hubertf
5537be8f18 Cleanup: make_filesystems is not used any longer, purge remains 2015-04-19 18:28:31 +00:00
joerg
66e8846b8d Redo __aeabi_atexit by shuffling the arguments and dropping the code in
libstdc++.
2015-04-19 18:15:26 +00:00
hubertf
7141992348 Add some documentation:
Tell what this does, and what it expects from conf files
2015-04-19 17:56:57 +00:00
maxv
3d61adb879 Several fixes for the French translation. Looks like the '{\n' break the
interface: the "No" buttons sometimes disappear.

Actually I can't test this change right now; will see tomorrow.
2015-04-19 16:14:03 +00:00
pgoyette
1c6efc88e1 Note that sysmon device is also required for sysmon_power.
XXX This will be changing again soon (once I get the various portions of
XXX sysmon modularized).
2015-04-19 09:20:54 +00:00
mrg
83ab79e1fd apply some of the additional changes from Arto Huusko in PR#49645:
- call pmf_device_deregister on detach.

i've kept the "resume = true" for radeon_resume_kms() call as it
seems to work for me (indeed, code inspection shows it is unused
on netbsd :-)

my old nforce4 box that can resume old drm (or could, last i tried
several years ago) while X and GL apps were running, can at least
survive a resume if X hasn't started.  my one attempt so far with
X exited, but having run, did not work.
2015-04-19 01:08:56 +00:00
pgoyette
555613f481 Remove some debugging printf()s that were erroneously committed. 2015-04-18 22:56:52 +00:00
hubertf
607c1b1921 Properly spell X' name. From X(7):
The  X.Org  Foundation  requests  that the following names be used when
       referring to this software:

                                          X
                                   X Window System
                                    X Version 11
                             X Window System, Version 11
                                         X11
2015-04-18 22:06:48 +00:00
joerg
e88efb111c Add __aeabi_atexit alias for another case of NIH on ARM. 2015-04-18 21:44:31 +00:00
ozaki-r
1fcb1cfdf6 Count up parent's obytes and omcasts counters
PR kern/49837
2015-04-18 18:32:16 +00:00
joerg
68f88a148d Drop condition around SIZEOF_SIZE_T to reduce diff against clean
version. The macro is only used on platforms without SIZE_MAX.
2015-04-18 17:00:09 +00:00
joerg
d88be72d81 Use unaligned access if the platform supports it. 2015-04-18 16:59:05 +00:00