From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from frasgout.his.huawei.com (frasgout.his.huawei.com [185.176.79.56]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 359B4145355; Tue, 24 Jun 2025 15:52:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.176.79.56 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750780341; cv=none; b=FYb2Oe2T812MoXiNvUZRaH4lAbf+OkLeBiT52Wyrbcfwh7k6E3C3G6+HlDQ2sRhNVf1NIJqJ2RGrWQV0zZVBTtIX6jGn2XG45nlXD0y4qaXmIhpfKTu6ZX1Obt5AAbLeabyyP4cRSAzCMlCQLRHkwKwlU0wUX3Sv1c0rr8kHbro= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750780341; c=relaxed/simple; bh=Q9Pi1LJZoJIyH4rNb50nbJrtCZbYFD9cd+yIHpffavU=; h=From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=aXcW4g4LcJV/sXgJL8AoJz8mhyq+2dUV4FPSXUBCvwbLjqwd8FoGp+KxH4dB3s1ePXrXYbkkFTd8QhGVKVlYrAo4NSh+9/1EnFAYeC5hQ6ozhiGw3SibCYmtOZQRk/pompf/vTDy4XMZiBm8Gk078Sfq+UAieis/sgLERRLsNwM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com; spf=pass smtp.mailfrom=huawei.com; arc=none smtp.client-ip=185.176.79.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=huawei.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=huawei.com Received: from mail.maildlp.com (unknown [172.18.186.31]) by frasgout.his.huawei.com (SkyGuard) with ESMTP id 4bRTpt48Ksz6J6l2; Tue, 24 Jun 2025 23:47:18 +0800 (CST) Received: from frapeml500008.china.huawei.com (unknown [7.182.85.71]) by mail.maildlp.com (Postfix) with ESMTPS id 52AE21402C3; Tue, 24 Jun 2025 23:52:18 +0800 (CST) Received: from SecurePC-101-06.china.huawei.com (10.122.19.247) by frapeml500008.china.huawei.com (7.182.85.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Tue, 24 Jun 2025 17:52:17 +0200 From: Jonathan Cameron To: Catalin Marinas , , , , , , , , Will Deacon , Dan Williams , Davidlohr Bueso CC: Yicong Yang , , Yushan Wang , Lorenzo Pieralisi , Mark Rutland , Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , , H Peter Anvin , Andy Lutomirski , Peter Zijlstra Subject: [PATCH v2 8/8] Hack: Pretend we have PSCI 1.2 Date: Tue, 24 Jun 2025 16:48:04 +0100 Message-ID: <20250624154805.66985-9-Jonathan.Cameron@huawei.com> X-Mailer: git-send-email 2.48.1 In-Reply-To: <20250624154805.66985-1-Jonathan.Cameron@huawei.com> References: <20250624154805.66985-1-Jonathan.Cameron@huawei.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: lhrpeml500004.china.huawei.com (7.191.163.9) To frapeml500008.china.huawei.com (7.182.85.71) Need to update QEMU to PSCI 1.2. In meantime lie. This is just here to aid testing, not for review! Signed-off-by: Jonathan Cameron --- drivers/firmware/psci/psci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/firmware/psci/psci.c b/drivers/firmware/psci/psci.c index 38ca190d4a22..804b0d7cda4b 100644 --- a/drivers/firmware/psci/psci.c +++ b/drivers/firmware/psci/psci.c @@ -646,6 +646,8 @@ static void __init psci_init_smccc(void) } } + /* Hack until qemu version stuff updated */ + arm_smccc_version_init(ARM_SMCCC_VERSION_1_2, psci_conduit); /* * Conveniently, the SMCCC and PSCI versions are encoded the * same way. No, this isn't accidental. -- 2.48.1