From: robin.murphy@arm.com (Robin Murphy)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 2/2] kvmtool/arm: Add option to override Generic Timer frequency
Date: Wed, 18 Dec 2013 13:44:09 +0000 [thread overview]
Message-ID: <52B1A6A9.1030107@arm.com> (raw)
In-Reply-To: <308D5B7E-5BDA-4984-9448-EAD8B5D699CF@suse.de>
On 17/12/13 20:39, Alexander Graf wrote:
>
> On 17.12.2013, at 19:31, Robin Murphy <robin.murphy@arm.com> wrote:
>
>> Some platforms have secure firmware which does not correctly set the
>> CNTFRQ register on boot, preventing the use of the Generic Timer.
>> This patch allows mirroring the necessary host workaround by specifying
>> the clock-frequency property in the guest DT.
>>
>> This should only be considered a means of KVM bring-up on such systems,
>> such that vendors may be convinced to properly implement their firmware
>> to support the virtualisation capabilities of their hardware.
>>
>> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
>> Acked-by: Will Deacon <will.deacon@arm.com>
>
> How does it encourage a vendor to properly implement their firmware if there's a workaround?
>
>
> Alex
>
>
Hi Alex,
In short, by enabling the users to create the demand. Yes, like any
workaround there's potential for abuse, but having *something* that
makes it work is the difference between "I want virtualisation"[1] and
"Dear vendor, I've tried virtualisation on your chip/board and it's
great, but it tells me I need new firmware, where do I get that?"
Having the specs tell them what to do clearly isn't sufficient, so let's
give the integrators and consumers incentive to shout at them too. The
sooner proper support is commonplace and we can deprecate
clock-frequency hacks altogether, the better.
Robin.
[1]
http://www.theregister.co.uk/2013/12/12/virtualisation_on_mobile_phones_is_coming/
WARNING: multiple messages have this Message-ID (diff)
From: Robin Murphy <robin.murphy@arm.com>
To: Alexander Graf <agraf@suse.de>
Cc: linux-arm-kernel <linux-arm-kernel@lists.infradead.org>,
"kvmarm@lists.cs.columbia.edu" <kvmarm@lists.cs.columbia.edu>,
Will Deacon <Will.Deacon@arm.com>,
"kvm@vger.kernel.org mailing list" <kvm@vger.kernel.org>
Subject: Re: [PATCH 2/2] kvmtool/arm: Add option to override Generic Timer frequency
Date: Wed, 18 Dec 2013 13:44:09 +0000 [thread overview]
Message-ID: <52B1A6A9.1030107@arm.com> (raw)
In-Reply-To: <308D5B7E-5BDA-4984-9448-EAD8B5D699CF@suse.de>
On 17/12/13 20:39, Alexander Graf wrote:
>
> On 17.12.2013, at 19:31, Robin Murphy <robin.murphy@arm.com> wrote:
>
>> Some platforms have secure firmware which does not correctly set the
>> CNTFRQ register on boot, preventing the use of the Generic Timer.
>> This patch allows mirroring the necessary host workaround by specifying
>> the clock-frequency property in the guest DT.
>>
>> This should only be considered a means of KVM bring-up on such systems,
>> such that vendors may be convinced to properly implement their firmware
>> to support the virtualisation capabilities of their hardware.
>>
>> Signed-off-by: Robin Murphy <robin.murphy@arm.com>
>> Acked-by: Will Deacon <will.deacon@arm.com>
>
> How does it encourage a vendor to properly implement their firmware if there's a workaround?
>
>
> Alex
>
>
Hi Alex,
In short, by enabling the users to create the demand. Yes, like any
workaround there's potential for abuse, but having *something* that
makes it work is the difference between "I want virtualisation"[1] and
"Dear vendor, I've tried virtualisation on your chip/board and it's
great, but it tells me I need new firmware, where do I get that?"
Having the specs tell them what to do clearly isn't sufficient, so let's
give the integrators and consumers incentive to shout at them too. The
sooner proper support is commonplace and we can deprecate
clock-frequency hacks altogether, the better.
Robin.
[1]
http://www.theregister.co.uk/2013/12/12/virtualisation_on_mobile_phones_is_coming/
next prev parent reply other threads:[~2013-12-18 13:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-17 18:31 [PATCH 0/2] kvmtool: Enable overriding Generic Timer frequency Robin Murphy
2013-12-17 18:31 ` Robin Murphy
2013-12-17 18:31 ` [PATCH 1/2] kvmtool: Support unsigned int options Robin Murphy
2013-12-17 18:31 ` Robin Murphy
2013-12-17 18:31 ` [PATCH 2/2] kvmtool/arm: Add option to override Generic Timer frequency Robin Murphy
2013-12-17 18:31 ` Robin Murphy
2013-12-17 20:39 ` Alexander Graf
2013-12-17 20:39 ` Alexander Graf
2013-12-18 13:44 ` Robin Murphy [this message]
2013-12-18 13:44 ` Robin Murphy
2013-12-18 14:07 ` Alexander Graf
2013-12-18 14:07 ` Alexander Graf
2013-12-18 16:11 ` Robin Murphy
2013-12-18 16:11 ` Robin Murphy
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=52B1A6A9.1030107@arm.com \
--to=robin.murphy@arm.com \
--cc=linux-arm-kernel@lists.infradead.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.