Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 18C34C43387 for ; Thu, 10 Jan 2019 17:51:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DEC8520685 for ; Thu, 10 Jan 2019 17:51:54 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=linaro.org header.i=@linaro.org header.b="Dt9vNr+V" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730556AbfAJRvy (ORCPT ); Thu, 10 Jan 2019 12:51:54 -0500 Received: from mail-qt1-f196.google.com ([209.85.160.196]:44446 "EHLO mail-qt1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729480AbfAJRvy (ORCPT ); Thu, 10 Jan 2019 12:51:54 -0500 Received: by mail-qt1-f196.google.com with SMTP id n32so14240466qte.11 for ; Thu, 10 Jan 2019 09:51:53 -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=Z24IuJtq56mYQVYDe63xwmln6Rz9g5OGfWKiAT9e1uY=; b=Dt9vNr+V01bWda5J9bDpxnyeB/ejWIXFeo/gNNtMQxQP2EDorlOf5N4nOrQS7Z+nN9 KF2tda9XfwLHUtv4MwUnkvIe2GQsVCc39W0dNUGDiS0X30h5MFsrsDaDkXTAUBKdhmh2 o39zQfqBACJ4/fwuQPIJad/8ncvVKmK/4H3ZY= 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=Z24IuJtq56mYQVYDe63xwmln6Rz9g5OGfWKiAT9e1uY=; b=OWFVmSm976aWQ/bqInhfgfDQpNQmd5b2j9SEiNGHkc1LsNr0L0b9r+pv+6DafCDRgz 8gnqwLlQBNa/cedYcpGpGUUuSOADUSMJ30Bjknzs5sd7zHJABxKT3UY8oR3whyZNpdGb xwU68Cstw4SFwdPYcY2KdO1owqSwR3FR7RG0qiSTriJYHAHFqQZ6ajP8VJLR3KyUSmT8 LiK702EDjg6FLOANTZFf/xZwQATuUKz0Lvbb76q44Mj+mGs18VJlZE9gQ/LDlE3SXqlY F0KcSjblDdxdtl2Eqg9xUwpDLMX8j7a7pQiY8S4uPNEdBF4Eb48dFng2BjswS7uyVZCb u0WA== X-Gm-Message-State: AJcUukc+UJj6/J4yWfXS+dpiqqkkwm2hlpohPbLwCPTB7fUKPFzBGDvG ocKcTibAIGeTsXqS/ww/hnDcX4TYdOI= X-Google-Smtp-Source: ALg8bN6yfOTr8Brnt57cggDYrosNV70sxzpRqaZ8f12dhU8LAskU3NzgUR5nnW908TKzRnVz+kFCSQ== X-Received: by 2002:a37:1f6a:: with SMTP id f103mr9910481qkf.138.1547142712593; Thu, 10 Jan 2019 09:51:52 -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 b8sm41815904qka.79.2019.01.10.09.51.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Jan 2019 09:51:51 -0800 (PST) From: David Long To: stable@vger.kernel.org, Russell King - ARM Linux , Florian Fainelli , Julien Thierry , Tony Lindgren , Marc Zyngier , Mark Rutland Cc: Greg KH , Mark Brown Subject: [PATCH 4.14 00/17] V4.14 backport of more 32-bit arm spectre patches Date: Thu, 10 Jan 2019 12:51:33 -0500 Message-Id: <20190110175150.5239-1-dave.long@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org From: "David A. Long" V4.14 backport of spectre patches from Russell M. King's spectre branch. Julien Thierry (10): ARM: 8789/1: signal: copy registers using __copy_to_user() ARM: 8790/1: signal: always use __copy_to_user to save iwmmxt context 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 | 80 ++++++++++++++++-------------- arch/arm/kernel/smp.c | 31 ++++++++++++ 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, 245 insertions(+), 112 deletions(-) -- 2.17.1