summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2013-11-12Use DL_GETDSIZE() to get disk size.Kenneth R Westerback
2013-11-12Use DL_[GET|SET]POFFSET() and DL_[GET|SET]PSIZE() to get and setKenneth R Westerback
partition offsets and sizes.
2013-11-12try bpf.c r1.84 again, this time without semantic changes to if statements.David Gwynne
cheers to sthen@ and krw@ for properly dealing with the fallout of my first commit.
2013-11-11Revert bpf.c 1.84 / bpfdesc.h 1.19 for now, "panic: timeout_add: to_ticks (-1)Stuart Henderson
< 0" seen by RD Thrush, http://article.gmane.org/gmane.os.openbsd.bugs/20113 where he has a long-running process using bpf which is active at the time of panic. krw@ agrees with reverting for now.
2013-11-11Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-11There is no fusebuf(9) man page anymore. Remove references to it from comments.Stefan Sperling
ok syl@
2013-11-11Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-11Kill commented out code dealing with a non existent sc_dying variable.Martin Pieuchot
2013-11-11Clean-up the activate routines from the uoak*(4) drivers.Paul Irofti
Leave the deactivate bits to the parent. Simplify by making a single dying check in uhidev(4) interrupt routine instead of having each child doing it. Okay mpi@
2013-11-11Replace most of our formating functions to convert IPv4/6 addresses fromMartin Pieuchot
network to presentation format to inet_ntop(). The few remaining functions will be soon converted. ok mikeb@, deraadt@ and moral support from henning@
2013-11-11bump the ring sizes up.David Gwynne
ok yasuoka@
2013-11-11replace things like "start + interval > ticks" withDavid Gwynne
"ticks - start > interval" because the latter copes with ticks wrapping. pointed out by guenther@
2013-11-11replace the user of ticks in a condition like "interval + start < ticks"David Gwynne
with "ticks - start > interval" because the latter copes with the ticks value wrapping. pointed out by guenther@ ok krw@
2013-11-11replace disksort with bufqs.David Gwynne
i havent had any tests, so if there's any fallout ill deal with it when people hit it. i wont feel guilty about it at all though.
2013-11-11drm/i915/hsw: Disable L3 caching of atomic memory operations.Jonathan Gray
Otherwise using any atomic memory operation will lock up the GPU due to a Haswell hardware bug. v2: Use the _MASKED_BIT_ENABLE macro. Drop drm parameter definition. From Francisco Jerez 018e31d2bd17a8bc95e1d1ca519650f2418b6010 in ubuntu 3.8 f3fc4884ebe6ae649d3723be14b219230d3b7fd2 in mainline linux
2013-11-11drm/i915: Don't enable the cursor on a disable pipeJonathan Gray
On HSW enabling a plane on a disabled pipe may hang the entire system. And there's no good reason for doing it ever, so just don't. v2: Move the crtc active checks to intel_crtc_cursor_{set,move} to avoid confusing people during modeset From Ville Syrjala f6c0873963a9b8ea1d94541e0e219e6ea090012b in ubuntu 3.8 f2f5f771c5fc0fa252cde3d0d0452dcc785cc17a in mainline linux
2013-11-11drm/i915: do not update cursor in crtc mode setJonathan Gray
The cursor is disabled before crtc mode set in crtc disable (and we assert this is the case), and enabled afterwards in crtc enable. Do not update it in crtc mode set. On HSW enabling a plane on a disabled pipe may hang the entire system. And there's no good reason for doing it ever, so just don't. v2: Add note about HSW hangs - vsyrjala From Jani Nikula 0be01fc195fd4ea1aec1f8be7c03ca8f920a9486 in ubuntu 3.8 cc173961a68034c1171a421f0dbed39edfb60880 in mainline linux
2013-11-11drm/i915: Fix context sizes on HSWJonathan Gray
With updates to the spec, we can actually see the context layout, and how many dwords are allocated. That table suggests we need 70720 bytes per HW context. Rounded up, this is 18 pages. Looking at what lives after the current 4 pages we use, I can't see too much important (mostly it's d3d related), but there are a couple of things which look scary. I am hopeful this can explain some of our odd HSW failures. v2: Make the context only 17 pages. The power context space isn't used ever, and execlists aren't used in our driver, making the actual total 66944 bytes. v3: Add a comment to the code. (Jesse & Paulo) From Ben Widawsky 6bab5ce3f3224d3c1fcc92ed9184392558ae3df4 in ubuntu 3.8 a0de80a0e07032a111230ec92eca563f9d93648d in mainline linux
2013-11-10Make sure we pass a NULL cleanup argument to __start() by initializingPhilip Guenther
a2 to zero in the kernel and ld.so. This will let us add the conditional atexit() call to crt0 ok kettenis@ miod@
2013-11-10Add fcu(4) to avoid playing a fan symphony when installing/upgrading someMartin Pieuchot
PowerMac G5. ok miod@, krw@, deraadt@
2013-11-10Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-10Tweak comments to d_secperunit, p_size and p_offset to clearly sayKenneth R Westerback
they are the 'low' parts of the disk size, partition size and partition offset. Like d_secpuerunith, p_sizeh and p_offseth were already commented as the 'high' parts.
2013-11-09Cope with the current layout of kernel binaries (three program headers nowMiod Vallat
that .text, .rodata and .data are aligned on BATC boundaries) and merge all phdrs into the first BCS section.
2013-11-09In our USB world, timeouts are in milliseconds, so use timeout_add_msec()Martin Pieuchot
coherently through all our controller drivers and kill the mstohz() macro. ok pirofti@
2013-11-09Reduce the differences between our controller drivers and initializeMartin Pieuchot
the timeout task in the *_timeout() routine. It now becomes obvious that the allocx/freex hooks can be merged. ok pirofti@
2013-11-09Remove hibernate_get_next_rle function (unused, and we need to redo itMike Larkin
anyway as we move toward a streamed implmentation)
2013-11-09Add KASSERT()s to tsleep() and msleep() to verify that bogus flagsPhilip Guenther
aren't being passed to them. Fix UVM_WAIT() to not pass PNORELOCK to tsleep(), as that flag only does something with msleep(). ok beck@ dlg@
2013-11-09ticks is compared against mcl_grown to see if time has elapsed sinceDavid Gwynne
the rx ring was last allowed to grow and then assigned to it. it is erroneous to do this because mcl_grown is a u_int and ticks is an int. this makes mcl_grown an int, and follows the idiom in kern_timeout.c of going "thing - ticks < diff", which better copes with ticks wrapping around and being used to calculate relative intervals. ok pirofti@ guenther@
2013-11-09recognise Realtek ALC221Jonathan Gray
2013-11-09enable snooping on Intel 8 Series HD AudioJonathan Gray
2013-11-09unbias the chunks and chunktable writing and reading. as a result, itTheo de Raadt
is now possible to move the chunktable right after the chunks, not at the end of the swap. ok mlarkin
2013-11-09add Intel 8 series kt (amt serial over lan)Jonathan Gray
2013-11-09regenJonathan Gray
2013-11-09more rate matching hubsJonathan Gray
2013-11-09regenJonathan Gray
2013-11-09add some more 4th gen Intel Core devicesJonathan Gray
2013-11-08advertise the ring sizes through the stack. specifically:David Gwynne
- set the sndq size to the tx ring size so tx mitigation can hopefully kick in - advertise the size of the rx ring to mclgeti - only uses jumbo clusters. mtu is about what the ip stack will do for transmitted packets, we should happily receive packets up to the size the hardware supports. the point of mclgeti was to make it possible to do so without wasting too much memory. ok yasuoka@ uebayasi@
2013-11-08fix spelling.Federico G. Schwindt
2013-11-08Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-08To make sure detach hooks are executed in reverse order they were added,Martin Pieuchot
they must be appended to the head of the list. It doesn't really matter right now since most of our pseudo drivers use their own custom detach procedure, but teach vlan(4) to do the right thing since more conversion are coming. ok deraadt@
2013-11-08syncStuart Henderson
2013-11-08add ID for Areca ARC-1214Stuart Henderson
2013-11-08fix bootstrap_bs_map to map more than one section.aalm
ok patrick@, fgsch@
2013-11-07In polling mode since r1.101 we could end up dereferencing anMartin Pieuchot
uninitialized variable in case the transfer we were waiting for timed out; problem reported by oga@bitrig. So bring uhci_waitintr() in sync with its equivalent in ohci(4) and ehci(4), stop using an uhci_xfer, do not dereference it and set the correct status of the transfer.
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@
2013-11-07Kill sc_dying. Nobody was using it anyway.Paul Irofti
"just kill it" mpi@
2013-11-07Replace sc_dying in favour of usbd_is_dying() and usbd_deactivate().Paul Irofti
Okay mpi@