# Re: \[FSL P50x0\] Xorg always restarts again and again after the the PowerPC updates 5.13-1

- From: Christian Zigotzky \<hidden\>
- Date: 2021-05-13 16:36:40 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/05/9522667
- Thread: https://ratatoskr.run/linuxppc-dev/2021/05/9198143/t.md

```text
On 13 May 2021 at 5:51pm, Christophe Leroy wrote:
>
>
> Le 13/05/2021 à 17:19, Christian Zigotzky a écrit :
>> On 13 May 2021 at 12:01 pm, Christophe Leroy wrote:
>>>
>>>
>>> Le 13/05/2021 à 08:47, Christian Zigotzky a écrit :
>>>> Hi Christophe,
>>>>
>>>>> On 9. May 2021, at 19:37, Christophe Leroy [ref] wrote:
>>>>>
>>>>> Did I do an error in my analysis ?
>>>>
>>>> No, you didn’t. On the contrary you have found the issue. ;-) The issue is somewhere in the new interrupt code.
>>>
>>> I'm not convinced, but let's give it a try.
>>>
>>>>
>>>>> ZZ | * | ceff77efa4f8 powerpc/64e/interrupt: Use new interrupt context tracking scheme
>>>>
>>>> Could you please create a patch for reverting the new interrupt code? I would like to confirm your result.
>>>
>>> Please fetch https://github.com/chleroy/linux.git and try the branch for_christian.
>>>
>>> This is a revert of approx a dozen of commits around the changes to 64e on top of v5.13-rc1.
>>>
>>> If the top of the branch works for you, it would be great if you can find out which one of the reverts fixes the problem for real.
>>>
>>> Thanks
>>> Christophe
>> It's working! Great! I can use the RC1 on my FSL P5040. Thank you! The issue is definitely somewhere in the interrupt code. Please tell me the next steps.
>>
>
> Can you bisect between 5.13-rc1 and the top of the 'for_christian' branch to find the first 'good' commit ?
>
> Take care it is an "up side down" bisect, a 'good' is one that does _not_ work and a 'bad' is a commit that works.
>
> git bisect start
> git bisect bad 1c8f441f1485
> git bisect good 6efb943b8616
>
> Christophe
Hi Christophe,

Yes, I can. Shall I use the branch 'for_christian' or the default linux git for bisecting? I have tried it already with the branch 'for_christian' but it doesn't compile.

git bisect start
git bisect bad 1c8f441f1485
git bisect good 6efb943b8616

Output: [d66b1d1aab0c1caad11eca417f515b86ec0bebe9] Revert "powerpc/64e/interrupt: Use new interrupt context tracking scheme"

Result:

arch/powerpc/kernel/interrupt.o: In function `.syscall_exit_prepare':
interrupt.c:(.text+0x278): undefined reference to `.schedule_user'
arch/powerpc/kernel/interrupt.o: In function `.interrupt_exit_user_prepare':
interrupt.c:(.text+0x340): undefined reference to `.schedule_user'
Makefile:1191: recipe for target 'vmlinux' failed
make: *** [vmlinux] Error 1

----

Thanks,
Christian
```
