All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@kernel.org>
To: Borislav Petkov <bp@suse.de>
Cc: x86-ml <x86@kernel.org>, lkml <linux-kernel@vger.kernel.org>
Subject: Re: [GIT PULL] A microcode loader fix for 3.19
Date: Thu, 29 Jan 2015 07:52:12 +0100	[thread overview]
Message-ID: <20150129065212.GA2835@gmail.com> (raw)
In-Reply-To: <20150128204728.GG7569@pd.tnic>


* Borislav Petkov <bp@suse.de> wrote:

> Hi guys,
> 
> please pull this last small fix for the microcode loader not erroring
> out of its init routine properly.
> 
> Optimally, it should go with the last batch of tip/urgent stuff for
> 3.19, if possible.
> 
> Thanks.
> 
> ---
> The following changes since commit 26bc420b59a38e4e6685a73345a0def461136dce:
> 
>   Linux 3.19-rc6 (2015-01-25 20:04:41 -0800)
> 
> are available in the git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git tags/microcode_fix_for_3.19
> 
> for you to fetch changes up to da63865a01c6384d459464e5165d95d4f04878d8:
> 
>   x86, microcode: Return error from driver init code when loader is disabled (2015-01-28 09:23:40 +0100)
> 
> ----------------------------------------------------------------
> One final fix for 3.19 to address a wrongful deregistering of the
> microcode loader module.
> 
> ----------------------------------------------------------------
> Boris Ostrovsky (1):
>       x86, microcode: Return error from driver init code when loader is disabled
> 
>  arch/x86/kernel/cpu/microcode/core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/x86/kernel/cpu/microcode/core.c b/arch/x86/kernel/cpu/microcode/core.c
> index 15c29096136b..36a83617eb21 100644
> --- a/arch/x86/kernel/cpu/microcode/core.c
> +++ b/arch/x86/kernel/cpu/microcode/core.c
> @@ -552,7 +552,7 @@ static int __init microcode_init(void)
>  	int error;
>  
>  	if (paravirt_enabled() || dis_ucode_ldr)
> -		return 0;
> +		return -EINVAL;
>  
>  	if (c->x86_vendor == X86_VENDOR_INTEL)
>  		microcode_ops = init_intel_microcode();

Pulled into tip:x86/urgent, thanks Boris!

	Ingo

      reply	other threads:[~2015-01-29  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-28 20:47 [GIT PULL] A microcode loader fix for 3.19 Borislav Petkov
2015-01-29  6:52 ` Ingo Molnar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150129065212.GA2835@gmail.com \
    --to=mingo@kernel.org \
    --cc=bp@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=x86@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.