linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Wei Yang <weiyang@linux.vnet.ibm.com>
To: Or Gerlitz <ogerlitz@mellanox.com>
Cc: Wei Yang <weiyang@linux.vnet.ibm.com>,
	Jack Morgenstein <jackm@dev.mellanox.co.il>,
	Gavin Shan <shangw@linux.vnet.ibm.com>,
	Benjamin Herrenschmidt <benh@au1.ibm.com>,
	yinghai@kernel.org, bhelgaas@google.com, amirv@mellanox.com,
	Guo Chao <yan@linux.vnet.ibm.com>,
	linux-pci@vger.kernel.org
Subject: Re: mlx4_core probe error after applying Yinghai's patch
Date: Thu, 30 Jan 2014 15:08:50 +0800	[thread overview]
Message-ID: <20140130070850.GA24083@richard> (raw)
In-Reply-To: <52E8C0D6.3030105@mellanox.com>

On Wed, Jan 29, 2014 at 10:50:30AM +0200, Or Gerlitz wrote:
>On 16/01/2014 04:14, Wei Yang wrote:
>>>>>+static void mlx4_shutdown(struct pci_dev *pdev)
>>>>>+{
>>>>>+       mlx4_remove_one(pdev);
>>>>>+}
>>>>>+
>>>>>  int mlx4_restart_one(struct pci_dev *pdev)
>>>>>  {
>>>>>         struct mlx4_dev  *dev  = pci_get_drvdata(pdev);
>>>>>@@ -2582,6 +2590,7 @@ static struct pci_driver mlx4_driver = {
>>>>>         .id_table       = mlx4_pci_table,
>>>>>         .probe          = mlx4_init_one,
>>>>>         .remove         = mlx4_remove_one,
>>>>>+       .shutdown       = mlx4_shutdown,
>>>>>         .err_handler    = &mlx4_err_handler,
>>>>>  };
>>>>>
>>>>>Thanks,
>>>>>Gavin
>
>Guys,
>
>Did you converge here?  I don't see this patch in Linus tree, so
>wasn't sure where the discussion went eventually.

Or,

Even this patch really could make the machine boot up, we didn't find the root 
cause of the failure as mentioned in the first mail. I will find some time to
dig into it if I have more time and will send you update if I find it.

For this patch, we(Gavin and I) don't think it is a formal patch. We send it
here just let you know we find a work around and this one really helps. As I
mentioned in the previous mail, we suggest you guys to create a formal patch
with this function, since you are more familiar with this device and the
driver.

If you think it would be nice for a patch from us, I am very glad to do
this.:-)

>
>Or.
>
>Or.

-- 
Richard Yang
Help you, Help me


  reply	other threads:[~2014-01-30  7:09 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14  6:22 mlx4_core probe error after applying Yinghai's patch Wei Yang
2014-01-14  7:55 ` Or Gerlitz
2014-01-14  8:27   ` Wei Yang
2014-01-14  8:39     ` Or Gerlitz
2014-01-14  8:52       ` Wei Yang
2014-01-14  8:50 ` Jack Morgenstein
2014-01-14  9:15   ` Wei Yang
2014-01-14 10:25     ` Jack Morgenstein
2014-01-14 11:19       ` Guo Chao
     [not found]       ` <52d51b4c.c413ec0a.290f.03c3SMTPIN_ADDED_BROKEN@mx.google.com>
2014-01-14 11:21         ` Jack Morgenstein
     [not found]   ` <20140114103712.GD27684@richard>
     [not found]     ` <20140114132340.50df7d6f@jpm-OptiPlex-GX620>
     [not found]       ` <52d52032.4981e00a.3dcc.ffff81fdSMTPIN_ADDED_BROKEN@mx.google.com>
     [not found]         ` <20140115094113.64ca756e@jpm-OptiPlex-GX620>
     [not found]           ` <1389772791.6933.84.camel@pasglop>
     [not found]             ` <52d653d3.8425e00a.76d0.1e60SMTPIN_ADDED_BROKEN@mx.google.com>
     [not found]               ` <20140115160204.24a44af0@jpm-OptiPlex-GX620>
     [not found]                 ` <20140116020946.GA8702@richard>
     [not found]                   ` <20140116021429.GB8702@richard>
2014-01-29  8:50                     ` Or Gerlitz
2014-01-30  7:08                       ` Wei Yang [this message]
2014-01-30  8:09                         ` Or Gerlitz
2014-01-14  8:54 ` Jack Morgenstein
2014-01-14  9:16   ` Wei Yang

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=20140130070850.GA24083@richard \
    --to=weiyang@linux.vnet.ibm.com \
    --cc=amirv@mellanox.com \
    --cc=benh@au1.ibm.com \
    --cc=bhelgaas@google.com \
    --cc=jackm@dev.mellanox.co.il \
    --cc=linux-pci@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=shangw@linux.vnet.ibm.com \
    --cc=yan@linux.vnet.ibm.com \
    --cc=yinghai@kernel.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 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).