From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [RFC 02/14] xen/arm: Remove the parameter "attrindx" in copy_paddr Date: Mon, 17 Mar 2014 11:53:04 +0000 Message-ID: <5326E220.4090105@linaro.org> References: <1394640969-25583-1-git-send-email-julien.grall@linaro.org> <1394640969-25583-3-git-send-email-julien.grall@linaro.org> <1394817258.6442.173.camel@kazak.uk.xensource.com> <5323441D.3080404@linaro.org> <1395051181.4122.38.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WPW6O-0001sK-Ug for xen-devel@lists.xenproject.org; Mon, 17 Mar 2014 11:53:09 +0000 Received: by mail-wi0-f177.google.com with SMTP id cc10so2006467wib.10 for ; Mon, 17 Mar 2014 04:53:07 -0700 (PDT) In-Reply-To: <1395051181.4122.38.camel@kazak.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: xen-devel@lists.xenproject.org, tim@xen.org, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org Hi Ian, On 03/17/2014 10:13 AM, Ian Campbell wrote: > On Fri, 2014-03-14 at 18:02 +0000, Julien Grall wrote: >> Hi Ian, >> >> On 03/14/2014 05:14 PM, Ian Campbell wrote: >>> On Wed, 2014-03-12 at 16:15 +0000, Julien Grall wrote: >>>> copy_addr >>> >>> s/copy_p?addr/copy_from_paddr/ throughout the subject and changelog. >> >> Right. I will fix it in the next series. >> >>>> is only used with BUFFERABLE, there is some place where DEV_SHARED >>>> was used by mistake. >>> >>> A hangover from flash support or something else? >> >> I guess, DEV_SHARED was using in few place mainly when Xen is loading a >> small amount of data. Even before this patch, info->load_attr should >> have been used. >> >> Do you think I need to send a patch for Xen 4.4? > > Is it actively harmful or just not ideal? >>From the ARM ARM A3.5.1, we should use Normal memory attribute even for the flash. I'm not sure what is the behavior when Normal memory is access with Device memory attribute. Regards, -- Julien Grall