From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6CA2308F3D for ; Fri, 6 Feb 2026 06:53:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.16 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770360819; cv=none; b=gizdwrMl67w3m/IP7H7GdQxe2XsEFvRnQCAJ3zVNhhY+Kjueh8thjYEms3wF0CZuYINoOkGWaTy7cRj+B//9serzeCiMIGwWM5yE4VXFlY7VxV96OlOZ3ID27690+BDrLau8wMFY8w7ey8RZriqDtJovbVST5iz5LfxEpPNTkrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770360819; c=relaxed/simple; bh=F11YGOHlXJpLYSw/yPB52/n2qAFxbY2+8I/SSAGS/ao=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=Jgfpzld7N+hv6ctZTsmh/1l39P0HLdYQnj6qlkDV/u0f3E0LoiDja3EQTJm3/ritDbSIWpri562BojT3y+TkSMeX3oPsDx+LHJydRq3rMOle50+BeZ8ncJqTiJFH6+SoFBU1IVUFXxvlllH8IFu6dqCiuWQog6c9+HbXmbbcviI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=JBwix+S4; arc=none smtp.client-ip=192.198.163.16 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="JBwix+S4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1770360819; x=1801896819; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=F11YGOHlXJpLYSw/yPB52/n2qAFxbY2+8I/SSAGS/ao=; b=JBwix+S4YyEE2VLo+G2+eFoojfT89ni3B6l8kbKV7tJra3HM5nn+E/9T iyihDH0b1qEeGWXj6hWkxqbSNCtpdx3pOD6gk9YGLq5+EdAeaq8LObpGe RDpyFjOisgalxsipRL5meHVFjl8gda0s19GWwp/9ufxzKrZdgHbQF13X9 QWqDSJoSNs3SRHalAvhXYXoJoPx2OjKM3wvKebVFkQLFJ93pmbc0Yhz27 UrFH5mFlTTXeRU12dXbbbPwKSPtGso8WR8Qc8T8p8uu8Ie2CRpDKS/LUx fA7hB9h85X1QHm0Px7L5WETiL9pMJooLy6eMQDkp4T9eAaacObOzC2sTy g==; X-CSE-ConnectionGUID: riSUGgFZR1aphXyYc+emmQ== X-CSE-MsgGUID: JWIBUYqfRLmXeVgDYvQuMw== X-IronPort-AV: E=McAfee;i="6800,10657,11692"; a="59140177" X-IronPort-AV: E=Sophos;i="6.21,275,1763452800"; d="scan'208";a="59140177" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa110.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2026 22:53:38 -0800 X-CSE-ConnectionGUID: FY3h6evhREKyJmLGaYgxjQ== X-CSE-MsgGUID: NZFOBaiqQuKbfkciwIBmAg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.21,275,1763452800"; d="scan'208";a="210632140" Received: from nmizonov-mobl2.ccr.corp.intel.com (HELO [10.246.19.19]) ([10.246.19.19]) by fmviesa010-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Feb 2026 22:53:35 -0800 Message-ID: <3e90c8cc-e5c5-44e1-b0d1-dd1cba3f60fa@linux.intel.com> Date: Fri, 6 Feb 2026 07:53:33 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH V1] accel/amdxdna: Switch to always use chained command To: Lizhi Hou , ogabbay@kernel.org, quic_jhugo@quicinc.com, dri-devel@lists.freedesktop.org, maciej.falkowski@linux.intel.com Cc: linux-kernel@vger.kernel.org, max.zhen@amd.com, sonal.santan@amd.com, mario.limonciello@amd.com References: <20260206060251.4050512-1-lizhi.hou@amd.com> Content-Language: en-US From: Karol Wachowski Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 In-Reply-To: <20260206060251.4050512-1-lizhi.hou@amd.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2/6/2026 7:02 AM, Lizhi Hou wrote: > Preempt commands are only supported when submitted as chained commands. > To ensure preempt support works consistently, always submit commands in > chained command format. > > Set force_cmdlist to true so that single commands are filled using the > chained command layout, enabling correct handling of preempt commands. > > Fixes: 3a0ff7b98af4 ("accel/amdxdna: Support preemption requests") > Signed-off-by: Lizhi Hou > --- > drivers/accel/amdxdna/aie2_ctx.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/accel/amdxdna/aie2_ctx.c b/drivers/accel/amdxdna/aie2_ctx.c > index 37d05f2e986f..6378a0bc7b6e 100644 > --- a/drivers/accel/amdxdna/aie2_ctx.c > +++ b/drivers/accel/amdxdna/aie2_ctx.c > @@ -23,9 +23,9 @@ > #include "amdxdna_pci_drv.h" > #include "amdxdna_pm.h" > > -static bool force_cmdlist; > +static bool force_cmdlist = true; > module_param(force_cmdlist, bool, 0600); > -MODULE_PARM_DESC(force_cmdlist, "Force use command list (Default false)"); > +MODULE_PARM_DESC(force_cmdlist, "Force use command list (Default true)"); > > #define HWCTX_MAX_TIMEOUT 60000 /* milliseconds */ > Reviewed-by: Karol Wachowski