Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 979F9EF3719 for ; Mon, 9 Mar 2026 08:35:10 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0CE6D10E0EB; Mon, 9 Mar 2026 08:35:10 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="bfckWNKX"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by gabe.freedesktop.org (Postfix) with ESMTPS id 097B910E0EB for ; Mon, 9 Mar 2026 08:35:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773045309; x=1804581309; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=1xr+l2JhTmjUgfCXcGWROEPdKvPEnrP5Cc7gKc5fZRI=; b=bfckWNKXvHfN8gFmhnkxT2EfZtaKfRc+H5U0+cjfbWVZ5o+KllYJOhrY nPZXwgeAd0P6yXWlUkt8MAvRiXtuzDfqvCZ/lEIDCcscggAIx69kNfuDs dvGEZk+JYv9axO2R7aBz4YiPOwG5yHhK8tjO+U5Qxeuje1fEPcIuBywbW fQv/O10iXumGV/CZWLl0iKPr1ESIVrd+tDNRJBpdCb2H+jJq8DJmz1Yi2 M49nlu/+7mGjmP7oGLhluWuQ9cpY8Srp12ORqlTodnLTTEQwUfFw7tzEI Cpoit7F7TYYTEZr2W1Qj2JIahlLueGe53OJ3+tWfsT0LTbIEgySJjSLh6 w==; X-CSE-ConnectionGUID: k+RXZD7SRo+NSGwbnX+TJQ== X-CSE-MsgGUID: nN0RwpHWRfyf2KFkisn2NA== X-IronPort-AV: E=McAfee;i="6800,10657,11723"; a="77940822" X-IronPort-AV: E=Sophos;i="6.23,109,1770624000"; d="scan'208";a="77940822" Received: from orviesa005.jf.intel.com ([10.64.159.145]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2026 01:35:09 -0700 X-CSE-ConnectionGUID: CbJnVejVQRuXXXNo56Ag4g== X-CSE-MsgGUID: DTG9iF7bSCWord8NJUP8Ig== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,109,1770624000"; d="scan'208";a="224617830" Received: from unknown (HELO [10.102.88.20]) ([10.102.88.20]) by orviesa005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2026 01:35:07 -0700 Message-ID: Date: Mon, 9 Mar 2026 09:35:04 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] accel/ivpu: Remove boot params address setting via MMIO register To: Andrzej Kacprowski , dri-devel@lists.freedesktop.org Cc: oded.gabbay@gmail.com, jeff.hugo@oss.qualcomm.com, lizhi.hou@amd.com, maciej.falkowski@linux.intel.com References: <20260305142226.194995-1-andrzej.kacprowski@linux.intel.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: <20260305142226.194995-1-andrzej.kacprowski@linux.intel.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 3/5/2026 3:22 PM, Andrzej Kacprowski wrote: > The NPU 60XX uses the default boot params location specified > in the firmware image header, consistent with earlier generations. > Remove the unnecessary MMIO register write, freeing the AON register > for future use. > > Fixes: 44e4c88951fa ("accel/ivpu: Implement warm boot flow for NPU6 and unify boot handling") > Signed-off-by: Andrzej Kacprowski > --- > drivers/accel/ivpu/ivpu_hw_40xx_reg.h | 6 ------ > drivers/accel/ivpu/ivpu_hw_ip.c | 1 - > 2 files changed, 7 deletions(-) > > diff --git a/drivers/accel/ivpu/ivpu_hw_40xx_reg.h b/drivers/accel/ivpu/ivpu_hw_40xx_reg.h > index 421242acb184..fc0ee8d637f9 100644 > --- a/drivers/accel/ivpu/ivpu_hw_40xx_reg.h > +++ b/drivers/accel/ivpu/ivpu_hw_40xx_reg.h > @@ -121,12 +121,6 @@ > #define VPU_50XX_HOST_SS_AON_PWR_ISLAND_STATUS_DLY 0x0003006cu > #define VPU_50XX_HOST_SS_AON_PWR_ISLAND_STATUS_DLY_STATUS_DLY_MASK GENMASK(7, 0) > > -#define VPU_40XX_HOST_SS_AON_RETENTION0 0x0003000cu > -#define VPU_40XX_HOST_SS_AON_RETENTION1 0x00030010u > -#define VPU_40XX_HOST_SS_AON_RETENTION2 0x00030014u > -#define VPU_40XX_HOST_SS_AON_RETENTION3 0x00030018u > -#define VPU_40XX_HOST_SS_AON_RETENTION4 0x0003001cu > - > #define VPU_40XX_HOST_SS_AON_IDLE_GEN 0x00030200u > #define VPU_40XX_HOST_SS_AON_IDLE_GEN_EN_MASK BIT_MASK(0) > #define VPU_40XX_HOST_SS_AON_IDLE_GEN_HW_PG_EN_MASK BIT_MASK(1) > diff --git a/drivers/accel/ivpu/ivpu_hw_ip.c b/drivers/accel/ivpu/ivpu_hw_ip.c > index 959984c54341..37f95a0551ed 100644 > --- a/drivers/accel/ivpu/ivpu_hw_ip.c > +++ b/drivers/accel/ivpu/ivpu_hw_ip.c > @@ -931,7 +931,6 @@ static int soc_cpu_boot_40xx(struct ivpu_device *vdev) > > static int soc_cpu_boot_60xx(struct ivpu_device *vdev) > { > - REGV_WR64(VPU_40XX_HOST_SS_AON_RETENTION1, vdev->fw->mem_bp->vpu_addr); > soc_cpu_set_entry_point_40xx(vdev, vdev->fw->cold_boot_entry_point); > > return 0; Reviewed-by: Karol Wachowski