Files
android_kernel_xiaomi_sm8450/drivers/infiniband/hw/hfi1
Mike Marciniszyn 437a4746e4 IB/hfi1: Correct oversized ring allocation
[ Upstream commit b536d4b2a279733f440c911dc831764690b90050 ]

The completion ring for tx is using the wrong size to size the ring,
oversizing the ring by two orders of magniture.

Correct the allocation size and use kcalloc_node() to allocate the ring.
Fix mistaken GFP defines in similar allocations.

Link: https://lore.kernel.org/r/1617026056-50483-4-git-send-email-dennis.dalessandro@cornelisnetworks.com
Reviewed-by: Kaike Wan <kaike.wan@intel.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:12:55 +02:00
..
2019-06-28 22:34:26 -03:00
2019-06-28 22:34:26 -03:00
2018-05-24 09:39:25 -06:00
2020-05-21 11:23:56 -03:00
2020-07-24 16:59:55 -03:00
2020-05-21 11:23:56 -03:00
2020-05-21 11:23:56 -03:00
2020-05-21 11:23:56 -03:00
2019-02-05 18:07:43 -05:00
2019-04-24 11:31:49 -03:00
2020-07-24 16:59:55 -03:00
2020-07-24 16:59:55 -03:00
2020-07-24 16:59:55 -03:00
2019-03-28 11:03:49 -03:00
2019-11-27 07:44:25 +01:00
2019-11-27 07:44:25 +01:00
2019-01-31 11:37:40 -05:00
2020-07-24 16:59:55 -03:00
2020-09-18 10:31:24 -03:00
2019-12-09 10:36:44 -08:00
2019-07-30 14:21:32 -07:00
2020-05-21 11:23:56 -03:00