From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754918Ab3HNG4j (ORCPT ); Wed, 14 Aug 2013 02:56:39 -0400 Received: from mga02.intel.com ([134.134.136.20]:7302 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752690Ab3HNG4i (ORCPT ); Wed, 14 Aug 2013 02:56:38 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.89,875,1367996400"; d="scan'208";a="362382083" Date: Wed, 14 Aug 2013 14:40:41 -0400 From: Youquan Song To: Ingo Molnar , Yinghai Lu Cc: Yinghai Lu , Gleb Natapov , Youquan Song , Sheng Yang , Konrad Rzeszutek Wilk , Linux Kernel Mailing List , "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , youquan.song@linux.intel.com Subject: Re: [PATCH] x86, apic: Enable x2APIC physical when cpu < 256 native Message-ID: <20130814184040.GA6726@linux-youquan.bj.intel.com> References: <1373592159-459-1-git-send-email-youquan.song@intel.com> <20130724062254.GA16400@redhat.com> <20130729170514.GB30371@linux-youquan.bj.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130729170514.GB30371@linux-youquan.bj.intel.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > In order to make sure the patch without involving unexpected issues beyond > I can understand, I will confirm with our expert about it. > > so please pend the patch going to mainline. If the patch can move on, I > think I will also provide other patch changing, like direct EOI. Hi Yinghai and Ingo, I have confirmed with our experts about it. x2APIC without interrupt remapping is not architecture and no guarantee it will work in future. What's more, there are some words in SDM3, 10.12.7 Initialization by System Software Routing of device interrupts to local APIC units operating in x2APIC mode requires use of the interrupt-remapping architecture specified in the Intel Virtualization Technology for Directed I/O, Revision 1.3. Because of this, BIOS must enumerate support for and software must enable this interrupt remapping with Extended Interrupt Mode Enabled before it enabling x2APIC mode in the local APIC units. Ingo, please drop the patch in -tip tree. 3d1acb49d22fbbae96524040e9e2d4cbbb3adbef "x86/apic: Enable x2APIC physical mode on native hardware too, when there are fewer than 256 CPUs" Sorry for making fuss here and it is my fault. Thanks -Youquan