public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Ivan Gorinov <ivan.gorinov@intel.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] timer: Add High Precision Event Timers (HPET) support
Date: Fri, 30 Mar 2018 17:24:30 -0700	[thread overview]
Message-ID: <20180331002430.GA45891@intel.com> (raw)
In-Reply-To: <CAHp75Vc75AcQ_R4smqjvozOd4O4egqAVv4CDPoEOz1TA5pjiUg@mail.gmail.com>

On Fri, Mar 30, 2018 at 10:42:57PM +0300, Andy Shevchenko wrote:
> On Fri, Mar 30, 2018 at 1:39 AM, Simon Glass <sjg@chromium.org> wrote:
> > On 29 March 2018 at 18:52, Andy Shevchenko
> > <andriy.shevchenko@linux.intel.com> wrote:
> 
> >> First question is how this will work in case of Broadwell and Ivybridge
> >> that have something to do with HPET in their CPU code, i.e.
> >>
> >> arch/x86/cpu/broadwell/pch.c
> >> arch/x86/cpu/ivybridge/lpc.c
> >>
> >> ?
> >>
> >> Look for
> >>
> >>     clrsetbits_le32(RCB_REG(HPTC), 3, 1 << 7);
> 
> 
> > Perhaps that code can be removed in favour of this driver? I am happy
> > to test on these platforms if it helps.
> 
> That's my point.
> 

This code performs platform-specific enabling and may be required
for the generic HPET driver and OS kernel to work.

      reply	other threads:[~2018-03-31  0:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-29  0:58 [U-Boot] [PATCH] timer: Add High Precision Event Timers (HPET) support Ivan Gorinov
2018-03-29 10:52 ` Andy Shevchenko
2018-03-29 22:29   ` Ivan Gorinov
2018-03-29 22:39   ` Simon Glass
2018-03-30 19:42     ` Andy Shevchenko
2018-03-31  0:24       ` Ivan Gorinov [this message]

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=20180331002430.GA45891@intel.com \
    --to=ivan.gorinov@intel.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox