From: Sreekanth Reddy via iommu <iommu@lists.linux-foundation.org>
To: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
Cc: sachinp <sachinp@linux.vnet.ibm.com>,
Chaitra P B <chaitra.basappa@broadcom.com>,
linux-scsi <linux-scsi@vger.kernel.org>,
PDL-MPT-FUSIONLINUX <MPT-FusionLinux.pdl@broadcom.com>,
manvanth <manvanth@linux.vnet.ibm.com>,
Sathya Prakash <sathya.prakash@broadcom.com>,
jcmvbkbc@gmail.com, iommu@lists.linux-foundation.org,
linux-next <linux-next@vger.kernel.org>,
Oliver <oohall@gmail.com>,
"aneesh.kumar" <aneesh.kumar@linux.vnet.ibm.com>,
Suganath Prabu Subramani <suganath-prabu.subramani@broadcom.com>,
Brian King <brking@linux.vnet.ibm.com>,
linuxppc-dev <linuxppc-dev@lists.ozlabs.org>
Subject: Re: [linux-next/mainline][bisected 3acac06][ppc] Oops when unloading mpt3sas driver
Date: Tue, 25 Feb 2020 12:23:13 +0530 [thread overview]
Message-ID: <CAK=zhgpWCz0+xpSGymbQEAbysH_rQf=s8iQ1gn4KwysP3c1Gcw@mail.gmail.com> (raw)
In-Reply-To: <1582611644.19645.6.camel@abdul.in.ibm.com>
On Tue, Feb 25, 2020 at 11:51 AM Abdul Haleem
<abdhalee@linux.vnet.ibm.com> wrote:
>
> On Fri, 2020-01-17 at 18:21 +0530, Abdul Haleem wrote:
> > On Thu, 2020-01-16 at 09:44 -0800, Christoph Hellwig wrote:
> > > Hi Abdul,
> > >
> > > I think the problem is that mpt3sas has some convoluted logic to do
> > > some DMA allocations with a 32-bit coherent mask, and then switches
> > > to a 63 or 64 bit mask, which is not supported by the DMA API.
> > >
> > > Can you try the patch below?
> >
> > Thank you Christoph, with the given patch applied the bug is not seen.
> >
> > rmmod of mpt3sas driver is successful, no kernel Oops
> >
> > Reported-and-tested-by: Abdul Haleem <abdhalee@linux.vnet.ibm.com>
>
> Hi Christoph,
>
> I see the patch is under discussion, will this be merged upstream any
> time soon ? as boot is broken on our machines with out your patch.
>
Hi Abdul,
We have posted a new set of patches to fix this issue. This patch set
won't change the DMA Mask on the fly and also won't hardcode the DMA
mask to 32 bit.
[PATCH 0/5] mpt3sas: Fix changing coherent mask after allocation.
This patchset will have below patches, Please review and try with this
patch set.
Suganath Prabu S (5):
mpt3sas: Don't change the dma coherent mask after allocations
mpt3sas: Rename function name is_MSB_are_same
mpt3sas: Code Refactoring.
mpt3sas: Handle RDPQ DMA allocation in same 4g region
mpt3sas: Update version to 33.101.00.00
Regards,
Sreekanth
> --
> Regard's
>
> Abdul Haleem
> IBM Linux Technology Centre
>
>
>
_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu
next prev parent reply other threads:[~2020-02-25 7:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1578489498.29952.11.camel@abdul>
[not found] ` <1578560245.30409.0.camel@abdul.in.ibm.com>
[not found] ` <20200109142218.GA16477@infradead.org>
[not found] ` <1578980874.11996.3.camel@abdul.in.ibm.com>
2020-01-16 17:44 ` [linux-next/mainline][bisected 3acac06][ppc] Oops when unloading mpt3sas driver Christoph Hellwig
2020-01-17 12:51 ` Abdul Haleem
2020-02-25 6:20 ` Abdul Haleem
2020-02-25 6:53 ` Sreekanth Reddy via iommu [this message]
2020-03-20 9:59 ` Abdul Haleem
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='CAK=zhgpWCz0+xpSGymbQEAbysH_rQf=s8iQ1gn4KwysP3c1Gcw@mail.gmail.com' \
--to=iommu@lists.linux-foundation.org \
--cc=MPT-FusionLinux.pdl@broadcom.com \
--cc=abdhalee@linux.vnet.ibm.com \
--cc=aneesh.kumar@linux.vnet.ibm.com \
--cc=brking@linux.vnet.ibm.com \
--cc=chaitra.basappa@broadcom.com \
--cc=jcmvbkbc@gmail.com \
--cc=linux-next@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=manvanth@linux.vnet.ibm.com \
--cc=oohall@gmail.com \
--cc=sachinp@linux.vnet.ibm.com \
--cc=sathya.prakash@broadcom.com \
--cc=sreekanth.reddy@broadcom.com \
--cc=suganath-prabu.subramani@broadcom.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;
as well as URLs for NNTP newsgroup(s).