OpenVZ-legacy
  1. OpenVZ-legacy

linux-2.6.32-openvz

Public
AuthorCommitMessageCommit dateIssues
Pavel EmelyanovPavel Emelyanov
d38b56fd0dcOpenVZ kernel 2.6.32-dobrovolskiy releasedNamed after Georgiy Timofeyevich Dobrovolskiy - a soviet cosmonaut Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
097aad239bavzevent: Don't use KOBJ_XXX constants any longer.Introduce our own ones, since their usage is internal. Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
3a07627d33evzevent: Compilation fixes on 2.6.32Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Vitaliy GusevPavel EmelyanovVitaliy Gusev
dda56ffbc30vzevent: Hook the module into Kconfig and MakefileSigned-off-by: Vitaly Gusev <vgusev@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Vitaliy GusevPavel EmelyanovVitaliy Gusev
8b0dcdfb715vzevent: add "reboot_event" parameter to the vzevent moduleBy default "reboot_event" parameter is 0. This means that no any reboot events are send to userspace and only "STOP" event. To get "reboot" events set this parameter to 1. Signed-off-by: Vitaly Gusev <vgusev@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Vitaliy GusevPavel EmelyanovVitaliy Gusev
092221b382avzevent: Add "ve-reboot" eventNow userspace may receive "ve-reboot@VEID" message Signed-off-by: Vitaly Gusev <vgusev@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Vitaliy GusevPavel EmelyanovVitaliy Gusev
850fa8377c6vzevent: Don't NULL dereferenceNow all actions are in a "switch", but what if some action will be missed? Signed-off-by: Vitaly Gusev <vgusev@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
03263888e35MMerged linux-2.6.32.21Conflicts: Makefile Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Greg Kroah-HartmanGreg Kroah-Hartman
671e83b9a0cLinux 2.6.32.21
Kerstin JonssonGreg Kroah-HartmanKerstin Jonsson
82c09de9159x86, apic: ack all pending irqs when crashed/on kexeccommit 8c3ba8d049247dc06b6dcee1711a11b26647aa44 upstream. When the SMP kernel decides to crash_kexec() the local APICs may have pending interrupts in their vector tables. The setup routine for the local APIC has a deficient mechanism for clearing these interrupts, it only handles interrupts that has already been dispatched to the local core for servicing (the ISR register) safely, it doesn't ...
Galen SeitzGreg Kroah-HartmanGalen Seitz
6d92b8b460bUSB: ftdi_sio: add product ID for Lenz LI-USBcommit ea233f805537f5da16c2b34d85b6c5cf88a0f9aa upstream. Add ftdi product ID for Lenz LI-USB, a model train interface. This was NOT tested against 2.6.35, but a similar patch was tested with the CentOS 2.6.18-194.11.1.el5 kernel. It wasn't clear to me what ordering is being used in ftdi_sio.c, so I inserted the ID after another model train entry(SPROG_II). Signed-off-by: Galen Seitz <galen...
Martin MichlmayrGreg Kroah-HartmanMartin Michlmayr
9368b48c9aeUSB: ftdi_sio: Add ID for Ionics PlugComputercommit 666cc076d284e32d11bfc5ea2fbfc50434cff051 upstream. Add the ID for the Ionics PlugComputer (<http://ionicsplug.com/>). Signed-off-by: Martin Michlmayr <tbm@cyrius.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
John YounGreg Kroah-HartmanJohn Youn
79a31466eeaUSB: xhci: Remove buggy assignment in next_trb()commit a1669b2c64a9c8b031e0ac5cbf2692337a577f7c upstream. The code to increment the TRB pointer has a slight ambiguity that could lead to a bug on different compilers. The ANSI C specification does not specify the precedence of the assignment operator over the postfix operator. gcc 4.4 produced the correct code (increment the pointer and assign the value), but a MIPS compiler that one of Joh...
Greg Kroah-HartmanGreg Kroah-Hartman
fecc5667a90USB: io_ti: check firmware version before updatingcommit 0827a9ff2bbcbb03c33f1a6eb283fe051059482c upstream. If we can't read the firmware for a device from the disk, and yet the device already has a valid firmware image in it, we don't want to replace the firmware with something invalid. So check the version number to be less than the current one to verify this is the correct thing to do. Reported-by: Chris Beauchamp <chris@chillibean.tv> ...
Michael WileczkaGreg Kroah-HartmanMichael Wileczka
c913aa09581USB: ftdi_sio: fix endianess of max packet sizecommit d1ab903d2552b2362339b19203c7f01c797cb316 upstream. The USB max packet size (always little-endian) was not being byte swapped on big-endian systems. Applicable since [USB: ftdi_sio: fix hi-speed device packet size calculation] approx 2.6.31 Signed-off-by: Michael Wileczka <mikewileczka@yahoo.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Craig ShelleyGreg Kroah-HartmanCraig Shelley
c4f36c926f9USB: CP210x Fix Break On/Offcommit 72916791cbeb9cc607ae620cfba207dea481cd76 upstream. The definitions for BREAK_ON and BREAK_OFF are inverted, causing break requests to fail. This patch sets BREAK_ON and BREAK_OFF to the correct values. Signed-off-by: Craig Shelley <craig@microtron.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jef DriesenGreg Kroah-HartmanJef Driesen
bb0b252d204USB: pl2303: New vendor and product idcommit f36ecd5de93e4c85a9e3d25100c6e233155b12e5 upstream. Add support for the Zeagle N2iTiON3 dive computer interface. Since Zeagle devices are actually manufactured by Seiko, this patch will support other Seiko based models as well. Signed-off-by: Jef Driesen <jefdriesen@telenet.be> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ross BurtonGreg Kroah-HartmanRoss Burton
d7fc7d33de9USB: add device IDs for igotu to navmancommit 0eee6a2b2a52e17066a572d30ad2805d3ebc7508 upstream. I recently bought a i-gotU USB GPS, and whilst hunting around for linux support discovered this post by you back in 2009: http://kerneltrap.org/mailarchive/linux-usb/2009/3/12/5148644 >Try the navman driver instead. You can either add the device id to the > driver and rebuild it, or do this before you plug the device in: > modprobe ...GT-600
Michael TokarevGreg Kroah-HartmanMichael Tokarev
d73b37f4237USB: option: add Celot CT-650commit 76078dc4fc389185fe467d33428f259ea9e69807 upstream. Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>CT-650
Anatolij GustschinGreg Kroah-HartmanAnatolij Gustschin
48148a7bbe7powerpc: Fix typo in uImage targetcommit c686ecf5040d287a68d4fca7f1948472f556a6d3 upstream. Commit e32e78c5ee8aadef020fbaecbe6fb741ed9029fd (powerpc: fix build with make 3.82) introduced a typo in uImage target and broke building uImage: make: *** No rule to make target `uImage'. Stop. Signed-off-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Greg Kroah...
Dave AirlieGreg Kroah-HartmanDave Airlie
2bf659d8fe2drm: stop information leak of old kernel stack.commit b9f0aee83335db1f3915f4e42a5e21b351740afd upstream. non-critical issue, CVE-2010-2803 Userspace controls the amount of memory to be allocate, so it can get the ioctl to allocate more memory than the kernel uses, and get access to kernel stack. This can only be done for processes authenticated to the X server for DRI access, and if the user has DRI access. Fix is to just memset the data...CVE-2010
Alex DeucherGreg Kroah-HartmanAlex Deucher
cbe351a4e74drm/radeon/kms: fix typo in radeon_compute_pll_gaincommit 0537398b211b4f040564beec458e23571042d335 upstream. Looks like this got copied from the ddx wrong. Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Alex Deucher <alexdeucher@gmail.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Johannes BergGreg Kroah-HartmanJohannes Berg
521f4161abenetlink: fix compat recvmsgcommit 68d6ac6d2740b6a55f3ae92a4e0be6d881904b32 upstream. Since commit 1dacc76d0014a034b8aca14237c127d7c19d7726 Author: Johannes Berg <johannes@sipsolutions.net> Date: Wed Jul 1 11:26:02 2009 +0000 net/compat/wext: send different messages to compat tasks we had a race condition when setting and then restoring frag_list. Eric attempted to fix it, but the fix created even worse problems....
Daniel T ChenGreg Kroah-HartmanDaniel T Chen
6050ea567c8ALSA: intel8x0: Mute External Amplifier by default for ThinkPad X31commit 9c77b846ec8b4e0c7107dd7f820172462dc84a61 upstream. BugLink: https://bugs.launchpad.net/bugs/619439 This ThinkPad model needs External Amplifier muted for audible playback, so set the inv_eapd quirk for it. Reported-and-tested-by: Dennis Bell <dennis.bell@parkerg.co.uk> Signed-off-by: Daniel T Chen <crimsun@ubuntu.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kro...
Jan BeulichGreg Kroah-HartmanJan Beulich
f4639cb64cdfixes for using make 3.82commit 3c955b407a084810f57260d61548cc92c14bc627 upstream. It doesn't like pattern and explicit rules to be on the same line, and it seems to be more picky when matching file (or really directory) names with different numbers of trailing slashes. Signed-off-by: Jan Beulich <jbeulich@novell.com> Acked-by: Sam Ravnborg <sam@ravnborg.org> Andrew Benton <b3nton@gmail.com> Signed-off-by: Michal Mar...
Josh HuntGreg Kroah-HartmanJosh Hunt
dbf43901095oprofile: add support for Intel processor model 30commit a7c55cbee0c1bae9bf5a15a08300e91d88706e45 upstream. Newer Intel processors identifying themselves as model 30 are not recognized by oprofile. <cpuinfo snippet> model : 30 model name : Intel(R) Xeon(R) CPU X3470 @ 2.93GHz </cpuinfo snippet> Running oprofile on these machines gives the following: + opcontrol --init + opcontrol --list-events oprofile: available e...IA-32
John VillalovosGreg Kroah-HartmanJohn Villalovos
1f6fe3f5ca2Oprofile: Change CPUIDS from decimal to hex, and add some commentscommit 45c34e05c4e3d36e7c44e790241ea11a1d90d54e upstream. Back when the patch was submitted for "Add Xeon 7500 series support to oprofile", Robert Richter had asked for a followon patch that converted all the CPU ID values to hex. I have done that here for the "i386/core_i7" and "i386/atom" class processors in the ppro_init() function and also added some comments on where to find documentatio...
Akinobu MitaGreg Kroah-HartmanAkinobu Mita
7143258b15bext4: consolidate in_range() definitionscommit 731eb1a03a8445cde2cb23ecfb3580c6fa7bb690 upstream. There are duplicate macro definitions of in_range() in mballoc.h and balloc.c. This consolidates these two definitions into ext4.h, and changes extents.c to use in_range() as well. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Andreas Dilger <adilger@sun.com> Signed-off-by: Gre...
Dominik BrodowskiGreg Kroah-HartmanDominik Brodowski
47084480bf6pcmcia: avoid buffer overflow in pcmcia_setup_isa_irqcommit 127c03cdbad9bd5af5d7f33bd31a1015a90cb77f upstream. NR_IRQS may be as low as 16, causing a (harmless?) buffer overflow in pcmcia_setup_isa_irq(): static u8 pcmcia_used_irq[NR_IRQS]; ... if ((try < 32) && pcmcia_used_irq[irq]) continue; This is read-only, so if this address would be non-zero, it would just mean we would not attempt an IRQ >= NR_IRQS -- which would fail anyway! An...
Wu FengguangGreg Kroah-HartmanWu Fengguang
94739dc4e2dvmscan: raise the bar to PAGEOUT_IO_SYNC stallscommit e31f3698cd3499e676f6b0ea12e3528f569c4fa3 upstream. Fix "system goes unresponsive under memory pressure and lots of dirty/writeback pages" bug. http://lkml.org/lkml/2010/4/4/86 In the above thread, Andreas Mohr described that Invoking any command locked up for minutes (note that I'm talking about attempted additional I/O to the _other_, _unaffected_ main system HDD - such as loadi...
Changli GaoGreg Kroah-HartmanChangli Gao
65412a7bcdcact_nat: the checksum of ICMP doesn't have pseudo header[ Upstream commit 3a3dfb062c2e086c202d34f09ce29634515ad256 ] after updating the value of the ICMP payload, inet_proto_csum_replace4() should be called with zero pseudohdr. Signed-off-by: Changli Gao <xiaosuo@gmail.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Dan CarpenterGreg Kroah-HartmanDan Carpenter
5ed2fa21d26isdn: fix information leak[ Upstream commit 4b030d4288a569d6bdeca884d7f102d951f097f2 ] The main motivation of this patch changing strcpy() to strlcpy(). We strcpy() to copy a 48 byte buffers into a 49 byte buffers. So at best the last byte has leaked information, or maybe there is an overflow? Anyway, this patch closes the information leaks by zeroing the memory and the calls to strlcpy() prevent overflows. Signed-o...
Oliver HartkoppGreg Kroah-HartmanOliver Hartkopp
c99204b3a44can: add limit for nframes and clean up signed/unsigned variables[ Upstream commit 5b75c4973ce779520b9d1e392483207d6f842cde ] This patch adds a limit for nframes as the number of frames in TX_SETUP and RX_SETUP are derived from a single byte multiplex value by default. Use-cases that would require to send/filter more than 256 CAN frames should be implemented in userspace for complexity reasons anyway. Additionally the assignments of unsigned values from us...
Jarek PoplawskiGreg Kroah-HartmanJarek Poplawski
28917a02809net: Fix a memmove bug in dev_gro_receive()[ Upstream commit e5093aec2e6b60c3df2420057ffab9ed4a6d2792 ] >Xin Xiaohui wrote: > I looked into the code dev_gro_receive(), found the code here: > if the frags[0] is pulled to 0, then the page will be released, > and memmove() frags left. > Is that right? I'm not sure if memmove do right or not, but > frags[0].size is never set after memove at least. what I think > a simple way is not to do a...
David S. MillerGreg Kroah-HartmanDavid S. Miller
0aa3582369dsparc64: Fix atomic64_t routine return values.[ Upstream commits 86fa04b8742ac681d470786f55e2403ada0075b2 and b10f997bb0f4e5b34d447f498fb85834a40d3acb ] Should return 'long' instead of 'int'. Thanks to Dimitris Michailidis and Tony Luck. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David S. MillerGreg Kroah-HartmanDavid S. Miller
2a8b12bde3csparc64: Fix rwsem constant bug leading to hangs.[ Upstream commit ef201bebe5afc91a2b99b45dacc8c6dd88ca9e58 ] As noticed by Linus, it is critical that some of the rwsem constants be signed. Yet, hex constants are unsigned unless explicitly casted or negated. The most critical one is RWSEM_WAITING_BIAS. This bug was exacerbated by commit 424acaaeb3a3932d64a9b4bd59df6cf72c22d8f3 ("rwsem: wake queued readers when writer blocks on active read...
David S. MillerGreg Kroah-HartmanDavid S. Miller
89400a1849csparc64: Add missing ID to parport probing code.[ Upstream commit bf8253bf5e7cfe17dd53e3f6340a45b11d9fb51c ] SunBlade-2500 has 'parallel' device node with compatible property "pnpALI,1533,3" so add that to the ID table. Reported-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
David S. MillerGreg Kroah-HartmanDavid S. Miller
9614ee59f8fsunxvr500: Ignore secondary output PCI devices.[ Upstream commit bdd32ce95f79fb5cc964cd789d7ae4500bba7c6f ] These just represent the secondary and further heads attached to the card, and they have different sets of PCI bar registers to map. So don't try to drive them in the main driver. Reported-by: Frans van Berckel <fberckel@xs4all.nl> Tested-by: Frans van Berckel <fberckel@xs4all.nl> Signed-off-by: David S. Miller <davem@davemloft.net...
Carsten OtteGreg Kroah-HartmanCarsten Otte
56c1312f85cslab: fix object alignmentcommit 1ab335d8f85792e3b107ff8237d53cf64db714df upstream. This patch fixes alignment of slab objects in case CONFIG_DEBUG_PAGEALLOC is active. Before this spot in kmem_cache_create, we have this situation: - align contains the required alignment of the object - cachep->obj_offset is 0 or equals align in case of CONFIG_DEBUG_SLAB - size equals the size of the object, or object plus trailing red...
Linus TorvaldsGreg Kroah-HartmanLinus Torvalds
93f48e548badrm/i915: add 'reclaimable' to i915 self-reclaimable page allocationscommit cd9f040df6ce46573760a507cb88192d05d27d86 upstream. The hibernate issues that got fixed in commit 985b823b9192 ("drm/i915: fix hibernation since i915 self-reclaim fixes") turn out to have been incomplete. Vefa Bicakci tested lots of hibernate cycles, and without the __GFP_RECLAIMABLE flag the system eventually fails to resume. With the flag added, Vefa can apparently hibernate forever ...
Linus TorvaldsGreg Kroah-HartmanLinus Torvalds
9c333fdeca8drm/i915: fix hibernation since i915 self-reclaim fixescommit 985b823b919273fe1327d56d2196b4f92e5d0fae upstream. Since commit 4bdadb9785696439c6e2b3efe34aa76df1149c83 ("drm/i915: Selectively enable self-reclaim"), we've been passing GFP_MOVABLE to the i915 page allocator where we weren't before due to some over-eager removal of the page mapping gfp_flags games the code used to play. This caused hibernate on Intel hardware to result in a lot of me...
Linus TorvaldsGreg Kroah-HartmanLinus Torvalds
42fd8fdce2dmm: make stack guard page logic use vm_prev pointercommit 0e8e50e20c837eeec8323bba7dcd25fe5479194c upstream. Like the mlock() change previously, this makes the stack guard check code use vma->vm_prev to see what the mapping below the current stack is, rather than have to look it up with find_vma(). Also, accept an abutting stack segment, since that happens naturally if you split the stack with mlock or mprotect. Tested-by: Ian Campbell <ijc@...
Linus TorvaldsGreg Kroah-HartmanLinus Torvalds
b3ef5ce3d1bmm: make the mlock() stack guard page checks strictercommit 7798330ac8114c731cfab83e634c6ecedaa233d7 upstream. If we've split the stack vma, only the lowest one has the guard page. Now that we have a doubly linked list of vma's, checking this is trivial. Tested-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Linus TorvaldsGreg Kroah-HartmanLinus Torvalds
378776c287cmm: make the vma list be doubly linkedcommit 297c5eee372478fc32fec5fe8eed711eedb13f3d upstream. It's a really simple list, and several of the users want to go backwards in it to find the previous vma. So rather than have to look up the previous entry with 'find_vma_prev()' or something similar, just make it doubly linked instead. Tested-by: Ian Campbell <ijc@hellion.org.uk> Signed-off-by: Linus Torvalds <torvalds@linux-foundatio...
Kiyoshi UedaGreg Kroah-HartmanKiyoshi Ueda
d1a2ec482cfdm ioctl: release _hash_lock between devices in remove_allcommit 98f332855effef02aeb738e4d62e9a5b903c52fd upstream. This patch changes dm_hash_remove_all() to release _hash_lock when removing a device. After removing the device, dm_hash_remove_all() takes _hash_lock and searches the hash from scratch again. This patch is a preparation for the next patch, which changes device deletion code to wait for md reference to be 0. Without this patch, the w...
Alasdair G KergonGreg Kroah-HartmanAlasdair G Kergon
605a37bcc6fdm mpath: fix NULL pointer dereference when path parameters missingcommit 6bbf79a14080a0c61212f53b4b87dc1a99fedf9c upstream. multipath_ctr() forgets to return an error after detecting missing path parameters. Fix this. Signed-off-by: Patrick LoPresti <lopresti@gmail.com> Signed-off-by: Alasdair G Kergon <agk@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Chris WilsonGreg Kroah-HartmanChris Wilson
592de9cc7e8drm/i915/edp: Flush the write before waiting for PLLscommit 5ddb954b9ee50824977d2931e0ff58b3050b337d upstream. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Eric Anholt <eric@anholt.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Axel LinGreg Kroah-HartmanAxel Lin
dbd7e1896a8pxa3xx: fix ns2cycle equationcommit 93b352fce679945845664b56b0c3afbd655a7a12 upstream. Test on a PXA310 platform with Samsung K9F2G08X0B NAND flash, with tCH=5 and clk is 156MHz, ns2cycle(5, 156000000) returns -1. ns2cycle returns negtive value will break NDTR0_tXX macros. After checking the commit log, I found the problem is introduced by commit 5b0d4d7c8a67c5ba3d35e6ceb0c5530cc6846db7 "[MTD] [NAND] pxa3xx: convert fro...
Maxim LevitskyGreg Kroah-HartmanMaxim Levitsky
f66f3573eb7ath5k: disable ASPM L0s for all cardscommit 6ccf15a1a76d2ff915cdef6ae4d12d0170087118 upstream. Atheros PCIe wireless cards handled by ath5k do require L0s disabled. For distributions shipping with CONFIG_PCIEASPM (this will be enabled by default in the future in 2.6.36) this will also mean both L1 and L0s will be disabled when a pre 1.1 PCIe device is detected. We do know L1 works correctly even for all ath5k pre 1.1 PCIe devices...
Patrick J. LoPrestiGreg Kroah-HartmanPatrick J. LoPresti
c122d01cbe3nfs: Add "lookupcache" to displayed mount optionscommit 9b00c64318cc337846a7a08a5678f5f19aeff188 upstream. Running "cat /proc/mounts" fails to display the "lookupcache" option. This oversight cost me a bunch of wasted time recently. The following simple patch fixes it. Signed-off-by: Patrick LoPresti <lopresti@gmail.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>