From: Bernhard Kauer Subject: Re: i8259 defaults wrong? Date: Tue, 18 Aug 2009 11:39:54 +0200 Message-ID: <20090818093932.GA1887@chrom.inf.tu-dresden.de> References: <20090817022024.GE1025@MAIL.13thfloor.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: kvm@vger.kernel.org, qemu-devel@nongnu.org Return-path: Content-Disposition: inline In-Reply-To: <20090817022024.GE1025@MAIL.13thfloor.at> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org On Mon, Aug 17, 2009 at 04:20:24AM +0200, Herbert Poetzl wrote: > looking at the i8259 implementation found in qemu > as well as in the in-kernel kvm implementation, I > see that on pic_reset() special_fully_nested_mode > is set to zero, but the intel(r) 8259A manual says > on page 15: > > Fully Nested Mode > > This mode is entered after initialization unless > another mode is programmed. > > any comments are appreciated, You confuse two modes of the PIC: the FullyNestedMode and the SpecialFullyNestedMode. See page 18 in the manual. The first ist the "default" mode, where an IRQ in service from a slave masks further interrupts from this slave. In SFNM a slave PIC can still issue another IRQ. Greetings, Bernhard Kauer