From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1762306AbZEGTFx (ORCPT ); Thu, 7 May 2009 15:05:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754412AbZEGTFm (ORCPT ); Thu, 7 May 2009 15:05:42 -0400 Received: from yx-out-2324.google.com ([74.125.44.28]:12968 "EHLO yx-out-2324.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217AbZEGTFl (ORCPT ); Thu, 7 May 2009 15:05:41 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=ognt9IwPHwdPCg8LwU1aBljTUreMXOylIr5aVULRMwDzz+qMC4r3QFXQ/+tZ7YIH6i qd6/BKlV9Fix+VsYgXHqwQ8N1HcFsCfmM7EcUT+3+5JQtr5ZJcYnzR7kPHVNVUT4B5jO vSzpIATZj7zbS0kvj16cWJ1uNN1qnuXIbhy0Q= Message-ID: <4A033101.8050106@gmail.com> Date: Thu, 07 May 2009 15:05:37 -0400 From: Gregory Haskins User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Avi Kivity CC: Gregory Haskins , Chris Wright , linux-kernel@vger.kernel.org, kvm@vger.kernel.org, Anthony Liguori Subject: Re: [RFC PATCH 0/3] generic hypercall support References: <20090505132005.19891.78436.stgit@dev.haskins.net> <4A0040C0.1080102@redhat.com> <4A0041BA.6060106@novell.com> <4A004676.4050604@redhat.com> <4A0049CD.3080003@gmail.com> <20090505231718.GT3036@sequoia.sous-sol.org> <4A010927.6020207@novell.com> <20090506072212.GV3036@sequoia.sous-sol.org> <4A018DF2.6010301@novell.com> <20090506160712.GW3036@sequoia.sous-sol.org> <4A031471.7000406@novell.com> <4A0322F1.2000905@redhat.com> <4A032390.6030100@gmail.com> <4A032472.4030106@redhat.com> <4A03259B.3050500@gmail.com> <4A032771.6050703@redhat.com> <4A032A74.2020809@novell.com> <4A032FDD.8020209@redhat.com> In-Reply-To: <4A032FDD.8020209@redhat.com> X-Enigmail-Version: 0.95.7 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8A92B64E4BBD4E63F5B93E75" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8A92B64E4BBD4E63F5B93E75 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Gregory Haskins wrote: >> Avi Kivity wrote: >> =20 >>> Gregory Haskins wrote: >>> =20 >>>> I guess technically mmio can just be a simple access of the page whi= ch >>>> would be problematic to trap locally without a PF. However it seems= >>>> that most mmio always passes through a ioread()/iowrite() call so th= is >>>> is perhaps the hook point. If we set the stake in the ground that >>>> mmios >>>> that go through some other mechanism like PFs can just hit the "slow= >>>> path" are an acceptable casualty, I think we can make that work. >>>> =20 >>> That's my thinking exactly. >>> =20 >> >> Cool, I will code this up and submit it. While Im at it, Ill run it >> through the "nullio" ringer, too. ;) It would be cool to see the >> pv-mmio hit that 2.07us number. I can't think of any reason why this >> will not be the case. >> =20 > > Don't - it's broken. It will also catch device assignment mmio and > hypercall them. > Ah. Crap. Would you be conducive if I continue along with the dynhc() approach then= ? -Greg --------------enig8A92B64E4BBD4E63F5B93E75 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoDMQIACgkQP5K2CMvXmqFktQCfQUag7h9x1kKLhBAHsURnFFM/ 8gQAni1KrTBCauqMA8WN7btr21AtdF73 =PtDi -----END PGP SIGNATURE----- --------------enig8A92B64E4BBD4E63F5B93E75--