Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp7082038rwd; Mon, 19 Jun 2023 18:04:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yweGMWLhGtN7tqWeqfkfNXHw62eK3WeolMvu2UNjZ2Gykz9Re1TiPWQwX1wOAxDa1WyA9 X-Received: by 2002:a05:6358:9f9d:b0:129:c564:63e0 with SMTP id fy29-20020a0563589f9d00b00129c56463e0mr6501297rwb.23.1687223095619; Mon, 19 Jun 2023 18:04:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687223095; cv=none; d=google.com; s=arc-20160816; b=sA6R3I1mnhkvJScnyNbt4Fx2anX3Jv2uxpwOL2uTcLkkQ1xQ8zdfWlJULCmbvTRX8T OctgC+wQiZVtQW+Qti35bFHqv0Pr4W7U1s0KMSnbcsfdc7Q3M0Y7KCHJyLgbzbJY9fUM lZlIfAw+s+uCSbXjzk7+EGyEjolVR+Ao2LWQXtXYypOkNE326wb+Q1o2LjO9JZ1E3UP8 DEbJ8+zlk/lK8AoWZf2UUgLnaWGkTtGVC37RjnTFwKAYOHKjkpsizxBjXRVn1ZYILtcM BzLIy8DSNZIfCeT3jItf3gDkjrKrD4grR3oq14MJtOVc83DrKS6OEJOxfoc2DaKj+TKs fiww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:to:from:cc:content-transfer-encoding :mime-version:date:message-id:subject:references:in-reply-to :dkim-signature; bh=vgrA10PlHqfUGfzRZzcrXtrkAeSCmc5QAg9LlgetDZ8=; b=YnKBXLOEp2HL+03Dtl9wlfbdJekddbDu2qNmG1l+ArQvasrDkAo7vnbyMCAnspI0pe h1SWv97zT7+YKUPb/yX52rbslPo8MJmkNizWTIgnhgXLBlz09zvja42+ysitxcMR4ZpU CyM4UJAFxrKLewNX7/JNAyWAQeyXFkgpOI10gaw+GPAsGIFNUjgXT2VzQeDjXw51hy/V HkU+L5jVgiQpVdx2fF8mM2n0vAGRBCsHyDXZ+xe9dy8EwuBXKNga8Mr+/R3nZtCKRe4V 0n1vShOtjfdGGdy3UXjfO0shLEZ8On+EOdXfnkjVCARPML+TPltyO2uDyD3nWt5gi50i 2pvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=FNDZS5ls; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t13-20020a654b8d000000b0054fe77bb345si596580pgq.478.2023.06.19.18.04.40; Mon, 19 Jun 2023 18:04:55 -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=@rivosinc-com.20221208.gappssmtp.com header.s=20221208 header.b=FNDZS5ls; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229915AbjFTA5W (ORCPT + 99 others); Mon, 19 Jun 2023 20:57:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229899AbjFTA5T (ORCPT ); Mon, 19 Jun 2023 20:57:19 -0400 Received: from mail-qt1-x832.google.com (mail-qt1-x832.google.com [IPv6:2607:f8b0:4864:20::832]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 166CDE7E for ; Mon, 19 Jun 2023 17:57:17 -0700 (PDT) Received: by mail-qt1-x832.google.com with SMTP id d75a77b69052e-3fde5e37974so28943591cf.2 for ; Mon, 19 Jun 2023 17:57:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rivosinc-com.20221208.gappssmtp.com; s=20221208; t=1687222636; x=1689814636; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:from:to:cc:subject:date:message-id :reply-to; bh=vgrA10PlHqfUGfzRZzcrXtrkAeSCmc5QAg9LlgetDZ8=; b=FNDZS5lsetRtZSn1PvfXIXdbXNMLt+Xn3NNjVym1JoLwcLXGf7cfedR9Y0g+IrPrgT 0G53k+RT6Qoh6HbJC3mpbatuGpalbeOZawDwpv64uWZpyGJh0ud1LMEB+Y6Ypk4YI2G/ hrU+G6o5lsdwxvzgTS3MgQ/8t+mXm4/l4CxzPElEvVrv8z4frsifWMcWWfCVfbLdVUVT OXIPQeCjFi0lPYlDElB5KK+6gR4u4lHWZ11kN2a748MizOJwIcmQataCi6P5QmmKJuTA x1+lHa96+wt++MZvX724HLKshHJ70P43ZstF0acjjSWhenE6A/meO8q2PZLcnK5jEIIU rP8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687222636; x=1689814636; h=to:from:cc:content-transfer-encoding:mime-version:date:message-id :subject:references:in-reply-to:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vgrA10PlHqfUGfzRZzcrXtrkAeSCmc5QAg9LlgetDZ8=; b=bl20FObJ/HfYfqoPv7E1mqhf+radzqa/sl3AfNsMbABaMH2c6Vkg3E8p+NXD+iw3HZ LnwqADaz1zYrJAejdh7yJ/NV5XpREPbSSu84jj0kcosiPkfSq9iVGc9kxBaMk2vhVGoH GQH6X8N4q48xPGYNGc8+kJFYVKCDYgJbw179PqtA70RMtuKGVNcH0hUiod1ofgcSJaYM HYUna80X12aKen8scpK7mrIsHDd0kgEvVsWMRcKa9PyZON4Z7rrvhtxjl2kA3mgF09n9 2lAQEquAz0bz+8LPngPnmKfXLio+4ogBkmhCI7P/p1N3JRZ3UK/Xlq/Px1IGtyI3Fi1j e7Tw== X-Gm-Message-State: AC+VfDxiV/mT6L3UStXJ3CTlo0T4rCNfBZmzTOpHzPpAmAWCx3B2+KpH 4YQeLzjyeaNYat4zvHrmpMxXmA== X-Received: by 2002:ac8:5fd2:0:b0:3f6:c0f7:a5c6 with SMTP id k18-20020ac85fd2000000b003f6c0f7a5c6mr15011128qta.46.1687222636182; Mon, 19 Jun 2023 17:57:16 -0700 (PDT) Received: from localhost ([135.180.227.0]) by smtp.gmail.com with ESMTPSA id g6-20020a6544c6000000b00520f4ecd71esm202476pgs.93.2023.06.19.17.57.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 17:57:15 -0700 (PDT) In-Reply-To: <20230519060854.214138-1-suagrfillet@gmail.com> References: <20230519060854.214138-1-suagrfillet@gmail.com> Subject: Re: [PATCH] riscv: hibernation: Replace jalr with jr before suspend_restore_regs Message-Id: <168721242542.30028.8232901143224055307.b4-ty@rivosinc.com> Date: Mon, 19 Jun 2023 15:07:05 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-901c5 Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org From: Palmer Dabbelt To: Paul Walmsley , Palmer Dabbelt , aou@eecs.berkeley.edu, jeeheng.sia@starfivetech.com, mason.huo@starfivetech.com, Conor Dooley , Song Shuai X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,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 On Fri, 19 May 2023 14:08:54 +0800, Song Shuai wrote: > No need to link the x1/ra reg via jalr before suspend_restore_regs > So it's better to replace jalr with jr. > > Applied, thanks! [1/1] riscv: hibernation: Replace jalr with jr before suspend_restore_regs https://git.kernel.org/palmer/c/650ea2a1dd96 Best regards, -- Palmer Dabbelt