Lines Matching full:reason
80 * Prevent NMI reason port (0x61) being accessed simultaneously, can
217 pci_serr_error(unsigned char reason, struct pt_regs *regs) in pci_serr_error() argument
223 pr_emerg("NMI: PCI system error (SERR) for reason %02x on CPU %d.\n", in pci_serr_error()
224 reason, smp_processor_id()); in pci_serr_error()
232 reason = (reason & NMI_REASON_CLEAR_MASK) | NMI_REASON_CLEAR_SERR; in pci_serr_error()
233 outb(reason, NMI_REASON_PORT); in pci_serr_error()
238 io_check_error(unsigned char reason, struct pt_regs *regs) in io_check_error() argument
247 "NMI: IOCK error (debug interrupt?) for reason %02x on CPU %d.\n", in io_check_error()
248 reason, smp_processor_id()); in io_check_error()
263 reason = (reason & NMI_REASON_CLEAR_MASK) | NMI_REASON_CLEAR_IOCHK; in io_check_error()
264 outb(reason, NMI_REASON_PORT); in io_check_error()
272 reason &= ~NMI_REASON_CLEAR_IOCHK; in io_check_error()
273 outb(reason, NMI_REASON_PORT); in io_check_error()
278 unknown_nmi_error(unsigned char reason, struct pt_regs *regs) in unknown_nmi_error() argument
296 pr_emerg("Uhhuh. NMI received for unknown reason %02x on CPU %d.\n", in unknown_nmi_error()
297 reason, smp_processor_id()); in unknown_nmi_error()
311 unsigned char reason = 0; in default_do_nmi() local
366 reason = x86_platform.get_nmi_reason(); in default_do_nmi()
368 if (reason & NMI_REASON_MASK) { in default_do_nmi()
369 if (reason & NMI_REASON_SERR) in default_do_nmi()
370 pci_serr_error(reason, regs); in default_do_nmi()
371 else if (reason & NMI_REASON_IOCHK) in default_do_nmi()
372 io_check_error(reason, regs); in default_do_nmi()
419 unknown_nmi_error(reason, regs); in default_do_nmi()