Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1575048

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

From Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API
Date 2017-02-06 19:40 +0100
Message-ID <t7WmJ-do-11@gated-at.bofh.it> (permalink)
References <t7Rn3-5po-11@gated-at.bofh.it> <t7S9r-5XR-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 06, 2017 at 10:01:43PM +0800, kbuild test robot wrote:
> Hi Shanth,
> 
> [auto build test ERROR on tip/x86/core]
> [also build test ERROR on v4.10-rc7]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
> 
> url:    https://github.com/0day-ci/linux/commits/Shanth-Murthy/platform-x86-intel_pmc_ipc-read-s0ix-residency-API/20170206-213213
> config: i386-randconfig-x007-201706 (attached as .config)
> compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=i386 
> 
> All errors (new ones prefixed by >>):
> 
>    drivers/platform/x86/intel_pmc_ipc.c: In function 'gcr_data_readq':
> >> drivers/platform/x86/intel_pmc_ipc.c:193:9: error: implicit declaration of function 'readq' [-Werror=implicit-function-declaration]
>      return readq(ipcdev.ipc_base + offset);
>             ^~~~~
>    cc1: some warnings being treated as errors
> 
> vim +/readq +193 drivers/platform/x86/intel_pmc_ipc.c
> 
>    187	{
>    188		return readl(ipcdev.ipc_base + IPC_READ_BUFFER + offset);
>    189	}
>    190	
>    191	static inline u64 gcr_data_readq(u32 offset)
>    192	{
>  > 193		return readq(ipcdev.ipc_base + offset);

Seems readq is not available for 32 bit configuration. Will send a fix soon.

>    194	}
>    195	
>    196	static int intel_pmc_ipc_check_status(void)
> 
> ---
> 0-DAY kernel test infrastructure                Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all                   Intel Corporation



-- 
Best Regards,
Rajneesh

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Shanth Murthy <shanth.murthy@intel.com> - 2017-02-06 14:20 +0100
  Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API kbuild test robot <lkp@intel.com> - 2017-02-06 15:10 +0100
    Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> - 2017-02-06 19:40 +0100
      Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-02-07 11:20 +0100
        Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-02-08 14:10 +0100
  Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> - 2017-02-09 07:50 +0100
    Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Andy Shevchenko <andriy.shevchenko@linux.intel.com> - 2017-02-09 12:40 +0100
      Re: [PATCH] platform/x86: intel_pmc_ipc: read s0ix residency API Rajneesh Bhardwaj <rajneesh.bhardwaj@intel.com> - 2017-02-09 15:50 +0100

csiph-web