From patchwork Mon May 24 19:49:20 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ohad Ben Cohen X-Patchwork-Id: 101927 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o4OJnhhO005020 for ; Mon, 24 May 2010 19:49:44 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755616Ab0EXTtm (ORCPT ); Mon, 24 May 2010 15:49:42 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:62882 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755173Ab0EXTtl convert rfc822-to-8bit (ORCPT ); Mon, 24 May 2010 15:49:41 -0400 Received: by gwaa20 with SMTP id a20so1654522gwa.19 for ; Mon, 24 May 2010 12:49:40 -0700 (PDT) Received: by 10.150.8.17 with SMTP id 17mr3123599ybh.89.1274730580138; Mon, 24 May 2010 12:49:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.96.6 with HTTP; Mon, 24 May 2010 12:49:20 -0700 (PDT) X-Originating-IP: [93.173.213.238] In-Reply-To: References: <1272746671-13423-1-git-send-email-ohad@wizery.com> From: Ohad Ben-Cohen Date: Mon, 24 May 2010 22:49:20 +0300 Message-ID: Subject: Re: [RFC/PATCH 0/6] DSPBRIDGE: fix mem+cache API issues To: Felipe Contreras Cc: linux-omap@vger.kernel.org, Kanigeri Hari , Omar Ramirez Luna , Guzman Lugo Fernando , Menon Nishanth , Hiroshi Doyu Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 24 May 2010 19:49:44 +0000 (UTC) diff --git a/drivers/dsp/bridge/core/tiomap3430.c b/drivers/dsp/bridge/core/tiomap3430.c index e122f04..7030012 100644 --- a/drivers/dsp/bridge/core/tiomap3430.c +++ b/drivers/dsp/bridge/core/tiomap3430.c @@ -1326,7 +1326,7 @@ static dsp_status bridge_brd_mem_map(struct bridge_dev_context *hDevContext, goto func_cont; } - if (vma->vm_flags & VM_IO) { + if (vma->vm_flags & (VM_IO | VM_PFNMAP)) { num_usr_pgs = ul_num_bytes / PG_SIZE4K; mpu_addr = ul_mpu_addr;