On 01/05/2018 08:54 PM, Hanjun Guo wrote: > Do you mean NX bit will be brought back later? I'm asking this because > I tested this patch which it fixed the boot panic issue but the system > will hang when rebooting the system, because rebooting will also call efi > then panic as NS bit is set. Wow, you're running a lot of very lighly-used code paths! You actually found a similar but totally separate issue from what I gather. Thank you immensely for the quick testing and bug reports! Could you test the attached fix? For those playing along at home, I think this will end up being needed for 4.15 and probably all the backports. I want to see if it works before I submit it for real, though.