From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kevin Hilman Subject: Re: [PATCH] OMAP: hwmod: Handle modules with 16bit registers Date: Tue, 05 Oct 2010 10:21:04 -0700 Message-ID: <87wrpwsghr.fsf@deeprootsystems.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-gx0-f174.google.com ([209.85.161.174]:38175 "EHLO mail-gx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752727Ab0JERVI (ORCPT ); Tue, 5 Oct 2010 13:21:08 -0400 Received: by gxk9 with SMTP id 9so2076099gxk.19 for ; Tue, 05 Oct 2010 10:21:08 -0700 (PDT) In-Reply-To: (Paul Walmsley's message of "Tue, 5 Oct 2010 10:59:44 -0600 (MDT)") Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Paul Walmsley Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, rnayak@ti.com, tony@atomide.com Paul Walmsley writes: > From: Rajendra Nayak > > Some modules which have 16bit registers can cause imprecise > aborts if a __raw_readl/writel is used to read/write 32 bits. > > Add an additional flag to identify modules which have such > hard requirement, and handle it in the hwmod framework. > > Signed-off-by: Rajendra Nayak > Acked-by: Paul Walmsley Tested-by: Kevin Hilman Added the flag to the 2420 hwmods and tested this patch on n810 using the i2c hwmods and it now boots without the imprecise abort. Kevin From mboxrd@z Thu Jan 1 00:00:00 1970 From: khilman@deeprootsystems.com (Kevin Hilman) Date: Tue, 05 Oct 2010 10:21:04 -0700 Subject: [PATCH] OMAP: hwmod: Handle modules with 16bit registers In-Reply-To: (Paul Walmsley's message of "Tue, 5 Oct 2010 10:59:44 -0600 (MDT)") References: Message-ID: <87wrpwsghr.fsf@deeprootsystems.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Paul Walmsley writes: > From: Rajendra Nayak > > Some modules which have 16bit registers can cause imprecise > aborts if a __raw_readl/writel is used to read/write 32 bits. > > Add an additional flag to identify modules which have such > hard requirement, and handle it in the hwmod framework. > > Signed-off-by: Rajendra Nayak > Acked-by: Paul Walmsley Tested-by: Kevin Hilman Added the flag to the 2420 hwmods and tested this patch on n810 using the i2c hwmods and it now boots without the imprecise abort. Kevin