Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp340730rdb; Thu, 5 Oct 2023 07:31:34 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGCD52QPOvqMG1r/IzyH8ZgoNQUK7bOQA2K+v3pT3uetEENT+u/F/mihHv3Dd7hykp/L3pI X-Received: by 2002:a05:6358:52c2:b0:143:1063:d1ed with SMTP id z2-20020a05635852c200b001431063d1edmr5856901rwz.26.1696516293517; Thu, 05 Oct 2023 07:31:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696516293; cv=none; d=google.com; s=arc-20160816; b=TMB0jhAVWoQBQs4Fssi6qeJZ1R9zkWLQKWAIGY1qNaEdLQwuFkc2FWkkLgj6I1JJ/I cUk08v88sBYM8k0rbVu6mlhnRzXiSa5uBxo8d/yYfq3+b7fT8kGixTtyyy1/YTFZ9Okb 8qQs62lupKHdbk8at40nptpFqbgMOcAPl3uxdFg8GZN7vfxR4nWlfbUjXkVFp+N9e+82 hH3CSWsRcAvUt0SC56yM/YLBAr0qh621YtoRJrh8H6z/MktwpAP0hCM6E8FBBTzTRgBq 5B3F6Xa672c2yiaA+X4LYGA5dK0bFgSGVYDaRYwPDjU5mR3c54jdR8R1hoiHSU+yeR75 xxpQ== 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 :message-id:date:subject:cc:to:dkim-signature:dkim-signature:from; bh=3Yg/WhHpaQNIRqvSGsa5f/WE6yXRFzSVBafLf2ZRuh8=; fh=8S+y7TJBhdxA0ahXdxZ8HULWEgzdciyeE1Guelzluj4=; b=D54RaMdZYmk3w381ywnY5bwXXhjNGXKLm0pZ27bgudAd2z0CElzMlM/Vqz6pc+WxLo cJ9ZjQhtTXARgv0VYrAQ0nLNC+mwtIFQGD0fFQGRM/PxYLDuQjH5wqGTTYRY99V+ZYzt tDT2aia04Fcf6C1q81EDqTR/TFpCXB+hATrvpkIuLwu66gEnJWMd1zwzt1XZ+ppllTlp IkrWMinTcJhmrkQd2eOI/cboR+6cFgN8XDbzVZqAfFB0iU6DY/EQOhPzHCMbMo3PdmUy 5xi5ibU2JoFoDu9EJBC3nh7TR8SupQ+kOwsvPAj3h/ng6QcfVrwW1iY3Px3xPVVRPp0T 3yiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WUTzOHOs; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from howler.vger.email (howler.vger.email. [23.128.96.34]) by mx.google.com with ESMTPS id z16-20020a656650000000b00565f2d55050si1540125pgv.737.2023.10.05.07.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:31:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) client-ip=23.128.96.34; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=WUTzOHOs; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.34 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 08066802D0D6; Thu, 5 Oct 2023 07:30:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233755AbjJEOaU (ORCPT + 99 others); Thu, 5 Oct 2023 10:30:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234136AbjJEO2b (ORCPT ); Thu, 5 Oct 2023 10:28:31 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E73CF1F757; Thu, 5 Oct 2023 02:59:35 -0700 (PDT) From: Benedikt Spranger DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1696499973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3Yg/WhHpaQNIRqvSGsa5f/WE6yXRFzSVBafLf2ZRuh8=; b=WUTzOHOsOUGPF+kaPiD4pPQ0Yxr+DHHn0124BSw+j3ykiDvmrS2iMxSNnoy6/pG3TJOvvJ 6/IRDtVFFNYAzIJU0o0WJNHW5tcBUJEW4S8C/fhRa88K2r6OGtYEV1w2s9VjdJjPSWMd9B EeDrUa+5+jFCqFsw/gtKpPrPJCQcWoNIpyYS8oRY/GYhk8Zf+hWOnRg7O77c+97+EjlApg D8qNR0dOCczitxaR2OIBK1tu6ws/78awFm1e9pVzJW6dgbejp5+sKNMWtx88Pl7Sl3Gr7u TNUf/5OWFmPKF8J9MupE5Ek7B0VJjbw2VaJjYqupMCEVEhAJB8RoR4ksp7JtGA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1696499973; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=3Yg/WhHpaQNIRqvSGsa5f/WE6yXRFzSVBafLf2ZRuh8=; b=FrVErenItllRBa/Uhu5rymcSxkX7LwQ4Gt7U1rYiYckHVblupsFWLPbKWRVBJgWne0FXao FR/GCqHqk5eIl9BA== To: linux-kernel@vger.kernel.org Cc: linux-clk@vger.kernel.org, Maxime Ripard , Stephen Boyd , Michael Turquette , Dinh Nguyen Subject: [PATCH 0/1] Broken serial console on Altera Cyclon V board Date: Thu, 5 Oct 2023 11:59:26 +0200 Message-ID: <20231005095927.12398-1-b.spranger@linutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:30:32 -0700 (PDT) Hi, trying to boot e recent Kernel on a Altera Cyclone V based board I faced a broken serial console. The "real" baudrate is half of the set baudrate i.e. 57600 instead of configured 115200. Traking down the issue let to commit 9607beb917df ("clk: socfpga: gate: Add a determine_rate hook"). Change the determine_rate hook to fix the issue. Regards Benedikt Spranger Benedikt Spranger (1): clk: socfpga: gate: Fix of by factor 2 for serial console drivers/clk/socfpga/clk-gate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.42.0