From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 2A371CCA476 for ; Wed, 8 Oct 2025 00:48:22 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v6IJx-0001bd-B7; Tue, 07 Oct 2025 20:46:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1v6EzD-0004XA-Mj; Tue, 07 Oct 2025 17:12:43 -0400 Received: from mail.csgraf.de ([85.25.223.15] helo=zulu616.server4you.de) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1v6EzA-0005sc-7d; Tue, 07 Oct 2025 17:12:43 -0400 Received: from [0.0.0.0] (ec2-3-122-114-9.eu-central-1.compute.amazonaws.com [3.122.114.9]) by csgraf.de (Postfix) with ESMTPSA id 8DC596080403; Tue, 7 Oct 2025 23:12:23 +0200 (CEST) Message-ID: <184ed096-60d1-41d7-a0af-c1af75cfd014@csgraf.de> Date: Tue, 7 Oct 2025 23:12:22 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC v2 2/4] hvf: arm64: add workaround for Apple M4 to run older macOS versions To: Mohamed Mediouni , qemu-devel@nongnu.org Cc: Mads Ynddal , qemu-arm@nongnu.org, Cameron Esfahani , Peter Maydell , Roman Bolshakov , Phil Dennis-Jordan References: <20251007203153.30136-1-mohamed@unpredictable.fr> <20251007203153.30136-3-mohamed@unpredictable.fr> Content-Language: en-US From: Alexander Graf In-Reply-To: <20251007203153.30136-3-mohamed@unpredictable.fr> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=85.25.223.15; envelope-from=agraf@csgraf.de; helo=zulu616.server4you.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 07 Oct 2025 20:46:19 -0400 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org On 07.10.25 22:31, Mohamed Mediouni wrote: > Apple M4 removes FEAT_SSBS. However, older macOS releases > do misbehave in such a configuration and do not boot. > > Use private API to trap SCTLR_EL1 accesses through FGT. > > Signed-off-by: Mohamed Mediouni These old macOS versions did not include M4 support, correct? So wouldn't it make more sense to make more recent macOS work instead? Alex