WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [qemu-xen-3.4-testing] passthrough: pt_bar_mapping etc.:

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [qemu-xen-3.4-testing] passthrough: pt_bar_mapping etc.: use correct CMD for PCI BAR mapping etc.
From: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Date: Tue, 19 May 2009 07:10:21 -0700
Delivery-date: Thu, 11 Jun 2009 08:00:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
*** New tip has no discernable common ancestor with previous history ***

commit 5d767b7b3fac52336f59e5b40d8befa6b1909937
Author: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Date:   Tue May 5 15:22:17 2009 +0100

    passthrough: pt_bar_mapping etc.: use correct CMD for PCI BAR mapping etc.
    
    dbb8aafa702b8b4f5568e08641d98471fd04e0f8 has a bug:
    The virtual CMD value we get from reg_entry->data is not the proper
    value because reg_entry->data only holds the emulated bits and the
    PCI_COMMAND_IO/PCI_COMMAND_MEMORY bits are not in it.  Instead, we can
    use pt_pci_read_config(&ptdev->dev, PCI_COMMAND, 2) to get the proper
    value.
    
    We should only update the mapping of the related BAR, NOT the mappings
    of ALL BARs.
    
    In pt_exp_rom_bar_reg_write(), we should also update the mapping. And
    for PCI_ROM_SLOT, when the PCI_ROM_ADDRESS_ENABLE bit is 0, we should
    not have the mapping.
    
    Signed-off-by: Dexuan Cui <dexuan.cui@xxxxxxxxx>
--
generated by git-patchbot for /home/xen/git/qemu-xen-3.4-testing.git

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [qemu-xen-3.4-testing] passthrough: pt_bar_mapping etc.: use correct CMD for PCI BAR mapping etc., Ian Jackson <=