Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp4449229ybz; Tue, 21 Apr 2020 00:23:20 -0700 (PDT) X-Google-Smtp-Source: APiQypL7QNa0s5J2gLCHQF/6YEn93kj0c/RHMTI2lCmjs1M14rBWNQ8qXMF0YZbMhTj9dEMbfJ0c X-Received: by 2002:a17:906:f74e:: with SMTP id jp14mr20520893ejb.15.1587453800299; Tue, 21 Apr 2020 00:23:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587453800; cv=none; d=google.com; s=arc-20160816; b=zb5I7UTg+MSiE6x8pTZn+FrBLQOC3Tqom6uWuUc/zckCx+gmLEn1baS+Eu4QNDO3tY Di+oyxd2sezpiPkU4AqwDqjonCBM1XGSbdsl9jjPr0Nxu4g2i3JME5VNmmtiU3FDmuxt ms913yODXuOGQWYcDWxjRLKPxSbuDC9EKQ1x8viRBBLDBUfRisqMdCCmnohu9wqur9+Q jPbZ5BVafchUxPAcyCBvcVSEHLZUBql17MtwyxJuVRHGtbQ3I5UUpOI1GNmlZ/NENqnk ZMhGwRHC4dwT8tiN/Iq8NI/axmbckU8wm+rLCBhhG5e+960UhW6nMjrS9RCm19E4yAur mglg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=YXJ5897v+3ZsqEwPrFBPyJKs2JKCADQSjl5NmaUXGx0=; b=PbJ61r0Oclgpk3M1716yvGImsVhyImW3UEHT4u3jgr36BL707wPLjVIPKAZJ0msW14 WDpOAwZUNLxycTNuoHO8x/Vd/sC++sx/FoaFrU70hcqwzKHMDfsFdLDgGyuckjZEbvl/ FDbWW97uI+c4qD46hFAm7XGBAqB3HQ69Ms2E2z5O74ujOfefVSEA4PN1GZJ5tQX4vbPG PbImPJGSh6M9ampNhM0d52tEB9dY/CtrpXmn+2mNbLnEPPAmBt5pDFKuj1glune/cWlv 3vMNGtJr6QWMtO4+FrMRDVsIeiTaxswDY9B8/SEr8lKmjZlRxNJRCBqc1Xf38FKpfSnw 2Ojg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AFnZObsk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i21si1069246ejh.256.2020.04.21.00.22.56; Tue, 21 Apr 2020 00:23:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=AFnZObsk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727103AbgDUHTH (ORCPT + 99 others); Tue, 21 Apr 2020 03:19:07 -0400 Received: from mail.kernel.org ([198.145.29.99]:35978 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725926AbgDUHTG (ORCPT ); Tue, 21 Apr 2020 03:19:06 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 60E422074B; Tue, 21 Apr 2020 07:19:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587453544; bh=pCEARRuc1fH9opZ9iz7/AswvNoJgJohYZGGefm4SL1g=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AFnZObskHRCdGYgq54OFuBPUSrXJKr4kGYuvpf4k2qLOspdzFHAdRG4YvfyDygR30 TazJj0OdKHmj3RIvfCeBrVXVmNB+RRqyFseNm4yQY/FMmUyKr/J+5VRINgygZdJEI1 V9sBUqHcakmBRpYm6bQB0HrKOowVgoCmODdyksBI= Date: Tue, 21 Apr 2020 09:19:02 +0200 From: Greg KH To: Evalds Iodzevics Cc: linux-kernel@vger.kernel.org, Thomas Gleixner , Ben Hutchings Subject: Re: [PATCH v2] x86/microcode/intel: replace sync_core() with native_cpuid_reg(eax) Message-ID: <20200421071902.GA372292@kroah.com> References: <20200420120037.1537-1-evalds.iodzevics@gmail.com> <20200421085344.1804-1-evalds.iodzevics@gmail.com> <20200421055955.GA343434@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 09:41:42AM +0300, Evalds Iodzevics wrote: > On Tue, Apr 21, 2020 at 8:59 AM Greg KH wrote: > > > > On Tue, Apr 21, 2020 at 11:53:44AM +0300, Evalds Iodzevics wrote: > > > On Intel it is required to do CPUID(1) before reading the microcode > > > revision MSR. Current code in 4.4 an 4.9 relies on sync_core() to call > > > CPUID, unfortunately on 32 bit machines code inside sync_core() always > > > jumps past CPUID instruction as it depends on data structure boot_cpu_data > > > witch are not populated correctly so early in boot sequence. > > > > > > It depends on: > > > commit 5dedade6dfa2 ("x86/CPU: Add native CPUID variants returning a single > > > datum") > > > > > > This patch is for 4.4 but also should apply to 4.9 > > > > > > Signed-off-by: Evalds Iodzevics > > > --- > > > arch/x86/include/asm/microcode_intel.h | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Why are you not sending this to the stable mailing list like I have > > pointed out numerous times by sending you a link to _how_ to get a patch > > into the stable kernel trees? > > > > Again, here it is: > > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html > > > > Please follow that so that we can do this correctly. > > > > thanks, > > > > greg k-h > Sorry, I might sound dumb here but should i just send it to > stable@vger.kernel.org or try to tag it Cc: stable... in sign-off > area, its quite confusing for newcomer. Yes, be sure to cc: the stable@vger.kernel.org list when you send patches that you want to have applied to a stable kernel tree. thanks, greg k-h