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 C924BEF371A for ; Mon, 9 Mar 2026 09:06:24 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 36A1910E13A; Mon, 9 Mar 2026 09:06:24 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.b="PK0TTc8i"; dkim-atps=neutral Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) by gabe.freedesktop.org (Postfix) with ESMTPS id 302C210E13A for ; Mon, 9 Mar 2026 09:06:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1773047182; x=1804583182; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=cWU7SeTLuGya9n55pQuorj67sQeq9qvT4r5KBJQyEJw=; b=PK0TTc8iDRhmr6LbnPf2c92rN92xKBvetYsp2CbwBGManUzj5rKUHELk C9P7iwdMuZMfki0WBwnRxEAN1TP8HwlxxUAwRVPBw0bJ6Th4q6wpJ4AGJ EFeUmoaHBvpKPYCiAFMYaqlxVnI//vE6jA7EddKn/0HZku+zLKaEyioSd DMIy6JflcRZDidZMu0dIqCB6wcpXrzBILa4f/z55OBnFHqcu2fiproFpZ XXuwwqlkmPZkazlaM6YinmkHsUXc82ftsbqBQrbPWB94xiasvGohwYT38 0cFMISAKBrJr7U1iPECzOrqTINfQ7U+g8is6EjyrR48xeaPnEz4xqlBoI A==; X-CSE-ConnectionGUID: LlpfQqhLQXyRMuvVR44XYA== X-CSE-MsgGUID: tBIcQ8OhSM6gpfMBcPYYNw== X-IronPort-AV: E=McAfee;i="6800,10657,11723"; a="73086628" X-IronPort-AV: E=Sophos;i="6.23,109,1770624000"; d="scan'208";a="73086628" Received: from orviesa008.jf.intel.com ([10.64.159.148]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2026 02:06:21 -0700 X-CSE-ConnectionGUID: 6ZN8QIvvStudmw9vM6Y9mA== X-CSE-MsgGUID: PJar8lw5SLGXQ1fVXjYMqA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.23,109,1770624000"; d="scan'208";a="219668197" Received: from unknown (HELO [10.102.88.20]) ([10.102.88.20]) by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Mar 2026 02:06:20 -0700 Message-ID: Date: Mon, 9 Mar 2026 10:06:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] accel/ivpu: Remove boot params address setting via MMIO register From: Karol Wachowski 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 Organization: Intel Technology Poland sp. z o.o. - ul. Slowackiego 173, 80-298 Gdansk - KRS 101882 - NIP 957-07-52-316 In-Reply-To: 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/9/2026 9:35 AM, Karol Wachowski wrote: > 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 Pushed to drm-misc-next, thanks.