Message ID | f894ea52cb1cc2e7bc2a791741b912387cb4c8e7.1564646727.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp5085665ile; Thu, 1 Aug 2019 01:20:11 -0700 (PDT) X-Google-Smtp-Source: APXvYqwjTbpzL3ddUg8xiDGAPTWHIuqehDbO5CrZBVWz/sq9PUYB6hwLErLTydwm25WLa7Xq1dNx X-Received: by 2002:a17:902:8696:: with SMTP id g22mr121333631plo.249.1564647611429; Thu, 01 Aug 2019 01:20:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564647611; cv=none; d=google.com; s=arc-20160816; b=VMyo9eBRIwzyx+foqZvEwAE6Vkrgt/QVsghmAEAXafgBf2T06guWUjSGEnaHeMCTiQ anR6OX7EiqTMP9WsrF345snfMZoMIM5sfud65d5sLwGIoUoZYPXyHqfTCzE3w5wgEX/7 7zFVCgYyXrsrJPChsJBQmFLH6ofeLVh4s13ccUjEfzKB+9xLgbhuGWBVsIilsa5SN2Xm g2jVA+tblfhrWjAKiiYDEmUdF5ahoPd58xBDVrpiQN8i6RHyLcEU/PpVdpg9pzdfmT7/ 4K7cy/Xt8D9FArEEZRLceuBdiBavU3olj55bjmC8k+6ZYFyoJ7+eSCiJ74zA5Hw3vmT3 xnsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=QZrcuQ9yf2dvoM/LK+86CRpxpDI5KmyMnFr+EN3SZok=; b=OQnXVJCscIQssEn8zwgAPqcgZ5uDFIHTvB5kAS3PKmiLJEfxmcrxEtJIZfRYi7LApI hG/DBo007z0KUXoPnK7Qk2feRzSIELKq138PV4CeSpm0wc0k9Opwz9yKvY8WIdX7vuES e/N1JK6yPz3E14yGkIhGCgTnTEDRc3Wo7S+tEGiBy4rQdjOXgVpPEqfJFCXRfrbGk5Vp AJC8KisXr17gr98qFMjvkqeUEubZU9+isrZwkoVkzTNh3PX3Ne17FA/R3yrHJmUqncRz qqHwd7zudSdL3oVZ+GF62vselBPx5VOMy1u0/F0gdfllRTskMX5lJE3TMTe3zytauBOx ijEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=JQrn7jF9; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <stable-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ch18si32232418plb.76.2019.08.01.01.20.10; Thu, 01 Aug 2019 01:20:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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=JQrn7jF9; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-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 S1729796AbfHAIUK (ORCPT <rfc822;naresh.kamboju@linaro.org> + 14 others); Thu, 1 Aug 2019 04:20:10 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:40205 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728146AbfHAIUK (ORCPT <rfc822;stable@vger.kernel.org>); Thu, 1 Aug 2019 04:20:10 -0400 Received: by mail-pf1-f196.google.com with SMTP id p184so33598876pfp.7 for <stable@vger.kernel.org>; Thu, 01 Aug 2019 01:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=QZrcuQ9yf2dvoM/LK+86CRpxpDI5KmyMnFr+EN3SZok=; b=JQrn7jF9JWShYAafGE5jWBSK5tUub+i5d0k3JeBjKeEx25TQaSaJbJslZkhkHNb+bK QKBOKxd3TZf8QMlTT4Qt5XYcG6u0gxoFzgJwT9QQslAj+EWH0213vShsW2zuWb6VnBN2 H5nqpJQeFu8GwiuN5I9rEppi/LrPVQJLiPhzqWaMCg/XjRiHSzSHb+auX92vT2NvMfSj MBoOodjo+7SKXPMXm4C0zwbxomguH+XuMK4Ymqb3IImOa3xZSQsAVjfb1NvQn7qr7Flb UZDtChpZwh8Tl7v7Epe01QEqJaX1ymTnLN21DjAv3mfSq78I++NgjpoX8yq7M2x/pldO gZIQ== 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:mime-version:content-transfer-encoding; bh=QZrcuQ9yf2dvoM/LK+86CRpxpDI5KmyMnFr+EN3SZok=; b=b8DP9pSVM7Ow6VBW+5TLQ9Og0VKYjDPVaLAwrrkUmUI13xQi8oXDGwR5tCL6cNYgHP nO1ZSPAsUevMEm4SXD+RZQW2Hds6u8j7t557QR1niewQpOG73aOrv1J8DXC/l2Pruoe4 Vhsy0kyye7YaBaqdG+PLcDwxXxjSS/htX9T9PTiEKlFOcgQUhrxr+Am9o8wOSRtdVNfW nVThAPYx7mdls7c++yuju7HZBOuFVrcRTifhL1JEJLihEau8GBRAWW9gway43vX0xj62 o8TUKTQVKpwoQaJEdNMHnoAZvvHTmcFQ+Fb2Sw7OfQZMJA18+9VZXrTM5yQtJ320miki Wtcw== X-Gm-Message-State: APjAAAWZWJhMXjaaNqzIGuuHqFhL+Y0Xz0KXYl10UzGMLVezbMdLpHFP 4WVezNLou41ajBxaKldrizS1NGHC0NI= X-Received: by 2002:a65:518a:: with SMTP id h10mr116068175pgq.117.1564647609294; Thu, 01 Aug 2019 01:20:09 -0700 (PDT) Received: from localhost ([122.172.28.117]) by smtp.gmail.com with ESMTPSA id u16sm4035318pgm.83.2019.08.01.01.20.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Aug 2019 01:20:08 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> To: stable@vger.kernel.org Cc: Viresh Kumar <viresh.kumar@linaro.org>, Julien Thierry <Julien.Thierry@arm.com>, linux-arm-kernel@lists.infradead.org, Catalin Marinas <catalin.marinas@arm.com>, Marc Zyngier <marc.zyngier@arm.com>, Mark Rutland <mark.rutland@arm.com>, Will Deacon <will.deacon@arm.com>, Russell King <rmk+kernel@arm.linux.org.uk>, Vincent Guittot <vincent.guittot@linaro.org>, mark.brown@arm.com, guohanjun@huawei.com Subject: [PATCH ARM32 v4.4 V2 13/47] ARM: spectre: add Kconfig symbol for CPUs vulnerable to Spectre Date: Thu, 1 Aug 2019 13:45:57 +0530 Message-Id: <f894ea52cb1cc2e7bc2a791741b912387cb4c8e7.1564646727.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.21.0.rc0.269.g1a574e7a288b In-Reply-To: <cover.1564646727.git.viresh.kumar@linaro.org> References: <cover.1564646727.git.viresh.kumar@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: <stable.vger.kernel.org> X-Mailing-List: stable@vger.kernel.org |
Series |
V4.4 backport of arm32 Spectre patches
|
expand
|
diff --git a/arch/arm/mm/Kconfig b/arch/arm/mm/Kconfig index 41218867a9a6..7ef92e6692ab 100644 --- a/arch/arm/mm/Kconfig +++ b/arch/arm/mm/Kconfig @@ -396,6 +396,7 @@ config CPU_V7 select CPU_CP15_MPU if !MMU select CPU_HAS_ASID if MMU select CPU_PABRT_V7 + select CPU_SPECTRE if MMU select CPU_TLB_V7 if MMU # ARMv7M @@ -793,6 +794,9 @@ config CPU_BPREDICT_DISABLE help Say Y here to disable branch prediction. If unsure, say N. +config CPU_SPECTRE + bool + config TLS_REG_EMUL bool select NEED_KUSER_HELPERS