Re: [PATCH] MIPS: Fix arch_trigger_cpumask_backtrace()

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

 



Hi Huacai,

On Fri, Jun 15, 2018 at 12:30:35PM +0800, 陈华才 wrote:
> I can't test your branch...... Because now the mainline kernel lacks
> too many features needed by Loongson-3.

Interesting - so the mainline Loongson-3 code doesn't actually work? How
much is missing for it to be functional?

> By the way, Your approach is based on NMI but I don't think NMI is
> always available on each MIPS board.

It isn't using NMIs at all - the nmi_trigger_cpumask_backtrace()
function has NMI in its name, sure, but it just invokes a callback to
interrupt other CPUs & we can implement that using regular old IPIs.

This is the same way arch/arm does it, so it's not unprecedented &
allows us to share the common code.

It would be ideal to use NMIs where possible in future, but that can
come later for platforms where they're available.

Thanks,
    Paul



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux