Received: by 2002:ab2:4a89:0:b0:1f4:a8b6:6e69 with SMTP id w9csp172460lqj; Wed, 10 Apr 2024 07:22:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUFIJ5ESv9p8kx5B3lCtoLyOByrQZsTlspCbd7UmGKZTFfdQwYuFHkNnv9legYhc3x3PlQUJ/wEgDf7Nkul8VubXbLfRV5+HrvUtRTrVQ== X-Google-Smtp-Source: AGHT+IFxjHoJURRsZZD1lcrRbVwV9treRYFE7n7xhde/SPClXS6N2SiHk8VORRScfKGHFHsWMoGw X-Received: by 2002:a05:6358:c9e:b0:17e:f567:2dcf with SMTP id o30-20020a0563580c9e00b0017ef5672dcfmr3649603rwj.29.1712758947687; Wed, 10 Apr 2024 07:22:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712758947; cv=pass; d=google.com; s=arc-20160816; b=u5tp0zz9Rz3sejAdKJhq5+yxp6TuyYsF9ENYAVeRiDvAI7fNI1UAa24F677N9nugLN ykoRVn6j9Q7PfVdu2lnmPMtMEiswuRqPudYu1mNEAjuOSUsHOLI67oX2TtiUWu53RwJo LKQkBUasis2rNdXiutwOo2C5Rg4sopzPDcuSj3k2me54nMVt0CIdeoKxgAYTMtuE7bCi 4J9rv4DFy77m+mTKq0vPC3aeebQESeAwiq96ZhwIpEDU0q/74gusWGFloeyHO9vmu5Zz 381ajJ4jDbpSCSvtJFnbXNbd7/bPkBDmSLINEjaWaCx+feCkzl+GRTOcHTrcCA0dGfrV BIBg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:in-reply-to:references:date:message-id:from:subject :content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=VkxNy3L66ZGvEoDAh00ERmM/GRVWoV3VT+isvhq+R0o=; fh=AuQqyA8vMr0uWw+ikWihJSz+OWWSZTPkwIdBK4xZ++M=; b=KVcIt4O0150BPbCo+AtYy4OTHa3is69LOgdXAUO43ZskiWZpotH0vUxd3KAe/vPrnI 0wHhH/63g5NpvjWacuHG1XfiMFHjnBZ2RbJ0DLj4saztYHqHdxTVCjRMKIPntPB4IkRy I4GesEb4Cb1OQzOmIB3xPnRSiqoYRwzjabNyMMyV5b+p7AdE0R6sAOSIbGXTLA/LxlR1 GHKZxCPDVTzJUQt4p2v8r8RNwjHZrwqTWHZfW448ogDzzanVr52jJk9S9rvJ3Px4M+Uk CHCidwqhmDgnPvqsTs4YDdyS/pkUqR91ozjp8B+q7EMx2rylMMTIYk/ngMfl6OLs4TKo YWEg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c02H669+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id w32-20020a634920000000b005d8c1b5a3bdsi10494815pga.216.2024.04.10.07.22.27 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Apr 2024 07:22:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-138741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c02H669+; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-138741-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-138741-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 544CF28AD46 for ; Wed, 10 Apr 2024 14:20:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A463F15FA70; Wed, 10 Apr 2024 14:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="c02H669+" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C09AA15EFD0; Wed, 10 Apr 2024 14:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712758833; cv=none; b=jbt8AmO0FDR2sJ2onnEzd2HhtTueuq0HKCtbvzOBoEteDC5Qx+ZMh33zLLuWNr9qu14cDIR4viayYhLd2xoltRaT+qlWyrl31kK8ZV7ihqyg8pY+a49XwMIb36WdrXXXKUSbIVp8FnaJNS8//ZyyTEPq9wglo7G0LOFD4dplzZI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712758833; c=relaxed/simple; bh=0DhS4EK0I4APNslc3wne19z1VN4gidak3VARFGUl/0o=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=H/l8SWJgaIvxAmO5/ZLsMNp1Xp256TLoe5INL7HwrbYLj/0iFkotcmaSGyySevrwpukrAKnfWYvSZtGsFN7tuoOgshh24ONb+z2kP+1ZcyonNCx/AB3qutzhnQCQyaSsiNGNi+rTMrwS3l2+lOa9eyxmUCsL80Zqehkhg/56KOQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=c02H669+; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPS id 7ECA2C433B1; Wed, 10 Apr 2024 14:20:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1712758833; bh=0DhS4EK0I4APNslc3wne19z1VN4gidak3VARFGUl/0o=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=c02H669+4EVdfAUg8t85q4fzFena0/vNFU7go8zrbdoO3G26BjMljhZdsw9YaHSCe KAOMh4B4U9/di7pW7tqFJL363BOtAN8Ez1p2QYhmhIHIKzMhvQKEQ/+oQay1iHuPqF eX08E+TjZA9OrqzoArP+KbizTzuIHMCtSVONtl9EJwj5AXbWAJ2J2qRI+YOvmCsrDZ VTVAD6XHwOeqUhWyxiirdp5e3ioIedXhIILMVSzIfIIBEnGrbK4OL4LZnJ6N/X9eit Avuur1aX5W+zXL5Knz4BuPRpjMALXPlNZHpPsg16H1upV48mqd6yqHvkiWYU9BRpCC gUlyy6w0T88Pg== 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 705C7D6030E; Wed, 10 Apr 2024 14:20:33 +0000 (UTC) Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH] riscv: Do not save the scratch CSR during suspend From: patchwork-bot+linux-riscv@kernel.org Message-Id: <171275883345.18495.7862735068515050043.git-patchwork-notify@kernel.org> Date: Wed, 10 Apr 2024 14:20:33 +0000 References: <20240312195641.1830521-1-samuel.holland@sifive.com> In-Reply-To: <20240312195641.1830521-1-samuel.holland@sifive.com> To: Samuel Holland Cc: linux-riscv@lists.infradead.org, palmer@dabbelt.com, aou@eecs.berkeley.edu, ajones@ventanamicro.com, conor.dooley@microchip.com, leyfoon.tan@starfivetech.com, paul.walmsley@sifive.com, pavel@ucw.cz, rafael@kernel.org, jeeheng.sia@starfivetech.com, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org Hello: This patch was applied to riscv/linux.git (for-next) by Palmer Dabbelt : On Tue, 12 Mar 2024 12:56:38 -0700 you wrote: > While the processor is executing kernel code, the value of the scratch > CSR is always zero, so there is no need to save the value. Continue to > write the CSR during the resume flow, so we do not rely on firmware to > initialize it. > > Signed-off-by: Samuel Holland > > [...] Here is the summary with links: - riscv: Do not save the scratch CSR during suspend https://git.kernel.org/riscv/c/ba5ea59f768f You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html