summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2014-06-22PROCFS has been broken for months without complaints, so stop building itPhilip Guenther
suggested by sthen@
2014-06-15Fix a few format string bugs with -DDEBUGStefan Fritsch
2014-06-11Don't map phys pages < 64KB in the resume page table. We stopped doing thisMike Larkin
in the kernel a few months back and there's no reason these pages need to be mapped during unpack either.
2014-06-09Remove {amd64,i386}/stand/installboot - we now use usr.sbin/installbootJoel Sing
and these have been unhooked from the build for a while now.
2014-06-08check both rsdp checksums in the case of rsdp revision >= 2.Daniel Dickman
ok mlarkin@
2014-06-01Remove real mode VGA repost option. It was used by nobody, and even if itMike Larkin
were to be enabled, it had a bug that prevented it from working anyway. ok deraadt@, kettenis@
2014-05-31Revert previous diff setting cold to 1 on shutdown because it breaks machineMartin Pieuchot
with softraid(4) disks. softraid(4) is the last real consumer of the doshutdownhooks(9) API and it is not trivial to convert its hook to a DVACT_POWERDOWN handler since the latter does not allow to sleep.
2014-05-31Remove some unused code that we added at the 2013 Toronto hackathon butMike Larkin
don't need anymore.
2014-05-30Set cold to 1 before executing the DVACT_POWERDOWN handlers when halting orMartin Pieuchot
rebooting a machine, like it is done in the hibernate case. At least some USB host controller drivers rely on this to busy way instead of sleeping. Avoid a panic on macppc with an uhci(4) cardbus plugged in. ok deraadt@, uebayashi@
2014-05-26Replace some magic constants with appropriate defines.Mark Kettenis
ok krw@, deraadt@
2014-05-23Free the est_fqlist allocations if we end up not using it.Philip Guenther
suggested by Benjamin Baier (programmer (at) netzbasis.de) ok and comment suggestion kettenis@
2014-05-20remove irrelevant, outdated, and misleading sentence suggesting thatAlexander Hall
you need to set up a local mirror for the install sets brought to attention by pascal@ ok krw@
2014-05-11Move the increment of uvmexp.softs back to the caller of mi_ast():Philip Guenther
it needs to be done atomicly on some MP archs and we don't have atomic_add_int() everywhere yet. Also, mi_ast() was meant to be inline. noted by miod@
2014-05-10Disable speedstep instead of panicing if the high and low speeds are the same.Philip Guenther
Problem noted by Benjamin Baier (programmer (at) netzbasis.de) improvements and ok kettenis@
2014-05-10Factor out the common ast bits into mi_ast()Philip Guenther
ok deraadt@
2014-05-08Enable -Wno-format in the kernel on i386 & amd64Stefan Fritsch
ok jsg@ "go for it" kettenis@
2014-05-04format string fixes for bus_addr_t and bus_size_tStefan Fritsch
bus_addr_t and bus_size_t are u_long everywhere ok kettenis@
2014-04-25Defer the free of the hibernate structures until later, when it is safe toMike Larkin
do so. Freeing the hibernate structures too early leads to inadvertent calls into splx when we aren't ready for them yet. Found when trapping splx calls in the resume path. discussed with deraadt@ at m2k14
2014-04-20emc on my cx500 works as well as rdac on all my rebadged engenio kit.David Gwynne
2014-04-19Don't panic if we're trying to disestablish an MSI but the hardware is gone.Mark Kettenis
tested by & ok mlarkin@
2014-04-18Have each thread keeps its own (counted!) reference to the process's ucredsPhilip Guenther
to avoid possible use-after-free references when swapping ids in threaded processes. "Do I have the right creds?" checks are always made with the threads creds. Inspired by FreeBSD and NetBSD "right time" deraadt@
2014-04-08No need for <uvm/uvm_page.h>Martin Pieuchot
2014-04-07Enable upd(4) on archs where uhidev(4) is present, requested by mpi@.andre
2014-04-07Add axen(4) wherever axe(4) is.Brad Smith
ok mpi@ yuo@
2014-04-05enable hds, and give up on ispTheo de Raadt
2014-04-01More <uvm/uvm.h> -> <uvm/uvm_extern.h> cleaning.Martin Pieuchot
ok kettenis@, deraadt@
2014-03-31Change the order of operations during a suspend/resume cycle andMartin Pieuchot
call bufq_quiesce() after executing the DVACT_QUIESCE handlers. This should be safe since no disk nor controller drivers have such handler but it will allow us to detach sd(4) devices attached to a USB bus. Another benefit pointed out by kettenis@ is that drivers that need to read a firmware from the disk should be able to do it at resume time in a DVACT_WAKEUP handler. ok kettenis@, deraadt@
2014-03-29It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
ok dlg@ mpi@ deraadt@
2014-03-28enable mpath plus sym and rdac on some archs so we can learn about whatDavid Gwynne
the effects will be. sgi will follow after i fix some known fallout first.
2014-03-27Add commented out entries for xhci(4).Brad Smith
ok mpi@
2014-03-26No need to include <sys/lock.h> when only <sys/rwlock.h> is needed,Martin Pieuchot
so remove the former and include the latter instead of pulling it in <dev/pci/agpvar.h>. This header already requires various other types anyway. While here remove unneeded headers.
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
Tweak the handling of ktrace EMUL when changing ktracing: only generate one per process (not one per thread) and pass the correct proc pointer down to the VFS layer. Permit generating of NAMI and CSW records inside ktrace(2) itself. ok deraadt@ millert@
2014-03-22Move p_sigacts from struct proc to struct process.Philip Guenther
testing help mpi@
2014-03-19It's safe to assumed 'signed' existsPhilip Guenther
2014-03-16DDB supports ELF symbols are all archs, and it's always the same as thePhilip Guenther
native size, so eliminate the #defines. ok miod@
2014-03-16Kill DB_*TASK_NAME* macros which were only ever on i386/amd64 and never used.Philip Guenther
2014-03-16Remove warnings on unknown x86 models in the code that returns the FSBJonathan Gray
speed and remove the no-op cases added to avoid the warning. We shouldn't normally hit the warning anyway, the bus speed is only used on older i386 machines with piixpcib/ichpcib based speedstep or to create a fake high/low table with newer style speedstep when we can't get the table from ACPI. ok kettenis@
2014-03-14Remove the userland AGP interface. Now that we have KMS, it is no longerMark Kettenis
used by any of the remaining xenocara drivers. Except perhaps for the legacy i810 support in the xf86-video-intel driver. But i810 support has almost certainly been broken for more than a year now, and any remaining users are probably better off using the xf86-video-vesa driver ever since XAA support was removed from the X server. ok deraadt@, jsg@, mpi@
2014-03-14enable qla(4) and qle(4) in ramdisks, except on sgi where the cdfs overflowsJonathan Matthew
2014-03-14rework mplocks to use tickets instead of spinning. this providesDavid Gwynne
fairer access to the kernel lock between logical cpus, especially in multi socket systems. i first wrote this diff in 2011. ok n2k14 for post 5.5 (deraadt@ and kettenis@ in particular)
2014-03-13Unhook httpd(8) from build; man page bitsFlorian Obser
tweaks jmc@ OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@
2014-03-13get rid of the assumption that the head of the alldevs list is theDavid Gwynne
"mainbus" device. this breaks when mpath is enabled because it attaches before mainbus and therefore takes the head position. have autoconf provide device_mainbus() which looks up mainbus_cd, and use that instead. discussed with deraadt who just wants mpath stuff to move forward despite there being many ways to shine this particular turd.
2014-03-12Add compiler barier to bus_dmamap_sync(9), just in case compiler/linkerMark Kettenis
optimizations really become as evil as some people claim, or some poor soul tries to optimize things by inlining this function.
2014-03-12enable qla(4) and qle(4) in GENERIC configs where isp(4) is alreadyJonathan Matthew
2014-03-11lint is gone, and the 'lint' conditional was never in the implementationPhilip Guenther
namespace, so stop changing behavior when it's #defined ok beck@ krw@
2014-03-11Synchronize the i386 and amd64 ddb disassemblers and add supportPhilip Guenther
for many newer instructions. With feedback from jsg@
2014-03-08Enable qlw(4) on alpha/amd64/i386/macppc/sgi/sparc64 to force people to test.Mark Kettenis
2014-03-07Remove superfluous 'return'.Gerhard Roth
ok deraadt@
2014-02-23Give drm(4) a console locator just like wsdisplay(4) such that we can makeMark Kettenis
sure /dev/drm0 always matches the primary display. ok mpi@
2014-02-19add qla and qle everywhere we currently have isp, commented out except forJonathan Matthew
qle in GENERIC on i386, amd64 and sparc64, where it's reasonably well tested and likely to be useful. requested by deraadt@ and kettenis@, ok dlg@