From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2919CC7EE26 for ; Mon, 22 May 2023 08:33:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230415AbjEVIcs (ORCPT ); Mon, 22 May 2023 04:32:48 -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 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