login
Header Space

 
 

Re: [RFC] mmiotrace full patch, preview 1

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: <linux-kernel@...>, Ingo Molnar <mingo@...>, Christoph Hellwig <hch@...>, Arjan van de Ven <arjan@...>, Pavel Roskin <proski@...>, Steven Rostedt <rostedt@...>, Peter Zijlstra <a.p.zijlstra@...>, Andy Whitcroft <apw@...>
Date: Tuesday, February 26, 2008 - 4:02 pm

On Mon, 25 Feb 2008 14:49:22 -0800
Andrew Morton <akpm@linux-foundation.org> wrote:


I checked that, but I didn't think any of them were worth fixing. And
since this is a work in progress and a in a state which I do not want
committed yet, I did not sign this patch. mmio-mod.c is still a mess.


I believe the 'volatile' belongs here, it is also in the declaration of
iounmap() in arch/x86/mm/ioremap.c.


These are all in testmmiotrace.c which calls the traced ioremap
functions directly. These direct calls will go away and it will
call the normal ioremap functions.


Since testmmiotrace does not use v for anything other than return value
of ioread8/16/32(), I wanted to prevent the compiler from optimizing
it away. Now thinking it again, ioread*() must guarantee that the read
is always executed. I'll remove v altogether.

Patch for the other issues you mentioned is brewing.


Thanks.

-- 
Pekka Paalanen
http://www.iki.fi/pq/
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC] mmiotrace full patch, preview 1, Pekka Paalanen, (Sun Feb 24, 1:03 pm)
Re: [RFC] mmiotrace full patch, preview 1 , Jonathan Corbet, (Tue Feb 26, 1:20 pm)
Re: [RFC] mmiotrace full patch, preview 1, Pekka Paalanen, (Wed Feb 27, 4:28 pm)
Re: [RFC] mmiotrace full patch, preview 1, Andrew Morton, (Mon Feb 25, 6:49 pm)
Re: [RFC] mmiotrace full patch, preview 1, Pekka Paalanen, (Tue Feb 26, 4:02 pm)
Re: [RFC] mmiotrace full patch, preview 1, Christoph Hellwig, (Mon Feb 25, 7:34 pm)
Re: [RFC] mmiotrace full patch, preview 1, Andy Whitcroft, (Tue Feb 26, 6:21 am)
Re: [RFC] mmiotrace full patch, preview 1, Ingo Molnar, (Tue Feb 26, 6:49 am)
Re: [RFC] mmiotrace full patch, preview 1, Andy Whitcroft, (Tue Feb 26, 11:20 am)
Re: [RFC] mmiotrace full patch, preview 1, Pavel Roskin, (Mon Feb 25, 10:42 pm)
Re: [RFC] mmiotrace full patch, preview 1, Christoph Hellwig, (Tue Feb 26, 1:10 pm)
Re: [RFC] mmiotrace full patch, preview 1, Andy Whitcroft, (Tue Feb 26, 4:57 am)
Re: [RFC] mmiotrace full patch, preview 1, Sam Ravnborg, (Sun Feb 24, 1:59 pm)
speck-geostationary