From: Paolo Bonzini Subject: Re: [kvm-unit-tests PATCH] x86: apic: add physical broadcast test Date: Thu, 22 Dec 2016 19:24:54 +0100 Message-ID: <5666731b-2d0b-9911-7c97-84efc4190724@redhat.com> References: <20161219160429.5237-1-rkrcmar@redhat.com> <3dc9431f-a51f-f5bc-69f3-12df2998c9dd@redhat.com> <20161222181526.GA25692@potion> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: kvm@vger.kernel.org, David Hildenbrand To: =?UTF-8?B?UmFkaW0gS3LEjW3DocWZ?= Return-path: Received: from mx1.redhat.com ([209.132.183.28]:38090 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966014AbcLVSY6 (ORCPT ); Thu, 22 Dec 2016 13:24:58 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6014161BA9 for ; Thu, 22 Dec 2016 18:24:57 +0000 (UTC) In-Reply-To: <20161222181526.GA25692@potion> Sender: kvm-owner@vger.kernel.org List-ID: On 22/12/2016 19:15, Radim Krčmář wrote: > 2016-12-22 11:45+0100, Paolo Bonzini: >> On 19/12/2016 17:04, Radim Krčmář wrote: >>> Broadcast to address 0xff is not exercised by seabios+linux so we better >>> test it. >>> >>> Signed-off-by: Radim Krčmář >>> --- >> >> This test is broken by >> >> commit f11e8b051ef613670f9db77a79726534dbc667ec >> Author: Radim Krčmář >> Date: Tue Dec 13 17:30:00 2016 +0100 >> >> KVM: x86: make interrupt delivery fast and slow path behave the same >> >> Slow path tried to prevent IPIs from x2APIC VCPUs from being delivered >> to xAPIC VCPUs and vice-versa. Make slow path behave like fast path, >> which never distinguished that. >> >> Signed-off-by: Radim Krčmář >> Fixes: 682f732ecf73 ("KVM: x86: bump MAX_VCPUS to 288") >> Signed-off-by: Paolo Bonzini >> >> when run with "./x86/run x86/apic.flat -smp 2 -cpu Nehalem,-x2apic", so I'm removing >> that series from kvm/queue. > > Yes, kvm/queue had v2 of the series and I have added the test because > David noticed the broadcast bug while reviewing v3 of that series. > (http://www.spinics.net/lists/kvm/msg142614.html) > > The bug was fixed in v4. I have only posted v4 of this one patch as the > rest seemed ok in v3. Oh, okay, then I'll recheck and fix it. Currently I'm seeing WinXP/2003 failures with apicv=0 and Win2008r2 failures with apicv=0 ept=0. I guess I'll have to have some fun bisecting. Paolo