[Qemu-devel] [PATCH v3 0/3] three zpci patches

Yi Min Zhao posted 3 patches 6 years, 6 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1504606380-49341-1-git-send-email-zyimin@linux.vnet.ibm.com
Test checkpatch passed
Test docker passed
Test s390x passed
hw/s390x/s390-pci-bus.c  | 28 +++++++++++++++++-----------
hw/s390x/s390-pci-bus.h  |  2 ++
hw/s390x/s390-pci-inst.c | 24 ------------------------
hw/s390x/s390-pci-stub.c |  3 ++-
target/s390x/kvm.c       | 14 ++++++++------
5 files changed, 29 insertions(+), 42 deletions(-)
[Qemu-devel] [PATCH v3 0/3] three zpci patches
Posted by Yi Min Zhao 6 years, 6 months ago
This patch set contains three small zpci patches to fixup different issues.
1) remove zpci idx from msix message, instead we could use PCIDevice's id to
   find zpci device in kvm_arch_fixup_msi_route()
2) fixup ind_offset calculation for adapter interrupt routing entry
3) introduce our own iommu_replay callback

Yi Min Zhao (3):
  s390x/pci: remove idx from msix msg data
  s390x/pci: fixup ind_offset of msix routing entry
  s390x/pci: add iommu replay callback

 hw/s390x/s390-pci-bus.c  | 28 +++++++++++++++++-----------
 hw/s390x/s390-pci-bus.h  |  2 ++
 hw/s390x/s390-pci-inst.c | 24 ------------------------
 hw/s390x/s390-pci-stub.c |  3 ++-
 target/s390x/kvm.c       | 14 ++++++++------
 5 files changed, 29 insertions(+), 42 deletions(-)

-- 
Change log:
from v2:
1) Remove s390_pci_find_dev_by_idx() from s390_pci_stub.c
2) Add output message in kvm_arch_fixup_msi_route() for dev argument check.
3) Update the comment for s390_pci_iommu_replay().

from v1:
1) Add s390_pci_find_dev_by_target() in s390_pci_stub.c
2) Remove the accepted patch from the series (Thanks for Conny's help).
3) Fixup typo error.
4) Add more comment for s390_pci_iommu_replay().


Re: [Qemu-devel] [PATCH v3 0/3] three zpci patches
Posted by Cornelia Huck 6 years, 6 months ago
On Tue,  5 Sep 2017 12:12:57 +0200
Yi Min Zhao <zyimin@linux.vnet.ibm.com> wrote:

> This patch set contains three small zpci patches to fixup different issues.
> 1) remove zpci idx from msix message, instead we could use PCIDevice's id to
>    find zpci device in kvm_arch_fixup_msi_route()
> 2) fixup ind_offset calculation for adapter interrupt routing entry
> 3) introduce our own iommu_replay callback
> 
> Yi Min Zhao (3):
>   s390x/pci: remove idx from msix msg data
>   s390x/pci: fixup ind_offset of msix routing entry
>   s390x/pci: add iommu replay callback
> 
>  hw/s390x/s390-pci-bus.c  | 28 +++++++++++++++++-----------
>  hw/s390x/s390-pci-bus.h  |  2 ++
>  hw/s390x/s390-pci-inst.c | 24 ------------------------
>  hw/s390x/s390-pci-stub.c |  3 ++-
>  target/s390x/kvm.c       | 14 ++++++++------
>  5 files changed, 29 insertions(+), 42 deletions(-)
> 

Thanks, applied.

Re: [Qemu-devel] [PATCH v3 0/3] three zpci patches
Posted by Yi Min Zhao 6 years, 6 months ago
Thank you very much!


在 2017/9/5 下午7:58, Cornelia Huck 写道:
> On Tue,  5 Sep 2017 12:12:57 +0200
> Yi Min Zhao <zyimin@linux.vnet.ibm.com> wrote:
>
>> This patch set contains three small zpci patches to fixup different issues.
>> 1) remove zpci idx from msix message, instead we could use PCIDevice's id to
>>     find zpci device in kvm_arch_fixup_msi_route()
>> 2) fixup ind_offset calculation for adapter interrupt routing entry
>> 3) introduce our own iommu_replay callback
>>
>> Yi Min Zhao (3):
>>    s390x/pci: remove idx from msix msg data
>>    s390x/pci: fixup ind_offset of msix routing entry
>>    s390x/pci: add iommu replay callback
>>
>>   hw/s390x/s390-pci-bus.c  | 28 +++++++++++++++++-----------
>>   hw/s390x/s390-pci-bus.h  |  2 ++
>>   hw/s390x/s390-pci-inst.c | 24 ------------------------
>>   hw/s390x/s390-pci-stub.c |  3 ++-
>>   target/s390x/kvm.c       | 14 ++++++++------
>>   5 files changed, 29 insertions(+), 42 deletions(-)
>>
> Thanks, applied.
>
>