Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7106656rwd; Mon, 19 Jun 2023 18:34:07 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ53O/I2Gmd66NeKQGNqMQgsMheaOayfHJn54BIH5U9MjqNjMKL7O+TDqSThWowzgCGFl2BG X-Received: by 2002:a17:902:f351:b0:1b5:3c2c:76ee with SMTP id q17-20020a170902f35100b001b53c2c76eemr9943709ple.15.1687224846746; Mon, 19 Jun 2023 18:34:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687224846; cv=none; d=google.com; s=arc-20160816; b=ev8+Ehb4gYl/AR+okW/uq1yEfDHMSNbEoViHSywji3CewqADM3yXOy/TnjZ/+URbtb BeBu5rD/kaade9u6wyPqcLEl5AHYrLTtGH61ODsySdlhxfCecDpYoAzchpsnidHWP0bn oyKSiEXa1u4d7Gl9+oqtkdwGvqDz/S308QnaiPXiZcRVs3oZwibeMzQMUVbEcnAOv9nB LBEjAdY5rpDslw4I7zqO0nMGxiFhMW0GAhiQ4TAdjw9Iq+OiE6b32p1jN/loXuP8U06T SuiwFn7lytTym9/XPXDbxC+hmovECAzG9LKgvpN8qF59Go7RUjYZC37cI/1CI2evWZuC YUzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=PvtbzALlVtw6Fbfp9dFxbmNAfuOJC5T+9kjX/kVRzw0=; b=MDFGT8lzktInk22nKA0hOiM+x2oKsDtyx6W4MN1De2UoOF5zGjvVA7LmwM4WDQJpt0 KxqQQ9ql8RpCVfVBvzZr5Zg1L/i2iIxO80mYvtIICQbLbREd+IlP2o5f4I9iOcXV6JKH arX+2XDQXKRFOll4AZyMiV7P9pTHdCnCTeZGIFMDbmqyIIp9rfRzV/9eVsHl+0GJIw8s kYhB2A/JxTHALj0J5EtFOpPXjK5wDAEDewhMTpRtEOW4DcS3hgZWdlXNpeIJdb0laP87 d7zC2FAMh3XUVFy5XQ9oGpEnSrE3TpatQjcCGqbxNzjiyRzh3lBaQfPzwrzqVj/xwy2d +dsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTqaVbN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k3-20020a170902c40300b001b678455766si882954plk.650.2023.06.19.18.33.54; Mon, 19 Jun 2023 18:34:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTqaVbN+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230053AbjFTBAe (ORCPT + 99 others); Mon, 19 Jun 2023 21:00:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbjFTBA0 (ORCPT ); Mon, 19 Jun 2023 21:00:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BF2FE7F for ; Mon, 19 Jun 2023 18:00:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id B53E860F66 for ; Tue, 20 Jun 2023 01:00:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 193F8C433CD; Tue, 20 Jun 2023 01:00:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1687222824; bh=mGh3gLTaDGrGvROv15Q2QfAPdhKQZa/YqomrnytzirA=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=GTqaVbN+vWc84aq5GCPqfy/3EydClkGdysSoEmktHg7l/RGSGh6L0JzrUfa4O1zG2 MoE/t8FezR91D3eXtYjgxxys36CM4HWAxL1Q2xj97rdJkW5+s8mEPUMybwjCA64gzq yV1qY+fJQOCmc8T4H4SuEEKNwM7OQe3x5+WEZBlOGahlYqLf7Avux3sPUpUBuZTOMQ cph985S8072ydSIOaOS4f2cwK1yEyBy+57M58SbXSOEvwZEKQK9nMXPH0ecXz0gC3B vtYSJdDeSQdXqr16Q82KceI41/p7kKiQqkM1ahOunannVRgqrpK5vwqQRvCGbNBxm+ cUwmgKCk4A9yw== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id EC158C4316A; Tue, 20 Jun 2023 01:00:23 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH V2] riscv: hibernation: Remove duplicate call of suspend_restore_csrs From: patchwork-bot+linux-riscv@kernel.org Message-Id: <168722282396.22807.1023067349151086213.git-patchwork-notify@kernel.org> Date: Tue, 20 Jun 2023 01:00:23 +0000 References: <20230522025020.285042-1-songshuaishuai@tinylab.org> In-Reply-To: <20230522025020.285042-1-songshuaishuai@tinylab.org> To: Song Shuai Cc: linux-riscv@lists.infradead.org, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, suagrfillet@gmail.com, mason.huo@starfivetech.com, leyfoon.tan@starfivetech.com, ajones@ventanamicro.com, jeeheng.sia@starfivetech.com, linux-kernel@vger.kernel.org, conor.dooley@microchip.com X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Mon, 22 May 2023 10:50:20 +0800 you wrote: > The suspend_restore_csrs is called in both __hibernate_cpu_resume > and the `else` of subsequent swsusp_arch_suspend. > > Removing the first call makes both suspend_{save,restore}_csrs > left in swsusp_arch_suspend for clean code. > > Fixes: c0317210012e ("RISC-V: Add arch functions to support hibernation/suspend-to-disk") > Reviewed-by: Conor Dooley > Reviewed-by: JeeHeng Sia > Signed-off-by: Song Shuai > > [...] Here is the summary with links: - [V2] riscv: hibernation: Remove duplicate call of suspend_restore_csrs https://git.kernel.org/riscv/c/c6399b893043 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html