Gentoo Archives: gentoo-commits

From: "George Kadianakis (asn)" <asn@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] linux-patches r1601 - genpatches-2.6/trunk/2.6.30
Date: Tue, 01 Sep 2009 02:23:53
Message-Id: E1MiNr7-0007FE-Dt@stork.gentoo.org
1 Author: asn
2 Date: 2009-09-01 07:32:40 +0000 (Tue, 01 Sep 2009)
3 New Revision: 1601
4
5 Added:
6 genpatches-2.6/trunk/2.6.30/1700_empty-ipi-check.patch
7 Modified:
8 genpatches-2.6/trunk/2.6.30/0000_README
9 Log:
10 Fixes freezes caused by careless IPI sends on some x86 setups
11
12 Modified: genpatches-2.6/trunk/2.6.30/0000_README
13 ===================================================================
14 --- genpatches-2.6/trunk/2.6.30/0000_README 2009-08-29 13:41:48 UTC (rev 1600)
15 +++ genpatches-2.6/trunk/2.6.30/0000_README 2009-09-01 07:32:40 UTC (rev 1601)
16 @@ -63,6 +63,10 @@
17 From: http://lwn.net/Articles/342440/
18 Desc: HID: Move dereferences below a NULL test
19
20 +Patch: 1700_empty-ipi-check.patch
21 +From: http://bugs.gentoo.org/show_bug.cgi?id=273936
22 +Desc: Fixes freezes caused by careless IPI sends on some x86 setups
23 +
24 Patch: 2500_ide-cd-handle-fragmented-patckets.patch
25 From: http://bugs.gentoo.org/show_bug.cgi?id=274182
26 Desc: ide-cd: handle fragmented packet commands gracefully
27 @@ -81,5 +85,4 @@
28
29 Patch: 4400_alpha-sysctl-uac.patch
30 From: Tavis Ormandy <taviso@g.o> and http://bugs.gentoo.org/show_bug.cgi?id=217323
31 -Desc: enable control of the unaligned access control policy from sysctl
32 -
33 +Desc: Enable control of the unaligned access control policy from sysctl
34
35 Added: genpatches-2.6/trunk/2.6.30/1700_empty-ipi-check.patch
36 ===================================================================
37 --- genpatches-2.6/trunk/2.6.30/1700_empty-ipi-check.patch (rev 0)
38 +++ genpatches-2.6/trunk/2.6.30/1700_empty-ipi-check.patch 2009-09-01 07:32:40 UTC (rev 1601)
39 @@ -0,0 +1,12 @@
40 +--- a/arch/x86/kernel/apic/ipi.c
41 ++++ b/arch/x86/kernel/apic/ipi.c
42 +@@ -106,6 +106,9 @@
43 + unsigned long mask = cpumask_bits(cpumask)[0];
44 + unsigned long flags;
45 +
46 ++ if (WARN_ONCE(!mask, "empty IPI mask"))
47 ++ return;
48 ++
49 + local_irq_save(flags);
50 + WARN_ON(mask & ~cpumask_bits(cpu_online_mask)[0]);
51 + __default_send_IPI_dest_field(mask, vector, apic->dest_logical);