Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp6889568ybc; Thu, 28 Nov 2019 07:11:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwms35yIdVwHuAu9m6plS0kC7DjuEqN4k8TMI6Af10fBIixaL4VfZg2GISkzyTadhPWl6yX X-Received: by 2002:a50:ef0b:: with SMTP id m11mr38848084eds.74.1574953911464; Thu, 28 Nov 2019 07:11:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574953911; cv=none; d=google.com; s=arc-20160816; b=dKC8tENlmiAlnnw0aXYZowzBuEVR9Q7Cct4tJgf7F1mmTCh4il36A9w6HmuClk5q8n rBz3qTcRiuaTBkbk3riF49WKRmOTpHdWt0sXZR0SuV8RToaKZhkdGOHtg5gjerLgLBfp /+V2tLiqz0RttXltSUHG9nxbrsEHtnLSe2dUf4cQaNGHFNsnVz0P14+b1SyXTxXEML0M niCk+kdRYg9OY+Bz8UJQBulmCFxoATMLsmoPveenJ8YRdkJJB+dw8sPEvIqVjuYKkf0E jOpBRZmgWuRzf34vC9IZ6XDVW9oBMb7mA0Sw0BALCI0mU1RgAySEG1Ekuc9rElycDnC/ 0ZUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=9HDndJJD7hakBPLX0vyn4IoWO7QTa8T6y1yozlEq+hI=; b=mQPgnsbFysHs2Vo1+9Rj345YTnCzFCuD1DSnkz58psYcKjYx8QQvOowSL+4DKZNDst FN622OybIyyRGuKLseyl8YYnSMkIvD9UCn3vWxBtWHJlNsKfPQWwb4jPDN1VerRSYFVH pIlyKa8VYBItdRFjDQ2gNcDYrRFUGYzVtwdKmWpzkRE1EgdwXb9tDeMVEcz7zF+/Y4wl vDwn/zEkCK/eMNirxoh3GN6nTab5uitQgb4somAoJfj52soGgnNBpJyO+asxn/s89hQi ePxyoPzp1zL0nOLoJ7FjoD7qnqwLqpATSzjgpavFGECozKW968bZXNUYG4kflTIY0kLs GNZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=DXZ5O83K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df4si14913670edb.56.2019.11.28.07.11.25; Thu, 28 Nov 2019 07:11:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=DXZ5O83K; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726696AbfK1PKQ (ORCPT + 99 others); Thu, 28 Nov 2019 10:10:16 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([81.169.146.166]:36592 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726565AbfK1PKQ (ORCPT ); Thu, 28 Nov 2019 10:10:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1574953811; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=9HDndJJD7hakBPLX0vyn4IoWO7QTa8T6y1yozlEq+hI=; b=DXZ5O83KDuy25z+CSfoYmxWGuDbEgWgevpM4YohJjfNoRwuJU9bbN7INu3rNpZlrjv +c42m5SZoFVJ37dzvHpH1ns39Je8n7ZF+ZsC8HOZzqCG6oaJzttVndDVXk5ZW1Fh9kKy l8tbLQmuxL7KXduufqyOXYlqgKTMYcKoj1c24vMAAzXHed0AiCcDfiXlgpsRys8I7Zk9 elG1EIQ/qlVpiR1SI63lRa/RhZQQoWeRmIlhPbeHCzd1CgA6uOLU7Fm2KRjKx20PeXtX 4EWvMW4kq5E5NYks540B7Afqv1Ova7kgSNHTZYJawDY3opBc97VTE0bipcQ+TySHPg4X MYyg== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj4Qpw9iZeHmAiw43upSE=" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 45.0.2 DYNA|AUTH) with ESMTPSA id y07703vASFA1KfB (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Thu, 28 Nov 2019 16:10:01 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: MIPS: bug: gettimeofday syscall broken on CI20 board From: "H. Nikolaus Schaller" In-Reply-To: <091536b5-6c77-eed4-eec1-82b331332a74@arm.com> Date: Thu, 28 Nov 2019 16:10:00 +0100 Cc: linux-mips@vger.kernel.org, Ralf Baechle , Linux Kernel Mailing List , Paul Burton , MIPS Creator CI20 Development , Discussions about the Letux Kernel Content-Transfer-Encoding: quoted-printable Message-Id: References: <18788C50-F29B-4BD7-89F6-B056FF490214@goldelico.com> <703DC004-96E8-463D-8870-3CC410FE1C5E@goldelico.com> <3190d1a4-96c4-1843-3ae1-bae3a97af9fb@arm.com> <8D151C34-41A1-4DFE-92D6-D1B27AEC8730@goldelico.com> <3E2EEC19-F320-4320-9A85-67B4E615C74A@goldelico.com> <96b53936-a288-91bc-a14b-a501c5231a03@arm.com> <2966D06E-C754-4807-A48E-02D476EF1A24@goldelico.com> <091536b5-6c77-eed4-eec1-82b331332a74@arm.com> To: Vincenzo Frascino X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 28.11.2019 um 15:04 schrieb Vincenzo Frascino = : >=20 > On 28/11/2019 12:16, H. Nikolaus Schaller wrote: >> Ah, good question. How do I find out? Checking defconfig did not show = any >> config with R4K or GIC. So it is likely NONE. CONFIG_RTC_DRV_JZ4740=3Dy= if that >> helps. >=20 > Try to check what do you have in /sys/devices/system/clocksource. Ok, have finished another project and could check: root@letux:~# ls -l /sys/devices/system/clocksource/clocksource0/ = =20 total 0 -r--r--r-- 1 root root 4096 Nov 3 17:18 available_clocksource -rw-r--r-- 1 root root 4096 Nov 3 17:18 current_clocksource drwxr-xr-x 2 root root 0 Nov 3 17:18 power lrwxrwxrwx 1 root root 0 Nov 3 17:16 subsystem -> = ../../../../bus/clocksource -rw-r--r-- 1 root root 4096 Nov 3 17:16 uevent --w------- 1 root root 4096 Nov 3 17:18 unbind_clocksource root@letux:~# cat /sys/devices/system/clocksource/clocksource0/* ingenic-timer=20 ingenic-timer cat: /sys/devices/system/clocksource/clocksource0/power: Is a directory cat: /sys/devices/system/clocksource/clocksource0/subsystem: Is a = directory cat: /sys/devices/system/clocksource/clocksource0/unbind_clocksource: = Permission denied root@letux:~# Does that help? BR, Nikolaus