[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: Florian Fainelli <>
Date: Wed, 12 Dec 2012 18:03:16 +0100
Cc: Lars-Peter Clausen <>, "" <>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=sender:message-id:date:from:organization:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=hF//RoxMDe9Bi4Ock0FHe2sWkSIdkQMHSJJbGxnsm30=; b=rkbTcAqFelQyewGTgFZ077NWM9PDiYY3QTvPUdPwE2pabIef+JT/ehI9WoJARfep3G jbm4oHd9nk7gBJ1sePFQQofp2M4Gy4Sw8Eyy5UXRa0gtN/MuoX6EJ/JTjkhf3GK7ItjV yrBOYjwD7kQz5nthzW4CNsL1ee2W94bcYY1gtU3Xi6V4P95KAniML5zh/PPNsssZ4p2D G3ZGDXi+6K1gqmWXs9qXnB5IGmPGOJc5ID5z/SV76r4l0Lb+D+XAAzvqEDKK7YBDAflT 850UJik4ToOhLrsX8M/gF9M515qWI+jlMbYYHGMuJWVmbWKQL4JGLZiuomgzGupfKm75 mNgA==
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: <>
Organization: OpenWrt
References: <>,<> <>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0
Le 12/12/12 17:44, Hill, Steven a écrit :

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.

How do they actually make their choices? Is it just about advertising dsp vs. dspr2 to user-space?

Have you looked into modifying the ELF platform via set_elf_platform() to help these binaries with identify the underlying platform/kernel?

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