Re: [RFC PATCH v2] x86: mmiotrace - trace memory mapped IO

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pekka Paalanen <pq@...>
Cc: Ingo Molnar <mingo@...>, Pekka Paalanen <pq@...>, Harvey Harrison <harvey.harrison@...>, <linux-kernel@...>, Peter Zijlstra <a.p.zijlstra@...>
Date: Thursday, January 31, 2008 - 12:29 pm

On Thu, 31 Jan 2008 18:16:30 +0200
Pekka Paalanen <pq@iki.fi> wrote:


 +static void print_pte(unsigned long address)

ok this wants to use some of the page_address() and other helpers from pageattr.c;
that should be easy to solve during integration
(I can even see a more generic version of this function moving there)



can't we do this at compile time?



I would rather keep the split I think and make the trace call explicit

or.. even nicer, we could go fancy and allow the mmio tracer to "subscribe"
to, say, a PCI bar, and auto-enable tracing when the bar gets ioremap'd



about the isntruction decoding.. would be nice if we can share that with kvm
so that we can debug that stuff once ;-)


other than that I think the code is quite nice already, seems getting this merge
ready isn't going to be an enormous deal in terms of complexity
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: Add a list for custom page fault handlers., Pekka Paalanen, (Sun Jan 27, 12:52 pm)
Re: [PATCH] x86: Add a list for custom page fault handlers., Arjan van de Ven, (Wed Jan 30, 2:20 pm)
Re: [PATCH] x86: Add a list for custom page fault handlers., Harvey Harrison, (Tue Jan 29, 10:28 pm)
Re: [PATCH] x86: Add a list for custom page fault handlers., Harvey Harrison, (Tue Jan 29, 10:34 pm)
[PATCH v2] x86: Add a list for custom page fault handlers., Pekka Paalanen, (Thu Jan 31, 12:02 pm)
[RFC PATCH v2] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Thu Jan 31, 12:16 pm)
Re: [RFC PATCH v2] x86: mmiotrace - trace memory mapped IO, Arjan van de Ven, (Thu Jan 31, 12:29 pm)
Re: [PATCH v2] x86: Add a list for custom page fault handlers., Arjan van de Ven, (Thu Jan 31, 12:15 pm)
[PATCH 1/4] x86 mmiotrace: use lookup_address(), Pekka Paalanen, (Tue Feb 5, 4:28 pm)
Re: [PATCH 1/4] x86 mmiotrace: use lookup_address(), Christoph Hellwig, (Wed Feb 6, 1:00 am)
Re: [PATCH 1/4] x86 mmiotrace: use lookup_address(), Ingo Molnar, (Thu Feb 7, 8:52 am)
[PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/, Pekka Paalanen, (Tue Feb 5, 4:39 pm)
Re: [PATCH 4/4] x86 mmiotrace: move files into arch/x86/mm/, Christoph Hellwig, (Thu Feb 7, 8:56 am)
[PATCH 3/4] x86 mmiotrace: comment about user space ABI, Pekka Paalanen, (Tue Feb 5, 4:31 pm)
[PATCH] x86 mmiotrace: Use percpu instead of arrays., Pekka Paalanen, (Sat Feb 9, 1:53 pm)
[RFC PATCH] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Sun Jan 27, 1:55 pm)
Re: [RFC PATCH] x86: mmiotrace - trace memory mapped IO, Pekka Paalanen, (Wed Jan 30, 6:39 pm)