Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2627930rwd; Mon, 22 May 2023 01:37:08 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7IzWtHcN7jOMdFfCvf0+RG0e763B8ZceUCkcTaV5nSPFWeDpth11yElK7qS5ehKaF0446g X-Received: by 2002:a05:6a21:789a:b0:101:438d:2567 with SMTP id bf26-20020a056a21789a00b00101438d2567mr12164499pzc.31.1684744628470; Mon, 22 May 2023 01:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684744628; cv=none; d=google.com; s=arc-20160816; b=aoDJ69p4QvtgFhM5uhz9MTNYsOfn2IB8/oWl3bnwsQxByhA0VWWf47ZTCL+3PkYmRi S8eBI/+omGcUn3WXtZHoujqjlL8ZkvwVR3I8A0MbCV9J/gr31A0hXrIoh+fiJUjPFvjj 6pxyWX6eNybkmkPB2YKKi7MhTXpVtb/TGjvtS/dVplUhGcSAqhtYeSv0qgp/DkjIYhOD GAtvq5dulZqijeK6yRuhbATg17cF2+U4k25pWiwMbM5nE1qnBNFhsu5MK0yA8JVMcv5A o/lahpb67rsBRU7DIeyFbOVtiqI8ZMoTXCrIloUw15tx6GypHOoCZqUaL9gqVNcNNO2B ynow== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=9nA+yCnDD+jGhOJLKYTP39879FYeAa+yLpi/+lBJP00=; b=YAhFKfhUXJ4cDWcfFHPS/XI/NIDvESONktjnv+/rbcNqrMwyU/8G0uvHU+tfesBJ1M XE9Lt9lhmtmB2NTBQ5fKhNhJxmdFgHg6UBX4fthTyUXOZL3NkAwwzc0zUfq2HoLB4UxQ 31SkA1VAWh374sYYpbAQCCGUeydT1x9uIiWDmqvH32NBe6IG0g7SJ2/G8wPlMH8yM1fr MKpKwgIx0WrzYxXO/Dt6QsRvAtJrpXiluomTymJCQ2f82KvKE2f8AsyrKUiZFRGrYKLa NlnwnxXjQNW1bnkFpdVD5nD/YKH72rpEf52tLtqYye1KOOmzqeKLTfkm5sPnT0VZWNY7 mzDA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=M8brq2KG; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 85-20020a630158000000b005347520b1b7si2261520pgb.436.2023.05.22.01.36.55; Mon, 22 May 2023 01:37:08 -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=@bootlin.com header.s=gm1 header.b=M8brq2KG; 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=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231516AbjEVIcr (ORCPT + 99 others); Mon, 22 May 2023 04:32:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58624 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232317AbjEVIcW (ORCPT ); Mon, 22 May 2023 04:32:22 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::223]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4812012D for ; Mon, 22 May 2023 01:32:01 -0700 (PDT) Received: (Authenticated sender: miquel.raynal@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id 286326000E; Mon, 22 May 2023 08:31:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1684744320; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9nA+yCnDD+jGhOJLKYTP39879FYeAa+yLpi/+lBJP00=; b=M8brq2KG5LVLd/nmRiduJj+MxtYR2sEYsKOlV2bS9D+idgLdJPi/mcdyAkgoWFZUSbTp4B TpGUQlC8uXHNTUSmVvF2Bzj96QStKnsKleQNeP5jBxGhCJRI2A19fDkyACFvLihNB1hRPe cKQVG0+BF6w4uxoMquzGGnUEDN6H/OIvNFsVOBs+5Ic0v3ma5+59zmj9lAL2Re/FqrmMTK 8F10dAJcN2bGRTrP5bOXGbKJvpnL/qGlk/92TRP8ILJkgvK635VZ4X5cAIfmAN11pj00fx lBo1HOeHEoH24PmQjVslJDE1dFpVaff76YchKM0lgF/DyEyhQ8Zd6F/iJC6A+Q== Date: Mon, 22 May 2023 10:31:58 +0200 From: Miquel Raynal To: Clark Wang Cc: conor.culhane@silvaco.com, alexandre.belloni@bootlin.com, linux-i3c@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] i3c: master: svc: fix i3c suspend/resume issue Message-ID: <20230522103158.016ae674@xps-13> In-Reply-To: <20230517033030.3068085-1-xiaoning.wang@nxp.com> References: <20230517033030.3068085-1-xiaoning.wang@nxp.com> Organization: Bootlin X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,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 Hi Clark, xiaoning.wang@nxp.com wrote on Wed, 17 May 2023 11:30:28 +0800: > When system suspends, if i3c module is powered down, register > value will lose. > Need to save the key registers before system suspend. > So save these registers value in runtime pm suspend, and restore them > if these register's value is different with the saved values > when runtime pm resume. >=20 > Signed-off-by: Clark Wang Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l