From: Andrew Jones <drjones@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: pbonzini@redhat.com, marc.zyngier@arm.com,
christoffer.dall@linaro.org, kvm@vger.kernel.org
Subject: Re: [kvm-unit-tests PATCH v2 2/3] arm/run: ensure we use processor=host for kvm
Date: Mon, 22 May 2017 19:25:28 +0200 [thread overview]
Message-ID: <20170522172528.aptg6b6ob4r5ntp3@kamzik.brq.redhat.com> (raw)
In-Reply-To: <20170518160208.9674-3-alex.bennee@linaro.org>
On Thu, May 18, 2017 at 05:02:07PM +0100, Alex Bennée wrote:
> The configure script will happily default to cortex-a15 even when
> running on a cortex-a7. This runs into problems when running KVM on
> common dev boards as we should be using the "host" processor.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
> arm/run | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arm/run b/arm/run
> index 700205b..f73593b 100755
> --- a/arm/run
> +++ b/arm/run
> @@ -44,9 +44,9 @@ if [ "$ACCEL" = "kvm" ]; then
> if $qemu $M,\? 2>&1 | grep gic-version > /dev/null; then
> M+=',gic-version=host'
> fi
> - if [ "$HOST" = "aarch64" ]; then
> + if [ "$HOST" = "aarch64" ] || [ "$HOST" = "arm" ]; then
> processor="host"
> - if [ "$ARCH" = "arm" ]; then
> + if [ "$ARCH" = "arm" ] && [ "$HOST" = "aarch64" ]; then
> processor+=",aarch64=off"
> fi
> fi
> --
> 2.13.0
>
Reviewed-by: Andrew Jones <drjones@redhat.com>
next prev parent reply other threads:[~2017-05-22 17:25 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-18 16:02 [kvm-unit-tests PATCH v2 0/3] ARM debug register test Alex Bennée
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 1/3] sysregs: add __ACCESS_CP14 macro Alex Bennée
2017-05-22 17:27 ` Andrew Jones
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 2/3] arm/run: ensure we use processor=host for kvm Alex Bennée
2017-05-18 16:03 ` Paolo Bonzini
2017-05-19 6:29 ` Christoffer Dall
2017-05-19 8:11 ` Paolo Bonzini
2017-05-22 17:25 ` Andrew Jones [this message]
2017-05-18 16:02 ` [kvm-unit-tests PATCH v2 3/3] arm/debugtest: test access to the debug registers for guest Alex Bennée
2017-05-22 16:56 ` Radim Krčmář
2017-05-22 18:40 ` Alex Bennée
2017-05-22 17:22 ` Andrew Jones
2017-05-22 18:41 ` Alex Bennée
2017-05-23 9:41 ` Andrew Jones
2017-05-23 9:50 ` Andrew Jones
2017-05-25 15:32 ` [kvm-unit-tests PATCH v2 0/3] ARM debug register test Paolo Bonzini
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=20170522172528.aptg6b6ob4r5ntp3@kamzik.brq.redhat.com \
--to=drjones@redhat.com \
--cc=alex.bennee@linaro.org \
--cc=christoffer.dall@linaro.org \
--cc=kvm@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=pbonzini@redhat.com \
/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.