From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 973C63AA1B8 for ; Thu, 5 Feb 2026 13:00:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770296419; cv=none; b=YgnEF7lWwz+we1Ryrnpc4vr49jHlI3VaHjHqPZyWmZR6BKJb7myhtrWY6lsMUpvet53WlrU7JN9r8BGe7Luc9bTDdFiX+7kCzO8biDTaJor4YZJM5U9mO8oDCMgb9r3sYtT58a84bSQMAMrx3Otz/LbCfn4+wBmfofNVch5YwnQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770296419; c=relaxed/simple; bh=zVLkl+/sqMBqN0whpK4INw4Nr04WKy1mfq1u+orpKVA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=hO1/foTd2BWyaC04ga8lM5ost1XXxqaOkMuR/Co7OEjfIoyMTlebu1n2ps8tS5IOf272Iq/UcOoF/XGjnhbHLVEkK9IJ+gFc98B1Tr6LAQYTSDb1+HygBY0PBiEFZ1Ttgsq3QqxU8d4c1J49xTEoX8+zZCt9zxIrQtWKVRMnqko= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev; spf=pass smtp.mailfrom=tuxon.dev; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b=Zex0tIZa; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tuxon.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tuxon.dev header.i=@tuxon.dev header.b="Zex0tIZa" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-4805ef35864so8113305e9.0 for ; Thu, 05 Feb 2026 05:00:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1770296417; x=1770901217; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Ea5Wau3tyaotoVdTXU1AX44w/mbst5DuRTitl7uLstw=; b=Zex0tIZaf0eYh2XxCRHg0JzIXxrn/5miK3N5RCpp+1ixG+oGgJz2IY/DYkGpyGx883 t2CFJiuHt7H/YB2jfHd/KhuS88PkQwIGKV4Td4vO7Ck/rAyRJ4nlGSuZjIslSBNxTHKm FqQ+DvC9VEw+mp7OBhH6bIdtoj9djYMvRFYLfUBzj4MDYCc/t8JmFpiYor04SFxTB/k+ D2hZ1vL7mJr6WeNar4yv/uO7oo3iAZWwicgspO7rywAQp8nTYxadLDhnucTS8rPnFguX w6/En+8OEOtpJudMwSXnzcgR05GygH2KuttHYze6Npu2U+ayk84aQUMz4VIZedj2896X 2ZRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770296417; x=1770901217; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Ea5Wau3tyaotoVdTXU1AX44w/mbst5DuRTitl7uLstw=; b=IWtQRNM64yl/ZOhF6pKnuP3mf22qHJbqu5/K8aLtEO7HqVvX2ItMfSajM6f9AVMU9s Cdw5H0KMHywS0eu9fYnOAZqnoSWI1BDdDgR21DcYZsZ2KaJQZFwuDNnROTLXFwj5M2wu hoJuhtw5UmJYXOjAi9VOpv5naSrKJSEpRmzXi9etaeP65YOsOjK7PLgCOoslBkDAbU0O oOjPmx9zYbeomkr89aVcbAm+OHY7YgYaxB3aBHBrriypgzMfjGk1NOmJTwYDdzCUNzFH /isetBRxMS+YmWrvXzIkcdBK6CZEgO74RFeUwq1Awr9YrR8nGTEUR6BlAOb5de9xcUTl 74ig== X-Forwarded-Encrypted: i=1; AJvYcCWbBjk72guCtEt2eEsO+mp/YwKjaof9wPXMoGhln9mWKb5E2/8OmIqKKG3mARER03PscctHx/EzyaDw+qM=@vger.kernel.org X-Gm-Message-State: AOJu0Yw0dyFq/gUAYkRuHSXUyF6A5vk9cW3sfxj4bRwpcOSY0PtRAgH/ Ufw1gBii8MFLmql7VSsIp8lOJg1ZJBjNlcM8LAvTqfTCgdkNnZJ6IyI9H5ZIyq2WXHo= X-Gm-Gg: AZuq6aK2SDBvIRnUDgz2mLA5vqsMXt0hfgwWS23RbHQcKruv63HIL0MPpA8UntZT/E+ Iovsb7DX80M7N8j54CImWPkIAQxwr7i37WavbJqY9+o9qxmv78vjzeiA09oqxckxM38T54ZmDnD amMmAB3jvHMa5OiP2PNX2eQoy10zXfdvZberQo+PhdlsOjnA8eVoYC37TGO6uNmc2f8cLChOd4+ 3hqweJv1puOSc/xQnooX1B94pkq+cfH+qZS2zdM58KAGSsOQF0uIuA5SznTRNKXhl1XWh2ESOA9 +lMc+EVNOtm503KImoAVVtfhaGCwJqchhJ23eGCA2ZQ9fYFG1vHORPps2T4pIGi2PLTU0xeG2o9 vpq9n53YZ1JM1B77/mjbr4wNtSxJETl65/2ReSZ1p9wMoxnlpnBBzLvA3QILPRUPcHIP4gxcG9O XS+ItCyKYMTabgitM7Unm/r7Zc9sMLbw== X-Received: by 2002:a05:600c:c3db:10b0:480:4a8f:2d5c with SMTP id 5b1f17b1804b1-4830e991dccmr65465125e9.29.1770296416641; Thu, 05 Feb 2026 05:00:16 -0800 (PST) Received: from [192.168.50.4] ([82.78.167.215]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-483179dbdcfsm72255075e9.0.2026.02.05.05.00.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 05 Feb 2026 05:00:16 -0800 (PST) Message-ID: <7f0305f6-ae2d-4069-b53a-d2a81e75d164@tuxon.dev> Date: Thu, 5 Feb 2026 15:00:13 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 5/7] dmaengine: sh: rz-dmac: Add suspend to RAM support To: Biju Das , "vkoul@kernel.org" , Prabhakar Mahadev Lad , "lgirdwood@gmail.com" , "broonie@kernel.org" , "perex@perex.cz" , "tiwai@suse.com" , "p.zabel@pengutronix.de" , "geert+renesas@glider.be" , Fabrizio Castro Cc: "dmaengine@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-sound@vger.kernel.org" , "linux-renesas-soc@vger.kernel.org" , Claudiu Beznea References: <20260126103155.2644586-1-claudiu.beznea.uj@bp.renesas.com> <20260126103155.2644586-6-claudiu.beznea.uj@bp.renesas.com> <16a6f14a-93e6-472c-8718-d46972f0ac5e@tuxon.dev> <5438ccc8-ed5a-4dd6-8995-e8e9926883a5@tuxon.dev> Content-Language: en-US From: Claudiu Beznea In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, Biju, On 1/26/26 17:28, Biju Das wrote: > Hi All, > >> -----Original Message----- >> From: Biju Das >> Sent: 26 January 2026 13:12 >> Subject: RE: [PATCH 5/7] dmaengine: sh: rz-dmac: Add suspend to RAM support >> [ ... ] >> >> For s2idle issue on RZ/G3L is DMA device is in asserted state, not forwarding any IRQ to cpu for >> wakeup. >> >> For S2RAM issue on RZ/G3L is during suspend hardware turns DMAACLK off/ Asserted state. Clock framwork >> is not turning On DMAACLK as it critical clk. >> >> Can you please check your TF-A for the second case? First case, RZ/G3S may ok for reset assert state, >> it can forward IRQs to CPU. > > Just to summarize, currently there are 2 differences identified between RZ/G3S and RZ/G3L: > > SoC differences for s2idle: > > RZ/G3S: Can wake the system if the DMA device is in the assert state > > RZ/G3L: Cannot wake the system if the DMA device is in the assert state. > > > TF-A differences for s2ram: > > RZ/G3S: TF_A turns on DMA_ACLK during boot/resume. > > RZ/G3L: TF_A does not handle DMA_ACLK during boot/resume. I'm seeing at [1] you are addressing these differences in the clock/reset drivers. With that, are you still considering this patch is breaking your system? Thank you, Claudiu [1] https://lore.kernel.org/all/20260130143456.256813-1-biju.das.jz@bp.renesas.com