From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Herrenschmidt Subject: Re: [PATCH 23/27] KVM: PPC: Export MMU variables Date: Fri, 16 Apr 2010 19:22:17 +1000 Message-ID: <1271409737.13059.191.camel@pasglop> References: <1271369518-11247-1-git-send-email-agraf@suse.de> <1271369518-11247-24-git-send-email-agraf@suse.de> <1271400475.13059.179.camel@pasglop> <41F9F369-9F53-43E8-AC1F-1C67DD918991@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Cc: kvm-ppc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, kvm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Alexander Graf Return-path: In-Reply-To: <41F9F369-9F53-43E8-AC1F-1C67DD918991-l3A5Bk7waGM@public.gmane.org> Sender: kvm-ppc-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: kvm.vger.kernel.org On Fri, 2010-04-16 at 11:07 +0200, Alexander Graf wrote: > On 16.04.2010, at 08:47, Benjamin Herrenschmidt wrote: > > > On Fri, 2010-04-16 at 00:11 +0200, Alexander Graf wrote: > >> Our shadow MMU code needs to know where the HTAB is located and how > >> big it is. So we need some variables from the kernel exported to > >> module space if KVM is built as a module. > > > > Gross :-) Can't you just read the real SDR1 ? :-) > > I figured this is faster. In a fast path it might be, but I'm not too sure I like exporting those... Oh well, Ack for now, maybe we'll come up with something nicer at some stage. Cheers, Ben.