login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
17
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: H. Peter Anvin
Subject:
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor specific code (Linux Tiny)
Date: Sunday, February 17, 2008 - 12:46 pm
Ingo Molnar wrote:
quoted text
> * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > >> Le Mon, 11 Feb 2008 16:54:30 -0800, >> "H. Peter Anvin" <hpa@zytor.com> a écrit : >> >>> b) would be my first choice, and yes, it would be a good thing to >>> have a generalized mechanism for this. For the registrant, it's >>> pretty easy: just add a macro that adds a pointer to a named >>> section. We then need a way to get the base address and length of >>> each such section in order to be able to execute each function in >>> sequence. >> You'll find below a tentative patch that implements this. Tuple >> (vendor, pointer to cpu_dev structure) are stored in a >> x86cpuvendor.init section of the kernel, which is then read by the >> generic CPU code in arch/x86/kernel/cpu/common.c to fill the >> cpu_devs[] function. > > thanks, i've picked this up into x86.git. It all looks much cleaner and > much more maintainable now. Peter, any objections? >
Looks great to me. -hpa --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] x86 (Linux Tiny): configure out support for some p ...
, Michael Opdenacker
, (Fri Feb 8, 3:47 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, H. Peter Anvin
, (Fri Feb 8, 4:04 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Ingo Molnar
, (Fri Feb 8, 4:11 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Matt Mackall
, (Fri Feb 8, 4:20 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Taral
, (Fri Feb 8, 8:48 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Simon Holm
, (Sat Feb 9, 1:30 am)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Michael Opdenacker
, (Sat Feb 9, 2:26 am)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Michael Opdenacker
, (Sat Feb 9, 2:29 am)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Michael Opdenacker
, (Sat Feb 9, 2:31 am)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Simon Holm
, (Sat Feb 9, 3:05 am)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, H. Peter Anvin
, (Sat Feb 9, 2:35 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Michael Opdenacker
, (Mon Feb 11, 3:42 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Matt Mackall
, (Mon Feb 11, 3:56 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, H. Peter Anvin
, (Mon Feb 11, 3:59 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, H. Peter Anvin
, (Mon Feb 11, 4:01 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Matt Mackall
, (Mon Feb 11, 4:28 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, H. Peter Anvin
, (Mon Feb 11, 5:54 pm)
Re: [PATCH] x86 (Linux Tiny): configure out support for so ...
, Matt Mackall
, (Mon Feb 11, 6:15 pm)
[RFC] [PATCH] x86: Use ELF section to list CPU vendor spec ...
, Thomas Petazzoni
, (Fri Feb 15, 4:00 am)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Ingo Molnar
, (Sun Feb 17, 11:14 am)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, H. Peter Anvin
, (Sun Feb 17, 12:46 pm)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Matt Mackall
, (Fri Feb 22, 7:43 pm)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, H. Peter Anvin
, (Fri Feb 22, 8:19 pm)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Thomas Petazzoni
, (Mon Feb 25, 1:29 am)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Matt Mackall
, (Mon Feb 25, 10:03 am)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Thomas Petazzoni
, (Mon Feb 25, 10:53 am)
Re: [RFC] [PATCH] x86: Use ELF section to list CPU vendor ...
, Matt Mackall
, (Mon Feb 25, 10:58 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Og dreams of kernels
Jens Axboe
[PATCH 31/33] Fusion: sg chaining support
Arnd Bergmann
Re: finding your own dead "CONFIG_" variables
Mark Brown
[PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset
Tony Breeds
[LGUEST] Look in object dir for .config
git
:
Brian Downing
Re: Git in a Nutshell guide
John Benes
Re: master has some toys
Matthias Lederhofer
[PATCH 4/7] introduce GIT_WORK_TREE to specify the work tree
Alexander Sulfrian