this logic can be common for intel64 chips Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>