Jeff Mahoney [Mon, 25 Feb 2008 23:41:10 +0000 (23:41 +0000)]
Sven Dietrich [Sun, 24 Feb 2008 08:49:29 +0000 (08:49 +0000)]
- patches.rt/0001-sched-count-of-queued-RT-tasks.patch: Delete.
- patches.rt/0002-sched-track-highest-prio-task-queued.patch:
Delete.
- patches.rt/0003-sched-add-RT-task-pushing.patch: Delete.
- patches.rt/0004-sched-add-rt-overload-tracking.patch: Delete.
- patches.rt/0005-sched-pull-RT-tasks-from-overloaded-runqueues.patch:
Delete.
- patches.rt/0006-sched-push-RT-tasks-from-overloaded-CPUs.patch:
Delete.
- patches.rt/0007-sched-disable-standard-balancer-for-RT-tasks.patch:
Delete.
- patches.rt/0008-sched-add-RT-balance-cpu-weight.patch: Delete.
- patches.rt/0009-sched-clean-up-this_rq-use-in-kernel-sched_rt.c.patch:
Delete.
- patches.rt/0010-sched-de-SCHED_OTHER-ize-the-RT-path.patch:
Delete.
- patches.rt/0011-sched-break-out-search-for-RT-tasks.patch:
Delete.
- patches.rt/0012-sched-RT-balancing-include-current-CPU.patch:
Delete.
- patches.rt/0013-sched-pre-route-RT-tasks-on-wakeup.patch:
Delete.
- patches.rt/0014-sched-optimize-RT-affinity.patch: Delete.
- patches.rt/0015-sched-wake-balance-fixes.patch: Delete.
- patches.rt/0016-sched-RT-balance-avoid-overloading.patch:
Delete.
- patches.rt/0017-sched-break-out-early-if-RT-task-cannot-be-migrated.patch:
Delete.
- patches.rt/0018-sched-RT-balance-optimize.patch: Delete.
- patches.rt/0019-sched-RT-balance-optimize-cpu-search.patch:
Delete.
- patches.rt/0020-sched-RT-balance-on-new-task.patch: Delete.
- patches.rt/0021-sched-clean-up-pick_next_highest_task_rt.patch:
Delete.
- patches.rt/0022-sched-clean-up-find_lock_lowest_rq.patch:
Delete.
- patches.rt/0023-sched-clean-up-overlong-line-in-kernel-sched_debug.patch:
Delete.
- patches.rt/0024-sched-clean-up-kernel-sched_rt.c.patch: Delete.
- patches.rt/0025-sched-remove-rt_overload.patch: Delete.
- patches.rt/0026-sched-remove-leftover-debugging.patch: Delete.
- patches.rt/0027-sched-clean-up-pull_rt_task.patch: Delete.
- patches.rt/0028-sched-clean-up-schedule_balance_rt.patch:
Delete.
- patches.rt/0029-sched-add-sched-domain-roots.patch: Delete.
- patches.rt/0030-sched-update-root-domain-spans-upon-departure.patch:
Delete.
- patches.rt/0031-Subject-SCHED-Only-balance-our-RT-tasks-within-ou.patch:
Delete.
- patches.rt/0032-sched-fix-sched_rt.c-join-leave_domain.patch:
Delete.
- patches.rt/0033-sched-remove-unused-JIFFIES_TO_NS-macro.patch:
Delete.
- patches.rt/0034-sched-style-cleanup-2.patch: Delete.
- patches.rt/0035-sched-add-credits-for-RT-balancing-improvements.patch:
Delete.
- patches.rt/0036-sched-reactivate-fork-balancing.patch: Delete.
- patches.rt/0037-sched-whitespace-cleanups-in-topology.h.patch:
Delete.
- patches.rt/0038-sched-no-need-for-affine-wakeup-balancing-in.patch:
Delete.
- patches.rt/0039-sched-get-rid-of-new_cpu-in-try_to_wake_up.patch:
Delete.
- patches.rt/0040-sched-remove-do_div-from-__sched_slice.patch:
Delete.
- patches.rt/0041-sched-RT-balance-replace-hooks-with-pre-post-sched.patch:
Delete.
- patches.rt/0042-sched-RT-balance-add-new-methods-to-sched_class.patch:
Delete.
- patches.rt/0043-sched-RT-balance-only-adjust-overload-state-when-c.patch:
Delete.
- patches.rt/0044-sched-remove-some-old-cpuset-logic.patch:
Delete.
- Remove scheduler patches already upstream in 2.6.25-rc1
suse-commit:
0aa7ede6923f1deeec73d4381904c656adefc613
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 21:13:52 +0000 (21:13 +0000)]
- patches./libertas-section-conflict: libertas: fix
section conflict.
suse-commit:
a7b851a28d3b2aab0f5c907954c62c8cc737a45e
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 18:45:35 +0000 (18:45 +0000)]
- Enabled patches.kernel.org/ps3-lpm-include
suse-commit:
5aeb504c2e81d17be74ac49ea0adc66541fc10a2
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 18:44:17 +0000 (18:44 +0000)]
- patches./spu_profiler-include: powerpc: spu_profiler
build fix.
suse-commit:
d26cd049dbd39b066965339d5820dfe77df9419c
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 17:37:12 +0000 (17:37 +0000)]
- patches./ps3-lpm-include: ps3: lpm build fix.
suse-commit:
006ff31b4c5962d52d6dec2ee294f8d4da042d1d
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 17:24:01 +0000 (17:24 +0000)]
- patches./fixed-phy-select: powerpc: FSL_SOC requires
FIXED_PHY.
- patches.kernel.org/lguest-fixups: lguest: Fix asm-offsets_32
with correct config option.
suse-commit:
fec7732d094e532d4475d9a96d5ad7bc26f036ee
Note: This patch series did not apply
Jeff Mahoney [Sat, 23 Feb 2008 07:10:33 +0000 (07:10 +0000)]
- Build fixes for ia64 and i386.
suse-commit:
799d959f1eba8496bcf116a057d6dbd93c6d93c6
Note: This patch series did not apply
Jeff Mahoney [Fri, 22 Feb 2008 23:27:32 +0000 (23:27 +0000)]
- Update to 2.6.25-rc2-git6.
- Removed:
- patches.arch/ppc-pegasos-pata_via-fixup.patch: Delete.
- patches.arch/ppc-pegasos-console-autodetection.patch: Delete.
- patches.arch/ppc-ps3-make-dev_id-and-bus_id-u64.diff: Delete.
- patches.arch/acpi_autoload_bay.patch: Delete.
- patches.arch/small-acpica-extension-to-be-able-to-store-the-name-of.patch:
Delete.
- patches.arch/export-acpi_check_resource_conflict.patch: Delete.
- patches.drivers/early-firewire.diff: Delete.
- patches.drivers/scsi-throttle-SG_DXFER_TO_FROM_DEV-warning-better:
Delete.
- patches.drivers/libata-implement-force-parameter: Delete.
- patches.drivers/igb-1.0.8-k2: Delete.
- patches.drivers/always-announce-new-usb-devices.patch: Delete.
- patches.drivers/nozomi.patch: Delete.
- patches.drivers/libata-quirk_amd_ide_mode: Delete.
- patches.fixes/acpi_autoload_baydock.patch: Delete.
- patches.fixes/bluetooth_hci_dev_put.patch: Delete.
- patches.fixes/bluetooth_hci_conn_childs.patch: Delete.
- patches.fixes/mac80211-fix-hw-scan1.patch: Delete.
- patches.fixes/mac80211-fix-hw-scan2.patch: Delete.
- patches.fixes/libiscsi-missing-semicolon.diff: Delete.
- patches.fixes/pci-quirk-enable-smbus-on-hp-xw4100.patch: Delete.
- patches.kernel.org/patch-2.6.24.1: Delete.
- patches.suse/acpi_dsdt_ssdt_initrd_initramfs.patch: Delete.
- patches.suse/squashfs.patch.fixup: Delete.
- patches.suse/aslr-pie-executable-randomization.patch: Delete.
- patches.suse/aslr-i386-and-x86_64-randomize-brk.patch: Delete.
- Xen and RT currently disabled.
- SquashFS may not work.
suse-commit:
6b77d3117493bd26f0db10403ea603048bbe08ce
Note: This patch series did not apply
Jeff Mahoney [Fri, 22 Feb 2008 20:11:19 +0000 (20:11 +0000)]
- scripts/embargo-filter: fixed and renabled check
suse-commit:
b92b9c7aada6f2dc81da3a403cb56e1e07fa700d
Sven Dietrich [Fri, 22 Feb 2008 17:35:18 +0000 (17:35 +0000)]
- embargoed-patches: eliminate embargoed patches abuse.
suse-commit:
d05a11df6e6b24570ba51f71ffef26019cc3cc6c
Jeff Mahoney [Fri, 22 Feb 2008 15:49:32 +0000 (15:49 +0000)]
- scripts/embargo-filter: Disable check for non-existant patches.
suse-commit:
5b6013c3d3bd4cc94dec0e46b1513135c99941fd
Andreas Schwab [Fri, 22 Feb 2008 14:27:34 +0000 (14:27 +0000)]
Jan Beulich [Fri, 22 Feb 2008 12:09:22 +0000 (12:09 +0000)]
- config/i386/xenpae: Rename to config/i386/xen.
- config.conf: Delete i386/xenpae.
suse-commit:
48e29ad0dbf74da37134db0e08d6040f8d066645
Sven Dietrich [Thu, 21 Feb 2008 15:42:05 +0000 (15:42 +0000)]
- Update config files: update RT options for adaptive RT locks
suse-commit:
6d6182105603f83790f43e363fe42da0aafe5deb
Sven Dietrich [Thu, 21 Feb 2008 14:31:52 +0000 (14:31 +0000)]
- patches.rt/rtmutex-adaptive-mutexes.patch: cleanup.
- patches.rt/rtmutex-adaptive-timeout.patch: cleanup.
- patches.rt/rtmutex-lateral-steal-sysctl.patch: sysctl for
runtime-control of lateral mutex stealing.
suse-commit:
3f520051f42a9e3cfa03b8e120fa8519c3633314
Jan Beulich [Thu, 21 Feb 2008 08:15:46 +0000 (08:15 +0000)]
- Update Xen patches to c/s 425.
- patches.xen/sfc-network-driver: Solarflare: Standard network driver
(disabled until status clarified).
- patches.xen/sfc-resource-driver: Solarflare: Resource driver
(disabled until status clarified).
- Update Xen config files.
suse-commit:
93b02bd47e979a79e2c89fdf5507f6a62d692d1b
Gregory Haskins [Wed, 20 Feb 2008 20:24:35 +0000 (20:24 +0000)]
Gregory Haskins [Wed, 20 Feb 2008 20:04:22 +0000 (20:04 +0000)]
Jeff Mahoney [Wed, 20 Feb 2008 18:21:51 +0000 (18:21 +0000)]
- Update config files for dmraid45.
suse-commit:
6624549be5156e2679d4ea634d7d27de9d0613cb
Bernhard Walle [Wed, 20 Feb 2008 12:58:10 +0000 (12:58 +0000)]
- rpm/kernel-binary.spec.in: add PAGESIZE detection for
makedumpfile.config from the .config file also for PPC64
suse-commit:
5a661c09ea182198031c83ae9dc782ea9aac0412
Frank Seidel [Wed, 20 Feb 2008 12:33:27 +0000 (12:33 +0000)]
- patches.fixes/bluetooth_hci_dev_put.patch,
patches.fixes/bluetooth_hci_conn_childs.patch,
patches.fixes/bluetooth_hci_unregister_sysfs.patch:
fix kernel crash after removing bluetooth adapter (bnc 359546)
suse-commit:
f4fc02222939a9aaac4be6b911efbad009de20b0
Jeff Mahoney [Tue, 19 Feb 2008 20:55:20 +0000 (20:55 +0000)]
- patches.suse/dm-raid45-2.6.24-
20080602a.patch: DMRAID45 module.
suse-commit:
409125e0fd051b20044c585dfa09d6e1aa895f35
Sven Dietrich [Fri, 15 Feb 2008 18:26:34 +0000 (18:26 +0000)]
- Update to latest patch set:
- patches.rt/rearrange_rtspinlock_sleep:
[PATCH 02/10] rearrange rtspinlock sleep
- patches.rt/optimize_rtspinlock_wakeup:
[PATCH 03/10] optimize rtspinlock wakeup
- patches.rt/adaptive_RT_spinlock_support:
[PATCH 04/10] Adaptive RT spinlock support
- patches.rt/add_timeout_mechanism: [PATCH 05/10]
add a loop counter based timeoutmechanism
- patches.rt/adaptive_mutexes: [PATCH 06/10] adaptive mutexes
- patches.rt/adjust_pi_lock_usage_in_wakeup:
[PATCH 07/10] Adjust pi_lock usage in wakeup
- patches.rt/optimize_printk_fastpath: [PATCH 08/10]
optimize the !printk fastpath throughthe lock acquisition
- patches.rt/remove_extra_call_try_to_take_lock:
[PATCH 09/10] remove the extra call to try_to_take_lock
- patches.rt/lateral_lock_steal: [PATCH 10/10] allow
rt-mutex lock-stealing toinclude lateral priority
suse-commit:
9a09b84a68bc72d179988259d4142542c48a965e
Sven Dietrich [Fri, 15 Feb 2008 18:07:10 +0000 (18:07 +0000)]
- embargoed-patches: (embargo development RT throughput patches)
- Update config files (RT config options)
- patches.rt/optimize_rtspinlock_wakeup: optimize rtspinlock
wakeup.
- patches.rt/adaptive_RT_spinlock_support: Adaptive RT spinlock
support.
- patches.rt/add_timeout_mechanism: add
a loop counter based timeout mechanism
- patches.rt/adaptive_mutexes: adaptive mutexes
- patches.rt/adjust_pi_lock_usage_in_wakeup:
Adjust pi_lock usage in wakeup
- patches.rt/optimize_printk_fastpath: optimize
the !printk fastpath through the lockacquisition
- patches.rt/remove_extra_call_try_to_take_lock:
remove the extra call to try_to_take_lock
- patches.rt/lateral_lock_steal: allow rt-mutex
lock-stealing to include lateralpriority
- patches.rt/rearrange_rtspinlock_sleep: cleanup rtspinlock sleep
suse-commit:
e70178e52cebeaab778f7f78aef3048aedaeee5a
Stefan Assmann [Fri, 15 Feb 2008 15:08:37 +0000 (15:08 +0000)]
- add CONFIG_GELIC_WIRELESS=y to defconfig files ps3 and ppc64
- add patches to separate ps3 wlan/ethernet block device into 2
block devices
suse-commit:
019a2cad0bfc650b682f3f0482f150d0dc4a7242
Jeff Mahoney [Thu, 14 Feb 2008 16:18:52 +0000 (16:18 +0000)]
- Removed unused OCFS2 patches.
suse-commit:
3583318a4dd836194ad3b6435698b2d06a20f78c
Jeff Mahoney [Thu, 14 Feb 2008 15:10:39 +0000 (15:10 +0000)]
- Removed old commented out ocfs2 patchset.
suse-commit:
a2f3ec113d4f17bc12d9c5b3a94f79b340735d06
Tejun Heo [Thu, 14 Feb 2008 02:10:19 +0000 (02:10 +0000)]
- patches.drivers/libata-quirk_amd_ide_mode: PCI: modify SATA
IDE mode quirk (345124).
suse-commit:
17d0ccd84b7fb6e7dd70ec3dd9d3b14020d083ab
Jeff Mahoney [Wed, 13 Feb 2008 21:50:56 +0000 (21:50 +0000)]
- patches.suse/ocfs2-03-split-disk-heartbeat-out.diff: Fixed
section conflict.
suse-commit:
6d2ebb432ea030263810e378b0003d054d1b0b35
Jeff Mahoney [Wed, 13 Feb 2008 20:59:55 +0000 (20:59 +0000)]
Jeff Mahoney [Wed, 13 Feb 2008 20:48:00 +0000 (20:48 +0000)]
- Merged and re-enabled OCFS2 userspace clustering
suse-commit:
9eff6c1169ecd7a902cb91f59df453c4ae1814e6
Jean Delvare [Wed, 13 Feb 2008 09:42:59 +0000 (09:42 +0000)]
- config/*: Don't build i2c algorithm drivers that we do not use.
- supported.conf: Drop i2c-elektor and i2c-algo-pcf, we don't ship them.
suse-commit:
d377eb50fbc1b6ce4aafb40da414c68c59ae7738
Tejun Heo [Tue, 12 Feb 2008 01:00:18 +0000 (01:00 +0000)]
Build fix for section mismatch check.
- patches.drivers/libata-implement-force-parameter: libata:
implement libata.force module parameter (337610).
suse-commit:
8c91b27fb01165261aab192e6f9f49469bc7f44d
Tejun Heo [Mon, 11 Feb 2008 07:51:10 +0000 (07:51 +0000)]
- patches.drivers/libata-force-cable-type: Delete.
- patches.drivers/libata-implement-force-parameter: libata:
implement libata.force module parameter (337610).
suse-commit:
a7d14f96187a9af14a0facea1d26084626b04e1e
Greg Kroah-Hartman [Fri, 8 Feb 2008 20:41:12 +0000 (20:41 +0000)]
- Update to 2.6.24.1
- fixes CVE-2008-0007, CVE-2008-0009, CVE-2008-0010
- lots of USB device ids updated
- lots of other bugfixes
- removed patches.fixes/bootstrap-memoryless-node.patch as it is now
contained within.
suse-commit:
9273b16118a0ca5b0a47592fcfde5624802dc5c9
Greg Kroah-Hartman [Fri, 8 Feb 2008 19:55:30 +0000 (11:55 -0800)]
Linux 2.6.24.1
Jens Axboe [Fri, 8 Feb 2008 16:49:14 +0000 (08:49 -0800)]
splice: missing user pointer access verification (CVE-2008-0009/10)
patch
8811930dc74a503415b35c4a79d14fb0b408a361 in mainline.
vmsplice_to_user() must always check the user pointer and length
with access_ok() before copying. Likewise, for the slow path of
copy_from_user_mmap_sem() we need to check that we may read from
the user region.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Cc: Wojciech Purczynski <cliph@research.coseinc.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Dave Airlie [Thu, 7 Feb 2008 05:43:11 +0000 (05:43 +0000)]
drm: the drm really should call pci_set_master..
(submitted upstream as
19a8f59ab8ceee751ea720085098355d53f727d6)
perhaps bonghits could turn on my bus-mastering because the drm
certainly never bothered doing it before.
Signed-off-by: Dave Airlie <airlied@linux.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael E Brown [Tue, 29 Jan 2008 21:35:01 +0000 (15:35 -0600)]
Driver core: Revert "Fix Firmware class name collision"
patch
7d640c4a5b36c4733460065db1554da924044511 in mainline.
This reverts commit
109f0e93b6b728f03c1eb4af02bc25d71b646c59.
The original patch breaks BIOS updates on all Dell machines. The path to
the firmware file for the dell_rbu driver changes, which breaks all of
the userspace tools which rely on it.
Note that this patch re-introduces a problem with i2c name collision
that was previously fixed by this patch.
Signed-off-by: Michael E Brown <michael_e_brown@dell.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nick Piggin [Sat, 2 Feb 2008 14:01:17 +0000 (15:01 +0100)]
fix writev regression: pan hanging unkillable and un-straceable
patch
124d3b7041f9a0ca7c43a6293e1cae4576c32fd5 in mainline.
Frederik Himpe reported an unkillable and un-straceable pan process.
Zero length iovecs can go into an infinite loop in writev, because the
iovec iterator does not always advance over them.
The sequence required to trigger this is not trivial. I think it
requires that a zero-length iovec be followed by a non-zero-length iovec
which causes a pagefault in the atomic usercopy. This causes the writev
code to drop back into single-segment copy mode, which then tries to
copy the 0 bytes of the zero-length iovec; a zero length copy looks like
a failure though, so it loops.
Put a test into iov_iter_advance to catch zero-length iovecs. We could
just put the test in the fallback path, but I feel it is more robust to
skip over zero-length iovecs throughout the code (iovec iterator may be
used in filesystems too, so it should be robust).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Srivatsa Vaddagiri [Thu, 31 Jan 2008 21:45:22 +0000 (22:45 +0100)]
sched: fix high wake up latencies with FAIR_USER_SCHED
patch
296825cbe14d4c95ee9c41ca5824f7487bfb4d9d in mainline.
The reason why we are getting better wakeup latencies for
!FAIR_USER_SCHED is because of this snippet of code in place_entity():
if (!initial) {
/* sleeps upto a single latency don't count. */
if (sched_feat(NEW_FAIR_SLEEPERS) && entity_is_task(se))
^^^^^^^^^^^^^^^^^^
vruntime -= sysctl_sched_latency;
/* ensure we never gain time by being placed backwards. */
vruntime = max_vruntime(se->vruntime, vruntime);
}
NEW_FAIR_SLEEPERS feature gives credit for sleeping only to tasks and
not group-level entities. With the patch attached, I could see that
wakeup latencies with FAIR_USER_SCHED are restored to the same level as
!FAIR_USER_SCHED.
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Peter Zijlstra [Thu, 31 Jan 2008 21:45:22 +0000 (22:45 +0100)]
sched: let +nice tasks have smaller impact
patch
ef9884e6f29bbe1075204f962a00f7533bf7e8f3 in mainline.
Michel Dänzr has bisected an interactivity problem with
plus-reniced tasks back to this commit:
810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8 is first bad commit
commit
810e95ccd58d91369191aa4ecc9e6d4a10d8d0c8
Author: Peter Zijlstra <a.p.zijlstra@chello.nl>
Date: Mon Oct 15 17:00:14 2007 +0200
sched: another wakeup_granularity fix
unit mis-match: wakeup_gran was used against a vruntime
fix this by assymetrically scaling the vtime of positive reniced
tasks.
Bisected-by: Michel Dänzer <michel@tungstengraphics.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael Buesch [Sat, 26 Jan 2008 12:54:52 +0000 (13:54 +0100)]
b43: Reject new firmware early
(not in mainline, as it is not applicable.)
We must reject new incompatible firmware early to avoid
running into strange transmission failures.
The current development tree supports newer firmware revisions.
These revisions cause strange failures on the stable 2.6.24 kernel.
Add a check to avoid confusing users a lot.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stephen Smalley [Fri, 25 Jan 2008 18:03:42 +0000 (13:03 -0500)]
selinux: fix labeling of /proc/net inodes
patch
b1aa5301b9f88a4891061650c591fb8fe1c1d1da in mainline.
The proc net rewrite had a side effect on selinux, leading it to mislabel
the /proc/net inodes, thereby leading to incorrect denials. Fix
security_genfs_sid to ignore extra leading / characters in the path supplied
by selinux_proc_get_sid since we now get "//net/..." rather than "/net/...".
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefano Brivio [Fri, 25 Jan 2008 13:32:00 +0000 (14:32 +0100)]
b43legacy: fix DMA slot resource leakage
patch
8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline.
This fixes four resource leakages.
In any error path we must deallocate the DMA frame slots we
previously allocated by request_slot().
This is done by storing the ring pointers before doing any ring
allocation and restoring the old pointers in case of an error.
This patch by Michael Buesch has been ported to b43legacy.
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefano Brivio [Fri, 25 Jan 2008 13:29:50 +0000 (14:29 +0100)]
b43legacy: drop packets we are not able to encrypt
patch
9eca9a8e81928685b4de00ecef83a7c13c340fc9 in mainline.
We must drop any packets we are not able to encrypt.
We must not send them unencrypted or with an all-zero-key (which
basically is the same as unencrypted, from a security point of view).
This might only trigger shortly after resume before mac80211 reassociated
and reconfigured the keys.
It is safe to drop these packets, as the association they belong to
is not guaranteed anymore anyway.
This is a security fix in the sense that it prevents information leakage.
This patch by Michael Buesch has been ported to b43legacy.
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefano Brivio [Fri, 25 Jan 2008 13:26:21 +0000 (14:26 +0100)]
b43legacy: fix suspend/resume
patch
ada50731c0346bf900dc387edd3a6961297bf2d3 in mainline.
This patch makes suspend/resume work with the b43legacy driver.
We must not overwrite the MAC addresses in the init function, as this
would also overwrite the MAC on resume. With an all-zero MAC the device
firmware is not able to ACK any received packets anymore.
Fix this by moving the initializion stuff that must be done on init but
not on resume to the start function.
Also zero out filter_flags to make sure we don't have some flags
from a previous instance for a tiny timeframe until mac80211 reconfigures
them.
This patch by Michael Buesch has been ported to b43legacy.
Cc: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefano Brivio [Fri, 25 Jan 2008 13:24:05 +0000 (14:24 +0100)]
b43legacy: fix PIO crash
patch
0cd67d48b519c3d8d89d238fab1cf68a5289638a in mainline.
Fix the crash reported below, which seems to happen on bcm4306 rev. 2 devices
only while using PIO:
Oops: 0000 [#1] PREEMPT
Modules linked in: b43(F) rfkill(F) led_class(F) input_polldev(F) arc4 b43legacy mac80211 cfg80211 i915 drm snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ohci1394 ieee1394 ssb pcmcia snd_intel8x0m ehci_hcd uhci_hcd evdev
Pid: 0, comm: swapper Tainted: GF (2.6.24st3 #2)
EIP: 0060:[<
f90f667b>] EFLAGS:
00010002 CPU: 0
EIP is at b43legacy_pio_handle_txstatus+0xbb/0x210 [b43legacy]
EAX:
0000049b EBX:
f11f8044 ECX:
00000001 EDX:
00000000
ESI:
f1ff8000 EDI:
00000000 EBP:
f11f8040 ESP:
c04f4ef4
DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068
Process swapper (pid: 0, ti=
c04f4000 task=
c0488300 task.ti=
c04b8000)
Stack:
f90f2788 c05009f0 c0500900 000010f7 f1053823 c04f4f24 dfb8e800 00000003
f1368000 00000007 00000296 f90f1975 00001000 010c0800 01000000 00000007
f90f6391 f11f8000 00000082 c04f4f4a 00000000 00004fd0 10f70000 8c061000
Call Trace:
[<
f90f2788>] b43legacy_debugfs_log_txstat+0x48/0xb0 [b43legacy]
[<
f90f1975>] b43legacy_handle_hwtxstatus+0x75/0x80 [b43legacy]
[<
f90f6391>] b43legacy_pio_rx+0x201/0x280 [b43legacy]
[<
f90e4fa3>] b43legacy_interrupt_tasklet+0x2e3/0x870 [b43legacy]
[<
c0123567>] tasklet_action+0x27/0x60
[<
c01237b4>] __do_softirq+0x54/0xb0
[<
c010686b>] do_softirq+0x7b/0xe0
[<
c01457c0>] handle_level_irq+0x0/0x110
[<
c01457c0>] handle_level_irq+0x0/0x110
[<
c0123758>] irq_exit+0x38/0x40
[<
c0106953>] do_IRQ+0x83/0xd0
[<
c011812f>] __update_rq_clock+0x4f/0x180
[<
c0104b4f>] common_interrupt+0x23/0x28
[<
c011007b>] wakeup_code+0x7b/0xde
[<
c02b1039>] acpi_processor_idle+0x24a/0x3c9
[<
c01025c7>] cpu_idle+0x47/0x80
[<
c04b9ad5>] start_kernel+0x205/0x290
[<
c04b9360>] unknown_bootoption+0x0/0x1f0
=======================
Code: 0f 00 00 81 fb ff 00 00 00 0f 87 36 01 00 00 8d 04 db 85 ff 8d 6c c6 40 8d 5d 04 0f 85 ef 00 00 00 fe 4e 0e 0f b7 46 0c 8b 53 04 <8b> 4a 50 29 c8 83 e8 52 66 89 46 0c 8b 54 24 14 80 7a 0b 00 74
EIP: [<
f90f667b>] b43legacy_pio_handle_txstatus+0xbb/0x210 [b43legacy] SS:ESP 0068:
c04f4ef4
Kernel panic - not syncing: Fatal exception in interrupt
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael Buesch [Fri, 25 Jan 2008 11:20:20 +0000 (12:20 +0100)]
b43: Fix dma-slot resource leakage
patch
8dd0100ce9511e52614ecd0a6587c13ce5769c8b in mainline.
This fixes four resource leakages.
In any error path we must deallocate the DMA frame slots we
previously allocated by request_slot().
This is done by storing the ring pointers before doing any ring
allocation and restoring the old pointers in case of an error.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: Stefano Brivio <stefano.brivio@polimi.it>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael Buesch [Fri, 25 Jan 2008 11:15:07 +0000 (12:15 +0100)]
b43: Drop packets we are not able to encrypt
patch
09552ccd8277e6382097e93a40f7311a09449367 in mainline
We must drop any packets we are not able to encrypt.
We must not send them unencrypted or with an all-zero-key (which
basically is the same as unencrypted, from a security point of view).
This might only trigger shortly after resume before mac80211 reassociated
and reconfigured the keys.
It is safe to drop these packets, as the association they belong to
is not guaranteed anymore anyway.
This is a security fix in the sense that it prevents information leakage.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Michael Buesch [Fri, 25 Jan 2008 11:11:45 +0000 (12:11 +0100)]
b43: Fix suspend/resume
patch
7be1bb6b798d506693d2d8668e801951996b5a4a in mainline.
This patch makes suspend/resume work with the b43 driver.
We must not overwrite the MAC addresses in the init function, as this
would also overwrite the MAC on resume. With an all-zero MAC the device
firmware is not able to ACK any received packets anymore.
Fix this by moving the initializion stuff that must be done on init but
not on resume to the start function.
Also zero out filter_flags to make sure we don't have some flags
from a previous instance for a tiny timeframe until mac80211 reconfigures
them.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stephen Hemminger [Fri, 25 Jan 2008 03:46:10 +0000 (19:46 -0800)]
sky2: fix for WOL on some devices
patch
82637e808478087ce861129745fa60cc37e7929d in mainline
This patch disables config mode access after clearing PCI settings.
Without this change WOL won't work on some BIOS's
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stephen Hemminger [Fri, 25 Jan 2008 03:44:50 +0000 (19:44 -0800)]
sky2: restore multicast addresses after recovery
patch
a7bffe722c996679b4fb2103ecaf673ec2b9b4a7 in mainline.
If the sky2 deadman timer forces a recovery, the multicast hash
list is lost. Move the call to sky2_set_multicast to the end
of sky2_up() so all paths that bring device up will restore multicast.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Sam Ravnborg [Sun, 3 Feb 2008 12:19:38 +0000 (13:19 +0100)]
x86: restore correct module name for apm
patch
3a900d89db35c133bc0874e71d9156b22db362b4 in mainline
The apm module were renamed to apm_32 during the merge of 32 and 64 bit
x86 which is unfortunate. As apm is 32 bit specific we like to keep the
_32 in the filename but the module should be named apm.
Fix this in the Makefile.
Reported-by: "A.E.Lawrence" <lawrence_a_e@ntlworld.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: "A.E.Lawrence" <lawrence_a_e@ntlworld.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Len Brown [Sun, 3 Feb 2008 22:43:57 +0000 (17:43 -0500)]
ACPI: update ACPI blacklist
These minor changes sync the latest ACPI blacklist into 2.6.24.
The main benefit of this patch is to make any future
changes easier to apply. The immediate benefit is one less
dmesg line on Acer systems.
Signed-off-by: Len Brown <len.brown@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ian Abbott [Mon, 4 Feb 2008 13:43:13 +0000 (13:43 +0000)]
PCI: Fix fakephp deadlock
This patch works around a problem in the fakephp driver when a process
writing "0" to a "power" sysfs file to fake removal of a PCI device ends
up deadlocking itself in the sysfs code.
The patch was recently accepted into Linus' tree after the 2.6.24 release:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=
5c796ae7a7ebe56967ed9b9963d7c16d733635ff
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Oleg Nesterov [Tue, 5 Feb 2008 06:27:18 +0000 (22:27 -0800)]
sys_remap_file_pages: fix ->vm_file accounting
patch
8a459e44ad837018ea5c34a9efe8eb4ad27ded26 in mainline.
Fix ->vm_file accounting, mmap_region() may do do_munmap().
Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Miklos Szeredi <mszeredi@suse.cz>
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>
Peter Zijlstra [Tue, 5 Feb 2008 06:27:20 +0000 (22:27 -0800)]
lockdep: annotate epoll
patch
0ccf831cbee94df9c5006dd46248c0f07847dd7c in mainline.
On Sat, 2008-01-05 at 13:35 -0800, Davide Libenzi wrote:
> I remember I talked with Arjan about this time ago. Basically, since 1)
> you can drop an epoll fd inside another epoll fd 2) callback-based wakeups
> are used, you can see a wake_up() from inside another wake_up(), but they
> will never refer to the same lock instance.
> Think about:
>
> dfd = socket(...);
> efd1 = epoll_create();
> efd2 = epoll_create();
> epoll_ctl(efd1, EPOLL_CTL_ADD, dfd, ...);
> epoll_ctl(efd2, EPOLL_CTL_ADD, efd1, ...);
>
> When a packet arrives to the device underneath "dfd", the net code will
> issue a wake_up() on its poll wake list. Epoll (efd1) has installed a
> callback wakeup entry on that queue, and the wake_up() performed by the
> "dfd" net code will end up in ep_poll_callback(). At this point epoll
> (efd1) notices that it may have some event ready, so it needs to wake up
> the waiters on its poll wait list (efd2). So it calls ep_poll_safewake()
> that ends up in another wake_up(), after having checked about the
> recursion constraints. That are, no more than EP_MAX_POLLWAKE_NESTS, to
> avoid stack blasting. Never hit the same queue, to avoid loops like:
>
> epoll_ctl(efd2, EPOLL_CTL_ADD, efd1, ...);
> epoll_ctl(efd3, EPOLL_CTL_ADD, efd2, ...);
> epoll_ctl(efd4, EPOLL_CTL_ADD, efd3, ...);
> epoll_ctl(efd1, EPOLL_CTL_ADD, efd4, ...);
>
> The code "if (tncur->wq == wq || ..." prevents re-entering the same
> queue/lock.
Since the epoll code is very careful to not nest same instance locks
allow the recursion.
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Tested-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Acked-by: Davide Libenzi <davidel@xmailserver.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ayaz Abdulla [Mon, 28 Jan 2008 15:24:40 +0000 (10:24 -0500)]
forcedeth: mac address mcp77/79
patch
2b91213064bd882c3adf35f028c6d12fab3269ec in mainline.
This patch is a critical fix for MCP77 and MCP79 devices. The feature
flags were missing the define for correct mac address
(DEV_HAS_CORRECT_MACADDR).
Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Stefan Bader [Fri, 1 Feb 2008 23:18:38 +0000 (15:18 -0800)]
USB: Fix usb_serial_driver structure for Kobil cardreader driver.
The device setup did miss to initialize the num_interrupt_out field, thus
failing to successfully complete the probe function.
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Greg Kroah-Hartman [Fri, 1 Feb 2008 23:17:00 +0000 (15:17 -0800)]
USB: handle idVendor of 0x0000
Some crazy devices in the wild have a vendor id of 0x0000. If we try to
add a module alias with this id, we just can't do it due to a check in
the file2alias.c file. Change the test to verify that both the vendor
and product ids are 0x0000 to show a real "blank" module alias.
Note, the module-init-tools package also needs to be changed to properly
generate the depmod tables.
Cc: Janusz <janumix@poczta.fm>
Cc: Jon Masters <jcm@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jan Andersson [Fri, 1 Feb 2008 23:16:59 +0000 (15:16 -0800)]
USB: fix usbtest halt check on big endian systems
usbtest did not swap the received status information when checking for
a non-zero value and failed to discover halted endpoints on big endian
systems.
Signed-off-by: Jan Andersson <jan@gaisler.com>
Acked-by: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Grant Grundler [Fri, 1 Feb 2008 23:16:58 +0000 (15:16 -0800)]
USB: storage: Add unusual_dev for HP r707
Add "FIX_CAPACITY" entry for HP Photosmart r707 Camera in "Disk" mode.
Camera will wedge when /lib/udev/vol_id attempts to access the last sector,
EIO gets reported to dmesg, and block device is marked "offline" (it is).
Reproduced vol_id behavior with:
"dd if=/dev/sda of=/dev/null skip=60800 count=1"
Signed-off-by: Grant Grundler <grundler@parisc-linux.org>
Signed-off-by: Phil Dibowitz <phil@ipom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nate Carlson [Fri, 1 Feb 2008 23:16:57 +0000 (15:16 -0800)]
USB: Variant of the Dell Wireless 5520 driver
I've got a Dell wireless 5520 card with a different USB ID - specifically, 8136
instead of 8137. Attached a small patch to add support, and the output of an
'ati3'.
If we could get this in, that'd be sweet. ;) Thanks!
nc@knight:~/tmp/linux-2.6.24-rc8/drivers/usb/serial$ lsusb | grep 8136
Bus 001 Device 005: ID 413c:8136 Dell Computer Corp.
nc@knight:~/tmp/linux-source-2.6.23/drivers/usb/serial$ cu -l ttyUSB0 -s 115200
Connected.
ati3
Manufacturer: Novatel Wireless Incorporated
Model: Expedite EU860D MiniCard
Revision: 10.10.04.01-01 [2007-04-11 14:07:19]
IMEI:
011186000228043
+GCAP: +CGSM,+DS,+ES
From: Nate Carlson <natecars@natecarlson.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Oliver Neukum [Fri, 1 Feb 2008 23:16:56 +0000 (15:16 -0800)]
USB: use GFP_NOIO in reset path
this function will run in the context of the scsi error handler thread.
It must use GFP_NOIO instead of GFP_KERNEL to avoid a possible
deadlock.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Ed Beroset [Fri, 1 Feb 2008 23:16:55 +0000 (15:16 -0800)]
USB: ftdi driver - add support for optical probe device
Added support for the Elster Unicom III Optical Probe.
The device ID has already been added to the usb.ids file.
Signed-off-by: Ed Beroset <beroset@mindspring.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Akira Tsukamoto [Fri, 1 Feb 2008 23:16:54 +0000 (15:16 -0800)]
USB: pl2303: add support for RATOC REX-USB60F
pl2303: add support for RATOC REX-USB60F
This patch adds support for RATOC REX-USB60F Serial Adapters,
which is widely used in Japan recently.
Signed-off-by: Akira Tsukamoto <akirat@rd.scei.sony.co.jp>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Daniel Kozák [Fri, 1 Feb 2008 23:16:53 +0000 (15:16 -0800)]
USB: remove duplicate entry in Option driver and Pl2303 driver for Huawei modem
Remove entry for Huawei E620 UMTS/HSDPA card (ID: 12d1:1001) in pl2303 driver
Option driver is use instead
Signed-off-by: Daniel Kozák <kozzi11@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Bruno Redondi [Fri, 1 Feb 2008 23:16:52 +0000 (15:16 -0800)]
USB: sierra: add support for Onda H600/Zte MF330 datacard to USB Driver for Sierra Wireless
Added support for Onda H600/Zte MF330 GPRS/UMTS/HSDPA datacard
Signed-off-by: Bruno Redondi <bruno.redondi@altarisoluzione.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Franco Lanza [Fri, 1 Feb 2008 23:16:51 +0000 (15:16 -0800)]
USB: ftdi-sio: Patch to add vendor/device id for ATK_16IC CCD
little patches only to add vendor/device id of ATK_16IC CCD cam for
astronomy.
From: Franco Lanza <nextime@nexlab.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Peter Stark [Fri, 1 Feb 2008 23:16:50 +0000 (15:16 -0800)]
USB: ftdi_sio - enabling multiple ELV devices, adding EM1010PC
I work with a group of people on a free home automation tool called
FHEM. Some of the users own more than one USB-serial device by ELV. The
ftdi_sio driver has most of the ELV devices disabled by default and
needs to be re-enabled every time you get a new kernel. Additionally a
new device (EM 1010 PC - enegry monitor) is missing in the list.
Currently our users have to follow the instructions we provide at
http://www.koeniglich.de/fhem/linux.html ... However, to some users it
is too complicated to compile their own kernel module.
We are aware that you can specify one additional device using the
vendor/product option of the module. But lot's of users own more than
one device.
Signed-off-by: Peter Stark <peter.stark@t-online.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Kevin Lloyd [Fri, 1 Feb 2008 23:16:48 +0000 (15:16 -0800)]
USB: sierra driver - add devices
The following improvements were made:
- Added new product support: MC5725, AC 880 U, MP 3G (UMTS & CDMA)
Signed-off-by: Kevin Lloyd <linux@sierrawireless.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Damien Stuart [Fri, 1 Feb 2008 23:16:47 +0000 (15:16 -0800)]
USB: Adding YC Cable USB Serial device to pl2303
This simply adds the "YC Cable" as a vendor and its pl2303-based
USB<->Serial adapter as a product. This particular adapter is sold by
Radio Shack. I've done limited testing on a few different systems with
no issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Jessica L. Blank [Fri, 1 Feb 2008 23:16:46 +0000 (15:16 -0800)]
USB: Sierra - Add support for Aircard 881U
Adds the appropriate vendor and device IDs for the AirCard 881U to
sierra.c. (This device is often rebadged by AT&T as the USBConnect 881).
Signed-off-by: Jessica L Blank <j@twu.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Piotr Roszatycki [Fri, 1 Feb 2008 23:16:45 +0000 (15:16 -0800)]
USB: add support for 4348:5523 WinChipHead USB->RS 232 adapter
add support for:
4348:5523 WinChipHead USB->RS 232 adapter with Prolifec PL 2303 chipset
[ mingo@elte.hu: merged it and nursed it upstream ]
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Craig Shelley [Fri, 1 Feb 2008 23:16:44 +0000 (15:16 -0800)]
USB: CP2101 New Device IDs
Six new device IDs for CP2101 driver.
Signed-off-by: Craig Shelley <craig@microtron.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Li Yang [Fri, 1 Feb 2008 23:16:43 +0000 (15:16 -0800)]
usb gadget: fix fsl_usb2_udc potential OOPS
For fsl_usb2_udc driver, ep0 also has a descriptor. Current code is
misleading and contains a logical mistake. Here is the patch to fix it.
http://bugzilla.kernel.org/show_bug.cgi?id=9595
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Alan Cox [Fri, 1 Feb 2008 23:16:42 +0000 (15:16 -0800)]
USB: keyspan: Fix oops
If we get a data URB back from the hardware after we have put the tty to
bed we go kaboom. Fortunately all we need to do is process the URB
without trying to ram its contents down the throat of an ex-tty.
Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Nick Piggin [Sat, 2 Feb 2008 02:08:53 +0000 (03:08 +0100)]
vm audit: add VM_DONTEXPAND to mmap for drivers that need it (CVE-2008-0007)
Drivers that register a ->fault handler, but do not range-check the
offset argument, must set VM_DONTEXPAND in the vm_flags in order to
prevent an expanding mremap from overflowing the resource.
I've audited the tree and attempted to fix these problems (usually by
adding VM_DONTEXPAND where it is not obvious).
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Pekka J Enberg [Sat, 26 Jan 2008 12:15:54 +0000 (14:15 +0200)]
slab: fix bootstrap on memoryless node
[ Upstream commit:
556a169dab38b5100df6f4a45b655dddd3db94c1 ]
If the node we're booting on doesn't have memory, bootstrapping kmalloc()
caches resorts to fallback_alloc() which requires ->nodelists set for all
nodes. Fix that by calling set_up_list3s() for CACHE_CACHE in
kmem_cache_init().
As kmem_getpages() is called with GFP_THISNODE set, this used to work before
because of breakage in 2.6.22 and before with GFP_THISNODE returning pages from
the wrong node if a node had no memory. So it may have worked accidentally and
in an unsafe manner because the pages would have been associated with the wrong
node which could trigger bug ons and locking troubles.
Tested-by: Mel Gorman <mel@csn.ul.ie>
Tested-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Christoph Lameter <clameter@sgi.com>
[ With additional one-liner by Olaf Hering - Linus ]
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Michael Krufky [Thu, 24 Jan 2008 23:26:19 +0000 (18:26 -0500)]
DVB: cx23885: add missing subsystem ID for Hauppauge HVR1800 Retail
[PATCH] DVB: cx23885: add missing subsystem ID for Hauppauge HVR1800 Retail
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
Bernhard Walle [Fri, 8 Feb 2008 17:33:46 +0000 (17:33 +0000)]
Bernhard Walle [Fri, 8 Feb 2008 17:32:41 +0000 (17:32 +0000)]
- patches.drivers/igb-2007-12-11: Delete.
- patches.drivers/igb-1.0.8-k2: Update to latest version which is
also upstream now in the 2.6.25 tree.
suse-commit:
b4b307f8624deecdca8dd28502e109c7a587d55d
Greg Kroah-Hartman [Fri, 8 Feb 2008 17:14:39 +0000 (17:14 +0000)]
- Move ipv6-no-autoconf to xen directory as it is a Xen bugfix
suse-commit:
dbedf357e34963fe3fe0173e9408bc898f38fc40
Greg Kroah-Hartman [Fri, 8 Feb 2008 16:43:32 +0000 (16:43 +0000)]
- Remove NO_BRP_NOEXECSTACK from the .spec files as it is obsolete
and doesn't do anything anymore.
suse-commit:
af0b64477ab763d2d7cf247cb5afc5028e0a98b5
Jan Beulich [Fri, 8 Feb 2008 14:57:14 +0000 (14:57 +0000)]
- patches.xen/xen3-auto-common.diff,
patches.xen/xen3-patch-2.6.23: fix merge mistake.
suse-commit:
e5f48ba16a1a8a5647b6fe1cf2f529516aeb5fe3
Bernhard Walle [Fri, 8 Feb 2008 14:36:05 +0000 (14:36 +0000)]
- patches.arch/ppc-fix-prpmc2800: remove patch since it's not needed with
current binutils any more
suse-commit:
b26497adb500d5b537b6f381d7963f09c6a05c8d
Jiri Benc [Fri, 8 Feb 2008 10:55:16 +0000 (10:55 +0000)]
- Update config files: disabled CONFIG_BCM43XX.
suse-commit:
9f9b96c43630c2e16ee01c80c35f4a8414e11be8
Jeff Mahoney [Wed, 6 Feb 2008 18:01:46 +0000 (18:01 +0000)]
- patches.apparmor/vfs-mkdir.diff: Added missing case in
kernel/cgroup.c
suse-commit:
57b4182fc40c67ad5a4cefcbfe084e0b83e2b282
Jean Delvare [Wed, 6 Feb 2008 17:36:29 +0000 (17:36 +0000)]
Frank Seidel [Wed, 6 Feb 2008 16:31:27 +0000 (16:31 +0000)]
- updated patches.drivers/nozomi.patch: mainline info
suse-commit:
5b32218b0399792a53f5a0620b51dcb5759ae829
Sven Dietrich [Wed, 6 Feb 2008 11:00:38 +0000 (11:00 +0000)]
- Update config files: RT@1KHz, sched groups & cpusets enabled.
suse-commit:
16c3a8904481ae801529b4b773c2582abbe5c406
Olaf Hering [Wed, 6 Feb 2008 08:47:00 +0000 (08:47 +0000)]
+- enable bnx2 on ppc64 (bnc 359114 - LTC42106)
suse-commit:
6616de42e2ad28ad3c1163d03c778a93bb647410
Greg Kroah-Hartman [Tue, 5 Feb 2008 22:58:48 +0000 (22:58 +0000)]
- remove unused lockd patches:
- patches.suse/lockd-switchable-statd
- patches.suse/lockd-kernel-statd
- patches.suse/lockd-suse-config
- patches.suse/lockd-max-hosts-dynamic
suse-commit:
ff2104fcbab5a2014eaf1422b605a0426c4073b9
Oliver Neukum [Tue, 5 Feb 2008 22:42:56 +0000 (22:42 +0000)]
- patches.suse/usb_printer_no_auto.diff: Delete.
Obsoleted by mainline change
suse-commit:
6d84f557ac3fb4f04a1313113477606269fbc476
Greg Kroah-Hartman [Tue, 5 Feb 2008 06:12:42 +0000 (06:12 +0000)]
- Enable CONFIG_TASK_IO_ACCOUNTING (bnc 356547) for RT kernels
suse-commit:
8e53b7f1984c3111459d621a79682f92397e34d9
Greg Kroah-Hartman [Mon, 4 Feb 2008 23:13:27 +0000 (23:13 +0000)]
- Enable CONFIG_TASK_IO_ACCOUNTING (bnc 356547)
suse-commit:
9e2b25eff3485a9f61eb36800f50872bc23deb56
Sven Dietrich [Thu, 31 Jan 2008 17:55:56 +0000 (17:55 +0000)]
- patches.rt/megasas_IRQF_NODELAY.patch: Convert megaraid sas
IRQ to non-threaded IRQ.
- patches.rt/version.patch: Delete (unused).
suse-commit:
14a184467407df5e28b073b8e9d5a0c4180c84f6
Jiri Benc [Thu, 31 Jan 2008 14:27:52 +0000 (14:27 +0000)]
- patches.fixes/mac80211-fix-hw-scan1.patch,
patches.fixes/mac80211-fix-hw-scan2.patch: mac80211: hardware
scan rework (bnc#307050).
suse-commit:
d8edfcee820a56bc1d460e8bf27ad6ad983f1bf4