]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Peter Feuerer [Wed, 16 Nov 2011 23:41:00 +0000 (10:41 +1100)]
acerhdf: add support for new hardware
Add support for new hardware:
Acer Aspire LT-10Q/531/751/1810/1825,
Acer Travelmate 7730,
Packard Bell ENBFT/DOTVR46
Signed-off-by: Peter Feuerer <peter@piie.net>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Clay Carpenter [Wed, 16 Nov 2011 23:40:59 +0000 (10:40 +1100)]
acerhdf: add support for Aspire 1410 BIOS v1.3314
Add support for Aspire 1410 BIOS v1.3314. Fixes the following error:
acerhdf: unknown (unsupported) BIOS version Acer/Aspire 1410/v1.3314,
please report, aborting!
Signed-off-by: Clay Carpenter <claycarpenter@gmail.com>
Signed-off-by: Peter Feuerer <peter@piie.net>
Cc: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Alex Bligh [Wed, 16 Nov 2011 23:40:59 +0000 (10:40 +1100)]
net/netfilter/nf_conntrack_netlink.c: fix Oops on container destroy
Problem:
A repeatable Oops can be caused if a container with networking
unshared is destroyed when it has nf_conntrack entries yet to expire.
A copy of the oops follows below. A perl program generating the oops
repeatably is attached inline below.
Analysis:
The oops is called from cleanup_net when the namespace is
destroyed. conntrack iterates through outstanding events and calls
death_by_timeout on each of them, which in turn produces a call to
ctnetlink_conntrack_event. This calls nf_netlink_has_listeners, which
oopses because net->nfnl is NULL.
The perl program generates the container through fork() then
clone(NS_NEWNET). I does not explicitly set up netlink
explicitly set up netlink, but I presume it was set up else net->nfnl
would have been NULL earlier (i.e. when an earlier connection
timed out). This would thus suggest that net->nfnl is made NULL
during the destruction of the container, which I think is done by
nfnetlink_net_exit_batch.
I can see that the various subsystems are deinitialised in the opposite
order to which the relevant register_pernet_subsys calls are called,
and both nf_conntrack and nfnetlink_net_ops register their relevant
subsystems. If nfnetlink_net_ops registered later than nfconntrack,
then its exit routine would have been called first, which would cause
the oops described. I am not sure there is anything to prevent this
happening in a container environment.
Whilst there's perhaps a more complex problem revolving around ordering
of subsystem deinit, it seems to me that missing a netlink event on a
container that is dying is not a disaster. An early check for net->nfnl
being non-NULL in ctnetlink_conntrack_event appears to fix this. There
may remain a potential race condition if it becomes NULL immediately
after being checked (I am not sure any lock is held at this point or
how synchronisation for subsystem deinitialization works).
Patch:
The patch attached should apply on everything from 2.6.26 (if not before)
onwards; it appears to be a problem on all kernels. This was taken against
Ubuntu-3.0.0-11.17 which is very close to 3.0.4. I have torture-tested it
with the above perl script for 15 minutes or so; the perl script hung the
machine within 20 seconds without this patch.
Applicability:
If this is the right solution, it should be applied to all stable kernels
as well as head. Apart from the minor overhead of checking one variable
against NULL, it can never 'do the wrong thing', because if net->nfnl
is NULL, an oops will inevitably result. Therefore, checking is a reasonable
thing to do unless it can be proven than net->nfnl will never be NULL.
Check net->nfnl for NULL in ctnetlink_conntrack_event to avoid Oops on
container destroy
Signed-off-by: Alex Bligh <alex@alex.org.uk>
Cc: Patrick McHardy <kaber@trash.net>
Cc: David Miller <davem@davemloft.net>
Cc: <stable@kernel.org>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Konstantin Khlebnikov [Wed, 16 Nov 2011 23:40:58 +0000 (10:40 +1100)]
vmscan: use atomic-long for shrinker batching
Use atomic-long operations instead of looping around cmpxchg().
[akpm@linux-foundation.org: massage atomic.h inclusions]
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Konstantin Khlebnikov [Wed, 16 Nov 2011 23:40:58 +0000 (10:40 +1100)]
vmscan: fix initial shrinker size handling
A shrinker function can return -1, means that it cannot do anything
without a risk of deadlock. For example prune_super() does this if it
cannot grab a superblock refrence, even if nr_to_scan=0. Currently we
interpret this -1 as a ULONG_MAX size shrinker and evaluate `total_scan'
according to this. So the next time around this shrinker can cause really
big pressure. Let's skip such shrinkers instead.
Also make total_scan signed, otherwise the check (total_scan < 0) below
never works.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Dave Chinner <david@fromorbit.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Mon, 28 Nov 2011 04:33:28 +0000 (15:33 +1100)]
Merge remote-tracking branch 'kvmtool/master'
Conflicts:
include/net/9p/9p.h
scripts/kconfig/Makefile
Stephen Rothwell [Mon, 28 Nov 2011 04:31:56 +0000 (15:31 +1100)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 04:30:31 +0000 (15:30 +1100)]
Merge remote-tracking branch 'writeback/writeback-for-next'
Stephen Rothwell [Mon, 28 Nov 2011 04:25:15 +0000 (15:25 +1100)]
Merge remote-tracking branch 'tmem/tmem'
Conflicts:
mm/swapfile.c
Stephen Rothwell [Mon, 28 Nov 2011 04:23:47 +0000 (15:23 +1100)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Stephen Rothwell [Mon, 28 Nov 2011 04:22:20 +0000 (15:22 +1100)]
Merge remote-tracking branch 'staging/staging-next'
Conflicts:
drivers/staging/iio/adc/ad799x_core.c
drivers/staging/iio/industrialio-core.c
Stephen Rothwell [Mon, 28 Nov 2011 04:07:15 +0000 (15:07 +1100)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Mon, 28 Nov 2011 04:05:23 +0000 (15:05 +1100)]
Merge remote-tracking branch 'tty/tty-next'
Conflicts:
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
Stephen Rothwell [Mon, 28 Nov 2011 03:59:13 +0000 (14:59 +1100)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:57:48 +0000 (14:57 +1100)]
Merge remote-tracking branch 'hsi/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:56:18 +0000 (14:56 +1100)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:54:49 +0000 (14:54 +1100)]
Merge remote-tracking branch 'namespace/master'
Stephen Rothwell [Mon, 28 Nov 2011 03:53:20 +0000 (14:53 +1100)]
Merge remote-tracking branch 'sysctl/master'
Stephen Rothwell [Mon, 28 Nov 2011 03:51:50 +0000 (14:51 +1100)]
Merge remote-tracking branch 'percpu/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:46:04 +0000 (14:46 +1100)]
Merge remote-tracking branch 'xen-two/linux-next'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Mon, 28 Nov 2011 03:44:42 +0000 (14:44 +1100)]
Merge remote-tracking branch 'xen/upstream/xen'
Conflicts:
arch/x86/xen/Kconfig
Stephen Rothwell [Mon, 28 Nov 2011 03:38:05 +0000 (14:38 +1100)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Mon, 28 Nov 2011 03:36:45 +0000 (14:36 +1100)]
Merge remote-tracking branch 'cgroup/for-next'
Conflicts:
kernel/cgroup_freezer.c
Stephen Rothwell [Mon, 28 Nov 2011 03:29:58 +0000 (14:29 +1100)]
Merge remote-tracking branch 'uprobes/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:23:14 +0000 (14:23 +1100)]
Merge remote-tracking branch 'tip/auto-latest'
Conflicts:
arch/mips/kernel/perf_event_mipsxx.c
Stephen Rothwell [Mon, 28 Nov 2011 03:19:55 +0000 (14:19 +1100)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:18:31 +0000 (14:18 +1100)]
Merge remote-tracking branch 'apm/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:11:47 +0000 (14:11 +1100)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:09:15 +0000 (14:09 +1100)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:09:06 +0000 (14:09 +1100)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 03:03:00 +0000 (14:03 +1100)]
Merge remote-tracking branch 'cputime/cputime'
Stephen Rothwell [Mon, 28 Nov 2011 03:01:41 +0000 (14:01 +1100)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Mon, 28 Nov 2011 02:58:53 +0000 (13:58 +1100)]
Merge remote-tracking branch 'security/next'
Stephen Rothwell [Mon, 28 Nov 2011 02:57:27 +0000 (13:57 +1100)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:56:04 +0000 (13:56 +1100)]
Merge remote-tracking branch 'fbdev/fbdev-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:15:49 +0000 (13:15 +1100)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:14:27 +0000 (13:14 +1100)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:14:18 +0000 (13:14 +1100)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:12:49 +0000 (13:12 +1100)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:11:24 +0000 (13:11 +1100)]
Merge remote-tracking branch 'battery/master'
Stephen Rothwell [Mon, 28 Nov 2011 02:09:52 +0000 (13:09 +1100)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:08:25 +0000 (13:08 +1100)]
Merge remote-tracking branch 'input/next'
Conflicts:
drivers/input/keyboard/samsung-keypad.c
Stephen Rothwell [Mon, 28 Nov 2011 02:06:58 +0000 (13:06 +1100)]
Merge branch 'quilt/rr'
Stephen Rothwell [Mon, 28 Nov 2011 02:06:49 +0000 (13:06 +1100)]
Merge remote-tracking branch 'cpufreq/next'
Stephen Rothwell [Mon, 28 Nov 2011 02:05:22 +0000 (13:05 +1100)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:03:52 +0000 (13:03 +1100)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 02:02:21 +0000 (13:02 +1100)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Mon, 28 Nov 2011 02:00:54 +0000 (13:00 +1100)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:59:26 +0000 (12:59 +1100)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:57:46 +0000 (12:57 +1100)]
Merge remote-tracking branch 'wireless-next/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:51:56 +0000 (12:51 +1100)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:48:17 +0000 (12:48 +1100)]
Merge remote-tracking branch 'slave-dma/next'
Conflicts:
drivers/dma/pl330.c
Stephen Rothwell [Mon, 28 Nov 2011 01:46:54 +0000 (12:46 +1100)]
Merge remote-tracking branch 'target-merge/for-next-merge'
Stephen Rothwell [Mon, 28 Nov 2011 01:45:27 +0000 (12:45 +1100)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Mon, 28 Nov 2011 01:44:02 +0000 (12:44 +1100)]
Merge remote-tracking branch 'infiniband/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:42:42 +0000 (12:42 +1100)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Mon, 28 Nov 2011 01:42:38 +0000 (12:42 +1100)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:41:15 +0000 (12:41 +1100)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:38:00 +0000 (12:38 +1100)]
Merge remote-tracking branch 'v4l-dvb/master'
Conflicts:
drivers/staging/media/as102/as102_drv.h
Stephen Rothwell [Mon, 28 Nov 2011 01:25:05 +0000 (12:25 +1100)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:23:50 +0000 (12:23 +1100)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Mon, 28 Nov 2011 01:22:32 +0000 (12:22 +1100)]
Merge remote-tracking branch 'bjdooks-i2c/next-i2c'
Conflicts:
drivers/i2c/busses/i2c-designware-platdrv.c
Stephen Rothwell [Mon, 28 Nov 2011 01:21:00 +0000 (12:21 +1100)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:17:56 +0000 (12:17 +1100)]
Merge remote-tracking branch 'pci/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:16:37 +0000 (12:16 +1100)]
Merge remote-tracking branch 'ubifs/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:15:05 +0000 (12:15 +1100)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:13:49 +0000 (12:13 +1100)]
Merge remote-tracking branch 'nfsd/nfsd-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:12:35 +0000 (12:12 +1100)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 01:11:20 +0000 (12:11 +1100)]
Merge remote-tracking branch 'logfs/master'
Conflicts:
fs/logfs/file.c
Stephen Rothwell [Mon, 28 Nov 2011 01:09:51 +0000 (12:09 +1100)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:09:46 +0000 (12:09 +1100)]
Merge remote-tracking branch 'ecryptfs/next'
Stephen Rothwell [Mon, 28 Nov 2011 01:08:28 +0000 (12:08 +1100)]
Merge remote-tracking branch 'cifs/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:07:07 +0000 (12:07 +1100)]
Merge remote-tracking branch 'xtensa/master'
Stephen Rothwell [Mon, 28 Nov 2011 01:05:47 +0000 (12:05 +1100)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 28 Nov 2011 01:05:29 +0000 (12:05 +1100)]
Merge remote-tracking branch '52xx-and-virtex/powerpc/next'
Stephen Rothwell [Mon, 28 Nov 2011 01:03:03 +0000 (12:03 +1100)]
Merge remote-tracking branch 'powerpc/next'
Stephen Rothwell [Mon, 28 Nov 2011 01:01:42 +0000 (12:01 +1100)]
Merge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:59:54 +0000 (11:59 +1100)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:58:34 +0000 (11:58 +1100)]
Merge remote-tracking branch 'm68knommu/for-next'
Conflicts:
arch/m68k/Kconfig.debug
Stephen Rothwell [Mon, 28 Nov 2011 00:57:10 +0000 (11:57 +1100)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:55:55 +0000 (11:55 +1100)]
Merge remote-tracking branch 'ia64/next'
Stephen Rothwell [Mon, 28 Nov 2011 00:54:41 +0000 (11:54 +1100)]
Merge branch 'quilt/hexagon'
Stephen Rothwell [Mon, 28 Nov 2011 00:53:08 +0000 (11:53 +1100)]
Merge remote-tracking branch 'cris/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:47:50 +0000 (11:47 +1100)]
Merge remote-tracking branch 'c6x/for-linux-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:46:29 +0000 (11:46 +1100)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Mon, 28 Nov 2011 00:45:15 +0000 (11:45 +1100)]
Merge remote-tracking branch 's5p/for-next'
Conflicts:
arch/arm/mach-exynos/cpu.c
arch/arm/mach-exynos/include/mach/entry-macro.S
Stephen Rothwell [Mon, 28 Nov 2011 00:43:51 +0000 (11:43 +1100)]
Merge remote-tracking branch 'i.MX/for-next'
Conflicts:
arch/arm/mach-imx/clock-mx51-mx53.c
arch/arm/mach-imx/devices-imx53.h
arch/arm/mach-imx/mm-imx5.c
arch/arm/mach-mx5/Kconfig
arch/arm/mach-mx5/Makefile
arch/arm/mach-mx5/pm-imx5.c
arch/arm/plat-mxc/include/mach/hardware.h
Stephen Rothwell [Mon, 28 Nov 2011 00:38:19 +0000 (11:38 +1100)]
Merge remote-tracking branch 'at91/at91-next'
Conflicts:
arch/arm/mach-at91/at91cap9.c
arch/arm/mach-at91/at91sam9260.c
arch/arm/mach-at91/at91sam9261.c
arch/arm/mach-at91/at91sam9263.c
arch/arm/mach-at91/at91sam9_alt_reset.S
arch/arm/mach-at91/at91sam9g45.c
arch/arm/mach-at91/at91sam9rl.c
arch/arm/mach-at91/board-cap9adk.c
arch/arm/mach-at91/board-cpu9krea.c
arch/arm/mach-at91/board-cpuat91.c
arch/arm/mach-at91/board-snapper9260.c
arch/arm/mach-at91/generic.h
arch/arm/mach-at91/include/mach/system.h
arch/arm/mach-at91/setup.c
include/linux/platform_data/macb.h
Stephen Rothwell [Sun, 27 Nov 2011 23:57:45 +0000 (10:57 +1100)]
Merge remote-tracking branch 'arm-perf/for-next/perf'
Stephen Rothwell [Sun, 27 Nov 2011 23:56:31 +0000 (10:56 +1100)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
arch/arm/plat-omap/include/plat/common.h
arch/arm/tools/mach-types
drivers/net/ethernet/cadence/Kconfig
Stephen Rothwell [Sun, 27 Nov 2011 23:43:44 +0000 (10:43 +1100)]
Merge remote-tracking branch 'arm-lpae/for-next'
Conflicts:
arch/arm/include/asm/pgalloc.h
arch/arm/include/asm/pgtable.h
arch/arm/include/asm/tlb.h
arch/arm/mm/ioremap.c
Stephen Rothwell [Sun, 27 Nov 2011 23:37:52 +0000 (10:37 +1100)]
Merge remote-tracking branch 'arm/for-next'
Stephen Rothwell [Sun, 27 Nov 2011 23:34:23 +0000 (10:34 +1100)]
Merge remote-tracking branch 'staging.current/staging-linus'
Stephen Rothwell [Sun, 27 Nov 2011 23:34:22 +0000 (10:34 +1100)]
Merge remote-tracking branch 'usb.current/usb-linus'
Stephen Rothwell [Sun, 27 Nov 2011 23:34:20 +0000 (10:34 +1100)]
Merge remote-tracking branch 'sound-current/for-linus'
Stephen Rothwell [Sun, 27 Nov 2011 23:34:19 +0000 (10:34 +1100)]
Merge remote-tracking branch 'net/master'
Stephen Rothwell [Sun, 27 Nov 2011 23:34:16 +0000 (10:34 +1100)]
Merge remote-tracking branch 'arm-current/fixes'
Amir Vadai [Sat, 26 Nov 2011 19:55:23 +0000 (19:55 +0000)]
net/mlx4_en: bug fix for the case of vlan id 0 and UP 0
When using vlan 0 and UP 0, vlan header wasn't placed.
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Amir Vadai [Sat, 26 Nov 2011 19:55:19 +0000 (19:55 +0000)]
net/mlx4_en: adding loopback support
Device must be in promiscuous mode or DMAC must be same as the host MAC, or
else packet will be dropped by the HW rx filtering.
Signed-off-by: Amir Vadai <amirv@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Oren Duer [Sat, 26 Nov 2011 19:55:15 +0000 (19:55 +0000)]
net/mlx4_en: fix WOL handlers were always looking at port2 capability bit
There are 2 capability bits for WOL, one for each port.
WOL handlers were looking only on the second bit, regardless of the port.
Signed-off-by: Oren Duer <oren@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>