mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marek Szyprowski <m.szyprowski@samsung.com>
To: James Dingwall <james@dingwall.me.uk>,
	xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org,
	Andreas Greve <andreas.greve@a-greve.de>
Cc: iommu@lists.linux.dev
Subject: Re: BUG kernel 6.12.19 defautl_swiotlb_limit() returns wrong value for CONFIG_SWIOTLB_DYNAMIC=y effects atm only under XEN dom0
Date: Fri, 18 Sep 2026 09:48:48 +0200	[thread overview]
Message-ID: <e67609e4-6875-4759-bbe2-b94a1690309b@samsung.com> (raw)
In-Reply-To: <aqzcLJQCCmqpdxz3@dingwall.me.uk>

On 18.09.2026 08:37, James Dingwall wrote:
> I've been having a problem with a Dell HBA330 SCSI controller (mpt3sas)
> when booting under Xen and CONFIG_SWIOTLB_DYNAMIC=y is set.  I had a
> similar issue with a megaraid_sas card that I previously posted about:
>
> https://lkml.iu.edu/hypermail/linux/kernel/2407.3/08254.html
>
> In that case we rebuilt the kernel with CONFIG_SWIOTLB_DYNAMIC=n.
> While investigating the current problem I came across a patch that was
> posted on the xen-devel list:
>
> https://protect2.fireeye.com/v1/url?k=202f9c3b-7fb4525f-202e1774-000babda0201-d2724d878716e4ba&q=1&e=538195f2-f8bd-499e-8576-5e3d7c8ebca6&u=https%3A%2F%2Flists.xen.org%2Farchives%2Fhtml%2Fxen-devel%2F2025-05%2Fmsg00991.html
>
> I have applied that to the Ubuntu 7.0.0-31 kernel sources which has
> resolved the controller initialisation error I was encountering and the
> system now boots as expected.
>
> [    3.921136] mpt3sas_cm0: no suitable DMA mask for 0000:03:00.0
> [    3.921275] mpt3sas_cm0: failure at drivers/scsi/mpt3sas/mpt3sas_scsih.c:13610/_scsih_probe()!
>
> I've included the patch below, I don't have the author's real address
> for the s-o-b.  I'm able to test alternative fixes if there are any
> issues with this one.


https://lore.kernel.org/xen-devel/93625976-e8af-4c39-90fb-45c926d420fd@a-greve.de/


Andreas: could You send Your fix with a bit more elaborated description and to the
proper recipients (hint: use scripts/get_maintainer.pl tool), so it can be reviewed
and potentially applied?

Best regards
-- 
Marek Szyprowski, PhD
Samsung R&D Institute Poland


      reply	other threads:[~2026-09-18  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20260918063741eucas1p290cc7d0360de73b3d07a23316a238b48@eucas1p2.samsung.com>
2026-09-18  6:37 ` James Dingwall
2026-09-18  7:48   ` Marek Szyprowski [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=e67609e4-6875-4759-bbe2-b94a1690309b@samsung.com \
    --to=m.szyprowski@samsung.com \
    --cc=andreas.greve@a-greve.de \
    --cc=iommu@lists.linux.dev \
    --cc=james@dingwall.me.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=xen-devel@lists.xenproject.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

all inboxes | Powered by JetHome®