[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.11.1506201830100.4107@nanos>
Date: Sat, 20 Jun 2015 18:30:52 +0200 (CEST)
From: Thomas Gleixner <tglx@...utronix.de>
To: Andy Lutomirski <luto@...capital.net>
cc: walter harms <wharms@....de>, Andy Lutomirski <luto@...nel.org>,
X86 ML <x86@...nel.org>, Borislav Petkov <bp@...e.de>,
Peter Zijlstra <peterz@...radead.org>,
John Stultz <john.stultz@...aro.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Len Brown <lenb@...nel.org>, Huang Rui <ray.huang@....com>,
Denys Vlasenko <dvlasenk@...hat.com>,
kvm list <kvm@...r.kernel.org>,
Ralf Baechle <ralf@...ux-mips.org>,
Thomas Sailer <t.sailer@...mni.ethz.ch>,
linux-hams@...r.kernel.org
Subject: Re: [PATCH v3 08/18] baycom_epp: Replace rdtscl() with
native_read_tsc()
On Sat, 20 Jun 2015, Andy Lutomirski wrote:
> On Sat, Jun 20, 2015 at 7:14 AM, Thomas Gleixner <tglx@...utronix.de> wrote:
> > On Sat, 20 Jun 2015, walter harms wrote:
> >
> >> Acked-by: walter harms <wharms@....de>
> >>
> >> Am 17.06.2015 02:35, schrieb Andy Lutomirski:
> >> > This is only used if BAYCOM_DEBUG is defined.
> >
> > So why don't we just replace that by ktime_get() and get rid of the
> > x86'ism in that driver.
> >
>
> I don't have the hardware, and I don't see any good reason to make an
> rdtsc cleanup depend on a more complicated driver change. On the
> other hand, if the maintainers want to clean it up, I think it would
> be a great idea.
>
> This really seems to be debugging code, though. A normal kernel won't
> even compile it.
Right, but there is no reason that we have rdtsc outside of arch/x86
at all.
Thanks,
tglx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists