All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kishon Vijay Abraham I <kishon@ti.com>
To: Gabriele Paoloni <gabriele.paoloni@huawei.com>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linux-omap@vger.kernel.org" <linux-omap@vger.kernel.org>,
	"james.morse@arm.com" <james.morse@arm.com>,
	"gabriel.fernandez@st.com" <gabriel.fernandez@st.com>,
	"Minghuan.Lian@freescale.com" <Minghuan.Lian@freescale.com>,
	"Wangzhou (B)" <wangzhou1@hisilicon.com>,
	"arnd@arndb.de" <arnd@arndb.de>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"pratyush.anand@gmail.com" <pratyush.anand@gmail.com>,
	"Nori, Sekhar" <nsekhar@ti.com>,
	"jingoohan1@gmail.com" <jingoohan1@gmail.com>,
	"linux-arm-kernel@lists.infradead.org"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: PCIe regression with DRA7xx in 4.4-rc1
Date: Tue, 24 Nov 2015 17:48:28 +0530	[thread overview]
Message-ID: <56545594.9070100@ti.com> (raw)
In-Reply-To: <EE11001F9E5DDD47B7634E2F8A612F2E162C92FB@lhreml503-mbs>

Hi,

On Tuesday 24 November 2015 05:38 PM, Gabriele Paoloni wrote:
> Hi Kishon
> 
>> -----Original Message-----
>> From: Kishon Vijay Abraham I [mailto:kishon@ti.com]
>> Sent: 24 November 2015 12:01
>> To: linux-pci@vger.kernel.org; linux-kernel@vger.kernel.org; linux-
>> omap@vger.kernel.org; james.morse@arm.com; gabriel.fernandez@st.com;
>> Minghuan.Lian@freescale.com; Wangzhou (B); Gabriele Paoloni; arnd@arndb.de;
>> bhelgaas@google.com; pratyush.anand@gmail.com; Nori, Sekhar;
>> jingoohan1@gmail.com; linux-arm-kernel@lists.infradead.org
>> Subject: PCIe regression with DRA7xx in 4.4-rc1
>>
>> Hi,
>>
>> I'm seeing a regression with <d1b9cf31252e905ad563b9e863fd4470f6c3dd1c>("PCI:
>> designware: Make driver arch-agnostic").
>>
>> Logs using a SATA PCIe card [1]. The PCIe card enumerates fine but after that
>> I
>> observe "ata3.00: qc timeout (cmd 0xec), ata3.00: failed to IDENTIFY (I/O
>> error, err_mask=0x4)"
>>
> 
> May this be related to the bug flagged in:
> 
> [PATCH] PCI: designware: remove wrong io_base assignment
> 
> [...]
> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
> index 540f077c37ea..02a7452bdf23 100644
> --- a/drivers/pci/host/pcie-designware.c
> +++ b/drivers/pci/host/pcie-designware.c
> @@ -440,7 +440,6 @@ int dw_pcie_host_init(struct pcie_port *pp)
>  					 ret, pp->io);
>  				continue;
>  			}
> -			pp->io_base = pp->io->start;
>  			break;
>  		case IORESOURCE_MEM:
>  			pp->mem = win->res;
> 


yes, this indeed solved the bug.

Thanks
Kishon

WARNING: multiple messages have this Message-ID (diff)
From: kishon@ti.com (Kishon Vijay Abraham I)
To: linux-arm-kernel@lists.infradead.org
Subject: PCIe regression with DRA7xx in 4.4-rc1
Date: Tue, 24 Nov 2015 17:48:28 +0530	[thread overview]
Message-ID: <56545594.9070100@ti.com> (raw)
In-Reply-To: <EE11001F9E5DDD47B7634E2F8A612F2E162C92FB@lhreml503-mbs>

Hi,

On Tuesday 24 November 2015 05:38 PM, Gabriele Paoloni wrote:
> Hi Kishon
> 
>> -----Original Message-----
>> From: Kishon Vijay Abraham I [mailto:kishon at ti.com]
>> Sent: 24 November 2015 12:01
>> To: linux-pci at vger.kernel.org; linux-kernel at vger.kernel.org; linux-
>> omap at vger.kernel.org; james.morse at arm.com; gabriel.fernandez at st.com;
>> Minghuan.Lian at freescale.com; Wangzhou (B); Gabriele Paoloni; arnd at arndb.de;
>> bhelgaas at google.com; pratyush.anand at gmail.com; Nori, Sekhar;
>> jingoohan1 at gmail.com; linux-arm-kernel at lists.infradead.org
>> Subject: PCIe regression with DRA7xx in 4.4-rc1
>>
>> Hi,
>>
>> I'm seeing a regression with <d1b9cf31252e905ad563b9e863fd4470f6c3dd1c>("PCI:
>> designware: Make driver arch-agnostic").
>>
>> Logs using a SATA PCIe card [1]. The PCIe card enumerates fine but after that
>> I
>> observe "ata3.00: qc timeout (cmd 0xec), ata3.00: failed to IDENTIFY (I/O
>> error, err_mask=0x4)"
>>
> 
> May this be related to the bug flagged in:
> 
> [PATCH] PCI: designware: remove wrong io_base assignment
> 
> [...]
> diff --git a/drivers/pci/host/pcie-designware.c b/drivers/pci/host/pcie-designware.c
> index 540f077c37ea..02a7452bdf23 100644
> --- a/drivers/pci/host/pcie-designware.c
> +++ b/drivers/pci/host/pcie-designware.c
> @@ -440,7 +440,6 @@ int dw_pcie_host_init(struct pcie_port *pp)
>  					 ret, pp->io);
>  				continue;
>  			}
> -			pp->io_base = pp->io->start;
>  			break;
>  		case IORESOURCE_MEM:
>  			pp->mem = win->res;
> 


yes, this indeed solved the bug.

Thanks
Kishon

  reply	other threads:[~2015-11-24 12:18 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-24 12:01 PCIe regression with DRA7xx in 4.4-rc1 Kishon Vijay Abraham I
2015-11-24 12:01 ` Kishon Vijay Abraham I
2015-11-24 12:01 ` Kishon Vijay Abraham I
2015-11-24 12:08 ` Gabriele Paoloni
2015-11-24 12:08   ` Gabriele Paoloni
2015-11-24 12:08   ` Gabriele Paoloni
2015-11-24 12:08   ` Gabriele Paoloni
2015-11-24 12:18   ` Kishon Vijay Abraham I [this message]
2015-11-24 12:18     ` Kishon Vijay Abraham I
2015-11-24 12:14 ` Jisheng Zhang
2015-11-24 12:14   ` Jisheng Zhang
2015-11-24 12:14   ` Jisheng Zhang
2015-11-24 12:59   ` Kishon Vijay Abraham I
2015-11-24 12:59     ` Kishon Vijay Abraham I
2015-11-24 12:59     ` Kishon Vijay Abraham I

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=56545594.9070100@ti.com \
    --to=kishon@ti.com \
    --cc=Minghuan.Lian@freescale.com \
    --cc=arnd@arndb.de \
    --cc=bhelgaas@google.com \
    --cc=gabriel.fernandez@st.com \
    --cc=gabriele.paoloni@huawei.com \
    --cc=james.morse@arm.com \
    --cc=jingoohan1@gmail.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=nsekhar@ti.com \
    --cc=pratyush.anand@gmail.com \
    --cc=wangzhou1@hisilicon.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.