On 10/02/2025 09:21, Oleksii Kurochko wrote:
On 2/8/25 1:02 AM, Andrew Cooper wrote:
Right now, run_in_exception_handler() takes an input in an arbitrary register,
and clobbers BUG_FN_REG. This causes the compiler to calculate fn in the
wrong regsiter.
Probably, we should give a chance for the patch which suggests to use
GENERIC_BUG_FRAME:
https://lore.kernel.org/xen-
devel/8fdb98350ae4fc6029738d0aabe13a57e1945a50.1680086655.git.oleksii.kuroc...@gmail.com/
That would be the ideal if someone has time for it. Otherwise, patch #3
needs to be modified (see my answer on patch #2).
But I would also be ok with this as a stop-gap for the time being.
Cheers,
--
Julien Grall