e3a2efa | Patrik Sevallius | 08 May 2008, 12:04:08 UTC | [ALSA] soc at91 minor bug fixes Found these two bugs while browsing through the code. The first one is a cut-n-paste bug, instead of disabling the clock when request_irq() fails, it enabled it once more. The second one fixes a debug printout, AT91_SSC_IER is write only, AT91_SSC_IMR is readable (the printed string actually says imr). Frank Mandarino was busy so he asked me to send these to this list. /Patrik Signed-off-by: Patrik Sevallius <patrik.sevallius@enea.com> Acked-by: Frank Mandarino <fmandarino@endrelia.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> | 08 May 2008, 11:08:58 UTC |
30a717f | Mark Brown | 08 May 2008, 12:03:30 UTC | [ALSA] soc - at91-pcm - Fix line wrapping There's more checkpatch stuff to fix in the driver, this just fixes the minimum required for the following patch to be clean. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> | 08 May 2008, 11:08:54 UTC |
ffebabe | Alexey Dobriyan | 08 May 2008, 09:58:39 UTC | [ARM] lubbock: fix compilation arch/arm/mach-pxa/lubbock.c:399: error: expected '}' before ';' token Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 08 May 2008, 09:58:39 UTC |
e46b66b | Ben Hutchings | 08 May 2008, 09:53:17 UTC | net: Added ASSERT_RTNL() to dev_open() and dev_close(). dev_open() and dev_close() must be called holding the RTNL, since they call device functions and netdevice notifiers that are promised the RTNL. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 09:53:17 UTC |
c2ab7ac | Oliver Hartkopp | 08 May 2008, 09:49:55 UTC | can: Fix can_send() handling on dev_queue_xmit() failures The tx packet counting and the local loopback of CAN frames should only happen in the case that the CAN frame has been enqueued to the netdevice tx queue successfully. Thanks to Andre Naujoks <nautsch@gmail.com> for reporting this issue. Signed-off-by: Oliver Hartkopp <oliver@hartkopp.net> Signed-off-by: Urs Thuermann <urs@isnogud.escape.de> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 09:49:55 UTC |
33f9936 | David S. Miller | 08 May 2008, 09:35:54 UTC | Merge branch 'upstream-davem' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6 | 08 May 2008, 09:35:54 UTC |
aca5139 | Pavel Emelyanov | 08 May 2008, 08:24:25 UTC | netns: Fix arbitrary net_device-s corruptions on net_ns stop. When a net namespace is destroyed, some devices (those, not killed on ns stop explicitly) are moved back to init_net. The problem, is that this net_ns change has one point of failure - the __dev_alloc_name() may be called if a name collision occurs (and this is easy to trigger). This allocator performs a likely-to-fail GFP_ATOMIC allocation to find a suitable number. Other possible conditions that may cause error (for device being ns local or not registered) are always false in this case. So, when this call fails, the device is unregistered. But this is *not* the right thing to do, since after this the device may be released (and kfree-ed) improperly. E. g. bridges require more actions (sysfs update, timer disarming, etc.), some other devices want to remove their private areas from lists, etc. I. e. arbitrary use-after-free cases may occur. The proposed fix is the following: since the only reason for the dev_change_net_namespace to fail is the name generation, we may give it a unique fall-back name w/o %d-s in it - the dev<ifindex> one, since ifindexes are still unique. So make this change, raise the failure-case printk loglevel to EMERG and replace the unregister_netdevice call with BUG(). [ Use snprintf() -DaveM ] Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:24:25 UTC |
f3261af | Patrick McHardy | 08 May 2008, 08:16:04 UTC | netfilter: Kconfig: default DCCP/SCTP conntrack support to the protocol config values When conntrack and DCCP/SCTP protocols are enabled, chances are good that people also want DCCP/SCTP conntrack and NAT support. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:16:04 UTC |
ef75d49 | Patrick McHardy | 08 May 2008, 08:15:21 UTC | netfilter: nf_conntrack_sip: restrict RTP expect flushing on error to last request Some Inovaphone PBXs exhibit very stange behaviour: when dialing for example "123", the device sends INVITE requests for "1", "12" and "123" back to back. The first requests will elicit error responses from the receiver, causing the SIP helper to flush the RTP expectations even though we might still see a positive response. Note the sequence number of the last INVITE request that contained a media description and only flush the expectations when receiving a negative response for that sequence number. Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:15:21 UTC |
7312096 | Patrick McHardy | 08 May 2008, 08:13:31 UTC | macvlan: Fix memleak on device removal/crash on module removal As noticed by Ben Greear, macvlan crashes the kernel when unloading the module. The reason is that it tries to clean up the macvlan_port pointer on the macvlan device itself instead of the underlying device. A non-NULL pointer is taken as indication that the macvlan_handle_frame_hook is valid, when receiving the next packet on the underlying device it tries to call the NULL hook and crashes. Clean up the macvlan_port on the correct device to fix this. Signed-off-by; Patrick McHardy <kaber@trash.net> Tested-by: Ben Greear <greearb@candelatech.com> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:13:31 UTC |
c67fa02 | J.H.M. Dassen (Ray) | 08 May 2008, 08:11:04 UTC | net/ipv4: correct RFC 1122 section reference in comment RFC 1122 does not have a section 3.1.2.2. The requirement to silently discard datagrams with a bad checksum is in section 3.2.1.2 instead. Addresses http://bugzilla.kernel.org/show_bug.cgi?id=10611 Signed-off-by: J.H.M. Dassen (Ray) <jdassen@debian.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:11:04 UTC |
62ab222 | Ilpo Järvinen | 08 May 2008, 08:09:11 UTC | tcp FRTO: SACK variant is errorneously used with NewReno Note: there's actually another bug in FRTO's SACK variant, which is the causing failure in NewReno case because of the error that's fixed here. I'll fix the SACK case separately (it's a separate bug really, though related, but in order to fix that I need to audit tp->snd_nxt usage a bit). There were two places where SACK variant of FRTO is getting incorrectly used even if SACK wasn't negotiated by the TCP flow. This leads to incorrect setting of frto_highmark with NewReno if a previous recovery was interrupted by another RTO. An eventual fallback to conventional recovery then incorrectly considers one or couple of segments as forward transmissions though they weren't, which then are not LOST marked during fallback making them "non-retransmittable" until the next RTO. In a bad case, those segments are really lost and are the only one left in the window. Thus TCP needs another RTO to continue. The next FRTO, however, could again repeat the same events making the progress of the TCP flow extremely slow. In order for these events to occur at all, FRTO must occur again in FRTOs step 3 while the key segments must be lost as well, which is not too likely in practice. It seems to most frequently with some small devices such as network printers that *seem* to accept TCP segments only in-order. In cases were key segments weren't lost, things get automatically resolved because those wrongly marked segments don't need to be retransmitted in order to continue. I found a reproducer after digging up relevant reports (few reports in total, none at netdev or lkml I know of), some cases seemed to indicate middlebox issues which seems now to be a false assumption some people had made. Bugzilla #10063 _might_ be related. Damon L. Chesser <damon@damtek.com> had a reproducable case and was kind enough to tcpdump it for me. With the tcpdump log it was quite trivial to figure out. Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi> Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 08:09:11 UTC |
02539d7 | Christoph Hellwig | 08 May 2008, 05:29:12 UTC | [POWERPC] spufs: lockdep annotations for spufs_dir_close We need to acquire the parent i_mutex with I_MUTEX_PARENT to keep lockdep happy. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | 08 May 2008, 05:29:12 UTC |
7a28a15 | Christoph Hellwig | 08 May 2008, 05:26:32 UTC | [POWERPC] spufs: don't requeue victim contex in find_victim if it's not in spu_run We should not requeue the victim context in find_victim if the owner is not in spu_run. It's first not needed because leaving the context on the spu is an optimization and second is harmful because it means the owner could re-enter spu_run when the context is on the runqueue and trip the BUG_ON in __spu_update_sched_info. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jeremy Kerr <jk@ozlabs.org> | 08 May 2008, 05:26:32 UTC |
1e0f50a | Paul Mundt | 08 May 2008, 04:40:17 UTC | sh: Stub in cpu_to_node() and friends for NUMA build. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 04:40:17 UTC |
4370fe1 | Magnus Damm | 24 April 2008, 12:53:07 UTC | sh: intc register modify fix Make sure register modifications stay atomic. Fixes processors with shared priority register masking. Dual bitmap masking is unaffected. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:52:07 UTC |
720be99 | Magnus Damm | 24 April 2008, 12:47:15 UTC | sh: no high level trigger on some sh3 cpus The processor models sh7706, sh7707 and sh7709 don't support high level trigger sense configuration. And the intc code looks like crap these days so what's the difference. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:52:06 UTC |
995d538 | Magnus Damm | 24 April 2008, 12:41:12 UTC | sh: clean up sh7710 and sh7720 intc tables Clean up the intc tables by removing unneeded #ifdefs. The vector list is what selects which interrupt sources that should be added, having unsupported bitfields listed is ok as long as the vector is excluded from the list. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:52:04 UTC |
d58876e | Magnus Damm | 24 April 2008, 12:36:34 UTC | sh: add interrupt ack code to sh3 This patch adds interrupt acknowledge code for external interrupt sources on sh3 processors. Only really required for edge triggered interrupts, but we ack regardless of sense configuration. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:52:03 UTC |
a276e58 | Magnus Damm | 24 April 2008, 12:30:09 UTC | sh: unify external irq pin code for sh3 This patch unifies the sh3 external irq pin code. It buys us some savings with reduced code redundancy, but the main feature with this change is irq sense selection support for all sh3 processors. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:52:00 UTC |
3d2c2f3 | Magnus Damm | 23 April 2008, 12:37:39 UTC | sh-sci: avoid writing to nonexistent registers Only write to hardware in SCI_OUT() if the register size is valid. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:59 UTC |
9b4e466 | Magnus Damm | 23 April 2008, 12:31:14 UTC | sh-sci: sh7722 lacks scsptr registers The sh7722 serial ports all lack SCSPTR registers, so mark them as nonexistent in the register table. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:58 UTC |
346b746 | Magnus Damm | 23 April 2008, 12:25:29 UTC | sh-sci: improve sh7722 support Improve sh7722 support for SCIF1 and SCIF2 and separate code from sh7366 implementation. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:57 UTC |
191d443 | Magnus Damm | 23 April 2008, 12:16:06 UTC | sh: reset hardware from early printk Reset the transmitter and receiver when setting up early printk. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:54 UTC |
4a65e38 | Magnus Damm | 23 April 2008, 12:05:11 UTC | sh: drain and wait for early printk Drain by waiting for all characters to be sent, and make sure to wait a little bit after setting up the baud rate. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:53 UTC |
0fba321 | Magnus Damm | 23 April 2008, 12:00:54 UTC | sh: use sci_out() for early printk Use sci_out() instead of ctrl_outw() for early printk setup code. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:52 UTC |
0146ba7 | Magnus Damm | 23 April 2008, 11:56:44 UTC | sh: add memory resources to /proc/iomem Add physical memory resources such as System RAM, Kernel code/data/bss and reserved crash dump area to /proc/iomem. Same strategy as on x86. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:51 UTC |
3d83984 | Magnus Damm | 23 April 2008, 11:50:27 UTC | sh: add kernel bss resource Do like everyone else and have a struct resource for kernel bss. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:49 UTC |
65c07d4 | Magnus Damm | 23 April 2008, 11:24:52 UTC | sh: fix sh7705 interrupt vector typo Fix sh7705 interrupt sources for vectors 0xc80 and 0xca0. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:48 UTC |
57b84f2 | Magnus Damm | 23 April 2008, 11:18:04 UTC | sh: update smc91x platform data for se7722 Select smc91x bus width using platform data for se7722 now when the smc91x header file is in place. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:48 UTC |
8a3ee0f | Magnus Damm | 23 April 2008, 11:13:59 UTC | sh: update smc91x platform data for MigoR Select smc91x bus width and irg flags using platform data for MigoR now when the smc91x header file is in place. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:47 UTC |
8cd9612 | Mathieu Desnoyers | 25 April 2008, 09:01:17 UTC | sh: remove -traditional. Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> CC: Sam Ravnborg <sam@ravnborg.org> CC: linux-sh@vger.kernel.org Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:46 UTC |
0305794 | Paul Mundt | 25 April 2008, 08:58:42 UTC | rtc: rtc-sh: Fixup for 64-bit resources. ioremap() and friends get the size information right, so force everything to go through there. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:45 UTC |
ae8a534 | Paul Mundt | 25 April 2008, 08:58:21 UTC | sh: r7780rp: Kill off unneded ifdefs for irq setup. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:44 UTC |
e305ec8 | Paul Mundt | 25 April 2008, 07:10:53 UTC | sh: rts7751r2d: Kill off unneeded ifdefs. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:43 UTC |
a1dc4b5 | Paul Mundt | 25 April 2008, 07:08:37 UTC | sh: intc_sh5 depends on cayman board for IRQ priority table. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:43 UTC |
105eabf | Paul Mundt | 25 April 2008, 07:07:53 UTC | input: i8042: sh64 IRQ definitions depend on cayman board. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:42 UTC |
85f094e | Paul Mundt | 25 April 2008, 07:04:20 UTC | sh: Enable use of the clk fwk on SH-5. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:42 UTC |
5e2c287 | Paul Mundt | 25 April 2008, 07:03:21 UTC | sh64: export onchip_remap/unmap() too. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:41 UTC |
971ac16 | Paul Mundt | 25 April 2008, 07:01:38 UTC | sh64: Some symbol exports to make the allmodconfig happier. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:41 UTC |
e35e283 | Paul Mundt | 25 April 2008, 05:27:08 UTC | mtd: solutionengine flash map depends on solution engine mach group. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:40 UTC |
f5f826c | Adrian Bunk | 30 March 2008, 22:40:17 UTC | sh: remove the broken SH_MPC1211 support SH_MPC1211 has been marked as BROKEN for some time. Unless someone is working on reviving it now, I'd therefore suggest this patch to remove it. Signed-off-by: Adrian Bunk <bunk@kernel.org> Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:39 UTC |
2a6b814 | Paul Mundt | 25 April 2008, 04:05:17 UTC | sh64: Setup I/D-TLB defaults in SH-5 probe path. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:38 UTC |
640f748 | Paul Mundt | 25 April 2008, 04:04:56 UTC | sh: kexec and kdump depend on SUPERH32. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:37 UTC |
824fcdd | Paul Mundt | 25 April 2008, 03:59:09 UTC | sh64: Fix up compile warning in event tracer. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:37 UTC |
ccd8058 | Paul Mundt | 25 April 2008, 03:58:40 UTC | sh64: Fixup the nommu build. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:37 UTC |
9141d30 | Paul Mundt | 25 April 2008, 02:54:24 UTC | sh64: fixups for xtime_lock seqlock conversion. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:36 UTC |
1a013e2 | Paul Mundt | 25 April 2008, 02:54:06 UTC | sh: sh-bios depends on SUPERH32. Signed-off-by: Paul Mundt <lethal@linux-sh.org> | 08 May 2008, 10:51:35 UTC |
dc5dc7e | David S. Miller | 08 May 2008, 01:54:05 UTC | sparc: Fix SA_ONSTACK signal handling. We need to be more liberal about the alignment of the buffer given to us by sigaltstack(). The user should not need to be mindful of all of the alignment constraints we have for the stack frame. This mirrors how we handle this situation in clone() as well. Also, we align the stack even in non-SA_ONSTACK cases so that signals due to bad stack alignment can be delivered properly. This makes such errors easier to debug and recover from. Finally, add the sanity check x86 has to make sure we won't overflow the signal stack. This fixes glibc testcases nptl/tst-cancel20.c and nptl/tst-cancelx20.c Signed-off-by: David S. Miller <davem@davemloft.net> | 08 May 2008, 01:54:05 UTC |
3de2403 | Linus Torvalds | 08 May 2008, 00:04:49 UTC | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6 * git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6: sparc: Fix fork/clone/vfork system call restart. sparc: Fix mmap VA span checking. | 08 May 2008, 00:04:49 UTC |
1e38c12 | David S. Miller | 07 May 2008, 23:21:28 UTC | sparc: Fix fork/clone/vfork system call restart. We clobber %i1 as well as %i0 for these system calls, because they give two return values. Therefore, on error, we have to restore %i1 properly or else the restart explodes since it uses the wrong arguments. This fixes glibc's nptl/tst-eintr1.c testcase. Signed-off-by: David S. Miller <davem@davemloft.net> | 07 May 2008, 23:21:28 UTC |
e0164af | Auke Kok | 07 May 2008, 20:42:33 UTC | [MAINTAINERS] New maintainer for Intel ethernet adapters I'm handing over maintainership to Jeff Kirsher and moving on to other Linux/Open Source work within Intel. Good luck to Jeff ;) Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | 07 May 2008, 21:04:53 UTC |
d9cadb0 | Russell King | 07 May 2008, 20:54:02 UTC | Merge branch 'irq-fix' of git://www.modarm9.com/gitsrc/pub/people/ukleinek/linux-2.6.git | 07 May 2008, 20:55:01 UTC |
592eb99 | Robert Jarzmik | 07 May 2008, 19:39:06 UTC | [ARM] 5032/1: Added cpufreq support for pxa27x CPU PXA cpus maximum frequency depends on the cpu (624 for pxa270, 520 for pxa272, 416 for pxa271). It should be provided on kernel or module start (cpu-pxa pxa27x_maxfreq parameter). Make use of cpufreq_frequency_table_cpuinfo (patch by Bill Reese provided by Philipp Zabel). Some additionnal fixes from Philipp Zabel include : * rename PXA cpufreq driver to reflect added PXA27x support * remove unused variable ramstart from PXA cpufreq driver Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com> Signed-off-by: Robert Jarzmik <rjarzmik@free.fr> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 07 May 2008, 20:47:40 UTC |
3679389 | Robert Jarzmik | 07 May 2008, 19:36:34 UTC | [ARM] 5031/1: Indentation correction in cpu-pxa.c. These indentation corrections prepare the pxa27x support. Signed-off-by: Robert Jarzmik <rjarzmik@free.fr> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 07 May 2008, 20:47:39 UTC |
ebdf982 | Guennadi Liakhovetski | 05 May 2008, 14:31:44 UTC | [ARM] 5028/1: pxafb: fix broken "backward compatibility way" in framebuffer configuration Commit 84f43c308b73a6a12128288721a1007ba4f1a8da "pxafb: introduce register independent LCD connection type for pxafb" implements compatibility mode for old style pxafb_mach_info initialization data wrongly, causing the system to Oops repeatedly - first during probe, then when drawing. Fix it and make pxafb_decode_mach_info void. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 07 May 2008, 20:47:37 UTC |
bdd0f5f | Davide Rizzo | 03 May 2008, 06:53:14 UTC | [ARM] 4882/2: Correction for S3C2410 clkout generation This is a correction for 2 small bugs for the Samsung S3C2410 ARM9 SoC clocks generator Signed-off-by: Davide Rizzo <davide@elpa.it> Acked-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | 07 May 2008, 20:44:43 UTC |
12137c5 | Stefan Roscher | 07 May 2008, 18:35:06 UTC | IB/ehca: Wait for async events to finish before destroying QP This is necessary because, in a multicore environment, a race between uverbs async handler and destroy QP could occur. Signed-off-by: Stefan Roscher <stefan.roscher at de.ibm.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 18:35:06 UTC |
ab69b3c | John Gregor | 07 May 2008, 18:01:10 UTC | IB/ipath: Fix SDMA error recovery in absence of link status change What's fixed: in ipath_cancel_sends() We need to unconditionally set ABORTING. So, swap the tests so the set_bit() isn't shadowed by the &&. If we've disarmed the piobufs, then we need to unconditionally set DISARMED. So, move it out from the overly protective if at the bottom. in sdma_abort_task() Abort_task was written knowing that the SDMA engine would always be reset (and restarted) on error. A recent change broke that fundamental assumption by taking the restart portion and making it conditional on a link status change. But, SDMA can go boom without a link status change in some conditions. Signed-off-by: John Gregor <john.gregor@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 18:01:10 UTC |
e2ab41c | Dave Olson | 07 May 2008, 18:00:15 UTC | IB/ipath: Need to always request and handle PIO avail interrupts Now that we always use PIO for vl15 on 7220, we could get stuck forever if we happened to run out of PIO buffers from the verbs code, because the setup code wouldn't run; the interrupt was also ignored if SDMA was supported. We also have to reduce the pio update threshold if we have fewer kernel buffers than the existing threshold. Clean up the initialization a bit to get ordering safer and more sensible, and use the existing ipath_chg_kernavail call to do init, rather than doing it separately. Drop unnecessary clearing of pio buffer on pio parity error. Drop incorrect updating of pioavailshadow when exitting freeze mode (software state may not match chip state if buffer has been allocated and not yet written). If we couldn't get a kernel buffer for a while, make sure we are in sync with hardware, mainly to handle the exitting freeze case. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 18:00:15 UTC |
2889d1e | Michael Albaugh | 07 May 2008, 17:59:23 UTC | IB/ipath: Fix count of packets received by kernel The loop in ipath_kreceive() that processes packets increments the loop-index 'i' once too often, because the exit condition does not depend on it, and is checked after the increment. By adding a check for !last to the iterator in the for loop, we correct that in a way that is not so likely to be re-broken by changes in the loop body. Signed-off-by: Michael Albaugh <micheal.albaugh@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 17:59:23 UTC |
2bfc8e9 | Ralph Campbell | 07 May 2008, 17:58:50 UTC | IB/ipath: Return the correct opcode for RDMA WRITE with immediate This patch fixes a bug in the RC responder which generates a completion entry with the wrong opcode when an RDMA WRITE with immediate is received. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 17:58:50 UTC |
b4d390d | Dave Olson | 07 May 2008, 17:57:48 UTC | IB/ipath: Fix bug that can leave sends disabled after freeze recovery The semantics of cancel_sends changed, but the code using it was missed. Don't leave sends and pioavail updates disabled, and add a comment as to why the force update is needed. Signed-off-by: Dave Olson <dave.olson@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 17:57:48 UTC |
6e87d15 | Ralph Campbell | 07 May 2008, 17:57:14 UTC | IB/ipath: Only increment SSN if WQE is put on send queue If a send work request has immediate errors and is not put on the send queue, we shouldn't update any of the QP state. The increment of the SSN wasn't obeying this. Signed-off-by: Ralph Campbell <ralph.campbell@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 17:57:14 UTC |
5f51efc | Michael Albaugh | 07 May 2008, 17:56:47 UTC | IB/ipath: Only warn about prototype chip during init We warn about prototype chips, but the function that checks for support is also called as a result of a get_portinfo request, which can clutter the logs. Restrict warning to only appear during initialization. Signed-off-by: Michael Albaugh <michael.albaugh@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com> | 07 May 2008, 17:56:47 UTC |
ffee025 | Randy Dunlap | 30 April 2008, 07:08:54 UTC | docbook: fix bio missing parameter Fix fs/bio.c kernel-doc parameter warning: Warning(linux-2.6.25-git14//fs/bio.c:972): No description found for parameter 'reading' Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 16:35:03 UTC |
67412f0 | Herbert Xu | 06 May 2008, 12:46:49 UTC | [CRYPTO] hmac: Avoid calling virt_to_page on key When HMAC gets a key longer than the block size of the hash, it needs to feed it as input to the hash to reduce it to a fixed length. As it is HMAC converts the key to a scatter and gather list. However, this doesn't work on certain platforms if the key is not allocated via kmalloc. For example, the keys from tcrypt are stored in the rodata section and this causes it to fail with HMAC on x86-64. This patch fixes this by copying the key to memory obtained via kmalloc before hashing it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> | 07 May 2008, 13:08:56 UTC |
eeae1d4 | Jens Axboe | 07 May 2008, 11:26:27 UTC | block: use unitialized_var() in bio_alloc_bioset() Better than setting idx to some random value and it silences the same bogus gcc warning. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 11:26:27 UTC |
e5e1d3c | Stas Sergeev | 07 May 2008, 10:39:56 UTC | pcspkr: fix dependancies fix pcspkr dependancies: make the pcspkr platform drivers to depend on a platform device, and not the other way around. Signed-off-by: Stas Sergeev <stsp@aknet.ru> Acked-by: Thomas Gleixner <tglx@linutronix.de> Acked-by: Dmitry Torokhov <dtor@mail.ru> CC: Vojtech Pavlik <vojtech@suse.cz> CC: Michael Opdenacker <michael-lists@free-electrons.com> [fixed for 2.6.26-rc1 by tiwai] Signed-off-by: Takashi Iwai <tiwai@suse.de> | 07 May 2008, 10:42:03 UTC |
5816339 | David S. Miller | 07 May 2008, 09:24:28 UTC | sparc: Fix mmap VA span checking. We should not conditionalize VA range checks on MAP_FIXED. Signed-off-by: David S. Miller <davem@davemloft.net> | 07 May 2008, 09:24:28 UTC |
28f1370 | Jens Axboe | 07 May 2008, 08:15:46 UTC | block: avoid duplicate calls to get_part() in disk stat code get_part() is fairly expensive, as it O(N) loops over partitions to find the right one. In lots of normal IO paths we end up looking up the partition twice, to make matters even worse. Change the stat add code to accept a passed in partition instead. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 08:15:46 UTC |
6d63c27 | Jens Axboe | 07 May 2008, 07:51:23 UTC | cfq-iosched: make io priorities inherit CPU scheduling class as well as nice We currently set all processes to the best-effort scheduling class, regardless of what CPU scheduling class they belong to. Improve that so that we correctly track idle and rt scheduling classes as well. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:51:23 UTC |
9afadc4 | Jan Kara | 06 May 2008, 16:26:17 UTC | udf: Fix memory corruption when fs mounted with noadinicb option When UDF filesystem is mounted with noadinicb mount option, it happens that we extend an empty directory with a block. A code in udf_add_entry() didn't count with this possibility and used uninitialized data leading to memory and filesystem corruption. Add a check whether file already has some extents before operating on them. Signed-off-by: Jan Kara <jack@suse.cz> | 07 May 2008, 07:49:52 UTC |
221e583 | Rasmus Rohde | 30 April 2008, 15:22:06 UTC | udf: Make udf exportable Cc: Christoph Hellwig <hch@infradead.org> Signed-off-by: Rasmus Rohde <rohde@duff.dk> Signed-off-by: Jan Kara <jack@suse.cz> | 07 May 2008, 07:48:23 UTC |
dbaf2c0 | Jens Axboe | 07 May 2008, 07:48:17 UTC | block: optimize generic_unplug_device() Original patch from Mikulas Patocka <mpatocka@redhat.com> Mike Anderson was doing an OLTP benchmark on a computer with 48 physical disks mapped to one logical device via device mapper. He found that there was a slowdown on request_queue->lock in function generic_unplug_device. The slowdown is caused by the fact that when some code calls unplug on the device mapper, device mapper calls unplug on all physical disks. These unplug calls take the lock, find that the queue is already unplugged, release the lock and exit. With the below patch, performance of the benchmark was increased by 18% (the whole OLTP application, not just block layer microbenchmarks). So I'm submitting this patch for upstream. I think the patch is correct, because when more threads call simultaneously plug and unplug, it is unspecified, if the queue is or isn't plugged (so the patch can't make this worse). And the caller that plugged the queue should unplug it anyway. (if it doesn't, there's 3ms timeout). Signed-off-by: Mikulas Patocka <mpatocka@redhat.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:48:17 UTC |
2cdf79c | Jens Axboe | 07 May 2008, 07:33:55 UTC | block: get rid of likely/unlikely predictions in merge logic They tend to depend a lot on the workload, so not a clear-cut likely or unlikely fit. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:33:55 UTC |
7f3d4ee | Miklos Szeredi | 07 May 2008, 07:22:39 UTC | vfs: splice remove_suid() cleanup generic_file_splice_write() duplicates remove_suid() just because it doesn't hold i_mutex. But it grabs i_mutex inside splice_from_pipe() anyway, so this is rather pointless. Move locking to generic_file_splice_write() and call remove_suid() and __splice_from_pipe() instead. Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:29:00 UTC |
07416d2 | Jens Axboe | 07 May 2008, 07:17:12 UTC | cfq-iosched: fix RCU race in the cfq io_context destructor handling put_io_context() drops the RCU read lock before calling into cfq_dtor(), however we need to hold off freeing there before grabbing and dereferencing the first object on the list. So extend the rcu_read_lock() scope to cover the calling of cfq_dtor(), and optimize cfq_free_io_context() to use a new variant for call_for_each_cic() that assumes the RCU read lock is already held. Hit in the wild by Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:28:57 UTC |
aa94b53 | Jens Axboe | 07 May 2008, 07:27:43 UTC | block: adjust tagging function queue bit locking For most initialization purposes, calling blk_queue_init_tags() without the queue lock held is OK. Only if called for resizing an existing map must the lock be held. Ditto for tag cleanup, the maps are reference counted. So switch the general queue flag setting to the unlocked variant, but retain the locked variant for resizing. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:27:43 UTC |
45e576b | Martin Schwidefsky | 07 May 2008, 07:22:59 UTC | [S390] guest page hinting light Use the existing arch_alloc_page/arch_free_page callbacks to do the guest page state transitions between stable and unused. Acked-by: Rik van Riel <riel@redhat.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:02 UTC |
74c76c8 | Heiko Carstens | 07 May 2008, 07:22:58 UTC | [S390] tty3270: fix put_char fail/success conversion. The wrong function got coverted ;) CC drivers/s390/char/tty3270.o drivers/s390/char/tty3270.c:1747: warning: initialization from incompatible pointer type Acked-by: Alan Cox <alan@redhat.com> Cc: Peter Oberparleiter <peter.oberparleiter@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:02 UTC |
b499d76 | Roland McGrath | 07 May 2008, 07:22:57 UTC | [S390] compat ptrace cleanup This removes redundant arch code for generic ptrace requests already handled by ptrace_request and compat_ptrace_request. It simplifies things to just have the standard entry points, and use the generic compat_sys_ptrace. Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:02 UTC |
c6ca185 | Martin Schwidefsky | 07 May 2008, 07:22:56 UTC | [S390] s390mach compile warning Fix the following compile warning: drivers/s390/s390mach.c: In function 's390_collect_crw_info': drivers/s390/s390mach.c:77: warning: ignoring return value of 'down_interruptibl Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:02 UTC |
5b89098 | Michael Ernst | 07 May 2008, 07:22:55 UTC | [S390] cio: Fix parsing mechanism for blacklisted devices. New format cssid.ssid.devno is now parsed correctly. Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:01 UTC |
139b83d | Michael Ernst | 07 May 2008, 07:22:54 UTC | [S390] cio: Remove cio_msg kernel parameter. The only sporadically used CIO_DEBUG messages are replaced by ordinary CIO_MSG_EVENT messages. The CIO_MSG_EVENT messages debug levels are consolidated. Signed-off-by: Michael Ernst <mernst@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:01 UTC |
0eaeafa | Christian Borntraeger | 07 May 2008, 07:22:53 UTC | [S390] s390-kvm: leave sie context on work. Removes preemption requirement From: Martin Schwidefsky <schwidefsky@de.ibm.com> This patch fixes a bug with cpu bound guest on kvm-s390. Sometimes it was impossible to deliver a signal to a spinning guest. We used preemption as a circumvention. The preemption notifiers called vcpu_load, which checked for pending signals and triggered a host intercept. But even with preemption, a sigkill was not delivered immediately. This patch changes the low level host interrupt handler to check for the SIE instruction, if TIF_WORK is set. In that case we change the instruction pointer of the return PSW to rerun the vcpu_run loop. The kvm code sees an intercept reason 0 if that happens. This patch adds accounting for these types of intercept as well. The advantages: - works with and without preemption - signals are delivered immediately - much better host latencies without preemption Acked-by: Carsten Otte <cotte@de.ibm.com> Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:01 UTC |
2688905 | Martin Schwidefsky | 07 May 2008, 07:22:52 UTC | [S390] s390: Optimize user and work TIF check On return from syscall or interrupt, we have to check if we return to userspace (likely) and if there is work todo (less likely) to decide if we handle the work. We can optimize this check: we first check for the less likely work case and then check for userspace. This patch is also a preparation for an additional patch, that fixes a bug in KVM dealing with cpu bound guests. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> | 07 May 2008, 07:23:00 UTC |
bf0f970 | Jens Axboe | 07 May 2008, 07:09:39 UTC | block: sysfs store function needs to grab queue_lock and use queue_flag_*() Concurrency isn't a big deal here since we have requests in flight at this point, but do the locked variant to set a better example. Signed-off-by: Jens Axboe <jens.axboe@oracle.com> | 07 May 2008, 07:09:39 UTC |
45828b8 | Mike Frysinger | 07 May 2008, 03:41:26 UTC | Blackfin Serial Driver: abstract away DLAB differences into header Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
89bf6dc | Mike Frysinger | 07 May 2008, 03:41:26 UTC | Blackfin Serial Driver: macro away the IER differences between processors Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
56f8771 | Michael Hennerich | 09 May 2008, 16:11:59 UTC | [Blackfin] arch: remove useless IRQ_SW_INT defines IRQ_SW_INT1 and IRQ_SW_INT2 obsolete: Remove useless defines Fix SYS_IRQS Keep numbering scheme, so we don't break existing configurations. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 09 May 2008, 16:11:59 UTC |
e4f7c0b | Mike Frysinger | 09 May 2008, 16:08:12 UTC | [Blackfin] arch: protect linux/usb/musb.h include until the driver gets mainlined Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 09 May 2008, 16:08:12 UTC |
b964c59 | Mike Frysinger | 09 May 2008, 16:06:10 UTC | [Blackfin] arch: protect linux/usb/isp1362.h include until the driver gets mainlined Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 09 May 2008, 16:06:10 UTC |
197fba5 | Michael Hennerich | 07 May 2008, 09:03:27 UTC | [Blackfin] arch: add EBIU supporting for BF54x EZKIT SMSC LAN911x/LAN921x families embedded ethernet driver Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 09:03:27 UTC |
d732369 | Grace Pan | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: Set spi flash partition on bf527 as like bf548. Signed-off-by: Grace Pan <grace.pan@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
96a87e2 | Meihui Fan | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: fix bug - Remove module will not free L1 memory used Remove module will not free L1 memory used which caused by memory access after free. This patch fixes it. Signed-off-by: Meihui Fan <mhfan@hhcn.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
60c0595 | Mike Frysinger | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: fix wrong header name in comment Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
b9c9e78 | Michael Hennerich | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: Fix BUG - spi flash on bf527 ezkit would fail at mount BF527-EZKit features 16MBit M25P16 flash Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
7226868 | Bryan Wu | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: add twi_lcd and twi_keypad i2c board info to bf527-ezkit - JP3 should be installed for STAMP enable - IRQ for twi_keypad driver is IRQ_PF8 Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |
d7e5dd4 | Michael Hennerich | 07 May 2008, 03:41:26 UTC | [Blackfin] arch: Add physmap partition for BF527-EZkit Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> | 07 May 2008, 03:41:26 UTC |