From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT 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 68421C04AB3 for ; Mon, 27 May 2019 13:56:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1FD0320665 for ; Mon, 27 May 2019 13:56:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="iyVz1i2P"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Q2r+Hchm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1FD0320665 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=bI7WoXjzZq7Bclj6TCz6SMd9zKkqNpWB6b3hJF/quTI=; b=iyVz1i2PSwi2Y7 7EgfZ8GUwVCDoPjr5kh531pogxP7cWmuyHGle2uibXDJUsWp4civbGwVm1n0Pyb8BBiCmKPzJ1/je aQyU14Tk7hBdqGIyyOsOzQb7MaxuyypENt4KPTRapoOqKzgFgkJh0PNoyEu19IFiJ8I8rB/dKpWx0 WNB2pH/sVqvL+CMHsLyF3rNomSm/1EOohi7DPR/9zfaB/FlIrCKWn6bs0FPOv1h1wNp745Zy3//gi 6NaFOC1AFblYO2LhokLtZBIKj6JfuyviNWai4ODeY20qROLM/plPPf1nWNDtYXW3IQMRHBjxFRS+S 9S13YipFCgqjeBSWR0hw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVG6h-0006tX-IF; Mon, 27 May 2019 13:56:07 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hVG6d-0006r0-Gu for linux-arm-kernel@lists.infradead.org; Mon, 27 May 2019 13:56:05 +0000 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 6C4F120665; Mon, 27 May 2019 13:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558965362; bh=7nAEx+NEYoct6Lsn//YELk+M+9k47SCsZD+tBmiWwMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q2r+HchmvjCQjRXjqu8bFPd9MoncBBHw0AleyBNg9uXe8iQrDSIpoAWV8EWjdmYbo pMgwCkPxoAMMMWXgu47XTb2H1Zan7nMkrLl/gLDzS76teyVMk2i1d7w1upsCwT4eao GQPNL1n1GYa29nLlbeHCXWP454EVBUTnc+j0zYl8= Date: Mon, 27 May 2019 15:56:00 +0200 From: Greg KH To: Jean-Philippe Brucker Subject: Re: [PATCH stable 4.9] arm64: Save and restore OSDLR_EL1 across suspend/resume Message-ID: <20190527135600.GA7659@kroah.com> References: <155809593723029@kroah.com> <20190523152733.28069-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190523152733.28069-1-jean-philippe.brucker@arm.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190527_065603_652747_F85EDB04 X-CRM114-Status: GOOD ( 10.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: catalin.marinas@arm.com, will.deacon@arm.com, linux-arm-kernel@lists.infradead.org, stable@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 23, 2019 at 04:27:33PM +0100, Jean-Philippe Brucker wrote: > commit 827a108e354db633698f0b4a10c1ffd2b1f8d1d0 upstream > > When the CPU comes out of suspend, the firmware may have modified the OS > Double Lock Register. Save it in an unused slot of cpu_suspend_ctx, and > restore it on resume. > > Signed-off-by: Jean-Philippe Brucker > Signed-off-by: Will Deacon > --- > Modified for v4.9 backport: 623b476fc815 and 6d99b68933fb are missing in > v4.9, but the conflict is easily resolved. > > Tested on Juno with cpuidle. Now queued up, thanks. greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel From mboxrd@z Thu Jan 1 00:00:00 1970 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=-5.5 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT 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 14D91C04AB3 for ; Mon, 27 May 2019 13:56:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DB29A20883 for ; Mon, 27 May 2019 13:56:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558965363; bh=7nAEx+NEYoct6Lsn//YELk+M+9k47SCsZD+tBmiWwMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=MSce0lHEZPs9P9TSl31rv+J0hlv8qKM6+P+rWyFOhfATqGmlPqPS68oVZULTJaQV2 cGwJIM+kuJcYgDrX5La0Em/jCqJMToO1B5w8+pVc78Y6DLTDGC9kIudBAi2VJL+yL5 MIbsFE3BV3kHPS7BoKjye73bEAwYea3oKIWRLZYk= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726209AbfE0N4D (ORCPT ); Mon, 27 May 2019 09:56:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:33750 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726115AbfE0N4D (ORCPT ); Mon, 27 May 2019 09:56:03 -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 6C4F120665; Mon, 27 May 2019 13:56:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558965362; bh=7nAEx+NEYoct6Lsn//YELk+M+9k47SCsZD+tBmiWwMc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q2r+HchmvjCQjRXjqu8bFPd9MoncBBHw0AleyBNg9uXe8iQrDSIpoAWV8EWjdmYbo pMgwCkPxoAMMMWXgu47XTb2H1Zan7nMkrLl/gLDzS76teyVMk2i1d7w1upsCwT4eao GQPNL1n1GYa29nLlbeHCXWP454EVBUTnc+j0zYl8= Date: Mon, 27 May 2019 15:56:00 +0200 From: Greg KH To: Jean-Philippe Brucker Cc: stable@vger.kernel.org, will.deacon@arm.com, catalin.marinas@arm.com, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH stable 4.9] arm64: Save and restore OSDLR_EL1 across suspend/resume Message-ID: <20190527135600.GA7659@kroah.com> References: <155809593723029@kroah.com> <20190523152733.28069-1-jean-philippe.brucker@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190523152733.28069-1-jean-philippe.brucker@arm.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Thu, May 23, 2019 at 04:27:33PM +0100, Jean-Philippe Brucker wrote: > commit 827a108e354db633698f0b4a10c1ffd2b1f8d1d0 upstream > > When the CPU comes out of suspend, the firmware may have modified the OS > Double Lock Register. Save it in an unused slot of cpu_suspend_ctx, and > restore it on resume. > > Signed-off-by: Jean-Philippe Brucker > Signed-off-by: Will Deacon > --- > Modified for v4.9 backport: 623b476fc815 and 6d99b68933fb are missing in > v4.9, but the conflict is easily resolved. > > Tested on Juno with cpuidle. Now queued up, thanks. greg k-h