]>
git.karo-electronics.de Git - karo-tx-linux.git/log
Wen Congyang [Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)]
acpi_memhotplug.c: auto bind the memory device which is hotplugged before the driver is loaded
If the memory device is hotplugged before the driver is loaded, the user
cannot see this device under the directory /sys/bus/acpi/devices/, and the
user cannot bind it by hand after the driver is loaded. This patch
introduces a new feature to bind such device when the driver is being
loaded.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Wen Congyang [Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)]
acpi_memhotplug.c: bind the memory device when the driver is being loaded
We had introduced acpi_hotmem_initialized to avoid strange add_memory fail
message. But the memory device may not be used by the kernel, and the
device should be bound when the driver is being loaded. Remove
acpi_hotmem_initialized to allow that the device can be bound when the
driver is being loaded.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Wen Congyang [Tue, 14 Aug 2012 03:22:25 +0000 (13:22 +1000)]
acpi_memhotplug.c: don't allow to eject the memory device if it is being used
We eject the memory device even if it is in use. It is very dangerous,
and it will cause the kernel to panic.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Wen Congyang [Tue, 14 Aug 2012 03:22:24 +0000 (13:22 +1000)]
acpi_memhotplug.c: remove memory info from list before freeing it
We free info, but we forget to remove it from the list. It will cause
unexpected problems when we access the list next time.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Wen Congyang [Tue, 14 Aug 2012 03:22:24 +0000 (13:22 +1000)]
acpi_memhotplug.c: free memory device if acpi_memory_enable_device() failed
If acpi_memory_enable_device() fails, acpi_memory_enable_device() will
return a non-zero value, which means we fail to bind the memory device to
this driver. So we should free memory device before
acpi_memory_device_add() returns.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Wen Congyang [Tue, 14 Aug 2012 03:22:24 +0000 (13:22 +1000)]
acpi_memhotplug.c: fix memory leak when memory device is unbound from the module acpi_memhotplug
We allocate memory to store acpi_memory_info, so we should free it before
freeing mem_device.
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Len Brown <lenb@kernel.org>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Yasuaki ISIMATU <isimatu.yasuaki@jp.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen M. Cameron [Tue, 14 Aug 2012 03:22:24 +0000 (13:22 +1000)]
cciss: fix incorrect scsi status reporting
Delete code which sets SCSI status incorrectly as it's already been set
correctly above this incorrect code. Bug was introduced by
b0e15f6db1110
("cciss: fix typo that causes scsi status to be lost.") in 2009.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Reported-by: Roel van Meer <roel.vanmeer@bokxing.nl>
Tested-by: Roel van Meer <roel.vanmeer@bokxing.nl>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: <stable@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Namjae Jeon [Tue, 14 Aug 2012 03:22:23 +0000 (13:22 +1000)]
Documentation: update mount option in filesystem/vfat.txt
Update two mount options(discard, nfs) in vfat.txt.
Signed-off-by: Namjae Jeon <linkinjeon@gmail.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Hugh Dickins [Tue, 14 Aug 2012 03:22:23 +0000 (13:22 +1000)]
mm: change nr_ptes BUG_ON to WARN_ON
Occasionally an isolated BUG_ON(mm->nr_ptes) gets reported, indicating
that not all the page tables allocated could be found and freed when
exit_mmap() tore down the user address space.
There's usually nothing we can say about it, beyond that it's probably a
sign of some bad memory or memory corruption; though it might still
indicate a bug in vma or page table management (and did recently reveal a
race in THP, fixed a few months ago).
But one overdue change we can make is from BUG_ON to WARN_ON.
It's fairly likely that the system will crash shortly afterwards in some
other way (for example, the BUG_ON(page_mapped(page)) in
__delete_from_page_cache(), once an inode mapped into the lost page tables
gets evicted); but might tell us more before that.
Change the BUG_ON(page_mapped) to WARN_ON too? Later perhaps: I'm less
eager, since that one has several times led to fixes.
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Jens Rottmann [Tue, 14 Aug 2012 03:22:23 +0000 (13:22 +1000)]
cs5535-clockevt: typo, it's MFGPT, not MFPGT
Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Stephen Rothwell [Mon, 20 Aug 2012 06:50:42 +0000 (16:50 +1000)]
Merge branch 'signal/from-sfr'
Conflicts:
arch/arm/include/asm/thread_info.h
arch/powerpc/kernel/entry_64.S
arch/x86/kernel/signal.c
Stephen Rothwell [Mon, 20 Aug 2012 06:45:52 +0000 (16:45 +1000)]
Merge remote-tracking branch 'userns/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:44:16 +0000 (16:44 +1000)]
Merge remote-tracking branch 'pwm/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:42:38 +0000 (16:42 +1000)]
Merge remote-tracking branch 'kvmtool/master'
Stephen Rothwell [Mon, 20 Aug 2012 06:41:04 +0000 (16:41 +1000)]
Merge remote-tracking branch 'tegra/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:39:28 +0000 (16:39 +1000)]
Merge remote-tracking branch 'samsung/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:39:23 +0000 (16:39 +1000)]
Merge remote-tracking branch 'ep93xx/ep93xx-for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:34:53 +0000 (16:34 +1000)]
Merge remote-tracking branch 'arm-soc/for-next'
Conflicts:
drivers/mtd/nand/Kconfig
Stephen Rothwell [Mon, 20 Aug 2012 06:33:19 +0000 (16:33 +1000)]
Merge remote-tracking branch 'gpio-lw/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:33:05 +0000 (16:33 +1000)]
Merge remote-tracking branch 'vhost/linux-next'
Conflicts:
drivers/net/tun.c
Stephen Rothwell [Mon, 20 Aug 2012 06:31:20 +0000 (16:31 +1000)]
Merge remote-tracking branch 'pinctrl/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:29:35 +0000 (16:29 +1000)]
Merge remote-tracking branch 'tmem/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:27:58 +0000 (16:27 +1000)]
Merge remote-tracking branch 'char-misc/char-misc-next'
Conflicts:
drivers/misc/mei/interrupt.c
Stephen Rothwell [Mon, 20 Aug 2012 06:26:10 +0000 (16:26 +1000)]
Merge remote-tracking branch 'staging/staging-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:24:34 +0000 (16:24 +1000)]
Merge remote-tracking branch 'usb/usb-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:22:16 +0000 (16:22 +1000)]
Merge remote-tracking branch 'tty/tty-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:15:18 +0000 (16:15 +1000)]
Merge remote-tracking branch 'driver-core/driver-core-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:13:25 +0000 (16:13 +1000)]
Merge remote-tracking branch 'leds/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 06:11:50 +0000 (16:11 +1000)]
Merge remote-tracking branch 'regmap/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:51:09 +0000 (14:51 +1000)]
Merge remote-tracking branch 'workqueues/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:49:25 +0000 (14:49 +1000)]
Merge remote-tracking branch 'xen-two/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:47:42 +0000 (14:47 +1000)]
Merge remote-tracking branch 'kvm-ppc/kvm-ppc-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:46:05 +0000 (14:46 +1000)]
Merge remote-tracking branch 'kvm/linux-next'
Conflicts:
arch/s390/include/asm/processor.h
Stephen Rothwell [Mon, 20 Aug 2012 04:44:23 +0000 (14:44 +1000)]
Merge remote-tracking branch 'kmemleak/kmemleak'
Stephen Rothwell [Mon, 20 Aug 2012 04:37:12 +0000 (14:37 +1000)]
Merge remote-tracking branch 'rcu/rcu/next'
Conflicts:
arch/Kconfig
arch/x86/Kconfig
include/linux/sched.h
Stephen Rothwell [Mon, 20 Aug 2012 04:08:31 +0000 (14:08 +1000)]
Merge commit 'refs/next/
20120814 /tip'
Stephen Rothwell [Mon, 20 Aug 2012 04:04:48 +0000 (14:04 +1000)]
Merge remote-tracking branch 'spi-mb/spi-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:02:48 +0000 (14:02 +1000)]
Merge remote-tracking branch 'dt-rh/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 04:02:41 +0000 (14:02 +1000)]
Merge remote-tracking branch 'edac-amd/for-next'
Conflicts:
Documentation/edac.txt
drivers/edac/amd64_edac.c
Stephen Rothwell [Mon, 20 Aug 2012 04:02:27 +0000 (14:02 +1000)]
Merge remote-tracking branch 'edac/linux_next'
Stephen Rothwell [Mon, 20 Aug 2012 04:00:42 +0000 (14:00 +1000)]
Merge remote-tracking branch 'fsnotify/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:53:44 +0000 (13:53 +1000)]
Merge remote-tracking branch 'pm/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:47:32 +0000 (13:47 +1000)]
Merge remote-tracking branch 'trivial/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:45:54 +0000 (13:45 +1000)]
Merge remote-tracking branch 'osd/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:44:18 +0000 (13:44 +1000)]
Merge remote-tracking branch 'iommu/next'
Stephen Rothwell [Mon, 20 Aug 2012 03:42:38 +0000 (13:42 +1000)]
Merge remote-tracking branch 'watchdog/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:42:32 +0000 (13:42 +1000)]
Merge remote-tracking branch 'selinux/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:40:30 +0000 (13:40 +1000)]
Merge remote-tracking branch 'security/next'
Stephen Rothwell [Mon, 20 Aug 2012 03:38:54 +0000 (13:38 +1000)]
Merge remote-tracking branch 'regulator/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:37:05 +0000 (13:37 +1000)]
Merge remote-tracking branch 'md/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:35:30 +0000 (13:35 +1000)]
Merge remote-tracking branch 'slab/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:33:52 +0000 (13:33 +1000)]
Merge remote-tracking branch 'kgdb/kgdb-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:32:20 +0000 (13:32 +1000)]
Merge remote-tracking branch 'mmc/mmc-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:30:39 +0000 (13:30 +1000)]
Merge branch 'quilt/device-mapper'
Stephen Rothwell [Mon, 20 Aug 2012 03:28:15 +0000 (13:28 +1000)]
Merge remote-tracking branch 'block/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:28:12 +0000 (13:28 +1000)]
Merge remote-tracking branch 'cgroup/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:26:30 +0000 (13:26 +1000)]
Merge remote-tracking branch 'input/next'
Stephen Rothwell [Mon, 20 Aug 2012 03:21:23 +0000 (13:21 +1000)]
Merge branch 'quilt/rr'
Conflicts:
arch/s390/Kconfig
arch/xtensa/Kconfig
Stephen Rothwell [Mon, 20 Aug 2012 03:19:44 +0000 (13:19 +1000)]
Merge remote-tracking branch 'sound-asoc/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:17:58 +0000 (13:17 +1000)]
Merge remote-tracking branch 'sound/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:17:56 +0000 (13:17 +1000)]
Merge remote-tracking branch 'drm/drm-next'
Stephen Rothwell [Mon, 20 Aug 2012 03:16:20 +0000 (13:16 +1000)]
Merge remote-tracking branch 'crypto/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:14:47 +0000 (13:14 +1000)]
Merge remote-tracking branch 'l2-mtd/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:13:09 +0000 (13:13 +1000)]
Merge remote-tracking branch 'mtd/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:11:34 +0000 (13:11 +1000)]
Merge remote-tracking branch 'bluetooth/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:04:26 +0000 (13:04 +1000)]
Merge remote-tracking branch 'net-next/master'
Stephen Rothwell [Mon, 20 Aug 2012 03:02:49 +0000 (13:02 +1000)]
Merge remote-tracking branch 'slave-dma/next'
Stephen Rothwell [Mon, 20 Aug 2012 03:01:07 +0000 (13:01 +1000)]
Merge remote-tracking branch 'target-updates/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:59:24 +0000 (12:59 +1000)]
Merge remote-tracking branch 'scsi/for-next'
Conflicts:
drivers/ata/libata-core.c
Stephen Rothwell [Mon, 20 Aug 2012 02:57:49 +0000 (12:57 +1000)]
Merge remote-tracking branch 'dlm/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:56:17 +0000 (12:56 +1000)]
Merge remote-tracking branch 'ubi/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:54:43 +0000 (12:54 +1000)]
Merge remote-tracking branch 'thermal/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:54:36 +0000 (12:54 +1000)]
Merge remote-tracking branch 'cpuidle/cpuidle-next'
Conflicts:
drivers/cpuidle/coupled.c
Stephen Rothwell [Mon, 20 Aug 2012 02:44:34 +0000 (12:44 +1000)]
Merge remote-tracking branch 'libata/NEXT'
Stephen Rothwell [Mon, 20 Aug 2012 02:42:56 +0000 (12:42 +1000)]
Merge remote-tracking branch 'kconfig/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:42:45 +0000 (12:42 +1000)]
Merge remote-tracking branch 'kbuild/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:40:53 +0000 (12:40 +1000)]
Merge remote-tracking branch 'v4l-dvb/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:39:28 +0000 (12:39 +1000)]
Merge remote-tracking branch 'hwmon-staging/hwmon-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:38:02 +0000 (12:38 +1000)]
Merge branch 'quilt/jdelvare-hwmon'
Stephen Rothwell [Mon, 20 Aug 2012 02:36:36 +0000 (12:36 +1000)]
Merge branch 'quilt/i2c'
Stephen Rothwell [Mon, 20 Aug 2012 02:35:08 +0000 (12:35 +1000)]
Merge remote-tracking branch 'hid/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:28:09 +0000 (12:28 +1000)]
Merge remote-tracking branch 'vfs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:26:37 +0000 (12:26 +1000)]
Merge remote-tracking branch 'xfs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:25:00 +0000 (12:25 +1000)]
Merge remote-tracking branch 'ocfs2/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:23:30 +0000 (12:23 +1000)]
Merge remote-tracking branch 'nfs/linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:22:00 +0000 (12:22 +1000)]
Merge remote-tracking branch 'logfs/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:20:36 +0000 (12:20 +1000)]
Merge remote-tracking branch 'gfs2/master'
Stephen Rothwell [Mon, 20 Aug 2012 02:19:07 +0000 (12:19 +1000)]
Merge remote-tracking branch 'ext4/dev'
Stephen Rothwell [Mon, 20 Aug 2012 02:17:38 +0000 (12:17 +1000)]
Merge remote-tracking branch 'ext3/for_next'
Stephen Rothwell [Mon, 20 Aug 2012 02:16:09 +0000 (12:16 +1000)]
Merge remote-tracking branch 'cifs/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:14:44 +0000 (12:14 +1000)]
Merge remote-tracking branch 'xtensa/for_next'
Stephen Rothwell [Mon, 20 Aug 2012 02:13:18 +0000 (12:13 +1000)]
Merge remote-tracking branch 'unicore32/unicore32'
Stephen Rothwell [Mon, 20 Aug 2012 02:11:53 +0000 (12:11 +1000)]
Merge remote-tracking branch 's390/features'
Stephen Rothwell [Mon, 20 Aug 2012 02:09:27 +0000 (12:09 +1000)]
Merge remote-tracking branch 'galak/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:08:01 +0000 (12:08 +1000)]
Merge remote-tracking branch 'mpc5xxx/next'
Stephen Rothwell [Mon, 20 Aug 2012 02:06:36 +0000 (12:06 +1000)]
Merge remote-tracking branch 'parisc/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:05:13 +0000 (12:05 +1000)]
Merge remote-tracking branch 'mips/mips-for-linux-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:03:48 +0000 (12:03 +1000)]
Merge remote-tracking branch 'm68knommu/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:02:23 +0000 (12:02 +1000)]
Merge remote-tracking branch 'm68k/for-next'
Stephen Rothwell [Mon, 20 Aug 2012 02:00:57 +0000 (12:00 +1000)]
Merge remote-tracking branch 'cris/for-next'