Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752289AbaAYSOM (ORCPT ); Sat, 25 Jan 2014 13:14:12 -0500 Received: from one.firstfloor.org ([193.170.194.197]:48680 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751498AbaAYSOL (ORCPT ); Sat, 25 Jan 2014 13:14:11 -0500 Date: Sat, 25 Jan 2014 19:14:09 +0100 From: Andi Kleen To: Henrique de Moraes Holschuh Cc: Andi Kleen , x86@kernel.org, linux-kernel@vger.kernel.org, Andi Kleen Subject: Re: [PATCH 2/2] x86, microcode: Add option to allow downgrading of microcode Message-ID: <20140125181409.GE20765@two.firstfloor.org> References: <1390598339-18740-1-git-send-email-andi@firstfloor.org> <1390598339-18740-2-git-send-email-andi@firstfloor.org> <20140125163558.GC25531@khazad-dum.debian.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140125163558.GC25531@khazad-dum.debian.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 25, 2014 at 02:35:58PM -0200, Henrique de Moraes Holschuh wrote: > On Fri, 24 Jan 2014, Andi Kleen wrote: > > For testing purposes it can be useful to downgrade microcode. > > Normally the driver only allows upgrading. > > The code is not prepared to work correctly when downgrading is allowed, in > the presence of shadowed microcode. When a firmware request results in more As I wrote it's only for testing purposes when you know what you're doing (typically with a special micro code file) Your whole argument is irrelevant, as it only applies to normal users who should never use this option. > Also, since you're going to mess with this, why don't you implement the > correct semanthics for microcode with the sign bit set? Making it signed > actually makes the current code behaviour worse. > > Refer to: http://lkml.org/lkml/2011/3/21/522 I don't think it makes it worse. In fact I'm essentially implementing Burt's request "for explicit user action" with the new override option. Anyways I suppose your rant killed the patch anyways. Congratulations! -Andi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/