From mboxrd@z Thu Jan 1 00:00:00 1970 From: Laura Abbott Subject: [RFc] Map CMA pages as cached Date: Fri, 13 Jul 2012 11:01:45 -0700 Message-ID: <1342202506-12449-1-git-send-email-lauraa@codeaurora.org> Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:39971 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932504Ab2GMSCH (ORCPT ); Fri, 13 Jul 2012 14:02:07 -0400 Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: linaro-mm-sig@lists.linaro.org, Marek Szyprowski , Russell King Cc: linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org Current APIs only support allocating CMA pages as either coherent or writecombine. This seems to miss support for cached pages completely. The following patch seems to be the first obvious solution. More generally though, what should be the strategy for remapping with other memory types? Add a new function call each time? Thanks, Laura