<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>Serverphorums.com</title>
        <description>Your source for root discussions!</description>
        <link>http://www.serverphorums.com/index.php</link>
        <lastBuildDate>Sun, 20 May 2012 03:44:57 +0200</lastBuildDate>
        <generator>Phorum 5.2.18</generator>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499533,499533#msg-499533</guid>
            <title>[PATCH] x86/mce: Fix check for processor context when machine check was taken. (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499533,499533#msg-499533</link>
            <description><![CDATA[ Linus pointed out that checking &quot;m-&gt;ip&quot; was incorrect as &quot;0&quot; is<br />
a legitimate value.  Also we need to consider that we may have<br />
interrupted VM86 execution (in which case &quot;CS&quot; isn't any use in<br />
determining user/kernel).<br />
<br />
Reported-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;<br />
Signed-off-by: Tony Luck &lt;tony.luck@intel.com&gt;<br />
---<br />
In case you are unable to sleep at night worrying about those<br />
poor systems that don't recover because they do the wrong thing<br />
if there is a VM86 process running, or some malicious user has<br />
a &quot;jmp 0&quot; at the base of a code segment.<br />
<br />
Mea culpa: Andi fixed the VM86 part of this a year and<br />
a half ago, and I failed to pick up the fix from his tree<br />
when I took over. There are some other bits I need to pick<br />
up too.<br />
<br />
 arch/x86/kernel/cpu/mcheck/mce-severity.c |   11 +++++------<br />
 arch/x86/kernel/cpu/mcheck/mce.c          |    2 ++<br />
 2 files changed, 7 insertions(+), 6 deletions(-)<br />
<br />
diff --git a/arch/x86/kernel/cpu/mcheck/mce-severity.c b/arch/x86/kernel/cpu/mcheck/mce-severity.c<br />
index 0c82091..5dfb77a 100644<br />
--- a/arch/x86/kernel/cpu/mcheck/mce-severity.c<br />
+++ b/arch/x86/kernel/cpu/mcheck/mce-severity.c<br />
@@ -165,15 +165,14 @@ static struct severity {<br />
 };<br />
 <br />
 /*<br />
- * If the EIPV bit is set, it means the saved IP is the<br />
- * instruction which caused the MCE.<br />
+ * No need to re-check mcgstatus here. We either found a<br />
+ * good value for &quot;cs&quot; on the stack earlier (or faked one<br />
+ * for the VM86 case) - or we didn't and &quot;m-&gt;cs&quot; will be<br />
+ * zero which we will treat conservatively as &quot;IN_KERNEL&quot;.<br />
  */<br />
 static int error_context(struct mce *m)<br />
 {<br />
-	if (m-&gt;mcgstatus &amp; MCG_STATUS_EIPV)<br />
-		return (m-&gt;ip &amp;&amp; (m-&gt;cs &amp; 3) == 3) ? IN_USER : IN_KERNEL;<br />
-	/* Unknown, assume kernel */<br />
-	return IN_KERNEL;<br />
+	return ((m-&gt;cs &amp; 3) == 3) ? IN_USER : IN_KERNEL;<br />
 }<br />
 <br />
 int mce_severity(struct mce *m, int tolerant, char **msg)<br />
diff --git a/arch/x86/kernel/cpu/mcheck/mce.c b/arch/x86/kernel/cpu/mcheck/mce.c<br />
index 11c9166..a2d53f3 100644<br />
--- a/arch/x86/kernel/cpu/mcheck/mce.c<br />
+++ b/arch/x86/kernel/cpu/mcheck/mce.c<br />
@@ -437,6 +437,8 @@ static inline void mce_gather_info(struct mce *m, struct pt_regs *regs)<br />
 		if (m-&gt;mcgstatus &amp; (MCG_STATUS_RIPV|MCG_STATUS_EIPV)) {<br />
 			m-&gt;ip = regs-&gt;ip;<br />
 			m-&gt;cs = regs-&gt;cs;<br />
+			if (v8086_mode(regs))<br />
+				m-&gt;cs |= 3; /* fake user mode for VM86 */<br />
 		}<br />
 		/* Use accurate RIP reporting if available. */<br />
 		if (rip_msr)<br />
-- <br />
1.7.9.5<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Tony Luck</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 03:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499532,499532#msg-499532</guid>
            <title>[PATCH] net/ipv4: replace simple_strtoul with kstrtoul (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499532,499532#msg-499532</link>
            <description><![CDATA[ Replace simple_strtoul with kstrtoul in three similar occurrences, all setup<br />
handlers:<br />
* route.c: set_rhash_entries<br />
* tcp.c: set_thash_entries<br />
* udp.c: set_uhash_entries<br />
<br />
Also check if the conversion failed.<br />
<br />
Signed-off-by: Eldad Zack &lt;eldad@fogrefinery.com&gt;<br />
---<br />
 net/ipv4/route.c |    8 +++++++-<br />
 net/ipv4/tcp.c   |    8 +++++++-<br />
 net/ipv4/udp.c   |    8 +++++++-<br />
 3 files changed, 21 insertions(+), 3 deletions(-)<br />
<br />
diff --git a/net/ipv4/route.c b/net/ipv4/route.c<br />
index 167ea10..84d1832 100644<br />
--- a/net/ipv4/route.c<br />
+++ b/net/ipv4/route.c<br />
@@ -3430,9 +3430,15 @@ struct ip_rt_acct __percpu *ip_rt_acct __read_mostly;<br />
 static __initdata unsigned long rhash_entries;<br />
 static int __init set_rhash_entries(char *str)<br />
 {<br />
+	ssize_t ret;<br />
+<br />
 	if (!str)<br />
 		return 0;<br />
-	rhash_entries = simple_strtoul(str, &amp;str, 0);<br />
+<br />
+	ret = kstrtoul(str, 0, &amp;rhash_entries);<br />
+	if (ret)<br />
+		return 0;<br />
+<br />
 	return 1;<br />
 }<br />
 __setup(&quot;rhash_entries=&quot;, set_rhash_entries);<br />
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c<br />
index 6589e11..6ed0552 100644<br />
--- a/net/ipv4/tcp.c<br />
+++ b/net/ipv4/tcp.c<br />
@@ -3222,9 +3222,15 @@ extern struct tcp_congestion_ops tcp_reno;<br />
 static __initdata unsigned long thash_entries;<br />
 static int __init set_thash_entries(char *str)<br />
 {<br />
+	ssize_t ret;<br />
+<br />
 	if (!str)<br />
 		return 0;<br />
-	thash_entries = simple_strtoul(str, &amp;str, 0);<br />
+<br />
+	ret = kstrtoul(str, 0, &amp;thash_entries);<br />
+	if (ret)<br />
+		return 0;<br />
+<br />
 	return 1;<br />
 }<br />
 __setup(&quot;thash_entries=&quot;, set_thash_entries);<br />
diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c<br />
index fe14105..662836a 100644<br />
--- a/net/ipv4/udp.c<br />
+++ b/net/ipv4/udp.c<br />
@@ -2163,9 +2163,15 @@ void udp4_proc_exit(void)<br />
 static __initdata unsigned long uhash_entries;<br />
 static int __init set_uhash_entries(char *str)<br />
 {<br />
+	ssize_t ret;<br />
+<br />
 	if (!str)<br />
 		return 0;<br />
-	uhash_entries = simple_strtoul(str, &amp;str, 0);<br />
+<br />
+	ret = kstrtoul(str, 0, &amp;uhash_entries);<br />
+	if (ret)<br />
+		return 0;<br />
+<br />
 	if (uhash_entries &amp;&amp; uhash_entries &lt; UDP_HTABLE_SIZE_MIN)<br />
 		uhash_entries = UDP_HTABLE_SIZE_MIN;<br />
 	return 1;<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Eldad Zack</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 02:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499531,499531#msg-499531</guid>
            <title>[PATCH] net/ipv4/ipconfig: neaten __setup placement (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499531,499531#msg-499531</link>
            <description><![CDATA[ The __setup macro should follow the corresponding setup handler.<br />
<br />
Signed-off-by: Eldad Zack &lt;eldad@fogrefinery.com&gt;<br />
---<br />
 net/ipv4/ipconfig.c |    5 ++---<br />
 1 file changed, 2 insertions(+), 3 deletions(-)<br />
<br />
diff --git a/net/ipv4/ipconfig.c b/net/ipv4/ipconfig.c<br />
index 92ac7e7..1d8076a 100644<br />
--- a/net/ipv4/ipconfig.c<br />
+++ b/net/ipv4/ipconfig.c<br />
@@ -1626,11 +1626,13 @@ static int __init ip_auto_config_setup(char *addrs)<br />
 <br />
 	return 1;<br />
 }<br />
+__setup(&quot;ip=&quot;, ip_auto_config_setup);<br />
 <br />
 static int __init nfsaddrs_config_setup(char *addrs)<br />
 {<br />
 	return ip_auto_config_setup(addrs);<br />
 }<br />
+__setup(&quot;nfsaddrs=&quot;, nfsaddrs_config_setup);<br />
 <br />
 static int __init vendor_class_identifier_setup(char *addrs)<br />
 {<br />
@@ -1641,7 +1643,4 @@ static int __init vendor_class_identifier_setup(char *addrs)<br />
 			vendor_class_identifier);<br />
 	return 1;<br />
 }<br />
-<br />
-__setup(&quot;ip=&quot;, ip_auto_config_setup);<br />
-__setup(&quot;nfsaddrs=&quot;, nfsaddrs_config_setup);<br />
 __setup(&quot;dhcpclass=&quot;, vendor_class_identifier_setup);<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Eldad Zack</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 02:10:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?5,499530,499530#msg-499530</guid>
            <title>AJAX Uploader with Nginx, Not Catching Files (no replies)</title>
            <link>http://www.serverphorums.com/read.php?5,499530,499530#msg-499530</link>
            <description><![CDATA[ Has anyone set up nginx to work with an AJAX uploader like this one<br />
before? <a href="http://valums.com/ajax-upload/" target="_blank"  rel="nofollow">http://valums.com/ajax-upload/</a><br />
<br />
Passing the upload through to my Tornado server works fine, but I want<br />
nginx to handle the file before it gets that far.  I have nginx set up<br />
to intercept regular file posts from our pre-AJAX page with<br />
&quot;upload_pass&quot; and &quot;upload_store,&quot; but now with the file in the body of<br />
an XHR request, nginx doesn't treat it as a file for things like<br />
&quot;upload_store.&quot;<br />
<br />
Also, my AJAX page gets back a 415 error when trying to send the file. <br />
I'm using the script for image uploads if that makes a difference.<br />
<br />
I was thinking I might be able to save a log of the request as the image<br />
file, but that seems like too much of a hack.<br />
<br />
Any help appreciated,<br />
Zach<br />
<br />
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,226657,226657#msg-226657" target="_blank"  rel="nofollow">http://forum.nginx.org/read.php?2,226657,226657#msg-226657</a><br />
<br />
_______________________________________________<br />
nginx mailing list<br />
<a href="mailto:&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;">&#110;&#103;&#105;&#110;&#120;&#64;&#110;&#103;&#105;&#110;&#120;&#46;&#111;&#114;&#103;</a><br />
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank"  rel="nofollow">http://mailman.nginx.org/mailman/listinfo/nginx</a>]]></description>
            <dc:creator>ztaylor4</dc:creator>
            <category>Nginx</category>
            <pubDate>Sun, 20 May 2012 01:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499520,499520#msg-499520</guid>
            <title>[-next] DRM_CIRRUS_QEMU breaks build (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499520,499520#msg-499520</link>
            <description><![CDATA[ Hi,<br />
<br />
when that option is selected to be Y, I'm getting linking errors like:<br />
    (.text+0xefd8d): undefined reference to `ttm_tt_init'<br />
    drivers/built-in.o: In function `cirrus_mm_init':<br />
and many others, like undefined sys_fillrect.<br />
<br />
You perhaps have a patch on your queue already and I need not to turn<br />
this into a patch, right :):<br />
<br />
--- a/drivers/gpu/drm/cirrus/Kconfig<br />
+++ b/drivers/gpu/drm/cirrus/Kconfig<br />
@@ -1,10 +1,11 @@<br />
 config DRM_CIRRUS_QEMU<br />
        tristate &quot;Cirrus driver for QEMU emulated device&quot;<br />
        depends on DRM &amp;&amp; PCI &amp;&amp; EXPERIMENTAL<br />
-       select FB_CFB_FILLRECT<br />
-       select FB_CFB_COPYAREA<br />
-       select FB_CFB_IMAGEBLIT<br />
+       select FB_SYS_FILLRECT<br />
+       select FB_SYS_COPYAREA<br />
+       select FB_SYS_IMAGEBLIT<br />
        select DRM_KMS_HELPER<br />
+       select DRM_TTM<br />
        help<br />
         This is a KMS driver for emulated cirrus device in qemu.<br />
         It is *NOT* intended for real cirrus devices. This requires<br />
<br />
regards,<br />
-- <br />
js<br />
suse labs<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jiri Slaby</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499518,499518#msg-499518</guid>
            <title>[-next regression] TCP window full with EPOLLWAKEUP (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499518,499518#msg-499518</link>
            <description><![CDATA[ Hi,<br />
<br />
a bisection shows that with the following commit from -next:<br />
commit 4d7e30d98939a0340022ccd49325a3d70f7e0238<br />
Author: Arve Hjønnevåg &lt;arve@android.com&gt;<br />
Date:   Tue May 1 21:33:34 2012 +0200<br />
<br />
    epoll: Add a flag, EPOLLWAKEUP, to prevent suspend while epoll<br />
events are ready<br />
<br />
====<br />
<br />
one of mono programs I use stops receiving data from the network.<br />
Wireshark shows that the TCP window of a connection is filled. This<br />
means the program does not read the data fast enough after requesting<br />
the data.<br />
<br />
If I revert that commit on the top of -next (20120518), everything works<br />
as expected.<br />
<br />
regards,<br />
-- <br />
js<br />
suse labs<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jiri Slaby</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499514,499514#msg-499514</guid>
            <title>[GIT PULL] DT clk binding support (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499514,499514#msg-499514</link>
            <description><![CDATA[ Mike,<br />
<br />
Please pull devicetree clock binding support for 3.5. It's a bit late I<br />
know, but this shouldn't affect anyone except for highbank which uses<br />
it. It will be good to get it in so other platforms can start using it.<br />
<br />
If you prefer, perhaps Arnd/Olof can pull this directly if you don't<br />
have any other pulls planned for 3.5-rc1.<br />
<br />
Rob<br />
<br />
The following changes since commit f0948f59dbc8e725a96ba16da666e8f5cdd43ba8:<br />
<br />
  clk: add a fixed factor clock (2012-05-08 14:13:25 -0700)<br />
<br />
are available in the git repository at:<br />
<br />
  git://sources.calxeda.com/kernel/linux.git clk-for-3.5<br />
<br />
for you to fetch changes up to 9dca208955ffba16adc99d982fd7432b37f76faa:<br />
<br />
  clk: add highbank clock support (2012-05-15 19:14:10 -0500)<br />
<br />
----------------------------------------------------------------<br />
Grant Likely (2):<br />
      clk: add DT clock binding support<br />
      clk: add DT fixed-clock binding support<br />
<br />
Rob Herring (2):<br />
      dt: add clock binding doc to primecell bindings<br />
      clk: add highbank clock support<br />
<br />
 .../devicetree/bindings/arm/primecell.txt          |    6 +<br />
 .../devicetree/bindings/clock/calxeda.txt          |   17 +<br />
 .../devicetree/bindings/clock/clock-bindings.txt   |  117 +++++++<br />
 .../devicetree/bindings/clock/fixed-clock.txt      |   21 ++<br />
 arch/arm/Kconfig                                   |    1 +<br />
 arch/arm/boot/dts/highbank.dts                     |   91 +++++-<br />
 arch/arm/mach-highbank/Makefile                    |    2 +-<br />
 arch/arm/mach-highbank/clock.c                     |   62 ----<br />
 arch/arm/mach-highbank/highbank.c                  |    7 +<br />
 drivers/clk/Makefile                               |    4 +-<br />
 drivers/clk/clk-fixed-rate.c                       |   23 ++<br />
 drivers/clk/clk-highbank.c                         |  345<br />
++++++++++++++++++++<br />
 drivers/clk/clk.c                                  |  140 ++++++++<br />
 drivers/clk/clkdev.c                               |   77 +++++<br />
 include/linux/clk-provider.h                       |   16 +<br />
 include/linux/clk.h                                |   19 ++<br />
 16 files changed, 883 insertions(+), 65 deletions(-)<br />
 create mode 100644 Documentation/devicetree/bindings/clock/calxeda.txt<br />
 create mode 100644<br />
Documentation/devicetree/bindings/clock/clock-bindings.txt<br />
 create mode 100644 Documentation/devicetree/bindings/clock/fixed-clock.txt<br />
 delete mode 100644 arch/arm/mach-highbank/clock.c<br />
 create mode 100644 drivers/clk/clk-highbank.c<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Rob Herring</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 23:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499512,499512#msg-499512</guid>
            <title>hexagon: signal bugs (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499512,499512#msg-499512</link>
            <description><![CDATA[ 1) spot the braino:<br />
void do_trap0(struct pt_regs *regs)<br />
....<br />
        unsigned long syscallret = 0;<br />
	...<br />
                if ((unsigned long) regs-&gt;syscall_nr &gt;= __NR_syscalls) {<br />
                        regs-&gt;r00 = -1;<br />
                } else {<br />
                        syscall = (syscall_fn)<br />
                                  (sys_call_table[regs-&gt;syscall_nr]);<br />
                        syscallret = syscall(regs-&gt;r00, regs-&gt;r01,<br />
                                   regs-&gt;r02, regs-&gt;r03,<br />
                                   regs-&gt;r04, regs-&gt;r05);<br />
                }<br />
<br />
                if (regs-&gt;syscall_nr != __NR_rt_sigreturn)<br />
                        regs-&gt;r00 = syscallret;<br />
IOW, the last if () should've been inside the &quot;syscall_nr is not too high&quot;<br />
branch of the if () just above...<br />
<br />
	2) you do _not_ want syscall restarts to happen on sigreturn().<br />
Whatever adjustment needed to be done had already been done back before<br />
we'd saved the registers into sigcontext.  So doing<br />
        regs-&gt;syscall_nr = __NR_rt_sigreturn;<br />
in sys_rt_sigreturn() is exactly the wrong thing - for syscall restart<br />
purposes you want it to look like a non-syscall (i.e. it should be<br />
regs-&gt;syscall_nr = -1 to make your check in handle_signal() work).<br />
Incidentally, I would suggest just having that thing return regs-&gt;r00;<br />
then you can avoid all special-casing for &quot;do we want to put the<br />
return value of sys_...() into regs-&gt;r00?&quot; in do_trap0().<br />
<br />
	3) if you have multiple pending signals, you need to handle all<br />
of them before returning to userland.  And you need to make sure that<br />
syscall restart logics does not trigger on anything past the first time<br />
around.<br />
<br />
	4) checking for !user_mode(regs) needs to be done in the loop (created<br />
while fixing #3) in vm_entry.S where you are calling do_notify_resume();<br />
you need to leave the loop if it's true (if you can get there on return<br />
to kernel in the first place).<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Al Viro</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 23:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499506,499506#msg-499506</guid>
            <title>Re: exit_mmap BUG_ON in 2.6.23 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499506,499506#msg-499506</link>
            <description><![CDATA[ On Fri, 18 May 2012, Sam Portolla wrote:<br />
&gt; [please cc <a href="mailto:&#115;&#97;&#109;&#80;&#111;&#114;&#116;&#111;&#108;&#108;&#97;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;">&#115;&#97;&#109;&#80;&#111;&#114;&#116;&#111;&#108;&#108;&#97;&#64;&#121;&#97;&#104;&#111;&#111;&#46;&#99;&#111;&#109;</a> on your replies, not subscribed to the linux-kernel mailer]<br />
&gt; <br />
&gt; Hi, I have read the thread on same issue in 3.1:<br />
&gt; but this is happening on earlier GNU linux version 2.6.23 for x86_64,<br />
&gt; which does not have THP (I believe), nor it has huge_memory.c.<br />
&gt; Is there a fix one of you experts could supply?  Issue is not reproducible<br />
&gt; so far, but happened on a customer site. Some info below.<br />
&gt; <br />
&gt; kernel BUG at .../bfc/linux/kernel-2.6.x/mm/mmap.c:2049!<br />
&gt; <br />
&gt; Line 2049 is in exit_mmap():<br />
&gt; <br />
&gt; BUG_ON(mm-&gt;nr_ptes &gt; (FIRST_USER_ADDRESS+PMD_SIZE-1)&gt;&gt;PMD_SHIFT);<br />
&gt; <br />
&gt;  RIP: 0010:[&lt;ffffffff80277840&gt;]  [&lt;ffffffff80277840&gt;] exit_mmap+0xf0/0x100 <br />
&gt; [snip]<br />
&gt;  Call Trace:<br />
&gt;  [&lt;ffffffff8022ee14&gt;] mmput+0x44/0xd0<br />
&gt;  [&lt;ffffffff802340a1&gt;] exit_mm+0x91/0x100<br />
&gt;  [&lt;ffffffff802347ea&gt;] do_exit+0x17a/0x960<br />
&gt;  [&lt;ffffffff8023c4bc&gt;] __dequeue_signal+0xec/0x1b0<br />
&gt;  [&lt;ffffffff80235048&gt;] do_group_exit+0x38/0x90<br />
&gt;  [&lt;ffffffff8023e3c6&gt;] get_signal_to_deliver+0x2d6/0x4b0<br />
&gt;  [&lt;ffffffff8020b69a&gt;] do_notify_resume+0xaa/0x760<br />
&gt;  [&lt;ffffffff8020c818&gt;] retint_signal+0x3d/0x85<br />
<br />
I've checked back through old ChangeLogs, and (apart from a UserModeLinux<br />
case) I don't see any fix for a BUG_ON(nr_ptes) issue in between 2.6.19<br />
and the much later THP issue, which you're right to think cannot be yours.<br />
<br />
But the 2.6.19 case, and one which a video driver writer had more recently,<br />
were both caused by unrelated code zeroing beyond what it had allocated:<br />
happening to zero part of a higher-level page table, making it impossible<br />
for task exit to locate all the page tables (and pages) it had to free.<br />
<br />
Though I can't be sure, these BUG_ON(nr_ptes) reports do seem perhaps<br />
too infrequent to be caused by bad logic in mm itself: I suspect memory<br />
corruption in your case too.<br />
<br />
There's no clue here as to what the cause might be, I'm afraid.<br />
Rebuilding your kernel with CONFIG_DEBUG_PAGEALLOC=y, and slab debugging<br />
on, might shed more light: but that's probably not something you want to<br />
get into on a customer site, for a problem only seen once or twice.<br />
<br />
The best I can suggest is for you to change that BUG_ON to a WARN_ON,<br />
so at least the kernel doesn't crash there, and you might gather more<br />
information from each time it happens; but you'll probably leak pages,<br />
and may very well crash soon for other reasons (e.g. when evicting an<br />
inode cannot locate all the maps of its pages).<br />
<br />
Hugh]]></description>
            <dc:creator>Hugh Dickins</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 22:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499498,499498#msg-499498</guid>
            <title>[PATCH]usb:early:fixed coding style issue related to : operator (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499498,499498#msg-499498</link>
            <description><![CDATA[ Fixed a space issue relating to &quot;:&quot; operator found<br />
by checkpatch.pl tool in drivers/usb/early/ehci-dbgp.c<br />
<br />
Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;<br />
---<br />
 drivers/usb/early/ehci-dbgp.c |    2 +-<br />
 1 file changed, 1 insertion(+), 1 deletion(-)<br />
<br />
diff --git a/drivers/usb/early/ehci-dbgp.c b/drivers/usb/early/ehci-dbgp.c<br />
index 1fc8f12..ee0ebac 100644<br />
--- a/drivers/usb/early/ehci-dbgp.c<br />
+++ b/drivers/usb/early/ehci-dbgp.c<br />
@@ -334,7 +334,7 @@ static int dbgp_control_msg(unsigned devnum, int requesttype,<br />
 	int ret;<br />
 <br />
 	read = (requesttype &amp; USB_DIR_IN) != 0;<br />
-	if (size &gt; (read ? DBGP_MAX_PACKET:0))<br />
+	if (size &gt; (read ? DBGP_MAX_PACKET : 0))<br />
 		return -1;<br />
 <br />
 	/* Compute the control message */<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jeffrin Jose</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 21:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499494,499494#msg-499494</guid>
            <title>BUSINESS PROPOSAL!! (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499494,499494#msg-499494</link>
            <description><![CDATA[ -- <br />
Please I would like you to keep this proposal as a top secret and <br />
delete it<br />
if you are not interested and get back to me if you are interested for<br />
details as regards to the transfer of $24,500,000 to you from my bank <br />
where<br />
I am the bank director here in Hong Kong.<br />
Yours Truly,<br />
Wong Hui.<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>WONG HUI</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 21:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499493,499493#msg-499493</guid>
            <title>[PATCH] android/alarm: remove unnecessary goto statement (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499493,499493#msg-499493</link>
            <description><![CDATA[ Signed-off-by: Devendra Naga &lt;devendra.aaru@gmail.com&gt;<br />
---<br />
 drivers/staging/android/alarm-dev.c |    1 -<br />
 1 file changed, 1 deletion(-)<br />
<br />
diff --git a/drivers/staging/android/alarm-dev.c b/drivers/staging/android/alarm-dev.c<br />
index 03efb34..1573672 100644<br />
--- a/drivers/staging/android/alarm-dev.c<br />
+++ b/drivers/staging/android/alarm-dev.c<br />
@@ -196,7 +196,6 @@ from_old_alarm_set:<br />
 <br />
 	default:<br />
 		rv = -EINVAL;<br />
-		goto err1;<br />
 	}<br />
 err1:<br />
 	return rv;<br />
-- <br />
1.7.9.5<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Devendra Naga</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 21:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499492,499492#msg-499492</guid>
            <title>[GIT PULL] parisc fixes for 3.3-rc5 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499492,499492#msg-499492</link>
            <description><![CDATA[ This is a set of three bug fixes that gets parisc running again on<br />
systems with PA1.1 processors.  Two fix regressions introduced in 2.6.39<br />
and one fixes a prefetch bug that only affects PA7300LC processors.  We<br />
also have another pending fix to do with the sectional arrangement of<br />
vmlinux.lds, but there's a query on it during testing on one particular<br />
system type, so I'll hold off sending it in for now.<br />
<br />
The patches are here:<br />
<br />
git://git.kernel.org/pub/scm/linux/kernel/git/jejb/parisc-2.6.git parisc-fixes<br />
<br />
The short changelog is:<br />
<br />
<br />
James Bottomley (2):<br />
      [PARISC] fix panic on prefetch(NULL) on PA7300LC<br />
      [PARISC] fix PA1.1 oops on boot<br />
<br />
John David Anglin (1):<br />
      [PARISC] fix crash in flush_icache_page_asm on PA1.1<br />
<br />
<br />
And the diffstat:<br />
<br />
 arch/parisc/include/asm/prefetch.h |    7 ++++++-<br />
 arch/parisc/kernel/entry.S         |    4 ++++<br />
 arch/parisc/kernel/pacache.S       |   38 +++++++++++++++++++-----------------<br />
 3 files changed, 30 insertions(+), 19 deletions(-)<br />
<br />
With the full diff below<br />
<br />
James<br />
<br />
---<br />
<br />
diff --git a/arch/parisc/include/asm/prefetch.h b/arch/parisc/include/asm/prefetch.h<br />
index c5edc60..1ee7c82 100644<br />
--- a/arch/parisc/include/asm/prefetch.h<br />
+++ b/arch/parisc/include/asm/prefetch.h<br />
@@ -21,7 +21,12 @@<br />
 #define ARCH_HAS_PREFETCH<br />
 static inline void prefetch(const void *addr)<br />
 {<br />
-	__asm__(&quot;ldw 0(%0), %%r0&quot; : : &quot;r&quot; (addr));<br />
+	__asm__(<br />
+#ifndef CONFIG_PA20<br />
+		/* Need to avoid prefetch of NULL on PA7300LC */<br />
+		&quot;	extrw,u,= %0,31,32,%%r0\n&quot;<br />
+#endif<br />
+		&quot;	ldw 0(%0), %%r0&quot; : : &quot;r&quot; (addr));<br />
 }<br />
 <br />
 /* LDD is a PA2.0 addition. */<br />
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S<br />
index 6f05944..5350342 100644<br />
--- a/arch/parisc/kernel/entry.S<br />
+++ b/arch/parisc/kernel/entry.S<br />
@@ -581,7 +581,11 @@<br />
 	 */<br />
 	cmpiclr,=	0x01,\tmp,%r0<br />
 	ldi		(_PAGE_DIRTY|_PAGE_READ|_PAGE_WRITE),\prot<br />
+#ifdef CONFIG_64BIT<br />
 	depd,z		\prot,8,7,\prot<br />
+#else<br />
+	depw,z		\prot,8,7,\prot<br />
+#endif<br />
 	/*<br />
 	 * OK, it is in the temp alias region, check whether &quot;from&quot; or &quot;to&quot;.<br />
 	 * Check &quot;subtle&quot; note in pacache.S re: r23/r26.<br />
diff --git a/arch/parisc/kernel/pacache.S b/arch/parisc/kernel/pacache.S<br />
index 93ff3d9..5d7218a 100644<br />
--- a/arch/parisc/kernel/pacache.S<br />
+++ b/arch/parisc/kernel/pacache.S<br />
@@ -692,7 +692,7 @@ ENTRY(flush_icache_page_asm)<br />
 <br />
 	/* Purge any old translation */<br />
 <br />
-	pitlb		(%sr0,%r28)<br />
+	pitlb		(%sr4,%r28)<br />
 <br />
 	ldil		L%icache_stride, %r1<br />
 	ldw		R%icache_stride(%r1), %r1<br />
@@ -706,27 +706,29 @@ ENTRY(flush_icache_page_asm)<br />
 	sub		%r25, %r1, %r25<br />
 <br />
 <br />
-1:      fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
-	fic,m		%r1(%r28)<br />
+	/* fic only has the type 26 form on PA1.1, requiring an<br />
+	 * explicit space specification, so use %sr4 */<br />
+1:      fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
 	cmpb,COND(&lt;&lt;)		%r28, %r25,1b<br />
-	fic,m		%r1(%r28)<br />
+	fic,m		%r1(%sr4,%r28)<br />
 <br />
 	sync<br />
 	bv		%r0(%r2)<br />
-	pitlb		(%sr0,%r25)<br />
+	pitlb		(%sr4,%r25)<br />
 	.exit<br />
 <br />
 	.procend<br />
<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>James Bottomley</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 21:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,499478,499478#msg-499478</guid>
            <title>haproxy请转交相关负责人 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?10,499478,499478#msg-499478</link>
            <description><![CDATA[ 尊敬的：haproxy，您好：<br />
<br />
                              成功的产品经理<br />
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br />
时间地点：5月21-22日深圳     5月24-25日北京     5月28-29日上海    6月18-19日深圳<br />
<br />
参加对象：企业CEO/总经理、研发总经理/副总、公司总工/技术总监、公司人力资源总监、产品<br />
          线总监、产品经理/项目经理、PMO（项目管理办公室）成员、市场总监、技术支持总<br />
          监等。<br />
<br />
学习费用：4000元/两天  *买一赠一,不再打折  需在同一个月的同一课程才享有此优惠，<br />
          单独一人收费2600元。（含两天中餐、指定教材、证书、茶点）<br />
<br />
◆会-务-组-织：环☆球☆企☆业☆培☆训☆网<br />
<br />
◆全-国咨-询热-线：４００６~３９０~７８８ <br />
<br />
◆深圳联-系电-话：０７５５~６１２８~３５７０<br />
<br />
◆北京联-系电-话：０１０~５１６５~９６８４<br />
<br />
◆上海联-系电-话：０２１~５１０２~８０７９<br />
<br />
◆咨-----询 QQ：２３６７~１１７８６<br />
<br />
温馨提示本课程可为企业提供上门内训服务，欢迎来电咨询！<br />
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br />
课程背景2012-05-20-02:26:25<br />
<br />
　　当一个企业从单一产品线向多产品线跨越的时候，必须突破的一个瓶颈就是公司产品经理的培<br />
养，因为产品经理是公司价值链中最重要的一个环节，是直接面向客户、带领团队创造价值的领军<br />
人物，因此产品经理个人及其所率领的团队的能力往往决定了该产品在市场上的竞争力。<br />
　　我们在为国内众多公司提供产品需求和产品管理咨询的过程中，发现大量企业存在如下问题：<br />
1.产品开发闭门造车，只关注技术，不关注客户，研发从早忙到晚，产品开发的不少，但赚钱的产<br />
  品屈指可数。<br />
2.产品开发出来才找客户、找卖点，销售人员报怨我们的产品从娘胎中出来就躺在担架上，产品没<br />
  有优势，也不知道竞争对手产品的弱点，但我们产品的弱点往往被对手抓住<br />
3.几乎没有产品路标的规划，有规划也主要是技术驱动，客户需求到不了规划人员手中，公司神经<br />
  末梢与大脑失去联系。<br />
4.了解市场的不懂技术，懂技术的不了解市场，不知道需求应该谁负责，缺少完备的需求收集、汇<br />
  总、分析机制<br />
5.把市场驱动的产品开发理解为市场部驱动开发部，销售人员反馈的需求往往是“盲人摸象”，导<br />
  致需求不断更改……<br />
<br />
　　针对以上问题，公司应该有一个非常关键的的角色产品经理来贯穿产品需求、研发和上市管理<br />
的全流程，在实施产品管理管理体系的时候又发现很多困惑：<br />
1.产品经理该如何定位？其职责是什么？<br />
2.产品经理需要具备什么样的能力？如何培养？<br />
3.如何与客户有效沟通，从而发掘客户的隐性需求？<br />
4.如何从大量的需求信息中提炼出核心的客户需求？<br />
5.如何策划有竞争力的差异化产品？<br />
6.如何确保策划的核心需求在开发过程中被充分实现？<br />
7.如何把优秀的新产品成功的推向市场？<br />
8.如何避免产品经理沦落成“问题经理”？<br />
9.如何构建适合产品经理成长的优良土壤？<br />
<br />
　　针对以上典型问题，我们结合大量的培训和咨询案例，并不断总结，在过去五年讲授该课程的<br />
基础上进行了大量优化，形成了一套适合中国企业的产品经理管理体系，让学员听完后回到公司就<br />
能够立刻实施，保证落地。<br />
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━<br />
<br />
●课程收益：2012-05-20-02:26:25<br />
1.分享讲师500多场研发管理培训的专业经验 ，通过现场的互动帮助学员理清适合自己企业的产品<br />
  管理的思路和产品经理的培养方案<br />
2.分析业界公司在产品经理培养和管理中的误区，并分享成功经验<br />
3.了解产品经理的定位、职责、素质模型与任职资格标准<br />
4.理解新产品市场管理、路标规划、需求管理的流程及支撑体系<br />
5.掌握新产品开发的过程管理的技巧和方法<br />
6.掌握新产品上市管理的技巧和方法，总结保证产品商业成功的关键<br />
7.学会如何打造一个成功的产品团队，如何管理产品团队的绩效和冲突处理<br />
8.学会如何建立产品经理的培养体系]]></description>
            <dc:creator>®aÆ·½Àí³ÉéLß^³ÌÖÐ´æÔÚµÄî}</dc:creator>
            <category>HAProxy</category>
            <pubDate>Sat, 19 May 2012 20:30:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499472,499472#msg-499472</guid>
            <title>[WARNING] lockdep and kmemcheck_alloc_shadow (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499472,499472#msg-499472</link>
            <description><![CDATA[ Testing 3.2.18-rc1 I hit the following:<br />
<br />
WARNING: at /work/autotest/nobackup/linux-test.git/kernel/lockdep.c:2739 lockdep_trace_alloc+0xee/0xf0()<br />
Hardware name:         <br />
Pid: 0, comm: swapper/0 Not tainted 3.2.18-rc1-test+ #1<br />
Call Trace:^M<br />
 [&lt;ffffffff81066175&gt;] warn_slowpath_common+0x75/0xb0<br />
 [&lt;ffffffff81066285&gt;] warn_slowpath_null+0x15/0x20<br />
 [&lt;ffffffff81098aee&gt;] lockdep_trace_alloc+0xee/0xf0<br />
 [&lt;ffffffff810d8adc&gt;] __alloc_pages_nodemask+0x8c/0x7e0<br />
 [&lt;ffffffff81098537&gt;] ? trace_hardirqs_off_caller+0xb7/0x120<br />
 [&lt;ffffffff8143467d&gt;] ? trace_hardirqs_off_thunk+0x3a/0x3c<br />
 [&lt;ffffffff81098537&gt;] ? trace_hardirqs_off_caller+0xb7/0x120<br />
 [&lt;ffffffff8143467d&gt;] ? trace_hardirqs_off_thunk+0x3a/0x3c<br />
 [&lt;ffffffff81098537&gt;] ? trace_hardirqs_off_caller+0xb7/0x120<br />
 [&lt;ffffffff8143467d&gt;] ? trace_hardirqs_off_thunk+0x3a/0x3c<br />
 [&lt;ffffffff81c8d567&gt;] ? retint_restore_args+0x6/0x13<br />
 [&lt;ffffffff81113c9b&gt;] kmemcheck_alloc_shadow+0x4b/0xf0<br />
 [&lt;ffffffff8111016f&gt;] new_slab+0x26f/0x370<br />
 [&lt;ffffffff81c70677&gt;] __slab_alloc+0x2ee/0x421<br />
 [&lt;ffffffff8143467d&gt;] ? trace_hardirqs_off_thunk+0x3a/0x3c<br />
 [&lt;ffffffff8110997e&gt;] ? do_set_mempolicy+0x4e/0x210^M<br />
 [&lt;ffffffff81c8d567&gt;] ? retint_restore_args+0x6/0x13<br />
 [&lt;ffffffff8110997e&gt;] ? do_set_mempolicy+0x4e/0x210<br />
 [&lt;ffffffff8111122d&gt;] kmem_cache_alloc+0x12d/0x140<br />
 [&lt;ffffffff8110997e&gt;] do_set_mempolicy+0x4e/0x210<br />
 [&lt;ffffffff822e945e&gt;] numa_policy_init+0x11f/0x13f<br />
 [&lt;ffffffff822c7aae&gt;] start_kernel+0x2d0/0x36e<br />
 [&lt;ffffffff822c72e1&gt;] x86_64_start_reservations+0xcc/0xd0<br />
 [&lt;ffffffff822c7140&gt;] ? early_idt_handlers+0x140/0x140<br />
 [&lt;ffffffff822c73e7&gt;] x86_64_start_kernel+0x102/0x111<br />
---[ end trace 4eaa2a86a8e2da22 ]---<br />
<br />
<br />
Attached config.<br />
<br />
-- Steve]]></description>
            <dc:creator>Steven Rostedt</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 19:50:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499461,499461#msg-499461</guid>
            <title>[PATCH] mfd: tpx6586x:  Depend on regulator (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499461,499461#msg-499461</link>
            <description><![CDATA[ Some of the OF binding stuff is done in the MFD.<br />
<br />
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;<br />
---<br />
<br />
It just went ahead and applied this.<br />
<br />
 drivers/mfd/Kconfig |    1 +<br />
 1 file changed, 1 insertion(+)<br />
<br />
diff --git a/drivers/mfd/Kconfig b/drivers/mfd/Kconfig<br />
index 1f887a2..f15273c 100644<br />
--- a/drivers/mfd/Kconfig<br />
+++ b/drivers/mfd/Kconfig<br />
@@ -175,6 +175,7 @@ config MFD_TPS6586X<br />
 	bool &quot;TPS6586x Power Management chips&quot;<br />
 	depends on I2C=y &amp;&amp; GPIOLIB &amp;&amp; GENERIC_HARDIRQS<br />
 	select MFD_CORE<br />
+	depends on REGULATOR<br />
 	help<br />
 	  If you say yes here you get support for the TPS6586X series of<br />
 	  Power Management chips.<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Mark Brown</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 19:20:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499453,499453#msg-499453</guid>
            <title>[PATCH] small spelling correction (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499453,499453#msg-499453</link>
            <description><![CDATA[ Hi,<br />
<br />
Just saw spotted a spelling error when updating one of my machines to<br />
3.4.0-rc7, but since it was so small i actually<br />
ran hunspell on the config, that's where the adapter change came from<br />
- hope it's ok =)<br />
<br />
Changes in drivers/usb/host/Kconfig:<br />
compilant =&gt; compliant<br />
provieds  =&gt; provides<br />
Adaptor   =&gt; Adapter]]></description>
            <dc:creator>Ian Kumlien</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 18:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499452,499452#msg-499452</guid>
            <title>[PATCH]fs:ext4:fixed space issue related to * operator. (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499452,499452#msg-499452</link>
            <description><![CDATA[ Fixed coding style issue relating to * operator found<br />
by checkpath.pl tool in fs/ext4/fsync.c<br />
<br />
Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;<br />
---<br />
 fs/ext4/fsync.c |    2 +-<br />
 1 file changed, 1 insertion(+), 1 deletion(-)<br />
<br />
diff --git a/fs/ext4/fsync.c b/fs/ext4/fsync.c<br />
index bb6c7d8..b06e330 100644<br />
--- a/fs/ext4/fsync.c<br />
+++ b/fs/ext4/fsync.c<br />
@@ -34,7 +34,7 @@<br />
 <br />
 #include &lt;trace/events/ext4.h&gt;<br />
 <br />
-static void dump_completed_IO(struct inode * inode)<br />
+static void dump_completed_IO(struct inode *inode)<br />
 {<br />
 #ifdef	EXT4FS_DEBUG<br />
 	struct list_head *cur, *before, *after;<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jeffrin Jose</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 18:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499441,499441#msg-499441</guid>
            <title>[PATCH] USB CDC-Ether - Add ZTE WWAN matches before generic Ethernet (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499441,499441#msg-499441</link>
            <description><![CDATA[ Some ZTE WWAN devices have generic CDC Ether descriptors. Add those<br />
into the whitelist so that we get FLAG_WWAN on the interface<br />
<br />
Signed-off-by: Andrew Bird &lt;ajb@spheresystems.co.uk&gt;<br />
---<br />
 drivers/net/usb/cdc_ether.c |   56 +++++++++++++++++++++++++++++++++++++++++++<br />
 1 files changed, 56 insertions(+), 0 deletions(-)<br />
<br />
diff --git a/drivers/net/usb/cdc_ether.c b/drivers/net/usb/cdc_ether.c<br />
index 425e201..fffee6a 100644<br />
--- a/drivers/net/usb/cdc_ether.c<br />
+++ b/drivers/net/usb/cdc_ether.c<br />
@@ -486,6 +486,7 @@ static const struct driver_info wwan_info = {<br />
 <br />
 #define HUAWEI_VENDOR_ID	0x12D1<br />
 #define NOVATEL_VENDOR_ID	0x1410<br />
+#define ZTE_VENDOR_ID		0x19D2<br />
 <br />
 static const struct usb_device_id	products [] = {<br />
 /*<br />
@@ -618,6 +619,61 @@ static const struct usb_device_id	products [] = {<br />
 	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
 	.driver_info = (unsigned long)&amp;wwan_info,<br />
 }, {<br />
+	/* ZTE (Vodafone) K3805-Z */<br />
+	.match_flags    =   USB_DEVICE_ID_MATCH_VENDOR<br />
+		 | USB_DEVICE_ID_MATCH_PRODUCT<br />
+		 | USB_DEVICE_ID_MATCH_INT_INFO,<br />
+	.idVendor               = ZTE_VENDOR_ID,<br />
+	.idProduct		= 0x1003,<br />
+	.bInterfaceClass	= USB_CLASS_COMM,<br />
+	.bInterfaceSubClass	= USB_CDC_SUBCLASS_ETHERNET,<br />
+	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
+	.driver_info = (unsigned long)&amp;wwan_info,<br />
+}, {<br />
+	/* ZTE (Vodafone) K3806-Z */<br />
+	.match_flags    =   USB_DEVICE_ID_MATCH_VENDOR<br />
+		 | USB_DEVICE_ID_MATCH_PRODUCT<br />
+		 | USB_DEVICE_ID_MATCH_INT_INFO,<br />
+	.idVendor               = ZTE_VENDOR_ID,<br />
+	.idProduct		= 0x1015,<br />
+	.bInterfaceClass	= USB_CLASS_COMM,<br />
+	.bInterfaceSubClass	= USB_CDC_SUBCLASS_ETHERNET,<br />
+	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
+	.driver_info = (unsigned long)&amp;wwan_info,<br />
+}, {<br />
+	/* ZTE (Vodafone) K4510-Z */<br />
+	.match_flags    =   USB_DEVICE_ID_MATCH_VENDOR<br />
+		 | USB_DEVICE_ID_MATCH_PRODUCT<br />
+		 | USB_DEVICE_ID_MATCH_INT_INFO,<br />
+	.idVendor               = ZTE_VENDOR_ID,<br />
+	.idProduct		= 0x1173,<br />
+	.bInterfaceClass	= USB_CLASS_COMM,<br />
+	.bInterfaceSubClass	= USB_CDC_SUBCLASS_ETHERNET,<br />
+	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
+	.driver_info = (unsigned long)&amp;wwan_info,<br />
+}, {<br />
+	/* ZTE (Vodafone) K3770-Z */<br />
+	.match_flags    =   USB_DEVICE_ID_MATCH_VENDOR<br />
+		 | USB_DEVICE_ID_MATCH_PRODUCT<br />
+		 | USB_DEVICE_ID_MATCH_INT_INFO,<br />
+	.idVendor               = ZTE_VENDOR_ID,<br />
+	.idProduct		= 0x1177,<br />
+	.bInterfaceClass	= USB_CLASS_COMM,<br />
+	.bInterfaceSubClass	= USB_CDC_SUBCLASS_ETHERNET,<br />
+	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
+	.driver_info = (unsigned long)&amp;wwan_info,<br />
+}, {<br />
+	/* ZTE (Vodafone) K3772-Z */<br />
+	.match_flags    =   USB_DEVICE_ID_MATCH_VENDOR<br />
+		 | USB_DEVICE_ID_MATCH_PRODUCT<br />
+		 | USB_DEVICE_ID_MATCH_INT_INFO,<br />
+	.idVendor               = ZTE_VENDOR_ID,<br />
+	.idProduct		= 0x1181,<br />
+	.bInterfaceClass	= USB_CLASS_COMM,<br />
+	.bInterfaceSubClass	= USB_CDC_SUBCLASS_ETHERNET,<br />
+	.bInterfaceProtocol	= USB_CDC_PROTO_NONE,<br />
+	.driver_info = (unsigned long)&amp;wwan_info,<br />
+}, {<br />
 	USB_INTERFACE_INFO(USB_CLASS_COMM, USB_CDC_SUBCLASS_ETHERNET,<br />
 			USB_CDC_PROTO_NONE),<br />
 	.driver_info = (unsigned long) &amp;cdc_info,<br />
-- <br />
1.7.6.5<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Andrew Bird</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:50:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499437,499437#msg-499437</guid>
            <title>[PATCH 0/5] regulator: tps65910: fixes/cleanups in dt supports (8 replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499437,499437#msg-499437</link>
            <description><![CDATA[ Fixing the some parameter initialization and cleanup for dt support.<br />
All patches are self explanatory.<br />
- Use small names for the regulator name to match with doc<br />
- initize of_node properly.<br />
- pass proper device structure when registering regulator<br />
- use dvm_*<br />
- Add some more debug print info.<br />
<br />
Laxman Dewangan (5):<br />
  regulator: tps65910: use small letter for regulator names<br />
  regulator: tps65910: set of_node for regulator register config<br />
  regulator: tps65910:  use self device for regulator registration<br />
  regulator: tps65910: use devm_* for memory allocation<br />
  regulator: tps65910: add error message in case of failure<br />
<br />
 drivers/regulator/tps65910-regulator.c |  165 ++++++++++++++++----------------<br />
 1 files changed, 84 insertions(+), 81 deletions(-)<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Laxman Dewangan</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 20:40:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499436,499436#msg-499436</guid>
            <title>[PATCH 5/5] regulator: tps65910: add error message in case of failure (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?12,499436,499436#msg-499436</link>
            <description><![CDATA[ Prints error message whenever there is failure on allocating<br />
resource. Also used the dev_* to print messages instead of pr_*<br />
<br />
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;<br />
---<br />
 drivers/regulator/tps65910-regulator.c |   12 ++++++++----<br />
 1 files changed, 8 insertions(+), 4 deletions(-)<br />
<br />
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c<br />
index 5a8ad4e..560282c 100644<br />
--- a/drivers/regulator/tps65910-regulator.c<br />
+++ b/drivers/regulator/tps65910-regulator.c<br />
@@ -1107,7 +1107,7 @@ static struct tps65910_board *tps65910_parse_dt_reg_data(<br />
 		matches = tps65911_matches;<br />
 		break;<br />
 	default:<br />
-		pr_err(&quot;Invalid tps chip version\n&quot;);<br />
+		dev_err(&amp;pdev-&gt;dev, &quot;Invalid tps chip version\n&quot;);<br />
 		return NULL;<br />
 	}<br />
 <br />
@@ -1158,12 +1158,16 @@ static __devinit int tps65910_probe(struct platform_device *pdev)<br />
 	if (!pmic_plat_data &amp;&amp; tps65910-&gt;dev-&gt;of_node)<br />
 		pmic_plat_data = tps65910_parse_dt_reg_data(pdev, &amp;reg_node);<br />
 <br />
-	if (!pmic_plat_data)<br />
+	if (!pmic_plat_data) {<br />
+		dev_err(&amp;pdev-&gt;dev, &quot;Platform data not found\n&quot;);<br />
 		return -EINVAL;<br />
+	}<br />
 <br />
 	pmic = devm_kzalloc(&amp;pdev-&gt;dev, sizeof(*pmic), GFP_KERNEL);<br />
-	if (!pmic)<br />
+	if (!pmic) {<br />
+		dev_err(&amp;pdev-&gt;dev, &quot;Memory allocation failed for pmic\n&quot;);<br />
 		return -ENOMEM;<br />
+	}<br />
 <br />
 	mutex_init(&amp;pmic-&gt;mutex);<br />
 	pmic-&gt;mfd = tps65910;<br />
@@ -1187,7 +1191,7 @@ static __devinit int tps65910_probe(struct platform_device *pdev)<br />
 		info = tps65911_regs;<br />
 		break;<br />
 	default:<br />
-		pr_err(&quot;Invalid tps chip version\n&quot;);<br />
+		dev_err(&amp;pdev-&gt;dev, &quot;Invalid tps chip version\n&quot;);<br />
 		return -ENODEV;<br />
 	}<br />
 <br />
-- <br />
1.7.1.1<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Laxman Dewangan</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 20:50:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499435,499435#msg-499435</guid>
            <title>[PATCH 3/5] regulator: tps65910:  use self device for regulator registration (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?12,499435,499435#msg-499435</link>
            <description><![CDATA[ Use self device for regulator registration instead of parent<br />
device.<br />
<br />
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;<br />
---<br />
 drivers/regulator/tps65910-regulator.c |    4 ++--<br />
 1 files changed, 2 insertions(+), 2 deletions(-)<br />
<br />
diff --git a/drivers/regulator/tps65910-regulator.c b/drivers/regulator/tps65910-regulator.c<br />
index dd0e2cb..72942c2 100644<br />
--- a/drivers/regulator/tps65910-regulator.c<br />
+++ b/drivers/regulator/tps65910-regulator.c<br />
@@ -1111,7 +1111,7 @@ static struct tps65910_board *tps65910_parse_dt_reg_data(<br />
 		return NULL;<br />
 	}<br />
 <br />
-	ret = of_regulator_match(pdev-&gt;dev.parent, regulators, matches, count);<br />
+	ret = of_regulator_match(&amp;pdev-&gt;dev, regulators, matches, count);<br />
 	if (ret &lt; 0) {<br />
 		dev_err(&amp;pdev-&gt;dev, &quot;Error parsing regulator init data: %d\n&quot;,<br />
 			ret);<br />
@@ -1260,7 +1260,7 @@ static __devinit int tps65910_probe(struct platform_device *pdev)<br />
 		pmic-&gt;desc<i>.enable_reg = pmic-&gt;get_ctrl_reg(i);<br />
 		pmic-&gt;desc<i>.enable_mask = TPS65910_SUPPLY_STATE_ENABLED;<br />
 <br />
-		config.dev = tps65910-&gt;dev;<br />
+		config.dev = &amp;pdev-&gt;dev;<br />
 		config.init_data = reg_data;<br />
 		config.driver_data = pmic;<br />
 		config.regmap = tps65910-&gt;regmap;<br />
-- <br />
1.7.1.1<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a></i></i>]]></description>
            <dc:creator>Laxman Dewangan</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 20:10:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499432,499432#msg-499432</guid>
            <title>[PATCH] regulator: core: use correct device for device supply lookup (11 replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499432,499432#msg-499432</link>
            <description><![CDATA[ When registering the regulator driver, use the rdev-&gt;dev for<br />
getting the regulator device of given supply instead of parent<br />
device.<br />
<br />
Signed-off-by: Laxman Dewangan &lt;ldewangan@nvidia.com&gt;<br />
---<br />
 drivers/regulator/core.c |    2 +-<br />
 1 files changed, 1 insertions(+), 1 deletions(-)<br />
<br />
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c<br />
index 7584a74..f820137 100644<br />
--- a/drivers/regulator/core.c<br />
+++ b/drivers/regulator/core.c<br />
@@ -3150,7 +3150,7 @@ regulator_register(const struct regulator_desc *regulator_desc,<br />
 	if (supply) {<br />
 		struct regulator_dev *r;<br />
 <br />
-		r = regulator_dev_lookup(dev, supply, &amp;ret);<br />
+		r = regulator_dev_lookup(&amp;rdev-&gt;dev, supply, &amp;ret);<br />
 <br />
 		if (!r) {<br />
 			dev_err(dev, &quot;Failed to find supply %s\n&quot;, supply);<br />
-- <br />
1.7.1.1<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Laxman Dewangan</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 01:20:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499427,499427#msg-499427</guid>
            <title>[PATCH] mac80211: Fix race in sending null to check AP (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499427,499427#msg-499427</link>
            <description><![CDATA[ From: Soumik Das &lt;soumik.das@stericsson.com&gt;<br />
<br />
mac80211 tries to verify the existence of the current AP by<br />
probing or sending a NULL frame in function<br />
ieee80211_mgd_probe_ap_send. It 1st sends a null frame to the AP,<br />
increments probe_send_count and waits for the ACK to the NULL<br />
frame for a finite duration of time. At times, it happens that by<br />
the time mac80211 gets to increment probe_send_count, the ACK for<br />
the NULL frame transmitted has already been processed. This leads<br />
to a race condition where mac80211 times out waiting for the ACK<br />
for the NULL frame causing unnecessary disconnection with the AP.<br />
<br />
Signed-off-by: Soumik Das &lt;soumik.das@stericsson.com&gt;<br />
---<br />
 net/mac80211/mlme.c |    3 ++-<br />
 1 files changed, 2 insertions(+), 1 deletions(-)<br />
<br />
diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c<br />
index dbd4bd9..40c933c 100644<br />
--- a/net/mac80211/mlme.c<br />
+++ b/net/mac80211/mlme.c<br />
@@ -1522,6 +1522,8 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)<br />
 	 * anymore. The timeout will be reset if the frame is ACKed by<br />
 	 * the AP.<br />
 	 */<br />
+	ifmgd-&gt;probe_send_count++;<br />
+<br />
 	if (sdata-&gt;local-&gt;hw.flags &amp; IEEE80211_HW_REPORTS_TX_ACK_STATUS) {<br />
 		ifmgd-&gt;nullfunc_failed = false;<br />
 		ieee80211_send_nullfunc(sdata-&gt;local, sdata, 0);<br />
@@ -1538,7 +1540,6 @@ static void ieee80211_mgd_probe_ap_send(struct ieee80211_sub_if_data *sdata)<br />
 					 0, (u32) -1, true, false);<br />
 	}<br />
 <br />
-	ifmgd-&gt;probe_send_count++;<br />
 	ifmgd-&gt;probe_timeout = jiffies + msecs_to_jiffies(probe_wait_ms);<br />
 	run_again(ifmgd, ifmgd-&gt;probe_timeout);<br />
 	if (sdata-&gt;local-&gt;hw.flags &amp; IEEE80211_HW_REPORTS_TX_ACK_STATUS)<br />
-- <br />
1.7.0.4<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Soumik DAS</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 16:00:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499422,499422#msg-499422</guid>
            <title>[PATCH 0/3] [GIT PULL] tracing: Some more updates for 3.5 (3 replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499422,499422#msg-499422</link>
            <description><![CDATA[ Ingo,<br />
<br />
Please pull the latest tip/perf/core-2 tree, which can be found at:<br />
<br />
  git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git<br />
tip/perf/core-2<br />
<br />
Head SHA1: 895b67fd5830ce18a6f1375a7c062fcf84b4b874<br />
<br />
<br />
Richard Weinberger (1):<br />
      tracing: Remove kernel_lock annotations<br />
<br />
Vaibhav Nagarnaik (2):<br />
      ring-buffer: Merge separate resize loops<br />
      tracing: Fix initial buffer_size_kb state<br />
<br />
----<br />
 kernel/trace/ring_buffer.c |   41 +++++++++++++++--------------------------<br />
 kernel/trace/trace.c       |    5 ++---<br />
 2 files changed, 17 insertions(+), 29 deletions(-)]]></description>
            <dc:creator>Steven Rostedt</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 15:40:02 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?10,499418,499418#msg-499418</guid>
            <title>Deal of the Day:Panasonic Lumix DMC-GF3 12.1MP Interchangeable Lens Camera $314.00 (55% off)  (Trial Version) (no replies)</title>
            <link>http://www.serverphorums.com/read.php?10,499418,499418#msg-499418</link>
            <description><![CDATA[ img {display: block;}<br />
.ai {display:inline;}<br />
td {line-height:12px;}<br />
#maincopy br {line-height: 12px;}<br />
<br />
<br />
<br />
<br />
<br />
<br />
Please click here if the e-mail below is not displayed correctly.<br />
<br />
<br />
<br />
<br />
Follow us: <br />
<br />
<br />
<br />
 <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
 <br />
 <br />
 <br />
  <br />
  <br />
<br />
Free Two-Day Shipping with &amp;#8250; Amazon Prime<br />
<br />
<br />
  <br />
<br />
  <br />
  <br />
  Your Amazon.com<br />
  Today's Deals<br />
  See All Departments<br />
  <br />
  <br />
  <br />
  <br />
<br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
 <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
         <br />
          <br />
           <br />
            <br />
             <br />
              <br />
              <br />
             <br />
            <br />
           <br />
          <br />
         <br />
         <br />
          <br />
           <br />
            <br />
             <br />
              <br />
               <br />
                <br />
                 <br />
                  <br />
                   <br />
                    <br />
                     <br />
                      <br />
                      <br />
                     <br />
                    <br />
                   <br />
                   <br />
                    <br />
                     <br />
                      <br />
<br />
                       <br />
                        <br />
                         <br />
                          Panasonic Lumix DMC-GF3 12.1MP Interchangeable Lens Camera<br />
                        <br />
                       <br />
<br />
                       <br />
                       <br />
                       <br />
                       <br />
                       <br />
                        <br />
                         <br />
                       <br />
                       <br />
<br />
<br />
<br />
<br />
<br />
<br />
 &amp;#36;699.95<br />
<br />
 &amp;#36;314.00<br />
<br />
  <br />
  <br />
   (55&amp;#37; off)<br />
  <br />
  <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
                       <br />
                        <br />
                       <br />
<br />
                       <br />
                        <br />
                         Panasonic's LUMIX DMC-GF3 realizes all the features you want from a bulky DSLR interchangeable lens camera, only it accomplishes this in an ultra compact point-and-shoot camera body about as wide and tall as a typical smart phone yet is lightweight and simple to master. This remarkable reduction in size and weight is thanks to advancements in new mirror-free camera technology, and large DSLR format sensors that are more compatible with a new class of compact Micro Four Thirds (MFT) System lenses.<br />
                        <br />
                        <br />
                        <br />
                       <br />
                       <br />
                       <br />
<br />
                       <br />
                       <br />
                       <br />
<br />
                      <br />
                     <br />
                    <br />
                   <br />
                  <br />
                 <br />
                <br />
               <br />
              <br />
             <br />
            <br />
           <br />
          <br />
         <br />
         <br />
          <br />
           <br />
            <br />
             <br />
              <br />
              <br />
             <br />
            <br />
           <br />
          <br />
         <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
   <br />
  <br />
  <br />
   <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
 <br />
 <br />
 <br />
  <br />
  <br />
  <br />
  Explore Other Gold Box Deals<br />
  <br />
  <br />
  <br />
   <br />
     <br />
       <br />
         <br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        Save 60% on Capri Tools LED Flashlight<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        Save up to 35% on Kryptonite &amp;amp; OnGuard Bike Locks<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        Up to 40% Savings on Shimano Bike Pedals<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        Check out our Best Deals in HDTV and Video<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
       <br />
        <br />
       <br />
      <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
 <br />
  <br />
   <br />
    <br />
     <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
<br />
<br />
<br />
<br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        HDTVs for $500 or Less<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        $10 Off a $125 Dremel Order<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        Instant Savings on Select LG HDTVs<br />
       <br />
      <br />
<br />
<br />
<br />
<br />
<br />
<br />
     <br />
    <br />
    <br />
     <br />
       <br />
     <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
      <br />
    <br />
   <br />
  <br />
 <br />
<br />
 <br />
  <br />
   <br />
    <br />
     <br />
      <br />
      <br />
       <br />
        $5 Off a Select $25 Stanley Order]]></description>
            <dc:creator>Anonymous User</dc:creator>
            <category>HAProxy</category>
            <pubDate>Sat, 19 May 2012 14:40:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499415,499415#msg-499415</guid>
            <title>[PATCH] irq_domain: Standardise legacy/linear domain selection (4 replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499415,499415#msg-499415</link>
            <description><![CDATA[ A large proportion of interrupt controllers that support legacy mappings<br />
do so because non-DT systems need to use fixed IRQ numbers when registering<br />
devices via buses but can otherwise use a linear mapping. The interrupt<br />
controller itself typically is not affected by the mapping used and best<br />
practice is to use a linear mapping where possible so drivers frequently<br />
select at runtime depending on if a legacy range has been allocated to<br />
them.<br />
<br />
Standardise this behaviour by providing irq_domain_register_simple() which<br />
will allocate a linear mapping unless a positive first_irq is provided in<br />
which case it will fall back to a legacy mapping. This helps make best<br />
practice for irq_domain adoption clearer.<br />
<br />
Signed-off-by: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;<br />
---<br />
 Documentation/IRQ-domain.txt |    5 +++++<br />
 include/linux/irqdomain.h    |    5 +++++<br />
 kernel/irq/irqdomain.c       |   30 ++++++++++++++++++++++++++++++<br />
 3 files changed, 40 insertions(+)<br />
<br />
diff --git a/Documentation/IRQ-domain.txt b/Documentation/IRQ-domain.txt<br />
index 27dcaab..1401cec 100644<br />
--- a/Documentation/IRQ-domain.txt<br />
+++ b/Documentation/IRQ-domain.txt<br />
@@ -93,6 +93,7 @@ Linux IRQ number into the hardware.<br />
 Most drivers cannot use this mapping.<br />
 <br />
 ==== Legacy ====<br />
+irq_domain_add_simple()<br />
 irq_domain_add_legacy()<br />
 irq_domain_add_legacy_isa()<br />
 <br />
@@ -115,3 +116,7 @@ The legacy map should only be used if fixed IRQ mappings must be<br />
 supported.  For example, ISA controllers would use the legacy map for<br />
 mapping Linux IRQs 0-15 so that existing ISA drivers get the correct IRQ<br />
 numbers.<br />
+<br />
+Most users of legacy mappings should use irq_domain_add_simple() which<br />
+will use a legacy domain only if an IRQ range is supplied by the<br />
+system and will otherwise use a linear domain mapping.<br />
diff --git a/include/linux/irqdomain.h b/include/linux/irqdomain.h<br />
index c65740d..fcf4142 100644<br />
--- a/include/linux/irqdomain.h<br />
+++ b/include/linux/irqdomain.h<br />
@@ -112,6 +112,11 @@ struct irq_domain {<br />
 };<br />
 <br />
 #ifdef CONFIG_IRQ_DOMAIN<br />
+struct irq_domain *irq_domain_add_simple(struct device_node *of_node,<br />
+					 unsigned int size,<br />
+					 unsigned int first_irq,<br />
+					 const struct irq_domain_ops *ops,<br />
+					 void *host_data);<br />
 struct irq_domain *irq_domain_add_legacy(struct device_node *of_node,<br />
 					 unsigned int size,<br />
 					 unsigned int first_irq,<br />
diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c<br />
index d0e50eb..86ae10f 100644<br />
--- a/kernel/irq/irqdomain.c<br />
+++ b/kernel/irq/irqdomain.c<br />
@@ -77,6 +77,36 @@ static unsigned int irq_domain_legacy_revmap(struct irq_domain *domain,<br />
 }<br />
 <br />
 /**<br />
+ * irq_domain_add_simple() - Allocate and register a simple irq_domain.<br />
+ * @of_node: pointer to interrupt controller's device tree node.<br />
+ * @size: total number of irqs in mapping<br />
+ * @first_irq: first number of irq block assigned to the domain<br />
+ * @ops: map/unmap domain callbacks<br />
+ * @host_data: Controller private data pointer<br />
+ *<br />
+ * Allocates a legacy irq_domain if irq_base is positive or a linear<br />
+ * domain otherwise.<br />
+ *<br />
+ * This is intended to implement the expected behaviour for most<br />
+ * interrupt controllers which is that a linear mapping should<br />
+ * normally be used unless the system requires a legacy mapping in<br />
+ * order to support supplying interrupt numbers during non-DT<br />
+ * registration of devices.<br />
+ */<br />
+struct irq_domain *irq_domain_add_simple(struct device_node *of_node,<br />
+					 unsigned int size,<br />
+					 unsigned int first_irq,<br />
+					 const struct irq_domain_ops *ops,<br />
+					 void *host_data)<br />
+{<br />
+	if (first_irq &gt; 0)<br />
+		return irq_domain_add_legacy(of_node, size, first_irq, 0,<br />
+					     ops, host_data);<br />
+	else<br />
+		return irq_domain_add_linear(of_node, size, ops, host_data);<br />
+}<br />
+<br />
+/**<br />
  * irq_domain_add_legacy() - Allocate and register a legacy revmap irq_domain.<br />
  * @of_node: pointer to interrupt controller's device tree node.<br />
  * @size: total number of irqs in legacy mapping<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Mark Brown</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:50:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499413,499413#msg-499413</guid>
            <title>Processing your first payment of 5.000 (no replies)</title>
            <link>http://www.serverphorums.com/read.php?12,499413,499413#msg-499413</link>
            <description><![CDATA[ We wish to inform you that We have sent $5000.00 USD already ,that was given to you by the European Union, as we are mandated to send you the total sum of 1000,000,00 USD through Western Union.send name,address, phone number.Processing your first payment of 5,000 USD.<br />
<br />
Sign,<br />
Rev. Clayton Bowie (Payment Officer)<br />
Phone Number: Tel +(44) 7778 650 179<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Western Union Money Transfer</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sat, 19 May 2012 14:10:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499412,499412#msg-499412</guid>
            <title>[PATCH 1/1] net:ipv6:fixed space issues relating to operators. (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?12,499412,499412#msg-499412</link>
            <description><![CDATA[ Fixed space issues relating to operators found by<br />
checkpatch.pl tool in net/ipv6/udp.c<br />
<br />
Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;<br />
---<br />
 net/ipv6/udp.c |    4 ++--<br />
 1 file changed, 2 insertions(+), 2 deletions(-)<br />
<br />
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c<br />
index 847253c..f05099f 100644<br />
--- a/net/ipv6/udp.c<br />
+++ b/net/ipv6/udp.c<br />
@@ -349,7 +349,7 @@ int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,<br />
 	bool slow;<br />
 <br />
 	if (addr_len)<br />
-		*addr_len=sizeof(struct sockaddr_in6);<br />
+		*addr_len = sizeof(struct sockaddr_in6);<br />
 <br />
 	if (flags &amp; MSG_ERRQUEUE)<br />
 		return ipv6_recv_error(sk, msg, len);<br />
@@ -1379,7 +1379,7 @@ static struct sk_buff *udp6_ufo_fragment(struct sk_buff *skb,<br />
 	 * do checksum of UDP packets sent as multiple IP fragments.<br />
 	 */<br />
 	offset = skb_checksum_start_offset(skb);<br />
-	csum = skb_checksum(skb, offset, skb-&gt;len- offset, 0);<br />
+	csum = skb_checksum(skb, offset, skb-&gt;len - offset, 0);<br />
 	offset += skb-&gt;csum_offset;<br />
 	*(__sum16 *)(skb-&gt;data + offset) = csum_fold(csum);<br />
 	skb-&gt;ip_summed = CHECKSUM_NONE;<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jeffrin Jose</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:40:01 +0200</pubDate>
        </item>
        <item>
            <guid>http://www.serverphorums.com/read.php?12,499410,499410#msg-499410</guid>
            <title>[PATCH 1/1] net:ipv6:fixed a trailing white space issue. (1 reply)</title>
            <link>http://www.serverphorums.com/read.php?12,499410,499410#msg-499410</link>
            <description><![CDATA[ Fixed a trailing white space issue found by<br />
checkpatch.pl tool in net/ipv6/udp.c<br />
<br />
Signed-off-by: Jeffrin Jose &lt;ahiliation@yahoo.co.in&gt;<br />
---<br />
 net/ipv6/udp.c |    2 +-<br />
 1 file changed, 1 insertion(+), 1 deletion(-)<br />
<br />
diff --git a/net/ipv6/udp.c b/net/ipv6/udp.c<br />
index c1d91a7..847253c 100644<br />
--- a/net/ipv6/udp.c<br />
+++ b/net/ipv6/udp.c<br />
@@ -103,7 +103,7 @@ int udp_v6_get_port(struct sock *sk, unsigned short snum)<br />
 {<br />
 	unsigned int hash2_nulladdr =<br />
 		udp6_portaddr_hash(sock_net(sk), &amp;in6addr_any, snum);<br />
-	unsigned int hash2_partial = <br />
+	unsigned int hash2_partial =<br />
 		udp6_portaddr_hash(sock_net(sk), &amp;inet6_sk(sk)-&gt;rcv_saddr, 0);<br />
 <br />
 	/* precompute partial secondary hash */<br />
-- <br />
1.7.10<br />
<br />
--<br />
To unsubscribe from this list: send the line &quot;unsubscribe linux-kernel&quot; in<br />
the body of a message to <a href="mailto:&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;">&#109;&#97;&#106;&#111;&#114;&#100;&#111;&#109;&#111;&#64;&#118;&#103;&#101;&#114;&#46;&#107;&#101;&#114;&#110;&#101;&#108;&#46;&#111;&#114;&#103;</a><br />
More majordomo info at  <a href="http://vger.kernel.org/majordomo-info.html" target="_blank"  rel="nofollow">http://vger.kernel.org/majordomo-info.html</a><br />
Please read the FAQ at  <a href="http://www.tux.org/lkml/" target="_blank"  rel="nofollow">http://www.tux.org/lkml/</a>]]></description>
            <dc:creator>Jeffrin Jose</dc:creator>
            <category>Linux Kernel</category>
            <pubDate>Sun, 20 May 2012 00:40:01 +0200</pubDate>
        </item>
    </channel>
</rss>

