[{"id":3668990,"web_url":"http://patchwork.ozlabs.org/comment/3668990/","msgid":"<9cf3d5c9-32eb-4944-8fbf-4775e1cccecb@rsg.ci.i.u-tokyo.ac.jp>","list_archive_url":null,"date":"2026-03-25T11:07:08","subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","submitter":{"id":90980,"url":"http://patchwork.ozlabs.org/api/people/90980/","name":"Akihiko Odaki","email":"odaki@rsg.ci.i.u-tokyo.ac.jp"},"content":"On 2026/03/25 5:48, Mohamed Mediouni wrote:\n> Booting macOS Tahoe.\n> \n> There in the series to show that's all it takes, but not\n> mergable as is. Testing this requires SIP to be disabled\n> and AMFI to be bypassed to be able to launch the executable.\n\n\nThis is interesting. Do you have any idea what is the private ISA?\n\nRegards,\nAkihiko Odaki\n\n> \n> Note that macOS Tahoe uses ISV=0, and the corresponding series\n> is needed too.\n> \n> The script to do so:\n> https://gist.githubusercontent.com/zhaofengli/1df11ae3f0dd4e2c872a12ef849f7371/raw/b0ef43f2168600e8810d35a3e70d9a1eb39929e2/amfid-allow.py\n> \n> Signed-off-by: Mohamed Mediouni <mohamed@unpredictable.fr>\n> ---\n>   accel/hvf/entitlements.plist | 2 +-\n>   target/arm/hvf/hvf.c         | 8 ++++++++\n>   2 files changed, 9 insertions(+), 1 deletion(-)\n> \n> diff --git a/accel/hvf/entitlements.plist b/accel/hvf/entitlements.plist\n> index 154f3308ef..b1a25a2319 100644\n> --- a/accel/hvf/entitlements.plist\n> +++ b/accel/hvf/entitlements.plist\n> @@ -2,7 +2,7 @@\n>   <!DOCTYPE plist PUBLIC \"-//Apple//DTD PLIST 1.0//EN\" \"http://www.apple.com/DTDs/PropertyList-1.0.dtd\">\n>   <plist version=\"1.0\">\n>   <dict>\n> -    <key>com.apple.security.hypervisor</key>\n> +    <key>com.apple.private.hypervisor</key>\n>       <true/>\n>   </dict>\n>   </plist>\n> diff --git a/target/arm/hvf/hvf.c b/target/arm/hvf/hvf.c\n> index 000e54bd16..5d23aa8ae4 100644\n> --- a/target/arm/hvf/hvf.c\n> +++ b/target/arm/hvf/hvf.c\n> @@ -1219,6 +1219,8 @@ void hvf_arch_vcpu_destroy(CPUState *cpu)\n>       assert_hvf_ok(ret);\n>   }\n>   \n> +hv_return_t _hv_vm_config_set_isa(hv_vm_config_t cfg, int isa);\n> +\n>   hv_return_t hvf_arch_vm_create(MachineState *ms, uint32_t pa_range)\n>   {\n>       hv_return_t ret;\n> @@ -1230,6 +1232,12 @@ hv_return_t hvf_arch_vm_create(MachineState *ms, uint32_t pa_range)\n>       }\n>       chosen_ipa_bit_size = pa_range;\n>   \n> +    ret = _hv_vm_config_set_isa(config, 3);\n> +    if (ret != HV_SUCCESS) {\n> +        error_report(\"error setting private ISA\");\n> +        goto cleanup;\n> +    }\n> +\n>       ret = hv_vm_create(config);\n>   \n>   cleanup:","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" header.d=rsg.ci.i.u-tokyo.ac.jp\n header.i=@rsg.ci.i.u-tokyo.ac.jp header.a=rsa-sha256 header.s=rs20250326\n header.b=bizTiWDJ;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgkft5xlmz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 22:08:38 +1100 (AEDT)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w5M5U-0000Tg-T3; Wed, 25 Mar 2026 07:07:48 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <odaki@rsg.ci.i.u-tokyo.ac.jp>)\n id 1w5M5L-0000RA-Pl; Wed, 25 Mar 2026 07:07:40 -0400","from www3579.sakura.ne.jp ([49.212.243.89])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <odaki@rsg.ci.i.u-tokyo.ac.jp>)\n id 1w5M5I-0002Ij-TH; Wed, 25 Mar 2026 07:07:39 -0400","from [133.11.54.205] (h205.csg.ci.i.u-tokyo.ac.jp [133.11.54.205])\n (authenticated bits=0)\n by www3579.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 62PB78JM033078\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);\n Wed, 25 Mar 2026 20:07:09 +0900 (JST)\n (envelope-from odaki@rsg.ci.i.u-tokyo.ac.jp)"],"DKIM-Signature":"a=rsa-sha256; bh=+n/kMAvjcvgBrn5kSKBwYwfoozOlrY0QV86bOUd6KA0=;\n c=relaxed/relaxed; d=rsg.ci.i.u-tokyo.ac.jp;\n h=From:Message-ID:To:Subject:Date;\n s=rs20250326; t=1774436829; v=1;\n b=bizTiWDJBJfb4r3Av5wvnkGtJqozxnt0HYH8nLYiEATkH7/pbQwcr2YDwwQ6H9EV\n nVXqK+uhFuXXuPXmWgDErogJlQbxHYfoMJ10nfExKo22+bClQYrAMp1fxRZHzt4O\n mNV6qEQoWpsSyC0P+q9Iy6iyTYPeQzeN/O+TYp7zUfNHu9M6MSo576cWY5ptuM7d\n fy68+N/OyKJUMUT2oRheZt+8sr9Dq7jTGaJEgV/gPjes+biWjAgnMhjTh3onbdk7\n d+4XyRF5CRRD1ajjoysADVpX8LOqGBQ1g5VSrRWV+NTmq2+IsODHVPmkwpvBcrOx\n 4DD/i0OnNwcTuWdMiAQsVQ==","Message-ID":"<9cf3d5c9-32eb-4944-8fbf-4775e1cccecb@rsg.ci.i.u-tokyo.ac.jp>","Date":"Wed, 25 Mar 2026 20:07:08 +0900","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","To":"Mohamed Mediouni <mohamed@unpredictable.fr>, qemu-devel@nongnu.org","Cc":"qemu-arm@nongnu.org, Peter Maydell <peter.maydell@linaro.org>,\n\t=?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>,\n Paolo Bonzini <pbonzini@redhat.com>, Phil Dennis-Jordan <phil@philjordan.eu>,\n Peter Xu <peterx@redhat.com>, Mads Ynddal <mads@ynddal.dk>,\n Roman Bolshakov <rbolshakov@ddn.com>, Alexander Graf <agraf@csgraf.de>","References":"<20260324204855.29759-1-mohamed@unpredictable.fr>\n <20260324204855.29759-8-mohamed@unpredictable.fr>","Content-Language":"en-US","From":"Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>","In-Reply-To":"<20260324204855.29759-8-mohamed@unpredictable.fr>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","Received-SPF":"pass client-ip=49.212.243.89;\n envelope-from=odaki@rsg.ci.i.u-tokyo.ac.jp; helo=www3579.sakura.ne.jp","X-Spam_score_int":"-16","X-Spam_score":"-1.7","X-Spam_bar":"-","X-Spam_report":"(-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,\n DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,\n RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=no autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}},{"id":3668999,"web_url":"http://patchwork.ozlabs.org/comment/3668999/","msgid":"<78785F86-CA85-4187-93A6-1D9852263964@unpredictable.fr>","list_archive_url":null,"date":"2026-03-25T11:21:01","subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","submitter":{"id":91318,"url":"http://patchwork.ozlabs.org/api/people/91318/","name":"Mohamed Mediouni","email":"mohamed@unpredictable.fr"},"content":"> On 25. Mar 2026, at 12:07, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> wrote:\n> \n> On 2026/03/25 5:48, Mohamed Mediouni wrote:\n>> Booting macOS Tahoe.\n>> There in the series to show that's all it takes, but not\n>> mergable as is. Testing this requires SIP to be disabled\n>> and AMFI to be bypassed to be able to launch the executable.\n> \n> \n> This is interesting. Do you have any idea what is the private ISA?\n> \n> Regards,\n> Akihiko Odaki\n\nHello,\n\nFor the macOS vmapple target:\n\nApple PAC is paravirtualised and not trappable by the VMM without\npatching the “hvc #0” to something else.\n\nThat’s the only private ISA bit being used there needed for boot.\n\nThe documentation for those HVCs:\nhttps://github.com/matteyeux/darwin-xnu/blob/master/doc/vmapple_pac.md\n\nApple briefly pushed that there, and open-source XNU has that code present.\n\nWhen private ISA is disabled, instead of the VMM being able to process those\nHVCs, they return an error code and the guest dutifully goes into a infinite\nloop.\n\nFor the vresearch1 target used for PCC VRE and iOS:\n\nBunch of private ISA used there, including GXF. Private ISA level 3 isn’t\nenough to boot those, it wants private ISA level 4.\n\nThanks,","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=unpredictable.fr header.i=@unpredictable.fr\n header.a=rsa-sha256 header.s=sig1 header.b=BkUOZPYa;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgkz13Z3Mz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 22:22:36 +1100 (AEDT)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w5MIo-0006EU-OP; Wed, 25 Mar 2026 07:21:34 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <mohamed@unpredictable.fr>)\n id 1w5MIg-00067H-SE\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 07:21:28 -0400","from p-east2-cluster1-host7-snip4-2.eps.apple.com ([57.103.76.65]\n helo=outbound.st.icloud.com)\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <mohamed@unpredictable.fr>)\n id 1w5MIa-0008Dr-37\n for qemu-devel@nongnu.org; Wed, 25 Mar 2026 07:21:22 -0400","from outbound.st.icloud.com (unknown [127.0.0.2])\n by p00-icloudmta-asmtp-us-east-1a-60-percent-6 (Postfix) with ESMTPS id\n DB3611800BFB; Wed, 25 Mar 2026 11:21:15 +0000 (UTC)","from smtpclient.apple (unknown [17.42.251.67])\n by p00-icloudmta-asmtp-us-east-1a-60-percent-6 (Postfix) with ESMTPSA id\n F2DBC1800E8C; Wed, 25 Mar 2026 11:21:13 +0000 (UTC)"],"Dkim-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=unpredictable.fr;\n s=sig1; t=1774437678; x=1777029678;\n bh=bJA+iuHctjTO9s1GECU57d6RXVIn/v7fG5rhnfeDQ6c=;\n h=Content-Type:Mime-Version:Subject:From:Date:Message-Id:To:x-icloud-hme;\n b=BkUOZPYaR6wRUDuWAxey4+2NNFcebSgEdjjBzZJmeW1z7EcfldHtWWFooZCL0nRfN7juzxdMXoRGR55sMduxxj2OTMA6oi2H64GzWpWdeAngM/rbrnVit2GBC0agdmyHIoQxwDdEqBqwJDyoAGqNHv5rjYa5JAPLZRUOIqIMh9VL2ueDUNlef7tUkS/NJ1MZlco56z+Zr3JIF+36YDzsWwFORpDqA1xMyRO8b6VKjBeGFQv+yaKdaUpT0BE/23+BvI4WakPW8ZCIGOMJj3mKMdNKZ1MOdJy13qTG7sWb/fElbuaxZOHlG2MB1FWYoxu1FC2Z/ffNcUj5UtlwALvWyg==","mail-alias-created-date":"1752046281608","Content-Type":"text/plain;\n\tcharset=utf-8","Mime-Version":"1.0 (Mac OS X Mail 16.0 \\(3864.500.181\\))","Subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","From":"Mohamed Mediouni <mohamed@unpredictable.fr>","In-Reply-To":"<9cf3d5c9-32eb-4944-8fbf-4775e1cccecb@rsg.ci.i.u-tokyo.ac.jp>","Date":"Wed, 25 Mar 2026 12:21:01 +0100","Cc":"qemu-devel@nongnu.org, qemu-arm@nongnu.org,\n Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?q?=C3=A9?= <philmd@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>,\n Phil Dennis-Jordan <phil@philjordan.eu>, Peter Xu <peterx@redhat.com>,\n Mads Ynddal <mads@ynddal.dk>, Roman Bolshakov <rbolshakov@ddn.com>,\n Alexander Graf <agraf@csgraf.de>","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<78785F86-CA85-4187-93A6-1D9852263964@unpredictable.fr>","References":"<20260324204855.29759-1-mohamed@unpredictable.fr>\n <20260324204855.29759-8-mohamed@unpredictable.fr>\n <9cf3d5c9-32eb-4944-8fbf-4775e1cccecb@rsg.ci.i.u-tokyo.ac.jp>","To":"Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>","X-Mailer":"Apple Mail (2.3864.500.181)","X-Authority-Info-Out":"v=2.4 cv=II8PywvG c=1 sm=1 tr=0 ts=69c3c52c\n cx=c_apl:c_pps:t_out a=YrL12D//S6tul8v/L+6tKg==:117\n a=YrL12D//S6tul8v/L+6tKg==:17 a=IkcTkHD0fZMA:10 a=Yq5XynenixoA:10\n a=VkNPw1HP01LnGYTKEx00:22 a=ADnFLmdGAAAA:20 a=bWGPkEa5fn51Ohx-lacA:9\n a=QEXdDO2ut3YA:10 a=bA3UWDv6hWIuX7UZL3qL:22","X-Proofpoint-Spam-Details-Enc":"AW1haW4tMjYwMzI1MDA4MCBTYWx0ZWRfX+iqnFjnXmpeM\n 6nCtyxReJ02bxm/CF6vpVAr8JTaL4/kHxneAJnrTI2UCiWA7hKzFJgQ65h47JCqX+5r0GdyCw9A\n LugWT3BHyPTtqlWbMiYM1WyRZCN3sTgi+Bu8ODV2fbWVl2tTreEz6aiWgCi3UEP5KbvnemZvnte\n QSWExMBwsaU4TvaGSL7Ooyf4AlNcSJxcMIWG9m4YV24xyV6cxWrCXMrnm3Q5fmhnEpTR2N0QmGi\n BXED7m1Cm4FtEiXps8SDEwt1SFAPEqkCIwjQyPMfzdr/o3ow6Jxy0wwgtoG3uSVuv0vCA/E14Dt\n 12ueoTqtzfJJDFaXBGZ8Kq2kkiBs4VXme7ZcIzotYEN0GnoSLF90eZCvH68dqA=","X-Proofpoint-GUID":"3IxXWuu204Ri1zXLTvM1fnOTaWdetOUW","X-Proofpoint-ORIG-GUID":"3IxXWuu204Ri1zXLTvM1fnOTaWdetOUW","X-Proofpoint-Virus-Version":"vendor=baseguard\n engine=ICAP:2.0.293,Aquarius:18.0.1143,Hydra:6.1.51,FMLib:17.12.100.49\n definitions=2026-03-25_03,2026-03-24_01,2025-10-01_01","X-Proofpoint-Spam-Details":"rule=notspam policy=default score=0 mlxlogscore=719\n mlxscore=0 phishscore=0 bulkscore=0 spamscore=0\n lowpriorityscore=0\n clxscore=1030 suspectscore=0 adultscore=0 malwarescore=0 classifier=spam\n authscore=0 adjust=0 reason=mlx scancount=1 engine=8.22.0-2601150000\n definitions=main-2603250080","Received-SPF":"pass client-ip=57.103.76.65;\n envelope-from=mohamed@unpredictable.fr; helo=outbound.st.icloud.com","X-Spam_score_int":"-27","X-Spam_score":"-2.8","X-Spam_bar":"--","X-Spam_report":"(-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,\n RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}},{"id":3669052,"web_url":"http://patchwork.ozlabs.org/comment/3669052/","msgid":"<a273d3e3-4fcf-4969-b43c-4dadb94ea2c9@rsg.ci.i.u-tokyo.ac.jp>","list_archive_url":null,"date":"2026-03-25T12:20:09","subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","submitter":{"id":90980,"url":"http://patchwork.ozlabs.org/api/people/90980/","name":"Akihiko Odaki","email":"odaki@rsg.ci.i.u-tokyo.ac.jp"},"content":"On 2026/03/25 20:21, Mohamed Mediouni wrote:\n> \n>> On 25. Mar 2026, at 12:07, Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp> wrote:\n>>\n>> On 2026/03/25 5:48, Mohamed Mediouni wrote:\n>>> Booting macOS Tahoe.\n>>> There in the series to show that's all it takes, but not\n>>> mergable as is. Testing this requires SIP to be disabled\n>>> and AMFI to be bypassed to be able to launch the executable.\n>>\n>>\n>> This is interesting. Do you have any idea what is the private ISA?\n>>\n>> Regards,\n>> Akihiko Odaki\n> \n> Hello,\n> \n> For the macOS vmapple target:\n> \n> Apple PAC is paravirtualised and not trappable by the VMM without\n> patching the “hvc #0” to something else.\n> \n> That’s the only private ISA bit being used there needed for boot.\n> \n> The documentation for those HVCs:\n> https://github.com/matteyeux/darwin-xnu/blob/master/doc/vmapple_pac.md\n> \n> Apple briefly pushed that there, and open-source XNU has that code present.\n> \n> When private ISA is disabled, instead of the VMM being able to process those\n> HVCs, they return an error code and the guest dutifully goes into a infinite\n> loop.\n> \n> For the vresearch1 target used for PCC VRE and iOS:\n> \n> Bunch of private ISA used there, including GXF. Private ISA level 3 isn’t\n> enough to boot those, it wants private ISA level 4.\n\nIt’s fascinating to learn about these Apple-specifics. The insight \nregarding the GXF requirement for PCC VRE and iOS is also very \nintriguing. Thanks for sharing the information.\n\nRegards,\nAkihiko Odaki","headers":{"Return-Path":"<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@legolas.ozlabs.org","Authentication-Results":["legolas.ozlabs.org;\n\tdkim=fail reason=\"key not found in DNS\" header.d=rsg.ci.i.u-tokyo.ac.jp\n header.i=@rsg.ci.i.u-tokyo.ac.jp header.a=rsa-sha256 header.s=rs20250326\n header.b=L3SN9HuA;\n\tdkim-atps=neutral","legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)"],"Received":["from lists.gnu.org (lists.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgmGg0fhMz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 23:21:15 +1100 (AEDT)","from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1w5NE1-0005yM-Fq; Wed, 25 Mar 2026 08:20:42 -0400","from eggs.gnu.org ([2001:470:142:3::10])\n by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <odaki@rsg.ci.i.u-tokyo.ac.jp>)\n id 1w5NDy-0005xv-OM; Wed, 25 Mar 2026 08:20:38 -0400","from www3579.sakura.ne.jp ([49.212.243.89])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <odaki@rsg.ci.i.u-tokyo.ac.jp>)\n id 1w5NDv-0004HK-Pm; Wed, 25 Mar 2026 08:20:38 -0400","from [133.11.54.205] (h205.csg.ci.i.u-tokyo.ac.jp [133.11.54.205])\n (authenticated bits=0)\n by www3579.sakura.ne.jp (8.16.1/8.16.1) with ESMTPSA id 62PCK9Lr021409\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);\n Wed, 25 Mar 2026 21:20:09 +0900 (JST)\n (envelope-from odaki@rsg.ci.i.u-tokyo.ac.jp)"],"DKIM-Signature":"a=rsa-sha256; bh=7qEUEgh9Pt11woJfLwJx0CiIokoPoqp0TDwXaflTVWM=;\n c=relaxed/relaxed; d=rsg.ci.i.u-tokyo.ac.jp;\n h=From:Message-ID:To:Subject:Date;\n s=rs20250326; t=1774441209; v=1;\n b=L3SN9HuAv1pPZoe2hIxcSQqzjGkTbamYSBqY2Hr/q4ro+vEcSl9qYMq2Inj7uSi2\n iJgIMFeHYVze7yS/187qmWJFscZhGV57n9CnWvhZehCPZf+CAWEzW2s/nBJMbb0/\n fAWvJeym2o+qgxADBhhenZSyYf7COajkcKSn7fu1XugiZBIl49tKjPxkyLHAr3xI\n fQwjgogEfN3aDMKtHiMIsZRJ0AoRhgsFCITxK4OGPIlDqNNdlsw4lxcL55YppCdQ\n dLUQehGdeoIU7aseqvnL7KN5yH7KFCR7gAtD4S3vpp/klcjDWaTTtfIqxIR1kXJU\n C46bf1J1TebKQnh73ayX0w==","Message-ID":"<a273d3e3-4fcf-4969-b43c-4dadb94ea2c9@rsg.ci.i.u-tokyo.ac.jp>","Date":"Wed, 25 Mar 2026 21:20:09 +0900","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [RFC PATCH v7 7/7] hvf: do not merge: enable private ISA","To":"Mohamed Mediouni <mohamed@unpredictable.fr>","Cc":"qemu-devel@nongnu.org, qemu-arm@nongnu.org,\n Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?=\n\t=?utf-8?q?=C3=A9?= <philmd@linaro.org>, Paolo Bonzini <pbonzini@redhat.com>,\n Phil Dennis-Jordan <phil@philjordan.eu>, Peter Xu <peterx@redhat.com>,\n Mads Ynddal <mads@ynddal.dk>, Roman Bolshakov <rbolshakov@ddn.com>,\n Alexander Graf <agraf@csgraf.de>","References":"<20260324204855.29759-1-mohamed@unpredictable.fr>\n <20260324204855.29759-8-mohamed@unpredictable.fr>\n <9cf3d5c9-32eb-4944-8fbf-4775e1cccecb@rsg.ci.i.u-tokyo.ac.jp>\n <78785F86-CA85-4187-93A6-1D9852263964@unpredictable.fr>","Content-Language":"en-US","From":"Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>","In-Reply-To":"<78785F86-CA85-4187-93A6-1D9852263964@unpredictable.fr>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=49.212.243.89;\n envelope-from=odaki@rsg.ci.i.u-tokyo.ac.jp; helo=www3579.sakura.ne.jp","X-Spam_score_int":"-16","X-Spam_score":"-1.7","X-Spam_bar":"-","X-Spam_report":"(-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1,\n DKIM_SIGNED=0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,\n RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=no autolearn_force=no","X-Spam_action":"no action","X-BeenThere":"qemu-devel@nongnu.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"qemu development <qemu-devel.nongnu.org>","List-Unsubscribe":"<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>","List-Archive":"<https://lists.nongnu.org/archive/html/qemu-devel>","List-Post":"<mailto:qemu-devel@nongnu.org>","List-Help":"<mailto:qemu-devel-request@nongnu.org?subject=help>","List-Subscribe":"<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}}]