From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754074AbcAHN2t (ORCPT ); Fri, 8 Jan 2016 08:28:49 -0500 Received: from claranet-outbound-smtp02.uk.clara.net ([195.8.89.35]:55824 "EHLO claranet-outbound-smtp02.uk.clara.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750949AbcAHN2r (ORCPT ); Fri, 8 Jan 2016 08:28:47 -0500 X-Greylist: delayed 4202 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Jan 2016 08:28:46 EST Date: Fri, 8 Jan 2016 12:18:31 +0000 From: Mike Keehan To: Markus Trippelsdorf Cc: Thomas Voegtle , Borislav Petkov , linux-kernel@vger.kernel.org Subject: Re: x86/microcode update on systems without INITRD Message-ID: <20160108121831.0af07d65@blueyonder.co.uk> In-Reply-To: <20160107124111.GB320@x4> References: <20151119214301.GA318@x4> <20151119215543.GA4926@pd.tnic> <20151119225828.GB4926@pd.tnic> <20151120071920.GA321@x4> <20151120082716.GA4028@pd.tnic> <20160107121841.GB16472@pd.tnic> <20160107124111.GB320@x4> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.28; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Jan 2016 13:41:11 +0100 Markus Trippelsdorf wrote: > On 2016.01.07 at 13:36 +0100, Thomas Voegtle wrote: > > On Thu, 7 Jan 2016, Borislav Petkov wrote: > > > > >On Thu, Jan 07, 2016 at 01:12:16PM +0100, Thomas Voegtle wrote: > > >>I just diffed my 4.3 config with the 4.4 config and saw that the > > >>whole Microcode stuff was silently dropped by a normal "make > > >>oldconfig". > > > > > >Can you send me that 4.3 config please? > > > > Attached. It is a little bit unusual config without modules etc. > > > > But doesn't dropping Microcde stuff in the config happen to anyone > > who hasn't INITRD stuff switched on? > > Yes. But, as I wrote above, if you simply drop the BLK_DEV_INITRD > dependency, it will work just fine. > I also don't use modules and the firmware gets applied at boot time. > > ... > [ 2.573261] EDAC amd64: MCT channel count: 2 > [ 2.573401] EDAC MC0: Giving out device to module amd64_edac > controller F10h: DEV 0000:00:18.2 (INTERRUPT) [ 2.573414] EDAC > PCI0: Giving out device to module amd64_edac controller EDAC PCI > controller: DEV 0000:00:18.2 (POLLED) [ 2.573424] hidraw: raw HID > events driver (C) Jiri Kosina [ 2.573449] usbcore: registered new > interface driver usbhid [ 2.573449] usbhid: USB HID core driver > [ 2.573770] usbcore: registered new interface driver snd-usb-audio > [ 2.573786] Netfilter messages via NETLINK v0.30. [ 2.573797] > nf_conntrack version 0.5.0 (65536 buckets, 262144 max) [ 2.573966] > ctnetlink v0.93: registering with nfnetlink. [ 2.574427] > ip_tables: (C) 2000-2006 Netfilter Core Team [ 2.574477] NET: > Registered protocol family 17 [ 2.574487] 9pnet: Installing 9P2000 > support [ 2.574717] microcode: CPU0: patch_level=0x010000db > [ 2.574724] microcode: CPU1: patch_level=0x010000db > [ 2.574731] microcode: CPU2: patch_level=0x010000db > [ 2.574736] microcode: CPU3: patch_level=0x010000db > [ 2.574761] microcode: Microcode Update Driver: v2.01 > , Peter Oruba [ 2.574876] registered > taskstats version 1 [ 2.575132] Btrfs loaded > ... > I'm not sure what you mean by "drop the BLK_DEV_INITRD dependency", but my microcode does not get loaded unless I have BLK_DEV_INITRD=Y in my .config. I don't use initrd, but I do use modules. Mike.