All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Huth <thuth@redhat.com>
To: Alexey Kardashevskiy <aik@ozlabs.ru>
Cc: qemu-devel@nongnu.org, Michael Roth <mdroth@linux.vnet.ibm.com>,
	Gavin Shan <gwshan@linux.vnet.ibm.com>,
	Alex Williamson <alex.williamson@redhat.com>,
	qemu-ppc@nongnu.org, David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [Qemu-devel] [PATCH qemu v10 00/14] spapr: vfio: Enable Dynamic DMA windows (DDW)
Date: Mon, 6 Jul 2015 18:13:13 +0200	[thread overview]
Message-ID: <20150706181313.7ecafd33@thh440s> (raw)
In-Reply-To: <559AA7C8.9010503@ozlabs.ru>

On Tue, 7 Jul 2015 02:07:36 +1000
Alexey Kardashevskiy <aik@ozlabs.ru> wrote:

> On 07/07/2015 01:54 AM, Thomas Huth wrote:
> > On Mon,  6 Jul 2015 12:10:56 +1000
> > Alexey Kardashevskiy <aik@ozlabs.ru> wrote:
> > ...
> >>
> >> This patchset adds DDW support for pseries. The host kernel changes are
> >> required, available in the current upstream.
> >>
> >> This patchset is based on git://github.com/dgibson/qemu.git spapr-next branch.
> >>
> >> Please comment. Thanks!
> >
> >   Alexey,
> >
> > I'm sorry, but it looks like this patch set badly fails to link when
> > compiling for a non-Linux target:
> >
> >    LINK  ppc64-softmmu/qemu-system-ppc64.exe
> > hw/ppc/spapr_pci.o: In function `spapr_phb_dma_capabilities_update':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:785: undefined reference to `spapr_phb_vfio_dma_capabilities_update'
> > hw/ppc/spapr_pci.o: In function `rtas_ibm_configure_pe':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:601: undefined reference to `spapr_phb_vfio_eeh_configure'
> > hw/ppc/spapr_pci.o: In function `rtas_ibm_set_slot_reset':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:573: undefined reference to `spapr_phb_vfio_eeh_reset'
> > hw/ppc/spapr_pci.o: In function `rtas_ibm_read_slot_reset_state2':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:533: undefined reference to `spapr_phb_vfio_eeh_get_state'
> > hw/ppc/spapr_pci.o: In function `rtas_ibm_set_eeh_option':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:455: undefined reference to `spapr_phb_vfio_eeh_set_option'
> > hw/ppc/spapr_pci.o: In function `spapr_phb_hotplug_dma_sync':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:884: undefined reference to `spapr_phb_vfio_dma_remove_window'
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:894: undefined reference to `spapr_phb_vfio_dma_init_window'
> > hw/ppc/spapr_pci.o: In function `spapr_phb_dma_init_window':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:805: undefined reference to `spapr_phb_vfio_dma_init_window'
> > hw/ppc/spapr_pci.o: In function `spapr_phb_dma_remove_window':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:834: undefined reference to `spapr_phb_vfio_dma_remove_window'
> > hw/ppc/spapr_pci.o: In function `spapr_phb_reset':
> > /home/thuth/devel/qemu/hw/ppc/spapr_pci.c:1538: undefined reference to `spapr_phb_vfio_eeh_reenable'
> > collect2: error: ld returned 1 exit status
> >
> > Please make sure that this series also works if either CONFIG_LINUX
> > or CONFIG_PCI are not enabled!
> 
> 
> Oh. How exactly did you configure qemu to get this?

I installed the mingw64 cross compiler packages (and likely some
additional library packages like mingw64-zlib, -pixman, etc.), and then
ran configure like this:

configure' --cc=x86_64-w64-mingw32-gcc --cross-prefix=x86_64-w64-mingw32- --target-list=ppc64-softmmu

 Thomas

  reply	other threads:[~2015-07-06 16:13 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-06  2:10 [Qemu-devel] [PATCH qemu v10 00/14] spapr: vfio: Enable Dynamic DMA windows (DDW) Alexey Kardashevskiy
2015-07-06  2:10 ` [Qemu-devel] [PATCH qemu v10 01/14] linux-headers: Update to 4.2-rc1 Alexey Kardashevskiy
2015-07-06 11:18   ` Paolo Bonzini
2015-07-06  2:10 ` [Qemu-devel] [PATCH qemu v10 02/14] vmstate: Define VARRAY with VMS_ALLOC Alexey Kardashevskiy
2015-07-06 14:21   ` Thomas Huth
2015-07-06  2:10 ` [Qemu-devel] [PATCH qemu v10 03/14] spapr_pci: Convert finish_realize() to dma_capabilities_update()+dma_init_window() Alexey Kardashevskiy
2015-07-06 16:41   ` Laurent Vivier
2015-07-07  0:28     ` Alexey Kardashevskiy
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 04/14] spapr_iommu: Move table allocation to helpers Alexey Kardashevskiy
2015-07-06 15:14   ` Thomas Huth
2015-07-06 15:43     ` Alexey Kardashevskiy
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 05/14] spapr_iommu: Introduce "enabled" state for TCE table Alexey Kardashevskiy
2015-07-06 10:07   ` David Gibson
2015-07-06 17:04   ` Thomas Huth
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 06/14] spapr_iommu: Remove vfio_accel flag from sPAPRTCETable Alexey Kardashevskiy
2015-07-06 16:45   ` Laurent Vivier
2015-07-06 17:11   ` Thomas Huth
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 07/14] spapr_iommu: Add root memory region Alexey Kardashevskiy
2015-07-06 19:15   ` Thomas Huth
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 08/14] spapr_pci: Do complete reset of DMA config when resetting PHB Alexey Kardashevskiy
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 09/14] spapr_vfio_pci: Remove redundant spapr-pci-vfio-host-bridge Alexey Kardashevskiy
2015-07-06 21:13   ` Thomas Huth
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 10/14] spapr_pci: Enable vfio-pci hotplug Alexey Kardashevskiy
2015-07-06 10:27   ` David Gibson
2015-07-06 21:31   ` Thomas Huth
2015-07-07  9:28     ` Alexey Kardashevskiy
2015-07-10 21:33   ` Michael Roth
2015-07-12  4:59     ` Alexey Kardashevskiy
2015-07-12 14:41       ` Michael Roth
2015-07-13  1:10         ` David Gibson
2015-07-13  7:06         ` Alexey Kardashevskiy
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 11/14] spapr_pci_vfio: Enable multiple groups per container Alexey Kardashevskiy
2015-07-07  7:02   ` Thomas Huth
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 12/14] vfio: Unregister IOMMU notifiers when container is destroyed Alexey Kardashevskiy
2015-07-06 10:33   ` David Gibson
2015-07-06 12:49     ` Alex Williamson
2015-07-06 12:59       ` Alexey Kardashevskiy
2015-07-06 13:45         ` Alex Williamson
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 13/14] vfio: spapr: Add SPAPR IOMMU v2 support (DMA memory preregistering) Alexey Kardashevskiy
2015-07-06 13:42   ` Alex Williamson
2015-07-06 15:34     ` Alexey Kardashevskiy
2015-07-06 16:13       ` Alex Williamson
2015-07-07  0:29         ` David Gibson
2015-07-07  0:36           ` Alexey Kardashevskiy
2015-07-07 12:11         ` Alexey Kardashevskiy
2015-07-07 16:24           ` Alex Williamson
2015-07-08  6:26             ` Alexey Kardashevskiy
2015-07-08 14:51               ` Alex Williamson
2015-07-07  7:23   ` Thomas Huth
2015-07-07 10:05     ` Alexey Kardashevskiy
2015-07-07 10:21       ` Thomas Huth
2015-07-07 11:05         ` Alexey Kardashevskiy
2015-07-08  4:30           ` David Gibson
2015-07-08  6:24             ` Thomas Huth
2015-07-08  6:50               ` David Gibson
2015-07-08  7:07             ` Alexey Kardashevskiy
2015-07-08 14:47             ` Alex Williamson
2015-07-06  2:11 ` [Qemu-devel] [PATCH qemu v10 14/14] spapr_pci/spapr_pci_vfio: Support Dynamic DMA Windows (DDW) Alexey Kardashevskiy
2015-07-06 11:06   ` David Gibson
2015-07-06 11:27     ` Alexey Kardashevskiy
2015-07-07  9:46     ` Alexey Kardashevskiy
2015-07-07  4:58   ` David Gibson
2015-07-07  9:33   ` Thomas Huth
2015-07-07 10:43     ` Alexey Kardashevskiy
2015-07-07 11:35       ` Thomas Huth
2015-07-07 11:53         ` Alexey Kardashevskiy
2015-07-06 11:13 ` [Qemu-devel] [PATCH qemu v10 00/14] spapr: vfio: Enable Dynamic DMA windows (DDW) David Gibson
2015-07-06 15:54 ` Thomas Huth
2015-07-06 16:07   ` Alexey Kardashevskiy
2015-07-06 16:13     ` Thomas Huth [this message]
2015-07-08  4:34   ` David Gibson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150706181313.7ecafd33@thh440s \
    --to=thuth@redhat.com \
    --cc=aik@ozlabs.ru \
    --cc=alex.williamson@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=gwshan@linux.vnet.ibm.com \
    --cc=mdroth@linux.vnet.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-ppc@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.