Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that support self-snoop

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andi Kleen <ak@...>
Cc: Siddha, Suresh B <suresh.b.siddha@...>, Arjan van de Ven <arjan@...>, <tglx@...>, <mingo@...>, <linux-kernel@...>, <venkatesh.pallipadi@...>
Date: Monday, February 11, 2008 - 3:47 pm

On Mon, Feb 11, 2008 at 06:58:46PM +0100, Andi Kleen wrote:

There is atleast one issue though. For an I/O device which is not capable of
snooping the caches, if the driver model assumes that ioremap_nocache() will flush
the cpu caches(before initiating DMA), then the lack of cache flush in cpa() might
cause some breakages.

If there are any such usages, we should fix the driver models with a new API.


marking the pages not present etc..


I don't think we can drop that requirement for UC atleast. For WC, probably yes.

thanks,
suresh
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] [0/8] Misc CPA patchkit, Andi Kleen, (Mon Feb 11, 5:50 am)
Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that suppo..., Arjan van de Ven, (Mon Feb 11, 11:04 am)
Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that suppo..., Arjan van de Ven, (Mon Feb 11, 11:21 am)
Re: [PATCH] [7/8] CPA: Don't flush caches on CPUs that suppo..., Siddha, Suresh B, (Mon Feb 11, 3:47 pm)
Re: [PATCH] [6/8] CPA: Remove BUG_ON for LRU/Compound pages, Thomas Gleixner, (Sun Feb 17, 10:07 am)
[PATCH] [1/8] CPA: Remove my copyright notice, Andi Kleen, (Mon Feb 11, 5:50 am)
Re: [PATCH] [1/8] CPA: Remove my copyright notice, Thomas Gleixner, (Mon Feb 11, 8:42 pm)