[Top] [All Lists]

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

To: "Hill, Steven" <>
Subject: Re: [PATCH] MIPS: Make CP0 config registers readable via sysfs.
From: Lars-Peter Clausen <>
Date: Wed, 12 Dec 2012 19:49:56 +0100
Cc: "" <>
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: <>
References: <>,<> <>
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20121027 Icedove/3.0.11
On 12/12/2012 05:44 PM, Hill, Steven wrote:
> Lars,
> This patch was requested by our DSP/Codec group to help with selecting the 
> best user-space codecs at runtime. Simply reading /proc/cpuinfo was 
> insufficient. I posted this patch more for feedback and interest with minimal 
> expectations that it would make it upstream. This patch will always be in our 
> supported branches, but I will defer to everyone else on its worth for 
> upstream.
> -Steve

Well if it is something that is useful it makes sense to upstream it,
especially if you are developing applications. Many people before you have
learned the hard way that stashing stuff away in their private branches was not
the best idea. If you are smart you are going to avoid that.

It may not be the best solution though to just dump all the cp register to
userspace. As Florian suggested there might be a smarter way to solve this.

- Lars

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