Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp829028lqg; Sat, 2 Mar 2024 03:42:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUt8JxHSPzzBxlIKa3/s8tQqP03gK+kxS3XvofiCF1zSs4tIr7JvSEWjVcbTZEKvODlZdghSWs9YkY+QBTdeQ/CKXXJbGZ0xQLtM5wZgg== X-Google-Smtp-Source: AGHT+IEh7RjqB2qTxpYhvTsUJf0O2YwWcnnUm7M00NGvAvoGcCxQSEy1Ss/1MypPQIj6LOt9bQla X-Received: by 2002:a0c:c384:0:b0:68f:e779:716c with SMTP id o4-20020a0cc384000000b0068fe779716cmr3912154qvi.63.1709379754678; Sat, 02 Mar 2024 03:42:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709379754; cv=pass; d=google.com; s=arc-20160816; b=N89N3OdQ2ifDj9a5KN7fhl9QLBBZBDylDb6Yh1LO1UpkAv+l3zpTJsPu8d5oHDdxUQ FmAgBao1qICx1NE91k2P2lzrU+P56GRQS9MwekTHh3dppVk5j2UiMUhbMyXjmy8Ai4+4 rbg1SRGOTJEukeIeYbHd4nyhdTTRJPuA7l2saxcpDq5sllZftMpFV4AllrFaHdzByQ77 XjQIfnNi38TKKSSwMDDY4rlHLDBs3XsdYMhkmnOy53X/PlQ9qFusNTeptAn8pquYAP00 HX+nUh6plzRXvXYaIZ0Cer0Dznb+Sx3l+9YW4EnNACnz+6LqQZMKKJJDlgE/pY2pPVg/ qpHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:list-unsubscribe :list-subscribe:list-id:precedence; bh=8T1xxnqxA4Cn7ZALmW7k2vXmJDpc3Ja/SWJ6xwaLSSU=; fh=n7ddhzrgZFltHKCxIJgRf4psItMqS1ASEOyQsEvva1M=; b=op4hd3A2Y77wbkyx8qvl6cGND2fDMqED9dDacZFUkSZucCs+ol+i4jTs5olXqgvi3t YjchavTqft1nMHLSIYkm3nPCmgXnFfx8rvHhJLoIi+7U4vXk6WmMsa/dDeVM32mmzcVg mPbt4RwqhpaOcsKTi+UPvfstJg2WnTxatjrmDPaZMkJnVBY5JmWen0D5CZeu9CWuMKPM lbgjhdYhLyBQOjFD7IT6ZRwQDPFljNlAumQSOrRz60VO33E8RS2+3gs3lPJFuvqWFJLA Y5rMQlhWbryUDtfKmNr8T+C8i2EVQI3xiXt43nuavrr1hPKY39GcHs7i1zKRO57bWBf+ EHHw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89432-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id m12-20020ad45dcc000000b0068ffe94f96csi5468964qvh.603.2024.03.02.03.42.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Mar 2024 03:42:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-89432-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89432-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 699671C21930 for ; Sat, 2 Mar 2024 11:42:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D3CCA1754E; Sat, 2 Mar 2024 11:42:27 +0000 (UTC) Received: from mail-il1-f171.google.com (mail-il1-f171.google.com [209.85.166.171]) (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 9A8CF376; Sat, 2 Mar 2024 11:42:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.166.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709379747; cv=none; b=J+DfQcJ3/srqAtB5JDAC0fYLo+UKHPG9Wtl0YkTI7B4/gCG9m4YaROMtHKiLMxrSatAB/9cdUWRSu8vpeh9lsHSlHnppfzWRw9IGA45fm6QsI4+lwcOpD7AkwBAdLvH9sidgSrzZrbtLk9JmiVyelqT/M3eNLoGW7OclYrvT1bY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709379747; c=relaxed/simple; bh=8T1xxnqxA4Cn7ZALmW7k2vXmJDpc3Ja/SWJ6xwaLSSU=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=Sb8e5h/71CWHatm/BPRZIgTGXjZapWA82aUwk73829pAi14yN1TFhoMNMa4b2+uM26EfyQsQt/tPKP5AEhmS5Yw6hV0tUBYhFaYtljQwcflWi5o8DIw+t+NAXCnLGWsw/pPeCbaoOy+gklrxlmX53PdYazxi0V056jNCRyd5msE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=csie.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.166.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=csie.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-il1-f171.google.com with SMTP id e9e14a558f8ab-364f794f237so16020815ab.1; Sat, 02 Mar 2024 03:42:25 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709379744; x=1709984544; h=content-transfer-encoding:cc:to:subject:message-id:date:from :reply-to:in-reply-to:references:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=8T1xxnqxA4Cn7ZALmW7k2vXmJDpc3Ja/SWJ6xwaLSSU=; b=GYfBSgJyOUG5dIrxsx7F7ngSAdY0uR67Kr4S2ArzeptoF1DnE5doFfGuBiNxkAGc5C NQjmk8tvSl7BtMWwVfeBVVnhNGI8/qXtIbIOplfFqqfX2gKL/RH03KTdMgMjWmINYbI0 UWXx2lZkPB6T1Rrrvnjt4M+91kdWU9nrwd47xFn6fCpetZSZl5OyCvjezUcValhi94MS FdP2MtEXCvp9RgZSqESKBXtj7+LqznIpkX56zGUlFxHA4vjQHLAJarOrUnvSxg//jg8U FIhs546Ok8RSy7BmJHYK+7M8nbYtHRHCFkXE+3K1py35pOFFvmayzyNAtRGKoye3RAPy g+0w== X-Forwarded-Encrypted: i=1; AJvYcCVu2W28iIQHc0gbW4l69djqD8RFLYgaxM/AgdRiSwQCjRG1RLhMYE78tI3hntHshS7A6dSV3MQ0GnjU4+WRfl3WNN57I07U06DnUD2WR6Z9PyXmI1uWIHRmUnfARzIVZtnQ/FSj8i7k X-Gm-Message-State: AOJu0YzvANwD1eX52s60ok8o010RR+uFhGcK8YO+GCSvayCT/aKSeL4q EaHWAoPprdmDvlcZqpJj0tpo4iGl5QQvPB+pZhZ4rKPcUZyxHymLW5iGZ4kMCsg= X-Received: by 2002:a05:6e02:144c:b0:363:d9eb:c2e0 with SMTP id p12-20020a056e02144c00b00363d9ebc2e0mr5361535ilo.28.1709379744409; Sat, 02 Mar 2024 03:42:24 -0800 (PST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com. [209.85.210.173]) by smtp.gmail.com with ESMTPSA id fh8-20020a056a00390800b006e4e600d15esm4374906pfb.160.2024.03.02.03.42.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 02 Mar 2024 03:42:24 -0800 (PST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6da4a923b1bso2630985b3a.2; Sat, 02 Mar 2024 03:42:24 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVsQBV9jd5jNQGYjVjM4ZoJ6XgRr/hQCEyxco9yrnDkHB7M4UgS9lyTuGDCiCwMD8RcOZDVFwYzBxQbvyxfW2z2meahrLDl5rutxeYwQpOGl+ObYV5lMp7ZvAs5ekidl+NoUwiy4mkM X-Received: by 2002:a05:6a20:8e01:b0:1a1:e75:477c with SMTP id y1-20020a056a208e0100b001a10e75477cmr5238403pzj.9.1709379743994; Sat, 02 Mar 2024 03:42:23 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231013181712.2128037-1-jernej.skrabec@gmail.com> In-Reply-To: <20231013181712.2128037-1-jernej.skrabec@gmail.com> Reply-To: wens@csie.org From: Chen-Yu Tsai Date: Sat, 2 Mar 2024 19:42:11 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] clk: sunxi-ng: h6: Reparent CPUX during PLL CPUX rate change To: Jernej Skrabec Cc: samuel@sholland.org, sboyd@kernel.org, linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Chad Wagner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, Oct 14, 2023 at 2:17=E2=80=AFAM Jernej Skrabec wrote: > > While PLL CPUX clock rate change when CPU is running from it works in > vast majority of cases, now and then it causes instability. This leads > to system crashes and other undefined behaviour. After a lot of testing > (30+ hours) while also doing a lot of frequency switches, we can't > observe any instability issues anymore when doing reparenting to stable > clock like 24 MHz oscillator. > > Fixes: 524353ea480b ("clk: sunxi-ng: add support for the Allwinner H6 CCU= ") > Reported-by: Chad Wagner > Link: https://forum.libreelec.tv/thread/27295-orange-pi-3-lts-freezes/ > Tested-by: Chad Wagner > Signed-off-by: Jernej Skrabec Reviewed-by: Chen-Yu Tsai