You are right! Thank you very much for your help! 
I have successfully executed the jailhouse on my device.

But I have another question. I noticed that Jailhouse shuts down the CPU 
virtually instead of physically. What's the purpose of this? 
I tried to power off the CPU without going through EL2, but the result was that 
it could not be powered back on. Of course I changed some parameters state 
parameters in the structure, if not ignored ones. Is it feasible?

Thank you again for your time~  




在2022年8月16日星期二 UTC+8 21:09:43<[email protected]> 写道:

> You are using Android with Trusty in inmate cell? jailhouse not support 
> trusty SMC handler. So you need add that SMC handler in jailhouse.
>
>
> Regards,
>
> Peng
>
>
> star sun <[email protected]> 于2022年8月12日周五 13:47写道:
>
>>
>> Thanks for your reply!
>>
>> Before jailhouse enable, the CPU can be powered on and off normally. 
>>
>> But after that,  offline cpu(echo 0 > /sys/devices/system/cpu/cpu3/online) 
>> causes panic,  even without jailhouse create.  
>>
>>
>> 在2022年8月11日星期四 UTC+8 19:34:32<Henning Schild> 写道:
>>
>>> Am Wed, 10 Aug 2022 23:29:16 -0700 (PDT) 
>>> schrieb star sun <[email protected]>: 
>>>
>>> > i want make jailhouse working in one phone with 4 cortex-a53 cpu. 
>>> > 
>>> > I feel like I've successfully executed jailhouse enbale. 
>>> > unfortunately, there is a kernel panic when i down one cpu for a 
>>> > non-root-cell during jialhouse cell create . 
>>> > 
>>> > This question has puzzled me for a long time Do you have any good 
>>> > methods? thank you 
>>>
>>> You could try offlining one or more CPUs with your stock kernel and not 
>>> even the jailhouse module loaded. If that also causes problems you are 
>>> likely dealing with a vendor kernel that has been patched to become 
>>> sort of broken. 
>>>
>>> echo 0 > /sys/devices/system/cpu/cpu3/online 
>>>
>>> writing a 1 will bring it back. 
>>>
>>> This should work before you even start with jailhouse. 
>>>
>>> Henning 
>>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Jailhouse" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/jailhouse-dev/ca47dc3f-0b85-47ad-8c9e-64713730e19dn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/jailhouse-dev/ca47dc3f-0b85-47ad-8c9e-64713730e19dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/94711c27-9271-416b-936b-4f4eb6a96dabn%40googlegroups.com.

Reply via email to