Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753203AbZIROxK (ORCPT ); Fri, 18 Sep 2009 10:53:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751026AbZIROxJ (ORCPT ); Fri, 18 Sep 2009 10:53:09 -0400 Received: from smtp.nokia.com ([192.100.122.233]:20193 "EHLO mgw-mx06.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752476AbZIROxI (ORCPT ); Fri, 18 Sep 2009 10:53:08 -0400 Message-ID: <4AB39EC3.4050202@nokia.com> Date: Fri, 18 Sep 2009 17:52:51 +0300 From: Aaro Koskinen User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: "ext Kirill A. Shutemov" CC: Aaro Koskinen , "linux-arm-kernel@lists.infradead.org" , Russell King , "linux-kernel@vger.kernel.org" , "Bityutskiy Artem (Nokia-D/Helsinki)" Subject: Re: [PATCH 1/2] ARM: Pass IFSR register to do_PrefetchAbort() References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 18 Sep 2009 14:52:54.0662 (UTC) FILETIME=[B40AEA60:01CA386F] X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 842 Lines: 24 Hello, Kirill A. Shutemov wrote: >> #ifdef CONFIG_CPU_PABRT_NOIFAR >> -# ifdef CPU_PABORT_HANDLER >> +# ifdef CPU_PABORT_HANDLER_IFAR >> # define MULTI_PABORT 1 >> # else >> -# define CPU_PABORT_HANDLER(reg, insn) mov reg, insn >> +# define CPU_PABORT_HANDLER_IFAR(reg, insn) mov reg, insn >> +# define CPU_PABORT_HANDLER_IFSR(reg) mrc p15, 0, reg, cr5, cr0, 1 > > It's incorrect. We have IFSR only on ARMv7. It seems my assumption on the availability of that register was wrong, but I think it's available at least on ARMv6, and also that IFAR can be optional... A. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/