summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2015-04-01Add cpu_pae variable (which will be later used to determine if PAE mode isMike Larkin
in use) now so that libkvm can be fixed before the rest of the bulk of PAE support is committed. requested by and ok deraadt@
2015-04-01fix typo in comment; OK mpi@Gleydson Soares
2015-04-01Correct comments.Masao Uebayashi
2015-04-01Run most of the interrupt handler without holding the kernel lock.Mark Kettenis
2015-04-01Kill useless comments talking about ether_input().Martin Pieuchot
2015-04-01Remove annoying comment mentionning ether_output().Martin Pieuchot
2015-04-01Small cleanups when attaching sensors, from David Higgs.Martin Pieuchot
2015-04-01create a taskq for network tasks to run in. cut ether_input_mbufDavid Gwynne
and if_input up so the work ether_input does gets run on the task instead of directly from hardware receive handlers. this is a step toward letting hardware drivers run without biglock by shoving the work the stack does which needs that lock sideways. general agreement at s2k15 ok mpi@ kettenis@ claudio@
2015-03-31Make it possisble to disable block address translation mechanism onMartin Pieuchot
processors that support it. Due to the way trap code is patched it is currently not possible to enabled/disable BAT at runtime. ok miod@, kettenis@
2015-03-31Merge two versions of ppc_check_procid().Martin Pieuchot
ok miod@, kettenis@ as part of a larger diff
2015-03-31let vlan(4) mtu be limited by the parents hardmtu, not current mtu.David Gwynne
this lets you have networks on the "native" (untagged) vlan on an interface at 1500, while setting a child vlan interfaces mtu to jumbos. ok sthen@ henning@ chris@
2015-03-31Tell the firmware to shut down the fan management thread on the lastMartin Pieuchot
generation of G5s. Without this my PowerMac11,2 hang when smu(4) attaches.
2015-03-31Tracing across an interrupt frame was failing because the trace code thoughtPhilip Guenther
the interrupt frame was at the same address as the frame that was interrupted. Correct the calculated frame pointer for the interrupt frame to have the same offset to the struct trapframe on the stack as does syscall and trap. ok kettenis@ mlarkin@
2015-03-31zero the frame pointer of the kernel stack of new threads to make ddb tracePhilip Guenther
happier ok dlg@ jsing@ kettenis@ mlarkin@
2015-03-31Upon finding an AUX slot that has no driver for it (such as theJoshua Stein
ramdisks that don't have the pms driver), setup a dummy interrupt handler to receive and discard data from the slot. This is a less invasive way of fixing the repeating keys/delay problem that occurs on newer ThinkPads when touching the trackpad/trackstick while typing during the installer. This has been in snapshots for a bit.
2015-03-30Revert 1.173 (special-casing mips64) now that uvm_map_hint()'s return value isMiod Vallat
constrained to a suitable range.
2015-03-30Extend uvm_map_hint() to get an address range as extra arguments, and makeMiod Vallat
sure it will return an address within that range. Use this in uaddr_rnd_select() to make sure we will not attempt to pick an address beyond what we are allowed to map. In my trees for 9 months, blackmailed s2k15 attendees into agreeing now would be a good time to commit.
2015-03-30#if 0 various unused definitions.Miod Vallat
2015-03-30Remove isp stanzas. qlw is here to stay.Miod Vallat
2015-03-30Add a bus_dma_tag_t for DVMA usage, suitable for use for devices not sittingMiod Vallat
behind a sun4m iommu. Move the existing dvma routines from vm_machdep.c to this new dvma.c; this allows for a few declarations to be removed from public headers. Extend the device attachment arguments (struct confargs) to pass a bus_dma_tag_t. mainbus receives the dvma bus_dma_tag_t, and devices pass the tag unchanged to their children, except for iommu(4) which replaces it with its own. Change the few sun4m-only drivers to pick the bus_dma_tag_t from confargs rather than assume iommu; this allows qlw(4) to attach and work on sun4c. ok kettenis@
2015-03-30Always use the first value of the "interrupts" property the others doMartin Pieuchot
not correspond to the PCI function. Hopefully the first device that I find hitting this case is the second bge(4) interface of my PowerMac11,2.
2015-03-30Add defines for known offsets and magical values, map the correct pageMartin Pieuchot
and enable the mpic on G5 machines and finally introduce some helpers needed for suspend/resume. Is this called a rewrite? In my forest since s2k11, committing now that I need this for supporting Quad G5 machines.
2015-03-30Convert, convert, convert 'em all to if_input(), tralalalala...Martin Pieuchot
Tested by sebastia@
2015-03-30Convert to if_input().Martin Pieuchot
Tested by sebastia@
2015-03-30Convert to if_input(), tested by sebastia@.Martin Pieuchot
2015-03-29Restore user-loaded vga fonts upon X11->VT switch and upon resume; fromMiod Vallat
dan mclaughlin, thanks!
2015-03-29In vga_load_font(), keep track of the font bits being passed by the caller,Miod Vallat
should the need to free them arise; and only perform the `use font' logic if we are in the `use font' case (i.e. font->data == NULL). Prompted by a discussion with dan mclaughlin on tech@
2015-03-29Correctly match SUNW,fas in the boot path.Miod Vallat
2015-03-29Reject packets that are too large.Mark Kettenis
2015-03-29Convert to if_input(), tested by miod@ and sebastia@.Martin Pieuchot
2015-03-29Convert qe(4) et be(4) to if_input().Martin Pieuchot
Tested by miod@, thanks!
2015-03-29initial support for the SABRE SD boardJonathan Gray
from Patrick Wildt in Bitrig
2015-03-29if_detached start dequeues mbufs on the start list and immediatelyDavid Gwynne
frees them. IFQ_PURGE does that too, so let's reuse it here.
2015-03-28Replace the hand-crafted list of datagram unix domain sockets withAlexander Bluhm
a SLIST. OK mpi@ benno@
2015-03-28Correctly advance the bootpath when attaching children.Miod Vallat
2015-03-28When attaching an sbus esp(4), do the sbus_testdma() check regardless of theMiod Vallat
actual card name we're attaching.
2015-03-28Don't include sbusvar.h if you need neither sbus_translate() nor sbus_testdma().Miod Vallat
2015-03-28match on the RTS5249 found on the dell xps 13, treat it as a 5229Joshua Stein
ok stsp
2015-03-28Convert to if_input(), tested by miod@Martin Pieuchot
2015-03-27Lower VM_MIN_KERNEL_ADDRESS by 128MB on non-SRMMU systems (sun4/4c/4e) as well,Miod Vallat
in order to give these systems a more reasonable amount of kva, yet still providing .75GB to userland processes. Although there is no dependency upon a recent boot loader on non-SRMMU systems, SMALL_KERNEL will nevertheless stick to the legacy kvm layout, for the time being.
2015-03-27Convert to if_input().Martin Pieuchot
Tested by and ok uaa@
2015-03-27simply do if_input() between splnet() and splx(), like other driversuaa
(such as if_udav.c). ok by mpi@
2015-03-26de-staticMiod Vallat
2015-03-26Remove bits of unfinished IPsec proxy support. DNS' KX records, anyone?Mike Belopuhov
ok markus, hshoexer
2015-03-26Use rt_ifa_add(9) and rt_ifa_del(9) to configure MPLS labels.Martin Pieuchot
Since the removal of the link-layer ifa from "struct ifnet" it was impossible to configure MPLS routes on mpe(4). Because just like enc(4), mpe(4) was abusing the link-layer ifa to attach its route entries. So explicitly pass a "glue" ifa to the routing layer. From Rafael Zalamena who discovered this the hardway, thanks! ok claudio@
2015-03-26additional params from libdrm 2.4.60Jonathan Gray
2015-03-26Use the 0x10 extended capability to determine if the trackstickJonathan Gray
buttons are wired to the trackpad and need to be re-routed to the trackstick. Without this change the buttons on 2015 thinkpads get picked up as extended buttons that show up as scroll up/down. Remove the X1 Carbon 2015 (LEN0048) and X250 (LEN0046) from the top button area/soft buttons quirks list. Also avoid using the quirk list entirely if the capability bit is set. Based on work from jcs@ with feedback from mpi@ ok mpi@ jcs@
2015-03-25Save/restore AVX registers and other XSAVE-managed state information whenMark Kettenis
entering/leaving a signal handler like we already do the the FPU and SSE state. This should make it possible to use AVX instructions in signal handlers. ok mlarkin@
2015-03-25Mark CPUID_LEAF inline asm as volatile to prevent the compiler from reorderingMark Kettenis
it with respect to other instructions. ok gunether@, mlarkin@
2015-03-25With a per interface IPv6 stateless adress auto configuration flag itFlorian Obser
is possible to allow IPv6 forwarding and SLAAC at the same time. This is needed for RFC 7084. Thanks to henning@ for marking places that needed looking at in Ljubljana. OK phessler@, benno@