OpenVZ-legacy
  1. OpenVZ-legacy

linux-2.6.32-openvz

Public
AuthorCommitMessageCommit dateIssues
Pavel EmelyanovPavel Emelyanov
796e80e5b2eOpenVZ kernel 2.6.32-afanasyev releasedNamed after Viktor Mikhailovich Afanasyev - a Russian cosmonaut.
Pavel EmelyanovPavel Emelyanov
97ae2f923c1net: Virtualize tcp orphan count backThis oopsed before the previous fix. Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
5ae2ad90d7bbc: Don't re-initialize BC after orphan count allocaitonAnd do a small code rework. http://bugzilla.openvz.org/show_bug.cgi?id=1471 Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
1a8072e88d5mm: Don't charge failed allocaitonI.e. don't oops :\ Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
f27cf7344f6Compilation fix for ftraceSigned-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
026c0e96af2cpt: Add support for sit, ipip and ipgre tunnels.These patches were dropped during port on 2.6.26 (!) and now it's time to resurrect them. Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
db266821b6cve: Get rid of ksyms completelyThe last user of it (do_env_free) is easy due to module refcounting kinda working properly ;) Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Cyrill GorcunovPavel EmelyanovCyrill Gorcunov
69309430a02iptables: rework module management in VE v3Most of xt_ tables are per-net compatible so there is no need to put an access restriction on them from a VE. Typically we need to restrict access to certan netfilter tables: "nat", "forward", "mangle" and "conntrack". Note the "conntrack" is not covered by this patch yet, ie it's allowed in VE regardless the VE configuration. Technical details of the patch 1) nfcalls.h is almost completel...
Pavel EmelyanovPavel Emelyanov
d95919fda88config: Disable DEVTMPFShttp://bugzilla.openvz.org/show_bug.cgi?id=1469 Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
f492a501394printk: Don't forget to reset printk_cpuhttp://bugzilla.openvz.org/show_bug.cgi?id=1460 Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Pavel EmelyanovPavel Emelyanov
e3b97ad1f30MMerge 2.6.32.10 from git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-2.6.32.yConflicts: Makefile fs/namei.c Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Greg Kroah-HartmanGreg Kroah-Hartman
dd49f626380Linux 2.6.32.10
Ian CampbellGreg Kroah-HartmanIan Campbell
1942aeab7aex86, mm: Allow highmem user page tables to be disabled at boot timecommit 14315592009c17035cac81f4954d5a1f4d71e489 upstream. Distros generally (I looked at Debian, RHEL5 and SLES11) seem to enable CONFIG_HIGHPTE for any x86 configuration which has highmem enabled. This means that the overhead applies even to machines which have a fairly modest amount of high memory and which therefore do not really benefit from allocating PTEs in high memory but still pay the...
Thomas GleixnerGreg Kroah-HartmanThomas Gleixner
04833a6a2ddsched: Don't use possibly stale sched_classcommit 83ab0aa0d5623d823444db82c3b3c34d7ec364ae upstream. setscheduler() saves task->sched_class outside of the rq->lock held region for a check after the setscheduler changes have become effective. That might result in checking a stale value. rtmutex_setprio() has the same problem, though it is protected by p->pi_lock against setscheduler(), but for correctness sake (and to avoid bad example...
Suresh SiddhaGreg Kroah-HartmanSuresh Siddha
76d07136250sched: Fix SMT scheduler regression in find_busiest_queue()commit 9000f05c6d1607f79c0deacf42b09693be673f4c upstream. Fix a SMT scheduler performance regression that is leading to a scenario where SMT threads in one core are completely idle while both the SMT threads in another core (on the same socket) are busy. This is caused by this commit (with the problematic code highlighted) commit bdb94aa5dbd8b55e75f5a50b61312fe589e2c2d1 Author: Peter Z...
Vaidyanathan SrinivasanGreg Kroah-HartmanVaidyanathan Srinivasan
d9d9736709asched: Fix sched_mv_power_savings for !SMTcommit 28f5318167adf23b16c844b9c2253f355cb21796 upstream. Fix for sched_mc_powersavigs for pre-Nehalem platforms. Child sched domain should clear SD_PREFER_SIBLING if parent will have SD_POWERSAVINGS_BALANCE because they are contradicting. Sets the flags correctly based on sched_mc_power_savings. Signed-off-by: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com> Signed-off-by: Peter Zijlstra...
Gleb NatapovGreg Kroah-HartmanGleb Natapov
0e352d472aeKVM: x86 emulator: Check CPL level during privilege instruction emulationcommit e92805ac1228626c59c865f2f4e9059b9fb8c97b upstream. Add CPL checking in case emulator is tricked into emulating privilege instruction from userspace. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Gleb NatapovGreg Kroah-HartmanGleb Natapov
9a93be43df4KVM: x86 emulator: Add group9 instruction decodingcommit 60a29d4ea4e7b6b95d9391ebc8625b0426f3a363 upstream. Use groups mechanism to decode 0F C7 instructions. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Gleb NatapovGreg Kroah-HartmanGleb Natapov
3e338f53281KVM: x86 emulator: Forbid modifying CS segment register by mov instructioncommit 8b9f44140bc4afd2698413cd9960c3912168ee91 upstream. Inject #UD if guest attempts to do so. This is in accordance to Intel SDM. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Gleb NatapovGreg Kroah-HartmanGleb Natapov
89412b0b75eKVM: x86 emulator: Add group8 instruction decodingcommit 2db2c2eb6226e30f8059b82512a1364db98da8e3 upstream. Use groups mechanism to decode 0F BA instructions. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Mikulas PatockaGreg Kroah-HartmanMikulas Patocka
f23fb645ee5dm: free dm_io before bio_endio not aftercommit a97f925a32aad2a37971d7bfb657006acf04e42d upstream. Free the dm_io structure before calling bio_endio() instead of after it, to ensure that the io_pool containing it is not referenced after it is freed. This partially fixes a problem described here https://www.redhat.com/archives/dm-devel/2010-February/msg00109.html thread 1: bio_endio(bio, io_error); /* scheduling happens */ th...
Trond MyklebustGreg Kroah-HartmanTrond Myklebust
f7081342919NFS: Fix an allocation-under-spinlock bugcommit ebed9203b68a4f333ce5d17e874b26c3afcfeff1 upstream. sunrpc_cache_update() will always call detail->update() from inside the detail->hash_lock, so it cannot allocate memory. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
James HoganGreg Kroah-HartmanJames Hogan
b8e5ba11fc0rtc-coh901331: fix braces in resume codecommit 5a98c04d78c896d52baef20ffc11f6d1ba6eb786 upstream. The else part of the if statement is indented but does not have braces around it. It clearly should since it uses clk_enable and clk_disable which are supposed to balance. Signed-off-by: James Hogan <james@albanarts.com> Acked-by: Linus Walleij <linus.walleij@stericsson.com> Acked-by: Alessandro Zummo <a.zummo@towertech.it> Signed-off-...
Lars-Peter ClausenGreg Kroah-HartmanLars-Peter Clausen
31ec453d5d8s3cmci: s3cmci_card_present: Use no_detect to decide whether there is a card detect pincommit dc2ed552804f3a2ae41c0ffe4bc09879ec8f7396 upstream. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Cc: Ben Dooks <ben-linux@fluff.org> Cc: <linux-mmc@vger.kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Trond MyklebustGreg Kroah-HartmanTrond Myklebust
c73b9e0e11bSUNRPC: Handle EINVAL error returns from the TCP connect operationcommit 9fcfe0c83c3b04a759cde6b8c5f961237f17808b upstream. This can, for instance, happen if the user specifies a link local IPv6 address. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Neil BrownGreg Kroah-HartmanNeil Brown
967f940095bsunrpc: remove unnecessary svc_xprt_putcommit ab1b18f70a007ea6caeb007d269abb75b131a410 upstream. The 'struct svc_deferred_req's on the xpt_deferred queue do not own a reference to the owning xprt. This is seen in svc_revisit which is where things are added to this queue. dr->xprt is set to NULL and the reference to the xprt it put. So when this list is cleaned up in svc_delete_xprt, we mustn't put the reference. Also, replace t...
Maarten MaathuisGreg Kroah-HartmanMaarten Maathuis
d234eee1361drm/ttm: handle OOM in ttm_tt_swapoutcommit 290e55056ec3d25c72088628245d8cae037b30db upstream. - Without this change I get a general protection fault. - Also use PTR_ERR where applicable. Signed-off-by: Maarten Maathuis <madman2003@gmail.com> Reviewed-by: Dave Airlie <airlied@redhat.com> Acked-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@su...
Zhao YakuiGreg Kroah-HartmanZhao Yakui
605fa278907drm/i915: Use a dmi quirk to skip a broken SDVO TV output.commit 6070a4a928f8c92b9fae7d6717ebbb05f425d6b2 upstream. This IBM system has a multi-function SDVO card that reports both VGA and TV, but the system has no TV connector. The TV connector always reported as connected, which would lead to poor modesetting choices. https://bugs.freedesktop.org/show_bug.cgi?id=25787 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Tested-by: Vance <liangghv@sg...
Jan DumonGreg Kroah-HartmanJan Dumon
b82f4f97c4eUSB: unusual_devs: Add support for multiple Option 3G stickscommit 46216e4fbe8c62059b5440dec0b236f386248a41 upstream. Enable the SD-Card interface on multiple Option 3G sticks. The unusual_devs.h entry is necessary because the device descriptor is vendor-specific. That prevents usb-storage from binding to it as an interface driver. Signed-off-by: Jan Dumon <j.dumon@option.com> Signed-off-by: Phil Dibowitz <phil@ipom.com> Signed-off-by: Greg Kroah-Hart...
Alan CoxGreg Kroah-HartmanAlan Cox
07623cdca9bUSB: cp210x: Add 81E8 (Zephyr Bioharness)commit bd07c551aae5d2200c7b195142e5ba63f26424da upstream. As reported in http://bugzilla.kernel.org/show_bug.cgi?id=10980 Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Daniel SangorrinGreg Kroah-HartmanDaniel Sangorrin
8b0c7df961eUSB: serial: ftdi: add CONTEC vendor and product idcommit 46b72d78cb022714c89a9ebc00b9581b550cfca7 upstream. This is a patch to ftdi_sio_ids.h and ftdi_sio.c that adds identifiers for CONTEC USB serial converter. I tested it with the device COM-1(USB)H Signed-off-by: Daniel Sangorrin <daniel.sangorrin@gmail.com> Cc: Andreas Mohr <andi@lisas.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>COM-1
Mitchell SolomonGreg Kroah-HartmanMitchell Solomon
0d37d1e4891USB: add new ftdi_sio device idscommit 9714080d20f2ec4b671a06ce69367d91fa9e227e upstream. PID patch for my products Signed-off-by: Mitchell Solomon <mitchjs@rush2112.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Andreas MohrGreg Kroah-HartmanAndreas Mohr
8d9a38a934bUSB: ftdi_sio: add device IDs (several ELV, one Mindstorms NXT)commit 65e1ec6751b3eefee6d94161185e78736366126f upstream. - add FTDI device IDs for several ELV devices and NXTCam of Lego Mindstorms NXT - add hopefully helpful new_id comment - remove less helpful "Due to many user requests for multiple ELV devices we enable them by default." comment (we simply add _all_ known devices - an enduser shouldn't have to fiddle with obscure module parameters.....
Radek LiboskaGreg Kroah-HartmanRadek Liboska
e60a36d2a49USB: ftdi_sio: new device id for papouch AD4USBcommit a7787e508acb4378d62f4584bae3dd1cd0ba3eac upstream. added new device pid (PAPOUCH_AD4USB_PID) to ftdi_sio.h and ftdi_sio.c AD4USB measuring converter is a 4-input A/D converter which enables the user to measure to four current inputs ranging from 0(4) to 20 mA or voltage between 0 and 10 V. The measured values are then transferred to a superior system in digital form. The AD4USB communi...
Andreas MohrGreg Kroah-HartmanAndreas Mohr
ad0a5cb79efUSB: ftdi_sio: sort PID/VID entries in new ftdi_sio_ids.h headercommit 4e092d110fe931db3878865db185be1c9df3e182 upstream. This is a (almost) sort-only patch to sort FTDI device product ID definitions in new ftdi_sio_ids.h header. Advantage is that new device ID submissions will now have a specific (sorted) position - less future merge conflicts. Compile-tested, based on _current_ mainline git. Minor checkpatch.pl warnings were eliminated whereever it mad...
Andreas MohrGreg Kroah-HartmanAndreas Mohr
e9eba6da4a4USB: ftdi_sio: isolate all device IDs to new ftdi_sio_ids.h headercommit 31844d55800e1b93fe75c4d6188a4a44db2e1bbe upstream. This is a strictly move-only patch to relocate all FTDI device product ID definitions to their own ftdi_sio_ids.h header (following the usual *_ids.h kernel tree convention, too), thus correcting the slightly too messy appearance (crucial driver defines were stuck somewhere in the decaying middle swamp of the huge existing header). Com...
Herbert XuGreg Kroah-HartmanHerbert Xu
2de6fff1986USB: Move hcd free_dev call into usb_disconnect to fix oopscommit f7410ced7f931bb1ad79d1336412cf7b7a33cb14 upstream. USB: Move hcd free_dev call into usb_disconnect I found a way to oops the kernel: 1. Open a USB device through devio. 2. Remove the hcd module in the host kernel. 3. Close the devio file descriptor. The problem is that closing the file descriptor does usb_release_dev as it is the last reference. usb_release_dev then tries to invoke ...
Alan SternGreg Kroah-HartmanAlan Stern
80218d98516USB: remove debugging message for uevent constructionscommit cceffe9348f93188d7811bda95924d4bd3040d0f upstream. This patch (as1332) removes an unneeded and annoying debugging message announcing all USB uevent constructions. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pete ZaitcevGreg Kroah-HartmanPete Zaitcev
0f43110993aUSB: fix crash in uhci_scan_schedulecommit d23356da714595b888686d22cd19061323c09190 upstream. When hardware is removed on a Stratus, the system may crash like this: ACPI: PCI interrupt for device 0000:7c:00.1 disabled Trying to free nonexistent resource <00000000a8000000-00000000afffffff> Trying to free nonexistent resource <00000000a4800000-00000000a480ffff> uhci_hcd 0000:7e:1d.0: remove, state 1 usb usb2: USB disconnect, addr...
Alan SternGreg Kroah-HartmanAlan Stern
7de0f5637ddUSB: fix the idProduct value for USB-3.0 root hubscommit cd780694920fbf869b23c8afb0bd083e7b0448c7 upstream. This patch (as1346) changes the idProduct value for USB-3.0 root hubs from 0x0002 (which we already use for USB-2.0 root hubs) to 0x0003. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>2 Jira Issues
Edward ShaoGreg Kroah-HartmanEdward Shao
bbb4ae3e022USB: xhci: Fix finding extended capabilities registerscommit 05197921ff3dad52d99fd1647974c57d9c28d40e upstream. According "5.3.6 Capability Parameters (HCCPARAMS)" of xHCI rev0.96 spec, value of xECP register indicates a relative offset, in 32-bit words, from Base to the beginning of the first extended capability. The wrong calculation will cause BIOS handoff fail (not handoff from BIOS) in some platform with BIOS USB legacy sup support. Signed-...
Yinghai LuGreg Kroah-HartmanYinghai Lu
75bf39e2123x86: Fix SCI on IOAPIC != 0commit 18dce6ba5c8c6bd0f3ab4efa4cbdd698dab5c40a upstream. Thomas Renninger <trenn@suse.de> reported on IBM x3330 booting a latest kernel on this machine results in: PCI: PCI BIOS revision 2.10 entry at 0xfd61c, last bus=1 PCI: Using configuration type 1 for base access bio: create slab <bio-0> at 0 ACPI: SCI (IRQ30) allocation failed ACPI Exception: AE_NOT_ACQUIRED, Unable to install System ...
Brandon PhiilpsGreg Kroah-HartmanBrandon Phiilps
0a660e1ef18x86: Avoid race condition in pci_enable_msix()commit ced5b697a76d325e7a7ac7d382dbbb632c765093 upstream. Keep chip_data in create_irq_nr and destroy_irq. When two drivers are setting up MSI-X at the same time via pci_enable_msix() there is a race. See this dmesg excerpt: [ 85.170610] ixgbe 0000:02:00.1: irq 97 for MSI/MSI-X [ 85.170611] alloc irq_desc for 99 on node -1 [ 85.170613] igb 0000:08:00.1: irq 98 for MSI/MSI-X [ 85.1...
Ian CampbellGreg Kroah-HartmanIan Campbell
81a1448f6f7x86, xen: Disable highmem PTE allocation even when CONFIG_HIGHPTE=ycommit 817a824b75b1475f1b067c8cee318c7b4d66fcde upstream. There's a path in the pagefault code where the kernel deliberately breaks its own locking rules by kmapping a high pte page without holding the pagetable lock (in at least page_check_address). This breaks Xen's ability to track the pinned/unpinned state of the page. There does not appear to be a viable workaround for this behaviour so s...
Justin P. MattockGreg Kroah-HartmanJustin P. Mattock
3f03f7afa01x86: Add iMac9,1 to pci_reboot_dmi_tablecommit 0a832320f1bae6a4169bf683e201378f2437cfc1 upstream. On the iMac9,1 /sbin/reboot results in a black mangled screen. Adding this DMI entry gets the machine to reboot cleanly as it should. Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> LKML-Reference: <1266362249-3337-1-git-send-email-justinmattock@gmail.com> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Signed-off-by: Ingo Mol...
Jiri SlabyGreg Kroah-HartmanJiri Slaby
dce7d686884x86, ia32_aout: do not kill argument mappingcommit 318f6b228ba88a394ef560efc1bfe028ad5ae6b6 upstream. Do not set current->mm->mmap to NULL in 32-bit emulation on 64-bit load_aout_binary after flush_old_exec as it would destroy already set brpm mapping with arguments. Introduced by b6a2fea39318e43fee84fa7b0b90d68bed92d2ba mm: variable length argument support where the argument mapping in bprm was added. [ hpa: this is a regression from...
Tao MaGreg Kroah-HartmanTao Ma
e3e48b52f53ocfs2: Only bug out in direct io write for reflinked extent.commit cbaee472f274ea9a98aabe47025f6e5551acadcb upstream. In ocfs2_direct_IO_get_blocks, we only need to bug out in case of we are going to write a recounted extent rec. What a silly bug introduced by me! Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Henrique de Moraes HolschuhGreg Kroah-HartmanHenrique de Moraes Holschuh
81defc45cbathinkpad-acpi: fix bluetooth/wwan resumecommit 08fedfc903c78e380b0baa7b57c52d367794d0a5 upstream. Studying the DSDTs of various thinkpads, it looks like bit 3 of the argument to SBDC and SWAN is not "set radio to last state on resume". Rather, it seems to be "if this bit is set, enable radio on resume, otherwise disable it on resume". So, the proper way to prepare the radios for S3 suspend is: disable radio and clear bit 3 on the S...
Henrique de Moraes HolschuhGreg Kroah-HartmanHenrique de Moraes Holschuh
48825c5e641thinkpad-acpi: make driver events work in NVRAM poll modecommit 7f0cf712a74fcc3ad21f0bde95bd32c2f2cc3888 upstream. Thadeu Lima de Souza Cascardo reports this: Brightness notification does not work until the user writes to hotkey_mask attribute. That's because the polling thread will only run if hotkey_user_mask is set and someone is reading the input device or if hotkey_driver_mask is set. In this second case, this condition is not tested after t...
Henrique de Moraes HolschuhGreg Kroah-HartmanHenrique de Moraes Holschuh
6279896e0d6thinkpad-acpi: document HKEY event 3006commit bf8b29c8f7f8269e99eca8b19048ed5b34b51810 upstream. Event 0x3006 is used to help power management of the ODD in the UltraBay. The EC generates this event when the ODD eject button is pressed (even if the bay is powered down). Normally, Linux doesn't need this as we keep the SATA link powered up (which wastes power). The EC powers up the bay by itself when the ODD eject button is press...