[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAN8YU5N+5XH9npZ8Y4GzNi_iskyap=4wBgSn0L4gF80qf7CicQ@mail.gmail.com>
Date: Sat, 2 Jan 2016 17:05:34 +0100
From: Andrea Merello <andrea.merello@...il.com>
To: linux-rpi-kernel@...ts.infradead.org
Cc: linux-kernel <linux-kernel@...r.kernel.org>,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH 2/4] irqchip: bcm2836: Add SMP support for the 2836
Agreed.
This probably comes from the downstream code, I think.. But I agree
it's actually redundant.
Thank you for pointing this out.
On Sat, Jan 2, 2016 at 11:27 AM, Russell King - ARM Linux
<linux@....linux.org.uk> wrote:
> On Sat, Dec 26, 2015 at 01:47:22PM -0800, Eric Anholt wrote:
>> +int __init bcm2836_smp_boot_secondary(unsigned int cpu,
>> + struct task_struct *idle)
>> +{
>> + unsigned long secondary_startup_phys =
>> + (unsigned long)virt_to_phys((void *)secondary_startup);
>> +
>> + dsb();
>> + writel(secondary_startup_phys,
>> + intc.base + LOCAL_MAILBOX3_SET0 + 16 * cpu);
>
> Please explain why you need this dsb() - I can't see a reason for it.
> writel() has a barrier internally prior to writing the register, and
> therefore I think the above dsb() is entirely redundant.
>
> --
> RMK's Patch system: http://www.arm.linux.org.uk/developer/patches/
> FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up
> according to speedtest.net.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists