Le 07/03/2020 à 09:42, Christophe Leroy a écrit :


Le 06/03/2020 à 20:05, Nick Desaulniers a écrit :
As a heads up, our CI went red last night, seems like a panic from
free_initmem?  Is this a known issue?

Thanks for the heads up.

No such issue with either 8xx or book3s/32.

I've now been able to reproduce it with bamboo QEMU.

Reverting 2efc7c085f05 makes it disappear. I'll investigate.


Ok, I found the problem. virt_to_kpte() lacks a NULL pmd check. I'll send a patch for that.

However, if there is no PMD I guess this area is mapped through some kind of block mapping. Therefore it should bail out of the function through:

        if (v_block_mapped(address))
                return 0;


Can someone who knows BOOKE investigate that ?

Christophe

Reply via email to