Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-05-17 | Add a dummy IPL_MPSAFE definition. | Mark Kettenis | |
ok miod@, mikeb@ | |||
2013-05-17 | Implement IPL_MPSAFE for pci bus interrupt handlers. | Mark Kettenis | |
2013-05-16 | Implement a mechanism to establish interrupt handlers that don't grab the | Mark Kettenis | |
kernel lock upon entry through a new IPL_MPSAFE flag/level. | |||
2013-05-16 | Implement a mechanism to establish interrupt handlers that don't grab the | Mark Kettenis | |
kernel lock upon entry through a new IPL_MPSAFE flag/level. ok mikeb@, mpi@ | |||
2013-05-16 | Ignore colormap operations at 1bpp, to work with Xorg wsfb driver. | Kenji Aoyama | |
Still need more work in Xorg... ok miod@ | |||
2013-05-16 | Add missing IPL_AUDIO macro, needed by dev/audio.c | Alexandre Ratchov | |
ok miod and kettenis | |||
2013-05-16 | Run audio interrupts without grabbing the kernel lock. While IPL_SERIAL is | Mark Kettenis | |
higher than IPL_AUDIO on sparc64, and interrupt handlers running at IPL_SERIAL still grab the kernel lock, this isn't a problem as machines with audioce(4) are guaranteed not to have zs(4) (the only driver that uses IPL_SERIAL). | |||
2013-05-15 | remove unused variable | Alexandre Ratchov | |
2013-05-15 | remove unused splaudio/splx pair | Alexandre Ratchov | |
2013-05-15 | remove unused variable | Alexandre Ratchov | |
2013-05-15 | Initialize a teeny few more globals to reasonable values to allow for printf() | Miod Vallat | |
to work as soon as cn_tab is initialized. Allows us to correctly printf or panic early on unrecognized systems. This used to be the case but got lost a long time ago. | |||
2013-05-15 | Introduce a global interrupt-aware mutex protecting data | Alexandre Ratchov | |
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani | |||
2013-05-14 | Declare the cmmu-related variables which are set early in the kernel life, | Miod Vallat | |
before pmap_bootstrap(), as located in .rodata. This will get them write-protected after pmap has initialized, for free. | |||
2013-05-14 | typo in multiple inclusion guard symbol name. | Miod Vallat | |
2013-05-14 | Older BUG version do not implement the `out cr/lf' BUG system call, and, worse, | Miod Vallat | |
do not return from it, for extra fun. The good thing is that the existing kernel console code logic issueing \n as \r\n works nicely with the regular BUG output routines, so there was no reason to use this particular BUG routine in the first place. | |||
2013-05-14 | Add basic prcm support for am335x. | rapha | |
Use separate headers and enable/disablemodule functions for the different boards. A lot of work by patrick@. ok patrick@, bmercer@ | |||
2013-05-14 | Add board id for beaglebone. | rapha | |
ok patrick@, bmercer@ | |||
2013-05-13 | Get rid of some silly underscores. | Mark Kettenis | |
2013-05-13 | Implement support for running interrupt handlers without taking the kernel | Mark Kettenis | |
lock, by adding a new BUS_INTR_ESTABLISH_MPSAFE flag for use with the (sparc64-specific) bus_intr_establish(9) interface. Add support for this flag to schizo(4); other bus drivers will ignore it for now. While there, remove the BUS_INTR_ESTABLISH_FASTTRAP flag which serves no purpose. | |||
2013-05-12 | Make sboot really match its documented behaviour when booting without an | Miod Vallat | |
interface name. | |||
2013-05-12 | Tell wsdisplay(4) to switch back to the console screen upon entering ddb(4). | Mark Kettenis | |
This gives users a decent chance to see panic messages and interact with ddb(4) when they're running X on hardware for which we have a KMS driver. Currently that means inteldrm(4). ok jsg@, guenther@ | |||
2013-05-12 | Handle big (a.k.a. >2TB) disks by adding logic to handle the 12 and 16 | Kenneth R Westerback | |
byte scsi read/write commands. Issue pointed out by John Morrissey via bugs@. Problem reproduced and fix tested by sf@ on vioblk. ok sf@ kettenis@ | |||
2013-05-12 | Take the kernel lock and call the actual interrupt handler from a | Mark Kettenis | |
single C function. Inspired by the change made to amd64/i386 by ratchov@. | |||
2013-05-12 | Take the kernel lock and call the actual interrupt handler from a | Alexandre Ratchov | |
single c function. This will hopefully make easier to stop taking the kernel lock when running "mp safe" interrupt handlers. help from ok kettenis | |||
2013-05-12 | S-Records boot code for mvme88k, finally. Allows a kernel to be loaded from | Miod Vallat | |
network, using either the on-board interface (on MVME187 and MVME197) or any MVME376. While there, add MVME376 support to netboot. | |||
2013-05-12 | Lower heap location and load address by 1MB for the secondary boot loaders, | Miod Vallat | |
to fit 8MB boards. | |||
2013-05-10 | whitespaces | Patrick Wildt | |
2013-05-10 | Convert K&R style function declaration to ANSI. | Patrick Wildt | |
2013-05-10 | Simplify mapping pages by just calling pmap_kenter_cache. | Patrick Wildt | |
From oga at bitrig. ok miod@ | |||
2013-05-10 | ditch unused zskbd_device_lookup; verified by sebastia@ | Mike Belopuhov | |
2013-05-10 | Flush the secondary cache when dumping. | Patrick Wildt | |
ok miod@ | |||
2013-05-10 | Remove an instruction cache sync which is not needed. | Patrick Wildt | |
ok miod@ | |||
2013-05-10 | Map vector page executable when installing the fiq handler. | Patrick Wildt | |
ok miod@ | |||
2013-05-10 | Map beagle kernel and its vector page executable. | Patrick Wildt | |
ok miod@ | |||
2013-05-10 | whitespaces | Patrick Wildt | |
2013-05-09 | Don't rely on uvm_km_free() to remove the pmap mapping when unmapping | Patrick Wildt | |
in bus space. ok miod@ | |||
2013-05-09 | Drain the bufs after or before we do a bus space operation on ARMv7. | Patrick Wildt | |
ok miod@ | |||
2013-05-09 | On ARMv7 we can't use the cache mask to check for coherency. | Patrick Wildt | |
Therefore we add new macros to be able to check for it properly. ok miod@ | |||
2013-05-09 | Do not panic when running the MP kernel on a single-processor system; found | Miod Vallat | |
the hard way by tobiasu@ | |||
2013-05-09 | Add a driver for the OMAP identification registers/fuses, | Patrick Wildt | |
so that we can adjust the timer frequency for PandaBoard version. From drahn at bitrig. ok bmercer@ | |||
2013-05-09 | Implement mtx_enter_try for armv7 and handle ci_mutex_level. | Patrick Wildt | |
From drahn and oga at bitrig. ok bmercer@ | |||
2013-05-09 | Have the ARM MPCore Timer use the private timer, which will be very useful | Patrick Wildt | |
for SMP on the newer ARMv7 boards. From drahn at dalerahn.com. ok bmercer@ | |||
2013-05-09 | Have the ARM MPCore Timer use the private timer, which will be very useful | Patrick Wildt | |
for SMP on the newer ARMv7 boards. From drahn at dalerahn.com. ok bmercer@ | |||
2013-05-08 | Port over NetBSD's arm dma sync code. This makes it easier to flush | Patrick Wildt | |
the secondary cache, as we always have the physical address. tested on panda and zaurus ok miod@ | |||
2013-05-08 | this comment is not attached to this value. remove | Ted Unangst | |
2013-05-08 | remove stale cyrix emc support, and switch to just using intial npxcw | Ted Unangst | |
ok kettenis | |||
2013-05-07 | remove an unreferenced var that accessed uninitialised memory | Jonathan Gray | |
ok miod@ | |||
2013-05-06 | the use of modern intel performance counter msrs to measure the number of | David Gwynne | |
cycles per second isnt reliable, particularly inside "virtual" machines. cpuspeed can be calculated as 0, which causes a divide by zero later on which is bad. this goes to more effort to detect if the performance counters are in use by the hypervisor, or detecting if they gave us a cpuspeed of 0 so we can fall through to using rdtsc. the same change as: src/sys/arch/i386/include/specialreg.h r.45 src/sys/arch/i386/isa/clock.c 1.49 ok jsg@ | |||
2013-05-06 | the use of modern intel performance counter msrs to measure the number of | David Gwynne | |
cycles per second isnt reliable, particularly inside "virtual" machines. cpuspeed can be calculated as 0, which causes a divide by zero later on which is bad. this goes to more effort to detect if the performance counters are in use by the hypervisor, or detecting if they gave us a cpuspeed of 0 so we can fall through to using rdtsc. ok jsg@ | |||
2013-05-05 | remove never used get/set ioperm sysarch functions. ok guenther | Ted Unangst | |