Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4417664imm; Mon, 14 May 2018 07:18:47 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp3EVrig5gYHDVBCl+nN1FJD+zqCxYDurbm6nBepKeA5fQkgz8g0wa64476+/CRmAFudXxG X-Received: by 2002:a17:902:a507:: with SMTP id s7-v6mr10112098plq.258.1526307527566; Mon, 14 May 2018 07:18:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526307527; cv=none; d=google.com; s=arc-20160816; b=mXVH6JPV5iagnutmGgBl7fZ99QHs4bCcusJ1Wqr1lyLy/EYuBSkpsKQ4/i3oj0bxbZ W0vc2QRHiGZjm3r48m7MZS0v2/jXY24h8Sk0mtHINyGiJgDNByWUZZ/P1kj+vKGp2f3Q +/Y0KdWbiSc5zM2s5MQ1+1Ycf8LqVjBwnRLDF3o5mf5iYshJfz23UJmMgENjjmmNPULN vF4WYfi/lALQ9suC7BLKbcUJZB6rpHJydOyI3Cq4x07eQZGY+qrvKQzOjXwRBwmTcWWe 6WMNoMu4Tsq3bruAoKwxVhXLDZmm8EL4Zl0/taGIPe+/d2TOMxaleu4AsM68OByvV9Hv 3riw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=93GSF46Drb49O+62W2yKA4gu/ZgZEodBxYk3RTK/wP4=; b=lLU4LYjYT2o8h0U+FwUOpyS0+si4wnlsI8/S5ELwpd5xHAgSMtHW27/UTiKfXAyILT WrjYRBDqwUiHXfiZh7gmdIhwligEVLvSKe2bP8DX5DKrZMuR2xPwvZRmoudHoQyTWFXZ 6Ewo9UbCEEwMGlPzsjGidCs0Xa7019pZOBVZU3rwA/HtaQm83e0FBaqcOO7UA+lbAIfR tGDPm3NXiaHH8uiIv98YZocYTU3/Ti6GHRVFDPwQFBvSplaIce6loC+/T3WZ83fpLkj2 Sm+8sq2zpZvRAiXwqBSz3HNupVebiwUDJbHZ7HvZVBvZXw8bhr43aA0KaiP66o5z2joT +q/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gyzKxyWR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v38-v6si6012668plg.283.2018.05.14.07.18.31; Mon, 14 May 2018 07:18:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=gyzKxyWR; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753904AbeENOQ6 (ORCPT + 99 others); Mon, 14 May 2018 10:16:58 -0400 Received: from mail-wr0-f171.google.com ([209.85.128.171]:35441 "EHLO mail-wr0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752207AbeENOQz (ORCPT ); Mon, 14 May 2018 10:16:55 -0400 Received: by mail-wr0-f171.google.com with SMTP id i14-v6so12549273wre.2 for ; Mon, 14 May 2018 07:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=93GSF46Drb49O+62W2yKA4gu/ZgZEodBxYk3RTK/wP4=; b=gyzKxyWRNl49k49jXbPy80nPiKClxFqUSWAUoBE9xSoJH5aquWLZl2n162NiBh2SeG lShQgW6as63LkQo4oOwVXngQYvWDX4N9xNPW0vlEzrDTmOsCulrFsj6Fn5RKisrCZPDR fNeKdqWzk+EHrD3AfuTraEjSUQFBcEkfzz/Imp6pLJW4ojFpncfyUaKihZfXTyI7l4m5 Jy/10UdvC/vcOUABQMggH0DhHjzGc14VXufsdxFagYs4aacBGdtpgJmM5C6ZVbQiYXDJ WdSLik++7j9Nmy3bllN5qICWZS+TDdVITnmSbrMiBSBgYSSnp7ywLktbXQqqkuL87CGt VWzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=93GSF46Drb49O+62W2yKA4gu/ZgZEodBxYk3RTK/wP4=; b=M3G2Zddw6wvPDZAnYROJxBUq67ZblhH0LxbtRHyFd9CONGSvJLfP9kzX5uWnBawZkR aw2gHDRSAc7A5r3Pkrm24vgixiDIpTIusDaw1bKJybT8KUV8H1KOct88zAPi2hdReWqQ /oTIYb97rBsmJarACyCrUe6OQvSNQbdOfxW5W+nX+OkYVzjJ4adYAnKFOiZGWkS46k0P QIKWPGBOIowRX7FrfZdqCQMHjGA6tQG+OsK1SvcXePQ672+Jiq2jjXUh4I7nVaTWVXLM vDkXZ6w7+uYwHI8+3MFiZc3Mmpp1WaGi3t2fkl7x5zWqFK38RESDoTkO+2qfTEqcDZMy Kalw== X-Gm-Message-State: ALKqPwfWU+UzVWz3W4mZki5UIiC55fFTMrpHDO13l6ov6phKYxoxvcIT eXnMoa8xD3syxIpn65iHECfvsQz/2duIwcozdg== X-Received: by 2002:adf:c88c:: with SMTP id k12-v6mr7756961wrh.6.1526307413774; Mon, 14 May 2018 07:16:53 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.225.142 with HTTP; Mon, 14 May 2018 07:16:23 -0700 (PDT) In-Reply-To: <20180514125856.GR12217@hirez.programming.kicks-ass.net> References: <20180514072355.GB12198@hirez.programming.kicks-ass.net> <20180514125856.GR12217@hirez.programming.kicks-ass.net> From: Gabriel C Date: Mon, 14 May 2018 16:16:23 +0200 Message-ID: Subject: Re: commit bd9240a18edfbfa72e957fc2ba831cf1f13ea073 seems to break with intel-ucode 20180425 To: Peter Zijlstra Cc: kevin.b.stanton@intel.com, Thomas Gleixner , LKML , X86 ML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2018-05-14 14:58 GMT+02:00 Peter Zijlstra : > On Mon, May 14, 2018 at 02:15:44PM +0200, Gabriel C wrote: >> http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180312 >> http://ftp.frugalware.org/pub/other/people/crazy/ucode/cpuinfo-ucode-20180425 > > That's 0xc2 and 0x9e respectively, for the microcode revision. > > For model 78 (INTEL_FAM6_SKYLAKE_MOBILE) we need at least 0xb2. > > Now, obviously 0xc2 is in fact larger than 0xb2, however 0x9e is > smaller and it is rightfully complaining. > > Now, I have (debian testing): > > $ apt-cache show intel-microcode > Package: intel-microcode > Version: 3.20180425.1 > > $ hexdump /lib/firmware/intel-ucode/06-4e-03 | head > 0000000 0001 0000 00c2 0000 2017 1116 06e3 0004 > 0000010 f699 c6c6 0001 0000 00c0 0000 83d0 0001 > 0000020 8400 0001 0000 0000 0000 0000 0000 0000 > > Which gives 0xc2 as version for your CPU. > > If I download microcode-20180425.tgz from: > > https://downloadcenter.intel.com/download/27776/Linux-Processor-Microcode-Data-File > > I again get 0xc2 for 06-4e-03. > > So please double check your package... Yes hexdump matches here too. I've build a initramfs with the files from microcode-20180425.tgz ( with distro packages removed ) with the same result. Maybe dracut is doing something stupid .. but I'm not sure what since the setup does not change just the ucode files. I'll try to find out. > >> Loading microcode manually is working > > IIRC late loading doesn't re-evaluate any of this. If you down-grade you > can 'wreck' your system. > >> Also initramfs is made with dracut and his early microcode option. > > Yes, early microcode should be the right thing. I try to build an kernel with built-in ucode file without a initrd and figure whatever that works.