/[linux-patches]/genpatches-2.6/trunk/2.6.12-pre/1350_sparc-sparc64-smp.patch
Gentoo

Contents of /genpatches-2.6/trunk/2.6.12-pre/1350_sparc-sparc64-smp.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4 - (show annotations) (download) (as text)
Sat Jun 11 23:20:41 2005 UTC (15 years, 5 months ago) by dsd
File MIME type: text/x-diff
File size: 3236 byte(s)
Create 2.6.12 branch
1 From sparclinux-owner@vger.kernel.org Tue May 3 17:17:19 2005
2 Return-Path: <sparclinux-owner@vger.kernel.org>
3 X-Original-To: jeremy@localhost
4 Delivered-To: jeremy@localhost.outersquare.org
5 Received: from localhost (localhost [127.0.0.1]) by cid.outersquare.org
6 (Postfix) with ESMTP id 77758280B9 for <jeremy@localhost>; Tue, 3 May 2005
7 17:17:19 -0700 (PDT)
8 Envelope-to: eradicator@gentoo.org
9 Delivery-date: Wed, 04 May 2005 00:16:16 +0000
10 Received: from dev.gentoo.org [134.68.220.30] by localhost with IMAP
11 (fetchmail-6.2.5) for jeremy@localhost (single-drop); Tue, 03 May 2005
12 17:17:19 -0700 (PDT)
13 Received: from vger.kernel.org ([12.107.209.244]) by smtp.gentoo.org with
14 esmtp (Exim 4.43) id 1DT7Ym-0001eg-Id; Wed, 04 May 2005 00:16:16 +0000
15 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id
16 S261941AbVEDAQO (ORCPT <rfc822;geoman@gentoo.org> + 4 others); Tue, 3 May
17 2005 20:16:14 -0400
18 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261943AbVEDAQO
19 (ORCPT <rfc822;sparclinux-outgoing>); Tue, 3 May 2005 20:16:14 -0400
20 Received: from dsl027-180-174.sfo1.dsl.speakeasy.net ([216.27.180.174]:8598
21 "EHLO cheetah.davemloft.net") by vger.kernel.org with ESMTP id
22 S261941AbVEDAQM (ORCPT <rfc822;sparclinux@vger.kernel.org>); Tue, 3 May
23 2005 20:16:12 -0400
24 Received: from localhost ([127.0.0.1] helo=cheetah.davemloft.net
25 ident=davem) by cheetah.davemloft.net with smtp (Exim 3.36 #1 (Debian)) id
26 1DT7O1-0003u7-00; Tue, 03 May 2005 17:05:09 -0700
27 Date: Tue, 3 May 2005 17:05:09 -0700
28 From: "David S. Miller" <davem@davemloft.net>
29 To: sparclinux@vger.kernel.org
30 Cc: debian-sparc@lists.debian.org, gentoo-sparc@lists.gentoo.org
31 Subject: [PATCH] 2.6.x SMP UltraSPARC instability
32 Message-Id: <20050503170509.5fa93b26.davem@davemloft.net>
33 X-Mailer: Sylpheed version 1.0.4 (GTK+ 1.2.10; sparc-unknown-linux-gnu)
34 X-Face:
35 "_;p5u5aPsO,_Vsx"^v-pEq09'CU4&Dc1$fQExov$62l60cgCc%FnIwD=.UF^a>?5'9Kn[;433QFVV9M..2eN.@4ZWPGbdi<=?[:T>y?SD(R*-3It"Vj:)"dP
36 Mime-Version: 1.0
37 Content-Type: text/plain; charset=US-ASCII
38 Sender: sparclinux-owner@vger.kernel.org
39 Precedence: bulk
40 X-Mailing-List: sparclinux@vger.kernel.org
41 X-VirusScan: Clean
42 X-Spam-Checker-Version: SpamAssassin 3.0.2-gr1 (2004-11-16) on
43 cid.outersquare.org
44 X-Spam-Level:
45 X-Spam-Status: No, score=-2.6 required=6.4 tests=AWL,BAYES_00 autolearn=ham
46 version=3.0.2-gr1
47 X-Evolution-Source: imap://jeremy@cid.outersquare.org/
48 Content-Transfer-Encoding: 8bit
49
50
51 Can folks seeing problems on SMP sparc64 boxes with 2.6.x
52 give this patch a try?
53
54 --- 1/arch/sparc64/kernel/irq.c.~1~ 2005-04-29 05:51:44.000000000 -0700
55 +++ 2/arch/sparc64/kernel/irq.c 2005-04-29 05:52:10.000000000 -0700
56 @@ -756,7 +756,7 @@
57 clear_softint(clr_mask);
58 }
59 #else
60 - int should_forward = 1;
61 + int should_forward = 0;
62
63 clear_softint(1 << irq);
64 #endif
65 @@ -1007,10 +1007,10 @@
66 }
67 upa_writel(tid | IMAP_VALID, imap);
68
69 - while (!cpu_online(goal_cpu)) {
70 + do {
71 if (++goal_cpu >= NR_CPUS)
72 goal_cpu = 0;
73 - }
74 + } while (!cpu_online(goal_cpu));
75
76 return goal_cpu;
77 }
78 -
79 To unsubscribe from this list: send the line "unsubscribe sparclinux" in
80 the body of a message to majordomo@vger.kernel.org
81 More majordomo info at http://vger.kernel.org/majordomo-info.html
82

  ViewVC Help
Powered by ViewVC 1.1.20