Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp956184pxb; Fri, 13 Aug 2021 10:01:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyEjT1cz9FKZyLLnJkiWxc6e/B14blCMAbE0IAwyau4Zxi1q35ww2rserFg3Jvyyx7tW8J7 X-Received: by 2002:a17:907:9688:: with SMTP id hd8mr3486383ejc.484.1628874071543; Fri, 13 Aug 2021 10:01:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628874071; cv=none; d=google.com; s=arc-20160816; b=W1EsaT/p516mlFn4Cewf9Bx9NZSv7ZEnNN5+wU8MXb/jpNOTfyaD/iYplKgVQFFR/6 +ICP0WIUMZspEfmm15Br1r+7omYeInT2CzFzoLFhaZ4Tom6ha0wivwoyK0rbokAM7EBT 7DpuHG72Ow6avtgJVY6f/9kOSQyqifxqu57RVxLUVFHRJ0k2IuvOmE2ZQPcxniBQRv6X wMC9N7mytYRpetmI3f0tIdVogXRUZuAfudPHo5rnMLpS83QHDuCji0nIQ04cOiGNs7N2 PokndPDKL9XAl2dw/mfxDEkD1470WCiCBH81itlpj/UFQhxZJjBykp0019W3K2zcu7Gv I3Tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version:date :message-id:subject:references:in-reply-to:cc:to:from; bh=Jwxt+ZVc1tK0OVF5WGWZbx0krpikmWziEOV00JlNPGw=; b=i1AwtGe9DX0CJiZ81bTijMYdat2SKtDiu3PqpfPafoBkL9I28byq/sWWtB6L55IBqk ty+DgBGT/IxYaOzrXrW6N+pe4DB7yJNsOJpwh9mzdx10ct/Cy65G/4x5571yUTnda00o u37N33o1dvnZhOCdEEhJPEXV/xLrPlOB0a4KnrDQNA8q7JLTzY9yAuJsYvMC4VieqYbG LXktPm9YhxiiaYkTvv9vYsOA4W/PxFjX9RdSV68x84Z6X3Mjv8om0p4dG8WEpdQ6OzYi KtogEXF/2h0LwdCn7R6SsNW+kmxWF6ysyJbjccCpkZVF1Ww7ZC2hUOKvaFiJhXM6Y29O vgsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jg5si2026636ejc.378.2021.08.13.10.00.47; Fri, 13 Aug 2021 10:01:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239891AbhHML72 (ORCPT + 99 others); Fri, 13 Aug 2021 07:59:28 -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