summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2010-09-07enable aesni.Mike Belopuhov
that means that all users running ipsec on amd64 with 'aes' cpu flag will have aes encryption accelerated in cbc and ctr modes for all three key sizes: 128, 192 and 256. for debug purposed a number of operations performed by the driver is visible throught the pstat(8) utility: pstat -d u aesni_ops note that you need to run config(8) to hook up new files. ok kettenis thib deraadt
2010-09-07remove the powerhook code. All architectures now use the ca_activate treeTheo de Raadt
traversal code to suspend/resume ok oga kettenis blambert
2010-09-07shorten fpu critical sections so that all frees and other manipulationsMike Belopuhov
won't interfere with an actual fp code. reminder from kettenis: fpu_kernel_enter and fpu_kernel_exit should be thought of as if they were mutex_enter and mutex_leave in regard to the length of critical section and sleeps. ok kettenis thib
2010-09-06All PWR_{SUSPEND,RESUME} can now be replaced by DVACT_{SUSPEND,RESUME}Theo de Raadt
2010-09-06Make sure bus_dmamap_sync() always involves a function call, to prevent theMark Kettenis
compiler from doing stupid things like reordering stores around it. There is some debate whether this will be enough for newer versions of GCC and LLVM. If this is indeed deemed necessary, this will be addressed in a future diff. ok miod@, oga@
2010-09-06Stop sending so many superfluous IPIs: zero out pm_cpus in pmap_create(),Philip Guenthe
don't set the current cpu's bit in pmap_activate() unless we actually set %cr3, and add a DIAGNOSTIC printf to pmap_destroy() to catch if we ever stop tracking them accurately again. Also, GC the unused pm_flags member. ok deraadt@, oga@
2010-09-06now that the drm issue is resolved, switch to using ca_activate callsTheo de Raadt
instead of powerhooks.
2010-09-06- spello, short-hand -> shorthandJasper Lievisse Adriaanse
ok miod@
2010-09-06move away from using /**/ to ## for cpp paste in sh locoreJonathan Gray
so we can drop -traditional-cpp ok miod@
2010-09-05Remove bogus LHS casts. makes gcc4 happy.Mark Kettenis
ok miod@
2010-09-05Make gcc4 happy. Similar to what we've done to sparc64 a couple of months ago.Mark Kettenis
ok miod@
2010-09-05Fix inline assembler to make it acceptable to gcc4. Similar to what we'veMark Kettenis
done to sparc64 a couple of months ago. ok miod@
2010-09-01Fix typo in vgafb_mmap(), causing a comparison to always fail. ok kettenis@Miod Vallat
2010-09-01Clean-up the spl dance around suspend/resume. Okay miod@.Paul Irofti
2010-09-01Let non-ykbec kernels link again.Miod Vallat
2010-08-31Do wsdisplay suspend/resume and also the bufq dance.Paul Irofti
Reminded by oga@, okay deraadt@.
2010-08-31Add DVACT_QUIECE support. This is called before splhigh() and beforeTheo de Raadt
DVACT_SUSPEND, therefore DVACT_QUIECE can do standard sleeping operations to get ready. Discussed quite a while back with kettenis and jakemsr, oga suddenly needed it as well and wrote half of it, so it was time to finish it. proofread by miod.
2010-08-31pchbactivate should return result of config_activate_childrenTheo de Raadt
2010-08-31pchbactivate should return result of config_activate_childrenTheo de Raadt
2010-08-31Correctly enable wakeup interrupts after splhigh().Miod Vallat
2010-08-31WIP suspend/resume support for loongson lemote. Okay miod@.Paul Irofti
2010-08-30Hurray! Zaurus apm can now call the activate functions intead of powerhooks.Theo de Raadt
We call the activate functions at splhigh; unfortunately we cannot suspend a zaurus at splhigh because on resume the clock is hosed. We accept this bug for now... perhaps someone can find it? (The powerhooks remain in place in the drivers, and will be roto-tilled once we all the other powerhook-using architectures have switched over) testing by myself and jakemsr; proof reading by oga
2010-08-30Convert all powerhooks to activate functions, and provide powerhook stubs.Theo de Raadt
Of note: lcd stubs get pulled up to the parent; zts has to keep track of whether it is in use or not testing by myself and jakemsr; proof reading by oga
2010-08-30lend a hand keeping beagle up-to-date with what is going on in powerhookTheo de Raadt
vs activate. It compiles.
2010-08-30Change powerhooks into activate functions, and provide stub powerhookTheo de Raadt
functions ok kettenis
2010-08-30disable SVR4 compat by default; ok kettenisTheo de Raadt
2010-08-30delete PROCFS we will never supportTheo de Raadt
2010-08-30ddbcpu for sgi. ok miod@Takuya ASADA
2010-08-29s/wdcactivate/config_activate_children/Theo de Raadt
2010-08-29put the bufq_restart() in the right place, so that a 2nd resume works.Theo de Raadt
how did noone notice for so long? tsk, tsk, tsk. of course, I broke it. tested by jakemsr
2010-08-28Correctly compute memory size if less than 256MB.Miod Vallat
2010-08-28Garbage collect struct dkdriver.Matthew Dempsky
ok miod@; "please go ahead" jsing@
2010-08-27Run powerhooks with interrupts blocked. This requires a bit of a song andTheo de Raadt
dance since some laptops unsuspend out of apm with interrupts enabled?! That causes problems with shared interrupts... but also it would be best if we treat powerhook functions (now backed by activate functions) the same as acpi treats them, and it means that the powerhook wrappers don't need to do their own spl protection. ok kettenis
2010-08-27caught a small typo while reading the code: senor -> sensorRobert Nagy
2010-08-27remove the unused if_init callback in struct ifnetJonathan Gray
ok deraadt@ henning@ claudio@
2010-08-27screen blanking code for SM502, and some smfb code cleanup.Miod Vallat
2010-08-27More killing of PWR_STANDBY. cvs skipped these filesTheo de Raadt
2010-08-27kill PWR_STANDBY (apm can use PWR_SUSPEND instead). While here, renumberTheo de Raadt
PWR_{SUSPEND,RESUME} so that they match the values of DAVCT_{SUSPEND,RESUME} so that we can eventually (many more steps...) kill the powerhook garbage and use the activate mechanism. no objections
2010-08-26Screen burner support for SM712 flavour (Lemote Yeeloong)Miod Vallat
2010-08-25Remove the SPARC_BOOT_ELF define and associated machinery since it doesJoel Sing
not make sense to compile ofwboot without support for ELF. Whilst here, nuke the unused SPARC_BOOT_NFS define and compile elf64_exec.c as an object rather than including it in boot.c. ok miod@
2010-08-23Implement bus_space_barrier() on sgi; on xbridge, this will also flushMiod Vallat
the pci write buffers.
2010-08-23Rework the logic of xbridge pci_conf_{read,write} to avoid doing the disableMiod Vallat
bridge interrupts dance when trying to access an uninplemented ioc3 register. Makes PIC handling simpler as a bonus.
2010-08-21Rename file to reflect that it handles 64 bit ELF only.Joel Sing
ok miod@ (some time ago)
2010-08-21We only need to load 64 bit kernels on sparc64. Clean up the ELF boot codeJoel Sing
and let exec_elf.h do the right thing. ok miod@ (some time ago)
2010-08-19Add "memory" clobber to lidt inline asm, to prevent the GCC optimizer fromMark Kettenis
getting stupid ideas like optimizing away stores to the descriptor that we're setting. This may be overkill, but this code is far from performance critical and it may prevent future surprises. Fixes instant reboots with bsd.rd on Pentiums with the F00F bug. Thanks to espie@, for narrowing the issue down enough for me to find the problem. ok deraadt@
2010-08-18- remove COMPAT_LINUX bits. these architectures are not targetted by theJasper Lievisse Adriaanse
linux emulation layer, nor will they in the future. ok miod@
2010-08-17Make sure fast trap handlers correctly invoke soft interrupts by markingMiod Vallat
them explicitely pending before triggering the softintr; I am ashamed I did not notice this when changing the soft interrupt code 18 months ago. Noticed by claudio@ and beck@
2010-08-16Restore initialization of apcicnaddr which got accidentally removed in revisionMiod Vallat
1.5, about 5 years ago. My bad. ok deraadt@
2010-08-16Make sure we reserve enough room after the kernel image to avoid stompingMiod Vallat
over the PROM page tables on sun4c; also crank the tape kernel generous size estimate to 4MB; crank version. ok deraadt@
2010-08-16Add a dummy elf64.c, effectively removing support for loading 64-bit kernelsMark Kettenis
from cdboot to slim it down below the 32k limit.