From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ard Biesheuvel Subject: Re: issues with emulated PCI MMIO backed by host memory under KVM Date: Fri, 24 Jun 2016 20:16:50 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from localhost (localhost [127.0.0.1]) by mm01.cs.columbia.edu (Postfix) with ESMTP id 774C049B49 for ; Fri, 24 Jun 2016 14:11:52 -0400 (EDT) Received: from mm01.cs.columbia.edu ([127.0.0.1]) by localhost (mm01.cs.columbia.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hSEmD4PGu2oW for ; Fri, 24 Jun 2016 14:11:51 -0400 (EDT) Received: from mail-it0-f42.google.com (mail-it0-f42.google.com [209.85.214.42]) by mm01.cs.columbia.edu (Postfix) with ESMTPS id 2CDC249B36 for ; Fri, 24 Jun 2016 14:11:50 -0400 (EDT) Received: by mail-it0-f42.google.com with SMTP id g127so21339640ith.0 for ; Fri, 24 Jun 2016 11:16:51 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: kvmarm-bounces@lists.cs.columbia.edu Sender: kvmarm-bounces@lists.cs.columbia.edu To: Christoffer Dall , Peter Maydell , Marc Zyngier , Andrew Jones , Laszlo Ersek , "kvmarm@lists.cs.columbia.edu" , Alexander Graf Cc: Catalin Marinas List-Id: kvmarm@lists.cs.columbia.edu On 24 June 2016 at 16:04, Ard Biesheuvel wrote: [...] > Note that this issue not only affects framebuffers on PCI cards, it > also affects emulated USB host controllers (perhaps Alex can remind us > which one exactly?) Actually, looking at the QEMU source code, I am not able to spot the USB hcd emulation code that backs a PCI MMIO BAR using host memory, and in fact, the only instance I *can* find is vga-pci.c @Alex: could you please explain which exact issue with USB emulation is suspected to be caused by this? @team-RH: are there any other examples beyond VGA PCI where this is a problem? Thanks, Ard.