Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API

From: Andy Shevchenko
Date: Wed Feb 08 2017 - 08:06:51 EST


On Wed, 2017-02-08 at 17:32 +0530, Rajneesh Bhardwaj wrote:
> On Tue, Feb 07, 2017 at 12:19:10PM +0200, Andy Shevchenko wrote:
> > On Mon, Feb 6, 2017 at 8:31 PM, Rajneesh Bhardwaj
> > <rajneesh.bhardwaj@xxxxxxxxx> wrote:
> > > On Mon, Feb 06, 2017 at 10:01:43PM +0800, kbuild test robot wrote:

> Andy, thanks for the fix. We had a look at the patch that was pushed
> to
> testing and think that still one issue exist when we compile with
> CONFIG_64BIT not set. Config attached.
> (linux-platform-drivers-
> x86.git/commit/c0baf79f459dbbdfe272dda58d5bcc9a2e585d7e)Â
>
> Error:
> drivers/built-in.o: In function `intel_pmc_s0ix_counter_read':
> (.text+0x7352b4): undefined reference to `__udivdi3'
> make[2]: *** [vmlinux] Error 1

Thanks for report, Darren already reported this yesterday.

> In addition to this, please share your thoughts on the below change
> for IPC
> driver.

Thanks, but that's wrong.
I know what is the issue and how to fix it. Will do it soon.

--
Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
Intel Finland Oy