summaryrefslogtreecommitdiffstats
path: root/sys/i386
Commit message (Collapse)AuthorAgeFilesLines
* Add uslcom to the build too.thompsa2009-02-151-0/+1
| | | | Reminded by: Michael Butler
* Switch over GENERIC kernels to USB2 by default.thompsa2009-02-151-33/+89
| | | | Tested by: make universe
* - fix formattingkmacy2009-02-151-68/+25
| | | | - fix types in ticks_to_system_time
* Remove unnecessary page queues locking around vm_page_wakeup().alc2009-02-141-2/+0
| | | | Approved by: kmacy
* Remove unnecessary page queues locking around vm_page_busy() andalc2009-02-141-2/+0
| | | | | | | vm_page_wakeup(). (This change is applicable to RELENG_7 but not RELENG_6.) MFC after: 1 week
* Use shared vnode locks when invoking VOP_READDIR().jhb2009-02-131-2/+2
| | | | MFC after: 1 month
* Add option GEOM_PART_EBR by default on amd64 and i386.marcel2009-02-101-0/+1
|
* The bounce zone sees its page number increased if multiple dma maps use it incognet2009-02-091-1/+6
| | | | | | | | | the same dma tag. However, it can happen multiple dma tags share the same bounce zone too, so add a per-bounce zone map counter, and check it instead of the dma tag map counter, to know if we have to alloc more pages. Reported by: miwi Reviewed by: scottl
* When bouncing pages, allow a new option to preserve the intra-pageimp2009-02-081-0/+7
| | | | | | | | | | | | | | | | offset. This is needed for the ehci hardware buffer rings that assume this behavior. This is an interim solution, and a more general one is being worked on. This solution doesn't break anything that doesn't ask for it directly. The mbuf and uio variants with this flag likely don't work and haven't been tested. Universe builds with these changes. I don't have a huge-memory machine to test these changes with, but will be happy to work with folks that do and hps if this changes turns out not to be sufficient. Submitted by: alfred@ from Hans Peter Selasky's original
* Don't try to directly update page tableskmacy2009-02-081-2/+5
|
* si(4) seems to build without a problem. However, since noone noticed lackwkoszek2009-02-081-0/+3
| | | | of this driver, put it in a comment.
* Tidy NOTES a bit:wkoszek2009-02-071-3/+3
| | | | | | - leave pmtimer comment that is common to other architectures. - bring pbio explanation to the block comment relating to other drivers in the same block.
* Comment about ural(4) isn't approprate here, since the driver is present inwkoszek2009-02-061-3/+0
| | | | | | | | | | global NOTES file. cx(4) driver isn't present in this file, though it could be. However, cx(4) seems to be more or less dead -- it hasn't been linked to the modules build, and after TTY-ng transformations it doesn't compile. Remove it until cx(4) is broken.
* Fix AGP debugging code:wkoszek2009-02-061-0/+3
| | | | | | | | | | | | - correct format strings - fill opt_agp.h if AGP_DEBUG is defined - bring AGP_DEBUG to LINT by mentioning it in NOTES This should hopefully fix a warning that was... Found by: Coverity Prevent(tm) CID: 3676 Tested on: amd64, i386
* halt APs on rebootkmacy2009-02-051-1/+1
|
* reboot instance on resetkmacy2009-02-051-1/+4
|
* pass in smp_processor_id to identify the cpu in usekmacy2009-02-051-1/+1
|
* adjust the way that idle happens so as to avoid missing timer interruptskmacy2009-02-051-64/+63
|
* make sure that interrupts are disabled when handling page faults et alkmacy2009-02-031-4/+4
|
* Bring over the code from sys/i386/i386/mp_machdep.c, r187880bz2009-01-311-0/+3
| | | | | to make XEN config compile again: - Allocate apic vectors on a per-cpu basis.
* Change some movl's to mov's. Newer GAS no longer accept 'movl' instructionsobrien2009-01-315-14/+14
| | | | | | for moving between a segment register and a 32-bit memory location. Looked at by: jhb
* - Allocate apic vectors on a per-cpu basis. This allows us to allocatejeff2009-01-296-77/+153
| | | | | | | | more irqs as we have more cpus. This is principally useful on systems with msi devices which may want many irqs per-cpu. Discussed with: jhb Sponsored by: Nokia
* VIA Nano processor has a special MSR (CENT_HARDWARECTRL3) bit 32 to determinejkim2009-01-221-1/+2
| | | | | whether TSC is P-state invariant or not. In fact, this MSR is writable but we just leave it at the BIOS default for now.
* Include a missing header file.jkim2009-01-221-0/+1
| | | | Reported by: thompsa, "build universe"
* Replace couple of strcmp(cpu_vendor, "foo") with cpu_vendor_id for i386jkim2009-01-221-1/+1
| | | | and hide i386-specific code under #ifdef.
* re-enable wi: was accidentally disabled in r1.502sam2009-01-191-1/+1
|
* MFp4: //depot/projects/usb@155990thompsa2009-01-131-0/+4
| | | | | | Add USB scanner support to USB2 config files. Submitted by: Hans Petter Selasky
* Enable MSI support for VIA Nano processors on i386 (missing in r187118).jkim2009-01-131-2/+12
|
* Documentation-only change:luigi2009-01-131-4/+4
| | | | | | | | | | | | | | | | | | | | - add a reference to the config(5) manpage; - hopefully clarify the format of the 'env FILENAME' directive. I am putting these notes in sys/${arch}/conf/GENERIC and not in sys/conf/NOTES because: 1. i386/GENERIC already had reference to a similar option (hints..) and to documentation (handbook) 2. GENERIC is what most users look at when they have to modify or create a new kernel config, so having the suggestion there is more effective. I am only touching i386 and amd64 because the other GENERIC files are already out of sync, and I am not sure what is the overall plan. MFC after: 3 days
* Add basic i386 support for VIA Nano processors.jkim2009-01-123-4/+23
|
* Replace more strcmp(cpu_vendor, "foo") with cpu_vendor_id.jkim2009-01-121-7/+7
|
* Add a reference to the "env" kernel config option in the GENERIC file,luigi2009-01-061-0/+6
| | | | | | | as this is very useful e.g. in diskless configurations and barely documented anywhere else. MFC after: 3 days
* Add Centaur/IDT/VIA vendor ID for Nano family, which has long mode support.jkim2009-01-051-4/+0
|
* Add commented out options KDTRACE_HOOKS and, for amd64, KDRACE_FRAME,rwatson2009-01-051-0/+1
| | | | | | | to GENERIC configuration files. This brings what's in 8.x in sync with what is in 7.x, but does not change any current defaults. Possibly they should now be enabled in head by default?
* Disable USB bluetooth (needs netgraph built in) and USB audio (doesn'trpaulo2008-12-301-3/+3
| | | | compile).
* Add a kernel config file so that users have less difficulty testingrpaulo2008-12-301-0/+110
| | | | | | USBng. If it makes sense, it could be done for arm/mips too.
* Push down Giant inside sysctl. Also add some more assertions to the code.ed2008-12-291-6/+2
| | | | | | | | | | | | | | In the existing code we didn't really enforce that callers hold Giant before calling userland_sysctl(), even though there is no guarantee it is safe. Fix this by just placing Giant locks around the call to the oid handler. This also means we only pick up Giant for a very short period of time. Maybe we should add MPSAFE flags to sysctl or phase it out all together. I've also added SYSCTL_LOCK_ASSERT(). We have to make sure sysctl_root() and name2oid() are called with the sysctl lock held. Reviewed by: Jille Timmermans <jille quis cx>
* merge 186535, 186537, and 186538 from releng_7_xenkmacy2008-12-2914-348/+41
| | | | | | | | | | | | | Log: - merge in latest xenbus from dfr's xenhvm - fix race condition in xs_read_reply by converting tsleep to mtx_sleep Log: unmask evtchn in bind_{virq, ipi}_to_irq Log: - remove code for handling case of not being able to sleep - eliminate tsleep - make sleeps atomic
* Make gpart the default partitioning class on all platforms.marcel2008-12-171-2/+2
| | | | | | | Both ia64 and powerpc were using gpart exclusively already so there's no change for those two. Discussed on: arch@
* AT_DEBUG and AT_BRK were OBE like 10 years ago, so retire them.imp2008-12-171-12/+0
| | | | Reviewed by: peter
* Remove obsolete AT_DEBUG stuff. It never should have been committedimp2008-12-171-2/+0
| | | | | | in the first place, let alone migrated to linux emulation. Reviewed by: peter, rdivacky
* - Bug fix: prevent a thread from migrating between CPUs between thejkoshy2008-12-131-1/+10
| | | | | | | | | | | | | time it is marked for user space callchain capture in the NMI handler and the time the callchain capture callback runs. - Improve code and control flow clarity by invoking hwpmc(4)'s user space callchain capture callback directly from low-level code. Reviewed by: jhb (kern/subr_trap.c) Testing (various patch revisions): gnn, Fabien Thomas <fabien dot thomas at netasq dot com>, Artem Belevich <artemb at gmail dot com>
* Add more CPUID bits from AMD CPUID Specification Rev. 2.28.jkim2008-12-122-8/+16
|
* Expose symbol `PMC_FN_USER_CALLCHAIN' to assembler code.jkoshy2008-12-121-0/+8
|
* Add constants for fields in the local APIC error status register and ajhb2008-12-113-0/+22
| | | | routine to read it.
* Restore memory clobber, to cause mb on the compiler level too.kib2008-12-061-3/+3
| | | | | | Use more sane formatting of the assembler. Pointed out by: bde
* Unconditionally use locked addition of zero to tip of the stack forkib2008-12-051-14/+3
| | | | | | | | | | | memory barriers on i386. It works as a serialization instruction on all IA32 CPUs. Alternative solution of using {s,l,}fence requires run-time checking of the presense of the corresponding SSE or SSE2 extensions, and possible boot-time patching of the kernel text. Suggested by: many
* Integrate 185578 from dfrkmacy2008-12-042-288/+3
| | | | Use newbus to managed devices
* fix initialization for case of normal kernbasekmacy2008-12-041-215/+33
| | | | remove unused shutdown code
* Remove "[KEEP THIS!]" from COMPAT_43TTY. It's not really that important.ed2008-12-022-2/+2
| | | | | | | Sgtty is a programming interface that has been replaced by termios over the years. In June we already removed <sgtty.h>, which exposes the ioctl()'s that are implemented by this interface. The importance of this flag is overrated right now.
OpenPOWER on IntegriCloud