From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563Ab3A1KLm (ORCPT ); Mon, 28 Jan 2013 05:11:42 -0500 Received: from mail-bk0-f49.google.com ([209.85.214.49]:60651 "EHLO mail-bk0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754442Ab3A1KLk (ORCPT ); Mon, 28 Jan 2013 05:11:40 -0500 Date: Mon, 28 Jan 2013 11:11:35 +0100 From: Ingo Molnar To: Yinghai Lu Cc: "Wang, Song-Bo (Stoney)" , "H. Peter Anvin" , Ingo Molnar , Thomas Gleixner , "Zhang, Lin-Bao (Linux Kernel R&D)" , "Pearson, Greg" , "linux-kernel@vger.kernel.org" , "suresh.b.siddha@intel.com" Subject: Re: [PATCH] x86/apic: check FADT settings after enable x2apic Message-ID: <20130128101135.GD7168@gmail.com> References: <1358214636-4801-1-git-send-email-song-bo.wang@hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Yinghai Lu wrote: > On Sun, Jan 27, 2013 at 9:05 PM, Wang, Song-Bo (Stoney) > wrote: > > Hi Yinghai, hpa and others, > > > > Would you please review the patch on detecting x2apic FADT settings? > > > > We meet a BIOS system which works on x2apic physical mode by > > setting the bit ACPI_FADT_APIC_PHYSICAL in FADT table. And > > for those systems with all cpuid < 255, the spec requires > > BIOS's default mode in xapic. The kernel detects the default > > mode and do some initializations and will call > > enable_IR_x2apic and change the mode to x2apic successfully. > > Hi, Peter and Ingo, > > I checked the patch, and looks right. > > I updated the changelog and simplify the code a little bit. > > Please check if you can put it into tip:x86/apic The code looks good to me, but the changelog is still lacking: > HP has systems that work with x2apic phys mode and BIOS set > ACPI_FADT_APIC_PHYSICAL in FADT table, and all cpuid < 255, > the spec requires BIOS only put system on xapic mode. Kernel Which spec? > will set to x2apic logical mode instead of x2apic phys mode. Which has exactly what bad effect on users of these systems? You left out the most important information from the changelog: why do users care, what good does the patch do? Thanks, Ingo