Re: [PATCH for-next 2/3] RDMA/hns:Fix bug that caused srq creation to fail

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Apr 07, 2019 at 01:23:38PM +0800, Lijun Ou wrote:
> Due to the incorrect use of the seg and obj information,
> the position of the mtt is calculated incorrectly,
> and the free space of the page is not enough to store the entire mtt,
> resulting in access to the next page. This patch fixes this problem.
> 
> [  863.358993] Unable to handle kernel paging request at virtual address ffff00006e3cd000
> ...
> [  863.551180] Call trace:
> [  863.553616]  hns_roce_write_mtt+0x154/0x2f0 [hns_roce]
> [  863.558742]  hns_roce_buf_write_mtt+0xa8/0xd8 [hns_roce]
> [  863.564042]  hns_roce_create_srq+0x74c/0x808 [hns_roce]
> [  863.569255]  ib_create_srq+0x28/0xc8
> 
> Fixes: 6ed42c196fb7 ("RDMA/hns: Unify the calculation for hem index in hip08")

This fixes line is wrong, I fixed it for you but be more careful in
future:

    Fixes: 0203b14c4f32 ("RDMA/hns: Unify the calculation for hem index in hip08")

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux