Re: [PATCH] MIPS: BCM47XX: make reboot more relaiable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 July 2014 20:50, Hauke Mehrtens <hauke@xxxxxxxxxx> wrote:
> On 07/30/2014 08:06 PM, Rafał Miłecki wrote:
>> Did you see code in hndmips.c of Broadcom SDK? Maybe we need this
>> magic ASM code they have it there?
>>
>> if (CHIPID(sih->chip) == BCM4785_CHIP_ID)
>>     MTC0(C0_BROADCOM, 4, (1 << 22));
>> si_watchdog(sih, 1);
>> if (CHIPID(sih->chip) == BCM4785_CHIP_ID) {
>>     __asm__ __volatile__(
>>         ".set\tmips3\n\t"
>>         "sync\n\t"
>>         "wait\n\t"
>>         ".set\tmips0");
>> }
>> while (1);
>>
>> Maybe it'll work better and more reliable?
>>
> This looks interesting, I haven't seen this.
>
> Please drop this patch for now, I will create a new one

Ralf, I'm afraid you didn't drop this patch.

-- 
Rafał


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux