Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use <stdint.h> types. | 2018-06-29 | 1 | -5/+5 | |
| | | | | ok mpi@, jung@, krw@, deraadt@ | ||||
* | Report a LAPIC address override entry in the dmesg if it doesn't match | 2016-09-17 | 1 | -1/+9 | |
| | | | | | | the normal one ok kettenis@ mlarkin@ | ||||
* | Store the acpi processor ID/UID in struct cpu_info, and use it to attach | 2016-07-28 | 1 | -7/+5 | |
| | | | | | | acpicpu(4) drivers to the right cpu(4). ok mlarkin@, guenther@ | ||||
* | Pay attention to Processor Local X2APIC structures. ACPI 6.0 allows these | 2016-07-10 | 1 | -1/+37 | |
| | | | | | | | | even for APIC ID values less than 255. Makes secondary CPUs attach on the HP DL360 gen 9. tested by jung@ ok guenther@ | ||||
* | sizes for simple free() calls | 2015-08-25 | 1 | -2/+2 | |
| | |||||
* | Completely skip entries for disabled LAPICs so they don't overwrite | 2015-06-26 | 1 | -4/+4 | |
| | | | | | | | legit enabled ones problem reported by Pedro Caetano (pedrocaetano (at) binaryflows.com) ok kettenis@ | ||||
* | More sanity checking for Local APIC NMI entries. | 2015-02-09 | 1 | -2/+3 | |
| | | | | ok deraadt@ | ||||
* | Replace some malloc(n*size,...) calls with mallocarray(). | 2014-12-09 | 1 | -2/+3 | |
| | | | | ok tedu@ deraadt@ | ||||
* | add a size argument to free. will be used soon, but for now default to 0. | 2014-07-12 | 1 | -2/+2 | |
| | | | | after discussions with beck deraadt kettenis. | ||||
* | If we find a bogus interrupt (undefined polarity or trigger) don't panic but | 2014-07-06 | 1 | -7/+20 | |
| | | | | | print a message and ignore the interrupt. There are BIOSen out there with random garbage in NMI entries for the non-BP CPUs. | ||||
* | _PIC is an optional method, so we shouldn't be aborting the rest of the | 2014-05-18 | 1 | -3/+2 | |
| | | | | | | | | | | MADT processing if it is missing. This, combined with an earlier diff from kettenis@ to fix MADT interrupt polarity processing, should resolve the issues reported with QEMU/KVM ACPI power button presses when using OpenBSD guests. ok kettenis@, pirofti@ tested by myself and kettenis for the past few weeks | ||||
* | Add X2APIC-related definitions for the MADT and silently skip them instead | 2012-01-07 | 1 | -1/+13 | |
| | | | | of printing a warning. | ||||
* | Set mp_nbusses such that the newly added bounds checks on i386 and amd64 | 2011-10-21 | 1 | -1/+2 | |
| | | | | don't fail unconditionally. | ||||
* | The global_int information acpi collects is not used by amd64. | 2011-03-06 | 1 | -7/+2 | |
| | | | | ok ketttenis | ||||
* | Count number of cpus found (potentially not attached) and store that | 2009-04-19 | 1 | -2/+4 | |
| | | | | in sysctl hw.ncpufound; ok miod kettenis | ||||
* | Be a litte bit more paranoid and validate the APIC table before committing | 2009-02-16 | 1 | -1/+68 | |
| | | | | | | | to APIC mode. tested by many ok marco@ | ||||
* | Make this compile if !MULTIPROCESSOR. | 2008-09-15 | 1 | -1/+5 | |
| | | | | ok brad@ | ||||
* | Don't assume the first LAPIC in the table corresponds to the boot processor. | 2008-08-10 | 1 | -35/+29 | |
| | | | | | | Mark the processor we're running on as the boot processor instead. ok marco@, art@ | ||||
* | Fix $OpenBSD$ for once and for all | 2008-06-11 | 1 | -1/+1 | |
| | |||||
* | Replace magic values with appropriate symbolic constants. | 2008-02-06 | 1 | -3/+3 | |
| | |||||
* | do not call aml_searchname and aml_evalnode afterwards, just use | 2007-12-07 | 1 | -6/+4 | |
| | | | | aml_evalname. marco@ ok. | ||||
* | Hang acpi(4) below bios(4) instead of mainbus(4). This lets us move acpi(4) | 2007-12-05 | 1 | -2/+2 | |
| | | | | | | | before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly others. ok kettenis | ||||
* | Don't add identity mappings for ISA interrupts for which we have an override. | 2007-11-18 | 1 | -3/+13 | |
| | | | | Tested by many; seems to fix ian@'s evil Compaq, at least with GENERIC.MP. | ||||
* | the cpu_feature/cpu_id stuff here is bullshit, XXX it so that it gets fixed one day soon | 2007-11-16 | 1 | -1/+7 | |
| | |||||
* | fix the bus_space #define nightmare, so that amd64 and i386 are much more | 2007-11-16 | 1 | -5/+1 | |
| | | | | | uniform. as a result shared code like acpi needs less #ifdef's ok marco kettenis | ||||
* | Make acpicpu(4) attach to the existing CPUs only. | 2007-11-15 | 1 | -1/+5 | |
| | | | | | | | Problem reported by form@. Fix idea by kettenis@. Lots of help from deraadt@. Tested by deraadt@, form@ and me. ok deraadt marco | ||||
* | More simple memset(,0,) -> M_ZERO changes. In this batch move to | 2007-10-08 | 1 | -5/+3 | |
| | | | | | | size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby. | ||||
* | Make an acpi-enabled GENERIC.MP work on systems that only support PIC mode. | 2007-02-21 | 1 | -1/+15 | |
| | | | | ok marco@ | ||||
* | Cleanup and hide debug messages. | 2007-02-14 | 1 | -10/+11 | |
| | |||||
* | Fix pasto. | 2007-01-28 | 1 | -2/+2 | |
| | |||||
* | Properly route lapic NMIs. | 2007-01-28 | 1 | -1/+38 | |
| | |||||
* | Assume that the first cpu in the table is the boot processor, instead of | 2007-01-11 | 1 | -5/+5 | |
| | | | | | | the cpu with apic id 0. tested by many | ||||
* | even more knf love | 2006-12-21 | 1 | -15/+17 | |
| | |||||
* | spacing | 2006-12-21 | 1 | -2/+2 | |
| | |||||
* | sync amd64 to i386 w.r.t. acpi support. Also fix interrupt routing for multi-ioapic systems. | 2006-11-25 | 1 | -1/+13 | |
| | | | | ok kettenis | ||||
* | Added 2nd pass for interrupt override scanning | 2006-11-20 | 1 | -1/+15 | |
| | | | | ok kettenis@ | ||||
* | dd pseudo-devices to handle acpi apic interrupt routing. | 2006-11-15 | 1 | -0/+249 | |
ok jordan@ |