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=-8.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS 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 14917C4320E for ; Fri, 13 Aug 2021 11:59:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E6A9C610CF for ; Fri, 13 Aug 2021 11:59:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239927AbhHML73 (ORCPT ); Fri, 13 Aug 2021 07:59:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239493AbhHML71 (ORCPT ); Fri, 13 Aug 2021 07:59:27 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 44A12C0617AD for ; Fri, 13 Aug 2021 04:59:00 -0700 (PDT) Received: by ozlabs.org (Postfix, from userid 1034) id 4GmMXd5VTHz9sX5; Fri, 13 Aug 2021 21:58:57 +1000 (AEST) From: Michael Ellerman To: Finn Thain , Benjamin Herrenschmidt , Michael Ellerman , userm57@yahoo.com, Christophe Leroy , Paul Mackerras Cc: linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org In-Reply-To: <731694e0885271f6ee9ffc179eb4bcee78313682.1628003562.git.christophe.leroy@csgroup.eu> References: <731694e0885271f6ee9ffc179eb4bcee78313682.1628003562.git.christophe.leroy@csgroup.eu> Subject: Re: [PATCH] powerpc/32s: Fix napping restore in data storage interrupt (DSI) Message-Id: <162885586674.2317031.2615926550981438565.b4-ty@ellerman.id.au> Date: Fri, 13 Aug 2021 21:57:46 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Aug 2021 15:14:27 +0000 (UTC), Christophe Leroy wrote: > When a DSI (Data Storage Interrupt) is taken while in NAP mode, > r11 doesn't survive the call to power_save_ppc32_restore(). > > So use r1 instead of r11 as they both contain the virtual stack > pointer at that point. Applied to powerpc/fixes. [1/1] powerpc/32s: Fix napping restore in data storage interrupt (DSI) https://git.kernel.org/powerpc/c/62376365048878f770d8b7d11b89b8b3e18018f1 cheers