linux-mips
[Top] [All Lists]

Re: [PATCH 3/3] MIPS: Only set cpu_has_mmips if SYS_SUPPORTS_MICROMIPS

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: [PATCH 3/3] MIPS: Only set cpu_has_mmips if SYS_SUPPORTS_MICROMIPS
From: "Steven J. Hill" <Steven.Hill@imgtec.com>
Date: Wed, 19 Jun 2013 16:50:34 -0500
Cc: <linux-mips@linux-mips.org>, Jonas Gorski <jogo@openwrt.org>
In-reply-to: <1369432450-13583-4-git-send-email-ddaney.cavm@gmail.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>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1369432450-13583-1-git-send-email-ddaney.cavm@gmail.com> <1369432450-13583-4-git-send-email-ddaney.cavm@gmail.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6
On 05/24/2013 04:54 PM, David Daney wrote:
From: David Daney <david.daney@cavium.com>

As Jonas Gorske said in his patch:

    Disable cpu_has_mmips for everything but SEAD3 and MALTA. Most of
    these platforms are from before the micromips introduction, so they
    are very unlikely to implement it.

    Reduces an -Os compiled, uncompressed kernel image by 8KiB for
    BCM63XX.

This patch taks a different approach than his, we gate the runtime
test for microMIPS by the config symbol SYS_SUPPORTS_MICROMIPS.

Signed-off-by: David Daney <david.daney@cavium.com>
Cc: Jonas Gorski <jogo@openwrt.org>
Cc: Steven J. Hill <Steven.Hill@imgtec.com>

Acked-by: Steven J. Hill <Steven.Hill@imgtec.com>


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