login
Header Space

 
 

Re: [RFC 5/8] x86_64: Add UV specific header for MMR definitions

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Christoph Hellwig <hch@...>
Cc: Andi Kleen <andi@...>, <mingo@...>, <tglx@...>, <linux-mm@...>, <linux-kernel@...>
Date: Tuesday, March 25, 2008 - 11:02 pm

On Tue, Mar 25, 2008 at 08:08:20PM -0400, Christoph Hellwig wrote:

I agree that the format of the MMR definitions is not ideal. However,
the alternative of maintaining a 1-off set of MMR definitions is
not very attractive either. The definitions are auto-generated
by hardware design tools and the definitions are used by a number
of tools including diagnostics and BIOS. The definitions are still
changing. I _think_ the registers used by the OS are fairly stable
but there is no guarantee that there won't be additional changes.

The total size of the hardware generated files is over 200000 lines.
We have a tool that extracts the definition of registers used by
the OS. The tools also makes simple easy-to-debug formating
changes such as eliminating screwy type-casts and typedefs.

I would certainly like to keep the auto-generated definitions
and minimize the risk of introducing bugs by incorrectly
generating a one-off set of definitions. The number of files that
will use these definitions is small.


--- jack
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [RFC 5/8] x86_64: Add UV specific header for MMR definit..., Christoph Hellwig, (Tue Mar 25, 4:27 am)
Re: [RFC 5/8] x86_64: Add UV specific header for MMR definit..., Christoph Hellwig, (Tue Mar 25, 8:08 pm)
Re: [RFC 5/8] x86_64: Add UV specific header for MMR definit..., Jack Steiner, (Tue Mar 25, 11:02 pm)
speck-geostationary