summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2007-05-26If booted from ADPT,2940U2B, root is on scsi.Dale Rahn
2007-05-26More comment typos from Diego Casati. Including winners like funtion, allmost,Kenneth R Westerback
oustside, seqencer, toghether, nessissary, etc.
2007-05-25"interupt" -> "interrupt" in various comments. Mostly from Diego Casati.Kenneth R Westerback
2007-05-25Edge cases can trigger a TLB miss exception instead of an invalid TLBMiod Vallat
exception on early R5000 revisions. Despite this bug being supposedly fixed in R5000 revision 2 onwards, it nevertheless occurs quite frequently on matthieu's revision 2.1 R5000. Servicing the TLB miss exception would cause a duplicate TLB to be inserted, which causes the processor operation to become unpredictable (but lethal to the kernel, ten times out of nine). More details about the problem can be found in: http://www.linux-mips.org/archives/linux-mips/2000-02/msg00040.html We work around the issue by checking for an existing TLB entry, and handling this as an invalid TLB exception (as it was intended to be), in this case. Unfortunately this causes a measurable 1% slowdown on ``safe'' processors, so we'll work on providing different tlb handler flavours in the near future to recover from this.
2007-05-25Define rw_cas. Trivially simple on amd64 with atomic_cas_ul.Artur Grabowski
miod@ ok
2007-05-25Unifdef TLB_TRACE and TLBTRACE, no functional change.Miod Vallat
2007-05-25"boundries" -> "boundaries" in various comments. Started by Diego Casati.Kenneth R Westerback
2007-05-25'Proto type' -> 'Prototype' when discussing functions in comments.Kenneth R Westerback
Inspired by similar diffs from Diego Casati in other files.
2007-05-25Comment typos and tidying. From Diego Casati.Kenneth R Westerback
2007-05-25Change the old slow and complicated TLB shootdown code to new, fast andArtur Grabowski
simple. This is basically the same code as on i386 and basically the same performance improvements. This change also includes code to delay the freeing of ptps until they have been properly shot. in snaps for a week, no problems reported.
2007-05-25Replace the overdesigned and overcomplicated tlb shootdown code withArtur Grabowski
very simple and dumb fast tlb IPI handlers that have in the order of the same amount of instructions as the old code had function calls. All TLB shootdowns are reorganized so that we always shoot the, without looking at PG_U and when we're shooting a range (primarily in pmap_remove), we shoot the range when there are 32 or less pages in it, otherwise we just nuke the whole TLB (this might need tweaking if someone is interested in micro-optimization). The IPIs are not handled through the normal interrupt vectoring code, they are not blockable and they only shoot one page or a range of pages or the whole tlb. This gives a 15% reduction in system time on my dual-core laptop during a kernel compile and an 18% reduction in real time on a quad machine doing bulk ports build. Tested by many, in snaps for a week, no slowdowns reported (although not everyone is seeing such huge wins).
2007-05-25rename cpu_dumpconf() to dumpconf(); no need to be different from other ↵Theo de Raadt
architectures
2007-05-23Add code to spin up secondary cpu's; still work in progress.Mark Kettenis
prompted by deraadt@ a few times already.
2007-05-23Print real/available memory in MB as well as bytes in dmesg, and unifyPeter Valchev
architectures to print it the same way. ok henning, miod; i386 part from tom
2007-05-23Add hack to prevent switching to serial console on four-digit B/C/J classMark Kettenis
workstations. This makes these machines actually boot. ok miod@
2007-05-23Enable elroy(4).Mark Kettenis
2007-05-23Add proper bus_space_vaddr() implementation.Mark Kettenis
ok miod@
2007-05-23timecounter support (e.g. soekris net4501); ok grange@Markus Friedl
2007-05-22Add pciide(4) and things that attach to it.Mark Kettenis
2007-05-22Add elory(4).Mark Kettenis
2007-05-22Add option HP8700_CPU.Mark Kettenis
2007-05-22Hook up astro(4).Mark Kettenis
2007-05-22protect more variables from existing outside of locore, should fixMartin Reindl
cpuinfo breakage (but my make build is still running) ok gwk@
2007-05-22enable uts(4) - USB touchscreen supportRobert Nagy
2007-05-21Add support for 8700/pcxw2 cpu.Mark Kettenis
2007-05-21Ask firmware for reset before trying ourselves; needed for four-digit b/c/jMark Kettenis
workstations. tested by otto@, krw@; ok deraadt@
2007-05-21Import code to support the Elroy chip from hppa64 and make it actually work.Mark Kettenis
Still a bit of a hack, but it makes the onboard devices work.
2007-05-21Implement deep interrupt swizzling by mapping all four PCI interrupt pinsMark Kettenis
for PCI-PCI bridges and passing the mapping to the attached bus device. MD code can use these when mapping PCI device interrupts. This diff adds such code for amd64 and i386. This fixes interrupt mapping for devices that sit behind two PCI-PCI bridges where the firmware only provides a mapping for the first PCI-PCI bridge. tested by sturm@, krw@, and a few others, ok deraadt@
2007-05-21Make iommu_dvmamap_unload cleanup properly.Mark Kettenis
2007-05-21Add msk(4).Mark Kettenis
2007-05-21Initial stab at a driver for the Astro chip. Mostly IOMMU code to handleMark Kettenis
coherent DMA.
2007-05-21timecounters for armish.Dale Rahn
2007-05-21Switch pcfiic to rwlock.Jonathan Gray
ok dlg@ kettenis@
2007-05-20lockmgr -> rwlock for piic(4), kiic(4) and smu(4);Thordur I. Bjornsson
smu(4) tested by kettenis@, ok krw@
2007-05-20Fix KERNBASE, so that profiling kernels initialize (but profiling is brokenMiod Vallat
at the moment).
2007-05-20Since we no longer use 3 bits but the whole 7 to get the processor revisionMiod Vallat
number, we should test for 10, not 2, as the revision for which the xxx.usr errata applies; also, going through the errata, revision 2/10 (1010x) _is_ affected.
2007-05-20On AV-class machines, SCSI interrupts still come from VIA2, not PSC, soMiod Vallat
IPL_BIO should not be modified. Found the hard way by martin@
2007-05-20Replace ASSERT with KDASSERT and get rid of its definition; while there,Miod Vallat
remove some #if 0 dead code which won't get ressurrected anytime soon.
2007-05-20Remove unused badaddr().Miod Vallat
2007-05-20Remove irrelevant code and defines.Miod Vallat
2007-05-20Check for codec presence in match(), and don't attach if none is found.Miod Vallat
ok kettenis@
2007-05-20addess -> addressMiod Vallat
2007-05-20option AHC_CTRL_ID is not used.Miod Vallat
2007-05-19Add some phy's found on certain xl(4) models. From brad at comstyle dot com.Mark Kettenis
2007-05-19Uncomment em(4) entry. From brad at comstyle dot com.Mark Kettenis
2007-05-19Oops, get the ``disabling cpu'' message correct.Miod Vallat
2007-05-19Silence a diagnostic message in multiprocessor kernels, it makes things worse.Miod Vallat
2007-05-19Send an IPI in signotify() if the process runs on a different processor,Miod Vallat
similar to the fix which went into i386 and amd64 a few weeks ago.
2007-05-19Force other processors to spin when one is in ddb.Miod Vallat
2007-05-19(disabled) option for PCIAGP. at least lets i945 chipsets workTed Unangst
ok dim