Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp24230ybp; Thu, 3 Oct 2019 09:39:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyJUYwpoxuPPP6DBXn0pxebFQRTEJEBckrILfAniyvjyXgTywNS6Ch2d61tAlK9mE/XzVLZ X-Received: by 2002:aa7:cf81:: with SMTP id z1mr10548037edx.224.1570120771910; Thu, 03 Oct 2019 09:39:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570120771; cv=none; d=google.com; s=arc-20160816; b=KCH5y/nSeAVh01unMjSrlhqhfQ0zGX+oQU2wVgDJ5A5Y6GnZgmS1pc6WXbjDo7ozml pp/PU3pWTBw7H+kgIr3KrVurTWkHNE08nDddphA3H1Y+yS01FSXYD9inAhpv3qtuOXkU MeT60qMwyznK/9a9XIdDHuSGw4fUY6M/gQAV47XnvgMSQyhnUJrRuXPPGfNxNlup40lZ H6aYfygKnTL6wn8UrHJHX/qNp0AHJHMZWZkRYLCcIZdxbPEO659QKdt7x/UuB0URq0fY gvoTlSVydBevgQsILjSlyDyWmRERDF6uzPMR/GoxgBgNvQienorIgBhin9QGdjVtOMfB NFrw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ErY3/zVS1cI8CDo/jWOZvDFe9xgl/bbvUgwVowG+WdM=; b=QdU0qT9EcpCF+fjRQ0L5rUFcp8d68yjoQHqxafMibqxp90Bhh5FVXHEMFJtECqu2Lg F8Y5uvmVgUas3bUktshtF9A92+5tdGFAY4jUw7YycMJZZ1Cbf9A1O3xR71keii+usb3m dBMIrEc2GtiYzNQXQemkVApPfJBe2DJwJPPZfcDO17d6dlMra/Xa2GuTWPh4lQFE/na+ rZOAJR+rnEHvcoReJIseSrSjymK+P/rzPUDwNQKLoro/zXikhD+LpGnaras/tn+jKr0D 7Zm5Tys5+1vBOCvgx2LRwgUQFUsqKxyLRcit9Vg1OeqVLUlsb9Gp+PWsR02js/RQv0+5 +npw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="kGI0iF+/"; 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 b22si1857425eda.194.2019.10.03.09.39.06; Thu, 03 Oct 2019 09:39:31 -0700 (PDT) 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=@kernel.org header.s=default header.b="kGI0iF+/"; 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 S2404265AbfJCQfa (ORCPT + 99 others); Thu, 3 Oct 2019 12:35:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:44360 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2404097AbfJCQf1 (ORCPT ); Thu, 3 Oct 2019 12:35:27 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 9C9C020830; Thu, 3 Oct 2019 16:35:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1570120527; bh=60vSsisF/vTpEUWXN2OtyUqye/8pSQ8hFzP0MuHfmlA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kGI0iF+/4hyJelo+2rttYCWR/qKyvvsoilAf7qiegRdFwddFcP5+sd6lH+w3vXCP4 wKyMUNEmCIKFzM3/ZENZVijNhkWMPQByFMypqOatUPp7rTblbho+Yf5jxizZWUKsev GlUYG/6KA0fayIjb+DsItcs7ObCrhC7yuoU1serE= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mark Rutland , Will Deacon Subject: [PATCH 5.2 256/313] arm64: tlb: Ensure we execute an ISB following walk cache invalidation Date: Thu, 3 Oct 2019 17:53:54 +0200 Message-Id: <20191003154558.256083626@linuxfoundation.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191003154533.590915454@linuxfoundation.org> References: <20191003154533.590915454@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Will Deacon commit 51696d346c49c6cf4f29e9b20d6e15832a2e3408 upstream. 05f2d2f83b5a ("arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable") added a new TLB invalidation helper which is used when freeing intermediate levels of page table used for kernel mappings, but is missing the required ISB instruction after completion of the TLBI instruction. Add the missing barrier. Cc: Fixes: 05f2d2f83b5a ("arm64: tlbflush: Introduce __flush_tlb_kernel_pgtable") Reviewed-by: Mark Rutland Signed-off-by: Will Deacon Signed-off-by: Greg Kroah-Hartman --- arch/arm64/include/asm/tlbflush.h | 1 + 1 file changed, 1 insertion(+) --- a/arch/arm64/include/asm/tlbflush.h +++ b/arch/arm64/include/asm/tlbflush.h @@ -251,6 +251,7 @@ static inline void __flush_tlb_kernel_pg dsb(ishst); __tlbi(vaae1is, addr); dsb(ish); + isb(); } #endif