From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754655Ab1HERLJ (ORCPT ); Fri, 5 Aug 2011 13:11:09 -0400 Received: from terminus.zytor.com ([198.137.202.10]:33021 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428Ab1HERLG (ORCPT ); Fri, 5 Aug 2011 13:11:06 -0400 Message-ID: <4E3C2405.8090309@zytor.com> Date: Fri, 05 Aug 2011 10:10:29 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20110707 Thunderbird/5.0 MIME-Version: 1.0 To: Borislav Petkov CC: Ingo Molnar , Thomas Gleixner , Linus Torvalds , Andrew Morton , Avi Kivity , Andre Przywara , Martin Pohlack , LKML , Borislav Petkov Subject: Re: [PATCH -v3.1 0/3] x86, AMD: Correct F15h IC aliasing issue References: <1312550110-24160-1-git-send-email-bp@amd64.org> In-Reply-To: <1312550110-24160-1-git-send-email-bp@amd64.org> 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/05/2011 06:15 AM, Borislav Petkov wrote: > From: Borislav Petkov > > Hi, > > a small refinement of the patchset from yesterday per hpa's comments: > > * put mask and flags into a single cacheline and make it __read_mostly > > * change alignment computation back to clearing bits [14:12] so that a > mask of 0x0 can have no effect on the address. > > Please take a look and apply, if no objections. > Patch 1 looks good now. Patch 2 I'm going to object to because it puts your run_on_bsp method into a different structure where all the existing methods for this already are in a way that looks totally gratuitous to me. Why not just have a c_bsp_init on struct cpu_dev like all the other methods? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.