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
riastradh
0a36a05ab2
Actually hook up the radeon_ttm uvm pager ops!
2014-07-17 03:34:13 +00:00
riastradh
cd1be69630
Import the part of Nouveau that got eaten by CVS default ignore patterns.
...
No, this is *not* a core file. This is a directory with most of the
source code!
2014-07-17 01:50:57 +00:00
jmcneill
f0744b1ae9
From 517d5c1c9c
...
> Fix for ALSA driver crash
> Avoids an issue when closing and opening vchiq where a message can arrive before service handle has been written
2014-07-16 23:59:58 +00:00
jmcneill
ad7324db82
need opt_arm_debug.h for VERBOSE_INIT_ARM
2014-07-16 23:54:32 +00:00
riastradh
b358313ab0
Get suspend/resume sorta working for i915drm.
2014-07-16 23:25:18 +00:00
riastradh
b8f558054f
Remove needless pci_map_rom error messages.
2014-07-16 23:24:23 +00:00