summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2014-10-31Use understandable messages when the per-xfer poison value is incorrect.Martin Pieuchot
Prodded by a comment from stsp@.
2014-10-31The config logic with "rl needs-flag" gotJonathan Gray
removed back in 2011. Remove code under #if NRL > 0. ok miod@
2014-10-31remove a duplicate pckbdvar.h include under NGSCKBD > 0Jonathan Gray
gsckbd was removed back in 2008 so this was never defined.
2014-10-31remove unused and uneeded includes under NCY_ISA > 0 and NCY_PCI > 0Jonathan Gray
where cy.h is not included. discovered with a script from guenther@
2014-10-31#if NSWDISPLAY > 0 -> #if NWSDISPLAY > 0Jonathan Gray
now wsdisplay_suspend() will run on suspend
2014-10-31Fix a missing include in amd64 pmap.c that resulted in an erroneous memoryMike Larkin
map entry being entered in uniprocessor (UP) kernels. Multiprocessor (MP) kernels not affected. ok guenther, deraadt
2014-10-30XFER_FREE is not used, ciao.Martin Pieuchot
2014-10-30muliply to get correct size for free. reported by kspillnerTed Unangst
2014-10-30Do not use void * for pointer artithmetics, it's a GNU extension, fromMartin Pieuchot
Patrick Wildt.
2014-10-30Do not enable interrupts before attaching usb(4), fix a panic when anMartin Pieuchot
Express Card is plugged with USB devices on it. While here do not print an unitialized error value if xhci_init() fails, from Patrick Wildt.
2014-10-30Calculate the Route String when attaching a new device. This is stillMartin Pieuchot
not enough to attach Super Speed devices below USB 3 hubs, but we're getting there. While here reset `acten` when re-enqueuing an interrupt transfers.
2014-10-30zero the correct size, then free it.Ted Unangst
2014-10-30add some sizes to free()Ted Unangst
2014-10-28Select a proper source address when the bound address isYASUOKA Masahiko
INADDR_BROADCAST the same as INADDR_ANY. ok mpi
2014-10-28Fix pipex(4) to return multicast packets to the caller so that npppd canYASUOKA Masahiko
handle them. Also use M_NOWAIT for copying a multicast packet.
2014-10-28Initialize the lists of the hash tables and the virtual pipexYASUOKA Masahiko
sesssion for multicast in proper way.
2014-10-28Fix pipex(4) to initialize DF bit in IP header for L2TP message.YASUOKA Masahiko
Without this, the packets larger than the minimum MTU on the routes to the L2TP peer had been dropped.
2014-10-28the if_rxring accounting would get screwed up if the first mbuf toDavid Gwynne
be put on the ring couldnt be allocated. this pulls the code that puts the mbufs on the ring out of myx_rx_fill so it can return early if firstmb cant be allocated, which puts it in the right place to return unused slots to the if_rxring. this means myx rx wont lock up if you're DoSsed to the point where you exhaust your mbuf pools and cant allocate mbufs for the ring. ok jmatthew@
2014-10-27Remove the spilling code for IBAT register and set up the first IBAT registerMark Kettenis
to cover the first 8 MB of memory such that it covers kernel .text and not much else. This is a first step towards W^X in the kernel for machines with G4 and older processors. ok mpi@
2014-10-27Remove execute permission from most pages in the kernel pmap. This is a firstMark Kettenis
step towards W^X in the kernel, even though it is only effective on machines with a G5 processor. ok mpi@
2014-10-27Stop supporting wsmoused and X in parallel. This code is racy andMartin Pieuchot
known to break mice upon resume. ok shadchin@
2014-10-27use #ifdef DDB for Debugger()Jonathan Gray
2014-10-26Now that threads hold their own reference to their ucreds, sys_ktrace()Philip Guenther
doesn't need to hold an extra reference during the call ok deraadt@ millert@
2014-10-26uvm_km_valloc -> km_allocMark Kettenis
2014-10-26Add resource tracking for PCI ROMs.Mark Kettenis
ok deraadt@
2014-10-26- add board type of edgerouter proJasper Lievisse Adriaanse
- don't attach octrtc on the edgerouter pro either openbsd boots fine on this system, but as there's no ethernet support yet there's no storage at all right now. ok pirofti@
2014-10-26define octeon model cn61xx pass 1.1Jasper Lievisse Adriaanse
ok pirofti@
2014-10-26Read the section header string table in the boot blocks' memory, not in theMiod Vallat
loaded image area.
2014-10-26Don't forget to free() the malloc()s.Miod Vallat
2014-10-25Don't let qlw attach to non-sun4m yet, as this driver currently depends uponMiod Vallat
sun4m's iommu for bus_dma. (Guess what task just hit my todolist...)
2014-10-25Remove vmmap; it isn't used.Mark Kettenis
ok jsing@
2014-10-25uvm_km_valloc -> km_allocMark Kettenis
2014-10-25uvm_km_valloc -> km_allocMark Kettenis
ok mpi@
2014-10-25Add and enable qlw at sbus. Tested on QLGC,ispMiod Vallat
2014-10-25Don't attempt to suspend/resume a partially attached drm(4) driver.Mark Kettenis
Fixes a crash upon resume with an ATI FireMV 2400 card. ok jsg@
2014-10-25Display uvmexp.zeropages in ddb's `show uvmexp' command.Miod Vallat
2014-10-25Do not launch the page zeroing thread on MULTIPROCESSOR m88k systems. ThisMiod Vallat
causes a deadlock between reaper and zerothread I am currently investigating.
2014-10-25Another uvm_km_valloc(9) -> km_alloc(9) conversion.Mark Kettenis
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
Compiles on i386, which is the only architecture where COMPAT_LINUX is enabled at the moment. "If it compiles, go ahead" pirofti@
2014-10-24Always put controller into known state before device intialization.Brad Smith
From FreeBSD ok sthen@ chris@
2014-10-24Another uvm_km_valloc(9) -> km_alloc(9) conversion.Mark Kettenis
2014-10-24Bring phys_map to sparc64 and use it in vmapbuf(9) and vunmapbuf(9).Mark Kettenis
2014-10-24obvious sizes for freeTed Unangst
2014-10-24Fix indentation of closing brace.Alexander Bluhm
From Florian Riehm
2014-10-23Correctly mask IE_ALLIE during sun4/4c/4e NMI; from NetBSDMiod Vallat
2014-10-23Correctly set up the HPMC trap entry: according to the PA-RISC FirmwareMiod Vallat
Architecture Reference Specification, the sum of the 8 trap entry words *and* of the payload which address and length are to be set at well-known positions in the aforementioned trap entry, needs to be zero; the existing code was only enforcing that the sum of the trap entry words is zero. This matches what Linux and NetBSD do. ok kettenis@
2014-10-23In the various desidhash_*() functions, make sure we clear the `set to clear'Miod Vallat
bit fields with their right sizes (the L2PARERR field on PCXL processors being 4 bits wide, not 1 bit), and make comments consistent accross these functions. ok kettenis@
2014-10-23Revert limiting physmem to 2GB; the culprit was likely in uvm and uvm hasMiod Vallat
changed a lot in the last 5 years; verified to work on a 3GB system, in snapshots for a few weeks already.
2014-10-23Now that gcc2 is gone revert the removal of anonymous unions, means not ↵Brad Smith
having to modify various third party apps using the V4L2 API to build on OpenBSD specifically. "I think this is the right thing to do" miod@ "Fine with me." sthen@
2014-10-23pools lock themselves now, we just have to tell them what IPL theyDavid Gwynne
will be used from. this adds pool_setipl at IPL_VM to the crypto descriptor pools, and removes all the splvm handling around the use of those pools. tested by many via tech@ ok kettenis@ deraadt@