linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: Make CP0 config registers readable via sysfs.

To: "Steven J. Hill" <sjhill@mips.com>
Subject: Re: [PATCH] MIPS: Make CP0 config registers readable via sysfs.
From: Lars-Peter Clausen <lars@metafoo.de>
Date: Wed, 12 Dec 2012 15:45:04 +0100
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
In-reply-to: <1354858280-29576-1-git-send-email-sjhill@mips.com>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1354858280-29576-1-git-send-email-sjhill@mips.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.10) Gecko/20121027 Icedove/10.0.10
On 12/07/2012 06:31 AM, Steven J. Hill wrote:
> From: "Steven J. Hill" <sjhill@mips.com>
> 
> Allow reading of CP0 config registers via sysfs for each core
> in the system.

Maybe a stupid question, but why?

> The registers will show up in sysfs at the path:
> 
>    /sys/devices/system/cpu/cpuX/configX
> 
> Only CP0 config registers 0 through 7 are currently supported.

> 
> Signed-off-by: Steven J. Hill <sjhill@mips.com>
[...]

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