From: "Arnd Bergmann" <arnd@arndb.de>
To: "Ulf Hansson" <ulf.hansson@linaro.org>,
"yangzh0906@thundersoft.com" <yangzh0906@thundersoft.com>
Cc: "Krzysztof Kozlowski" <krzk@kernel.org>,
"Rob Herring" <robh@kernel.org>,
krzk+dt@kernel.org, "Conor Dooley" <conor+dt@kernel.org>,
"Catalin Marinas" <catalin.marinas@arm.com>,
"Will Deacon" <will@kernel.org>,
"Adrian Hunter" <adrian.hunter@intel.com>,
"Robin Murphy" <robin.murphy@arm.com>,
ding.wang@bst.ai, "gordon.ge" <gordon.ge@bst.ai>,
bst-upstream <bst-upstream@bstai.top>,
linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org,
"linux-mmc @ vger . kernel . org" <linux-mmc@vger.kernel.org>,
soc@lists.linux.dev, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v3 5/8] mmc: sdhci: add Black Sesame Technologies BST C1200 controller driver
Date: Mon, 18 Aug 2025 14:08:20 +0200 [thread overview]
Message-ID: <689f58fe-6339-4a3e-9aad-175bff7681f8@app.fastmail.com> (raw)
In-Reply-To: <CAPDyKFon7Q2UHOJbbVtPTHvqxYeOJr8HK5BOk6TAJaph8FcwvQ@mail.gmail.com>
On Mon, Aug 18, 2025, at 12:48, Ulf Hansson wrote:
> On Tue, 12 Aug 2025 at 14:31, Albert Yang <yangzh0906@thundersoft.com> wrote:
>> + /*
>> + * Silicon constraints for BST C1200:
>> + * - System RAM base is 0x800000000 (above 32-bit addressable range)
>> + * - The eMMC controller DMA engine is limited to 32-bit addressing
>> + * - SMMU cannot be used on this path due to hardware design flaws
>> + * - These are fixed in silicon and cannot be changed in software
>> + *
>> + * Bus/controller mapping:
>> + * - No registers are available to reprogram the address mapping
>> + * - The 32-bit DMA limit is a hard constraint of the controller IP
>> + *
>> + * Given these constraints, an SRAM-based bounce buffer in the 32-bit
>> + * address space is required to enable eMMC DMA on this platform.
>> + */
>> + err = bst_sdhci_reallocate_bounce_buffer(host);
>> + if (err) {
>> + dev_err(&pdev->dev, "Failed to allocate bounce buffer: %d\n", err);
>> + goto err_remove_host;
>> + }
>
> FYI, I will be awaiting a confirmation from Arnd to be with the above
> hack, before I queue this up.
The explanations here are clear enough to me,
Acked-by: Arnd Bergmann <arnd@arndb.de>
next prev parent reply other threads:[~2025-08-18 12:08 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-12 12:31 [PATCH v3 0/8] Introduce Black Sesame Technologies C1200 SoC and CDCU1.0 board Albert Yang
2025-08-12 12:31 ` [PATCH v3 1/8] dt-bindings: vendor-prefixes: Add Black Sesame Technologies Co., Ltd Albert Yang
2025-08-12 13:34 ` Krzysztof Kozlowski
2025-08-13 4:53 ` Albert Yang
2025-08-13 6:01 ` Krzysztof Kozlowski
2025-08-13 11:37 ` Albert Yang
2025-08-12 12:31 ` [PATCH v3 2/8] dt-bindings: arm: add Black Sesame Technologies (bst) SoC Albert Yang
2025-08-12 13:35 ` Krzysztof Kozlowski
2025-08-12 12:31 ` [PATCH v3 3/8] arm64: Kconfig: add ARCH_BST for Black Sesame Technologies SoCs Albert Yang
2025-08-12 12:31 ` [PATCH v3 4/8] dt-bindings: mmc: add binding for BST DWCMSHC SDHCI controller Albert Yang
2025-08-14 8:50 ` Krzysztof Kozlowski
2025-08-12 12:31 ` [PATCH v3 5/8] mmc: sdhci: add Black Sesame Technologies BST C1200 controller driver Albert Yang
2025-08-18 10:48 ` Ulf Hansson
2025-08-18 12:08 ` Arnd Bergmann [this message]
2025-08-18 18:16 ` Adrian Hunter
2025-09-10 12:07 ` Albert Yang
2025-08-12 12:31 ` [PATCH v3 6/8] arm64: dts: bst: add support for Black Sesame Technologies C1200 CDCU1.0 board Albert Yang
2025-08-12 16:16 ` Krzysztof Kozlowski
2025-09-03 3:40 ` Albert Yang
2025-09-03 6:14 ` Krzysztof Kozlowski
[not found] ` <20250903070609.3475214-1-yangzh0906@thundersoft.com>
2025-09-05 7:23 ` Krzysztof Kozlowski
2025-09-09 7:09 ` Albert Yang
2025-08-12 12:31 ` [PATCH v3 7/8] arm64: defconfig: enable BST platform and SDHCI controller support Albert Yang
2025-08-12 13:38 ` Krzysztof Kozlowski
2025-08-13 11:56 ` Albert Yang
2025-08-12 12:31 ` [PATCH v3 8/8] MAINTAINERS: add and consolidate Black Sesame Technologies (BST) ARM SoC support Albert Yang
2025-08-12 13:33 ` Krzysztof Kozlowski
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=689f58fe-6339-4a3e-9aad-175bff7681f8@app.fastmail.com \
--to=arnd@arndb.de \
--cc=adrian.hunter@intel.com \
--cc=bst-upstream@bstai.top \
--cc=catalin.marinas@arm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=ding.wang@bst.ai \
--cc=gordon.ge@bst.ai \
--cc=krzk+dt@kernel.org \
--cc=krzk@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mmc@vger.kernel.org \
--cc=robh@kernel.org \
--cc=robin.murphy@arm.com \
--cc=soc@lists.linux.dev \
--cc=ulf.hansson@linaro.org \
--cc=will@kernel.org \
--cc=yangzh0906@thundersoft.com \
/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
all inboxes | Powered by JetHome®