* Re: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
@ 2015-02-02 15:17 Bryan O'Donoghue
2015-02-02 15:46 ` Andy Shevchenko
0 siblings, 1 reply; 5+ messages in thread
From: Bryan O'Donoghue @ 2015-02-02 15:17 UTC (permalink / raw)
To: netdev, Kweh, Hock Leong, Andy Shevchenko, davem, Ahmad, Josef
Hi guys.
Has the issue with PVM masking been addressed ?
https://lkml.org/lkml/2014/10/1/221
If not then please drop MSIs from this patchset.
--
Bryan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
2015-02-02 15:17 [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000 Bryan O'Donoghue
@ 2015-02-02 15:46 ` Andy Shevchenko
2015-02-02 15:50 ` Bryan O'Donoghue
0 siblings, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2015-02-02 15:46 UTC (permalink / raw)
To: Bryan O'Donoghue; +Cc: netdev, Kweh, Hock Leong, davem, Ahmad, Josef
On Mon, 2015-02-02 at 15:17 +0000, Bryan O'Donoghue wrote:
> Hi guys.
>
> Has the issue with PVM masking been addressed ?
>
> https://lkml.org/lkml/2014/10/1/221
>
> If not then please drop MSIs from this patchset.
I do not see the reason why it should be done on per driver basis.
Care to fix this under arch/x86 then when adding new Quark platform?
--
Andy Shevchenko <andriy.shevchenko@intel.com>
Intel Finland Oy
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
2015-02-02 15:46 ` Andy Shevchenko
@ 2015-02-02 15:50 ` Bryan O'Donoghue
2015-02-04 3:49 ` Kweh, Hock Leong
0 siblings, 1 reply; 5+ messages in thread
From: Bryan O'Donoghue @ 2015-02-02 15:50 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: netdev, Kweh, Hock Leong, davem, Ahmad, Josef
On 02/02/15 15:46, Andy Shevchenko wrote:
> On Mon, 2015-02-02 at 15:17 +0000, Bryan O'Donoghue wrote:
>> Hi guys.
>>
>> Has the issue with PVM masking been addressed ?
>>
>> https://lkml.org/lkml/2014/10/1/221
>>
>> If not then please drop MSIs from this patchset.
>
> I do not see the reason why it should be done on per driver basis.
Agree.
> Care to fix this under arch/x86 then when adding new Quark platform?
Looking into that now.
Hmm - OK -let's aim to get a fix in for the bridge and leave the MSI
enable in place.
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
2015-02-02 15:50 ` Bryan O'Donoghue
@ 2015-02-04 3:49 ` Kweh, Hock Leong
0 siblings, 0 replies; 5+ messages in thread
From: Kweh, Hock Leong @ 2015-02-04 3:49 UTC (permalink / raw)
To: Bryan O'Donoghue, Andy Shevchenko
Cc: netdev@vger.kernel.org, davem@davemloft.net, Ahmad, Josef,
Ong, Boon Leong
> -----Original Message-----
> From: Bryan O'Donoghue [mailto:pure.logic@nexus-software.ie]
> Sent: Monday, February 02, 2015 11:50 PM
> To: Andy Shevchenko
> Cc: netdev@vger.kernel.org; Kweh, Hock Leong; davem@davemloft.net;
> Ahmad, Josef
> Subject: Re: [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark
> X1000
>
> On 02/02/15 15:46, Andy Shevchenko wrote:
> > On Mon, 2015-02-02 at 15:17 +0000, Bryan O'Donoghue wrote:
> > > Hi guys.
> > >
> > > Has the issue with PVM masking been addressed ?
> > >
> > > https://lkml.org/lkml/2014/10/1/221
> > >
> > > If not then please drop MSIs from this patchset.
> >
> > I do not see the reason why it should be done on per driver basis.
>
> Agree.
>
> > Care to fix this under arch/x86 then when adding new Quark platform?
>
> Looking into that now.
>
> Hmm - OK -let's aim to get a fix in for the bridge and leave the MSI enable in
> place.
>
I am also agreeing on that. Thanks.
Regards,
Wilson
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 0/3] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support
@ 2015-01-27 19:44 Andy Shevchenko
2015-01-27 19:44 ` [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000 Andy Shevchenko
0 siblings, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2015-01-27 19:44 UTC (permalink / raw)
To: Giuseppe Cavallaro, netdev, David S . Miller; +Cc: Andy Shevchenko
This is third version of the patch series [1] to bring network card support to
Intel Quark SoC.
The series has been tested on Intel Galileo board.
Changelog v3:
- rebase on top of recent net-next
- rework an approach to get the custom configuration
- rework an approach how to get unique bus_id
- improve DMI lookup function
[1] http://www.spinics.net/lists/netdev/msg296010.html
Andy Shevchenko (1):
stmmac: pci: introduce Intel Quark X1000 runtime detection
Kweh, Hock Leong (2):
stmmac: pci: add support for Intel Quark X1000
stmmac: pci: add MSI support for Intel Quark X1000
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 113 ++++++++++++++++++++++-
1 file changed, 112 insertions(+), 1 deletion(-)
--
2.1.4
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000
2015-01-27 19:44 [PATCH v3 0/3] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support Andy Shevchenko
@ 2015-01-27 19:44 ` Andy Shevchenko
0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2015-01-27 19:44 UTC (permalink / raw)
To: Giuseppe Cavallaro, netdev, David S . Miller
Cc: Kweh, Hock Leong, Andy Shevchenko
From: "Kweh, Hock Leong" <hock.leong.kweh@intel.com>
In Intel Quark SoC X1000, both of the Ethernet controllers support
MSI interrupt handling. This patch enables them to use MSI interrupt
servicing in stmmac_pci for Intel Quark X1000.
Signed-off-by: Kweh, Hock Leong <hock.leong.kweh@intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
index 50f3c50..3bca908 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c
@@ -212,6 +212,8 @@ static int stmmac_pci_probe(struct pci_dev *pdev,
} else
stmmac_default_data(plat);
+ pci_enable_msi(pdev);
+
priv = stmmac_dvr_probe(&pdev->dev, plat, pcim_iomap_table(pdev)[i]);
if (IS_ERR(priv)) {
dev_err(&pdev->dev, "%s: main driver probe failed\n", __func__);
--
2.1.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-02-04 3:49 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-02 15:17 [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000 Bryan O'Donoghue
2015-02-02 15:46 ` Andy Shevchenko
2015-02-02 15:50 ` Bryan O'Donoghue
2015-02-04 3:49 ` Kweh, Hock Leong
-- strict thread matches above, loose matches on Subject: below --
2015-01-27 19:44 [PATCH v3 0/3] net: stmmac: Enable Intel Quark SoC X1000 Ethernet support Andy Shevchenko
2015-01-27 19:44 ` [PATCH v3 3/3] stmmac: pci: add MSI support for Intel Quark X1000 Andy Shevchenko
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.