NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/49323 CVS commit: src/sys/arch

The following reply was made to PR kern/49323; it has been noted by GNATS.

From: "Takeshi Nakayama" <>
Subject: PR/49323 CVS commit: src/sys/arch
Date: Mon, 13 Nov 2017 11:45:54 +0000

 Module Name:	src
 Committed By:	nakayama
 Date:		Mon Nov 13 11:45:54 UTC 2017
 Modified Files:
 	src/sys/arch/amd64/include: i82093reg.h
 	src/sys/arch/i386/include: i82093reg.h
 	src/sys/arch/x86/x86: ioapic.c
 Log Message:
 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:
 | 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.
 To generate a diff of this commit:
 cvs rdiff -u -r1.8 -r1.9 src/sys/arch/amd64/include/i82093reg.h
 cvs rdiff -u -r1.10 -r1.11 src/sys/arch/i386/include/i82093reg.h
 cvs rdiff -u -r1.53 -r1.54 src/sys/arch/x86/x86/ioapic.c
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index