Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp564461rwb; Tue, 4 Oct 2022 07:46:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ReexDwpnqbCaVSBV8RJ/YTxLIcg5qzEMuGT4ve27cyXuuNjwwBj7jFNNVVKVIe66H77cX X-Received: by 2002:a63:8548:0:b0:44b:89d5:710 with SMTP id u69-20020a638548000000b0044b89d50710mr11987856pgd.124.1664894781869; Tue, 04 Oct 2022 07:46:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664894781; cv=none; d=google.com; s=arc-20160816; b=muA7Ah+wHQ89IG9fMBHv5GiquVCySrsEkrAammKElDdsYSCah5WVjMvFuJcjQbe8u7 zODDAOJ6PL/WCPW8YxKy9bg+zhAksboroM+kde0Jrq42T4P4fCoIcbcrrbIdFhh0yc+d UU3MFEmoBVpboVhNf+siHDBR+wQTikpQZXRBDwIYj3joaU9Th3pK0UlM5PY+/XT2tGW5 SgOPJnboOkW0JqV+bU81VqXx9gzNdnUAa+bGsUCPnEHMOOTL1K8iibrXA0BCqY9fTUcv cXAc0LFI+eoqfO49qEM+4oxdurO21qE28la3KwUsiePBO951ypB5EgjW3p6m8K/aVxhw 8NkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=jsyfQIbdBEtAvEnPAtc2R5Bhcz+2T4MUL9cWLpioO1U=; b=sCAYbwqkpc2HZCjwVZv6Fop9pED8mGsaj5rdgiqmpQjO2d4TAhTpNK3Xh3xbfo4y4b WNd8wa6JlN0r49l+MPOQcCDcOxgXD5m0DdjbkGGZN4EyBXV/Tto0eGGOFvqnSiIIyayQ vCcHKQ8X+8POqtD4JvHdjBQX0SpcU8Oz15jm2zD0R2AJ3vf2dD5QTj5yBoK4hWXQNvil hw/E4Gs99VLv8VNAdypuPm++j/S7cbl1LWBul1J7C/azSLn5XlcYmr1o5XW0laI1OAz/ Rwn6ohe4spFgXgbO1RsIQeEdCoYdjlgX+tH3oUMeYgxlwMTiyMkfg1TCPAxNPmV49HDi HL5A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VsVxicOP; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=KomFnErI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cm18-20020a056a00339200b0052eb81ff734si8804966pfb.113.2022.10.04.07.46.07; Tue, 04 Oct 2022 07:46:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=VsVxicOP; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=KomFnErI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbiJDOUe (ORCPT + 99 others); Tue, 4 Oct 2022 10:20:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229515AbiJDOUb (ORCPT ); Tue, 4 Oct 2022 10:20:31 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52A5721E2E for ; Tue, 4 Oct 2022 07:20:30 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 1081F1F8E9; Tue, 4 Oct 2022 14:20:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1664893229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsyfQIbdBEtAvEnPAtc2R5Bhcz+2T4MUL9cWLpioO1U=; b=VsVxicOPSBJWX6p34gTQ3E6TaKyOqYprumTbjXZCvi9qlVaPW383VR6TPLA3lBs6s0NLIC KEhvhIFv+vJgldQZ+OXuw9zUmqIE2lEjlHeR5UIQtUC3OaFYVfOGWWMTWeYbac58vWQ4nv /yaz8HaSfqgV85e2V2zLHYO0f+Z9H8A= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1664893229; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jsyfQIbdBEtAvEnPAtc2R5Bhcz+2T4MUL9cWLpioO1U=; b=KomFnErIvo+JVVWevQ/jS+bqlQPMqTBE/yhWA9RuPGzhZWOVuHGhIXJp0uVcPi9LWRVSB2 YJSGkI7Jr0U2lJCg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 037CF139EF; Tue, 4 Oct 2022 14:20:29 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gJjVAC1BPGPicwAAMHmgww (envelope-from ); Tue, 04 Oct 2022 14:20:29 +0000 Date: Tue, 4 Oct 2022 16:20:28 +0200 From: Borislav Petkov To: Linus Torvalds Cc: x86-ml , lkml Subject: [GIT PULL] x86/microcode for 6.1 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, please pull a small bunch of x86 microcode loader improvements for 6.1. Thx. --- The following changes since commit 568035b01cfb107af8d2e4bd2fb9aea22cf5b868: Linux 6.0-rc1 (2022-08-14 15:50:18 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git tags/x86_microcode_for_v6.1_rc1 for you to fetch changes up to 712f210a457d9c32414df246a72781550bc23ef6: x86/microcode/AMD: Track patch allocation size explicitly (2022-09-23 13:46:26 +0200) ---------------------------------------------------------------- - Get rid of a single ksize() usage - By popular demand, print the previous microcode revision an update was done over - Remove more code related to the now gone MICROCODE_OLD_INTERFACE - Document the problems stemming from microcode late loading ---------------------------------------------------------------- Ashok Raj (2): x86/microcode: Document the whole late loading problem x86/microcode: Print previous version of microcode after reload Borislav Petkov (1): x86/microcode: Remove ->request_microcode_user() Kees Cook (1): x86/microcode/AMD: Track patch allocation size explicitly Documentation/admin-guide/tainted-kernels.rst | 6 ++ Documentation/x86/microcode.rst | 116 ++++++++++++++++++++++++-- arch/x86/include/asm/microcode.h | 4 +- arch/x86/kernel/cpu/microcode/amd.c | 10 +-- arch/x86/kernel/cpu/microcode/core.c | 5 +- arch/x86/kernel/cpu/microcode/intel.c | 17 ---- 6 files changed, 119 insertions(+), 39 deletions(-) -- Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH GF: Ivo Totev, Andrew Myers, Andrew McDonald, Martje Boudien Moerman (HRB 36809, AG Nürnberg)