From 69870bdeaf1c9270e325810249def6a3e9f38fb4 Mon Sep 17 00:00:00 2001 From: Allan Liu Date: Mon, 25 Nov 2024 16:36:31 +0000 Subject: [PATCH] #6659: remove dead code Confirmed that commented out L1 clear is zeroing out erisc base FW, leading to hangs --- tt_metal/impl/device/device.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tt_metal/impl/device/device.cpp b/tt_metal/impl/device/device.cpp index 4b42ae7fa1a..ea3df8032d0 100644 --- a/tt_metal/impl/device/device.cpp +++ b/tt_metal/impl/device/device.cpp @@ -759,13 +759,6 @@ void Device::clear_l1_state() { zero_vec_above_tile_header_buffer, eth_l1_mem::address_map::TILE_HEADER_BUFFER_BASE); - /* TODO: removing this section of code fixes the n300 hangs, what's the proper fix? - std::vector zero_vec_below_command_q_base( - (eth_l1_mem::address_map::COMMAND_Q_BASE - eth_l1_mem::address_map::FIRMWARE_BASE) / sizeof(uint32_t), 0); - - llrt::write_hex_vec_to_core( - this->id(), physical_core, zero_vec_below_command_q_base, eth_l1_mem::address_map::FIRMWARE_BASE); - */ } // TODO: clear idle eriscs as well }