Received: by 10.192.165.156 with SMTP id m28csp301882imm; Wed, 18 Apr 2018 22:37:00 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/F+j+Xg1WW7oF7ym5LzhmQTkFAxbDb813Sdg/8+9B7XhNfu+CPFxwWHlQ6iuqA1X3rENOw X-Received: by 2002:a17:902:42a5:: with SMTP id h34-v6mr4782643pld.65.1524116220752; Wed, 18 Apr 2018 22:37:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524116220; cv=none; d=google.com; s=arc-20160816; b=ZEvBhfMlH4EHqsWDGsJfGta9DRzpZRh7TNiZ/H6uhWlzp7z6SOw+TXRZDYl6FTpbaE aExSGNzZxxkuqe31aiKB1F5mDZbfdZje1gg4JKmNC5whkQe6ZR5gZkcy8c+nGzRd9eRs kOx1LMe3ljTO6OxKlZhY1gQNO8MtUf+wgfPH/ns1WFGDtTXOYfYt9FcYxZLJwcSmgTj1 yg3POYSuzEjFC20IV/MO04I/HQYOhDqbFKPj+puBrFLz3UtS/7t7ySGFZBE33FYNMyVe bYRbmTFK6/67o+Bdc47DFH8shEWTxVx/Gj3CYGpc2hmkeWflGPCJae9N0vHERpGNUWZh 7E7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:mail-followup-to :message-id:subject:cc:to:from:date:arc-authentication-results; bh=rkuu+MTkazBEz7YrYtjsHWIdUVRSnXAhFShl5Drmg5E=; b=yt1phPUdxuBkrPtBfQJTP97eJljXeEK7Xe3v1Z71+7hS8yplzJODFFVsAQaWHh9eqL oVrjcWPBG5gJ+pkkrS7GCEKEIlPbsx+8z7cbwGGPt3zRXJqxx+VqeBvIvyjgOtc2wB6v mhj8JWT3MArqoZDLtqFBu0u/WBfPMSBQ9XPaIrNfv6KxxAAXg9lBrrEGi+4123lFDktv xNIfmq3hberEI1SZJduSM+4G/IQ97RG2SyJwhT6/f2sJn1+jKk6UHqAfz7qZeB973BKN xlJOgOcNrHuN1MAKxJyvSWRZaQF4OlLUldMCFi8LlzfTr0jRF+fyGd2mEaI1TKCgmYRZ gzUA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n17si1722346pfa.187.2018.04.18.22.36.46; Wed, 18 Apr 2018 22:37:00 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752810AbeDSFfd (ORCPT + 99 others); Thu, 19 Apr 2018 01:35:33 -0400 Received: from mail.pod.cz ([213.155.227.146]:50096 "EHLO mail.pod.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750737AbeDSFfc (ORCPT ); Thu, 19 Apr 2018 01:35:32 -0400 Received: by pc11.op.pod.cz (Postfix, from userid 475) id 40RSPb4F7dz70wc; Thu, 19 Apr 2018 07:35:31 +0200 (CEST) Date: Thu, 19 Apr 2018 07:35:31 +0200 From: Vitezslav Samel To: "Raj, Ashok" Cc: Borislav Petkov , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: 4.15.17 regression: bisected: timeout during microcode update Message-ID: <20180419053531.GA2224@pc11.op.pod.cz> Mail-Followup-To: "Raj, Ashok" , Borislav Petkov , Greg Kroah-Hartman , linux-kernel@vger.kernel.org References: <20180418081140.GA2439@pc11.op.pod.cz> <20180418100721.GA5866@pd.tnic> <20180418120839.GA5655@pc11.op.pod.cz> <20180418122212.GA4290@pd.tnic> <20180418135330.GA23580@araj-mobl1.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180418135330.GA23580@araj-mobl1.jf.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 18, 2018 at 06:53:30AM -0700, Raj, Ashok wrote: > On Wed, Apr 18, 2018 at 02:22:12PM +0200, Borislav Petkov wrote: > > On Wed, Apr 18, 2018 at 02:08:40PM +0200, Vitezslav Samel wrote: > > > I switched to firmware-in-kernel early loading and that works OK. > > firmware-in-kernel means you compile your microcode image in linux? Yes: CONFIG_FW_LOADER=y CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3c-03" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" > Can you tell me which distro you are using? The ones we used > doesn't do late-loading (i.e echo 1 > /sys/devices/system/cpu/microcode/reload) > > I suspect that might be the problem. Yes, this is it. I followed instructions included in current microcode package downloaded from intel website and added "echo 1 > /sys/dev..." to my Slackware's /etc/rc.d/rc.local. > - Can you remove your builtin microcode, > - rename the /lib/firmware/intel-ucode so we don't find it during late loading. > - let the system boot completely > - then rename the intel-ucode back for this test. > - write 1 to reload and see if that update succeeds or fails? Just tested, it fails. Cheers, Vita > > Ok, and keep using that from now on. > > > > People should all move away from that late loading dance. I'm saying > > that in case someone else reads this on lkml. > > > > > But still, the reported issue is regression in 4.15.17 and 4.16+. > > > > Oh, I know it is a regression. > > > > @Ashok: anything particular about his microcode revision not being able > > to stomach late loading? > > nothing about the microcode itself comes to mind. I'm wondering if this > similar to the Arch linux that used late-load during booting might be an issue.