public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] amd64_edac: fix insmod fail while ecc is enabled
@ 2009-07-27 16:47 wan wei
  2009-07-27 17:01 ` Borislav Petkov
  2009-07-27 18:01 ` Doug Thompson
  0 siblings, 2 replies; 6+ messages in thread
From: wan wei @ 2009-07-27 16:47 UTC (permalink / raw)
  To: dougthompson, borislav.petkov; +Cc: linux-kernel

Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn>

diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c
index 858fe60..95b1096 100644
--- a/drivers/edac/amd64_edac.c
+++ b/drivers/edac/amd64_edac.c
@@ -2979,6 +2979,7 @@ static int amd64_check_ecc_enabled(struct amd64_pvt *pvt)

                /* CLEAR the override, since BIOS controlled it */
                ecc_enable_override = 0;
+               ret = 0;
        }

        return ret;

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
  2009-07-27 16:47 [PATCH] amd64_edac: fix insmod fail while ecc is enabled wan wei
@ 2009-07-27 17:01 ` Borislav Petkov
  2009-07-27 17:04   ` Borislav Petkov
  2009-07-27 18:01 ` Doug Thompson
  1 sibling, 1 reply; 6+ messages in thread
From: Borislav Petkov @ 2009-07-27 17:01 UTC (permalink / raw)
  To: wan wei; +Cc: dougthompson, linux-kernel

On Tue, Jul 28, 2009 at 12:47:33AM +0800, wan wei wrote:
> Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn>

Thanks for that but I have a patch addressing the issue and wanted
to test it a bit in linux-next before sending it to Linus. I'd much
appreciate it if you gave it a try:

http://git.kernel.org/?p=linux/kernel/git/bp/bp.git;a=commit;h=076119c66b80ebc7da2d76c8d414fa9fa0ed577a

Thanks.

-- 
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
  System  | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
 Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
  Center  | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
  (OSRC)  | Registergericht München, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
  2009-07-27 17:01 ` Borislav Petkov
@ 2009-07-27 17:04   ` Borislav Petkov
  0 siblings, 0 replies; 6+ messages in thread
From: Borislav Petkov @ 2009-07-27 17:04 UTC (permalink / raw)
  To: wan wei; +Cc: dougthompson, linux-kernel

On Mon, Jul 27, 2009 at 07:01:48PM +0200, Borislav Petkov wrote:
> On Tue, Jul 28, 2009 at 12:47:33AM +0800, wan wei wrote:
> > Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn>
> 
> Thanks for that but I have a patch addressing the issue and wanted
> to test it a bit in linux-next before sending it to Linus. I'd much
> appreciate it if you gave it a try:

Sorry, I meant

http://git.kernel.org/?p=linux/kernel/git/bp/bp.git;a=commit;h=4ad73bc713339d6c0be7abd9f49f46323ce614b6

-- 
Regards/Gruss,
Boris.

Operating | Advanced Micro Devices GmbH
  System  | Karl-Hammerschmidt-Str. 34, 85609 Dornach b. München, Germany
 Research | Geschäftsführer: Thomas M. McCoy, Giuliano Meroni
  Center  | Sitz: Dornach, Gemeinde Aschheim, Landkreis München
  (OSRC)  | Registergericht München, HRB Nr. 43632


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
  2009-07-27 16:47 [PATCH] amd64_edac: fix insmod fail while ecc is enabled wan wei
  2009-07-27 17:01 ` Borislav Petkov
@ 2009-07-27 18:01 ` Doug Thompson
  2009-07-27 18:43   ` Borislav Petkov
  1 sibling, 1 reply; 6+ messages in thread
From: Doug Thompson @ 2009-07-27 18:01 UTC (permalink / raw)
  To: dougthompson, borislav.petkov, wan wei; +Cc: linux-kernel

Thanks for this. 

It is the same as one I posted last week or so.

Without it, the module fails to initialize and no polling occurs.

Boris,  

In a prior email you indicated that you refactored the function in question. What that in the series of patches you submitted?  I think that set is too big to get in the RC branch.

We need this in 2.6.31 in order for the module to even work.

Shall we push my simple one, or your complete refactor?

doug t


--- On Mon, 7/27/09, wan wei <onewayforever@gmail.com> wrote:

> From: wan wei <onewayforever@gmail.com>
> Subject: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
> To: dougthompson@xmission.com, borislav.petkov@amd.com
> Cc: linux-kernel@vger.kernel.org
> Date: Monday, July 27, 2009, 10:47 AM
> Signed-off-by: Wan Wei<wanwei@mail.dawning.com.cn>
> 
> diff --git a/drivers/edac/amd64_edac.c
> b/drivers/edac/amd64_edac.c
> index 858fe60..95b1096 100644
> --- a/drivers/edac/amd64_edac.c
> +++ b/drivers/edac/amd64_edac.c
> @@ -2979,6 +2979,7 @@ static int
> amd64_check_ecc_enabled(struct amd64_pvt *pvt)
> 
>                 /*
> CLEAR the override, since BIOS controlled it */
>                
> ecc_enable_override = 0;
> +           
>    ret = 0;
>         }
> 
>         return ret;
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
  2009-07-27 18:01 ` Doug Thompson
@ 2009-07-27 18:43   ` Borislav Petkov
  2009-07-27 19:15     ` Doug Thompson
  0 siblings, 1 reply; 6+ messages in thread
From: Borislav Petkov @ 2009-07-27 18:43 UTC (permalink / raw)
  To: Doug Thompson; +Cc: dougthompson, borislav.petkov, wan wei, linux-kernel

Hi,

On Mon, Jul 27, 2009 at 11:01:26AM -0700, Doug Thompson wrote:
> In a prior email you indicated that you refactored the function in
>question. What that in the series of patches you submitted? I think
>that set is too big to get in the RC branch.
>
> We need this in 2.6.31 in order for the module to even work.
>
> Shall we push my simple one, or your complete refactor?

I wanted to give my refactoring patch a little testing in linux-next but
my gut feeling tells me it would be wiser to go with your fix that late
in the cycle and postpone mine for the next kernel. In the meantime,
it'll see more testing in linux-next.

I'll push the two fixes tomorrow if Linus hasn't pulled yet otherwise
I'll have to wait for -rc6 with your patch, but even that'll do.

-- 
Regards/Gruss,
    Boris.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
  2009-07-27 18:43   ` Borislav Petkov
@ 2009-07-27 19:15     ` Doug Thompson
  0 siblings, 0 replies; 6+ messages in thread
From: Doug Thompson @ 2009-07-27 19:15 UTC (permalink / raw)
  To: Borislav Petkov; +Cc: dougthompson, borislav.petkov, wan wei, linux-kernel



--- On Mon, 7/27/09, Borislav Petkov <petkovbb@googlemail.com> wrote:

> From: Borislav Petkov <petkovbb@googlemail.com>
> Subject: Re: [PATCH] amd64_edac: fix insmod fail while ecc is enabled
> To: "Doug Thompson" <norsk5@yahoo.com>
> Cc: dougthompson@xmission.com, borislav.petkov@amd.com, "wan wei" <onewayforever@gmail.com>, linux-kernel@vger.kernel.org
> Date: Monday, July 27, 2009, 12:43 PM
> Hi,
> 
> On Mon, Jul 27, 2009 at 11:01:26AM -0700, Doug Thompson
> wrote:
> > In a prior email you indicated that you refactored the
> function in
> >question. What that in the series of patches you
> submitted? I think
> >that set is too big to get in the RC branch.
> >
> > We need this in 2.6.31 in order for the module to even
> work.
> >
> > Shall we push my simple one, or your complete
> refactor?
> 
> I wanted to give my refactoring patch a little testing in
> linux-next but
> my gut feeling tells me it would be wiser to go with your
> fix that late
> in the cycle and postpone mine for the next kernel. In the
> meantime,
> it'll see more testing in linux-next.
> 
> I'll push the two fixes tomorrow if Linus hasn't pulled yet

great, thanks. Since I am going camping on wednesday until next monday, I am short on access let alone time. If you will handle it, that is wonderful

doug t

> otherwise
> I'll have to wait for -rc6 with your patch, but even
> that'll do.
> 
> -- 
> Regards/Gruss,
>     Boris.
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-07-27 19:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-27 16:47 [PATCH] amd64_edac: fix insmod fail while ecc is enabled wan wei
2009-07-27 17:01 ` Borislav Petkov
2009-07-27 17:04   ` Borislav Petkov
2009-07-27 18:01 ` Doug Thompson
2009-07-27 18:43   ` Borislav Petkov
2009-07-27 19:15     ` Doug Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox