maxv
549e231932
Make DPRINTF more understandable, and replace my previous #ifdef DIAGNOSTIC...
2014-07-18 17:24:34 +00:00
tsutsui
f4763f29dc
Shrink GENERIC and enable MODULAR instead.
2014-07-18 17:19:35 +00:00
tsutsui
651b21090e
Enable NULLFS and MODULAR, and disable UMAPFS, accf_data and accf_http.
...
No particular comments on port-x68k@.
2014-07-18 17:06:13 +00:00
maxv
b83cbf05a3
Fix the ATF failures caused by my recent smbfs change (smbfs_vfsops.c -r1.103).
...
ok pooka@
2014-07-18 16:25:17 +00:00
dholland
885875e18f
Remove
...
Users should not depend on the memory sharing semantics of vfork() as
other ways of speeding up the fork process may be developed in the
future.
as we are not planning to deprecate vfork. Besides NetBSD's
compatibility policy means we wouldn't change it anyway but introduce
something new.
Add
Portable applications should not depend on the memory sharing semantics
of vfork() as implementations exist that implement vfork() as plain
fork(2).
because this is or used to be a real hazard.
ok christos
2014-07-18 16:02:50 +00:00
prlw1
efb45e7161
drmkmsbus has gone away
2014-07-18 16:01:07 +00:00
dholland
b50dcf12b2
Clarify HISTORY and bump date.
2014-07-18 15:58:51 +00:00
dholland
bacb19df9d
fix typo and minor usage issue
2014-07-18 15:56:44 +00:00
christos
fa7c13505e
Document MAP_INHERIT_ZERO.
2014-07-18 12:39:17 +00:00
christos
e93cdeae9b
Add MAP_INHERIT_ZERO
2014-07-18 12:36:57 +00:00
christos
33f99f08ae
Add t_minherit.
2014-07-18 12:36:18 +00:00
christos
0579ed8b30
Add new minherit test.
2014-07-18 12:34:52 +00:00
christos
9aaf8e57e5
Split out the minherit code into separate functions for readability (allows
...
us to indent them properly), and merge the new vm_map_entry creation into
a common function to avoid code duplication. No functional change.
2014-07-18 12:19:09 +00:00
njoly
9e00c924f2
Add missing end list (El) macro.
2014-07-18 11:14:18 +00:00
riastradh
34216073bb
Don't forget to pmap_update after pmap_kremove!
2014-07-18 03:11:55 +00:00
ozaki-r
dd5f48796e
Don't set SOFTINT_MPSAFE to vioif_rx_softint
...
vioif_rx_softint calls vioif_populate_rx_mbufs that is not MPSAFE.
vioif_populate_rx_mbufs is also called via vioif_ioctl and so can
be called by two LWPs simultaneously, resulting in kernel panic.
PR kern/49007
2014-07-18 02:10:55 +00:00
riastradh
2f97720d54
We need just a VA, not wired physical pages too.
2014-07-18 00:00:51 +00:00
riastradh
964a628c0e
Don't double-free obj->pages, with two different allocators to boot!
2014-07-17 21:14:24 +00:00
riastradh
db544f2dc6
Destroy the DMA subregion tag on error in drm_pci_detach.
...
Now that drm_pci_attach calls the driver load function, rather than
deferring it to the caller, the DMA subregion tag can be created
here.
2014-07-17 21:13:49 +00:00
riastradh
df1a87486b
Elide up to one excess driver-named component from firmware pathnames.
2014-07-17 20:56:14 +00:00
riastradh
5820ca24c6
In radeon_device_init, use ddev->dev, not &pdev->dev, for rdev->dev.
...
ddev->dev is the actual device_t, and we need it for firmware load.
&pdev->dev is a dummy structure that serves no purpose except some
kludge in our Linux PCI compatibility crap. In Linux the two should
be the same, so no need to #ifdef __NetBSD__ this.
2014-07-17 20:41:22 +00:00
riastradh
852bd97d54
Tweak failure case for Linux firmware API.
...
request_firmware is guaranteed to yield null on failure;
release_firmware on null is guaranteed to be a no-op.
2014-07-17 20:37:01 +00:00
bouyer
ecf710daf3
Try to recover from vbus errors. Some devices draw too much
...
current at plug time, causing a trancient error.
2014-07-17 19:58:18 +00:00
riastradh
598514d2bc
Need <sys/atomic.h> for atomic_cas_uint.
2014-07-17 19:23:40 +00:00
riastradh
6be38beda3
Don't touch task after calling it.
2014-07-17 18:53:34 +00:00
riastradh
071b7abfaa
Fix usb task queue locking.
2014-07-17 18:42:37 +00:00
riastradh
08846c0307
intel_dp_aux_wait_done can run while cold.
2014-07-17 17:52:39 +00:00
riastradh
8880b5313f
Do a post-write DMA sync pos-write, not a pre-write one.
2014-07-17 17:29:39 +00:00
riastradh
6f1e96281f
Don't forget to advance the array index as we walk the queue...
2014-07-17 17:19:42 +00:00
riastradh
4fb1005df1
Lock the right lock around the gmbus condvar.
2014-07-17 17:17:24 +00:00
riastradh
bc81f6d8be
Fix wsmouse at uatp attachment for module.
2014-07-17 17:11:12 +00:00
riastradh
ced0e0f361
Put in dummy gem uvm ops for radeon (uses ttm for real mmap).
2014-07-17 15:09:00 +00:00
riastradh
52c71abc12
Expand null macros to `do {} while (0)', not to nothing.
2014-07-17 14:55:32 +00:00
riastradh
3c8e94233f
Correct return values of Linux test-and-set operations (PR 48999).
...
Linux's Documentation/atomic_ops.txt says in no uncertain terms these
must return 0 or 1, not zero or nonzero. I don't think this has
caused an issue for drm (yet), but better to have it right.
2014-07-17 14:30:33 +00:00
riastradh
27f0ac970f
Add non-atomic Linux test-and-set operations.
2014-07-17 14:28:28 +00:00
riastradh
174002a657
Remove defunct declarations of alloc_page/free_page.
2014-07-17 14:07:44 +00:00
riastradh
f0ac8cd0d3
Push -Wno-missing-prototypes into specific radeon source files.
...
Don't apply it willy-nilly to the whole kernel!
2014-07-17 14:05:12 +00:00
riastradh
26083f6ccc
Remove needless linux_gfp.c.
...
Trying to make do with Linux's page allocation interface is pretty
much always wrong: either we let uvm allocate pages in uvm objects
for us, or we use bus_dma.
2014-07-17 13:52:22 +00:00
riastradh
180ed50cef
Initialize the drm_global stuff.
2014-07-17 13:47:19 +00:00
njoly
c038ed9dae
Add hw.ncpuonline documentation.
2014-07-17 13:42:02 +00:00
prlw1
0d52edd1b1
Update lists after adding support for vnd to rump (report from hannken@)
2014-07-17 12:04:05 +00:00
bouyer
af396dde5a
Sync DEFCOPTS and CFLAGS with i386 and amd64 counterparts.
...
Especially -fno-omit-frame-pointer
2014-07-17 10:49:45 +00:00
bouyer
8a9adb2f72
Make sure to call ifp->if_output() with KERNEL_LOCK held.
...
Should fix mpls-related atf tests.
2014-07-17 10:46:57 +00:00
mrg
e8a778f4c0
call this 20140717.
2014-07-17 10:21:51 +00:00
hannken
3fd06797df
Finish KAME IPSEC removal:
...
- Remove field kfs_value, it is always zero. Compute the hash from kt_tag.
- Remove stray definitions kernfs_revoke_sa and kernfs_revoke_sp.
While here, remove kfs_type from allocvp(), it is always kt->kt_tag.
2014-07-17 08:21:34 +00:00
prlw1
2b476a8d95
Add vnd support to rump
2014-07-17 08:16:12 +00:00
spz
652bd7d1b3
Create the dhcpd.leases file if it doesn't exist already, don't just
...
warn about it not being there.
Closes PR misc/48868
2014-07-17 07:17:03 +00:00
mrg
71b444f24e
rewrite much of the SSL code:
...
- handle errors in many places they weren't properly
- make SSL_accept() an error the main code notices
- expand bozo_ssl_err() to include bozo_ssl_warn(), bozo_clear_ssl_queue()
- remove empty bozo_ssl_flush()
2014-07-17 06:27:52 +00:00
mrg
cce952fc91
link against main.c and ssl-bozo.c (which provides the IO backend.)
2014-07-17 06:24:57 +00:00
mrg
002519bfa2
use const and remove unnecessary braces.
2014-07-17 06:14:46 +00:00