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: Arjan van de Ven <arjan@...>
Cc: Siddha, Suresh B <suresh.b.siddha@...>, <tglx@...>, <mingo@...>, <linux-kernel@...>, <venkatesh.pallipadi@...>
Date: Tuesday, February 12, 2008 - 4:45 am

Arjan van de Ven wrote:

I doubt we have any drivers with this problem because ioremap()
for the longest time (until I added change_page_attr() to it the first time
one a few releases ago) didn't flush its caches at all and it still
doesn't flush the caches for the common case of the ioremapped area
not being part of the direct mapping (standard case on 32bit and
not uncommon on 64bit even)
Please clarify what you mean. For what correctness aspect and in
what circumstances would such a three step tango be needed?

I don't see any mention of such a requirement in the manual.

-Andi

--
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..., Andi Kleen, (Tue Feb 12, 4:45 am)
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)