Received: by 10.223.185.116 with SMTP id b49csp1137430wrg; Wed, 14 Feb 2018 12:11:57 -0800 (PST) X-Google-Smtp-Source: AH8x225mSE0wXT3gUJDHih9/POyUNrL+84r0sF716hruJot0zx1OFJPgjxS/xCyOtUvFRZLZnlaa X-Received: by 10.99.146.3 with SMTP id o3mr154314pgd.309.1518639117616; Wed, 14 Feb 2018 12:11:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518639117; cv=none; d=google.com; s=arc-20160816; b=0+7WHhdxXXX/dj3Z5DqvME9AThg7+zbsCHyIYcGq4FMCOJfSuR82PVy5tLuotlZxxe g89/OwTLblFJ+MFY8+xvof7u06ExBhgvh23FhQlTPqmcOze7RdfOFula6egKjbL8AFNN ocAaXOJn2ND5NYDiVuXxK8kJCWCiv/LY+JBYdIVXJk3k+XNjgPITUFiC1NHcYY5IKACl 134hvZzD6W6/7E2TkeHs9NEPUlCMIK+fmle+co+ZaMvDdYzf2jWRCZ2sm+ZBUGdqy66C NY80wofN0YDZkfFYXHsgU6PTMFwNraQwmEoF+Eo/spv9Lt6ky3XKVmFPup1/F3jAc6YB T7Vg== 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=/ptHmaQi1aIOvwUVjfFUQBYpn6jWy9zdjGZ8zgCnpiY=; b=nEc/TmlWq/VGqQT4UBhOaXiHKXIzRLg4WT5z7s0xIAsjukaoiN8ofFm9F3x+TjrIyO svstw9ssKFCst1uZ2Z9f5ktwQ5EWhXpuUQXG75vmv6kUUvAgneHWVyIXHi+GfR8V5BPD hOt1P47HxFR9ixQtLuYvTEzPhnaUzwP+mW8YjxDQiRCq4NUZWcyrE+ki9Hu3ogL3FVNo It8Y630yktYG32+8A9qkxE1rLXdf50bY+Ib2Y3zYoU5LeAbxEhzaOkSV/H25DPH/xMJw GRTEB8wzyNuPEeIt9bb3iJHijApegZftc5JH//ClEWqRllDSvKsGt0kFiVuExW0jEvG5 idPA== 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 g4si140214pgr.797.2018.02.14.12.11.42; Wed, 14 Feb 2018 12:11:57 -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 S1161918AbeBNSXV (ORCPT + 99 others); Wed, 14 Feb 2018 13:23:21 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:47704 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161864AbeBNSWg (ORCPT ); Wed, 14 Feb 2018 13:22:36 -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 36DCAF79; Wed, 14 Feb 2018 18:22:35 +0000 (UTC) Date: Wed, 14 Feb 2018 19:22:36 +0100 From: Greg KH To: Ard Biesheuvel Cc: stable@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, will.deacon@arm.com, catalin.marinas@arm.com, broonie@linaro.org, marc.zyngier@arm.com Subject: Re: [PATCH] arm64: Move post_ttbr_update_workaround to C code Message-ID: <20180214182236.GA4611@kroah.com> References: <20180214154033.GA2745@kroah.com> <20180214155140.27162-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180214155140.27162-1-ard.biesheuvel@linaro.org> 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:51:40PM +0000, Ard Biesheuvel wrote: > From: Marc Zyngier > > Commit 95e3de3590e3 upstream. > > We will soon need to invoke a CPU-specific function pointer after changing > page tables, so move post_ttbr_update_workaround out into C code to make > this possible. > > Signed-off-by: Marc Zyngier > Signed-off-by: Will Deacon > Signed-off-by: Catalin Marinas > Signed-off-by: Ard Biesheuvel > --- > arch/arm64/include/asm/assembler.h | 13 ------------- > arch/arm64/kernel/entry.S | 2 +- > arch/arm64/mm/context.c | 9 +++++++++ > arch/arm64/mm/proc.S | 3 +-- > 4 files changed, 11 insertions(+), 16 deletions(-) Thanks, now applied. greg k-h