[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1195001464.6352.109.camel@bodhitayantram.eng.vmware.com>
Date: Tue, 13 Nov 2007 16:51:04 -0800
From: Zachary Amsden <zach@...are.com>
To: Christoph Hellwig <hch@...radead.org>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Tobias Powalowski <t.powa@....de>,
linux-kernel@...r.kernel.org, Ingo Molnar <mingo@...e.hu>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [PATCH] x86/paravirt: revert exports to restore old behaviour
On Tue, 2007-11-13 at 22:22 +0000, Christoph Hellwig wrote:
> On Tue, Nov 13, 2007 at 12:21:16PM -0800, Jeremy Fitzhardinge wrote:
> > Subject: x86/paravirt: revert exports to restore old behaviour
> >
> > Subdividing the paravirt_ops structure caused a regression in certain
> > non-GPL modules which try to use mmu_ops and cpu_ops. This restores
> > the old behaviour, and makes it consistent with the
> > non-CONFIG_PARAVIRT case.
>
> NACK, both of these are internal and graphics drivers should not be
> using them.
Some of them are internal, but some are not, they just happened to be
privileged CPU operations available to anyone.
Does anyone know what hooks they are actually using? Something like
reading MSRs is not internal at all, it is CPU specific, and the
graphics drivers might have very good reasons to read them to figure out
how AGP is configured for example.
The graphics drivers most certainly don't need to be paravirtualized
however, so they could always work around this with raw asm constructs.
The mmu_ops hook is more debatable. But until someone figures out what
hooks they want, we can't know whether they are internal or not. In any
case, this is a regression.
Zach
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists