Received: by 10.223.185.116 with SMTP id b49csp1138037wrg; Wed, 14 Feb 2018 12:12:34 -0800 (PST) X-Google-Smtp-Source: AH8x226swj5nWvkra8FeTdAgS/a/frzszGeS5bYfIDjlHRLIVOnYi4FCDwSdML3nvvgytIDGJMMV X-Received: by 10.167.130.12 with SMTP id k12mr233601pfi.73.1518639154388; Wed, 14 Feb 2018 12:12:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518639154; cv=none; d=google.com; s=arc-20160816; b=z07awu5vXEVN/oEFDVkZunIJfre/x2LJmMY71RB1ZJIZ3Qzo5kemsycq6nWO+gDjWg WYqxF8DKGpBBVn9qJzsXRo18Jes4zILC2l1O86hnxjk/Vl+s1BAhOURq33+cQ4r8/KWK Yz8iFo4X+AiYNjvJ6FaHMeklayzXDKjPiZzD2tunEkLX2QiaeCtmUJS3IZXSTF/WkV4/ VucU3aS1RO1yX4XJtnkCfNbAlGLTxdnTo8pHZ5+6PyfULNZHwNZmwJeLB8aExFK5BpCC MOUm0EgQVDKnjMSNAG516XSSDRH58UHRiFpXNL+GiBIG+lAA701XOWOW4rUWsOoY1zPe SGuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=l7qv0TlIlIzDmPYIkfeJG5dzY2Cn1yPr0HHDK+MwerI=; b=03riHq0xjemAOZSd6BvyAAmiZROwEPIb3J8Nv22Qj8uDCug0ovsdRFmA9qcT0UrC7/ /2qbF+pv9vy4Zzoj4IQXmQtM7QmG3/BaUVHfP7g4bZEXnusGkUA6YDEKQg0BsdDNDEGM J3on4LcV5kZdFlftGn34XB70ZTJF9EeHiysOUKv9Xjjf34+V7hg7jR5GEMlNnZbsd2ws B/TCyWuf1K4QOr7HmzT0ny2q29R65/5QDmBRY+juNXx32mPIqBO0agaVWWxCaGdE0kl3 J4WAX3L8Ri2DIM3H+4L4NmqcUo4bsfmgukpeXwBXyq8UC3JU8sl686RoBeWu2a3MZ8f3 Zg+w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c10si3305066pfk.33.2018.02.14.12.12.19; Wed, 14 Feb 2018 12:12:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161904AbeBNSWq (ORCPT + 99 others); Wed, 14 Feb 2018 13:22:46 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:47732 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161764AbeBNSWp (ORCPT ); Wed, 14 Feb 2018 13:22:45 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 45332ED4; Wed, 14 Feb 2018 18:22:44 +0000 (UTC) Date: Wed, 14 Feb 2018 19:22:46 +0100 From: Greg KH To: Ard Biesheuvel Cc: stable@vger.kernel.org, Linux Kernel Mailing List , Will Deacon , Catalin Marinas , Marc Zyngier , Mark Brown , linux-arm-kernel Subject: Re: [GIT PULL] arm64 spectre and meltdown mitigations for v4.14-stable Message-ID: <20180214182246.GB4611@kroah.com> References: <20180212113801.2552-1-ard.biesheuvel@linaro.org> <20180214135420.GB24189@kroah.com> <20180214154033.GA2745@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 14, 2018 at 03:49:36PM +0000, Ard Biesheuvel wrote: > On 14 February 2018 at 15:40, Greg KH wrote: > > On Wed, Feb 14, 2018 at 02:34:01PM +0000, Ard Biesheuvel wrote: > >> On 14 February 2018 at 14:24, Ard Biesheuvel wrote: > >> > On 14 February 2018 at 13:54, Greg KH wrote: > >> >> On Mon, Feb 12, 2018 at 11:38:01AM +0000, Ard Biesheuvel wrote: > >> >>> Hi Greg, > >> >>> > >> >>> As mentioned by Will, I have created the v4.14 counterpart of his stable > >> >>> backport of the arm64/ARM Spectre/Meltdown mitigations that have been pulled > >> >>> into v4.16-rc1. > >> >>> > >> >>> Given that this is the v4.15 version backported to v4.14, I have removed any > >> >>> mention of 'conflicts' from the commit logs as they are now ambiguous. The > >> >>> patches applied surprisingly cleanly, I only needed to drop two patches that > >> >>> are already in (the same ones Will mentioned in his PR), and drop another one > >> >>> dealing with SPE, support for which did not exist yet in v4.14. I also included > >> >>> the patch > >> >>> > >> >>> arm64: move TASK_* definitions to > >> >>> > >> >>> from v4.15 to make Robin's Spectre v1 patches apply more cleanly. > >> >> > >> >> I've queued these up now, but if you could pull the whole quilt tree and > >> >> verify I got things right, that would be great. There was some > >> >> conflicts with a few previous patches I had already queued up that > >> >> touched some "Falkor" errata code. > >> >> > >> >> Specifically 932b50c7c1c65e6f23002e075b97ee083c4a9e71 "arm64: Add > >> >> software workaround for Falkor erratum 1041" is the offending patch. I > >> >> think I resolved the merge issues properly, but verifying this would be > >> >> wonderful. > >> >> > >> > > >> > No, the build is broken now. I will investigate. > >> > >> Your patch 977c3d2cb684e143a18e1564fbf5ecf7576a1c98 > >> > >> arm64: Move post_ttbr_update_workaround to C code > >> > >> removes the pre_disable_mmu_workaround macro from asm/assembler.h but > >> it should only remove post_ttbr_update_workaround > >> > >> Once I add that back, things seem to build and run as expected. > > > > Can you provide a "fixed" version of just this patch so I know to get it > > correct? > > > > Sure. I will send it in a separate email, or Gmail will clobber the patch. Thanks for that, I've now replaced it. greg k-h