summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2014-01-21Add virtio random driverStefan Fritsch
OK mikeb@ "seems fine" matthew@
2014-01-21enable MPSAFE interrupts on pyro. it seems to work ok.David Gwynne
kettenis@ told me where to put these lines
2014-01-21use KERNEL_LOCK and KERNEL_UNLOCK instead of fumbling with kernel_lockDavid Gwynne
directly. ok kettenis@
2014-01-21Disable lapic when halting CPUs. Allegedly this is necessary to makeMark Kettenis
suspend work on some machines. ok deraadt@
2014-01-21dtucker@ pointed out i suck at grep.David Gwynne
fix ncr53c9x fallout.
2014-01-20Add sdmmc support to the install media, as proposed by Florian StinglmayrTheo de Raadt
2014-01-20Threads can't be zombies, only processes, so change zombproc to zombprocess,Philip Guenther
make it a list of processes, and change P_NOZOMBIE and P_STOPPED from thread flags to process flags. Add allprocess list for the code that just wants to see processes. ok tedu@
2014-01-20add ubcmtp, a USB driver for Broadcom multitouch trackpads found onjoshua stein
newer Apple MacBook laptops enabling two-finger scrolling and other multi-finger gestures with the synaptics(4) driver mostly done at the t2k13 hackathon input from and ok mpi@
2014-01-20These fd0 testing things are not usedTheo de Raadt
2014-01-20Unlink the old amd64/i386 installboot.Joel Sing
2014-01-19Cope with an arbitrary number of ELF program headers, and only copy theMiod Vallat
contents of PT_LOAD headers to the output.
2014-01-19Initialize ci_randseed better using arc4random() + a trick. Remove theTheo de Raadt
libkern srandom() API since it is not suitable for this use. ok kettenis miod
2014-01-18tweak comments a bitMike Belopuhov
2014-01-18Fix comment re size of input buffer.Joel Sing
2014-01-18if the controller is too busy to do a POLLed command, return XS_BUSYDavid Gwynne
instead of XS_NO_CCB. ok krw@
2014-01-16Appease LLVM's integrated assembler. Matches the same code as it existsBrad Smith
for i386. error: ambiguous instructions require an explicit suffix (could be 'cmpb', 'cmpw', 'cmpl', or 'cmpq') ok mlarkin@
2014-01-15Add WSDISPLAYIO_SETGFXMODE ioctl on LUNA's frame buffer.Kenji Aoyama
This ioctl changes `pseudo' frame buffer depth, in order to use color wscons and monochrome X server both. Also need to some luna88k-specific initialization in xenocara/driver/xf86-video-wsfb/src/wsfb_driver.c.
2014-01-15Enable by default the DS1337 TOD clock.Paul Irofti
2014-01-15Add support for the DS1337 TOD clocks found on some of the octeon models.Paul Irofti
This is a very low resolution clock (1 second) that some models seem to be blessed with. Found at least on CAM-100 and DSR-500 models. It seems the EdgeRouter doesn't have support for this. Tested by jmatthew@ and bcallah@. Okay miod@, bcallah@
2014-01-12crank to 5.5betaTheo de Raadt
2014-01-10Resurrect the "park APs in realmode" idea that we explored back at t2k13Mike Larkin
(and which didn't work at that time due to a bug which has since been fixed). The APs are now demoted to real mode and placed in a HLT loop while the hibernated image is being unpacked. Helps my x230 significantly, no more spurious reboots on resume. ok deraadt
2014-01-08Be sure to have pmap_extract() return FALSE for existing, but non-valid userMiod Vallat
pmap ptes. Found the hard way by tobiasu@.
2014-01-06document random buffer must be multiple of 4 in sizeTheo de Raadt
2014-01-06Disable the code disabling memory beyond 1.5GB on Octane temporarily, butMiod Vallat
hopefully for good; I believe the kernel panics with large memory fast MP systems have been fixed in mutex.c 1.13
2014-01-06Use the dedicated BCD macros from sys/time.h instead of handrollingPaul Irofti
our own for the m41t8x clocks. Tested by me and jasper@. Okay jasper@, guenther@, deraadt@
2014-01-06typoMiod Vallat
2014-01-06Fix sparc64 kernel profiling, add the etext symbol back.Tobias Ulmer
ok miod@
2014-01-06In readsgilabel(), do not override the driver-provided initial geometry withMiod Vallat
the volume header geometry, if one is found. The driver knows better. This will allow a 2048-byte sector media to use a volume header using fake 512-byte sectors, and still be able to read the native label off it.
2014-01-06Put PG_EXEC and PG_FOE into the PG_PROT mask, and make sure the defaultMiod Vallat
pte protection masks, as initialized in alpha_protection_init(), set PG_FOE by default when VM_PROT_EXECUTE is not set. Also, change pmap_emulate_reference() to only clear PG_FOE if the affected pte has executable permission. This allows various pmap_pte_exec() checks (added to explicitely set PG_FOE) to be removed. All tests of regress/sys/kern/noexec now reliably pass on EV5. EV6 systems still see spurious (but no longer 100% reproduceable) failures of the `catch a signal' tests, which is likely caused by the effect of mprotect() removing execute permission not taking effect correctly, despite PAL IMB being issued (and no, this is not caused by the previous pmap_changebit() change), to be investigated.
2014-01-06Remove I-sync stuff from pmap_changebit(). The AARM says that weMiod Vallat
only have to sync the I-stream when the mapping is removed or changed, and since the I-stream is fetch-only, changing protection bits does not constitute changing the mapping (the VA->PA translation is still the same). From NetBSD
2014-01-06Program window #2 to allow the second GB of low memory to use direct DMA;Miod Vallat
adapted from a long gone FreeBSD.
2014-01-06Make macppc/socppc boot() code path more similar to others.Masao Uebayashi
This changes calling boot() during (cold != 0) to not call if_downall() and uvm_shutdown(). Both of which must not be specific to PowerPC. OK mpi@
2014-01-06Increase NPTECL, as cache-lines are 64-bytes nowadays.Stefan Fritsch
Also move it from pmap.h to pmap.c because it is an internal detail.
2014-01-05HIBERNATE_SELTABLE is not used anymore. Remove, and reclaim its stolenMike Larkin
page.
2014-01-05Don't use the first 64KB for anything, including tramps. Move tramps andMike Larkin
hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get handed to UVM either. ok deraadt@, tested by many with no regressions reported
2014-01-05Cleanup some leftovers from previous changes.Miod Vallat
2014-01-04Fix of_cmap[] size. Makes the textmode cursor reappear on vgafb (i.e.Miod Vallat
non-radeon) systems.
2014-01-04Add rnddata[] placeholders to make these boot blocks build again.Miod Vallat
2014-01-03KNF, update comments, and delete LUNA(m68k) specific DIPSW comments.Kenji Aoyama
No functional change.
2014-01-02crank version after random instruction fix from jsingTheo de Raadt
2014-01-02Add primary support for LUNA-88K 4bpp/8bpp frame buffer.Kenji Aoyama
This brings color support on LUNA's wscons. And, with the help of recent development version of 'mlterm-fb' (frame buffer version of ports/x11/mlterm), graphic images can be displayed in 16/256 colors on the screen. Thanks to arakiken, the original developer of mlterm! This diff is based on NetBSD/luna68k work: http://mail-index.netbsd.org/source-changes/2013/12/28/msg050266.html Need more work to coexist with the monochrome X.Org server. "go ahead!" miod@
2014-01-02Simplify things slightly by using four byte indexing.Joel Sing
2014-01-02Ensure that we preserve callee-save registers.Joel Sing
2014-01-01Switch alpha to __HAVE_VM_PAGE_MD. From NetBSD.Miod Vallat
2014-01-01fix header to get symbols loaded correctlyMiod Vallat
2014-01-01Add a linker script to force the .openbsd.randomdata section to be put afterMiod Vallat
.data, so that it will not get mapped read-only by pmap_bootstrap().
2013-12-30Correct initialization of Bt458, used in LUNA's 8bpp frame buffer.Kenji Aoyama
According to the manual, the address register does not automatically increment when we access to the control registers. Also we disable overlay planes, because we do not use them. This diff should be one of preliminaries for upcoming colored wscons on luna88k. ok miod@
2013-12-30Fix IOC4DEV_xxx numbers, so that devices besides the first two serial portsMiod Vallat
actually handle their own interrupts. How could this get unnoticed so far?
2013-12-29In tlbdsmiss, do not trash the tlb pointer by mistake. From NetBSD (PR #39257)Miod Vallat
2013-12-29Remove excessive parentheses.Brad Smith
pmap.c:1061:13: error: equality comparison with extraneous parentheses [-Werror,-Wparentheses-equality] ok mpi@