On 19.11.20 13:01, Peter Zijlstra wrote:
On Thu, Nov 19, 2020 at 11:51:00AM +0000, Shinichiro Kawasaki wrote:I tried Peter's patch in my test system and result looks good. The warning is still observed with 5.10-rc4. With the patch on top of 5.10-rc4, the warning disappeared.The patch on its own is not sufficient to fix things; there needs to be an accompanying objtool patch to generate the correct unwind information. This patch only ensures objtool has enough information to be able to dtrt, but as it stands it shouldn't even compile, it should complain about an alternative trying to modify the stack and bail.
It complains, but doesn't bail. I'm nearly ready with my series replacing all the custom code paravirt patches by ALTERNATIVEs. Quite some paravirt macro cruft turned out to be unused, so there is a rather large cleanup patch included. :-) Juergen
OpenPGP_0xB0DE9DD628BF132F.asc
Description: application/pgp-keys
OpenPGP_signature
Description: OpenPGP digital signature

