summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-03-15Allow CPU_INFO_UNIT() to be used before cpu0 attaches.Miod Vallat
2009-03-15In _bus_dmamem_alloc(), do not bother printing avail_start and avail_endMiod Vallat
in the DEBUG code, since these values aren't used there anymore.
2009-03-12Define a proper wsdisplay type for raptor(4).Mark Kettenis
ok miod@
2009-03-11Attach iommu on AMD family 10h processors (e.g. phenom) too.Owain Ainsworth
11h (Turion) still needs testing, so isn't part of this commit. ok reyk@, marco@
2009-03-10First step in cleaning up amd64 iommu.Owain Ainsworth
Firstly, don't keep identical data for each of the GARTs (we keep them in sync, but there is one per cpu socket), all that varies is the pci_tag_t, so just keep an array of those and have the rest of the information once. Secondly, don't keep the softc as a global, use the _cookie field of the dmatag_t, that's what it's there for. Finally, use dmamap_map to map the page tables, instead of the direct NC map. This is because later changes to support PAT will be a lot easier with one direct map (where we change the cacheability if needed), since otherwise it's just asking for illegal cache aliases. More changes will be upcoming. Tested by a few people, with an without bigmem, thanks to those. weingart@ liked the direction this is going, marco@ and kettenis@ oked it.
2009-03-10remove the _BUS_DMA_PRIVATE define from amd64 and i386.Owain Ainsworth
a define needed to get to ``private'' functions that needs to be defined 5 or more times isn't much use and may cause namespace issues anyway. Other archs will probably follow. Discussed in portugal. "Hell yes" weingart@, ok kettenis@, no objections miod@
2009-03-10Enable VMware VMXnet Virtual Interface Controller (vic) driverJonathan Gray
on amd64 as well. ok dlg@
2009-03-10enable urtw(4)Kevin Lo
ok jsg@
2009-03-09Initial stab at a driver for FFB3/XVR-1000. It seems to work fine, but withoutMark Kettenis
acceleration it is a tad bit slow, so leave this disabled for now.
2009-03-09Switch mvme88k to timecounters.Miod Vallat
2009-03-08Fix dmesg output for child devices not configured (e.g. lpt on RAMDISK).Miod Vallat
2009-03-08g/c now unused extern declaration for avail_endMartin Reindl
ok miod@
2009-03-08Move more z8536 defines from MVME188 specific code to the MI header and use it.Miod Vallat
2009-03-08Add support for Geyser2 devices from NetBSD and fix some Geyser1 devices thatRobert Nagy
can be found in iBook G4 12". Remove references for LCD panel sizes because the same device can be found on different sized laptops and it has nothing to do with the trackpad. Introduce a type variable that stores the device type: FOUNTAIN, GEYSER1 or GEYSER2. This value helps deciding some of the device parameters and it gets printed in the dmesg instead of the panel size. Introduce "mouse button emulation" on multi-touch trackpads just like in macos, so it's not needed to bind mouse buttons to the keyboard anymore: Tap two fingers + mouse button = 3rd mouse button = right click Tap three fingers + mouse button = 2nd mouse button = middle click Discussed with and ok: miod@ and maja@
2009-03-07When allocating memory in bus_dmamem_alloc() with uvm_pglistalloc(), do notMiod Vallat
try to be smart for the address range, uvm_pglistalloc() is smart enough nowadays.
2009-03-07No need to register a soft interrupt for softclock, it's done in MI code.Miod Vallat
2009-03-05Change SMP secondary processor startup to have them ``hatch'' earlier,Miod Vallat
so that they can invoke sched_init_cpu() before the scheduler starts, which allows the horrible kluge in cpu_configure() to die.
2009-03-05Make ELF platforms generate ELF core dumps. Somewhat based on code fromMark Kettenis
NetBSD. ok kurt@, drahn@, miod@
2009-03-04Clean up the ipi code a bit and try to provide useful comments as well.Miod Vallat
2009-03-04Since 88110 processors can not flush individual TLB entries, instead ofMiod Vallat
flushing the whole TLB block every time a pte is modified, store a bitmask of pending flushes and do them at pmap_update() time. 88100 behaviour is unchanged.
2009-03-04Introduce atomic_clear_int() as an MD atomic operation to perform atomicMiod Vallat
exchange with zero; use it in the soft interrupt code to make it simpler and faster.
2009-03-04When handling clock interrupts, check the overflow counter to know how manyMiod Vallat
times hardclock() needs to be invoked; fixes clock drift found on 197DP with SMP kernels.
2009-03-04Fix stupid logic bug in rw_cas_m88k(), makes NFS much happier on SMP kernels.Miod Vallat
2009-03-01Support for MVME141 boards. Tested with both VME and VSB memory boardsMiod Vallat
(and MVME327 SCSI and MVME376 Ethernet, to provide a complete system).
2009-03-01Tweak pccspeed() to not report 33MHz boards as 50MHz (until better code isMiod Vallat
used there).
2009-03-01Replace a few magic constants with proper #defines as pointed out by miod@.Mark Kettenis
2009-03-01Support for MVME165 board - code written in april 2006, eventually debuggedMiod Vallat
last month.
2009-03-01Fix bus_space_map() on intio space, it is not mapped 1:1...Miod Vallat
2009-03-01Clean up match routines vs board id; this should give 166, 172 and 176 aMiod Vallat
change to work better.
2009-03-01Enable raptor(4) here too. Pointed out by deraadt@ and miod@.Mark Kettenis
2009-03-01Enable raptor(4).Mark Kettenis
2009-03-01Finish colormap support; makes Xorg wsfb driver work.Mark Kettenis
2009-03-01Some initial colormap support.Mark Kettenis
2009-03-01An accelerated framebuffer driver for the Tech Source Raptor GFX cards builtMark Kettenis
around the Number 0 Imagine-128 chip. Colormap support is still missing.
2009-03-01Make more IPI synchronous. Performance slightly down, stability slightly up.Miod Vallat
ok deraadt@
2009-03-01Files forgotten during last commit:Miod Vallat
Rework nmi handling to handle ``complex'' NMI faster, and return as fast as possible from the exception, without doing the AST and softintr dance. This should avoid too much stack usage under load. ok deraadt@
2009-03-01Don't let an mmio area replace the frame buffer if they are the same size.Mark Kettenis
Seen on a Tech Source Raptor. ok miod@
2009-02-27Rework nmi handling to handle ``complex'' NMI faster, and return as fast asMiod Vallat
possible from the exception, without doing the AST and softintr dance. This should avoid too much stack usage under load. ok deraadt@
2009-02-27Be a bin more paranoid in m88410_inval() in the operation complete check.Miod Vallat
ok deraadt@
2009-02-26fix tree break with two missing charsTodd T. Fries
please commit miod@
2009-02-26Add a two new ioctls to the apm(4) interface.Owain Ainsworth
APM_IOC_{SUSPEND,STANDBY}_REQ: This is to fix an issue with apm suspend where a call to zzz suspended the machine immediately, not giving anyone listening for apm events (other than apmd) a chance to deal with the upcoming change. This hit X hard since the introduction of drm, since it needs to have time to idle the 3d engine and otherwise get the device into a recoverable state. Such things are needed until we support modesetting in the kernel. Now, instead of forcing a suspend, using ioctl sends out an event similar to if you had put the lid down, giving all userland applications a chance to reply. tested by sthen@ and beck@, especial thanks to sthen for sitting there while I tried to debug this remotely, I owe him beer. Prompted by and ok deraadt@
2009-02-25enable ale(4) on both i386 and amd64Kevin Lo
ok deraadt@
2009-02-24match new cpuid stuff from i386; by jsgTheo de Raadt
ok toby and tedu
2009-02-24Add support for hardware acceleration to gbe(4). This provides an acceleratedJoel Sing
framebuffer for the console on SGI O2 workstations. X is still supported via wsfb(4) by switching back to the unaccelerated linear framebuffer mode. Some hardware details and magic numbers from NetBSD's crmfb(4) driver. ok miod@ jasper@ "Sure, go for it" deraadt@
2009-02-24back out est.c 1.8 and bring acpicpu.c all the way back to 1.47 because ofTheo de Raadt
hanging machines. backed out correctly this time, as pointed out by tedu.
2009-02-23When jumping out of the interrupt handler early, clear conditions we knowMiod Vallat
are likely set but don't need specific handling. This silences the interrupt handler if DIAGNOSTIC in some cases. ok grange@ deraadt@
2009-02-22Replace bcmp in while loop with check of ac_multirangecnt.Mark Kettenis
From brad@comstyle.com. ok deraadt@
2009-02-21dma_cachectl() bye-bye.Miod Vallat
2009-02-21No need to use special copy{from,to}buf for MVME376, the board's buffersMiod Vallat
are mapped uncached anyway.
2009-02-21Previous delay() fix broke 1x2 boards. Make sure delay() works on themMiod Vallat
before mc attaches, as intended.