From dd5f3d27cce3924c1c3303b8f5e223be93ab252f Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 8 Mar 2023 04:34:50 +0000 Subject: [PATCH] SWDEV-386749 - Update stack size limit Change-Id: Id0cf66820e76e1bbd7f6c17ceb110782cdb5f978 --- device/device.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device/device.cpp b/device/device.cpp index 2709febd..8c86b86e 100644 --- a/device/device.cpp +++ b/device/device.cpp @@ -751,7 +751,7 @@ bool Device::disableP2P(amd::Device* ptrDev) { } bool Device::UpdateStackSize(uint64_t stackSize) { - if (stackSize > 16 * Ki) { + if (stackSize > ((128 * Ki) - 16)) { return false; } stack_size_ = stackSize;