summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2011-01-13Fix link edition without 'option SUN4V'. ok kettenis@Matthieu Herrb
2011-01-13Spin forever when waiting for completion of an FPU shootdown instead ofMark Kettenis
panicing if we spin for too long. It is difficult to find an upper bound for the spin count and there is some evidence the current limit is too low. We made similar changes to amd64/i386 some time ago. ok deraadt@
2011-01-13set lkm_end to the end of the jumpable virtual space; tested by me and marcoMike Belopuhov
2011-01-12Add crypto(4) and hifn(4).Mark Kettenis
2011-01-12Provide a specific rw_cas() function for MP kernels; stolen from m88k.Mark Kettenis
ok jsing@, deraadt@
2011-01-12Make __cpu_simple_lock implementation actually work.Mark Kettenis
ok deraadt@, jsing@
2011-01-12use explicit_bzero() for the session, in drivers where struct sessionTheo de Raadt
contains key material (note, that is not true in all drivers... hence not always neccessary) discussed with mikeb
2011-01-11for key material that is being being discarded, convert bzero() toTheo de Raadt
explicit_bzero() where required ok markus mikeb
2011-01-10Only use MMCFG extended PCIe config space. Gets us back the on-CPU PCI ↵Mark Kettenis
devices on AMD Family 0Fh processors.
2011-01-09Check in resettodr() if inittodr() has been called, otherwise we end upJasper Lievisse Adriaanse
resetting the clock when we don't need to. Found out with booting hppa64 kernels, and the problem also exists on hppa when booting with '-a' and hitting 'exit' when asked for the root filesystem. help & ok jsing@ also ok kettenis@ (who suggested naming the variable like amd64/i386 to prevent creating yet another variant of this code)
2011-01-09Only use memory mapped extended PCIe config space access for the bussesMark Kettenis
advertised in the MCFG table, and fall back on the traditional method for other busses. Fixes issue reported by henning@.
2011-01-08forward decl struct procTheo de Raadt
2011-01-08rename imask[] to cpu_imask[] to because imask is too loud as far asTheo de Raadt
kernel namespace ok miod
2011-01-08The Ubiquiti WiFiStation EXT works on the Sun Blade 1500.Damien Bergamini
Enable athn at uhub on all USB 2.0 capable arches.
2011-01-07do not special case ep0 at pci/eisa. ep* will be fine. We should notTheo de Raadt
use 'foo0 at smartbus?' unless we need to ok miod
2011-01-07increase i386 maxdsiz to 2GB. comments from ariane deraadt kettenis.Ted Unangst
ok deraadt
2011-01-07Detect wether a disk image is an ISO image and set the media type toMark Kettenis
VD_MEDIA_TYPE_CD to vDisk 1.1 clients. Makes installing from a Solaris 11 Express bootable install CD work.
2011-01-07Fix malloc(9) call with swapped type and flags arguments.Mark Kettenis
2011-01-06Add support for the vDisk 1.1 protocol. Improve Solaris vtoc/disklabelMark Kettenis
support and implement VD_OP_SET_VTOC. This makes Solaris actualy run on top of an OpenBSD control domain. Installing from CD needs some further tweaking but a network install will probably work. OpenBSD clients are still happy.
2011-01-06Solaris insists on getting the right sequence numbers in DRING_DATA messagesMark Kettenis
and it seems we were off by one.
2011-01-06enable athn at uhubDamien Bergamini
2011-01-05Pass pmap_bootstrap() the memory range used by the PROM/BUG/firmware/whatever,Miod Vallat
instead of assuming it is ``everything below the kernel image''.
2011-01-05Minor optimizations:Miod Vallat
- move pte validity checks from pmap_remove_pte() to its callers. - when iterating over a segment, compute pte address once and increment it in the loop, instead of recomputing it on every iteration.
2011-01-05Make copypage() and zeropage() per-cpu function pointers, and use aMiod Vallat
different version on 88110, which does load allocate of to-be-completely-overwritten cache lines.
2011-01-05Now that pmap_copy_page() no longer needs to flush a couple contiguous tlbMiod Vallat
entries, drop the count parameter to cmmu_tlb_inv(), and introduce cmmu_tlb_inv_all() to drop all user tlb entries (to be used during context switches).
2011-01-05- remove unused headers wrapped in #if defined(DDB)Jasper Lievisse Adriaanse
ok jsing@ kettenis@
2011-01-04Support machdep.lidsuspend support in apm(4) land, at least on thinkpadsTheo de Raadt
which have aps(4). You can now turn off the BIOS option for lid suspends, and control it with sysctl.
2011-01-04Add support for Memory Mapped Configuration space access. This gives usMark Kettenis
access to PCIe extended configuration space access on modern i386 and amd64 machines.
2011-01-04Use pmap_uncache_page() to alter cacheability of pages in bus_dmamem_map()Miod Vallat
instead of playing with pte bits directly; this will cause cacheability to be restored eventually; makes the zaurus textmode console memory cached again after exiting from X. ok drahn@
2011-01-04Introduce pmap_uncache_page(), created from the guts of pmap_kenter_cache()Miod Vallat
to make a page uncached and maintain this both at the pte and pv list level, and make pmap_kenter_cache() use it. ok drahn@
2011-01-04It is actually possible to run CoolThreads servers with a graphics console,Mark Kettenis
so don't assume vcons(4) always is the console.
2011-01-04XVR-300 is boring. For starters it has a very dull looking OpenPROM logo.Mark Kettenis
And radeonfb(4) just works on it.
2011-01-04- de-register. no binary change.Jasper Lievisse Adriaanse
ok jsing@
2011-01-03remove unused fileAlexandr Shadchin
ok krw, miod
2011-01-03Rework backtrace code, and try to cope with variadic functions betterMiod Vallat
(those play nasty games with the stack pointer).
2011-01-02More changes to pacify the Solaris virtual disk client. ImplementMark Kettenis
VD_OP_GET_VTOC and VD_OP_GET_DISKGEOM. Factor out the code to ACK descriptors and fix a bug copying in/out a descriptor that crosses a page boundary.
2011-01-02Make need_resched() call cpu_unidle() such that we wake up a process running onMark Kettenis
another CPU. ok miod@
2011-01-02Figure out how much L2 cache is available on 88410-blessed designs, andMiod Vallat
report it in dmesg.
2011-01-02Enable udl(4) on hppa, together with rasops and rawkbd for Xorg.Matthieu Herrb
Xorg is not yet built in xenocara, this will come later. ok miod@
2011-01-02Kill pmap_table_t typedef.Miod Vallat
2011-01-02Fix dump to work with PMAP_DIRECT, as done on mvme88k.Miod Vallat
2011-01-02Only store bus/dev/func numbers when the corresponding pointer argumentJasper Lievisse Adriaanse
isn't NULL. Original to hppa's elroy(4) by, and ok kettenis@
2011-01-02- move resettodr and inittodr to clock.c, like the other clock related functionsJasper Lievisse Adriaanse
2011-01-02We need db_machdep.h even when TRAPDEBUG is enabled.Joel Sing
2011-01-02Include files.bluetooth so that hppa64 compiles.Joel Sing
2011-01-02Move away from using fixed-sized descriptors and fill in some missing bitsMark Kettenis
in the messages that ACK descriptors. Makes OpenSolaris virtual disk clients much happier and able to boot from a bootable automatic installer cdrom.
2011-01-02Use the session ID passed to use by the virtual disk client, and pass backMark Kettenis
a bit more information to the client during the attribute negotiation phase. Gets us past the attribute negotiation phase against an OpenSolaris virtual disk client.
2011-01-02Declare ourselves to be a virtual disk server during the version negotiationMark Kettenis
phase. Gets us past the version negotiation against an OpenSolaris virtual disk client.
2011-01-01Now that we __HAVE_PMAP_DIRECT, it gets easy to simply save partial cacheMiod Vallat
lines and restore them after invalidating rounded-to-cacheline-boundary ranges.
2011-01-01Better errata #17 handling logic. Only concerns MULTIPROCESSOR kernels.Miod Vallat