From: Andre Przywara <andre.przywara@arm.com>
To: Paul Kocialkowski <paulk@sys-base.io>, u-boot@lists.denx.de
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>,
Chen-Yu Tsai <wens@kernel.org>,
linux-sunxi@lists.linux.dev
Subject: [PATCH v2 0/2] sunxi: DRAM: rework NSI priority settings
Date: Thu, 30 Apr 2026 15:58:36 +0200 [thread overview]
Message-ID: <20260430135838.3438728-1-andre.przywara@arm.com> (raw)
Hi,
this is an extension of Paul's previous patch [1] to set the DRAM bus
arbitration priorities on the Allwinner A133 SoC. His patch was just
addressing the A133, but the A523 already sets up the priorities, using
apparently the same IP ("NSI") for that.
So patch 1/2 factors out that code, as suggested by Jernej, to make it
reusable by patch 2/2, which is a port of Paul's patch to that new
function.
Please note that this just tries to mimic the existing NSI setup for the
A523, there are more DRAM masters on that SoC, and the BSP code sets
them up with the lowest priorities. I guess this is also the reset
default, so I kept those masters out for now. Please let me know if we
should set them up explicitly regardless.
[1] https://lore.kernel.org/u-boot/20260128235727.1322861-1-contact@paulk.fr/#t
Cheers,
Andre
Andre Przywara (1):
sunxi: A523: Move NSI init routine into generic function
Paul Kocialkowski (1):
sunxi: A133: dram: Add NSI arbiter configuration support
.../include/asm/arch-sunxi/cpu_sun50i_h6.h | 4 ++
.../include/asm/arch-sunxi/cpu_sunxi_ncat2.h | 1 +
.../include/asm/arch-sunxi/dram_sun50i_a133.h | 23 +++++++++
.../include/asm/arch-sunxi/dram_sun55i_a523.h | 29 +++++++++++
arch/arm/include/asm/arch-sunxi/sunxi_nsi.h | 25 ++++++++++
arch/arm/mach-sunxi/Makefile | 4 +-
arch/arm/mach-sunxi/dram_sun50i_a133.c | 43 +++++++++++++++-
arch/arm/mach-sunxi/dram_sun55i_a523.c | 49 +++++++++----------
arch/arm/mach-sunxi/sunxi_nsi.c | 31 ++++++++++++
9 files changed, 180 insertions(+), 29 deletions(-)
create mode 100644 arch/arm/include/asm/arch-sunxi/sunxi_nsi.h
create mode 100644 arch/arm/mach-sunxi/sunxi_nsi.c
--
2.43.0
next reply other threads:[~2026-04-30 13:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-30 13:58 Andre Przywara [this message]
2026-04-30 13:58 ` [PATCH v2 1/2] sunxi: A523: Move NSI init routine into generic function Andre Przywara
2026-05-03 8:07 ` Jernej Škrabec
2026-05-08 12:31 ` Paul Kocialkowski
2026-05-09 8:53 ` Jernej Škrabec
2026-05-06 22:36 ` Andre Przywara
2026-04-30 13:58 ` [PATCH v2 2/2] sunxi: A133: dram: Add NSI arbiter configuration support Andre Przywara
2026-05-08 12:25 ` Paul Kocialkowski
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=20260430135838.3438728-1-andre.przywara@arm.com \
--to=andre.przywara@arm.com \
--cc=jernej.skrabec@gmail.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=paulk@sys-base.io \
--cc=u-boot@lists.denx.de \
--cc=wens@kernel.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