Removed debug output.

This commit is contained in:
Michael Mueller
2025-01-21 15:06:12 +01:00
parent d2aaffbd4e
commit a271e98cfb
2 changed files with 3 additions and 6 deletions

View File

@@ -837,7 +837,6 @@ Platform::Platform()
if (phys_ptr == nullptr) if (phys_ptr == nullptr)
break; break;
log("Mapping mem for cap range ", i);
addr_t phys_addr = reinterpret_cast<addr_t>(phys_ptr); addr_t phys_addr = reinterpret_cast<addr_t>(phys_ptr);
addr_t core_local_addr = _map_pages(phys_addr, 128); addr_t core_local_addr = _map_pages(phys_addr, 128);
@@ -845,7 +844,6 @@ Platform::Platform()
ram_alloc().free(phys_ptr); ram_alloc().free(phys_ptr);
break; break;
} }
log("Creating cap range ", i, " at ", reinterpret_cast<void*>(core_local_addr));
Cap_range &range = *reinterpret_cast<Cap_range *>(core_local_addr); Cap_range &range = *reinterpret_cast<Cap_range *>(core_local_addr);
construct_at<Cap_range>(&range, index); construct_at<Cap_range>(&range, index);
@@ -853,7 +851,6 @@ Platform::Platform()
cap_map().insert(range); cap_map().insert(range);
index = (unsigned)(range.base() + range.elements()); index = (unsigned)(range.base() + range.elements());
log("Created cap range ", i, " at ", reinterpret_cast<void*>(core_local_addr));
} }
_max_caps = index - first_index; _max_caps = index - first_index;

View File

@@ -42,7 +42,7 @@ void Topo_session_component::construct()
unsigned curr_node_id = 0; unsigned curr_node_id = 0;
Topology::Numa_region *node_created = new (_md_alloc) Topology::Numa_region[64](); Topology::Numa_region *node_created = new (_md_alloc) Topology::Numa_region[64]();
Genode::log("[", label(), "] Creating new topology model of size ", width, "x", height); //Genode::log("[", label(), "] Creating new topology model of size ", width, "x", height);
for (unsigned x = 0; x < width; x++) for (unsigned x = 0; x < width; x++)
{ {
@@ -58,14 +58,14 @@ void Topo_session_component::construct()
unsigned cpu_id = platform_specific().kernel_cpu_id(loc); unsigned cpu_id = platform_specific().kernel_cpu_id(loc);
unsigned native_id = platform_specific().domain_of_cpu(cpu_id); unsigned native_id = platform_specific().domain_of_cpu(cpu_id);
log("[", label(), "] CPU (", x, "x", y, ") is native CPU ", cpu_id, " on node ", native_id); //log("[", label(), "] CPU (", x, "x", y, ") is native CPU ", cpu_id, " on node ", native_id);
if (node_created[native_id].core_count() == 0) if (node_created[native_id].core_count() == 0)
{ {
_nodes[curr_node_id] = _node_affinities[x][y] = Topology::Numa_region(curr_node_id, native_id); _nodes[curr_node_id] = _node_affinities[x][y] = Topology::Numa_region(curr_node_id, native_id);
_node_affinities[x][y].increment_core_count(); _node_affinities[x][y].increment_core_count();
node_created[native_id] = _node_affinities[x][y]; node_created[native_id] = _node_affinities[x][y];
log("[", label(), "] Found new native NUMA region ", native_id, " for CPU (", x, "x", y, ")"); //log("[", label(), "] Found new native NUMA region ", native_id, " for CPU (", x, "x", y, ")");
_node_count++; _node_count++;
curr_node_id++; curr_node_id++;
} }