* [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
@ 2017-08-13 2:09 kbuild test robot
[not found] ` <201708131058.lKYk3TId%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2017-08-13 2:09 UTC (permalink / raw)
To: Matan Barak
Cc: kbuild-all-JC7UmRfGjtg, linux-rdma-u79uwXL29TY76Z2rM5mHXA, Doug Ledford
[-- Attachment #1: Type: text/plain, Size: 4853 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-next
head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns: Support compile test for hns RoCE driver
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout e89bf462b6bece63a60723af88c76dce9dbe6b85
# save the attached .config to linux build tree
make.cross ARCH=xtensa
All errors (new ones prefixed by >>):
In file included from drivers/infiniband/hw/hns/hns_roce_main.c:41:0:
drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
--
In file included from drivers/infiniband/hw/hns/hns_roce_eq.c:35:0:
drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
drivers/infiniband/hw/hns/hns_roce_eq.c: In function 'hns_roce_create_eq':
drivers/infiniband/hw/hns/hns_roce_eq.c:568:2: warning: right shift count >= width of type
roce_set_field(eqcuridx_val, ROCEE_CAEP_AEQE_CUR_IDX_CAEP_AEQ_BT_H_M,
^
cc1: some warnings being treated as errors
--
In file included from drivers/infiniband/hw/hns/hns_roce_hw_v1.c:39:0:
drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_set_sdb_ext':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:496:2: warning: right shift count >= width of type
roce_set_field(val, ROCEE_EXT_DB_SQ_H_EXT_DB_SQ_BA_H_M,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_send_lp_wqe':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:951:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
send_wr.wr_id = (unsigned long long)&send_wr;
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_raq_init':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1164:2: warning: right shift count >= width of type
roce_set_field(val, ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_write_mtpt':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1834:2: warning: right shift count >= width of type
roce_set_field(mpt_entry->mpt_byte_12, MPT_BYTE_12_PBL_ADDR_H_M,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_write_cqc':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1994:2: warning: right shift count >= width of type
roce_set_field(cq_context->cqc_byte_20,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_m_sqp':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2472:3: warning: right shift count >= width of type
roce_set_field(context->qp1c_bytes_12,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_m_qp':
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2760:3: warning: right shift count >= width of type
roce_set_field(context->qpc_bytes_24,
^
drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2772:3: warning: right shift count >= width of type
roce_set_field(context->qpc_bytes_32,
^
cc1: some warnings being treated as errors
vim +/__raw_writeq +625 drivers/infiniband/hw/hns/hns_roce_device.h
9a443537 oulijun 2016-07-21 622
9a443537 oulijun 2016-07-21 623 static inline void hns_roce_write64_k(__be32 val[2], void __iomem *dest)
9a443537 oulijun 2016-07-21 624 {
9a443537 oulijun 2016-07-21 @625 __raw_writeq(*(u64 *) val, dest);
9a443537 oulijun 2016-07-21 626 }
9a443537 oulijun 2016-07-21 627
:::::: The code at line 625 was first introduced by commit
:::::: 9a4435375cd151e07c0c38fa601b00115986091b IB/hns: Add driver files for hns RoCE driver
:::::: TO: oulijun <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
:::::: CC: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51071 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
[not found] ` <201708131058.lKYk3TId%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2017-08-14 14:40 ` Doug Ledford
[not found] ` <5fd6a0f7-cbe4-8bd9-5310-fa2d64ec6829-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Doug Ledford @ 2017-08-14 14:40 UTC (permalink / raw)
To: kbuild test robot, Matan Barak
Cc: kbuild-all-JC7UmRfGjtg, linux-rdma-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1.1: Type: text/plain, Size: 713 bytes --]
On 8/12/2017 10:09 PM, kbuild test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-next
> head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
> commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns: Support compile test for hns RoCE driver
> config: xtensa-allyesconfig (attached as .config)
> compiler: xtensa-linux-gcc (GCC) 4.9.0
> reproduce:
Hi Matan,
I know you have a fix patch for this on list. I'll grab it this week
for sure, so you can ignore this.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG Key ID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
[not found] ` <5fd6a0f7-cbe4-8bd9-5310-fa2d64ec6829-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-08-14 14:47 ` Matan Barak
[not found] ` <4871c56c-ce7a-204a-0d54-5ea5aae604fd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Matan Barak @ 2017-08-14 14:47 UTC (permalink / raw)
To: Doug Ledford, kbuild test robot
Cc: kbuild-all-JC7UmRfGjtg, linux-rdma-u79uwXL29TY76Z2rM5mHXA
On 14/08/2017 17:40, Doug Ledford wrote:
> On 8/12/2017 10:09 PM, kbuild test robot wrote:
>> tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-next
>> head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
>> commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns: Support compile test for hns RoCE driver
>> config: xtensa-allyesconfig (attached as .config)
>> compiler: xtensa-linux-gcc (GCC) 4.9.0
>> reproduce:
>
> Hi Matan,
>
> I know you have a fix patch for this on list. I'll grab it this week
> for sure, so you can ignore this.
>
>
Hi Doug,
Thanks :-)
Just to make things easier, this is the link to that patch:
https://www.spinics.net/lists/linux-rdma/msg52386.html
In addition, there are a few more patches worth taking to the current
RCs that fix kernel crashes:
https://www.spinics.net/lists/linux-rdma/msg52485.html
https://www.spinics.net/lists/linux-rdma/msg52722.html
We have another one coming ("IB/uverbs: Fix NULL pointer dereference
during device removal"). I guess Leon will post it soon.
Thanks,
Matan
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
[not found] ` <4871c56c-ce7a-204a-0d54-5ea5aae604fd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2017-08-14 14:56 ` Leon Romanovsky
[not found] ` <20170814145656.GJ24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Leon Romanovsky @ 2017-08-14 14:56 UTC (permalink / raw)
To: Matan Barak
Cc: Doug Ledford, kbuild test robot, kbuild-all-JC7UmRfGjtg,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 1654 bytes --]
On Mon, Aug 14, 2017 at 05:47:59PM +0300, Matan Barak wrote:
> On 14/08/2017 17:40, Doug Ledford wrote:
> > On 8/12/2017 10:09 PM, kbuild test robot wrote:
> > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-next
> > > head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
> > > commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns: Support compile test for hns RoCE driver
> > > config: xtensa-allyesconfig (attached as .config)
> > > compiler: xtensa-linux-gcc (GCC) 4.9.0
> > > reproduce:
> >
> > Hi Matan,
> >
> > I know you have a fix patch for this on list. I'll grab it this week
> > for sure, so you can ignore this.
> >
> >
>
> Hi Doug,
>
> Thanks :-)
> Just to make things easier, this is the link to that patch:
> https://www.spinics.net/lists/linux-rdma/msg52386.html
>
> In addition, there are a few more patches worth taking to the current RCs
> that fix kernel crashes:
>
> https://www.spinics.net/lists/linux-rdma/msg52485.html
> https://www.spinics.net/lists/linux-rdma/msg52722.html
>
> We have another one coming ("IB/uverbs: Fix NULL pointer dereference during
> device removal"). I guess Leon will post it soon.
I queued it today [1] and planned to submit it EOW.
Doug,
Do you want me to send it earlier?
[1] https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.git/commit/?h=rdma-rc&id=c102f66c43cfc568065df6441890621fb6f03002
>
> Thanks,
> Matan
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
[not found] ` <20170814145656.GJ24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
@ 2017-08-14 15:18 ` Doug Ledford
[not found] ` <1502723918.83939.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 6+ messages in thread
From: Doug Ledford @ 2017-08-14 15:18 UTC (permalink / raw)
To: Leon Romanovsky, Matan Barak
Cc: kbuild test robot, kbuild-all-JC7UmRfGjtg,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
On Mon, 2017-08-14 at 17:56 +0300, Leon Romanovsky wrote:
> On Mon, Aug 14, 2017 at 05:47:59PM +0300, Matan Barak wrote:
> > On 14/08/2017 17:40, Doug Ledford wrote:
> > > On 8/12/2017 10:09 PM, kbuild test robot wrote:
> > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledfor
> > > > d/rdma.git k.o/for-next
> > > > head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
> > > > commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns:
> > > > Support compile test for hns RoCE driver
> > > > config: xtensa-allyesconfig (attached as .config)
> > > > compiler: xtensa-linux-gcc (GCC) 4.9.0
> > > > reproduce:
> > >
> > > Hi Matan,
> > >
> > > I know you have a fix patch for this on list. I'll grab it this
> > > week
> > > for sure, so you can ignore this.
> > >
> > >
> >
> > Hi Doug,
> >
> > Thanks :-)
> > Just to make things easier, this is the link to that patch:
> > https://www.spinics.net/lists/linux-rdma/msg52386.html
> >
> > In addition, there are a few more patches worth taking to the
> > current RCs
> > that fix kernel crashes:
> >
> > https://www.spinics.net/lists/linux-rdma/msg52485.html
> > https://www.spinics.net/lists/linux-rdma/msg52722.html
> >
> > We have another one coming ("IB/uverbs: Fix NULL pointer
> > dereference during
> > device removal"). I guess Leon will post it soon.
>
> I queued it today [1] and planned to submit it EOW.
>
> Doug,
> Do you want me to send it earlier?
>
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.g
> it/commit/?h=rdma-rc&id=c102f66c43cfc568065df6441890621fb6f03002
Pull it out. I've already grabbed it off of patchworks and pushed it
out. I wanted to make sure it hit today's rdma tree in Stephen's for-
next no matter what.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
[not found] ` <1502723918.83939.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2017-08-15 7:52 ` Leon Romanovsky
0 siblings, 0 replies; 6+ messages in thread
From: Leon Romanovsky @ 2017-08-15 7:52 UTC (permalink / raw)
To: Doug Ledford
Cc: Matan Barak, kbuild test robot, kbuild-all-JC7UmRfGjtg,
linux-rdma-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 2161 bytes --]
On Mon, Aug 14, 2017 at 11:18:38AM -0400, Doug Ledford wrote:
> On Mon, 2017-08-14 at 17:56 +0300, Leon Romanovsky wrote:
> > On Mon, Aug 14, 2017 at 05:47:59PM +0300, Matan Barak wrote:
> > > On 14/08/2017 17:40, Doug Ledford wrote:
> > > > On 8/12/2017 10:09 PM, kbuild test robot wrote:
> > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/dledfor
> > > > > d/rdma.git k.o/for-next
> > > > > head: d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
> > > > > commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns:
> > > > > Support compile test for hns RoCE driver
> > > > > config: xtensa-allyesconfig (attached as .config)
> > > > > compiler: xtensa-linux-gcc (GCC) 4.9.0
> > > > > reproduce:
> > > >
> > > > Hi Matan,
> > > >
> > > > I know you have a fix patch for this on list. I'll grab it this
> > > > week
> > > > for sure, so you can ignore this.
> > > >
> > > >
> > >
> > > Hi Doug,
> > >
> > > Thanks :-)
> > > Just to make things easier, this is the link to that patch:
> > > https://www.spinics.net/lists/linux-rdma/msg52386.html
> > >
> > > In addition, there are a few more patches worth taking to the
> > > current RCs
> > > that fix kernel crashes:
> > >
> > > https://www.spinics.net/lists/linux-rdma/msg52485.html
> > > https://www.spinics.net/lists/linux-rdma/msg52722.html
> > >
> > > We have another one coming ("IB/uverbs: Fix NULL pointer
> > > dereference during
> > > device removal"). I guess Leon will post it soon.
> >
> > I queued it today [1] and planned to submit it EOW.
> >
> > Doug,
> > Do you want me to send it earlier?
> >
> > [1] https://git.kernel.org/pub/scm/linux/kernel/git/leon/linux-rdma.g
> > it/commit/?h=rdma-rc&id=c102f66c43cfc568065df6441890621fb6f03002
>
> Pull it out. I've already grabbed it off of patchworks and pushed it
> out. I wanted to make sure it hit today's rdma tree in Stephen's for-
> next no matter what.
Doug,
You are referring to a different patch, I didn't post this one yet.
Thanks
>
> --
> Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> GPG KeyID: B826A3330E572FDD
> Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2017-08-15 7:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-13 2:09 [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' kbuild test robot
[not found] ` <201708131058.lKYk3TId%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-14 14:40 ` Doug Ledford
[not found] ` <5fd6a0f7-cbe4-8bd9-5310-fa2d64ec6829-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-14 14:47 ` Matan Barak
[not found] ` <4871c56c-ce7a-204a-0d54-5ea5aae604fd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-08-14 14:56 ` Leon Romanovsky
[not found] ` <20170814145656.GJ24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-14 15:18 ` Doug Ledford
[not found] ` <1502723918.83939.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-15 7:52 ` Leon Romanovsky
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.