From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYDv8-0002ck-4w for qemu-devel@nongnu.org; Wed, 18 Mar 2015 09:22:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYDv3-0003b6-DL for qemu-devel@nongnu.org; Wed, 18 Mar 2015 09:22:02 -0400 Received: from mail-wi0-x236.google.com ([2a00:1450:400c:c05::236]:38403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYDv3-0003av-6x for qemu-devel@nongnu.org; Wed, 18 Mar 2015 09:21:57 -0400 Received: by wifj2 with SMTP id j2so39594654wif.1 for ; Wed, 18 Mar 2015 06:21:56 -0700 (PDT) Received: from localhost.localdomain (net-37-117-129-240.cust.vodafonedsl.it. [37.117.129.240]) by mx.google.com with ESMTPSA id m9sm3137704wiz.24.2015.03.18.06.21.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Mar 2015 06:21:55 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Wed, 18 Mar 2015 14:21:41 +0100 Message-Id: <1426684909-95030-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH for-2.4 0/8] memory: enable unlocked PIO/MMIO in KVM List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org And here we are... These are the changes required to make the BQL optional for memory access, and use that support in KVM. For now, only one device model is changed to do unlocked accesses. Please review! Jan Kiszka (4): memory: Add global-locking property to memory regions memory: Provide address_space_rw_unlocked kvm: First step to push iothread lock out of inner run loop kvm: Switch to unlocked PIO Paolo Bonzini (4): exec: move rcu_read_lock/unlock to address_space_translate callers exec: mark unassigned_io_ops as unlocked acpi: mark PMTIMER as unlocked kvm: Switch to unlocked MMIO exec.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++----- hw/acpi/core.c | 1 + hw/vfio/common.c | 7 +++-- include/exec/memory.h | 48 ++++++++++++++++++++++++++++++++- kvm-all.c | 23 ++++++++++------ memory.c | 17 +++++++----- target-i386/kvm.c | 18 +++++++++++++ target-mips/kvm.c | 4 +++ target-ppc/kvm.c | 4 +++ translate-all.c | 3 +++ 10 files changed, 177 insertions(+), 23 deletions(-) -- 2.3.0