From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760315Ab0HLPsk (ORCPT ); Thu, 12 Aug 2010 11:48:40 -0400 Received: from terminus.zytor.com ([198.137.202.10]:50543 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760277Ab0HLPsh (ORCPT ); Thu, 12 Aug 2010 11:48:37 -0400 Message-ID: <4C6417AB.1050105@zytor.com> Date: Thu, 12 Aug 2010 08:47:55 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.7) Gecko/20100720 Fedora/3.1.1-1.fc13 Thunderbird/3.1.1 MIME-Version: 1.0 To: Borislav Petkov CC: Joerg Roedel , "Roedel, Joerg" , "mingo@elte.hu" , "tglx@linutronix.de" , "Herrmann3, Andreas" , "Seidel, Conny" , "Sarathy, Bhavna" , "greg@kroah.com" , "x86@kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] x86-32: Fix crashes with CPU hotplug on AMD machines References: <1280940316-7966-1-git-send-email-bp@amd64.org> <1280940316-7966-2-git-send-email-bp@amd64.org> <4C59F24B.1010702@zytor.com> <20100805074503.GI18307@amd.com> <4C5AC736.20903@zytor.com> <20100812144142.GY23755@8bytes.org> <4C64148D.5080305@zytor.com> <20100812154756.GD2070@aftab> In-Reply-To: <20100812154756.GD2070@aftab> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 08/12/2010 08:47 AM, Borislav Petkov wrote: >> >> Agreed. I do have a concern about the kernel page tables not being >> synchronized into trampoline_pg_dir (it's only an issue for 32-bit >> !PAE), so at the very least we need to keep an eye out for it... > > I've been working on what you suggested and the patch boots on a 32-bit > PAE kernel but keeps rebooting on non-PAE after setting the stack_start > on the AP. I could send it out later for you to look at, if you like - > you should be able to spot what I'm missing :)... > Sounds good. This is obviously .37-or-higher material. -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.