Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Marcel Apfelbaum

On 09/11/2017 16:37, Fam Zheng wrote:

On Thu, 11/09 16:08, Marcel Apfelbaum wrote:

make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
needed by `qemu-system-aarch64'.  Stop.
make[1]: *** Waiting for unfinished 
jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function 
'handle_shri_with_rndacc':
/tmp/qemu-test/src/target/arm/translate-a64.c:6390: warning: 'tcg_src_hi' may 
be used uninitialized in this function
/tmp/qemu-test/src/target/arm/translate-a64.c: In function 
'disas_simd_scalar_two_reg_misc':
/tmp/qemu-test/src/target/arm/translate-a64.c:8117: warning: 'rmode' may be 
used uninitialized in this function

make: *** [subdir-aarch64-softmmu] Error 2
Traceback (most recent call last):
File "./tests/docker/docker.py", line 385, in 
  sys.exit(main())
File "./tests/docker/docker.py", line 382, in main
  return args.cmdobj.run(args, argv)
File "./tests/docker/docker.py", line 239, in run
  return Docker().run(argv, args.keep, quiet=args.quiet)
File "./tests/docker/docker.py", line 207, in run
  quiet=quiet)
File "./tests/docker/docker.py", line 125, in _do_check
  return subprocess.check_call(self._command + cmd, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
  raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['docker', 'run', '--label', 
'com.qemu.instance.uuid=561e8180c54e11e79bd052540069c830', '-u', '0', 
'--security-opt', 'seccomp=unconfined', '--rm', '--net=none', '-e', 
'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=8', '-e', 
'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', '-v', 
'/root/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879:/var/tmp/qemu:z,ro',
 'qemu:centos6', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit 
status 2
make[1]: *** [tests/docker/Makefile.include:129: docker-run] Error 1
make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-gp94i687/src'
make: *** [tests/docker/Makefile.include:163: docker-run-test-quick@centos6] 
Error 2

real1m28.235s
user0m4.283s
sys 0m4.399s
=== OUTPUT END ===

Test command exited with code: 2


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-de...@freelists.org



Hi Fam,

I can compile just fine in my workstation, can you
please advice ?


I can see the same error with

 make docker-run-test-quick@centos6 V=1 J=8

and also a normal out-of-tree build with

 $QEMU_SRC/configure --enable-debug 
--target-list=x86_64-softmmu,aarch64-softmmu



Yes, I succeeded to reproduce it, thanks!



Can you install docker and try it?



I wanted to try it eventually, now it seems a good time.
I will let you know if any problems.

Thanks,
Marcel


Fam






Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Marcel Apfelbaum

On 09/11/2017 16:29, Philippe Mathieu-Daudé wrote:

Hi Marcel,

On 11/09/2017 11:10 AM, Marcel Apfelbaum wrote:

On 09/11/2017 16:03, Thomas Huth wrote:

On 09.11.2017 14:04, no-re...@patchew.org wrote:

Hi,

This series failed automatic build test. Please find the testing
commands and
their output below. If you have docker installed, you can probably
reproduce it
locally.

[...]

    CC  aarch64-softmmu/hw/scsi/virtio-scsi.o
    CC  aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o
make[1]: *** No rule to make target
`../hw/pci-bridge/pcie_pci_bridge.o', needed by
`qemu-system-x86_64'.  Stop.
make[1]: *** Waiting for unfinished jobs
    CC  aarch64-softmmu/hw/scsi/vhost-scsi-common.o
    CC  aarch64-softmmu/hw/scsi/vhost-scsi.o
    CC  aarch64-softmmu/hw/scsi/vhost-user-scsi.o
    CC  aarch64-softmmu/hw/sd/omap_mmc.o
    CC  aarch64-softmmu/hw/sd/pxa2xx_mmci.o
    CC  aarch64-softmmu/hw/sd/bcm2835_sdhost.o
make: *** [subdir-x86_64-softmmu] Error 2
make: *** Waiting for unfinished jobs
    CC  aarch64-softmmu/hw/ssi/omap_spi.o
    CC  aarch64-softmmu/hw/ssi/imx_spi.o
    CC  aarch64-softmmu/hw/timer/exynos4210_mct.o
    CC  aarch64-softmmu/hw/timer/exynos4210_pwm.o

[...]

    CC  aarch64-softmmu/hw/timer/exynos4210_rtc.o
    CC  aarch64-softmmu/target/arm/translate-a64.o
make[1]: *** No rule to make target
`../hw/pci-bridge/pcie_pci_bridge.o', needed by
`qemu-system-aarch64'.  Stop.
make[1]: *** Waiting for unfinished
jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function
'handle_shri_with_rndacc':


Hmm, looks like this was not working as expected?



In my workstation works just fine (clean and compiled all archs),
I sent a mail to Fam.


Applying your patch on v2.11.0-rc0 I also get this:

make[1]: *** No rule to make target
'../hw/pci-bridge/pcie_pci_bridge.o', needed by 'qemu-system-aarch64'.
Stop.
Makefile:383: recipe for target 'subdir-aarch64-softmmu' failed
make: *** [subdir-aarch64-softmmu] Error 2

$ fgrep CONFIG_PCIE config-all-devices.mak
CONFIG_PCIE_PCI_BRIDGE:=$(findstring
y,$(CONFIG_PCIE_PCI_BRIDGE)$(CONFIG_PCIE_PORT))
CONFIG_PCIE_PORT:=$(findstring y,$(CONFIG_PCIE_PORT)y)

$ make subdir-aarch64-softmmu --debug=v 2>/dev/null | fgrep -i
pcie_pci_bridge
Reading makefile '../hw/pci-bridge/pcie_pci_bridge.d' (search path)
(don't care) (no ~ expansion)...
 Considering target file '../hw/pci-bridge/pcie_pci_bridge.o'.
  File '../hw/pci-bridge/pcie_pci_bridge.o' does not exist.
  Finished prerequisites of target file
'../hw/pci-bridge/pcie_pci_bridge.o'.
 Must remake target '../hw/pci-bridge/pcie_pci_bridge.o'.



Hi Philippe,
Thanks for trying it! I succeeded to reproduce with an out of tree build.
For some reason the make system doesn't work as I would want to.

I'll resend a working version,
Thanks,
Marcel





Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Fam Zheng
On Thu, 11/09 16:08, Marcel Apfelbaum wrote:
> > make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
> > needed by `qemu-system-aarch64'.  Stop.
> > make[1]: *** Waiting for unfinished 
> > jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function 
> > 'handle_shri_with_rndacc':
> > /tmp/qemu-test/src/target/arm/translate-a64.c:6390: warning: 'tcg_src_hi' 
> > may be used uninitialized in this function
> > /tmp/qemu-test/src/target/arm/translate-a64.c: In function 
> > 'disas_simd_scalar_two_reg_misc':
> > /tmp/qemu-test/src/target/arm/translate-a64.c:8117: warning: 'rmode' may be 
> > used uninitialized in this function
> > 
> > make: *** [subdir-aarch64-softmmu] Error 2
> > Traceback (most recent call last):
> >File "./tests/docker/docker.py", line 385, in 
> >  sys.exit(main())
> >File "./tests/docker/docker.py", line 382, in main
> >  return args.cmdobj.run(args, argv)
> >File "./tests/docker/docker.py", line 239, in run
> >  return Docker().run(argv, args.keep, quiet=args.quiet)
> >File "./tests/docker/docker.py", line 207, in run
> >  quiet=quiet)
> >File "./tests/docker/docker.py", line 125, in _do_check
> >  return subprocess.check_call(self._command + cmd, **kwargs)
> >File "/usr/lib64/python2.7/subprocess.py", line 186, in check_call
> >  raise CalledProcessError(retcode, cmd)
> > subprocess.CalledProcessError: Command '['docker', 'run', '--label', 
> > 'com.qemu.instance.uuid=561e8180c54e11e79bd052540069c830', '-u', '0', 
> > '--security-opt', 'seccomp=unconfined', '--rm', '--net=none', '-e', 
> > 'TARGET_LIST=', '-e', 'EXTRA_CONFIGURE_OPTS=', '-e', 'V=', '-e', 'J=8', 
> > '-e', 'DEBUG=', '-e', 'SHOW_ENV=1', '-e', 'CCACHE_DIR=/var/tmp/ccache', 
> > '-v', '/root/.cache/qemu-docker-ccache:/var/tmp/ccache:z', '-v', 
> > '/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879:/var/tmp/qemu:z,ro',
> >  'qemu:centos6', '/var/tmp/qemu/run', 'test-quick']' returned non-zero exit 
> > status 2
> > make[1]: *** [tests/docker/Makefile.include:129: docker-run] Error 1
> > make[1]: Leaving directory '/var/tmp/patchew-tester-tmp-gp94i687/src'
> > make: *** [tests/docker/Makefile.include:163: 
> > docker-run-test-quick@centos6] Error 2
> > 
> > real1m28.235s
> > user0m4.283s
> > sys 0m4.399s
> > === OUTPUT END ===
> > 
> > Test command exited with code: 2
> > 
> > 
> > ---
> > Email generated automatically by Patchew [http://patchew.org/].
> > Please send your feedback to patchew-de...@freelists.org
> > 
> 
> Hi Fam,
> 
> I can compile just fine in my workstation, can you
> please advice ?

I can see the same error with

make docker-run-test-quick@centos6 V=1 J=8

and also a normal out-of-tree build with

$QEMU_SRC/configure --enable-debug 
--target-list=x86_64-softmmu,aarch64-softmmu

Can you install docker and try it?

Fam



Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Philippe Mathieu-Daudé
Hi Marcel,

On 11/09/2017 11:10 AM, Marcel Apfelbaum wrote:
> On 09/11/2017 16:03, Thomas Huth wrote:
>> On 09.11.2017 14:04, no-re...@patchew.org wrote:
>>> Hi,
>>>
>>> This series failed automatic build test. Please find the testing
>>> commands and
>>> their output below. If you have docker installed, you can probably
>>> reproduce it
>>> locally.
>> [...]
>>>    CC  aarch64-softmmu/hw/scsi/virtio-scsi.o
>>>    CC  aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o
>>> make[1]: *** No rule to make target
>>> `../hw/pci-bridge/pcie_pci_bridge.o', needed by
>>> `qemu-system-x86_64'.  Stop.
>>> make[1]: *** Waiting for unfinished jobs
>>>    CC  aarch64-softmmu/hw/scsi/vhost-scsi-common.o
>>>    CC  aarch64-softmmu/hw/scsi/vhost-scsi.o
>>>    CC  aarch64-softmmu/hw/scsi/vhost-user-scsi.o
>>>    CC  aarch64-softmmu/hw/sd/omap_mmc.o
>>>    CC  aarch64-softmmu/hw/sd/pxa2xx_mmci.o
>>>    CC  aarch64-softmmu/hw/sd/bcm2835_sdhost.o
>>> make: *** [subdir-x86_64-softmmu] Error 2
>>> make: *** Waiting for unfinished jobs
>>>    CC  aarch64-softmmu/hw/ssi/omap_spi.o
>>>    CC  aarch64-softmmu/hw/ssi/imx_spi.o
>>>    CC  aarch64-softmmu/hw/timer/exynos4210_mct.o
>>>    CC  aarch64-softmmu/hw/timer/exynos4210_pwm.o
>> [...]
>>>    CC  aarch64-softmmu/hw/timer/exynos4210_rtc.o
>>>    CC  aarch64-softmmu/target/arm/translate-a64.o
>>> make[1]: *** No rule to make target
>>> `../hw/pci-bridge/pcie_pci_bridge.o', needed by
>>> `qemu-system-aarch64'.  Stop.
>>> make[1]: *** Waiting for unfinished
>>> jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function
>>> 'handle_shri_with_rndacc':
>>
>> Hmm, looks like this was not working as expected?
>>
> 
> In my workstation works just fine (clean and compiled all archs),
> I sent a mail to Fam.

Applying your patch on v2.11.0-rc0 I also get this:

make[1]: *** No rule to make target
'../hw/pci-bridge/pcie_pci_bridge.o', needed by 'qemu-system-aarch64'.
Stop.
Makefile:383: recipe for target 'subdir-aarch64-softmmu' failed
make: *** [subdir-aarch64-softmmu] Error 2

$ fgrep CONFIG_PCIE config-all-devices.mak
CONFIG_PCIE_PCI_BRIDGE:=$(findstring
y,$(CONFIG_PCIE_PCI_BRIDGE)$(CONFIG_PCIE_PORT))
CONFIG_PCIE_PORT:=$(findstring y,$(CONFIG_PCIE_PORT)y)

$ make subdir-aarch64-softmmu --debug=v 2>/dev/null | fgrep -i
pcie_pci_bridge
Reading makefile '../hw/pci-bridge/pcie_pci_bridge.d' (search path)
(don't care) (no ~ expansion)...
Considering target file '../hw/pci-bridge/pcie_pci_bridge.o'.
 File '../hw/pci-bridge/pcie_pci_bridge.o' does not exist.
 Finished prerequisites of target file
'../hw/pci-bridge/pcie_pci_bridge.o'.
Must remake target '../hw/pci-bridge/pcie_pci_bridge.o'.



Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Marcel Apfelbaum

On 09/11/2017 16:03, Thomas Huth wrote:

On 09.11.2017 14:04, no-re...@patchew.org wrote:

Hi,

This series failed automatic build test. Please find the testing commands and
their output below. If you have docker installed, you can probably reproduce it
locally.

[...]

   CC  aarch64-softmmu/hw/scsi/virtio-scsi.o
   CC  aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o
make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
needed by `qemu-system-x86_64'.  Stop.
make[1]: *** Waiting for unfinished jobs
   CC  aarch64-softmmu/hw/scsi/vhost-scsi-common.o
   CC  aarch64-softmmu/hw/scsi/vhost-scsi.o
   CC  aarch64-softmmu/hw/scsi/vhost-user-scsi.o
   CC  aarch64-softmmu/hw/sd/omap_mmc.o
   CC  aarch64-softmmu/hw/sd/pxa2xx_mmci.o
   CC  aarch64-softmmu/hw/sd/bcm2835_sdhost.o
make: *** [subdir-x86_64-softmmu] Error 2
make: *** Waiting for unfinished jobs
   CC  aarch64-softmmu/hw/ssi/omap_spi.o
   CC  aarch64-softmmu/hw/ssi/imx_spi.o
   CC  aarch64-softmmu/hw/timer/exynos4210_mct.o
   CC  aarch64-softmmu/hw/timer/exynos4210_pwm.o

[...]

   CC  aarch64-softmmu/hw/timer/exynos4210_rtc.o
   CC  aarch64-softmmu/target/arm/translate-a64.o
make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
needed by `qemu-system-aarch64'.  Stop.
make[1]: *** Waiting for unfinished 
jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function 
'handle_shri_with_rndacc':


Hmm, looks like this was not working as expected?



In my workstation works just fine (clean and compiled all archs),
I sent a mail to Fam.

Thanks,
Marcel


  Thomas






Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Marcel Apfelbaum

On 09/11/2017 15:04, no-re...@patchew.org wrote:

Hi,

This series failed automatic build test. Please find the testing commands and
their output below. If you have docker installed, you can probably reproduce it
locally.

Subject: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM
Type: series
Message-id: 20171109125826.120228-1-mar...@redhat.com

=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
# Let docker tests dump environment info
export SHOW_ENV=1
export J=8
time make docker-test-quick@centos6
time make docker-test-build@min-glib
time make docker-test-mingw@fedora
time make docker-test-block@fedora
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
e0f832ffeb hw/pcie-pci-bridge: restrict to X86 and ARM

=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-gp94i687/src/dtc'...
Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
   BUILD   centos6
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-gp94i687/src'
   GEN 
/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot'...
done.
Checking out files:  43% (2465/5654)
Checking out files:  44% (2488/5654)
Checking out files:  45% (2545/5654)
Checking out files:  46% (2601/5654)
Checking out files:  47% (2658/5654)
Checking out files:  48% (2714/5654)
Checking out files:  49% (2771/5654)
Checking out files:  50% (2827/5654)
Checking out files:  51% (2884/5654)
Checking out files:  52% (2941/5654)
Checking out files:  53% (2997/5654)
Checking out files:  54% (3054/5654)
Checking out files:  55% (3110/5654)
Checking out files:  56% (3167/5654)
Checking out files:  57% (3223/5654)
Checking out files:  58% (3280/5654)
Checking out files:  59% (3336/5654)
Checking out files:  60% (3393/5654)
Checking out files:  61% (3449/5654)
Checking out files:  62% (3506/5654)
Checking out files:  62% (3553/5654)
Checking out files:  63% (3563/5654)
Checking out files:  64% (3619/5654)
Checking out files:  65% (3676/5654)
Checking out files:  66% (3732/5654)
Checking out files:  67% (3789/5654)
Checking out files:  68% (3845/5654)
Checking out files:  69% (3902/5654)
Checking out files:  70% (3958/5654)
Checking out files:  71% (4015/5654)
Checking out files:  72% (4071/5654)
Checking out files:  73% (4128/5654)
Checking out files:  74% (4184/5654)
Checking out files:  75% (4241/5654)
Checking out files:  76% (4298/5654)
Checking out files:  77% (4354/5654)
Checking out files:  78% (4411/5654)
Checking out files:  79% (4467/5654)
Checking out files:  80% (4524/5654)
Checking out files:  81% (4580/5654)
Checking out files:  82% (4637/5654)
Checking out files:  83% (4693/5654)
Checking out files:  84% (4750/5654)
Checking out files:  85% (4806/5654)
Checking out files:  86% (4863/5654)
Checking out files:  87% (4919/5654)
Checking out files:  88% (4976/5654)
Checking out files:  89% (5033/5654)
Checking out files:  90% (5089/5654)
Checking out files:  91% (5146/5654)
Checking out files:  92% (5202/5654)
Checking out files:  93% (5259/5654)
Checking out files:  94% (5315/5654)
Checking out files:  95% (5372/5654)
Checking out files:  96% (5428/5654)
Checking out files:  97% (5485/5654)
Checking out files:  98% (5541/5654)
Checking out files:  99% (5598/5654)
Checking out files: 100% (5654/5654)
Checking out files: 100% (5654/5654), done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot/dtc'...
Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered 
for path 'ui/keycodemapdb'
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot/ui/keycodemapdb'...
Submodule path 'ui/keycodemapdb': checked out 
'10739aa26051a5d49d88132604539d3ed085e72e'
   COPYRUNNER
 RUN test-quick in qemu:centos6
Packages installed:
SDL-devel-1.2.14-7.el6_7.1.x86_64
bison-2.4.1-5.el6.x86_64
bzip2-devel-1.0.5-7.el6_0.x86_64
ccache-3.1.6-2.el6.x86_64
csnappy-devel-0-6.20150729gitd7bc683.el6.x86_64
flex-2.5.35-9.el6.x86_64
gcc-4.4.7-18.el6.x86_64
gettext-0.17-18.el6.x86_64
git-1.7.1-9.el6_9.x86_64
glib2-devel-2.28.8-9.el6.x86_64
libepoxy-devel-1.2-3.el6.x86_64
libfdt-devel-1.4.0-1.el6.x86_64
librdmacm-devel-1.0.21-0.el6.x86_64
lzo-devel-2.03-3.1.el6_5.1.x86_64
make-3.81-23.el6.x86_64
mesa-libEGL-devel-11.0.7-4.el6.x86_64
mesa-libgbm-devel-11.0.7-4.el6.x86_64
package g++ is not installed
pixman-devel-0.32.8-1.el6.x86_64
spice-glib-devel-0.26-8.el6.x86_64
spice-server-devel-0.12.4-16.el6.x86_64
tar-1.23-15.el6_8

Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Thomas Huth
On 09.11.2017 14:04, no-re...@patchew.org wrote:
> Hi,
> 
> This series failed automatic build test. Please find the testing commands and
> their output below. If you have docker installed, you can probably reproduce 
> it
> locally.
[...]
>   CC  aarch64-softmmu/hw/scsi/virtio-scsi.o
>   CC  aarch64-softmmu/hw/scsi/virtio-scsi-dataplane.o
> make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
> needed by `qemu-system-x86_64'.  Stop.
> make[1]: *** Waiting for unfinished jobs
>   CC  aarch64-softmmu/hw/scsi/vhost-scsi-common.o
>   CC  aarch64-softmmu/hw/scsi/vhost-scsi.o
>   CC  aarch64-softmmu/hw/scsi/vhost-user-scsi.o
>   CC  aarch64-softmmu/hw/sd/omap_mmc.o
>   CC  aarch64-softmmu/hw/sd/pxa2xx_mmci.o
>   CC  aarch64-softmmu/hw/sd/bcm2835_sdhost.o
> make: *** [subdir-x86_64-softmmu] Error 2
> make: *** Waiting for unfinished jobs
>   CC  aarch64-softmmu/hw/ssi/omap_spi.o
>   CC  aarch64-softmmu/hw/ssi/imx_spi.o
>   CC  aarch64-softmmu/hw/timer/exynos4210_mct.o
>   CC  aarch64-softmmu/hw/timer/exynos4210_pwm.o
[...]
>   CC  aarch64-softmmu/hw/timer/exynos4210_rtc.o
>   CC  aarch64-softmmu/target/arm/translate-a64.o
> make[1]: *** No rule to make target `../hw/pci-bridge/pcie_pci_bridge.o', 
> needed by `qemu-system-aarch64'.  Stop.
> make[1]: *** Waiting for unfinished 
> jobs/tmp/qemu-test/src/target/arm/translate-a64.c: In function 
> 'handle_shri_with_rndacc':

Hmm, looks like this was not working as expected?

 Thomas



Re: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread no-reply
Hi,

This series failed automatic build test. Please find the testing commands and
their output below. If you have docker installed, you can probably reproduce it
locally.

Subject: [Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM
Type: series
Message-id: 20171109125826.120228-1-mar...@redhat.com

=== TEST SCRIPT BEGIN ===
#!/bin/bash
set -e
git submodule update --init dtc
# Let docker tests dump environment info
export SHOW_ENV=1
export J=8
time make docker-test-quick@centos6
time make docker-test-build@min-glib
time make docker-test-mingw@fedora
time make docker-test-block@fedora
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
Switched to a new branch 'test'
e0f832ffeb hw/pcie-pci-bridge: restrict to X86 and ARM

=== OUTPUT BEGIN ===
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into '/var/tmp/patchew-tester-tmp-gp94i687/src/dtc'...
Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
  BUILD   centos6
make[1]: Entering directory '/var/tmp/patchew-tester-tmp-gp94i687/src'
  GEN 
/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot'...
done.
Checking out files:  43% (2465/5654)   
Checking out files:  44% (2488/5654)   
Checking out files:  45% (2545/5654)   
Checking out files:  46% (2601/5654)   
Checking out files:  47% (2658/5654)   
Checking out files:  48% (2714/5654)   
Checking out files:  49% (2771/5654)   
Checking out files:  50% (2827/5654)   
Checking out files:  51% (2884/5654)   
Checking out files:  52% (2941/5654)   
Checking out files:  53% (2997/5654)   
Checking out files:  54% (3054/5654)   
Checking out files:  55% (3110/5654)   
Checking out files:  56% (3167/5654)   
Checking out files:  57% (3223/5654)   
Checking out files:  58% (3280/5654)   
Checking out files:  59% (3336/5654)   
Checking out files:  60% (3393/5654)   
Checking out files:  61% (3449/5654)   
Checking out files:  62% (3506/5654)   
Checking out files:  62% (3553/5654)   
Checking out files:  63% (3563/5654)   
Checking out files:  64% (3619/5654)   
Checking out files:  65% (3676/5654)   
Checking out files:  66% (3732/5654)   
Checking out files:  67% (3789/5654)   
Checking out files:  68% (3845/5654)   
Checking out files:  69% (3902/5654)   
Checking out files:  70% (3958/5654)   
Checking out files:  71% (4015/5654)   
Checking out files:  72% (4071/5654)   
Checking out files:  73% (4128/5654)   
Checking out files:  74% (4184/5654)   
Checking out files:  75% (4241/5654)   
Checking out files:  76% (4298/5654)   
Checking out files:  77% (4354/5654)   
Checking out files:  78% (4411/5654)   
Checking out files:  79% (4467/5654)   
Checking out files:  80% (4524/5654)   
Checking out files:  81% (4580/5654)   
Checking out files:  82% (4637/5654)   
Checking out files:  83% (4693/5654)   
Checking out files:  84% (4750/5654)   
Checking out files:  85% (4806/5654)   
Checking out files:  86% (4863/5654)   
Checking out files:  87% (4919/5654)   
Checking out files:  88% (4976/5654)   
Checking out files:  89% (5033/5654)   
Checking out files:  90% (5089/5654)   
Checking out files:  91% (5146/5654)   
Checking out files:  92% (5202/5654)   
Checking out files:  93% (5259/5654)   
Checking out files:  94% (5315/5654)   
Checking out files:  95% (5372/5654)   
Checking out files:  96% (5428/5654)   
Checking out files:  97% (5485/5654)   
Checking out files:  98% (5541/5654)   
Checking out files:  99% (5598/5654)   
Checking out files: 100% (5654/5654)   
Checking out files: 100% (5654/5654), done.
Your branch is up-to-date with 'origin/test'.
Submodule 'dtc' (git://git.qemu-project.org/dtc.git) registered for path 'dtc'
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot/dtc'...
Submodule path 'dtc': checked out '558cd81bdd432769b59bff01240c44f82cfb1a9d'
Submodule 'ui/keycodemapdb' (git://git.qemu.org/keycodemapdb.git) registered 
for path 'ui/keycodemapdb'
Cloning into 
'/var/tmp/patchew-tester-tmp-gp94i687/src/docker-src.2017-11-09-08.03.01.2879/qemu.tar.vroot/ui/keycodemapdb'...
Submodule path 'ui/keycodemapdb': checked out 
'10739aa26051a5d49d88132604539d3ed085e72e'
  COPYRUNNER
RUN test-quick in qemu:centos6 
Packages installed:
SDL-devel-1.2.14-7.el6_7.1.x86_64
bison-2.4.1-5.el6.x86_64
bzip2-devel-1.0.5-7.el6_0.x86_64
ccache-3.1.6-2.el6.x86_64
csnappy-devel-0-6.20150729gitd7bc683.el6.x86_64
flex-2.5.35-9.el6.x86_64
gcc-4.4.7-18.el6.x86_64
gettext-0.17-18.el6.x86_64
git-1.7.1-9.el6_9.x86_64
glib2-devel-2.28.8-9.el6.x86_64
libepoxy-devel-1.2-3.el6.x86_64
libfdt-devel-1.4.0-1.el6.x86_64
librdmacm-devel-1.0.21-0.el6.x86_64
lzo-devel-2.03-3.1.el6_5.1.x86_64
make-3.81-23.el6.x86_64
mesa-libEGL-devel-11.0.7-4.el6.x86_64
mesa-libgbm-devel-11.0.7-4.el6.x86_64
package g++ is not installed
pixman

[Qemu-devel] [PATCH V4] hw/pcie-pci-bridge: restrict to X86 and ARM

2017-11-09 Thread Marcel Apfelbaum
The PCIE-PCI bridge is specific to "pure" PCIe systems
(on QEMU we have X86 and ARM), it does not make sense to
have it in other archs.

Reported-by: Thomas Huth 
Signed-off-by: Marcel Apfelbaum 
---

V3 -> V4:
 - Move the config line to pci.mak  (Thomas)

V2 -> V3:
 - Another tweak in subject s/if/it (Cornelia) 

V1 -> V2:
 Addressed Thomas and Cornelia comments:
 - Conditioned the pcie-pci-bridge compilation on
   the PCIe Root CONFIG_PCIE_PORT
 - Tweaked subject PCI -> PCIe

 Thanks,
 Marcel

 default-configs/pci.mak | 1 +
 hw/pci-bridge/Makefile.objs | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/default-configs/pci.mak b/default-configs/pci.mak
index e514bdef42..7724b9657a 100644
--- a/default-configs/pci.mak
+++ b/default-configs/pci.mak
@@ -43,3 +43,4 @@ CONFIG_VGA_PCI=y
 CONFIG_IVSHMEM_DEVICE=$(CONFIG_IVSHMEM)
 CONFIG_ROCKER=y
 CONFIG_VHOST_USER_SCSI=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
+CONFIG_PCIE_PCI_BRIDGE=$(CONFIG_PCIE_PORT)
diff --git a/hw/pci-bridge/Makefile.objs b/hw/pci-bridge/Makefile.objs
index 666db37da2..9d23a7038a 100644
--- a/hw/pci-bridge/Makefile.objs
+++ b/hw/pci-bridge/Makefile.objs
@@ -1,6 +1,7 @@
-common-obj-y += pci_bridge_dev.o pcie_pci_bridge.o
+common-obj-y += pci_bridge_dev.o
 common-obj-$(CONFIG_PCIE_PORT) += pcie_root_port.o gen_pcie_root_port.o
 common-obj-$(CONFIG_PXB) += pci_expander_bridge.o
+common-obj-$(CONFIG_PCIE_PCI_BRIDGE) += pcie_pci_bridge.o
 common-obj-$(CONFIG_XIO3130) += xio3130_upstream.o xio3130_downstream.o
 common-obj-$(CONFIG_IOH3420) += ioh3420.o
 common-obj-$(CONFIG_I82801B11) += i82801b11.o
-- 
2.13.5