Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp370869lqh; Sat, 4 May 2024 05:01:38 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXY+OhpW+7TjKqFaFmcYlWLrbeo+gFf/Ni2Vd/iDNeR68zBSk8xoeI1EXf0yZj3doQ+UE5GYKSi8tl6vHNwNO/NChNNk7hdmyXBVcIvfQ== X-Google-Smtp-Source: AGHT+IEREwWbCIGGv4WDehxjgmHUdyoUkqymhYnkpjBUaVOQLMEJ2Lp51GL1MiwfeQ6NIbxKHqpo X-Received: by 2002:a2e:a0d2:0:b0:2db:a9c9:4c5e with SMTP id f18-20020a2ea0d2000000b002dba9c94c5emr5147415ljm.21.1714824098504; Sat, 04 May 2024 05:01:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714824098; cv=pass; d=google.com; s=arc-20160816; b=trOhH2G5qHIQgATRS8SKD7sQRRpXUdzUB+FVf8LbRjA8RBjtjzFlWb6YlRlCN1McGb 9BQAk1jAeOyFaWJdC6A1hmcjsGZDWroLPBvr5PgDDqB5UcDKcKd5l1AMacfoL0rmLfHP Y8azJImtmI8cfeUQpMdJhgJzgmedAMVqC1K1FnSEGlKCademB90gvsED5ztX+vYDHU9Z +siy8VyNfsMZ40VHe7rfM9cPmg6umvmos+EFOjRTaES2sag6896JTMYdiaxRpGpreIm9 BngIajZgNPXbdCxd0KIm3L8KKBz0gM7MqNjJOFEleZjrb2lyvAnMG1LPZIuQMM2cRcHs FyvA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=RDCWpEhUSa7ErprbfVlOsGqwAI0proMiKIt11OMQwEc=; fh=vf0vDIPyLD37OIiGKdpPIie1EsobnlyX8gr8TaWODNk=; b=YgLOadkNgKxkdFAKLjk9tCV+2qew9EAtWxMxS4bxhglHgaJkxBybkyGuxH4mHkmAT2 V1ORPxJOr7nXmVb+UEBEVhjveMJ3W1HVbdSJs5PSgLUlqyveh51tFzQd2sAl6k9htOkI KW/BJt+vB6F/pgTyrNpP4/VWc/hHekIKAxGKlvX3FOqF4RN1xtC+EkOMDgGsTqTJvNRk m5d0rJNxR14QXbIja+X2QxX0eX8Li5hs19fkNnBUGH+nhXfn8Gv48YmaOmzn9NWUTxG/ V6Q2j7ja0SrDXHFoPW44hnXBMAVNXiTSoJGCCaBfAFng13y6dKNPQf2y26cKI+uQnlk3 2xbw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=CCf9uezy; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-168630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id l22-20020a170906795600b00a555deff6d2si2727632ejo.261.2024.05.04.05.01.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 05:01:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@dolcini.it header.s=default header.b=CCf9uezy; arc=pass (i=1 spf=pass spfdomain=dolcini.it dkim=pass dkdomain=dolcini.it dmarc=pass fromdomain=dolcini.it); spf=pass (google.com: domain of linux-kernel+bounces-168630-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168630-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=dolcini.it 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3B23B1F22024 for ; Sat, 4 May 2024 12:01:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A9F3420B35; Sat, 4 May 2024 12:01:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b="CCf9uezy" Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) (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 926BE1755C; Sat, 4 May 2024 12:01:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.194.8.81 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714824089; cv=none; b=dP9HEDp5+2ir2JjiNq/SefAuwfW31431By12EtYJdLfvgaZcMiYFQG6N9yTJKy33q4RzYJeCehqK13uEDp3bYBU4DDzko5q+QrANRB9ZaZbYic8dUuZ9fQOHmu+f9WfB+8VcAdNnYsJK2visJDrYvDdit/5GcUsO5kSmpYWCdFE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714824089; c=relaxed/simple; bh=98J14FRWVrtau2eLWnGu0jUhYcj7HkEFqoCO9ClUc0o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=X2T/a9qwREYHcF5LAeJuYLfEPPp6j3FVAw6/hs6pH/56LYd91d9vGreoQ6bnfFjk7jA7SwqOdQhCJ5vlE8oRfxeb9JKuyxLrlerufg6WTGEKfTxL5jVjp8BJRY66W+eJxOtl8N8x0kK0mMcRBhzshKAp+/V3HTeKiUTUc0S5gCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it; spf=pass smtp.mailfrom=dolcini.it; dkim=pass (2048-bit key) header.d=dolcini.it header.i=@dolcini.it header.b=CCf9uezy; arc=none smtp.client-ip=217.194.8.81 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=dolcini.it Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dolcini.it Received: from francesco-nb (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id 4F8AC1FC17; Sat, 4 May 2024 14:01:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dolcini.it; s=default; t=1714824086; bh=RDCWpEhUSa7ErprbfVlOsGqwAI0proMiKIt11OMQwEc=; h=From:To:Subject; b=CCf9uezyQ3qNbeZ0A/pisU3qvhU6jq/0+m6iJeCPE3h03mjnnV2wopc8fcyFonEmM m8LkRVk4pIAHtHLiNyZq4g4NoPx9TrNADd1aPKXJBauAulud5wDOhyRWtbC4Ztc2Og Is2yC6+M5BDYPBXK4ADBcIJ0OcSTOk5oT82BnsnG1cYt/zXfF+sztLulafjY4Xx9+U hrXKFz4mWyRM7enFzPv3gaBKI+MvQWJf//nDX70sizGKFyHYyd9uQZ7zCtLMe+QGss gXDgZsV1tqErvOApABsA5eU6cYa2G9UGtJYnS/RoZQj8w/uV4mgGYPCN4+QUzeANJ1 gvz0sS62LiaiQ== Date: Sat, 4 May 2024 14:01:24 +0200 From: Francesco Dolcini To: "Peng Fan (OSS)" Cc: Abel Vesa , Michael Turquette , Stephen Boyd , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , Jacky Bai , Ye Li , Dong Aisheng , linux-clk@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Abel Vesa , Peng Fan Subject: Re: [PATCH 10/18] clk: imx: Remove CLK_SET_PARENT_GATE for DRAM mux for i.MX7D Message-ID: <20240504120124.GC3666@francesco-nb> References: <20240504-imx-clk-v1-0-f7915489d58d@nxp.com> <20240504-imx-clk-v1-10-f7915489d58d@nxp.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240504-imx-clk-v1-10-f7915489d58d@nxp.com> Hello Peng, On Sat, May 04, 2024 at 08:49:03AM +0800, Peng Fan (OSS) wrote: > From: Peng Fan > > For i.MX7D DRAM related mux clock, the clock source change should ONLY > be done done in low level asm code without accessing DRAM, and then > calling clk API to sync the HW clock status with clk tree, it should never > touch real clock source switch via clk API, so CLK_SET_PARENT_GATE flag > should NOT be added, otherwise, DRAM's clock parent will be disabled when > DRAM is active, and system will hang. From the description this is solving a system hang, but no fixes tag nor cc stable. Francesco