Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp94448imj; Thu, 14 Feb 2019 16:06:01 -0800 (PST) X-Google-Smtp-Source: AHgI3IYkA0BhBre0yy5v87B52AvpxMcH6tmao5OWil9bIL3Ox2KsTqJQfI+OrJEWP5YNnBvNQQz+ X-Received: by 2002:a63:6c43:: with SMTP id h64mr2412117pgc.22.1550189161409; Thu, 14 Feb 2019 16:06:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550189161; cv=none; d=google.com; s=arc-20160816; b=dh+QE2xrvn39FG0vQxWKvil2UU+hQiL62CATzFfyOrfo9cqieboHGfGaLuFNtT8fcy 7aLm82abPfjh0RRkg3go87hoVKDDWcQwFnlh9BunGYbYUsYMNlaFotv7YxPZFfUnrO6S pnVJ7wvRJqArd8J5QFQF2g98gcEJx+Umx5Z9aFIZzKoAfBsHOsa0dsmkHN5Bql9G4+Fy fCV5unFRdxcAPR7GIXyoEpMNBF7Jjet8M70Mpy3CLzFilxTLbyZ/RjXaV/MvDHK8RL9m UhG3ERdoSe52O43UT2W5d02EgJWwQIV0lUdDc93xYKthDPKUqxIdB5SIieJu2mWz41lr aL2g== 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=4OMBVou4qebwFqB5VwBh3FlAvgT21K5AaH/tbF5iY1Y=; b=aeeSN52BUzHJnmncg5gck/ERGLoUtU1s726a2EZgw4SMdWyJ/0S3VebHVIZMiboK2A U9U7C09ucWimHBxmwQmeNhqLPEyLkOwKU9vQEhFoPEQgg066LZ444ZETPws88UhGQr8M c6hdNaTjxGT3vsQAe54Q9AWILFqlhlhdEvwDTkmcZBa2Qpq+NjxrWKs0dkzESAfjJZ/H O3YSRyphxlCq+9AbVIvGWAU6mHpMNvfE52AWeg91RwtCwRV1XbDAyXNmYaRXWHCyJI/+ y7KoBGwfuV7V5QY/PEVXgwDpbTEIpUaCbSRbS+ItTy/ZUaOlLyDGGwLG2wllC32cfZfl MwuA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Y1iEwJhy; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n66si3835662pfg.249.2019.02.14.16.05.46; Thu, 14 Feb 2019 16:06:01 -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=@linaro.org header.s=google header.b=Y1iEwJhy; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2407259AbfBNOte (ORCPT + 99 others); Thu, 14 Feb 2019 09:49:34 -0500 Received: from mail-qt1-f193.google.com ([209.85.160.193]:33031 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390743AbfBNOte (ORCPT ); Thu, 14 Feb 2019 09:49:34 -0500 Received: by mail-qt1-f193.google.com with SMTP id z39so7146323qtz.0 for ; Thu, 14 Feb 2019 06:49:33 -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=4OMBVou4qebwFqB5VwBh3FlAvgT21K5AaH/tbF5iY1Y=; b=Y1iEwJhyidP/O2f5pszWUmSXx0GZ2nZ9z4jJB1hIXquDGcvmpyuuzISOxVK4cf+j05 0zr1eAv/Pl6+cFlW0CgKImM47UjXPAd5nWrxkk01JfC1JIWxwzVGBheMaHkBkbLt3eoW n/PRV3I1H5rmPNpre0hdblJ+8nl/JBGg7grabgllOSuIkSo66A4tsfHpZR5Fhlee88JQ T1ZhGlth3sNpjuKBfMLqJf6Dr1PIqK/xurdTC1On0P5Wcak0EJlsvUSxr96Ld5ITJ+tt 4Zh7I20OzvMQCY1eMJz+6gbv58RrAQoUL4bZVL5LdrioHe7hNxqpZcEDfFPs/ftE+v4O eUeA== 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=4OMBVou4qebwFqB5VwBh3FlAvgT21K5AaH/tbF5iY1Y=; b=oVRe02tpHXapOCV2JXFEsI3QsZcJl4fRGWHJ/lxmEhRbuSZg+qIpRHAl7kjYE07iLH Gw6zgO/n9QXLiZ0pImPOo1U+1MhYiR82/drp1Z/tyk2RTTRpc9N0wJvrjiyuC4ldgdvF lZxHWDsshLb6Etx5mLH3fHEQ/XUwhD/RIpVPLB2OK/C6hjrhFyk0+LchpnVx/iPg6SZH gEIKO78ATrrwDJTRpKGpkYknrz4pPI3J5LcbZh25rpbyHXFvP6tyVkVlhncbk3Txr/C4 UZuR4b/PpwxJnp1zvAsRTAEIHhJG/HzI46j82wSAyO7BrahlRzzFDxgwnn/stYYe6FNZ Kwxw== X-Gm-Message-State: AHQUAuZAfwTcSIOjYRbf0n6nA5YUHEFNXfGHboM8hR5gnWeUBiiey8TU rmBsdfqnWqmJhariOELcQwWDBw== X-Received: by 2002:ac8:1e84:: with SMTP id c4mr3304948qtm.181.1550155772912; Thu, 14 Feb 2019 06:49:32 -0800 (PST) Received: from localhost.localdomain (pool-72-71-243-63.cncdnh.fast00.myfairpoint.net. [72.71.243.63]) by smtp.googlemail.com with ESMTPSA id k66sm1498919qkc.25.2019.02.14.06.49.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 Feb 2019 06:49:32 -0800 (PST) From: David Long To: stable@vger.kernel.org, Russell King - ARM Linux , Florian Fainelli , Julien Thierry , Tony Lindgren , Marc Zyngier , Greg KH , Mark Rutland Cc: Will Deacon , Mark Brown , linux-kernel@vger.kernel.org Subject: [PATCH 4.9 00/16] V4.9 backport of more 32-bit arm spectre patches Date: Thu, 14 Feb 2019 09:49:14 -0500 Message-Id: <20190214144930.27539-1-dave.long@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "David A. Long" V4.9 backport of spectre patches from Russell M. King's spectre branch. Patches have been kvm-unit-test'ed on an arndale, run through kernelci, and handed off to ARM for functional testing. Julien Thierry (9): ARM: 8789/1: signal: copy registers using __copy_to_user() ARM: 8791/1: vfp: use __copy_to_user() when saving VFP state ARM: 8792/1: oabi-compat: copy oabi events using __copy_to_user() ARM: 8793/1: signal: replace __put_user_error with __put_user ARM: 8794/1: uaccess: Prevent speculative use of the current addr_limit ARM: 8795/1: spectre-v1.1: use put_user() for __put_user() ARM: 8796/1: spectre-v1,v1.1: provide helpers for address sanitization ARM: 8797/1: spectre-v1.1: harden __copy_to_user ARM: 8810/1: vfp: Fix wrong assignement to ufp_exc Russell King (7): ARM: make lookup_processor_type() non-__init ARM: split out processor lookup ARM: clean up per-processor check_bugs method call ARM: add PROC_VTABLE and PROC_TABLE macros ARM: spectre-v2: per-CPU vtables to work around big.Little systems ARM: ensure that processor vtables is not lost after boot ARM: fix the cockup in the previous patch arch/arm/include/asm/assembler.h | 11 +++++ arch/arm/include/asm/cputype.h | 1 + arch/arm/include/asm/proc-fns.h | 61 +++++++++++++++++++++----- arch/arm/include/asm/thread_info.h | 4 +- arch/arm/include/asm/uaccess.h | 49 ++++++++++++++++++--- arch/arm/kernel/bugs.c | 4 +- arch/arm/kernel/head-common.S | 6 +-- arch/arm/kernel/setup.c | 40 ++++++++++------- arch/arm/kernel/signal.c | 70 ++++++++++++++++-------------- arch/arm/kernel/smp.c | 32 ++++++++++++++ arch/arm/kernel/sys_oabi-compat.c | 8 +++- arch/arm/lib/copy_from_user.S | 6 +-- arch/arm/lib/copy_to_user.S | 6 ++- arch/arm/lib/uaccess_with_memcpy.c | 3 +- arch/arm/mm/proc-macros.S | 10 +++++ arch/arm/mm/proc-v7-bugs.c | 17 +------- arch/arm/vfp/vfpmodule.c | 20 ++++----- 17 files changed, 240 insertions(+), 108 deletions(-) -- 2.17.1