From 1ea0f6ad52f9a3388347b2d55ebcd4922261cf90 Mon Sep 17 00:00:00 2001 From: Michael Mueller Date: Tue, 25 Feb 2025 10:29:13 +0100 Subject: [PATCH] Notify the hypervisor that an affinity has been defined for a newly created cell. --- repos/base-tukija/src/core/include/cell_component.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/repos/base-tukija/src/core/include/cell_component.h b/repos/base-tukija/src/core/include/cell_component.h index 8071259e72..de6e9031ef 100644 --- a/repos/base-tukija/src/core/include/cell_component.h +++ b/repos/base-tukija/src/core/include/cell_component.h @@ -83,6 +83,8 @@ class Ealan::Cell_component : public Genode::Rpc_object, } _calculate_mask_for_location(&_cip->cores_reserved, affinity.location()); + Tukija::cell_ctrl(cell_pd_sel, Tukija::Cell_control::UPDATE_AFFINITY); + Genode::log("Cores for <", label, ">: ", _cip->cores_reserved); _ep.manage(this);