[Top] [All Lists]

Re: [PATCH v2] MIPS: GIC: Select R4K counter as fallback.

To: Lars-Peter Clausen <>
Subject: Re: [PATCH v2] MIPS: GIC: Select R4K counter as fallback.
From: John Crispin <>
Date: Thu, 12 Sep 2013 09:33:49 +0200
Cc: "Steven J. Hill" <>,, Leonid Yegoshin <>,
In-reply-to: <>
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
References: <> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12
On 12/09/13 09:28, Lars-Peter Clausen wrote:
On 09/11/2013 09:51 PM, Steven J. Hill wrote:
From: Leonid Yegoshin<>

If CONFIG_CSRC_GIC is selected and the GIC is not found during
boot, then fallback to the R4K counter gracefully.

Is there any reason not to always register the r4k clocksource, no matter
whether the gic clocksource is present or not? The timekeeping core of the
kernel will make sure to use the best available clocksource based on the
clocksource's rating.

- Lars


in theory yes, but the r4k csrc is coded in a way that it always assumes to always be present and always be running.


<Prev in Thread] Current Thread [Next in Thread>