linux-mips
[Top] [All Lists]

Re: [PATCH 2/2] MIPS: OCTEON: Get rid of CONFIG_CAVIUM_OCTEON_HW_FIX_UNA

To: David Daney <ddaney.cavm@gmail.com>
Subject: Re: [PATCH 2/2] MIPS: OCTEON: Get rid of CONFIG_CAVIUM_OCTEON_HW_FIX_UNALIGNED
From: David Daney <ddaney@caviumnetworks.com>
Date: Wed, 22 May 2013 14:55:28 -0700
Cc: <linux-mips@linux-mips.org>, <ralf@linux-mips.org>, David Daney <david.daney@cavium.com>
In-reply-to: <1369259204-29164-1-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: <1369259204-29164-1-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/20130311 Thunderbird/17.0.4
On 05/22/2013 02:46 PM, David Daney wrote:
From: David Daney <david.daney@cavium.com>

When you turn it off, the kernel is unusable, so get rid of the option
and always allow unaligned access.

The Octeon specific memcpy intentionally does unaligned accesses and it
must not fault.

Signed-off-by: David Daney <david.daney@cavium.com>
---
  arch/mips/cavium-octeon/Kconfig                              | 11 -----------
  arch/mips/include/asm/mach-cavium-octeon/kernel-entry-init.h |  7 +------
  2 files changed, 1 insertion(+), 17 deletions(-)


This patch is stand-alone too. So subject should be [PATCH 1/1] ...

Still mergeable though.

David Daney



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