From: Manfred Schwarb <manfred99-OI3hZJvNYWs@public.gmane.org>
To: Joerg Roedel <joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
Cc: iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: [PATCH] iommu/amd: Add quirk for broken Marvell 88SE91xx SATA
Date: Fri, 02 Aug 2013 11:29:44 +0200 [thread overview]
Message-ID: <51FB7C08.40708@gmx.ch> (raw)
In-Reply-To: <51F92832.2070102-OI3hZJvNYWs@public.gmane.org>
Am 31.07.2013 17:07, schrieb Manfred Schwarb:
>
> Thanks, Joerg!
>
> Am 30.07.2013 13:37, schrieb Joerg Roedel:
>> Hi Manfred,
>>
>> On Wed, Jul 03, 2013 at 10:53:37AM +0200, Manfred Schwarb wrote:
>>>> I will look into the best way to port this to the AMD IOMMU driver. Will
>>>> send you a patch for testing when I have somthing.
>>>>
>>>
>>> Any news on this? Had you time to look at this issue?
>>
>> Can you test the attached patch please? It applies to v3.11-rc3. I
>> compiled and boot-tested it, but I don't have a broken Marvell
>> controller myself, so not sure if the patch works.
>>
>
> I tried this patch with 3.11-rc3 on opensuse 12.1, doing an "make oldconfig"
> and choosing defaults for the new items.
> This linux version seems to have some issues with my somewhat ancient user
> space, boot hangs quite early without any special messages (independent of
> iommu settings). However, in the "failsafe" mode I was able to boot.
>
> When turning on iommu support in BIOS, I got a timeout at fsck/mount time
> for the second disk on the Marvell controller. The first one did work
> straight on. Then I got to the rescue prompt, where I did a "mount -a", and
> hey, also the second disk started working, I could read and write to this
> disk also.
>
> Things seem to work halfway therefore. The timeout for the second attached
> disk is repeatable. When doing the "mount -a", first some kernel boot messages
> appeared, as if this command unblocked some unfinished disk initialization
> or so.
Sorry, I completely goofed my testing, my apology.
I thought both disks I looked at were hanging on the builtin Marvell 88SE9172,
but one disk is attached to a Marvell 88SE9123 PCIe card.
So the picture is much clearer now:
The disk hanging on the Marvell 88SE9123 PCIe card gives without the patch
ata14.00 failed to IDENTIFY(I/O Error, err_mask=0x4)
With the patch, this controller works flawless.
The disk hanging on the built-in Marvell 88SE9172 (soldered on the mainboard)
gives with and without the patch
ata20.00 failed to IDENTIFY(INIT_DEV_PARAMS failed, err_mask=0x80)
So the patch works for my PCIe card, but not for my mainboard controller.
HTH,
Manfred
BTW, I also backported this patch to linux 3.1.10, same result, PCIe card
works, mainboard controller does not.
next prev parent reply other threads:[~2013-08-02 9:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 21:21 AMD IOMMU: Please support Marvell 88SE91xx SATA Controllers Manfred Schwarb
[not found] ` <519A93F0.8070606-OI3hZJvNYWs@public.gmane.org>
2013-05-21 20:35 ` Joerg Roedel
2013-06-24 13:02 ` Christoph Schwerdtfeger
[not found] ` <20130521203526.GE7424-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-07-03 8:53 ` Manfred Schwarb
[not found] ` <51D3E691.8030307-OI3hZJvNYWs@public.gmane.org>
2013-07-30 11:37 ` [PATCH] iommu/amd: Add quirk for broken Marvell 88SE91xx SATA Joerg Roedel
[not found] ` <20130730113659.GJ28811-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-07-31 15:07 ` Manfred Schwarb
[not found] ` <51F92832.2070102-OI3hZJvNYWs@public.gmane.org>
2013-08-02 9:29 ` Manfred Schwarb [this message]
[not found] ` <51FB7C08.40708-OI3hZJvNYWs@public.gmane.org>
2013-08-02 9:43 ` Joerg Roedel
[not found] ` <20130802094326.GM28811-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-08-02 10:19 ` Manfred Schwarb
2013-08-19 9:50 ` Manfred Schwarb
2013-12-05 20:42 ` Thomas Kuther
2013-07-30 11:39 ` AMD IOMMU: Please support Marvell 88SE91xx SATA Controllers Joerg Roedel
[not found] ` <20130730113954.GK28811-zLv9SwRftAIdnm+yROfE0A@public.gmane.org>
2013-07-31 11:07 ` Andrew Cooks
-- strict thread matches above, loose matches on Subject: below --
2014-01-25 4:10 [PATCH] iommu/amd: Add quirk for broken Marvell 88SE91xx SATA Mark Derbyshire
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=51FB7C08.40708@gmx.ch \
--to=manfred99-oi3hzjvnyws@public.gmane.org \
--cc=iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=joro-zLv9SwRftAIdnm+yROfE0A@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.