linux-mips
[Top] [All Lists]

Re: [PATCH] MIPS: define cpu_has_mmips where appropriate

To: Jonas Gorski <jogo@openwrt.org>
Subject: Re: [PATCH] MIPS: define cpu_has_mmips where appropriate
From: David Daney <ddaney.cavm@gmail.com>
Date: Fri, 24 May 2013 09:20:10 -0700
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>, Gabor Juhos <juhosg@openwrt.org>, "Steven J. Hill" <sjhill@mips.com>, David Daney <david.daney@cavium.com>, John Crispin <blogic@openwrt.org>, Lars-Peter Clausen <lars@metafoo.de>, Manuel Lauss <manuel.lauss@googlemail.com>, Huacai Chen <chenhc@lemote.com>, Jayachandran C <jchandra@broadcom.com>, Florian Fainelli <florian@openwrt.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=FfS7RUIhMzLdULeeTV7Tt7umCxEEwxheoaheQV8ZdPo=; b=yr6htEELrkdRCKPFxZ5khO8ZWUQmmqwkTRdrWZXLUFVIF4OudpdaRP3Zy8kMvsEd6p Q4/QhVeJm7i1XIFGoo2X2/NmfDKv3GfMlrGcgYk2eU4ab6SR5UhsllLzFnhlPP3WEe+k raQKqbPWbD9YY/QqGGQ7J0xNqg21yUCj9ULnLYGjR6YsCfH/hL9de+2njWrUDAaKb6VF lZu1MKEnJeFg7EqZqcYgfUDHpYKfj7OKd0hCEhM+wWOuBhkF17cvPGXTqfOVfkUGVDcg xi1a4QECYmXQYJLJ59U7OrP4N5xVGa6vDc4PGz8NieaxIlYTCz92OMXsUldYJ8eVrER1 cg/Q==
In-reply-to: <1369345335-28062-1-git-send-email-jogo@openwrt.org>
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: <1369345335-28062-1-git-send-email-jogo@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4
On 05/23/2013 02:42 PM, Jonas Gorski wrote:
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.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

Acked-by: David Daney <david.daney@cavium.com>
---

Position chosen is based on asm/cpu-features.h. Missing hardware and/or
data sheets for most platforms I obviously couldn't verify its
non-existence, so maintainer acks are appreciated.

  arch/mips/include/asm/mach-ath79/cpu-feature-overrides.h         |    1 +
  arch/mips/include/asm/mach-au1x00/cpu-feature-overrides.h        |    1 +
  arch/mips/include/asm/mach-bcm63xx/cpu-feature-overrides.h       |    1 +
  arch/mips/include/asm/mach-cavium-octeon/cpu-feature-overrides.h |    1 +
  arch/mips/include/asm/mach-cobalt/cpu-feature-overrides.h        |    1 +
  arch/mips/include/asm/mach-ip22/cpu-feature-overrides.h          |    1 +
  arch/mips/include/asm/mach-ip27/cpu-feature-overrides.h          |    1 +
  arch/mips/include/asm/mach-ip28/cpu-feature-overrides.h          |    1 +
  arch/mips/include/asm/mach-ip32/cpu-feature-overrides.h          |    1 +
  arch/mips/include/asm/mach-jz4740/cpu-feature-overrides.h        |    1 +
  arch/mips/include/asm/mach-loongson/cpu-feature-overrides.h      |    1 +
  arch/mips/include/asm/mach-netlogic/cpu-feature-overrides.h      |    1 +
  arch/mips/include/asm/mach-pmcs-msp71xx/cpu-feature-overrides.h  |    1 +
  arch/mips/include/asm/mach-powertv/cpu-feature-overrides.h       |    1 +
  arch/mips/include/asm/mach-ralink/rt288x/cpu-feature-overrides.h |    1 +
  arch/mips/include/asm/mach-ralink/rt305x/cpu-feature-overrides.h |    1 +
  arch/mips/include/asm/mach-ralink/rt3883/cpu-feature-overrides.h |    1 +
  arch/mips/include/asm/mach-rc32434/cpu-feature-overrides.h       |    1 +
  arch/mips/include/asm/mach-rm/cpu-feature-overrides.h            |    1 +
  arch/mips/include/asm/mach-sibyte/cpu-feature-overrides.h        |    1 +
  arch/mips/include/asm/mach-tx49xx/cpu-feature-overrides.h        |    1 +
  21 files changed, 21 insertions(+)

[...]

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