From patchwork Mon Feb 11 08:52:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 157980 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2353687jaa; Mon, 11 Feb 2019 00:52:54 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib7stj3I+LSAe9awZzEEqoqNMaIKiNgz1IkoVU6hbs8Dszs7sEPE0PzKYCmHAw4zcEzrnDF X-Received: by 2002:a63:cf48:: with SMTP id b8mr17866942pgj.17.1549875174055; Mon, 11 Feb 2019 00:52:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549875174; cv=none; d=google.com; s=arc-20160816; b=xqsbFcfNL9dG47bVNBJEXY6eqge0zRrKjA31f/9s5baf7wWqIg1jxpi7xZuJ+n1zfG uYmO5Dz3vXFNm9X8U+T8QjsFbRCxLURCnQaWAAL082sp6BaPbaJ1wGSTOH/ug1XjddVF 2TsuUtbRyPlM96EZThGh8NrMnNbQGxa7N7PVkrGYmKJ9kC804Wy/0W0yAbfab2Fwr2cK d9G/rem8Gz5gAzltBbauaPe9nPDNkQG692DGDscRbCAKRwjR9C3dFSmcefZ0GFyZ6ftk kSheeWKoQChtlWMdHqTYUcoMU1pTHNMOECygknVtKwFdn8AiULgNHjpU66tap2B9GunX fssQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=XRVE6AH7OM2cc1y8aqEQCJ1bk+yK+9Eg+OUDFy8xk4w=; b=sEAVxyoGw9E4MRDppzry/gLW6wJbYI1TrN4urwsDWAd4A2gTJyAY9QgACE4JpLLQw5 ONzzgzgoTXIKiKWFH32HK7bJkxFIA7WzSg76Qdq2wf9kAt3N/O3jVtzzj4ppBeDCEgY3 K9akdgjYxYUuDscpEMhif+WPPL7aEezCJx6zhb9myb7gvGYiXg6i5n2LHWV9t9x18O7e 1tUczsYGkvnx39Qx8Vpjzgr/Mm9ZcmhNm8yXJKi8ENAFkQ1nV4XZjaCw3ARxpglwxohK GsbGPD4XuUOujg3wczp8HyTJ4WU38i+QW1SSwyI0yhOvaEtIQhJQZNZkOtFtKYd/6l/A GOiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jUUGRMXS; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c16si4417545pgh.545.2019.02.11.00.52.53; Mon, 11 Feb 2019 00:52:54 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-efi-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=@linaro.org header.s=google header.b=jUUGRMXS; spf=pass (google.com: best guess record for domain of linux-efi-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-efi-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726989AbfBKIwx (ORCPT + 3 others); Mon, 11 Feb 2019 03:52:53 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:37973 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726943AbfBKIwx (ORCPT ); Mon, 11 Feb 2019 03:52:53 -0500 Received: by mail-wm1-f65.google.com with SMTP id v26so15469635wmh.3 for ; Mon, 11 Feb 2019 00:52:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=XRVE6AH7OM2cc1y8aqEQCJ1bk+yK+9Eg+OUDFy8xk4w=; b=jUUGRMXS07Bz8g0IqMfPIsPE+/TA4DuNQ9lEcbNCQiBmJq/3BM42BfbDO/4r9+vW3M PdVXL/IeMyAK9SNdPgEmIHP4N9W5LJVmFQulNEzolYqpoFQjqLjCvGG27AvY4Rylq2gD AyuSxYPp3kDEwg23B+iJ5dvx3gk6FLY14hcv4CkVJ9n4qNQsAJuc5boIOvkZHAgWTwBv +pH3gf9Ldu4nCf6bd0FbQTLj8cz0A+hudrHjfLnt5KtqzWWThkB6mKP0WY64YWUpXFUG UcRhf24eQiSltNZNVByzD2l/O/x+Bvs3Jy9/SNZZeAvtKdH0QuTIpAPciyjFjqRYkWXK Klig== 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; bh=XRVE6AH7OM2cc1y8aqEQCJ1bk+yK+9Eg+OUDFy8xk4w=; b=VPrcgixVSHxAB1BQX1D71ZnXN/+gu3J3zutqUtSxrs/fDwUCnxfi904OkbhNyNkmrA RvqcYgx9FzKm/XyhxZpZmDhFuQAIqlqSmDi7HfYy/bej0GUyzaT+c5GZo+GATky8jZUS 8l6EJJYvidL8fhygpoAiIV/7Rd86BO8d72RdP/xpjOCb6OZoRczDybJH6Y/QtaOxIAJF 6i0WYsXWiAGct8WRIHMTVB+NUTXmUbbQm3GE9U0yI9iESyGeHteoVBfP7l6yysD6KDd0 /R78+ANiXfrmVRnX0Vgc8wbbLxwSzdfFSrKezP8HrlFmglXKUsz9FVIcXkrE6VO3var+ NaaQ== X-Gm-Message-State: AHQUAuZcdWLdT5w7kvl7Ran5tLaWbvb6AeyNyMLgor3cpXOm7ztOsste DgRt2WsCtwa4PDHqeb7yCdNo9nMszHk= X-Received: by 2002:adf:822d:: with SMTP id 42mr16350064wrb.63.1549875171281; Mon, 11 Feb 2019 00:52:51 -0800 (PST) Received: from localhost.localdomain (186.224.154.77.rev.sfr.net. [77.154.224.186]) by smtp.gmail.com with ESMTPSA id w3sm3512562wrl.22.2019.02.11.00.52.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 00:52:50 -0800 (PST) From: Ard Biesheuvel To: linux-efi@vger.kernel.org Cc: x86@kernel.org, mingo@kernel.org, Ard Biesheuvel Subject: [PATCH] x86: defconfig: enable EFI stub, mixed mode and BGRT Date: Mon, 11 Feb 2019 08:52:47 +0000 Message-Id: <20190211085247.5471-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-efi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-efi@vger.kernel.org Enable various options in the defconfigs of both i386 and x86_64 that could do with some test coverage in automated testing. Note that these options are typically enabled by distros as well. Signed-off-by: Ard Biesheuvel --- arch/x86/configs/i386_defconfig | 2 ++ arch/x86/configs/x86_64_defconfig | 3 +++ 2 files changed, 5 insertions(+) -- 2.17.1 diff --git a/arch/x86/configs/i386_defconfig b/arch/x86/configs/i386_defconfig index 4bb95d7ad947..5d946f4a881f 100644 --- a/arch/x86/configs/i386_defconfig +++ b/arch/x86/configs/i386_defconfig @@ -310,3 +310,5 @@ CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_DISABLE=y CONFIG_CRYPTO_AES_586=y # CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_EFI_STUB=y +CONFIG_ACPI_BGRT=y diff --git a/arch/x86/configs/x86_64_defconfig b/arch/x86/configs/x86_64_defconfig index 0fed049422a8..300ad569d6a7 100644 --- a/arch/x86/configs/x86_64_defconfig +++ b/arch/x86/configs/x86_64_defconfig @@ -308,3 +308,6 @@ CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y CONFIG_SECURITY_SELINUX_DISABLE=y # CONFIG_CRYPTO_ANSI_CPRNG is not set +CONFIG_EFI_STUB=y +CONFIG_EFI_MIXED=y +CONFIG_ACPI_BGRT=y