All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Marc Zyngier <marc.zyngier-5wv7dgnIgG8@public.gmane.org>
Cc: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>,
	Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
	Naveen Krishna Chatradhi
	<ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Catalin Marinas <Catalin.Marinas-5wv7dgnIgG8@public.gmane.org>,
	"naveenkrishna.ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org"
	<naveenkrishna.ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	"linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org"
	<cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>,
	Thomas Abraham
	<thomas.ab-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Subject: Re: [PATCH 11/14] arm64: dts: Add initial device tree support for EXYNOS7
Date: Thu, 28 Aug 2014 12:33:13 -0500	[thread overview]
Message-ID: <CAL_JsqKB-gganC6H1XBzUbFzXk8zy08U4X3mFWhxNWZO=upJPQ@mail.gmail.com> (raw)
In-Reply-To: <53FF6668.4080502-5wv7dgnIgG8@public.gmane.org>

On Thu, Aug 28, 2014 at 12:27 PM, Marc Zyngier <marc.zyngier-5wv7dgnIgG8@public.gmane.org> wrote:
> On 28/08/14 18:03, Mark Rutland wrote:
>
>> From 67104ad5a56e4c18f9c41f06af028b7561740afd Mon Sep 17 00:00:00 2001
>> From: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
>> Date: Thu, 28 Aug 2014 17:41:03 +0100
>> Subject: [PATCH] Doc: dt: arch_timer: discourage clock-frequency use
>>
>> The ARM Generic Timer (AKA the architected timer, arm_arch_timer)
>> features a CPU register (CNTFRQ) which firmware is intended to
>> initialize, and non-secure software can read to determine the frequency
>> of the timer. On CPUs with secure state, this register cannot be written
>> from non-secure states.
>>
>> The firmware of early SoCs featuring the timer did not correctly
>> initialize CNTFRQ correctly on all CPUs, requiring the frequency to be
>> described in DT as a workaround. This workaround is not complete however
>> as CNTFRQ is exposed to all software in a privileged non-secure mode,
>> including KVM guests. The firmware and DTs for recent SoCs have followed
>
> I believe Xen is also affected by this.
>
>> the example set by these early SoCs.
>>
>> This patch updates the arch timer binding documentation to make it
>> clearer that the use of the clock-frequency property is a poor
>> work-around. The MMIO generic timer binding is similarly updated, though
>> this is less of a concern as there is generally no need to expose the
>> MMIO timers to guest OSs.
>>
>> Signed-off-by: Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>
>> Cc: Marc Zyngier <marc.zyngier-5wv7dgnIgG8@public.gmane.org>
>
> Short of more explicit threats:

Why not also add WARNs (and mark for stable). People tend to notice
and fix those. If not the vendors, those pesky customers always
complain (the same ones that get concerned about BogoMIPS values being
too low).

Rob
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: robh@kernel.org (Rob Herring)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 11/14] arm64: dts: Add initial device tree support for EXYNOS7
Date: Thu, 28 Aug 2014 12:33:13 -0500	[thread overview]
Message-ID: <CAL_JsqKB-gganC6H1XBzUbFzXk8zy08U4X3mFWhxNWZO=upJPQ@mail.gmail.com> (raw)
In-Reply-To: <53FF6668.4080502@arm.com>

On Thu, Aug 28, 2014 at 12:27 PM, Marc Zyngier <marc.zyngier@arm.com> wrote:
> On 28/08/14 18:03, Mark Rutland wrote:
>
>> From 67104ad5a56e4c18f9c41f06af028b7561740afd Mon Sep 17 00:00:00 2001
>> From: Mark Rutland <mark.rutland@arm.com>
>> Date: Thu, 28 Aug 2014 17:41:03 +0100
>> Subject: [PATCH] Doc: dt: arch_timer: discourage clock-frequency use
>>
>> The ARM Generic Timer (AKA the architected timer, arm_arch_timer)
>> features a CPU register (CNTFRQ) which firmware is intended to
>> initialize, and non-secure software can read to determine the frequency
>> of the timer. On CPUs with secure state, this register cannot be written
>> from non-secure states.
>>
>> The firmware of early SoCs featuring the timer did not correctly
>> initialize CNTFRQ correctly on all CPUs, requiring the frequency to be
>> described in DT as a workaround. This workaround is not complete however
>> as CNTFRQ is exposed to all software in a privileged non-secure mode,
>> including KVM guests. The firmware and DTs for recent SoCs have followed
>
> I believe Xen is also affected by this.
>
>> the example set by these early SoCs.
>>
>> This patch updates the arch timer binding documentation to make it
>> clearer that the use of the clock-frequency property is a poor
>> work-around. The MMIO generic timer binding is similarly updated, though
>> this is less of a concern as there is generally no need to expose the
>> MMIO timers to guest OSs.
>>
>> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
>> Cc: Marc Zyngier <marc.zyngier@arm.com>
>
> Short of more explicit threats:

Why not also add WARNs (and mark for stable). People tend to notice
and fix those. If not the vendors, those pesky customers always
complain (the same ones that get concerned about BogoMIPS values being
too low).

Rob

  parent reply	other threads:[~2014-08-28 17:33 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27  9:44 [PATCH 00/14] Support 64bit Cortex A57 based Exynos7 SoC Naveen Krishna Chatradhi
2014-08-27  9:44 ` Naveen Krishna Chatradhi
2014-08-27  9:44 ` [PATCH 10/14] arm64: dts: add pinctrl support to EXYNOS7 Naveen Krishna Chatradhi
2014-08-27  9:44   ` Naveen Krishna Chatradhi
2014-08-27 11:14   ` Tomasz Figa
2014-08-27 11:14     ` Tomasz Figa
2014-08-29  5:46     ` Naveen Krishna Ch
2014-08-29  5:46       ` Naveen Krishna Ch
2014-08-27  9:44 ` [PATCH 11/14] arm64: dts: Add initial device tree support for EXYNOS7 Naveen Krishna Chatradhi
2014-08-27  9:44   ` Naveen Krishna Chatradhi
2014-08-27 10:42   ` Mark Rutland
2014-08-27 10:42     ` Mark Rutland
2014-08-27 14:54     ` Catalin Marinas
2014-08-27 14:54       ` Catalin Marinas
2014-09-03  7:48     ` Naveen Krishna Ch
2014-09-03  7:48       ` Naveen Krishna Ch
2014-08-27 11:30   ` Tomasz Figa
2014-08-27 11:30     ` Tomasz Figa
2014-09-03  7:55     ` Naveen Krishna Ch
2014-09-03  7:55       ` Naveen Krishna Ch
2014-08-28  3:56   ` Olof Johansson
2014-08-28  3:56     ` Olof Johansson
2014-08-28  8:35     ` Marc Zyngier
2014-08-28  8:35       ` Marc Zyngier
2014-08-28  9:48     ` Mark Rutland
2014-08-28  9:48       ` Mark Rutland
2014-08-28 16:28       ` Olof Johansson
2014-08-28 16:28         ` Olof Johansson
2014-08-28 17:03         ` Mark Rutland
2014-08-28 17:03           ` Mark Rutland
2014-08-28 17:19           ` Olof Johansson
2014-08-28 17:19             ` Olof Johansson
2014-08-28 17:39             ` Mark Rutland
2014-08-28 17:39               ` Mark Rutland
2014-08-28 17:47               ` Geert Uytterhoeven
2014-08-28 17:47                 ` Geert Uytterhoeven
2014-08-28 18:17                 ` Mark Rutland
2014-08-28 18:17                   ` Mark Rutland
2014-08-28 17:54             ` Rob Herring
2014-08-28 17:54               ` Rob Herring
2014-08-28 22:23               ` Olof Johansson
2014-08-28 22:23                 ` Olof Johansson
2014-08-28 23:30                 ` Simon Horman
2014-08-28 23:30                   ` Simon Horman
2014-08-28 17:27           ` Marc Zyngier
2014-08-28 17:27             ` Marc Zyngier
2014-08-28 17:30             ` Mark Rutland
2014-08-28 17:30               ` Mark Rutland
2014-08-28 17:37               ` Marc Zyngier
2014-08-28 17:37                 ` Marc Zyngier
2014-08-28 17:45                 ` Mark Rutland
2014-08-28 17:45                   ` Mark Rutland
     [not found]             ` <53FF6668.4080502-5wv7dgnIgG8@public.gmane.org>
2014-08-28 17:33               ` Rob Herring [this message]
2014-08-28 17:33                 ` Rob Herring
2014-08-28 17:43                 ` Mark Rutland
2014-08-28 17:43                   ` Mark Rutland
2014-09-03  8:05     ` Naveen Krishna Ch
2014-09-03  8:05       ` Naveen Krishna Ch
2014-08-27  9:44 ` [PATCH 12/14] arm64: dts: add Exynos7 based Espresso board dts file Naveen Krishna Chatradhi
2014-08-27  9:44   ` Naveen Krishna Chatradhi
2014-08-27 11:32   ` Tomasz Figa
2014-08-27 11:32     ` Tomasz Figa
2014-08-28  4:00   ` Olof Johansson
2014-08-28  4:00     ` Olof Johansson
2014-08-29  5:51     ` Naveen Krishna Ch
2014-08-29  5:51       ` Naveen Krishna Ch
2014-08-27  9:44 ` [PATCH 13/14] arm64: exynos7: Enable ARMv8 based Exynos7 (SoC) support Naveen Krishna Chatradhi
2014-08-27  9:44   ` Naveen Krishna Chatradhi
2014-08-27 11:09   ` Mark Rutland
2014-08-27 11:09     ` Mark Rutland
2014-08-27 14:50     ` Catalin Marinas
2014-08-27 14:50       ` Catalin Marinas
2014-08-28  4:05       ` Olof Johansson
2014-08-28  4:05         ` Olof Johansson
2014-09-03  8:14     ` Naveen Krishna Ch
2014-09-03  8:14       ` Naveen Krishna Ch
2014-08-27 11:34 ` [PATCH 00/14] Support 64bit Cortex A57 based Exynos7 SoC Tomasz Figa
2014-08-27 11:34   ` Tomasz Figa
2014-09-13 10:57   ` Tomasz Figa
2014-09-13 10:57     ` Tomasz Figa
2014-09-14 13:45     ` Thomas Abraham
2014-09-14 13:45       ` Thomas Abraham
2014-08-28  3:47 ` Olof Johansson
2014-08-28  3:47   ` Olof Johansson

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='CAL_JsqKB-gganC6H1XBzUbFzXk8zy08U4X3mFWhxNWZO=upJPQ@mail.gmail.com' \
    --to=robh-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=Catalin.Marinas-5wv7dgnIgG8@public.gmane.org \
    --cc=ch.naveen-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=cpgs-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-samsung-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=marc.zyngier-5wv7dgnIgG8@public.gmane.org \
    --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \
    --cc=naveenkrishna.ch-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
    --cc=thomas.ab-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.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.