summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
AgeCommit message (Collapse)Author
2008-07-28No longer clear ci_want_resched within cpu_switchto(), now that it's doneMiod Vallat
in the MI code.
2008-07-25In gdt_grow, always map the gdt on the secondary cpus too. This farArtur Grabowski
we depended on the pageability of the kernel_map to map them which worked most of the time, until we hit the most improbable case - when cpu_switchto wanted to fault in the missing gdt page, which at this moment is Verboten. kettenis@ ok
2008-07-21- add proper double_t and float_t definitions for each archMartynas Venckus
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per C99). remove from math.h, and add proper definitions in float.h ok millert@
2008-07-21nam2blk[] needs a "vnd" entry for some things (like softraid)Todd T. Fries
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
2008-07-20no, ipmi is still not fine on some machines (since acpi got enabled)Theo de Raadt
2008-07-18Add a macro that clears the want_resched flag that need_resched sets.Artur Grabowski
Right now when mi_switch picks up the same proc, we didn't clear the flag which would mean that every time we service an AST we would attempt a context switch. For some architectures, amd64 being probably the most extreme, that meant attempting to context switch for every trap and interrupt. Now we clear_resched explicitly after every context switch, even if it didn't do anything. Which also allows us to remove some more code in cpu_switchto (not done yet). miod@ ok
2008-07-18Add new uvm function called uvm_map_pie() which takes align as aKurt Miller
parameter and returns an aligned random load address for position independent executables to use. This also adds three new vmparam.h defines to specify the maximum address, minimum address and minimum allowed alignment for uvm_map_pie() to use. The PIE address range for i386 was carefully selected to work well within the i386 W^X framework. With much help and feedback from weingart@. okay weingart@, miod@, kettenis@, drahn@
2008-07-16Add a new parameter to pckbc_cnattach(): flags to put in the pckbc bowels.Miod Vallat
For now, only one such flag is defined, PCKBC_CANT_TRANSLATE. It hints pckbc that the device does not behave correctly to the ``set translation'' commands. Set this flag if we are running on a Tadpole Ultrabook machine, which needs it. This makes the built-in keyboard work correctly on this laptop (with the help of the software translation pckbd diff). tested & ok kettenis@
2008-07-07Comment correction, actually -> actualBrad Smith
ok henning@
2008-07-07Add AGP and hostbridge support for the Intel 82945GME chipset.Bernd Ahlers
ok jsg@
2008-07-02add CRYPTOTodd T. Fries
ok deraadt@
2008-07-02add softraidTodd T. Fries
ok deraadt@
2008-07-02* Dynamically set the rbus start address. from netbsd.Federico G. Schwindt
* For amd64, remove pcibios traces. * make RBUS_IO_START, RBUS_IO_SIZE, RBUS_MIN_START and RBUS_MEM_SIZE (on i386) configurable via kernel options. * Remove unneeded headers. * Some cleanups. originally reported in pr/5829 and tested by viq <viq at viq dot ath dot cx>. fixes ian@ laptop too. kettenis@ and miod@ agrees that although not perfect, this is the right direction.
2008-07-01Enable FFS2 on most of the larger RAMDISK media.Brad Smith
ok deraadt@
2008-06-30re* at cardbus? 'Put it in' brad@ 'Go for it' deraadt@Ian Darwin
2008-06-29Split k8_powernow_setperf into two functions, the new function calledGordon Willem Klok
k8pnow_transition handles the actual transition, this change is necessitated by some of the ACPI work which can involve dynamic changes in the available states in response to endogenous events such as removing the AC power. This new code is designed to cope with the current operating point not being among the newly available states in which case we recalculate what the current desired performance level coresponds to among the new states. Also fix a screw up with the acpi_states function (fix originally by Markus Hennecke in a diff to tech@ thanks) which resolves PR 5854. Diff tested by numerous people thanks! ok marco@
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-27More removal of clauses 3 and 4 from NetBSD licenses.Ray Lai
OK deraadt@ and millert@
2008-06-26add bio & bioctl to a couple cd based ramdisksTodd T. Fries
ok deraadt@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-25Support the Intel G35 which apparently works similarly to the 965.Owain Ainsworth
Initial information, half the diff, and testing from Andrew Lutomirski, thanks!
2008-06-25this diff changes the bootloader to skip the CHS sanity check if LBAReyk Floeter
(EDD) is found and OK. it will also fix chainloading into OpenBSD from grub in a few scenarios where grub doesn't report the CHS correctly but the LBA. and we don't need CHS if there is LBA. this has been in the snapshots for a while. with input from weingart@ ok deraadt@
2008-06-25allow to install and boot the OpenBSD A6 partition and disklabel in anReyk Floeter
extended DOS partition. the concept of extended partitions is very simple, it is just another mbr at the partition offset (well, the standard "EBR" is a linked list with a few limitations, but this diff works with both variants). this diff has been in the snapshots for a while. with input from weingart@ and krw@ ok deraadt@
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-23amd64s bus_dma internals use a pointer to a lastaddr variable to keepDavid Gwynne
track of where it was up to when building dmamaps. that lastaddr variable is not initialised every time you start to load a dmamap, so it was using random stack garbage as state when first writing the sg list. fortunately the way it was used meant it was extremely unlikely to cause a problem, but why allow even that possibility? this inits lastaddr to 0 in all the callers of load_buffer. ok miod@
2008-06-19add ix(4) to GENERIC, enable it on i386.Reyk Floeter
ok deraadt@
2008-06-15ipmi is working a wee bit better, but still not perfectly. let us re-enableTheo de Raadt
it so that more people run it by default again, and perhaps we will get insight again into what the problem is..
2008-06-15On AMD64 running on Intel processors with EST add support for retreivingGordon Willem Klok
operating points from ACPI. In support of this add evaluation of the _PDC object and give it the capability flags asserting OSPM management of CPU power states. ok marco@, canacar@
2008-06-15Ensure that when using the ACPI tables the RVO field is initialized from the ↵Gordon Willem Klok
ctrl value. commit it marco@
2008-06-13Detect if Intel's Safer Mode Extensions (SMX) are present,Jonathan Gray
See http://download.intel.com/technology/security/downloads/31516804.pdf for more information. ok deraadt@ 'looks ok to me' djm@
2008-06-12theo says: enable, enable, enable uvideo(4)Robert Nagy
Some of the cams are fairly working now and we want to see more of them in dmesgs.
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11Fix GART enabling by using segment end address instead of totalTobias Weingartner
physmem. This should be more correct than earlier code. Thank you to Markus Hennecke <markus-hennecke -at- markus-hennecke.de> for reminding me.
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-11actually unbreak RAMDISK. double plus minus cookie for mePeter Hessler
2008-06-11unbreak RAMDISKPeter Hessler
no cookie for me
2008-06-11Synchronize the MTRR API with i386, and enablePeter Hessler
"just commit it" deraadt@
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-10Add /dev/video* for amd64.Marcus Glocker
Help and OK todd@, OK robert@
2008-06-10All your memory belong to us. This has been in snaps for a while,Tobias Weingartner
and seems to work. If it breaks, people had plenty of chances to complain. ok deraadt@
2008-06-09Remove fillw(). Bonus points if you do not remember what it was used for.Miod Vallat
2008-06-08alpha/conf/RAMDISKTheo de Raadt
2008-06-08Make serial console on non-primary ports work to on i386.Mark Kettenis
tested by jbg@, "it is right" deraadt@
2008-06-07Kill ACPIVERBOSE. It was never used and is worthless to boot.Marco Peereboom
comments jmc ok toby
2008-06-05Allow pchb(4) to find additional non-coherent HyperTransport linksBrad Smith
with 10h and 11h families of AMD CPU's. ok kettenis@
2008-06-04olf support starts to die (easy stuff first); ok miodTheo de Raadt
2008-06-02Move interrupt setup to before ddb setup not after.Jonathan Gray
Makes early ddb (boot -d/ddb from ukc) work on amd64. Similiar to the change made in NetBSD by Andrew Doran. ok kettenis@ fgsch@
2008-06-01Re-enable new parser. Lots of testing by various folks. Fits all mediaMarco Peereboom
now too. ok kettenis deraadt
2008-05-27Since the vtophys stuff was nuked, drm now works on amd64 too. Add theOwain Ainsworth
relavent config goo. DRM_NO_MTRR is still needed on amd64 since the mtrr apis differ between it and i386. ok kettenis@.
2008-05-26do not muck with the mountroot variable, since setroot() uses the state ofTheo de Raadt
it and rootdev to determine whether it is booting 'generic', 'nfs', or from a specified disk partition ok krw