Re: [kvm-unit-tests PATCH 00/14] ppc64: initial drop

2015-11-03 Thread Paolo Bonzini


On 03/11/2015 08:08, Thomas Huth wrote:
> On 03/08/15 16:41, Andrew Jones wrote:
>> > This series is the first series of a series of series that will
>> > bring support to kvm-unit-tests for ppc64, and eventually ppc64le.
>  Hi Andrew,
> 
> may I ask about the current state of ppc64 support in the
> kvm-unit-tests? Is there a newer version available than the one you
> posted three months ago?

I've been a slob with all the kvm-unit-tests patches.  Andrew, can you
send a single submission of all the patches, so that I can review them
and apply them?

Paolo
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [kvm-unit-tests PATCH 00/14] ppc64: initial drop

2015-11-03 Thread Andrew Jones
On Tue, Nov 03, 2015 at 10:40:18AM +0100, Paolo Bonzini wrote:
> 
> 
> On 03/11/2015 08:08, Thomas Huth wrote:
> > On 03/08/15 16:41, Andrew Jones wrote:
> >> > This series is the first series of a series of series that will
> >> > bring support to kvm-unit-tests for ppc64, and eventually ppc64le.
> >  Hi Andrew,
> > 
> > may I ask about the current state of ppc64 support in the
> > kvm-unit-tests? Is there a newer version available than the one you
> > posted three months ago?
> 

Hi Thomas,

I haven't gotten around to preparing the v2 yet :-(   I do have it on
my TODO list, and I'm looking forward to working on it. Now that I know
you're looking for it, I'll try to bump it up in priority. Thanks for
the interest!

> I've been a slob with all the kvm-unit-tests patches.  Andrew, can you
> send a single submission of all the patches, so that I can review them
> and apply them?

Hi Paolo,

I've got several patches on my staging branch that I believe are ready.
I plan to send those as a big "pull" series for your review soon.

Thanks,
drew

> 
> Paolo
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majord...@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Re: [kvm-unit-tests PATCH 00/14] ppc64: initial drop

2015-11-02 Thread Thomas Huth
On 03/08/15 16:41, Andrew Jones wrote:
> This series is the first series of a series of series that will
> bring support to kvm-unit-tests for ppc64, and eventually ppc64le.

 Hi Andrew,

may I ask about the current state of ppc64 support in the
kvm-unit-tests? Is there a newer version available than the one you
posted three months ago?

 Thanks,
  Thomas


--
To unsubscribe from this list: send the line "unsubscribe kvm-ppc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[kvm-unit-tests PATCH 00/14] ppc64: initial drop

2015-08-03 Thread Andrew Jones
This series is the first series of a series of series that will
bring support to kvm-unit-tests for ppc64, and eventually ppc64le.
(Yes, the word 'series' is four times in that sentence. And now I've
typed 'series' five times! Wait, now six times! OK, moving on...)

This series brings basic setup; starts a test's C entry point, main(),
and printf, exit, and malloc work. Three more series following this
one will bring; vector support, mmu support, and smp support, at which
point I believe the framework can just evolve with the creation of unit
tests.

Executive summary of the patches is as follows
01: A needed fix to asm-generic/io.h. This could go in without the
rest of the series, but it's only needed for BE.
02: Share arm/selftest.c utility functions (for powerpc/selftest.c)
03: Split makefiles up and rename them. This is almost an RFC,
since it generates some churn, but I think it has value now
that we're adding another architecture.
 04-05: Here's the framework start; empty skeleton plus some tweaks.
 06-07: Adds a bootloader. As we target the SPAPR machine type that
requires one.
08: printf support
09: More of setup's framework, and do more setup.
10: Relocate support (since we can't link LMA == VMA)
11: exit() support
 12-14: Unit test running scripts

These patches are available here
https://github.com/rhdrjones/kvm-unit-tests/commits/ppc64/initial-drop

and they're based on this branch
https://github.com/rhdrjones/kvm-unit-tests/commits/staging

which is based on (upstream's next branch)
http://git.kernel.org/cgit/virt/kvm/kvm-unit-tests.git/log/?h=next

Thanks,
drew

Andrew Jones (14):
  lib: asm-generic: add missing casts
  lib: share arm-selftest utility functions
  config: no need to mix arch makefiles
  powerpc/ppc64: start skeleton framework
  powerpc/pp64: ppc-ify makefiles and linker script
  powerpc/ppc64: add boot rom source
  powerpc/ppc64: add bootloader to bounce into memory
  powerpc/ppc64: add HV putchar
  powerpc/ppc64: adapt arm's setup
  powerpc/ppc64: relocate linker VMAs
  powerpc/ppc64: add rtas_power_off
  scripts: add exit code snooper
  powerpc/ppc64: add run script and unittests.cfg
  mkstandalone: add support for powerpc

 Makefile   |   2 +-
 README |   3 +-
 arm/Makefile   |   1 +
 config/config-arm.mak = arm/Makefile.arm  |   2 +-
 config/config-arm64.mak = arm/Makefile.arm64  |   2 +-
 .../config-arm-common.mak = arm/Makefile.common   |   3 +-
 arm/selftest.c |  33 ++-
 configure  |  10 +++
 lib/arm/io.c   |   1 +
 lib/asm-generic/io.h   |  12 +--
 lib/libcflat.h |  14 +--
 lib/powerpc/.gitignore |   1 +
 lib/powerpc/asm/rtas.h |  27 ++
 lib/powerpc/asm/setup.h|  27 ++
 lib/powerpc/io.c   |  35 
 lib/powerpc/mmu.c  |   0
 lib/powerpc/rtas.c |  84 ++
 lib/powerpc/setup.c|  82 ++
 lib/powerpc/smp.c  |   0
 lib/ppc64/.gitignore   |   1 +
 lib/ppc64/asm-offsets.c|  12 +++
 lib/ppc64/asm/asm-offsets.h|   1 +
 lib/ppc64/asm/io.h |   5 ++
 lib/ppc64/asm/page.h   |   1 +
 lib/ppc64/asm/rtas.h   |   1 +
 lib/ppc64/asm/setup.h  |   1 +
 lib/ppc64/asm/spinlock.h   |  11 +++
 lib/ppc64/processor.c  |   0
 lib/ppc64/spinlock.c   |  11 +++
 lib/report.c   |  16 
 lib/util.c |  20 +
 lib/util.h |  23 +
 powerpc/Makefile   |   1 +
 powerpc/Makefile.common|  71 +++
 powerpc/Makefile.ppc64 |  21 +
 powerpc/boot_rom.bin   | Bin 0 - 280 bytes
 powerpc/cstart64.S |  96 +
 powerpc/flat.lds   |  44 ++
 powerpc/reloc64.c  |  55 
 powerpc/rom/.gitignore |   1 +
 powerpc/rom/Makefile   |  36 
 powerpc/rom/header.img |   1 +
 powerpc/rom/rom.ffs|   4 +
 

Re: [kvm-unit-tests PATCH 00/14] ppc64: initial drop

2015-08-03 Thread Paolo Bonzini


On 03/08/2015 16:41, Andrew Jones wrote:
 This series is the first series of a series of series that will
 bring support to kvm-unit-tests for ppc64, and eventually ppc64le.
 (Yes, the word 'series' is four times in that sentence. And now I've
 typed 'series' five times! Wait, now six times! OK, moving on...)
 
 This series brings basic setup; starts a test's C entry point, main(),
 and printf, exit, and malloc work. Three more series following this
 one will bring; vector support, mmu support, and smp support, at which
 point I believe the framework can just evolve with the creation of unit
 tests.
 
 Executive summary of the patches is as follows
 01: A needed fix to asm-generic/io.h. This could go in without the
 rest of the series, but it's only needed for BE.
 02: Share arm/selftest.c utility functions (for powerpc/selftest.c)
 03: Split makefiles up and rename them. This is almost an RFC,
 since it generates some churn, but I think it has value now
 that we're adding another architecture.
  04-05: Here's the framework start; empty skeleton plus some tweaks.
  06-07: Adds a bootloader. As we target the SPAPR machine type that
 requires one.
 08: printf support
 09: More of setup's framework, and do more setup.
 10: Relocate support (since we can't link LMA == VMA)
 11: exit() support
  12-14: Unit test running scripts
 
 These patches are available here
 https://github.com/rhdrjones/kvm-unit-tests/commits/ppc64/initial-drop
 
 and they're based on this branch
 https://github.com/rhdrjones/kvm-unit-tests/commits/staging
 
 which is based on (upstream's next branch)
 http://git.kernel.org/cgit/virt/kvm/kvm-unit-tests.git/log/?h=next

Now pushed to master.  Thanks for the ppc64 tests, I'll review them as
well as Alex's mttcg suite.

Paolo

 Thanks,
 drew
 
 Andrew Jones (14):
   lib: asm-generic: add missing casts
   lib: share arm-selftest utility functions
   config: no need to mix arch makefiles
   powerpc/ppc64: start skeleton framework
   powerpc/pp64: ppc-ify makefiles and linker script
   powerpc/ppc64: add boot rom source
   powerpc/ppc64: add bootloader to bounce into memory
   powerpc/ppc64: add HV putchar
   powerpc/ppc64: adapt arm's setup
   powerpc/ppc64: relocate linker VMAs
   powerpc/ppc64: add rtas_power_off
   scripts: add exit code snooper
   powerpc/ppc64: add run script and unittests.cfg
   mkstandalone: add support for powerpc
 
  Makefile   |   2 +-
  README |   3 +-
  arm/Makefile   |   1 +
  config/config-arm.mak = arm/Makefile.arm  |   2 +-
  config/config-arm64.mak = arm/Makefile.arm64  |   2 +-
  .../config-arm-common.mak = arm/Makefile.common   |   3 +-
  arm/selftest.c |  33 ++-
  configure  |  10 +++
  lib/arm/io.c   |   1 +
  lib/asm-generic/io.h   |  12 +--
  lib/libcflat.h |  14 +--
  lib/powerpc/.gitignore |   1 +
  lib/powerpc/asm/rtas.h |  27 ++
  lib/powerpc/asm/setup.h|  27 ++
  lib/powerpc/io.c   |  35 
  lib/powerpc/mmu.c  |   0
  lib/powerpc/rtas.c |  84 ++
  lib/powerpc/setup.c|  82 ++
  lib/powerpc/smp.c  |   0
  lib/ppc64/.gitignore   |   1 +
  lib/ppc64/asm-offsets.c|  12 +++
  lib/ppc64/asm/asm-offsets.h|   1 +
  lib/ppc64/asm/io.h |   5 ++
  lib/ppc64/asm/page.h   |   1 +
  lib/ppc64/asm/rtas.h   |   1 +
  lib/ppc64/asm/setup.h  |   1 +
  lib/ppc64/asm/spinlock.h   |  11 +++
  lib/ppc64/processor.c  |   0
  lib/ppc64/spinlock.c   |  11 +++
  lib/report.c   |  16 
  lib/util.c |  20 +
  lib/util.h |  23 +
  powerpc/Makefile   |   1 +
  powerpc/Makefile.common|  71 +++
  powerpc/Makefile.ppc64 |  21 +
  powerpc/boot_rom.bin   | Bin 0 - 280 bytes
  powerpc/cstart64.S |  96 
 +
  powerpc/flat.lds   |  44 ++
  powerpc/reloc64.c  |  55