From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4 net-next 2/9] ARM: dts: armada-38x: enable buffer manager support on Armada 38x boards
Date: Sun, 6 Mar 2016 20:35:34 +0000 [thread overview]
Message-ID: <20160306203534.GH19428@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <1457217507-10778-3-git-send-email-gregory.clement@free-electrons.com>
On Sat, Mar 05, 2016 at 11:38:20PM +0100, Gregory CLEMENT wrote:
> From: Marcin Wojtas <mw@semihalf.com>
>
> Since mvneta driver supports using hardware buffer management (BM), in
> order to use it, board files have to be adjusted accordingly. This commit
> enables BM on:
> * A385-DB-AP - each port has its own pool for long and common pool for
> short packets,
> * A388-ClearFog - same as above,
I'm mostly happy with the change to these two files below, but I do
wonder whether the structuring is correct: I'm not sure what SR's
long term plans are for the A388 microsom, and what other
configurations it could end up being used with, and whether that would
affect the split between the new BM configuration in the clearfog and
microsom files. We can always sort that out later once it becomes
better known. So, for clearfog:
Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>
Thanks.
> diff --git a/arch/arm/boot/dts/armada-388-clearfog.dts b/arch/arm/boot/dts/armada-388-clearfog.dts
> index c6e180eb3b11..c60206efb583 100644
> --- a/arch/arm/boot/dts/armada-388-clearfog.dts
> +++ b/arch/arm/boot/dts/armada-388-clearfog.dts
> @@ -78,6 +78,9 @@
> internal-regs {
> ethernet at 30000 {
> phy-mode = "sgmii";
> + buffer-manager = <&bm>;
> + bm,pool-long = <2>;
> + bm,pool-short = <1>;
> status = "okay";
>
> fixed-link {
> @@ -88,6 +91,9 @@
>
> ethernet at 34000 {
> phy-mode = "sgmii";
> + buffer-manager = <&bm>;
> + bm,pool-long = <3>;
> + bm,pool-short = <1>;
> status = "okay";
>
> fixed-link {
...
> diff --git a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> index 3f792a563c05..8c9842237b60 100644
> --- a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> +++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
> @@ -58,7 +58,8 @@
> ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
> MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
> MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
> - MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
> + MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000
> + MBUS_ID(0x0c, 0x04) 0 0xf1200000 0x100000>;
>
> internal-regs {
> ethernet at 70000 {
> @@ -66,6 +67,9 @@
> pinctrl-names = "default";
> phy = <&phy_dedicated>;
> phy-mode = "rgmii-id";
> + buffer-manager = <&bm>;
> + bm,pool-long = <0>;
> + bm,pool-short = <1>;
> status = "okay";
> };
>
> @@ -110,6 +114,15 @@
> pinctrl-names = "default";
> status = "okay";
> };
> +
> + bm at c8000 {
> + status = "okay";
> + };
> };
> +
> + bm-bppi {
> + status = "okay";
> + };
> +
> };
> };
--
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.
next prev parent reply other threads:[~2016-03-06 20:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-05 22:38 [PATCH v4 net-next 0/9] API set for HW Buffer management Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 1/9] ARM: dts: armada-38x: add buffer manager nodes Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 2/9] ARM: dts: armada-38x: enable buffer manager support on Armada 38x boards Gregory CLEMENT
2016-03-06 20:35 ` Russell King - ARM Linux [this message]
2016-03-05 22:38 ` [PATCH v4 net-next 3/9] ARM: dts: armada-xp: add buffer manager nodes Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 4/9] ARM: dts: armada-xp: enable buffer manager support on Armada XP boards Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 5/9] ARM: dts: armada-xp-openblocks-ax3-4: Add BM support Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 6/9] bus: mvebu-mbus: provide api for obtaining IO and DRAM window information Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 7/9] net: mvneta: bm: add support for hardware buffer management Gregory CLEMENT
2016-03-06 20:55 ` kbuild test robot
2016-03-05 22:38 ` [PATCH v4 net-next 8/9] net: add a hardware buffer management helper API Gregory CLEMENT
2016-03-06 19:21 ` Marcin Wojtas
2016-03-07 8:15 ` Gregory CLEMENT
2016-03-05 22:38 ` [PATCH v4 net-next 9/9] net: mvneta: Use the new hwbm framework Gregory CLEMENT
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=20160306203534.GH19428@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.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).