From: Arnd Bergmann <arnd-r2nGTMty4D4@public.gmane.org>
To: Eric Anholt <eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
Cc: Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
Lee Jones <lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: BCM2836 (Raspberry Pi 2) port
Date: Wed, 06 May 2015 21:05:36 +0200 [thread overview]
Message-ID: <2558204.3mfpuqFHUt@wuerfel> (raw)
In-Reply-To: <87a8xh1qve.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
On Wednesday 06 May 2015 11:51:33 Eric Anholt wrote:
> 2836 SMP is now booting on my branch. Big thanks to Andrea Merello for
> doing most of the work on it. Not-cleaned-up series is available at:
>
> https://github.com/anholt/linux/tree/bcm2836-smp
>
> There's a bunch of stuff in here I'm not sure about:
>
> How do we like the way I'm inheriting 2835 stuff with the includes now?
> (It's been a lot less merging work than my initial post had been, but
> the /delete-node/ lines for 2386's changes are gross).
It's probably better to rename the original dtsi file to bcm283x.dtsi
then and move the parts that are different into bcm2835.dts and bcm2836.dtsi.
> How do people feel about putting the 2386 local IRQ handling in the 2835
> irqchip code? Do we like the code sharing for GPU IRQs, or would we
> rather have a separate driver? Could we separate the 2836 local irqs
> From 2835, and have it just call into 2835 for GPU IRQ handling?
I haven't looked in too much detail, but unless the file grows too
large, having all the code in one file is probably best. I'm guessing
that most users will want to enable both at the same time anyway.
> Where do people think the arch timer frequency initialization should go
> (commit "ARM: BCM2835: Set up the local timer frequency on 2836.")? On
> 2709 it's in init_time(), but I hear we've been trying to move away from
> these hooks.
My first intuition would be to have the clk driver handle setting up
the registers, as long as the arch_timer_of_init() requests the clock
correctly, that should do the right thing.
> Is there a sensible way to share our mapping of the local regs between
> the driver and platform bits that need to access them? (see
> arch/arm/mach-bcm/bcm2836_platsmp.c for what we're doing currently)
What is the split between those registers? If you have multiple drivers
that all want just a few registers from one shared area, a "syscon"
node would work best.
If the registers are all owned by a single driver, but you need to access
a few of the registers during early boot, it may be better to do an
ad-hoc mapping in the smp code by finding the device node manually.
Arnd
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2015-05-06 19:05 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-21 18:09 BCM2836 (Raspberry Pi 2) port Eric Anholt
[not found] ` <1429639796-2169-1-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-21 18:09 ` [PATCH 1/9] dt-bindings: Add root properties for Raspberry Pi 2 Eric Anholt
[not found] ` <1429639796-2169-2-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:27 ` Stephen Warren
2015-04-21 18:09 ` [PATCH 2/9] ARM: BCM2835: Split peripheral definitions off to a common include Eric Anholt
[not found] ` <1429639796-2169-3-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:28 ` Stephen Warren
2015-04-21 18:09 ` [PATCH 3/9] ARM: Make a copy of the 2835 dts for the 2836 Eric Anholt
[not found] ` <1429639796-2169-4-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:35 ` Stephen Warren
2015-04-21 18:09 ` [PATCH 4/9] ARM: Update the device trees for 2836 Eric Anholt
[not found] ` <1429639796-2169-5-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:36 ` Stephen Warren
2015-04-21 18:09 ` [PATCH 5/9] ARM: BCM2836: Add io map initialization for bcm2836 Eric Anholt
[not found] ` <1429639796-2169-6-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-21 18:53 ` Arnd Bergmann
2015-04-21 20:37 ` Eric Anholt
[not found] ` <87oamh9q12.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-04-21 21:11 ` Arnd Bergmann
2015-04-21 23:02 ` Eric Anholt
[not found] ` <87bnihhypw.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-04-22 7:22 ` Arnd Bergmann
2015-04-24 7:16 ` Arnd Bergmann
2015-04-21 18:09 ` [PATCH 6/9] ARM: Make a Kconfig option for shared BCM2835/BCM2836 code Eric Anholt
2015-04-21 18:09 ` [PATCH 7/9] ARM: Add Kconfig support for bcm2836 Eric Anholt
[not found] ` <1429639796-2169-8-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-21 18:59 ` Arnd Bergmann
2015-04-21 20:38 ` Eric Anholt
[not found] ` <87lhhl9pzf.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-04-24 3:30 ` Stephen Warren
2015-04-21 18:09 ` [PATCH 8/9] ARM: Add MAINTAINERS for 2836 Eric Anholt
[not found] ` <1429639796-2169-9-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:38 ` Stephen Warren
[not found] ` <5539C8C9.1010705-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-04-24 17:03 ` Eric Anholt
2015-04-21 18:09 ` [PATCH 9/9] ARM: BCM283x: Register fixed clocks for uart in the DT Eric Anholt
[not found] ` <1429639796-2169-10-git-send-email-eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org>
2015-04-24 4:44 ` Stephen Warren
[not found] ` <5539CA1A.1040009-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-04-24 17:06 ` Eric Anholt
[not found] ` <87vbglwj5c.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-04-25 4:23 ` Stephen Warren
2015-04-24 4:25 ` BCM2836 (Raspberry Pi 2) port Stephen Warren
[not found] ` <5539C5A4.5070409-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-04-24 18:41 ` Eric Anholt
[not found] ` <87pp6tweql.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-04-24 18:57 ` Stephen Warren
[not found] ` <553A9201.3080308-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-04-27 17:19 ` Eric Anholt
2015-05-08 16:14 ` Alexander Stein
2015-05-12 2:36 ` Stephen Warren
[not found] ` <55516738.306-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-05-12 15:39 ` Alexander Stein
2015-05-12 16:03 ` Stephen Warren
[not found] ` <55522468.3050606-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-05-12 17:32 ` Eric Anholt
[not found] ` <87d2254s6y.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-05-12 22:03 ` Stephen Warren
[not found] ` <555278BA.50903-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-05-13 17:46 ` Eric Anholt
[not found] ` <87wq0c4bgv.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-05-13 18:32 ` Stephen Warren
[not found] ` <555398DB.8050206-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-05-13 18:59 ` Eric Anholt
2015-04-29 2:38 ` Stephen Warren
[not found] ` <5540443C.8070604-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2015-04-29 3:41 ` Florian Fainelli
2015-05-06 18:51 ` Eric Anholt
[not found] ` <87a8xh1qve.fsf-omZaPlIz5HhaEpDpdNBo/KxOck334EZe@public.gmane.org>
2015-05-06 19:05 ` Arnd Bergmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2558204.3mfpuqFHUt@wuerfel \
--to=arnd-r2ngtmty4d4@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=eric-WhKQ6XTQaPysTnJN9+BGXg@public.gmane.org \
--cc=lee-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-rpi-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).