|
From: Richard W. <ri...@no...> - 2013-08-27 20:32:14
|
Hi! Am 27.08.2013 19:51, schrieb Han: > > On Sat, Aug 24, 2013 at 6:42 AM, richard -rw- weinberger <ric...@gm... <mailto:ric...@gm...>> wrote: > > On Fri, Aug 23, 2013 at 8:35 PM, Han <kee...@gm... <mailto:kee...@gm...>> wrote: > > Hi, > > > > I am using Linux kernel 2.6.27 for building UML kernel. It seems like > > "arch/x86/kernel/tsc.c" is not built in and the symbol "cpu_khz" is not > > available. > > > > My question is: what's the reason that "tsc.c" not included in UML? Is > > there any config or simple way(patch?) to include it in UML? > > Simply because UML has no TSC. > > > > [Han] I don't really understand why UML has no TSC. As I know, TSC is accessible from user space process (on x86 at least) and I don't see any obvious reason why UML does not > support TSC. I might missed something. What exactly is the problem you are trying to solve? > I am trying to add TSC into UML kernel (2.6.27) for an experiment. Is that a practical thing to do at all? What exactly do you want to add? TSC as a clocksource to UML..? Thanks, //richard |