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 X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E70CBC10F03 for ; Tue, 23 Apr 2019 20:18:19 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id A56E4208E4 for ; Tue, 23 Apr 2019 20:18:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A56E4208E4 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=vt.edu Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1hJ1rj-0003aq-AS; Tue, 23 Apr 2019 16:18:07 -0400 Received: from omr2.cc.ipv6.vt.edu ([2607:b400:92:8400:0:33:fb76:806e] helo=omr2.cc.vt.edu) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hJ1rh-0003aj-Di for kernelnewbies@kernelnewbies.org; Tue, 23 Apr 2019 16:18:05 -0400 Received: from mr4.cc.vt.edu (mr4.cc.vt.edu [IPv6:2607:b400:92:8300:0:7b:e2b1:6a29]) by omr2.cc.vt.edu (8.14.4/8.14.4) with ESMTP id x3NKI3sI009970 for ; Tue, 23 Apr 2019 16:18:04 -0400 Received: from mail-qt1-f197.google.com (mail-qt1-f197.google.com [209.85.160.197]) by mr4.cc.vt.edu (8.14.7/8.14.7) with ESMTP id x3NKHwBq005333 for ; Tue, 23 Apr 2019 16:18:03 -0400 Received: by mail-qt1-f197.google.com with SMTP id w45so2525584qtb.16 for ; Tue, 23 Apr 2019 13:18:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to:references :mime-version:date:message-id; bh=o1QS+t//s9S4RXvAyv9GD2eBC4DTfXSjY31Q7G0Z9YQ=; b=pE/pGCosCtfEutfV5k/3w7ipeA7DVnpeq4ufsn+QUgsjfhmWSKHsO9BaKwbKoDprZP lyavU9y9T9QvOKxdJKrxT6dBIZbRXTeGi4z5WMVYGbmRUgHnoCMgnfoOgY5+0gvevN6d DTHoWpTQGTvLpBEk16u2lDXwq9ZjIcQdl2qQnF4St9VhwY5h24zeNWn8fU72NRoYtUph npAVg2z+XbFWqHaOd+20+zoCj3w31kT9QvyUjO8iijWANkwUrbrin7Qq4+VxbpJVhL+Y uPaQTZtCEdB7zIL2WASJgRPh6ID3KVhzqCR6Ip6A6uUAbgmep6PTIB7KFVV3wQ9PlcNO AX2g== X-Gm-Message-State: APjAAAVLErUlR1f61g8Q4IlQA+B61l1bYzmbzodgV/DhmDbh/6T9YggC 5GMXHfTXmV5QRwo8pfBKa8eEj+lBPN4rJSDHhVrdljaNfMvFIaWDACsJkBl15NcH8pknpGHd2Zl M6BMFNfC/8MC7SZeY05+cn3IsJ69KZohADIEeJVI= X-Received: by 2002:a37:f905:: with SMTP id l5mr21196423qkj.105.1556050678267; Tue, 23 Apr 2019 13:17:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzK4+nUmzqEelmWkQS4rgDiVLRTVSOzOomHCdvZX7Bcw4KVs/+vQHGHjzhswPY9I3SVTcq/pw== X-Received: by 2002:a37:f905:: with SMTP id l5mr21196419qkj.105.1556050678112; Tue, 23 Apr 2019 13:17:58 -0700 (PDT) Received: from turing-police ([2601:5c0:c001:4341::c73]) by smtp.gmail.com with ESMTPSA id h6sm7940547qta.97.2019.04.23.13.17.55 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 23 Apr 2019 13:17:56 -0700 (PDT) From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Google-Original-From: "Valdis Kl=?utf-8?Q?=c4=93?=tnieks" X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7+dev To: Guilherme Costa Subject: Re: __clksrc_of_table and "clocksource_probe: no matching clocksources found" In-reply-to: References: Mime-Version: 1.0 Date: Tue, 23 Apr 2019 16:17:55 -0400 Message-ID: <22861.1556050675@turing-police> Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: kernelnewbies-bounces@kernelnewbies.org On Tue, 23 Apr 2019 17:07:14 -0300, Guilherme Costa said: > From the code, we can see that the message was printed because > clocksources == 0. This implies that there were no matching nodes on > the device tree, Right. > and that acpi_probe_device_table returned 0 (which is correct, seeing > that the kernel has no ACPI support). > This leaves me with two questions: > 1 - Is this message a problem indicator? I'm assuming it is, because > it's printed with a pr_crit... Depends. Most systems really want a clocksource of some sort. > 2 - Why is for_each_matching_node_and_match not getting any matches? I > did not find where __clksrc_of_table is initialized, so maybe it's > because it is empty? My first guess is that your hardware has a busted device tree that doesn't have an entry pointing at any actual valid hardware clock device. Could be an incorrect address, or the DT says it's a Frobozz1 clock but the actual hardware has a Frobozz2 that won't probe using the Frobozz1 driver, or something else.... _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies