All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@calxeda.com>
To: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Cc: Stefano Stabellini <stefano.stabellini@citrix.com>,
	"xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
	"xen.org" <ian.jackson@eu.citrix.com>,
	Ian Campbell <Ian.Campbell@citrix.com>
Subject: Re: Xen osstest on Calxeda midway progress (Was: Re: [xen-unstable test] 21486: tolerable FAIL - PUSHED)
Date: Wed, 06 Nov 2013 20:57:20 +0100	[thread overview]
Message-ID: <527A9F20.5060601@calxeda.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1311061938080.26077@kaball.uk.xensource.com>

On 11/06/2013 08:40 PM, Stefano Stabellini wrote:
> On Wed, 6 Nov 2013, Ian Campbell wrote:
>> On Wed, 2013-11-06 at 11:14 +0000, Stefano Stabellini wrote:
>>> On Wed, 6 Nov 2013, Ian Campbell wrote:
>>>> On Wed, 2013-11-06 at 06:52 +0000, xen.org wrote:
>>>>
>>>>> flight 21486 xen-unstable real [real]
>>>>> http://www.chiark.greenend.org.uk/~xensrcts/logs/21486/
>>>> [...]
>>>>>   test-armhf-armhf-xl           5 xen-boot                     fail   never pass
>>>>
>>>> Switching the ARM tests over to Linux 3.12 means we now get much further
>>>> and run into:
>>>>
>>>> (from http://www.chiark.greenend.org.uk/~xensrcts/logs/21486/test-armhf-armhf-xl/serial-marilith-n5.txt)
>>>>
>>>>> [Wed Nov  6 02:34:54 2013][    1.136164] sata_highbank gpio_request 0 failed: -517
>>>>> [Wed Nov  6 02:34:54 2013][    1.140696] highbank-ahci ffe08000.sata: AHCI 0001.0300 32 slots 5 ports 3 Gbps 0x1f impl platform mode
>>>>> [Wed Nov  6 02:34:54 2013][    1.149152] highbank-ahci ffe08000.sata: flags: 64bit ncq sntf stag pm led clo only pmp pio slum part ccc apst
>>>>> [Wed Nov  6 02:34:54 2013][    1.159435] scsi0 : sata_highbank
>>>>> [Wed Nov  6 02:34:54 2013][    1.162451] scsi1 : sata_highbank
>>>>> [Wed Nov  6 02:34:54 2013][    1.165490] scsi2 : sata_highbank
>>>>> [Wed Nov  6 02:34:54 2013][    1.168516] scsi3 : sata_highbank
>>>>> [Wed Nov  6 02:34:54 2013][    1.171566] scsi4 : sata_highbank
>>>>> [Wed Nov  6 02:34:54 2013][    1.174606] ata1: SATA max UDMA/133 mmio [mem 0xffe08000-0xffe17fff] port 0x100 irq 115
>>>>> [Wed Nov  6 02:34:54 2013][    1.181779] ata2: SATA max UDMA/133 mmio [mem 0xffe08000-0xffe17fff] port 0x180 irq 115
>>>>> [Wed Nov  6 02:34:54 2013][    1.189060] ata3: SATA max UDMA/133 mmio [mem 0xffe08000-0xffe17fff] port 0x200 irq 115
>>>>> [Wed Nov  6 02:34:54 2013][    1.196323] ata4: SATA max UDMA/133 mmio [mem 0xffe08000-0xffe17fff] port 0x280 irq 115
>>>> [...]
>>>>> [Wed Nov  6 02:34:54 2013][    1.203581] ata5: SATA max UDMA/133 mmio [mem 0xffe08000-0xffe17fff] port 0x300 irq 115
>>>>> [Wed Nov  6 02:35:04 2013][   10.353721] ata1: softreset failed (1st FIS failed)
>>>>> [Wed Nov  6 02:35:14 2013][   19.362722] ata1: softreset failed (1st FIS failed)
>>>>> [Wed Nov  6 02:35:49 2013][   50.871721] ata1: softreset failed (1st FIS failed)
>>>>> [Wed Nov  6 02:35:49 2013][   50.876019] ata1: limiting SATA link speed to 1.5 Gbps
>>>>> [Wed Nov  6 02:35:54 2013][   55.389720] ata1: softreset failed (1st FIS failed)
>>>>> [Wed Nov  6 02:35:54 2013][   55.394018] ata1: reset failed, giving up
>>>>> [Wed Nov  6 02:35:55 2013][   55.704724] ata2: SATA link down (SStatus 0 SControl 300)
>>>>> [Wed Nov  6 02:35:55 2013][   56.019724] ata3: SATA link down (SStatus 0 SControl 300)
>>>>> [Wed Nov  6 02:35:55 2013][   56.334723] ata4: SATA link down (SStatus 0 SControl 300)
>>>>> [Wed Nov  6 02:35:56 2013][   56.649722] ata5: SATA link down (SStatus 0 SControl 300)
>>>> [...]
>>>>> [Wed Nov  6 02:35:56 2013]Begin: Mounting root file system ... Begin: Running /scripts/local-top ...   Volume group "marilith-n5" not found
>>>> ... fail to find root.
>>>>
>>>> Has anyone seen this before, is it a known 3.12 on Midway issue perhaps?
>>>>
>>>> I think the failure is too soon to be related a lack of swiotlb?
>>>
>>> No, I think it's probably it.
>>
>> OK.
>>
>>>> But maybe we should enable the 1:1 workaround for Midway for now anyway?
>>>
>>> We definitely need one or the other.
>>
>> Ack.
>>
>>>> Or perhaps we should make it the default in the absence of SMMU?
>>>> Stefano, how did you end up coordinating this stuff with the dom0 kernel
>>>> side of things?
>>>
>>> I am assuming the presence of the 1:1 mapping and then only dealing with
>>> foreign grants in Linux. So yes, I think that we should just make the
>>> 1:1 workaround the default until we get SMMU support.
>>
>> Do you have a patch to that affect?
>
> Just sent. I have more patches in my queue, most of them by Julien and
> Andre and might need to be reworked. In particular the patch to
> introduce SMP support.

Yes, Julien and I agreed last week that he will send the remaining fixes 
out ASAP.
So beside that one above (thanks for sending, Stefano!), we have the SMP 
patch, Julien's "Dom0 interrupt" series and some minor things. Should be 
all in Julien's tree on xenbits.

Regards,
Andre.

>> BTW, at one point we discussed relaxing the 1:1 mapping into just a
>> contiguous mapping and publishing the offset to the guest, whatever
>> became of that idea?
>>
>> Julien solved his issue on Arndale by allocating the 1:1 from as close
>> to the start of physical RAM as he could, but having an offset would be
>> more elegant and less prone to spurious breakage I think.
>
> I take that by "and publishing the offset to the guest" you mean
> adjusting the start of the memory region in the device tree?
>

  reply	other threads:[~2013-11-06 19:57 UTC|newest]

Thread overview: 62+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  6:52 [xen-unstable test] 21486: tolerable FAIL - PUSHED xen.org
2013-11-06  9:52 ` Xen osstest on Calxeda midway progress (Was: Re: [xen-unstable test] 21486: tolerable FAIL - PUSHED) Ian Campbell
2013-11-06 11:14   ` Stefano Stabellini
2013-11-06 11:19     ` Ian Campbell
2013-11-06 19:40       ` Stefano Stabellini
2013-11-06 19:57         ` Andre Przywara [this message]
2013-11-07 11:14         ` Ian Campbell
2013-11-11 18:42           ` Stefano Stabellini
2013-11-12  9:53             ` Ian Campbell
2013-11-12 12:25               ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: Re: [Xen-devel] [xen-unstable test] 21486: tolerable FAIL - PUSHED)) Stefano Stabellini
2013-11-12 12:25                 ` Stefano Stabellini
2013-11-12 13:20                 ` Russell King - ARM Linux
2013-11-12 13:20                   ` Russell King - ARM Linux
2013-11-12 14:38                   ` Ian Campbell
2013-11-12 14:38                     ` Ian Campbell
2013-11-12 14:44                     ` Russell King - ARM Linux
2013-11-12 14:44                       ` Russell King - ARM Linux
2013-11-12 14:52                       ` Ian Campbell
2013-11-12 14:52                         ` Ian Campbell
2013-11-12 15:24                   ` Michal Simek
2013-11-12 15:24                     ` Michal Simek
2013-11-12 15:39                     ` Russell King - ARM Linux
2013-11-12 15:39                       ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: " Russell King - ARM Linux
2013-11-12 15:40                       ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: Re: [Xen-devel] " Michal Simek
2013-11-12 15:40                         ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: " Michal Simek
2013-11-12 13:37                 ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: Re: [Xen-devel] " Arnd Bergmann
2013-11-12 13:37                   ` Arnd Bergmann
2013-11-12 14:35                   ` Julien Grall
2013-11-12 14:35                     ` Julien Grall
2013-11-12 14:40                     ` Ian Campbell
2013-11-12 14:40                       ` Ian Campbell
2013-11-12 18:39                       ` Arnd Bergmann
2013-11-12 18:39                         ` Arnd Bergmann
2013-11-12 18:47                         ` Stefano Stabellini
2013-11-12 18:47                           ` Stefano Stabellini
2013-11-12 20:08                           ` Arnd Bergmann
2013-11-12 20:08                             ` Arnd Bergmann
2013-11-13 10:50                             ` Ian Campbell
2013-11-13 10:50                               ` Ian Campbell
2013-11-13 17:33                               ` Stefano Stabellini
2013-11-13 17:33                                 ` Stefano Stabellini
2013-11-13 19:42                                 ` Arnd Bergmann
2013-11-13 19:42                                   ` Arnd Bergmann
2013-11-14 15:24                                   ` Stefano Stabellini
2013-11-14 15:24                                     ` Stefano Stabellini
2013-11-12 14:41                     ` Russell King - ARM Linux
2013-11-12 14:41                       ` Russell King - ARM Linux
2013-11-12 14:52                       ` [Xen-devel] Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: " Julien Grall
2013-11-12 14:52                         ` Julien Grall
2013-11-12 14:57                         ` Ian Campbell
2013-11-12 14:57                           ` Ian Campbell
2013-11-12 15:24                           ` Julien Grall
2013-11-12 15:24                             ` Julien Grall
2013-11-12 15:32                             ` Ian Campbell
2013-11-12 15:32                               ` Ian Campbell
2013-11-13 12:57                               ` Julien Grall
2013-11-13 12:57                                 ` Julien Grall
2013-11-12 15:00                   ` Physical memory start contraints in the Linux kernel (Was: Re: Xen osstest on Calxeda midway progress (Was: Re: [Xen-devel] " Stefano Stabellini
2013-11-12 15:00                     ` Stefano Stabellini
2013-11-12 15:16                     ` Russell King - ARM Linux
2013-11-12 15:16                       ` Russell King - ARM Linux
2013-11-12 13:58   ` Xen osstest on Calxeda midway progress (Was: Re: [xen-unstable test] 21486: tolerable FAIL - PUSHED) Julien Grall

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=527A9F20.5060601@calxeda.com \
    --to=andre.przywara@calxeda.com \
    --cc=Ian.Campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=stefano.stabellini@citrix.com \
    --cc=stefano.stabellini@eu.citrix.com \
    --cc=xen-devel@lists.xensource.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 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.