
31 Mar
2018
31 Mar
'18
2:24 a.m.
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.