#
5aec2ac1 |
| 06-Oct-2022 |
msaitoh <msaitoh@NetBSD.org> |
Print detail about misconfigured APIC ID.
|
#
9f5c3dd3 |
| 07-Oct-2021 |
msaitoh <msaitoh@NetBSD.org> |
KNF. No functional change.
|
#
22e594a0 |
| 25-Apr-2020 |
bouyer <bouyer@NetBSD.org> |
Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM guests in GENERIC. Xen support can be disabled at runtime with boot -c disable hypervisor
|
#
22ed2ea0 |
| 19-Jun-2019 |
msaitoh <msaitoh@NetBSD.org> |
Fix ioapic_dump_raw() to dump whole ioapic area.
|
#
a20aa954 |
| 17-Jun-2019 |
msaitoh <msaitoh@NetBSD.org> |
KNF. No functional change.
|
#
174be0f5 |
| 14-Jun-2019 |
msaitoh <msaitoh@NetBSD.org> |
- Dump LAPIC and I/O APIC correctly. - Don't print redirect target on LAPIC. - Fix DEST_MASK: - DEST_MASK is not 1 bit but 2 bit. - Add missing "\0"s to print decoded name correctly. -
- Dump LAPIC and I/O APIC correctly. - Don't print redirect target on LAPIC. - Fix DEST_MASK: - DEST_MASK is not 1 bit but 2 bit. - Add missing "\0"s to print decoded name correctly. - Support both LAPIC and I/O APIC correctly in apic_format_redir(). - Improve output of some bits using with snprintb()'s "F\B\1" and ":\V".
show more ...
|
#
6db4e212 |
| 13-Jun-2019 |
msaitoh <msaitoh@NetBSD.org> |
Whitespace fix. No functional change.
|
#
9a52dddf |
| 08-Oct-2018 |
cherry <cherry@NetBSD.org> |
Clean up XEN specific stuff from the apic code, and move to intr.c
No functional change.
|
#
a6a01ce1 |
| 07-Oct-2018 |
cherry <cherry@NetBSD.org> |
In the case of a shared GSI, bind will fail, so we do not attempt this. The sharing is accomplished by demultiplexing the port event of the first bind. This is accomplished in intr.c:intr_establish_x
In the case of a shared GSI, bind will fail, so we do not attempt this. The sharing is accomplished by demultiplexing the port event of the first bind. This is accomplished in intr.c:intr_establish_xname()
Note that the pic_delroute() is buggy (commented suitably) for the shared gsi case, since it will unbind reset it unconditionally, leaving the other shared callbacks stranded.
This problem will go awaywhen we unify further with native code, as this case is taken care of appropriately in that case.
show more ...
|
#
c93fde55 |
| 07-Oct-2018 |
cherry <cherry@NetBSD.org> |
While we're here, fix pic->pic_delroute() to DTRT on XEN and cleanup after itself.
|
#
05a1627b |
| 13-Dec-2017 |
bouyer <bouyer@NetBSD.org> |
Fixes for physical interrupts on Xen: - do not cast int * to intr_handle_t *, they're not the same size - legacy_irq is not always -1 for ioapic interrupts, test pic_type instead - change irq2port[]
Fixes for physical interrupts on Xen: - do not cast int * to intr_handle_t *, they're not the same size - legacy_irq is not always -1 for ioapic interrupts, test pic_type instead - change irq2port[] to hold (port + 1) so that 0 is an invalid value - add KASSERTs to make sure vect, port or irq values extracted from arrays are valid (or that they are invalid before write) - for the !ioapic case, we still need to do PHYSDEVOP_ASSIGN_VECTOR and bind_pirq_to_evtch().
now XEN3_DOM0 boots again
show more ...
|
#
b0079c63 |
| 26-Nov-2017 |
maxv <maxv@NetBSD.org> |
Remove unused variables.
|
#
3729691a |
| 13-Nov-2017 |
nakayama <nakayama@NetBSD.org> |
Don't write a 1 to the read only RIRR bit in the IOAPIC redirection register to fix "tlp0: filter setup and transmit timeout" observed on Hyper-V VMs with the Legacy Network Adapter.
From OpenBSD vi
Don't write a 1 to the read only RIRR bit in the IOAPIC redirection register to fix "tlp0: filter setup and transmit timeout" observed on Hyper-V VMs with the Legacy Network Adapter.
From OpenBSD via PR kern/49323:
https://marc.info/?l=openbsd-cvs&m=146718035432599&w=2
| Modified files: | sys/arch/amd64/amd64: ioapic.c | sys/arch/amd64/include: i82093reg.h | | Log message: | Don't write a 1 to the RIRR bit in the IOAPIC redirection register. This bit | is R/O, and although it should not matter what value is written there, | Hyper-V's emulated IOAPIC interprets a write of 1 in some unexpected way and | subsequently blocks interrupt delivery. This primarily manifests itself as | de(4) timeouts when using Hyper-V VMs with the "Legacy Network Adapter" | interface.
Tested both amd64 and i386 on Client Hyper-V on Windows 10.
show more ...
|
#
ffe8d1cd |
| 04-Nov-2017 |
cherry <cherry@NetBSD.org> |
Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c
The purpose of this change is to expose the x86/include/intr.h API to drivers. Specifically the following functions:
voi
Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c
The purpose of this change is to expose the x86/include/intr.h API to drivers. Specifically the following functions:
void *intr_establish_xname(...); void *intr_establish(...); void intr_disestablish(...);
while maintaining the old API from xen/include/evtchn.h, specifically the following functions:
int event_set_handler(...); int event_remove_handler(...);
This is so that if things break, we can keep using the old API until everything stabilises. This is a stepping stone towards getting the actual XEN event callback path rework code in place - which can be done opaquely behind the intr.h API - NetBSD/XEN specific drivers that have been ported to the intr.h API should then work without significant further modifications.
show more ...
|
#
2ef85219 |
| 27-Jul-2015 |
msaitoh <msaitoh@NetBSD.org> |
KNF.
|
#
14fe6939 |
| 17-Jul-2015 |
msaitoh <msaitoh@NetBSD.org> |
KNF. No functional change.
|
#
a8f3c872 |
| 27-Apr-2015 |
knakahara <knakahara@NetBSD.org> |
add x86 MD MSI/MSI-X support code.
|
#
b1904923 |
| 27-Apr-2015 |
knakahara <knakahara@NetBSD.org> |
add intr_handle_t and let pci_intr_handle_t use it.
|
#
d8782def |
| 28-Jun-2013 |
jakllsch <jakllsch@NetBSD.org> |
Print the ioapic version using unambiguous base.
From Felix Deichmann.
|
#
e8f53d28 |
| 30-Jan-2012 |
jakllsch <jakllsch@NetBSD.org> |
Need i8259.h for previous.
|
#
2083bafe |
| 30-Jan-2012 |
jakllsch <jakllsch@NetBSD.org> |
Mask all i8259 interrupts in ioapic_enable(). Should fix PR kern/45160.
|
#
4546fd1e |
| 05-Apr-2011 |
pgoyette <pgoyette@NetBSD.org> |
If an ioapic doesn't really exist, don't add it to internal tables. This is what other xxxBSDs seem to do in similar circumstances.
Addresses my PR kern/43568
OK jruoho@ in private Email
|
#
b0fb7abf |
| 18-Aug-2009 |
jmcneill <jmcneill@NetBSD.org> |
Switch to ACPICA 20090730, and update for API changes.
|
#
74b6a42b |
| 16-May-2009 |
ad <ad@NetBSD.org> |
Fix suspend/resume problem with some configurations. From drochner@.
|
#
287d5dd1 |
| 01-May-2009 |
cegger <cegger@NetBSD.org> |
struct device * -> device_t
|