Re: [PATCH v3] arm64: Fix kernel panic() in cpu_do_switch_mm() on QDF2400

2017-02-24 Thread Will Deacon
On Thu, Feb 23, 2017 at 04:03:38PM -0600, Shanker Donthineni wrote: > The commit 38fd94b0275c 'arm64: Work around Falkor erratum 1003' has > been added to fix the hardware bug but causes a system crash. The > value of the register x1 which contains 'struct mm_struct *' should > be preserved inside

[PATCH v3] arm64: Fix kernel panic() in cpu_do_switch_mm() on QDF2400

2017-02-23 Thread Shanker Donthineni
The commit 38fd94b0275c 'arm64: Work around Falkor erratum 1003' has been added to fix the hardware bug but causes a system crash. The value of the register x1 which contains 'struct mm_struct *' should be preserved inside macro pre_ttbr0_update_workaround. Macro pre_ttbr0_update_workaround expect