public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: Jens Osterkamp <jens@linux.vnet.ibm.com>
Cc: Doug Thompson <dougthompson@xmission.com>,
	bluesmoke-devel@lists.sourceforge.net, cbe-oss-dev@ozlabs.org,
	arnd@arndb.de, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] edac/cell: enable polling mode
Date: Wed, 22 Oct 2008 07:58:54 +1100	[thread overview]
Message-ID: <1224622734.7654.273.camel@pasglop> (raw)
In-Reply-To: <200810211607.22600.jens@linux.vnet.ibm.com>

On Tue, 2008-10-21 at 16:07 +0200, Jens Osterkamp wrote:
> From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> 
> The edac driver on cell turned out to be not enabled because of a missing op_state.
> This patch introduces it. Verified to work on top of Bens next branch.
> 
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
> Signed-off-by: Jens Osterkamp <jens@linux.vnet.ibm.com>

Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> ---
> 
> Ben, can you please confirm this is the patch you wanted to send upstream ?

Yes.

> Index: linux-2.6/drivers/edac/cell_edac.c
> ===================================================================
> --- linux-2.6.orig/drivers/edac/cell_edac.c
> +++ linux-2.6/drivers/edac/cell_edac.c
> @@ -9,6 +9,7 @@
>   */
>  #undef DEBUG
>  
> +#include <linux/edac.h>
>  #include <linux/module.h>
>  #include <linux/init.h>
>  #include <linux/platform_device.h>
> @@ -164,6 +165,8 @@ static int __devinit cell_edac_probe(str
>  	if (regs == NULL)
>  		return -ENODEV;
>  
> +	edac_op_state = EDAC_OPSTATE_POLL;
> +
>  	/* Get channel population */
>  	reg = in_be64(&regs->mic_mnt_cfg);
>  	dev_dbg(&pdev->dev, "MIC_MNT_CFG = 0x%016lx\n", reg);
> ---
> 
> Gruß,
> 
> Jens
> 
> IBM Deutschland Entwicklung GmbH
> Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Erich Baier 
> Sitz der Gesellschaft: Böblingen
> Registergericht: Amtsgericht Stuttgart, HRB 243294


      reply	other threads:[~2008-10-21 20:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21 14:07 [PATCH] edac/cell: enable polling mode Jens Osterkamp
2008-10-21 20:58 ` Benjamin Herrenschmidt [this message]

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=1224622734.7654.273.camel@pasglop \
    --to=benh@kernel.crashing.org \
    --cc=arnd@arndb.de \
    --cc=bluesmoke-devel@lists.sourceforge.net \
    --cc=cbe-oss-dev@ozlabs.org \
    --cc=dougthompson@xmission.com \
    --cc=jens@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.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