> -----Original Message----- > From: Sean Nyekjaer <sean@xxxxxxxxxx> > Sent: 2019年9月5日 21:18 > To: Joakim Zhang <qiangqing.zhang@xxxxxxx>; mkl@xxxxxxxxxxxxxx; > linux-can@xxxxxxxxxxxxxxx > Cc: wg@xxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx; dl-linux-imx > <linux-imx@xxxxxxx>; Martin Hundebøll <martin@xxxxxxxxxx> > Subject: Re: [PATCH REPOST 1/2] can: flexcan: fix deadlock when using self > wakeup > > > > On 05/09/2019 09.10, Joakim Zhang wrote: > > Hi Sean, > > > > Could you update lastest flexcan driver using linux-can-next/flexcan and then > merge below two patches from linux-can/testing? > > d0b53616716e (HEAD -> testing, origin/testing) can: flexcan: add LPSR > > mode support for i.MX7D 803eb6bad65b can: flexcan: fix deadlock when > > using self wakeup > > > > Best Regards, > > Joakim Zhang > > The testing branch have some UBI bugs, when suspending it crashes... > So will have to leave this, until they are resolved :-) I think you can find the base and cherry-pick all above flexcan related latest patches to your local stable tree. I did this and test wakeup function on i.MX8QM/QXP before. BTW, I think without CAN FD related patches, you still can test wakeup function on i.MX6/7 with this patch(may need fix merge conflicts) This patch has been merged into our 4.19 kernel and passed the wakeup test for i.MX6/7/8. I went through the flexcan suspend/resume process again, and not find logical issue. If you met wakeup failure, could you help to locate the problem more accurate. Failure log you provided last time, strange and illogical. Thanks a lot! 😊 Best Regards, Joakim Zhang > /Sean