Received: by 10.223.176.46 with SMTP id f43csp156115wra; Tue, 23 Jan 2018 18:08:08 -0800 (PST) X-Google-Smtp-Source: AH8x224xETxDz25b7bM4O94avt25ChB+J8GYxADc8pEo1o4f94WgVRYg8bSyJOh3iBHOrQH+E0vk X-Received: by 10.98.76.87 with SMTP id z84mr11592842pfa.208.1516759688572; Tue, 23 Jan 2018 18:08:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516759688; cv=none; d=google.com; s=arc-20160816; b=O7mQ4+ECfMJU1JPidE/hsAPWnxRUT4Yp5KOxQfm8bACNezosdviyXw0MrkxBvgmrPr z11Q8Zj2tNNdwNLQGKuvOB+eKMF/+Pcod81EPJp7+3kRSTzpTZ/ibNk8VzjRVinb3FI0 1AoZbAlTFQFyu57mCIvFh27tgJyugE+65OFOfP6KX2gXB4WmTZjHewftGiY7kg9dA+kv LC8MED5brCJsqZCYrEgE8iEybJZfbNT8lO0DnMpT/J7DyXm2OTcPWYSjODirE139m/Bc B4/iXaAtomxkAU9QCuZErZBwpMkQhHsuC46EQwXkcvJQNIO0FoSpnXnoiWaFAtHrs+q/ +cFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=Q66BYjE7fnGcQEr/TvGl1qqrKsGkkWVjtl9EWdQd9UQ=; b=Zwo/JKMnc2Wk8YdzYMKUHHgWqP0T9rZOmprdW4Vg+jlHUU9jAeqccN6ffnoW0iPhub ZIgUn2ymbdGhsPLajEIgxRX/myveN6UOr9NnaNhnmku9GQaJfS/bvVTq6XhJ6RKhTVf3 D3TFrUlVDIP0EAiGkkm1tZWJ73BgoYRtcb5uuc54pxXDczUjr/txW9LItLMoRvzw8fH/ jgc6MZIk4nrlOxyEZwDEkL8QXAEj4pePP+iLZ/2CPh3qxsn47m6FD7JT7N2D89V1Y8uD qEg8TMkSWdsfS78dajSWpK9G5rAZYfjvGv+LlKgGB3cFdrO1Mv53KB0PE/v5g/mGiswl u4KQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@coreos.com header.s=google header.b=EqiLzwAM; 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=NONE dis=NONE) header.from=coreos.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m9si11303833pgt.520.2018.01.23.18.07.55; Tue, 23 Jan 2018 18:08:08 -0800 (PST) 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=@coreos.com header.s=google header.b=EqiLzwAM; 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=NONE dis=NONE) header.from=coreos.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752490AbeAXCHQ (ORCPT + 99 others); Tue, 23 Jan 2018 21:07:16 -0500 Received: from mail-pg0-f65.google.com ([74.125.83.65]:37538 "EHLO mail-pg0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752435AbeAXCHM (ORCPT ); Tue, 23 Jan 2018 21:07:12 -0500 Received: by mail-pg0-f65.google.com with SMTP id z17so1629052pgc.4 for ; Tue, 23 Jan 2018 18:07:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=coreos.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Q66BYjE7fnGcQEr/TvGl1qqrKsGkkWVjtl9EWdQd9UQ=; b=EqiLzwAMYc8kzF+Simbrj3A5ACPPaBbhTmGBTi6/tjkEB2jIETxubli8rNY57h8njg wD/YOfa59PcjwMTNKeuDurk6/gm1/q+WH+BHd7VMcbkloiUzA+Y/mMhETNZP1aynGepE 8Bez5oxu89TolpX8IAQkocJGXYRzb2zN1cz2U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Q66BYjE7fnGcQEr/TvGl1qqrKsGkkWVjtl9EWdQd9UQ=; b=UDb1sDC7rd6W0+YVfa38/6J6uukT18oILhAXYwSu7xyLi2jCdMXBK8MNfK13Vtd6rd 3CQJ1PVM3T+2yNGry5XpYtf7MD++aJo5KJ1UYcciz++b3yZ9C+CyKBgYw6MX4OpybvgE ibz1rR/MFZDla6LXgHlp2OUmPXWI93VqkiCvAjxwzCoEAICn/Ho4cY668MvOtk1/bfrG LPY9CrynMdmZQA+cTWGD+aJvUmmedJym53zobw47xmoDG6CJ6Jsyvx3MQluGaAFG32jo Wrmw28M4H0O9mJihg8LUjlqf4stF/w0dKzL0VE+jbHDEng1LBd19S8uYK034wkaWOsd5 zTMQ== X-Gm-Message-State: AKwxyteAAT2tohxCPJ+WDQ2DPurLPOvlmANDhZwGNVh8DJVjeNVsnU3Q xCnig/DkKeIBJ2kNc7Gb0SmlLodUTRsVzQ== X-Received: by 2002:a17:902:b20b:: with SMTP id t11-v6mr7049377plr.172.1516759631514; Tue, 23 Jan 2018 18:07:11 -0800 (PST) Received: from localhost.localdomain ([136.25.135.99]) by smtp.gmail.com with ESMTPSA id y18sm6951187pfa.175.2018.01.23.18.07.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Jan 2018 18:07:10 -0800 (PST) From: Benjamin Gilbert To: linux-kernel@vger.kernel.org Cc: linux-usb@vger.kernel.org, x86@kernel.org, Benjamin Gilbert , Borislav Petkov , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" Subject: [PATCH 3/3] firmware: Fix up docs referring to FIRMWARE_IN_KERNEL Date: Tue, 23 Jan 2018 18:06:32 -0800 Message-Id: <20180124020632.22905-4-benjamin.gilbert@coreos.com> X-Mailer: git-send-email 2.13.6 In-Reply-To: <20180124020632.22905-1-benjamin.gilbert@coreos.com> References: <20180124020632.22905-1-benjamin.gilbert@coreos.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We've removed the option, so stop talking about it. Signed-off-by: Benjamin Gilbert Cc: Borislav Petkov Cc: Thomas Gleixner Cc: Ingo Molnar Cc: H. Peter Anvin --- Documentation/driver-api/firmware/built-in-fw.rst | 7 +------ Documentation/x86/microcode.txt | 5 ++--- arch/x86/Kconfig | 6 +++--- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Documentation/driver-api/firmware/built-in-fw.rst b/Documentation/driver-api/firmware/built-in-fw.rst index 7300e66857f8..396cdf591ac5 100644 --- a/Documentation/driver-api/firmware/built-in-fw.rst +++ b/Documentation/driver-api/firmware/built-in-fw.rst @@ -11,13 +11,8 @@ options: * CONFIG_EXTRA_FIRMWARE * CONFIG_EXTRA_FIRMWARE_DIR -This should not be confused with CONFIG_FIRMWARE_IN_KERNEL, this is for drivers -which enables firmware to be built as part of the kernel build process. This -option, CONFIG_FIRMWARE_IN_KERNEL, will build all firmware for all drivers -enabled which ship its firmware inside the Linux kernel source tree. - There are a few reasons why you might want to consider building your firmware -into the kernel with CONFIG_EXTRA_FIRMWARE though: +into the kernel with CONFIG_EXTRA_FIRMWARE: * Speed * Firmware is needed for accessing the boot device, and the user doesn't diff --git a/Documentation/x86/microcode.txt b/Documentation/x86/microcode.txt index f57e1b45e628..aacd2f5e1a46 100644 --- a/Documentation/x86/microcode.txt +++ b/Documentation/x86/microcode.txt @@ -108,12 +108,11 @@ packages already put them there. ==================== The loader supports also loading of a builtin microcode supplied through -the regular firmware builtin method CONFIG_FIRMWARE_IN_KERNEL. Only -64-bit is currently supported. +the regular firmware builtin method CONFIG_EXTRA_FIRMWARE. Only 64-bit is +currently supported. Here's an example: -CONFIG_FIRMWARE_IN_KERNEL=y CONFIG_EXTRA_FIRMWARE="intel-ucode/06-3a-09 amd-ucode/microcode_amd_fam15h.bin" CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware" diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 20da391b5f32..6d27d53de60d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -1255,9 +1255,9 @@ config MICROCODE CONFIG_BLK_DEV_INITRD in order for the loader to be able to scan the initrd for microcode blobs. - In addition, you can build-in the microcode into the kernel. For that you - need to enable FIRMWARE_IN_KERNEL and add the vendor-supplied microcode - to the CONFIG_EXTRA_FIRMWARE config option. + In addition, you can build the microcode into the kernel. For that you + need to add the vendor-supplied microcode to the CONFIG_EXTRA_FIRMWARE + config option. config MICROCODE_INTEL bool "Intel microcode loading support" -- 2.13.6