Received: by 10.223.185.116 with SMTP id b49csp1091402wrg; Fri, 23 Feb 2018 11:46:53 -0800 (PST) X-Google-Smtp-Source: AH8x2260/7GKd7+zu2ll95YnvmXafV8FUU3i/NmSOhT6zd9gvGYHuzmbMly6vdXXy9IGsedbRIRC X-Received: by 2002:a17:902:a504:: with SMTP id s4-v6mr2774250plq.43.1519415213004; Fri, 23 Feb 2018 11:46:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519415212; cv=none; d=google.com; s=arc-20160816; b=EJlKcGYh9diWVvqr1iq2c6l2E7q29wZOs/uE+VDUtPZAvblflhzPe5ob2FvSkwos2d 3y5zz+RTYTX8ED3fXnwhl18STgeSzKVZkjlwWmkIS2VhzhMD4MaCESQgOaJ677IGvt+N Jtt2W6+X5WMkrTPv1NjCSwSIlYXdIqmYgUkQSQVrvAP3RbFWX9sgzCHHIegMm+FhznxC 2/wwmaDpMapKYFCuvXAmMQyocKoxmwvWGqBLp7Mzk/M5geraWaFScdWqMmgjYK3AJdcE h0xmHUGtnP9xzNO77Hep9EsoOTmD7ToiXYxlGnqxOmt7hZzIRyejk9H5sGZWdI3Z9/Y3 /8jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=oGvRl6Lfo6kFqm2EZCcaq1+hUKpmXdnrjv8ftQOabUU=; b=MBhW3Qo+E42rStLy2RhtwDOcbrBZnUSQd0ylNwoZQ1TIuPKoNtsO8cE5kQnuhRPC4/ aYM6HTN9x0CbNix/pkkQ6eV/ruWfnR1V1lbttphDGLllwL/wl43yrjyV6GfQgz6yp4hp Q/Q4blPcZvnmLiKFOlEJGZN+Nw+LY2jCTxzhWPV1vf9qMTa5SOGEGB+pVksmsH2/mxgm NXfuKZEmNrIRXvM/VFzcKDuGQF6/CKZQAi03Ualll09qVoFnrduWqvBr325ydL/K6Mo3 3DjI149J9MMsMICOe8xCUE9r+2siZQzJ++tMDitZn98lylrVBUmBz9vIHT48PMHcW/6x iM6Q== 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 f20-v6si2220703plj.254.2018.02.23.11.46.38; Fri, 23 Feb 2018 11:46:52 -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 S934288AbeBWSsA (ORCPT + 99 others); Fri, 23 Feb 2018 13:48:00 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:44678 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934258AbeBWSrv (ORCPT ); Fri, 23 Feb 2018 13:47:51 -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 04DA9EBD; Fri, 23 Feb 2018 18:47:50 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman Subject: [PATCH 4.9 087/145] powerpc/64s: Fix conversion of slb_miss_common to use RFI_TO_USER/KERNEL Date: Fri, 23 Feb 2018 19:26:33 +0100 Message-Id: <20180223170735.992723075@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180223170724.669759283@linuxfoundation.org> References: <20180223170724.669759283@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michael Ellerman The back port of commit c7305645eb0c ("powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL") missed a hunk needed to restore cr6. Fixes: 48cc95d4e4d6 ("powerpc/64s: Convert slb_miss_common to use RFI_TO_USER/KERNEL") Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/kernel/exceptions-64s.S | 1 + 1 file changed, 1 insertion(+) --- a/arch/powerpc/kernel/exceptions-64s.S +++ b/arch/powerpc/kernel/exceptions-64s.S @@ -680,6 +680,7 @@ END_MMU_FTR_SECTION_IFCLR(MMU_FTR_TYPE_R .machine push .machine "power4" mtcrf 0x80,r9 + mtcrf 0x02,r9 /* I/D indication is in cr6 */ mtcrf 0x01,r9 /* slb_allocate uses cr0 and cr7 */ .machine pop