summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2009-08-08add alc(4) to the i386 and amd64 RAMDISK_CD configsKevin Lo
2009-08-08alc(4) is a driver for the Atheros AR8131/AR8132 ethernet chip.Kevin Lo
this driver was written by Pyun YongHyeon from FreeBSD. "go ahead" deraadt@
2009-08-06Make sure <machine/cpu.h> includes <machine/intr.h> when included with _LOCOREMiod Vallat
defined; cp0access.S relies on this.
2009-08-06Work in progress support for Loongson2E/2F processors; need option CPU_LOONGSON2Miod Vallat
in the kernel to be brought in, due to invasive differences in tlb operation. Comes with a separate cache operations file due to the cache being R5k-style with R10k-style way number encoding.
2009-08-06R4k-style coprocessor 0 config register uses 3 bits wide fields to tellMiod Vallat
L1 caches sizes; fix the masking accordingly.
2009-08-06Remove _InvalidateICachePage cache op, it isn't used by anything.Miod Vallat
2009-08-06Only compile RM7000 performance counter support if defined(RM7K_PERFCNTR).Miod Vallat
This code needs to be cleaned up, and made more generic to work with other processors counters as well.
2009-08-06By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-06reintroduce the uvm_tree commit.Owain Ainsworth
Now instead of the global object hashtable, we have a per object tree. Testing shows no performance difference and a slight code shrink. OTOH when locking is more fine grained this should be faster due to lock contention on uvm.hashlock. ok thib@, art@.
2009-08-05By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-05timeout_add -> timeout_add_msecBret Lambert
ok markus@
2009-08-04By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-04By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-03By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-08-02Dynamic buffer cache support - a re-commit of what was backed outBob Beck
after c2k9 allows buffer cache to be extended and grow/shrink dynamically tested by many, ok oga@, "why not just commit it" deraadt@
2009-08-02Never return nonzero in a device activate method invoked with DVACT_ACTIVATE,Miod Vallat
for this prevents it to be invoked with DVACT_DEACTIVATE later. This had been sweeped some time ago already, but bad constructs crept in again.
2009-07-31on error, just call unload() instead of doing all the actions that itOwain Ainsworth
would do manually. sparc64 does a similar thing already. ok kettenis@
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-31By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-07-30Make sure the BUS_SPACE_BARRIER_xxx constants are all non-zero and can beMiod Vallat
or'ed together, even on platforms where bus_space_barrier() ignores the barrier argument yet.
2009-07-30Get rid of the obsolet BUS_BARRIER_xxx constants for bus_space_barrier(), onlyMiod Vallat
provide and use BUS_SPACE_BARRIER_xxx.
2009-07-30timeout_add -> timeout_add_msec + associated cleanupBret Lambert
ok miod@
2009-07-30Disable interrupts when we enter cpu_intr() and enable them again when leavingMark Kettenis
that function. It seems this function was intended to be called with interrupts disabled but that is not (no longer?) the case. As a result there were some races accessing the list of interrupt handlers and we would leave the function with interrupts disabled if there were any interrupts pending. This could make us end up in the idle loop with interrupts disabled, which would "hang" the machine. Found with help from deraadt@
2009-07-29Fix bogus comment; requested by deraadt@Mark Kettenis
2009-07-29Get rid of non-equivalent aliases of the pcb by moving the fpu state outMark Kettenis
of the pcb and using the p_addr member of 'struct proc' to calculate the address of the kernel stack when switching to virtual mode after taking a trap. Remove the now unecessary cache flushes; they're actually harmful since they create non-equivalent aliases. This seems to fix the memory corruption we have been observing from time to time. This diff does not rename fpu_curpcb, which is now somewhat incorrectly named. I hope to change things back again as soon as we are able to map the pcb 1:1.
2009-07-28gem(4) + gentbi(4) do fit; requested by bradTheo de Raadt
2009-07-28Enable ti(4), tested by myself OK deraadt@Claudio Jeker
2009-07-27Unbreak non-DIAGNOSTIC kernels (i.e. RAMDISK-IP27)Miod Vallat
2009-07-27add bus speed recognition on Nehalem based cpus, thisDariusz Swiderski
makes Enhanced SpeedStep work on new machines, but requires acpimadt0 to be enabled. ok by jsg@ and claudio@
2009-07-26Rework ioc children attachment: instead of having ioc build a semi-bogusMiod Vallat
bus_space_handle_t, pass them ioc's own bus_space_handle and bus_space_tag, and have the children use bus_space_subregion() on it.
2009-07-26Don't forget to bus_space_unmap(), even if it's a no-op, in rbus_space_unmap().Miod Vallat
2009-07-26Make the bus_space boundary checks #ifdef DIAGNOSTIC.Miod Vallat
2009-07-26A better implementation of bus_space_subregion() for xbridge, with boundaryMiod Vallat
checks if option DIAGNOSTIC.
2009-07-26Create the pci resource extents as covering the full 4GB address space,Miod Vallat
with only the available range free, instead of that range only. ok kettenis@
2009-07-26Make sure all platforms understand the flags argument of bus_space_map() andMiod Vallat
bus_space_alloc() as a bitmask of flags, and not a boolean controlling cacheability; and make sure the three MI BUS_SPACE_MAP_xxx values documented in the manual page are defined on all platforms as well.
2009-07-26I'm not as smart as mickey, so replace:Mark Kettenis
batch = pdemask == sva && sva + ~PDE_MASK + 1 <= eva; with something that's a little bit easier to read.
2009-07-26timeout_add -> timeout_add_msecBret Lambert
ok miod@
2009-07-25On multiple-node systems, be sure to broadcast reboot requests to all nodes.Miod Vallat
2009-07-25Add an extra argument to uvm_unmap_remove(), for the caller to tell itMiod Vallat
whether removing holes or parts of them is allowed or not. Only allow hole removal in uvmspace_free(), when tearing the vmspace down. ok art@
2009-07-25Make sure that if a PDE isn't there, we skip to the start of the addressMark Kettenis
range covered by the next PDE and not somewhere in the middle. The old could have skipped over some valid PTE's causing them to stay behind in the pmap. Since we would not flush the cache for those pages either this could also cause memory corruption when dirty cache lines would be written back to memory at a later stage.
2009-07-24in pmap_kenter_pa(), flush the old pte before installing the new one.Theo de Raadt
ok kettenis
2009-07-24timeout_add -> timeout_add_msecBret Lambert
ok kettenis@
2009-07-23timeout_add -> timeout_add_msecBret Lambert
ok miod@
2009-07-23timeout_add -> timeout_add_msecBret Lambert
ok miod@
2009-07-23a trio of timeout_add conversionsBret Lambert
ok miod@
2009-07-23Get rid of bus_mem_add_mapping().Miod Vallat
2009-07-23When computing the total resources required by devices behind a ppb, takeMiod Vallat
PCI ROM into account, if any.
2009-07-23When configuring devices on the bridge, try and provide resources to mapMiod Vallat
their ROM if they have any.
2009-07-23Allow __pmap_pv_enter() to fail, instead of dereferencing NULL; and let theMiod Vallat
caller deal with this; this really makes the PMAP_CANFAIL logic work. ok kettenis@