linux-kernel mailing list

FromSubjectsort iconDate
ling.ma
[PATCH V2] [X86] Fix potential issue on memmove
From: root <root@glibc-nhm.localdomain> memmove allow source and destination address to be overlap, but no limitation for memcpy. So memmove use forward or backward copy mode to handle src > dest and dest > src cases respectively. However memcpy has not address overlap, it may use any copy mode theoretically. Our original memmove will call memcpy and assume it must use forward copy mode, otherwise the system will crash, it is potential issue. The patch avoid assumption, meanwhile re-active ...
Aug 11, 3:20 pm 2010
Greg KH
[002/111] powerpc: fix build with make 3.82
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Sam Ravnborg <sam@ravnborg.org> commit e32e78c5ee8aadef020fbaecbe6fb741ed9029fd upstream. Thomas Backlund reported that the powerpc build broke with make 3.82. It failed with the following message: arch/powerpc/Makefile:183: *** mixed implicit and normal rules. Stop. The fix is to avoid mixing non-wildcard and wildcard targets. Reported-by: Thomas Backlund ...
Aug 11, 4:53 pm 2010
Greg KH
[005/111] x86, vmware: Preset lpj values when on VMware.
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Alok Kataria <akataria@vmware.com> commit 9f242dc10e0c3c1eb32d8c83c18650a35fd7f80d upstream. When running on VMware's platform, we have seen situations where the AP's try to calibrate the lpj values and fail to get good calibration runs becasue of timing issues. As a result delays don't work correctly on all cpus. The solutions is to set preset_lpj value based on the current tsc ...
Aug 11, 4:53 pm 2010
Greg KH
[006/111] Staging: line6: needs to select SND_PCM
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Randy Dunlap <randy.dunlap@oracle.com> commit e928c077e5cdcd72ee762125b37232aec1ff49f3 upstream. line6 uses snd_pcm*() functions, so it should select SND_PCM. ERROR: "snd_pcm_period_elapsed" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_set_ops" [drivers/staging/line6/line6usb.ko] undefined! ERROR: "snd_pcm_lib_free_pages" [drivers/staging/line6/line6usb.ko] ...
Aug 11, 4:53 pm 2010
Greg KH
[000/111] 2.6.32.19 -stable review
This is the start of the stable review cycle for the 2.6.32.19 release. There are 111 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a Signed-off-by: line to the patch, please respond with it. Responses should be made by Friday, August 13, 2010, 20:00:00 UTC. Anything received after that time might be too late. The whole patch ...
Aug 11, 4:56 pm 2010
Greg KH
[008/111] PCI: Do not run NVidia quirks related to MSI w ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Rafael J. Wysocki <rjw@sisk.pl> commit 3d2a531804d16cd8df6dbbb0429c6f143e756049 upstream. There is no reason to run NVidia-specific quirks related to HT MSI mappings with MSI disabled via pci=nomsi, so make __nv_msi_ht_cap_quirk() return immediately in that case. This allows at least one machine to boot 100% of the time with pci=nomsi (it still doesn't boot reliably without ...
Aug 11, 4:53 pm 2010
Greg KH
[007/111] Staging: panel: Prevent double-calling of parp ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Peter Huewe <peterhuewe@gmx.de> commit 060132ae42cce3f9d2fd34d9a17b98362b44b9f9 upstream. This patch prevents the code from calling parport_release and parport_unregister_device twice with the same arguments - and thus fixes an oops. Rationale: After the first call the parport is already released and the handle isn't valid anymore and calling parport_release ...
Aug 11, 4:53 pm 2010
Greg KH
[003/111] nvram: Fix write beyond end condition; prove t ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: H. Peter Anvin <hpa@zytor.com> commit a01c7800420d2c294ca403988488a635d4087a6d upstream. In nvram_write, first of all, correctly handle the case where the file pointer is already beyond the end; we should return EOF in that case. Second, make the logic a bit more explicit so that gcc can statically prove that the copy_from_user() is safe. Once the condition of the beyond-end ...
Aug 11, 4:53 pm 2010
Greg KH
[013/111] ide-cd: Do not access completed requests in th ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Borislav Petkov <bp@alien8.de> commit 110712828365ccafcc61a7f4db44c31ed4cf8793 upstream. ide_cd_error_cmd() can complete an erroneous request with leftover buffers. Signal this with its return value so that the request is not accessed after its completion in the irq handler and we oops. Signed-off-by: Borislav Petkov <bp@alien8.de> Signed-off-by: David S. Miller ...
Aug 11, 4:53 pm 2010
Greg KH
[015/111] blkdev: cgroup whitelist permission fix
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Chris Wright <chrisw@sous-sol.org> commit b7300b78d1a87625975a799a109a2f98d77757c8 upstream. The cgroup device whitelist code gets confused when trying to grant permission to a disk partition that is not currently open. Part of blkdev_open() includes __blkdev_get() on the whole disk. Basically, the only ways to reliably allow a cgroup access to a partition on a block device when ...
Aug 11, 4:53 pm 2010
Greg KH
[017/111] ecryptfs: release reference to lower mount if ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Lino Sanfilippo <LinoSanfilippo@gmx.de> commit 31f73bee3e170b7cabb35db9e2f4bf7919b9d036 upstream. In ecryptfs_lookup_and_interpose_lower() the lower mount is not decremented if allocation of a dentry info struct failed. As a result the lower filesystem cant be unmounted any more (since it is considered busy). This patch corrects the reference counting. Signed-off-by: Lino Sanfilippo ...
Aug 11, 4:53 pm 2010
Greg KH
[020/111] signalfd: fill in ssi_int for posix timers and ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Nathan Lynch <ntl@pobox.com> commit a2a20c412c86e0bb46a9ab0dd31bcfe6d201b913 upstream. If signalfd is used to consume a signal generated by a POSIX interval timer or POSIX message queue, the ssi_int field does not reflect the data (sigevent->sigev_value) supplied to timer_create(2) or mq_notify(3). (The ssi_ptr field, however, is filled in.) This behavior differs from signalfd's ...
Aug 11, 4:54 pm 2010
Greg KH
[012/111] drivers/video/w100fb.c: ignore void return val ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Peter Huewe <peterhuewe@gmx.de> commit fa260c00c1aa5c657793a7221e40d2400df5afd8 upstream. Fix a build failure "error: void value not ignored as it ought to be" by removing an assignment of a void return value. The functionality of the code is not changed. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Henrik Kretzschmar <henne@nachtwindheim.de> Signed-off-by: Andrew ...
Aug 11, 4:53 pm 2010
Greg KH
[011/111] splice: fix misuse of SPLICE_F_NONBLOCK
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Miklos Szeredi <miklos@szeredi.hu> commit 6965031d331a642e31278fa1b5bd47f372ffdd5d upstream. SPLICE_F_NONBLOCK is clearly documented to only affect blocking on the pipe. In __generic_file_splice_read(), however, it causes an EAGAIN if the page is currently being read. This makes it impossible to write an application that only wants failure if the pipe is full. For example if the ...
Aug 11, 4:53 pm 2010
Greg KH
[021/111] smsc911x: Add spinlocks around registers access
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Catalin Marinas <catalin.marinas@arm.com> commit 492c5d943d6a04b124ba3a719dc746dc36b14cfb upstream. On SMP systems, the SMSC911x registers may be accessed by multiple CPUs and this seems to put the chip in an inconsistent state. The patch adds spinlocks to the smsc911x_reg_read, smsc911x_reg_write, smsc911x_rx_readfifo and smsc911x_tx_writefifo functions. Signed-off-by: Catalin ...
Aug 11, 4:54 pm 2010
Greg KH Aug 11, 4:54 pm 2010
Greg KH
[025/111] USB delay init quirk for logitech Harmony 700- ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Phil Dibowitz <phil@ipom.com> commit 93362a875fc69881ae69299efaf19a55a1f57db0 upstream. The Logitech Harmony 700 series needs an extra delay during initialization. This patch adds a USB quirk which enables such a delay and adds the device to the quirks list. Signed-off-by: Phil Dibowitz <phil@ipom.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- ...
Aug 11, 4:54 pm 2010
Greg KH
[018/111] fs/ecryptfs/file.c: introduce missing free
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Julia Lawall <julia@diku.dk> commit ceeab92971e8af05c1e81a4ff2c271124b55bb9b upstream. The comments in the code indicate that file_info should be released if the function fails. This releasing is done at the label out_free, not out. The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression ...
Aug 11, 4:53 pm 2010
Greg KH
[016/111] eCryptfs: Handle ioctl calls with unlocked and ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tyler Hicks <tyhicks@linux.vnet.ibm.com> commit c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 upstream. Lower filesystems that only implemented unlocked_ioctl weren't being passed ioctl calls because eCryptfs only checked for lower_file->f_op->ioctl and returned -ENOTTY if it was NULL. eCryptfs shouldn't implement ioctl(), since it doesn't require the BKL. This patch introduces ...
Aug 11, 4:53 pm 2010
Greg KH
[026/111] USB: serial: enabling support for Segway RMP i ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: John G. Rogers <jgrogers@gmail.com> commit afad19648f70c6493193e0a774bd754b7790b4a0 upstream. I have added the ProductID=0xe729 VendorID=FTDI_VID=0x0403 which will enable support for the Segway Robotic Mobility Platform (RMP200) in the ftdi_sio kernel module. Currently, users of the Segway RMP200 must use a RUN+="/sbin/modprobe -q ftdi-sio product=0xe729 vendor=0x0403 in a udev rule ...
Aug 11, 4:54 pm 2010
Greg KH
[029/111] USB: ftdi_sio: device id for Navitator
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: dranch@trinnet.net <dranch@trinnet.net> commit b6180ef7c99574c3350bbffa2a3a9d675321543d upstream. This patch is to add a US Interface, Inc. "Navigator" USB device. Specifically, it's a HAM Radio USB sound modem that also incorporates three pairs of unique FTDI serial ports. The standard Linux FTDI serial driver will only recognize the first two serial ports of an unknown FDTI derived ...
Aug 11, 4:54 pm 2010
Greg KH
[030/111] USB: cp210x: Add four new device IDs
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Alessio Igor Bogani <abogani@texware.it> commit 356c5a4834a74c621715f7a7f16ded914eecbd3c upstream. Signed-off-by: Alessio Igor Bogani <abogani@texware.it> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/usb/serial/cp210x.c | 4 ++++ 1 file changed, 4 insertions(+) --- a/drivers/usb/serial/cp210x.c +++ b/drivers/usb/serial/cp210x.c @@ -128,6 +128,10 @@ static ...
Aug 11, 4:54 pm 2010
Greg KH
[031/111] USB: usbtest: avoid to free coherent buffer in ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ming Lei <tom.leiming@gmail.com> commit e10e1bec8e6654de4591ef45ddd6a6d1e5b2591c upstream. This patch fixes the warning below: [30753.755998] ------------[ cut here ]------------ [30753.755998] WARNING: at /home/tom/git/linux-2.6/linux-2.6-next/arch/x86/include/asm/dma-mapping.h:155 hcd_buffer_free+0xb1/0xd4 [usbcore]() [30753.755998] Hardware name: 6475EK2 [30753.755998] Modules ...
Aug 11, 4:54 pm 2010
Greg KH
[035/111] jfs: dont allow os2 xattr namespace overlap wi ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Dave Kleikamp <shaggy@linux.vnet.ibm.com> commit aca0fa34bdaba39bfddddba8ca70dba4782e8fe6 upstream. It's currently possible to bypass xattr namespace access rules by prefixing valid xattr names with "os2.", since the os2 namespace stores extended attributes in a legacy format with no prefix. This patch adds checking to deny access to any valid namespace prefix following ...
Aug 11, 4:54 pm 2010
Greg KH
[027/111] USB: option: Huawei ETS 1220 support added
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Pavel Kazlou <p.i.kazlou@gmail.com> commit b972302b0a13aaddc9e90da2b4b52722e5d0e776 upstream. The patch adds Huawei ETS 1220 product id into the list of supported devices in 'option' usb serial driver. Signed-off-by: Pavel Kazlou <p.i.kazlou@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/usb/serial/option.c | 2 ++ 1 file changed, 2 ...
Aug 11, 4:54 pm 2010
Greg KH
[024/111] USB: resizing usbmon binary interface buffer c ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Steven Robertson <steven@strobe.cc> commit 33d973ad88ceb83ed1449592b7574b5b5bb33ac6 upstream. Enlarging the buffer size via the MON_IOCT_RING_SIZE ioctl causes general protection faults. It appears the culprit is an incorrect argument to mon_free_buff: instead of passing the size of the current buffer being freed, the size of the new buffer is passed. Use the correct size argument to ...
Aug 11, 4:54 pm 2010
Greg KH
[034/111] Bluetooth: Added support for controller shippe ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Cyril Lacoux <clacoux@ifeelgood.org> commit 0a79f67445de50ca0a8dc1d34f3cc406d89c28b2 upstream. Device class is ff(vend.) instead of e0(wlcon). Output from command `usb-devices`: T: Bus=01 Lev=03 Prnt=03 Port=00 Cnt=01 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=05ac ProdID=8215 Rev=01.82 S: Manufacturer=Apple Inc. S: ...
Aug 11, 4:54 pm 2010
Greg KH
[038/111] net: Fix NETDEV_NOTIFY_PEERS to not conflict w ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: David S. Miller <davem@davemloft.net> commit 38117d1495e587fbb10d6e55733139a27893cef5 upstream. Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- include/linux/notifier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -201,7 +201,7 @@ static ...
Aug 11, 4:54 pm 2010
Greg KH
[039/111] irq: Add new IRQ flag IRQF_NO_SUSPEND
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ian Campbell <ian.campbell@citrix.com> commit 685fd0b4ea3f0f1d5385610b0d5b57775a8d5842 upstream. A small number of users of IRQF_TIMER are using it for the implied no suspend behaviour on interrupts which are not timer interrupts. Therefore add a new IRQF_NO_SUSPEND flag, rename IRQF_TIMER to __IRQF_TIMER and redefine IRQF_TIMER in terms of these new flags. Signed-off-by: Ian ...
Aug 11, 4:54 pm 2010
Greg KH
[036/111] arp_notify: allow drivers to explicitly reques ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ian Campbell <Ian.Campbell@citrix.com> commit 06c4648d46d1b757d6b9591a86810be79818b60c upstream. Currently such notifications are only generated when the device comes up or the address changes. However one use case for these notifications is to enable faster network recovery after a virtual machine migration (by causing switches to relearn their MAC tables). A migration appears to the ...
Aug 11, 4:54 pm 2010
Greg KH
[037/111] xen: netfront: explicitly generate arp_notify ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ian Campbell <Ian.Campbell@citrix.com> commit 592970675c9522bde588b945388c7995c8b51328 upstream. Use newly introduced netif_notify_peers() method to ensure a gratuitous ARP is generated after a migration. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: Stephen Hemminger <shemminger@linux-foundation.org> Cc: Jeremy Fitzhardinge <jeremy@goop.org> Cc: David S. Miller ...
Aug 11, 4:54 pm 2010
Greg KH
[047/111] Btrfs: Avoid orphan inodes cleanup while repla ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit c71bf099abddf3e0fdc27f251ba76fca1461d49a upstream. We do log replay in a single transaction, so it's not good to do unbound operations. This patch cleans up orphan inodes cleanup after replaying the log. It also avoids doing other unbound operations such as truncating a file during replaying log. These unbound operations are postponed to the ...
Aug 11, 4:54 pm 2010
Greg KH
[048/111] Btrfs: Avoid orphan inodes cleanup during comm ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 2e4bfab97055aa6acdd0637913bd705c2d6506d6 upstream. btrfs_lookup_dentry may trigger orphan cleanup, so it's not good to call it while committing a transaction. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:54 pm 2010
Greg KH
[049/111] Btrfs: Make fallocate(2) more ENOSPC friendly
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 5a303d5d4b8055d2e5a03e92d04745bfc5881a22 upstream. fallocate(2) may allocate large number of file extents, so it's not good to do it in a single transaction. This patch make fallocate(2) start a new transaction for each file extents it allocates. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason ...
Aug 11, 4:54 pm 2010
Greg KH
[052/111] Btrfs: Add delayed iput
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 24bbcf0442ee04660a5a030efdbb6d03f1c275cb upstream. iput() can trigger new transactions if we are dropping the final reference, so calling it in btrfs_commit_transaction may end up deadlock. This patch adds delayed iput to avoid the issue. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason ...
Aug 11, 4:54 pm 2010
Greg KH
[053/111] Btrfs: Fix btrfs_drop_extent_cache for skip pi ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 55ef68990029fcd8d04d42fc184aa7fb18cf309e upstream. The check for skip pinned case is wrong, it may breaks the while loop too soon. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- ...
Aug 11, 4:54 pm 2010
Greg KH
[054/111] Btrfs: Fix per root used space accounting
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 86b9f2eca5e0984145e3c7698a7cd6dd65c2a93f upstream. The bytes_used field in root item was originally planned to trace the amount of used data and tree blocks. But it never worked right since we can't trace freeing of data accurately. This patch changes it to only trace the amount of tree blocks. Signed-off-by: Yan Zheng ...
Aug 11, 4:54 pm 2010
Greg KH
[056/111] Btrfs: fail mount on bad mount options
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Sage Weil <sage@newdream.net> commit a7a3f7cadd9bdee569243f7ead9550aa16b60e07 upstream. We shouldn't silently ignore unrecognized options. Signed-off-by: Sage Weil <sage@newdream.net> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/btrfs/super.c | 9 ++++++++- 1 file ...
Aug 11, 4:54 pm 2010
Greg KH
[044/111] Btrfs: Add btrfs_duplicate_item
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit ad48fd754676bfae4139be1a897b1ea58f9aaf21 upstream. btrfs_duplicate_item duplicates item with new key, guaranteeing the source item and the new items are in the same tree leaf and contiguous. It allows us to split file extent in place, without using lock_extent to prevent bookend extent race. Signed-off-by: Yan Zheng ...
Aug 11, 4:54 pm 2010
Greg KH
[043/111] Btrfs: Avoid superfluous tree-log writeout
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 8cef4e160d74920ad1725f58c89fd75ec4c4ac38 upstream. We allow two log transactions at a time, but use same flag to mark dirty tree-log btree blocks. So we may flush dirty blocks belonging to newer log transaction when committing a log transaction. This patch fixes the issue by using two flags to mark dirty tree-log btree blocks. Signed-off-by: ...
Aug 11, 4:54 pm 2010
Greg KH
[040/111] xen: Do not suspend IPI IRQs.
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Ian Campbell <ian.campbell@citrix.com> commit 4877c737283813bdb4bebfa3168c1585f6e3a8ca upstream. In general the semantics of IPIs are that they are are expected to continue functioning after dpm_suspend_noirq(). Specifically I have seen a deadlock between the callfunc IPI and the stop machine used by xen's do_suspend() routine. If one CPU has already called dpm_suspend_noirq() then ...
Aug 11, 4:54 pm 2010
Greg KH
[059/111] Btrfs: make metadata chunks smaller
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit 83d3c9696fed237a3d96fce18299e2fcf112109f upstream. This patch makes us a bit less zealous about making sure we have enough free metadata space by pearing down the size of new metadata chunks to 256mb instead of 1gb. Also, we used to try an allocate metadata chunks when allocating data, but that sort of thing is done elsewhere now so we can just ...
Aug 11, 4:54 pm 2010
Greg KH
[046/111] Btrfs: Fix disk_i_size update corner case
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit c216775458a2ee345d9412a2770c2916acfb5d30 upstream. There are some cases file extents are inserted without involving ordered struct. In these cases, we update disk_i_size directly, without checking pending ordered extent and DELALLOC bit. This patch extends btrfs_ordered_update_i_size() to handle these cases. Signed-off-by: Yan Zheng ...
Aug 11, 4:54 pm 2010
Greg KH
[060/111] Btrfs: make sure fallocate properly starts a t ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Chris Mason <chris.mason@oracle.com> commit 3a1abec9f6880cf406593c392636199ea1c6c917 upstream. The recent patch to make fallocate enospc friendly would send down a NULL trans handle to the allocator. This moves the transaction start to properly fix things. Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:54 pm 2010
Greg KH
[061/111] btrfs: fix missing last-entry in readdir(3)
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jan Engelhardt <jengelh@medozas.de> commit 406266ab9ac8ed8b085c58aacd9e3161480dc5d5 upstream. parent 49313cdac7b34c9f7ecbb1780cfc648b1c082cd7 (v2.6.32-1-g49313cd) commit ff48c08e1c05c67e8348ab6f8a24de8034e0e34d Author: Jan Engelhardt <jengelh@medozas.de> Date: Wed Dec 9 22:57:36 2009 +0100 Btrfs: fix missing last-entry in readdir(3) When one does a 32-bit readdir(3), the last ...
Aug 11, 4:54 pm 2010
Greg KH
[062/111] Btrfs: align offsets for btrfs_ordered_update_i_size
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <yanzheng@21cn.com> commit a038fab0cb873c75d6675e2bcffce8a3935bdce7 upstream. Some callers of btrfs_ordered_update_i_size can now pass in a NULL for the ordered extent to update against. This makes sure we properly align the offset they pass in when deciding how much to bump the on disk i_size. Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney ...
Aug 11, 4:54 pm 2010
Greg KH
[063/111] Btrfs, fix memory leaks in error paths
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jiri Slaby <jslaby@suse.cz> commit 2423fdfb96e3f9ff3baeb6c4c78d74145547891d upstream. Stanse found 2 memory leaks in relocate_block_group and __btrfs_map_block. cluster and multi are not freed/assigned on all paths. Fix that. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Cc: linux-btrfs@vger.kernel.org Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney ...
Aug 11, 4:54 pm 2010
Greg KH
[067/111] Btrfs: fix possible panic on unmount
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit 11dfe35a0108097f2df1f042c485fa7f758c2cdf upstream. We can race with the unmount of an fs and the stopping of a kthread where we will free the block group before we're done using it. The reason for this is because we do not hold a reference on the block group while its caching, since the allocator drops its reference once it exits or moves on to the ...
Aug 11, 4:54 pm 2010
Greg KH
[068/111] Btrfs: Use correct values when updating inode ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> commit d1ea6a61454e7d7ff0873d0ad1ae27d5807da0d3 upstream. commit f2bc9dd07e3424c4ec5f3949961fe053d47bc825 Author: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> Date: Wed Jan 20 12:57:53 2010 +0530 Btrfs: Use correct values when updating inode i_size on fallocate Even though we allocate more, we should be updating ...
Aug 11, 4:54 pm 2010
Greg KH
[070/111] Btrfs: run orphan cleanup on default fs root
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit e3acc2a6850efff647f1c5458524eb3a8bcba20a upstream. This patch revert's commit 6c090a11e1c403b727a6a8eff0b97d5fb9e95cb5 Since it introduces this problem where we can run orphan cleanup on a volume that can have orphan entries re-added. Instead of my original fix, Yan Zheng pointed out that we can just revert my original fix and then run the ...
Aug 11, 4:54 pm 2010
Greg KH
[071/111] Btrfs: do not mark the chunk as readonly if in ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit f48b90756bd834dda852ff514f2690d3175b1f44 upstream. If a RAID setup has chunks that span multiple disks, and one of those disks has failed, btrfs_chunk_readonly will return 1 since one of the disks in that chunk's stripes is dead and therefore not writeable. So instead if we are in degraded mode, return 0 so we can go ahead and allocate stuff. ...
Aug 11, 4:54 pm 2010
Greg KH
[058/111] Btrfs: Show discard option in /proc/mounts
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Matthew Wilcox <matthew@wil.cx> commit 20a5239a5d0f340e29827a6a2d28a138001c44b8 upstream. Christoph's patch e244a0aeb6a599c19a7c802cda6e2d67c847b154 doesn't display the discard option in /proc/mounts, leading to some confusion for me. Here's the missing bit. Signed-off-by: Matthew Wilcox <willy@linux.intel.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff ...
Aug 11, 4:54 pm 2010
Greg KH
[055/111] Btrfs: dont add extent 0 to the free space cache v2
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 06b2331f8333ec6edf41662757ce8882cc1747d5 upstream. If block group 0 is completely free, btrfs_read_block_groups will add extent [0, BTRFS_SUPER_INFO_OFFSET) to the free space cache. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg ...
Aug 11, 4:54 pm 2010
Greg KH
[073/111] Btrfs: check total number of devices when remo ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit 035fe03a7ad56982b30ab3a522b7b08d58feccd0 upstream. If you have a disk failure in RAID1 and then add a new disk to the array, and then try to remove the missing volume, it will fail. The reason is the sanity check only looks at the total number of rw devices, which is just 2 because we have 2 good disks and 1 bad one. Instead check the total ...
Aug 11, 4:54 pm 2010
Greg KH
[077/111] Btrfs: Fix oopsen when dropping empty tree.
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 7a7965f83e89f0be506a96769938a721e4e5ae50 upstream. When dropping a empty tree, walk_down_tree() skips checking extent information for the tree root. This will triggers a BUG_ON in walk_up_proc(). Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney ...
Aug 11, 4:54 pm 2010
Greg KH
[057/111] Btrfs: deny sys_link across subvolumes.
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: TARUISI Hiroaki <taruishi.hiroak@jp.fujitsu.com> commit 4a8be425a8fb8fbb5d881eb55fa6634c3463b9c9 upstream. I rebased Christian Parpart's patch to deny hard link across subvolumes. Original patch modifies also btrfs_rename, but I excluded it because we can move across subvolumes now and it make no problem. ----------------- Hard link across subvolumes should not allowed in ...
Aug 11, 4:54 pm 2010
Greg KH
[080/111] Btrfs: btrfs_mark_extent_written uses the wrong slot
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Shaohua Li <shaohua.li@intel.com> commit 3f6fae9559225741c91f1320090b285da1413290 upstream. My test do: fallocate a big file and do write. The file is 512M, but after file write is done btrfs-debug-tree shows: item 6 key (257 EXTENT_DATA 0) itemoff 3516 itemsize 53 extent data disk byte 1103101952 nr 536870912 extent data offset 0 nr 399634432 ram ...
Aug 11, 4:55 pm 2010
Greg KH
[064/111] Btrfs: Fix race in btrfs_mark_extent_written
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 6c7d54ac87f338c479d9729e8392eca3f76e11e1 upstream. Fix bug reported by Johannes Hirte. The reason of that bug is btrfs_del_items is called after btrfs_duplicate_item and btrfs_del_items triggers tree balance. The fix is check that case and call btrfs_search_slot when needed. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris ...
Aug 11, 4:54 pm 2010
Greg KH
[081/111] Btrfs: kfree correct pointer during mount opti ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit da495ecc0fb096b383754952a1c152147bc95b52 upstream. We kstrdup the options string, but then strsep screws with the pointer, so when we kfree() it, we're not giving it the right pointer. Tested-by: Andy Lutomirski <luto@mit.edu> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg ...
Aug 11, 4:55 pm 2010
Greg KH
[083/111] nohz: Reuse ktime in sub-functions of tick_che ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Martin Schwidefsky <schwidefsky@de.ibm.com> commit eed3b9cf3fe3fcc7a50238dfcab63a63914e8f42 upstream. On a system with NOHZ=y tick_check_idle calls tick_nohz_stop_idle and tick_nohz_update_jiffies. Given the right conditions (ts->idle_active and/or ts->tick_stopped) both function get a time stamp with ktime_get. The same time stamp can be reused if both function require one. On s390 ...
Aug 11, 4:55 pm 2010
Greg KH
[066/111] Btrfs: deal with NULL acl sent to btrfs_set_acl
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Chris Mason <chris.mason@oracle.com> commit a9cc71a60c29a09174bee2fcef8f924c529fd4b7 upstream. It is legal for btrfs_set_acl to be sent a NULL acl. This makes sure we don't dereference it. A similar patch was sent by Johannes Hirte <johannes.hirte@fem.tu-ilmenau.de> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg ...
Aug 11, 4:54 pm 2010
Greg KH
[084/111] timekeeping: Fix clock_gettime vsyscall time warp
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Lin Ming <ming.m.lin@intel.com> commit 0696b711e4be45fa104c12329f617beb29c03f78 upstream. Since commit 0a544198 "timekeeping: Move NTP adjusted clock multiplier to struct timekeeper" the clock multiplier of vsyscall is updated with the unmodified clock multiplier of the clock source and not with the NTP adjusted multiplier of the timekeeper. This causes user space observerable time ...
Aug 11, 4:55 pm 2010
Greg KH
[086/111] sched, cputime: Introduce thread_group_times()
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> commit 0cf55e1ec08bb5a22e068309e2d8ba1180ab4239 upstream. This is a real fix for problem of utime/stime values decreasing described in the thread: http://lkml.org/lkml/2009/11/3/522 Now cputime is accounted in the following way: - {u,s}time in task_struct are increased every time when the thread is interrupted by a tick ...
Aug 11, 4:55 pm 2010
Greg KH
[088/111] [IA64] fix SBA IOMMU to handle allocation fail ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> commit e2a465675dc089e9a56ba2fa2a5fbd9bd8844d18 upstream. It's possible that SBA IOMMU might fail to find I/O space under heavy I/Os. SBA IOMMU panics on allocation failure but it shouldn't; drivers can handle the failure. The majority of other IOMMU drivers don't panic on allocation failure. This patch fixes SBA IOMMU path to handle ...
Aug 11, 4:55 pm 2010
Greg KH
[074/111] Btrfs: fix race between allocate and release e ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit f044ba7835b84e69c68b620ca8fa27e5ef67759d upstream. Increase extent buffer's reference count while holding the lock. Otherwise it can race with try_release_extent_buffer. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:54 pm 2010
Greg KH
[072/111] Btrfs: check return value of open_bdev_exclusi ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit 7f59203abeaf18bf3497b308891f95a4489810ad upstream. Hit this problem while testing RAID1 failure stuff. open_bdev_exclusive returns ERR_PTR(), not NULL. So change the return value properly. This is important if you accidently specify a device that doesn't exist when trying to add a new device to an array, you will panic the box dereferencing ...
Aug 11, 4:54 pm 2010
Greg KH
[090/111] memory hotplug: fix a bug on /dev/mem for 64-b ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Shaohui Zheng <shaohui.zheng@intel.com> commit ea0854170c95245a258b386c7a9314399c949fe0 upstream. Newly added memory can not be accessed via /dev/mem, because we do not update the variables high_memory, max_pfn and max_low_pfn. Add a function update_end_of_memory_vars() to update these variables for 64-bit kernels. [akpm@linux-foundation.org: simplify comment] Signed-off-by: ...
Aug 11, 4:55 pm 2010
Greg KH
[076/111] Btrfs: remove BUG_ON() due to mounting bad fil ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Miao Xie <miaox@cn.fujitsu.com> commit d7ce5843bb28ada6845ab2ae8510ba3f12d33154 upstream. Mounting a bad filesystem caused a BUG_ON(). The following is steps to reproduce it. # mkfs.btrfs /dev/sda2 # mount /dev/sda2 /mnt # mkfs.btrfs /dev/sda1 /dev/sda2 (the program says that /dev/sda2 was mounted, and then exits. ) # umount /mnt # mount /dev/sda1 /mnt At the third step, ...
Aug 11, 4:54 pm 2010
Greg KH
[075/111] Btrfs: make error return negative in btrfs_syn ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Roel Kluin <roel.kluin@gmail.com> commit 014e4ac4f7d9c981750491fa40ea35efadc9ed49 upstream. It appears the error return should be negative Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/btrfs/file.c | 2 +- 1 file changed, 1 ...
Aug 11, 4:54 pm 2010
Greg KH
[092/111] HWPOISON: remove the anonymous entry
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Wu Fengguang <fengguang.wu@intel.com> commit 9b9a29ecd75e310f75a9243e1c3538ad34598fcb upstream. (PG_swapbacked && !PG_lru) pages should not happen. Better to treat them as unknown pages. Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:55 pm 2010
Greg KH
[095/111] ACPI: Fix regression where _PPC is not read at ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Darrick J. Wong <djwong@us.ibm.com> commit 455c0d71d46e86b0b7ff2c9dcfc19bc162302ee9 upstream. Earlier, Ingo Molnar posted a patch to make it so that the kernel would avoid reading _PPC on his broken T60. Unfortunately, it seems that with Thomas Renninger's patch last July to eliminate _PPC evaluations when the processor driver loads, the kernel never actually reads _PPC at all! This ...
Aug 11, 4:55 pm 2010
Greg KH
[078/111] Btrfs: do not try and lookup the file extent w ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit efd049fb26a162c3830fd3cb1001fdc09b147f3b upstream. When running the following fio job [torrent] filename=torrent-test rw=randwrite size=4g filesize=4g bs=4k ioengine=sync you would see long stalls where no work was being done. That is because we were doing all this extra work to read in the file extent outside of the transaction, however ...
Aug 11, 4:54 pm 2010
Greg KH
[096/111] ext4: Make sure the MOVE_EXT ioctl cant overwr ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Theodore Ts'o <tytso@mit.edu> commit 1f5a81e41f8b1a782c68d3843e9ec1bfaadf7d72 upstream. Dan Roseberg has reported a problem with the MOVE_EXT ioctl. If the donor file is an append-only file, we should not allow the operation to proceed, lest we end up overwriting the contents of an append-only file. Signed-off-by: "Theodore Ts'o" <tytso@mit.edu> Cc: Dan Rosenberg ...
Aug 11, 4:55 pm 2010
Greg KH
[079/111] Btrfs: apply updated fallocate i_size fix
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> commit 23b5c50945f2294add0137799400329c0ebba290 upstream. This version of the i_size fix for fallocate makes sure we only update the i_size when the current fallocate is really operating outside of i_size. Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:55 pm 2010
Greg KH
[098/111] reiserfs: properly honor read-only devices
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jeff Mahoney <jeffm@suse.com> commit 3f8b5ee33293d43ca360771b535dfae8c57259dc upstream. The reiserfs journal behaves inconsistently when determining whether to allow a mount of a read-only device. This is due to the use of the continue_replay variable to short circuit the journal scanning. If it's set, it's assumed that there are transactions to replay, but there may not be. If ...
Aug 11, 4:55 pm 2010
Greg KH
[101/111] dlm: fix ordering of bast and cast
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: David Teigland <teigland@redhat.com> commit 7fe2b3190b8b299409f13cf3a6f85c2bd371f8bb upstream. When both blocking and completion callbacks are queued for lock, the dlm would always deliver the completion callback (cast) first. In some cases the blocking callback (bast) is queued before the cast, though, and should be delivered first. This patch keeps track of the order in which they ...
Aug 11, 4:55 pm 2010
Greg KH
[102/111] dlm: send reply before bast
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: David Teigland <teigland@redhat.com> commit cf6620acc0f6fac57968aafef79ab372bdcf6157 upstream. When the lock master processes a successful operation (request, convert, cancel, or unlock), it will process the effects of the change before sending the reply for the operation. The "effects" of the operation are: - blocking callbacks (basts) for any newly granted locks - waiting or ...
Aug 11, 4:55 pm 2010
Greg KH
[103/111] ocfs2: Find proper end cpos for a leaf refcoun ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tao Ma <tao.ma@oracle.com> commit 38a04e432768ec0b016f3c687b4de31ac111ae59 upstream. ocfs2 refcount tree is stored as an extent tree while the leaf ocfs2_refcount_rec points to a refcount block. The following step can trip a kernel panic. mkfs.ocfs2 -b 512 -C 1M --fs-features=refcount $DEVICE mount -t ocfs2 $DEVICE ...
Aug 11, 4:55 pm 2010
Greg KH
[085/111] sched: Fix granularity of task_u/stime()
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> commit 761b1d26df542fd5eb348837351e4d2f3bc7bffe upstream. Originally task_s/utime() were designed to return clock_t but later changed to return cputime_t by following commit: commit efe567fc8281661524ffa75477a7c4ca9b466c63 Author: Christian Borntraeger <borntraeger@de.ibm.com> Date: Thu Aug 23 15:18:02 2007 +0200 It only ...
Aug 11, 4:55 pm 2010
Greg KH
[091/111] x86: Fix out of order of gsi
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Eric W. Biederman <ebiederm@xmission.com> commit fad539956c9e69749a03f7817d22d1bab87657bf upstream. Iranna D Ankad reported that IBM x3950 systems have boot problems after this commit: | | commit b9c61b70075c87a8612624736faf4a2de5b1ed30 | | x86/pci: update pirq_enable_irq() to setup io apic routing | The problem is that with the patch, the machine freezes ...
Aug 11, 4:55 pm 2010
Greg KH
[089/111] crypto: testmgr - Fix complain about lack test ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Song Youquan <youquan.song@intel.com> commit 863b557a88f8c033f7419fabafef4712a5055f85 upstream. When load aesni-intel and ghash_clmulni-intel driver,kernel will complain no test for some internal used algorithm. The strange information as following: alg: No test for __aes-aesni (__driver-aes-aesni) alg: No test for __ecb-aes-aesni (__driver-ecb-aes-aesni) alg: No test for ...
Aug 11, 4:55 pm 2010
Greg KH
[104/111] ocfs2: Set MS_POSIXACL on remount
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jan Kara <jack@suse.cz> commit 57b09bb5e492c37c1e4273fe4e435ffd1d2ddbe0 upstream. We have to set MS_POSIXACL on remount as well. Otherwise VFS would not know we started supporting ACLs after remount and thus ACLs would not work. Signed-off-by: Jan Kara <jack@suse.cz> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com> Signed-off-by: ...
Aug 11, 4:55 pm 2010
Greg KH
[106/111] loop: Update mtime when writing using aops
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Nikanth Karthikesan <knikanth@suse.de> commit 02246c41171097ceab3246f6dc251ac89de6004b upstream. Update mtime when writing to backing filesystem using the address space operations write_begin and write_end. Signed-off-by: Nikanth Karthikesan <knikanth@suse.de> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- ...
Aug 11, 4:55 pm 2010
Greg KH
[107/111] [SCSI] aic79xx: check for non-NULL scb in ahd_ ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Hannes Reinecke <hare@suse.de> commit 534ef056db8a8fb6b9d50188d88ed5d1fbc66673 upstream. When removing several devices aic79xx will occasionally Oops in ahd_handle_nonpkt_busfree during rescan. Looking at the code I found that we're indeed not checking if the scb in question is NULL. So check for it before accessing it. Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: ...
Aug 11, 4:55 pm 2010
Greg KH
[111/111] mm: fix corruption of hibernation caused by re ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> commit 966cca029f739716fbcc8068b8c6dfe381f86fc3 upstream. Since 2.6.31, swap_map[]'s refcounting was changed to show that a used swap entry is just for swap-cache, can be reused. Then, while scanning free entry in swap_map[], a swap entry may be able to be reclaimed and reused. It was caused by commit c9e444103b5e7a5 ("mm: reuse ...
Aug 11, 4:55 pm 2010
Greg KH
[110/111] md/raid1: delay reads that could overtake behi ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: NeilBrown <neilb@suse.de> commit e555190d82c0f58e825e3cbd9e6ebe2e7ac713bd upstream. When a raid1 array is configured to support write-behind on some devices, it normally only reads from other devices. If all devices are write-behind (because the rest have failed) it is possible for a read request to be serviced before a behind-write request, which would appear as data corruption. So ...
Aug 11, 4:55 pm 2010
Greg KH
[109/111] [SCSI] ibmvfc: Reduce error recovery timeout
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Brian King <brking@linux.vnet.ibm.com> commit daa142d1773dd3a986f02a8a4da929608d24daaa upstream. If a command times out resulting in EH getting invoked, we wait for the aborted commands to come back after sending the abort. Shorten the amount of time we wait for these responses, to ensure we don't get stuck in EH for several minutes. Signed-off-by: Brian King ...
Aug 11, 4:55 pm 2010
Greg KH
[108/111] [SCSI] ibmvfc: Fix command completion handling
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Brian King <brking@linux.vnet.ibm.com> commit f5832fa2f8dc39adcf3ae348d2d6383163235e79 upstream. Commands which are completed by the VIOS are placed on a CRQ in kernel memory for the ibmvfc driver to process. Each CRQ entry is 16 bytes. The ibmvfc driver reads the first 8 bytes to check if the entry is valid, then reads the next 8 bytes to get the handle, which is a pointer the ...
Aug 11, 4:55 pm 2010
Greg KH
[105/111] [PATCH] Skip check for mandatory locks when un ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Sachin Prabhu <sprabhu@redhat.com> commit ee860b6a650360c91f5d5f9a94262aad9be90015 upstream. ocfs2_lock() will skip locks on file which has mode set to 02666. This is a problem in cases where the mode of the file is changed after a process has obtained a lock on the file. ocfs2_lock() should skip the check for mandatory locks when unlocking a file. Signed-off-by: Sachin Prabhu ...
Aug 11, 4:55 pm 2010
Greg KH
[100/111] dlm: always use GFP_NOFS
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: David Teigland <teigland@redhat.com> commit 573c24c4af6664ffcd9aa7ba617a35fde2b95534 upstream. Replace all GFP_KERNEL and ls_allocation with GFP_NOFS. ls_allocation would be GFP_KERNEL for userland lockspaces and GFP_NOFS for file system lockspaces. It was discovered that any lockspaces on the system can affect all others by triggering memory reclaim in the file system which could ...
Aug 11, 4:55 pm 2010
Greg KH
[099/111] reiserfs: fix oops while creating privroot wit ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jeff Mahoney <jeffm@suse.com> commit 6cb4aff0a77cc0e6bae9475d62205319e3ebbf3f upstream. Commit 57fe60df ("reiserfs: add atomic addition of selinux attributes during inode creation") contains a bug that will cause it to oops when mounting a file system that didn't previously contain extended attributes on a system using security.* xattrs. The issue is that while creating the privroot ...
Aug 11, 4:55 pm 2010
Greg KH
[097/111] ext4: Fix optional-arg mount options
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Eric Sandeen <sandeen@redhat.com> commit 15121c18a22ae483279f76dc9e554334b800d0f7 upstream. We have 2 mount options, "barrier" and "auto_da_alloc" which may or may not take a 1/0 argument. This causes the ext4 superblock mount code to subtract uninitialized pointers and pass the result to kmalloc, which results in very noisy failures. Per Ted's suggestion, initialize the args struct ...
Aug 11, 4:55 pm 2010
Greg KH
[094/111] powerpc/eeh: Fix a bug when pci structure is null
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Breno Leitao <leitao@linux.vnet.ibm.com> commit 8d3d50bf1913561ef3b1f5b53115c5a481ba9b1e upstream. During a EEH recover, the pci_dev structure can be null, mainly if an eeh event is detected during cpi config operation. In this case, the pci_dev will not be known (and will be null) the kernel will crash with the following message: Unable to handle kernel paging request for data at ...
Aug 11, 4:55 pm 2010
Greg KH
[093/111] HWPOISON: abort on failed unmap
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Wu Fengguang <fengguang.wu@intel.com> commit 1668bfd5be9d8a52536c4865000fbbe065a3613b upstream. Don't try to isolate a still mapped page. Otherwise we will hit the BUG_ON(page_mapped(page)) in __remove_from_page_cache(). Signed-off-by: Wu Fengguang <fengguang.wu@intel.com> Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: ...
Aug 11, 4:55 pm 2010
Greg KH
[087/111] mutex: Dont spin when the owner CPU is offline ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Benjamin Herrenschmidt <benh@kernel.crashing.org> commit 4b402210486c6414fe5fbfd85934a0a22da56b04 upstream. Due to recent load-balancer changes that delay the task migration to the next wakeup, the adaptive mutex spinning ends up in a live lock when the owner's CPU gets offlined because the cpu_online() check lives before the owner running check. This patch changes ...
Aug 11, 4:55 pm 2010
Greg KH
[082/111] nohz: Introduce arch_needs_cpu
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Martin Schwidefsky <schwidefsky@de.ibm.com> commit 3c5d92a0cfb5103c0d5ab74d4ae6373d3af38148 upstream. Allow the architecture to request a normal jiffy tick when the system goes idle and tick_nohz_stop_sched_tick is called . On s390 the hook is used to prevent the system going fully idle if there has been an interrupt other than a clock comparator interrupt since the last wakeup. On ...
Aug 11, 4:55 pm 2010
Greg KH
[069/111] Btrfs: fix a memory leak in btrfs_init_acl
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yang Hongyang <yanghy@cn.fujitsu.com> commit f858153c367a397235d3e81136741e40e44faf1d upstream. In btrfs_init_acl() cloned acl is not released Signed-off-by: Yang Hongyang <yanghy@cn.fujitsu.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- fs/btrfs/acl.c | 1 + 1 file ...
Aug 11, 4:54 pm 2010
Greg KH
[065/111] Btrfs: fix regression in orphan cleanup
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Josef Bacik <josef@redhat.com> commit 6c090a11e1c403b727a6a8eff0b97d5fb9e95cb5 upstream. Currently orphan cleanup only ever gets triggered if we cross subvolumes during a lookup, which means that if we just mount a plain jane fs that has orphans in it, they will never get cleaned up. This results in panic's like these http://www.kerneloops.org/oops.php?number=1109085 where adding ...
Aug 11, 4:54 pm 2010
Greg KH
[051/111] Btrfs: Pass transaction handle to security and ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit f34f57a3ab4e73304d78c125682f1a53cd3975f2 upstream. Pass transaction handle down to security and ACL initialization functions, so we can avoid starting nested transactions Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:54 pm 2010
Greg KH
[050/111] Btrfs: Make truncate(2) more ENOSPC friendly
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 8082510e7124cc50d728f1b875639cb4e22312cc upstream. truncating and deleting regular files are unbound operations, so it's not good to do them in a single transaction. This patch makes btrfs_truncate and btrfs_delete_inode start a new transaction after all items in a tree leaf are deleted. Signed-off-by: Yan Zheng ...
Aug 11, 4:54 pm 2010
Greg KH
[045/111] Btrfs: Rewrite btrfs_drop_extents
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Yan, Zheng <zheng.yan@oracle.com> commit 920bbbfb05c9fce22e088d20eb9dcb8f96342de9 upstream. Rewrite btrfs_drop_extents by using btrfs_duplicate_item, so we can avoid calling lock_extent within transaction. Signed-off-by: Yan Zheng <zheng.yan@oracle.com> Signed-off-by: Chris Mason <chris.mason@oracle.com> Acked-by: Jeff Mahoney <jeffm@suse.com> Signed-off-by: Greg Kroah-Hartman ...
Aug 11, 4:54 pm 2010
Greg KH Aug 11, 4:54 pm 2010
Greg KH
[041/111] ext4: fix freeze deadlock under IO
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Eric Sandeen <sandeen@sandeen.net> commit 437f88cc031ffe7f37f3e705367f4fe1f4be8b0f upstream. Commit 6b0310fbf087ad6 caused a regression resulting in deadlocks when freezing a filesystem which had active IO; the vfs_check_frozen level (SB_FREEZE_WRITE) did not let the freeze-related IO syncing through. Duh. Changing the test to FREEZE_TRANS should let the normal freeze syncing get ...
Aug 11, 4:54 pm 2010
Greg KH
[033/111] drm/edid: Fix the HDTV hack sync adjustment
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Adam Jackson <ajax@redhat.com> commit a4967de6cbb260ad0f6612a1d2035e119ef1578f upstream. We're adjusting horizontal timings only here, moving vsync was just a slavish translation of a typo in the X server. Signed-off-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Dave Airlie <airlied@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> --- drivers/gpu/drm/drm_edid.c ...
Aug 11, 4:54 pm 2010
Greg KH
[032/111] USB: fix thread-unsafe anchor utiliy routines
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Christian Lamparter <chunkeey@googlemail.com> commit b3e670443b7fb8a2d29831b62b44a039c283e351 upstream. This patch fixes a race condition in two utility routines related to the removal/unlinking of urbs from an anchor. If two threads are concurrently accessing the same anchor, both could end up with the same urb - thinking they are the exclusive owner. Alan Stern pointed out a ...
Aug 11, 4:54 pm 2010
Greg KH
[028/111] USB: option: add huawei k3765 k4505 devices to ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Andrew Bird <ajb@spheresystems.co.uk> commit 0372a754be9aa43e19fd86c9bc04796d43b55e38 upstream. This patch adds the product IDs of Huawei's K3765 and K4505 mobile broadband usb modems to option.c. It also adds a quirk to the option probe function so that binding to the device's network interface(class 0xff) is avoided. This is necessary to allow another driver to bind to that, and to ...
Aug 11, 4:54 pm 2010
Greg KH
[022/111] ARM: 6299/1: errata: TLBIASIDIS and TLBIMVAIS ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Will Deacon <will.deacon@arm.com> commit cdf357f1e13a08a11261edacb3083746f65c1ed9 upstream. On versions of the Cortex-A9 prior to r2p0, performing TLB invalidations by ASID match can result in the incorrect ASID being broadcast to other CPUs. As a consequence of this, the targetted TLB entries are not invalidated across the system. This workaround changes the TLB flushing routines to ...
Aug 11, 4:54 pm 2010
Greg KH
[019/111] bio, fs: update RWA_MASK, READA and SWRITE to ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tejun Heo <tj@kernel.org> commit aca27ba9618276dd2f777bcd5a1419589ccf1ca8 upstream. Commit a82afdf (block: use the same failfast bits for bio and request) moved BIO_RW_* bits around such that they match up with REQ_* bits. Unfortunately, fs.h hard coded RW_MASK, RWA_MASK, READ, WRITE, READA and SWRITE as 0, 1, 2 and 3, and expected them to match with BIO_RW_* bits. READ/WRITE didn't ...
Aug 11, 4:54 pm 2010
Greg KH
[014/111] md/raid10: fix deadlock with unaligned read du ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: NeilBrown <neilb@suse.de> commit 51e9ac77035a3dfcb6fc0a88a0d80b6f99b5edb1 upstream. If the 'bio_split' path in raid10-read is used while resync/recovery is happening it is possible to deadlock. Fix this be elevating ->nr_waiting for the duration of both parts of the split request. This fixes a bug that has been present since 2.6.22 but has only started manifesting recently for ...
Aug 11, 4:53 pm 2010
Greg KH
[010/111] solos-pci: Fix race condition in tasklet RX handling
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: David Woodhouse <David.Woodhouse@intel.com> commit 1f6ea6e511e5ec730d8e88651da1b7b6e8fd1333 upstream. We were seeing faults in the solos-pci receive tasklet when packets arrived for a VCC which was currently being closed: [18842.727906] EIP: [<e082f490>] br2684_push+0x19/0x234 [br2684] SS:ESP 0068:dfb89d14 [18845.090712] [<c13ecff3>] ? do_page_fault+0x0/0x2e1 [18845.120042] ...
Aug 11, 4:53 pm 2010
Greg KH
[009/111] PCI: disable MSI on VIA K8M800
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tejun Heo <tj@kernel.org> commit 549e15611b4ac1de51ef0e0a79c2704f50a638a2 upstream. MSI delivery from on-board ahci controller doesn't work on K8M800. At this point, it's unclear whether the culprit is with the ahci controller or the host bridge. Given the track record and considering the rather minimal impact of MSI, disabling it seems reasonable. Signed-off-by: Tejun Heo ...
Aug 11, 4:53 pm 2010
Greg KH
[004/111] x86: Add memory modify constraints to xchg() a ...
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: H. Peter Anvin <hpa@zytor.com> commit 113fc5a6e8c2288619ff7e8187a6f556b7e0d372 upstream. xchg() and cmpxchg() modify their memory operands, not merely read them. For some versions of gcc the "memory" clobber has apparently dealt with the situation, but not for all. Originally-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: ...
Aug 11, 4:53 pm 2010
Greg KH
[001/111] ata_piix: fix locking around SIDPR access
2.6.32-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tejun Heo <tj@kernel.org> commit 213373cf974fe69e78ec894b07f45ae2f5a3a078 upstream. SIDPR window registers are shared across ports and as each access is done in two steps, accesses to different ports under EH may race. This primarily is caused by incorrect host locking in EH context and should be fixed by defining locking requirements for each EH operation which can be used during EH ...
Aug 11, 4:53 pm 2010
Greg KH
[02/11] splice: fix misuse of SPLICE_F_NONBLOCK
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Miklos Szeredi <miklos@szeredi.hu> commit 6965031d331a642e31278fa1b5bd47f372ffdd5d upstream. SPLICE_F_NONBLOCK is clearly documented to only affect blocking on the pipe. In __generic_file_splice_read(), however, it causes an EAGAIN if the page is currently being read. This makes it impossible to write an application that only wants failure if the pipe is full. For example if the ...
Aug 11, 4:45 pm 2010
Greg KH
[05/11] eCryptfs: Handle ioctl calls with unlocked and c ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tyler Hicks <tyhicks@linux.vnet.ibm.com> commit c43f7b8fb03be8bcc579bfc4e6ab70eac887ab55 upstream. Lower filesystems that only implemented unlocked_ioctl weren't being passed ioctl calls because eCryptfs only checked for lower_file->f_op->ioctl and returned -ENOTTY if it was NULL. eCryptfs shouldn't implement ioctl(), since it doesn't require the BKL. This patch introduces ...
Aug 11, 4:45 pm 2010
Greg KH
[06/11] fs/ecryptfs/file.c: introduce missing free
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Julia Lawall <julia@diku.dk> commit ceeab92971e8af05c1e81a4ff2c271124b55bb9b upstream. The comments in the code indicate that file_info should be released if the function fails. This releasing is done at the label out_free, not out. The semantic match that finds this problem is as follows: (http://www.emn.fr/x-info/coccinelle/) // <smpl> @r exists@ local idexpression ...
Aug 11, 4:45 pm 2010
Greg KH
[07/11] signalfd: fill in ssi_int for posix timers and m ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Nathan Lynch <ntl@pobox.com> commit a2a20c412c86e0bb46a9ab0dd31bcfe6d201b913 upstream. If signalfd is used to consume a signal generated by a POSIX interval timer or POSIX message queue, the ssi_int field does not reflect the data (sigevent->sigev_value) supplied to timer_create(2) or mq_notify(3). (The ssi_ptr field, however, is filled in.) This behavior differs from signalfd's ...
Aug 11, 4:45 pm 2010
Greg KH
[11/11] mm/backing-dev.c: remove recently-added WARN_ON()
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Andrew Morton <akpm@linux-foundation.org> commit 69fc208be5b7eb18d22d1eca185b201400fd5ffc upstream. On second thoughts, this is just going to disturb people while telling us things which we already knew. Cc: Peter Korsgaard <jacmet@sunsite.dk> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Kay Sievers <kay.sievers@vrfy.org> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: ...
Aug 11, 4:45 pm 2010
Greg KH
[09/11] xen: drop xen_sched_clock in favour of using pla ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> commit 8a22b9996b001c88f2bfb54c6de6a05fc39e177a upstream. xen_sched_clock only counts unstolen time. In principle this should be useful to the Linux scheduler so that it knows how much time a process actually consumed. But in practice this doesn't work very well as the scheduler expects the sched_clock time to be synchronized ...
Aug 11, 4:45 pm 2010
Greg KH
[10/11] bdi: register sysfs bdi device only once per queue
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Kay Sievers <kay.sievers@vrfy.org> commit f1d0b063d993527754f062c589b73f125024d216 upstream. Devices which share the same queue, like floppies and mtd devices, get registered multiple times in the bdi interface, but bdi accounts only the last registered device of the devices sharing one queue. On remove, all earlier registered devices leak, stay around in sysfs, and cause "duplicate ...
Aug 11, 4:45 pm 2010
Greg KH
[03/11] PCI: disable MSI on VIA K8M800
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Tejun Heo <tj@kernel.org> commit 549e15611b4ac1de51ef0e0a79c2704f50a638a2 upstream. MSI delivery from on-board ahci controller doesn't work on K8M800. At this point, it's unclear whether the culprit is with the ahci controller or the host bridge. Given the track record and considering the rather minimal impact of MSI, disabling it seems reasonable. Signed-off-by: Tejun Heo ...
Aug 11, 4:45 pm 2010
Greg KH
[04/11] md/raid10: fix deadlock with unaligned read duri ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: NeilBrown <neilb@suse.de> commit 51e9ac77035a3dfcb6fc0a88a0d80b6f99b5edb1 upstream. If the 'bio_split' path in raid10-read is used while resync/recovery is happening it is possible to deadlock. Fix this be elevating ->nr_waiting for the duration of both parts of the split request. This fixes a bug that has been present since 2.6.22 but has only started manifesting recently for ...
Aug 11, 4:45 pm 2010
Greg KH
[08/11] jfs: dont allow os2 xattr namespace overlap with ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: Dave Kleikamp <shaggy@linux.vnet.ibm.com> commit aca0fa34bdaba39bfddddba8ca70dba4782e8fe6 upstream. It's currently possible to bypass xattr namespace access rules by prefixing valid xattr names with "os2.", since the os2 namespace stores extended attributes in a legacy format with no prefix. This patch adds checking to deny access to any valid namespace prefix following ...
Aug 11, 4:45 pm 2010
Greg KH
[01/11] nvram: Fix write beyond end condition; prove to ...
2.6.27-stable review patch. If anyone has any objections, please let us know. ------------------ From: H. Peter Anvin <hpa@zytor.com> commit a01c7800420d2c294ca403988488a635d4087a6d upstream. In nvram_write, first of all, correctly handle the case where the file pointer is already beyond the end; we should return EOF in that case. Second, make the logic a bit more explicit so that gcc can statically prove that the copy_from_user() is safe. Once the condition of the beyond-end ...
Aug 11, 4:45 pm 2010
Greg KH
[00/11] 2.6.27.51-stable review
This is the start of the stable review cycle for the 2.6.27.51 release. There are 11 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let us know. If anyone is a maintainer of the proper subsystem, and wants to add a Signed-off-by: line to the patch, please respond with it. Responses should be made by Friday, August 13, 2010, 20:00:00 UTC. Anything received after that time might be too late. The whole patch ...
Aug 11, 4:48 pm 2010
Randy Dunlap
Re: Problems Compile Misc Module Example
You need a minimal Makefile. Please see Documentation/kbuild/modules.txt, section 2. How to build external modules. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 4:54 pm 2010
Pistis Valentino
Problems Compile Misc Module Example
Hello everyone, I'm studying how to build kernel modules. Right now I have found some strange errors and nothing solutions in the web. I compiled my kernel module "driver_ase" whose files are driver_ase.h, driver_ase.c. No errors in compilation, the module is also loaded correctly. I wrote a small service "service_ase.c" using the kernel module that I created. I found a lot of errors. the only explanation IMO is that the directory has been renamed ...
Aug 11, 4:46 pm 2010
Randy Dunlap
Re: + drivers-acpi-apei-erst-dbgc-get_useru64-doesnt-wor ...
That was also patched, but yours is better. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 4:43 pm 2010
akpm
mmotm 2010-08-11-16-10 uploaded
The mm-of-the-moment snapshot 2010-08-11-16-10 has been uploaded to http://userweb.kernel.org/~akpm/mmotm/ and will soon be available at git://zen-kernel.org/kernel/mmotm.git It contains the following patches against ...
Aug 11, 4:10 pm 2010
Florian Tobias Schan ...
[PATCH 01/11] viafb: reset correct PLL
viafb: reset correct PLL Looks like we did reset the PLL of the (whatever) engine instead of the PLL of the secondary display (IGA2, LCDCK). This patch fixes it. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw> --- drivers/video/via/hw.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 7dcb4d5..53b0651 100644 --- a/drivers/video/via/hw.c +++ ...
Aug 11, 4:49 pm 2010
Florian Tobias Schan ...
[PATCH 02/11] viafb: remove lcdtbl.h
viafb: remove lcdtbl.h This patch moves the power on/off sequences to lcd.c as they are only used there. This allows removing lcdtbl.h as the other stuff is not used. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw> --- drivers/video/via/lcd.c | 8 +- drivers/video/via/lcdtbl.h | 591 -------------------------------------------- 2 files changed, 7 insertions(+), 592 deletions(-) delete mode 100644 ...
Aug 11, 4:49 pm 2010
Florian Tobias Schan ...
[PATCH 03/11] viafb: remove stub
viafb: remove stub This is a nop so removing it is safe. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw> --- drivers/video/via/hw.c | 17 ----------------- 1 files changed, 0 insertions(+), 17 deletions(-) diff --git a/drivers/video/via/hw.c b/drivers/video/via/hw.c index 53b0651..63b6722 100644 --- a/drivers/video/via/hw.c +++ b/drivers/video/via/hw.c @@ -720,7 +720,6 @@ static struct rgbLUT palLUT_table[] = { static ...
Aug 11, 4:49 pm 2010
Florian Tobias Schan ...
[PATCH 04/11] viafb: unify output path configuration
viafb: unify output path configuration Move all output path routing directly in the viafb_setmode. This gives a better overview and allows to factor similar parts out. Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de> Cc: Joseph Chan <JosephChan@via.com.tw> --- drivers/video/via/dvi.c | 2 -- drivers/video/via/hw.c | 19 +++++++++++++++++-- drivers/video/via/lcd.c | 3 --- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/drivers/video/via/dvi.c ...
Aug 11, 4:49 pm 2010
Florian Tobias Schan ...
viafb output device rework - part 1
Hi, the objection of this patch series is to clean the output device handling up. The end result should be saner code (not setting devices that do not exist) as well as more powerfull control over existing devices and easier addition of new devices. This is the first part doing some structural changes and using those to switch which of the 2 display data sources (IGA1 or IGA2) is used. Things that are still missing and (hopefully) will come in follow up series are device enable/disable ...
Aug 11, 4:49 pm 2010
wellsk40
RTC: LPC32xx: Introduce RTC driver for the LPC32xx (v2)
This patch set adds support for the LPC32xx built-in RTC. This is a persistent RTC with alarm on it's own power domain and a dedicated oscillator. UIE emulation is used for *_UIE_* ioctls. v2 includes updates from the initial review of the RTC driver. The patch can be pulled from: git://git.lpclinux.com/linux-2.6-lpc rtc-lpc32xx_v2 --
Aug 11, 4:06 pm 2010
wellsk40
[PATCH] rtc: rtc-lpc32xx: Introduce RTC driver for the L ...
From: Kevin Wells <wellsk40@gmail.com> This patch contains the RTC driver for the built-in RTC in the LPC32XX SoC. This patch includes updates from the initial review comments. Changes since v1: Fixed spaces/tabbing in lpc32xx entry in Kconfig/Makefile Remove improper enable for rtc->alarm_enabled Removed typecast on rtc structure in irq handler Switch to resource managed (devm_) variants of kzalloc and other functions in probe. Updated remove based on these changes. Disabled ...
Aug 11, 4:06 pm 2010
Patrick J. LoPresti
[PATCH] nfs: lookupcache coherence bugs in WCC update path
This patch fixes some coherence bugs in the NFS "dentry lookup cache". The NFS dentry lookup cache provides the nfs_force_lookup_revalidate() call to invalidate all cached dentries associated with an inode. In general, the NFS client uses the ctime and mtime in the inode to detect when changes are made on the server. Therefore, to maintain cache coherence, nfs_force_lookup_revalidate() must be called whenever the ctime or mtime of a directory inode is updated with fresh data from the server. ...
Aug 11, 4:02 pm 2010
Vivek Goyal
[PATCH] cfq-iosched: cfq-iosched: Implement group idling ...
Hi, This is V4 of the patches for group_idle and CFQ group charge accounting in terms of IOPS implementation. Since V3 not much has changed. Just more testing and rebase on top of for-2.6.36 branch of block tree. What's the problem ------------------ On high end storage (I got on HP EVA storage array with 12 SATA disks in RAID 5), CFQ's model of dispatching requests from a single queue at a time (sequential readers/write sync writers etc), becomes a bottleneck. Often we don't drive ...
Aug 11, 3:44 pm 2010
Vivek Goyal
[PATCH 1/5] cfq-iosched: Do not idle if slice_idle=0
o do not idle either on cfq queue or service tree if slice_idle=0. User does not want any queue or service tree idling. Currently even if slice_idle=0, we were waiting for request to finish before expiring the queue and that can lead to lower queue depths. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> --- block/cfq-iosched.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index eb4086f..8830569 100644 --- ...
Aug 11, 3:44 pm 2010
Vivek Goyal
[PATCH 2/5] cfq-iosched: Do group share accounting in IO ...
o Implement another CFQ mode where we charge group in terms of number of requests dispatched instead of measuring the time. Measuring in terms of time is not possible when we are driving deeper queue depths and there are requests from multiple cfq queues in the request queue. o This mode currently gets activated if one sets slice_idle=0 and associated disk supports NCQ. Again the idea is that on an NCQ disk with idling disabled most of the queues will dispatch 1 or more requests and ...
Aug 11, 3:44 pm 2010
Vivek Goyal
[PATCH 3/5] cfq-iosched: Implement tunable group_idle
o Implement a new tunable group_idle, which allows idling on the group instead of a cfq queue. Hence one can set slice_idle = 0 and not idle on the individual queues but idle on the group. This way on fast storage we can get fairness between groups at the same time overall throughput improves. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> --- block/cfq-iosched.c | 65 +++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 56 insertions(+), 9 deletions(-) diff --git ...
Aug 11, 3:44 pm 2010
Vivek Goyal
[PATCH 4/5] cfq-iosched: blktrace print per slice sector stats
o Divyesh had gotten rid of this code in the past. I want to re-introduce it back as it helps me a lot during debugging. Reviewed-by: Jeff Moyer <jmoyer@redhat.com> Reviewed-by: Divyesh Shah <dpshah@google.com> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> --- block/cfq-iosched.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/block/cfq-iosched.c b/block/cfq-iosched.c index 85e4819..f65c6f0 100644 --- a/block/cfq-iosched.c +++ b/block/cfq-iosched.c @@ ...
Aug 11, 3:44 pm 2010
Vivek Goyal
[PATCH 5/5] cfq-iosched: Documentation help for new tunables
o Some documentation to provide help with tunables. Signed-off-by: Vivek Goyal <vgoyal@redhat.com> --- Documentation/block/cfq-iosched.txt | 45 ++++++++++++++++++++++++++++ Documentation/cgroups/blkio-controller.txt | 28 +++++++++++++++++ 2 files changed, 73 insertions(+), 0 deletions(-) create mode 100644 Documentation/block/cfq-iosched.txt diff --git a/Documentation/block/cfq-iosched.txt b/Documentation/block/cfq-iosched.txt new file mode 100644 index 0000000..3ea9e79 --- ...
Aug 11, 3:44 pm 2010
Davidlohr Bueso
Outdated sysfs.txt document?
Hi, I have been going through Documentation/filesystems/sysfs.txt, and noticed what I believe to be either outdated or incomplete: The "Top Level Directory Layout" mentions block/ bus/ class/ dev/ devices/ firmware/ net/ fs/ We seem to be missing kernel, power, hypervisor, module, etc. dave@cowboy:~$ ls /sys/ block class devices fs kernel power bus dev firmware hypervisor module I am preparing a patch to complete this, but could someone confirm ...
Aug 11, 3:05 pm 2010
Michal Nazarewicz
[PATCHv3 1/2] lib: vsprintf: optimised put_dec() function
The put_dec() and family of functions were based on a code optimised for processors with 8-bit ALU but since we don't need to limit ourselves to such small ALUs, the code was optimised and used capacities of an 16-bit ALU anyway. This patch goes further and uses the full capacity of the processor's ALU. On 64-bit machines, the number is repeatedly divided by 100,000 to split it into 5-decimal-digit which are converted using the obvious base conversion algorithm expect division by ten is ...
Aug 11, 2:58 pm 2010
Michal Nazarewicz
[PATCHv3 2/2] lib: vsprintf: added a put_dec() test and ...
This commit adds a test application for the put_dec() and family of functions that are used by the previous two commits. Signed-off-by: Michal Nazarewicz <mina86@mina86.com> --- tools/put-dec/Makefile | 16 + tools/put-dec/put-dec-test.c | 927 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 943 insertions(+), 0 deletions(-) create mode 100644 tools/put-dec/Makefile create mode 100644 tools/put-dec/put-dec-test.c Just a testin application, not intended to be included ...
Aug 11, 2:58 pm 2010
Denys Vlasenko
Re: [PATCHv3 1/2] lib: vsprintf: optimised put_dec() function
I looked at it and discovered that 0 is already special-cased at put_dec() callsite. You can drop the above if() block (or better comment it out, explaining that caller does it), and while at it, improve special-case code in number(): replace /* generate full string in tmp[], in reverse order */ i = 0; if (num == 0) tmp[i++] = '0'; with if (num <= 7) tmp[i++] = '0' + num; Bug. You need to use temporary variable to ...
Aug 11, 3:43 pm 2010
Randy Dunlap
Re: 2.6.35-git10 build failure
This part of the build log would be sufficient: drivers/media/video/v4l2-ctrls.c: In function ___v4l2_ctrl_handler_init___: drivers/media/video/v4l2-ctrls.c:766: error: implicit declaration of function ___kzalloc___ drivers/media/video/v4l2-ctrls.c:767: warning: assignment makes pointer from integer without a cast drivers/media/video/v4l2-ctrls.c: In function ___v4l2_ctrl_handler_free___: drivers/media/video/v4l2-ctrls.c:786: error: implicit declaration of function ...
Aug 11, 2:35 pm 2010
Bill Davidsen
2.6.35-git10 build failure
config generated with "make localmodconfig" build with "make -j2" x86_64 target and host, config and log attached. Host is FC13 current test machine
Aug 11, 2:31 pm 2010
bo yang
[PATCH 5/5] scsi: megaraid_sas - Version and documentati ...
Update the version and documentation. Signed-off-by Bo Yang<bo.yang@lsi.com> --- Documentation/scsi/ChangeLog.megaraid_sas | 16 +++++++++++++++- drivers/scsi/megaraid/megaraid_sas.h | 6 +++--- 2 files changed, 18 insertions(+), 4 deletions(-) diff -rupN old/Documentation/scsi/ChangeLog.megaraid_sas new/Documentation/scsi/ChangeLog.megaraid_sas --- old/Documentation/scsi/ChangeLog.megaraid_sas 2010-08-10 05:00:31.000000000 -0400 +++ ...
Aug 11, 2:12 pm 2010
bo yang
[PATCH 4/5] scsi: megaraid_sas - Add three times Online ...
If fw didn't raise the interrupt with the fw state change to driver and fw goes to failure state, driver Will check the FW state in driver's timeout routine and issue the reset if need. Driver will do the OCR upto three Times until kill adapter. Also driver will issue OCR before driver kill adapter even if fw in operational state. Signed-off-by Bo Yang<bo.yang@lsi.com> --- drivers/scsi/megaraid/megaraid_sas.c | 70 ++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 ...
Aug 11, 2:08 pm 2010
bo yang
[PATCH 3/5] scsi: megaraid_sas - Add input parameter for ...
Driver add the input parameters support for max_sectors for our gen2 chip. Customer can Set the max_sectors support to 1MB for gen2 chip during the driver load. Signed-off-by Bo Yang<bo.yang@lsi.com> --- drivers/scsi/megaraid/megaraid_sas.c | 30 ++++++++++++++++++++++++++++++ drivers/scsi/megaraid/megaraid_sas.h | 1 + 2 files changed, 31 insertions(+) diff -rupN old/drivers/scsi/megaraid/megaraid_sas.c new/drivers/scsi/megaraid/megaraid_sas.c --- ...
Aug 11, 2:03 pm 2010
bo yang
[PATCH 2/5] scsi: megaraid_sas - support devices update flag
Driver added the Device update flag to tell LSI application driver will do the device Update. LSI MegaRAID SAS application will check this flag to decide if it is need to update the Device or not. Signed-off-by Bo Yang<bo.yang@lsi.com> --- drivers/scsi/megaraid/megaraid_sas.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff -rupN old/drivers/scsi/megaraid/megaraid_sas.c new/drivers/scsi/megaraid/megaraid_sas.c --- ...
Aug 11, 1:54 pm 2010
bo yang
[PATCH 1/5] scsi: megaraid_sas - Add Online Controller R ...
To add the Online Controller Reset (OCR) support, driver need to do: a). reset the controller chips -- Xscale and Gen2 which will change the function calls and add the reset function related to this two chips. b). during the reset, driver will store the pending cmds which not returned by FW to driver's pending queue. Driver will re-issue those pending cmds again to FW after the OCR finished. c). In driver's timeout routine, driver will report to OS as reset. Also driver's ...
Aug 11, 1:45 pm 2010
Ondrej Zary
[PATCH] matroxfb: fix incorrect use of memcpy_toio()
Fix incorrect use of memcpy_toio() in matroxfb that broke in 2.6.34 on x86. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> --- linux-2.6.35-rc2/drivers/video/matrox/matroxfb_base.h 2010-06-06 05:43:24.000000000 +0200 +++ linux-2.6.35-rc3/drivers/video/matrox/matroxfb_base.h 2010-08-03 18:13:46.000000000 +0200 @@ -151,13 +151,13 @@ static inline void mga_writel(vaddr_t va static inline void mga_memcpy_toio(vaddr_t va, const void* src, int len) { #if defined(__alpha__) || ...
Aug 11, 1:27 pm 2010
Ondrej Zary
Re: [PATCH] matroxfb: fix incorrect use of memcpy_toio()
Screen is completely corrupted since 2.6.34. Bisection revealed that it's caused by commit 6175ddf06b6172046a329e3abfd9c901a43efd2e. H. Peter Anvin explained that memcpy_toio() does not copy data in 32bit chunks anymore on x86. See: http://lkml.org/lkml/2010/8/2/409 -- Ondrej Zary --
Aug 11, 2:16 pm 2010
Andrew Morton
Re: [PATCH] matroxfb: fix incorrect use of memcpy_toio()
On Wed, 11 Aug 2010 22:27:42 +0200 Thanks. What was incorrect about it? And what is the user-visible effect of this regression? --
Aug 11, 1:41 pm 2010
Randy Dunlap
Re: [PATCH] Documentation about RS485 serial communications
----- Original Message ----- From: claudio@evidence.eu.com To: randy.dunlap@oracle.com Sent: Wednesday, August 11, 2010 12:59:08 PM GMT -08:00 US/Canada Pacific Subject: Re: [PATCH] Documentation about RS485 serial communications Hi Randy, thank you for the feedback. I noticed that for some architectures (e.g., cris) these ioctls are defined also in arch/cris/include/asm/ioctls.h, and with different values with respect to the values defined on asm-generic/ioctls.h. Therefore, I wasn't ...
Aug 11, 1:20 pm 2010
Ondrej Zary
[PATCH] s3fb: add DDC support
Add I2C support for the DDC bus to s3fb driver. This is only bus support, driver does not use EDID. Tested on Trio64V+, Trio64V2/DX, Virge (2 cards), Virge/DX (4 cards) and Trio3D/2X (3 cards) with i2cdetect and decode-edid. Will probably not work on Trio32 - my 2 cards have DDC support in BIOS that looks different from the other cards but the DDC pins on the VGA connector are not connected. Virge/GX, Virge/GX2 and Virge/VX are untested. Signed-off-by: Ondrej Zary ...
Aug 11, 1:18 pm 2010
Helge Deller
[PATCH] ipc/shm.c: add RSS and swap size information to ...
The kernel currently provides no functionality to analyze the RSS and swap space usage of each individual sysvipc shared memory segment. This patch add this info for each existing shm segment by extending the output of /proc/sysvipc/shm by two columns for RSS and swap. Since shmctl(SHM_INFO) already provides a similiar calculation (it currently sums up all RSS/swap info for all segments), I did split out a static function which is now used by the /proc/sysvipc/shm output and ...
Aug 11, 1:13 pm 2010
Ondrej Zary
[PATCH 3/3 v3] [resend] cyber2000fb: add I2C support
Add I2C support for the DDC bus to cyber2000fb driver. This is only bus support, driver does not use EDID. Tested on two different CyberPro 2000 cards with i2cdetect and decode-edid. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> --- This is v3 with spinlock instead of mutex (I don't know what's better here - but both mode switch and DDC are not performance critical so it probably does not matter) and all new things properly named ddc. diff -urp ...
Aug 11, 12:48 pm 2010
H. Peter Anvin
Re: [PATCH] [resend] Re: 6175ddf06b6172046a329e3abfd9c90 ...
drivers/video/matrox/matroxfb_base.h Petr Vandrovec <vandrove@vc.cvut.cz> Andrew Morton <akpm@linux-foundation.org> Jean Delvare <khali@linux-fr.org> linux-fbdev@vger.kernel.org linux-kernel@vger.kernel.org -hpa --
Aug 11, 1:21 pm 2010
Ondrej Zary
[PATCH] [resend] Re: 6175ddf06b6172046a329e3abfd9c901a43 ...
Thanks. Here's v2 patch: Fix incorrect use of memcpy_toio() in matroxfb that broke in 2.6.34. Signed-off-by: Ondrej Zary <linux@rainbow-software.org> --- linux-2.6.35-rc2/drivers/video/matrox/matroxfb_base.h 2010-06-06 05:43:24.000000000 +0200 +++ linux-2.6.35-rc3/drivers/video/matrox/matroxfb_base.h 2010-08-03 18:13:46.000000000 +0200 @@ -151,13 +151,13 @@ static inline void mga_writel(vaddr_t va static inline void mga_memcpy_toio(vaddr_t va, const void* src, int len) { #if ...
Aug 11, 12:38 pm 2010
Christoph Fritz
[PATCH 1/2] ipw2100: register pm_qos request on hardware ...
Function pm_qos_add_request() has to be called before first pm_qos_update_request(). This was found out due to a change in pm_qos (commit 82f682514a5df89ffb3890627eebf0897b7a84ec "pm_qos: Get rid of the allocation in pm_qos_add_request()"). The warning call trace is below. This patch is similar to c128ec29208d410568469bd8bb373b4cdc10912a "e1000e: register pm_qos request on hardware activation". WARNING: at kernel/pm_qos_params.c:264 pm_qos_update_request+0x5e/0x70() pm_qos_update_request() ...
Aug 11, 12:31 pm 2010
Christoph Fritz
[PATCH 2/2] ipw2100: add WEXT scan capabilities
NetworkManager claims: "driver does not support SSID scans (scan_capa 0x00)". This patch adds scan capabilities. Signed-off-by: Christoph Fritz <chf.fritz@googlemail.com> --- drivers/net/wireless/ipw2x00/ipw2100.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index df8e535..c330da4 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c @@ ...
Aug 11, 12:33 pm 2010
Dan Williams
Re: [PATCH 2/2] ipw2100: add WEXT scan capabilities
NAK It just doesn't. Take a look at ipw2100_wx_set_scan(); there's no handling of any SSID stuff in there. The driver does not support probe-scans; I'm not sure if the firmware does, but even if it does, the driver doesn't send the SSID down to the firmware. Compare this to the ipw2200.c set_scan() function. It just does not appear that the ipw2100 supports arbitrary SSIDs for direct scans, which is why I didn't include this capability when I went around patching the drivers a few years ...
Aug 11, 4:32 pm 2010
Randy Dunlap
[PATCH] mm: fix fatal kernel-doc error
From: Randy Dunlap <randy.dunlap@oracle.com> Fix a fatal kernel-doc error due to a #define coming between a function's kernel-doc notation and the function signature. (kernel-doc cannot handle this) Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> --- mm/page-writeback.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-2.6.35-git10.orig/mm/page-writeback.c +++ linux-2.6.35-git10/mm/page-writeback.c @@ -825,10 +825,10 @@ void __init page_writeback_init(void) /* ...
Aug 11, 12:10 pm 2010
Randy Dunlap
[PATCH] pc8736x_gpio: depends on X86_32
From: Randy Dunlap <randy.dunlap@oracle.com> Fix kconfig dependency warning for PC8736x_GPIO by restricting it to X86_32. warning: (SCx200_GPIO && SCx200 || PC8736x_GPIO && X86) selects NSC_GPIO which has unmet direct dependencies (X86_32) NSC_GPIO is X86_32 only. The other driver (SCx200_GPIO) that selects NSC_GPIO is X86_32 only (indirectly, since SCx200 depends on X86_32), so limit this driver also. Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Cc: Jordan Crouse ...
Aug 11, 12:03 pm 2010
Steven Rostedt
[PATCH 0/2] [GIT PULL] tracing: updates for 2.6.36 and stable
Ingo, Please pull the latest tip/perf/urgent tree, which can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git tip/perf/urgent Huang Ying (1): tracing: Fix ring_buffer_read_page reading out of page boundary Shaohua Li (1): tracing: Fix an unallocated memory access in function_graph ---- kernel/trace/ring_buffer.c | 3 +++ kernel/trace/trace_functions_graph.c | 10 +++++++++- 2 files changed, 12 insertions(+), 1 ...
Aug 11, 12:01 pm 2010
Steven Rostedt
[PATCH 2/2] tracing: Fix ring_buffer_read_page reading o ...
From: Huang Ying <ying.huang@intel.com> With the configuration: CONFIG_DEBUG_PAGEALLOC=y and Shaohua's patch: [PATCH]x86: make spurious_fault check correct pte bit Function call graph trace with the following will trigger a page fault. # cd /sys/kernel/debug/tracing/ # echo function_graph > current_tracer # cat per_cpu/cpu1/trace_pipe_raw > /dev/null BUG: unable to handle kernel paging request at ffff880006e99000 IP: [<ffffffff81085572>] rb_event_length+0x1/0x3f PGD 1b19063 PUD ...
Aug 11, 12:01 pm 2010
Steven Rostedt
[PATCH 1/2] tracing: Fix an unallocated memory access in ...
From: Shaohua Li <shaohua.li@intel.com> With CONFIG_DEBUG_PAGEALLOC, I observed an unallocated memory access in function_graph trace. It appears we find a small size entry in ring buffer, but we access it as a big size entry. The access overflows the page size and touches an unallocated page. Cc: <stable@kernel.org> Signed-off-by: Shaohua Li <shaohua.li@intel.com> LKML-Reference: <1280217994.32400.76.camel@sli10-desk.sh.intel.com> [ Added a comment to explain the problem - SDR ...
Aug 11, 12:01 pm 2010
Jacob Tanenbaum
RE: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
-----Original Message----- From: Kevin Hilman [mailto:khilman@deeprootsystems.com] Sent: Wednesday, August 11, 2010 2:05 PM To: Jacob Tanenbaum Cc: linux@arm.linux.org.uk; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; rmk@arm.linux.org.uk; tony@atomide.com Subject: Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO development kits Another option here instead of re-defining the struct is to includ the original header and just change the values you need ...
Aug 11, 11:53 am 2010
Sam Ravnborg
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Hi Jacob. Quick feedback! You should teach your mailer better manners so it is I noticed other users of omap2_gp_clockevent_set_gptimer() does the same ifdef/endif. You should take care of them when you have a proper way to do so. Obviously in another patch. Sam --
Aug 11, 11:57 am 2010
Jacob Tanenbaum
RE: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
-----Original Message----- From: Sam Ravnborg [mailto:sam@ravnborg.org] Sent: Wednesday, August 11, 2010 1:55 PM To: Jacob Tanenbaum Cc: linux@arm.linux.org.uk; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; rmk@arm.linux.org.uk; tony@atomide.com Subject: Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM andTORPEDO development kits Hi Jacob. Some quick comments. Are the omap3_defconfig supposed to enable all omap board variants? Otherwise leave this change ...
Aug 11, 11:53 am 2010
Dan Carpenter
re: fsnotify: pass both the vfsmount mark and inode mark
There is a NULL dereference introduced in ce8f76fb7320 "fsnotify: pass both the vfsmount mark and inode mark" 143 static int send_to_group(struct inode *to_tell, struct vfsmount *mnt, 144 struct fsnotify_mark *inode_mark, 145 struct fsnotify_mark *vfsmount_mark, 146 __u32 mask, void *data, 147 int data_is, u32 cookie, 148 const unsigned char ...
Aug 11, 11:51 am 2010
Jacob Tanenbaum
RE: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Valid point we will remove the ifdefs -----Original Message----- From: Felipe Balbi [mailto:felipe.balbi@nokia.com] Sent: Wednesday, August 11, 2010 2:49 PM To: Jacob Tanenbaum Cc: Balbi Felipe (Nokia-MS/Helsinki); linux@arm.linux.org.uk; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; rmk@arm.linux.org.uk; tony@atomide.com Subject: Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO development kits Hi, What do you mean ? If these boards are't enabled on ...
Aug 11, 11:51 am 2010
Felipe Balbi
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
please follow the Netiquette [1]. Send only plain text emails, with your replies right below the topic you're replying to. Don't top-post, it makes it really difficult to follow you're emails. http://www.elinux.org/Netiquette -- balbi DefectiveByDesign.org --
Aug 11, 11:54 am 2010
Jacob Tanenbaum
RE: [PATCH 2/4] Low-level initialization for hsmmc cont ...
-----Original Message----- From: Felipe Balbi [mailto:felipe.balbi@nokia.com] Sent: Wednesday, August 11, 2010 1:26 PM To: Jacob Tanenbaum Cc: linux@arm.linux.org.uk; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; rmk@arm.linux.org.uk; tony@atomide.com Subject: Re: [PATCH 2/4] Low-level initialization for hsmmc controller on LogicPD's OMAP3 SOM and TORPEDO dev kits Hi, this one isn't used anywhere, why adding it ? one blank line only. indentation is ...
Aug 11, 11:47 am 2010
Felipe Balbi
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Hi, What do you mean ? If these boards are't enabled on .config then this board-file won't even get added to the binary so those machine ids won't be available, right ? -- balbi DefectiveByDesign.org --
Aug 11, 11:49 am 2010
Jacob Tanenbaum
RE: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
-----Original Message----- From: Felipe Balbi [mailto:felipe.balbi@nokia.com] Sent: Wednesday, August 11, 2010 1:23 PM To: Jacob Tanenbaum Cc: linux@arm.linux.org.uk; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; rmk@arm.linux.org.uk; tony@atomide.com Subject: Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM and TORPEDO development kits Hi Jacob, few style comments only don't tab here. Please remove. no gpio setup ?? If you truly don't need, you don't have to ...
Aug 11, 11:45 am 2010
Andy Isaacson
[PATCH] crypto/Kconfig: fix typo
algolithm -> algorithm Signed-off-by: Andy Isaacson <adi@hexapodia.org> --- crypto/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 1cd497d..27484e4 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -102,7 +102,7 @@ config CRYPTO_MANAGER2 select CRYPTO_PCOMP2 config CRYPTO_MANAGER_TESTS - bool "Run algolithms' self-tests" + bool "Run algorithms' self-tests" default y depends on CRYPTO_MANAGER2 ...
Aug 11, 11:37 am 2010
Steffen Klassert
[PATCH] Add maintainer entries for padata/pcrypt
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> --- MAINTAINERS | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 8939947..3e9502e 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4327,6 +4327,15 @@ L: linux-i2c@vger.kernel.org S: Maintained F: drivers/i2c/busses/i2c-pasemi.c +PADATA PARALLEL EXECUTION MECHANISM +M: Steffen Klassert ...
Aug 11, 11:13 am 2010
Pedido de Trabalho
pedido de trabalho
Gostaria de saber se precisa de algum serviço na área do design. Deixo o meu e-mail mais directo para contacto: design_grafico@sapo.pt 962306299 Obrigado nuno miguel --
Aug 11, 4:50 am 2010
Daniel Walker
[GIT PULL] MSM updates for 2.6.36
Hi Linus, Here is an unfortunately small MSM pull request. I wish I could have included more than this. It does include MMC support for trout (G1), but that's about the most exciting thing here. Please consider pulling this. Daniel The following changes since commit 3260e5293727f16ffdce9a6a6203fd9a6b149e58: arm: mm: Don't free prohibited memmap entries (2010-06-15 13:19:55 -0700) are available in the git repository at: git://codeaurora.org/quic/kernel/dwalker/linux-msm.git ...
Aug 11, 10:58 am 2010
Karl Relton
[PATCH] staging/wlan-ng: Explicitly set some fields in c ...
Greg Now that the wlan-ng driver has been switched to cfg80211 in mainline, can this small patch be forwarded also, to catch up with some new fields that have gone into the cfg80211 api also in this cycle. Thanks Karl Explicitly set some fields in cfg80211 interface Signed-off-by: Karl Relton <karllinuxtest.relton@ntlworld.com> --- The cfg80211 api has introduced a few new fields. Rather than assume what cfg80211 api does by default, set these explicitly. --- ...
Aug 11, 10:16 am 2010
James
kernel config
CONFIG_SATA_AHCI │ This option enables support for AHCI Serial ATA. │ │ │ │ If unsure, say N. CONFIG_ATA_SFF: │ │ │ │ This option adds support for ATA controllers with SFF │ │ compliant or similar programming interface. │ │ │ │ SFF is the legacy IDE interface that has been around since │ │ the dawn of time. Almost all PATA controllers have an │ │ SFF interface. Many SATA controllers have an SFF interface │ │ when configured into a legacy compatibility mode. │ │ │ │ For users with ...
Aug 11, 10:18 am 2010
Brian Waters
Re: kernel config
If you think this is a good idea, then you should try submitting a patch for it. The file you want to modify is drivers/ata/Kconfig. It should be pretty obvious what to change. There is lots of info online about creating patches. - Brian Waters --
Aug 11, 12:16 pm 2010
Dave Jones
checkpatch false positive.
I just got this from a patch I merged.. ERROR: need consistent spacing around '*' (ctx:WxV) #121: FILE: arch/x86/kernel/cpu/cpufreq/pcc-cpufreq.c:113: +static struct pcc_cpu __percpu *pcc_cpu_info; ^ which doesn't seem right. Dave --
Aug 11, 9:35 am 2010
Joe Perches
[PATCH] scripts/checkpatch.pl: Add additional attribute ...
Perhaps these need to be added to checkpatch. Signed-off-by: Joe Perches <joe@perches.com> --- scripts/checkpatch.pl | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 2039acd..51ba019 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -150,6 +150,20 @@ our $Sparse = qr{ # We need \b after 'init' otherwise 'initconst' will cause a false positive in a check our $Attribute = qr{ ...
Aug 11, 10:29 am 2010
Joe Perches
[PATCH (for some future time)] drivers/net: Convert unbo ...
These changes may be slightly safer in some instances. There are other kzalloc calls with a multiply, but those calls are typically "small fixed #" * sizeof(some pointer)" and those are not converted. Signed-off-by: Joe Perches <joe@perches.com> --- drivers/net/cnic.c | 2 +- drivers/net/ehea/ehea_main.c | 4 ++-- drivers/net/mlx4/alloc.c | 2 +- drivers/net/mlx4/en_rx.c | 2 +- drivers/net/mlx4/profile.c ...
Aug 11, 10:02 am 2010
Gertjan van Wingerde Aug 11, 11:40 am 2010
David Daney Aug 11, 9:55 am 2010
=?UTF-8?q?Andreas=20 ...
[PATCH] cavium-octeon: determine if helper should build
This patch adds an config switch to determine if we need to build some workaround helper files. The staging driver octeon-ethernet references some symbols which are only built when PCI is enabled. The new config switch enables these symbols in bothe cases. Signed-off-by: Andreas Bießmann <biessmann@corscience.de> --- arch/mips/cavium-octeon/Kconfig | 4 ++++ arch/mips/cavium-octeon/executive/Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletions(-) diff ...
Aug 11, 9:49 am 2010
Jacob Tanenbaum
[PATCH 1/4] initial support for LogicPD's OMAP3 SOM and ...
Adding LogicPD OMAP3 board support Adding support for LogicPD's OMAP 3530 LV SOM and OMAP 35x Torpedo board. Tested against: linux-next 81e09f50c93edff607259cbe374a3006c9c5fa74 Signed-off-by: Jacob Tanenbaum <Jacob.Tanenbaum@logicpd.com> --- arch/arm/configs/omap3_defconfig | 2 + arch/arm/mach-omap2/Kconfig | 8 ++ arch/arm/mach-omap2/Makefile | 4 + arch/arm/mach-omap2/board-omap3logic.c | 184 ...
Aug 11, 9:31 am 2010
Sam Ravnborg
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Hi Jacob. Some quick comments. Are the omap3_defconfig supposed to enable all omap board variants? Some help would be beneficial. URL's to product descriptions etc could be included there. Fix this on the called site. There is zero reason to sprinkle all user of omap2_gp_clockevent_set_gptimer() Why do we have code that is not in use? --
Aug 11, 10:54 am 2010
Felipe Balbi
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Hi Jacob, few style comments only no gpio setup ?? If you truly don't need, you don't have to add this neither this. -- balbi DefectiveByDesign.org --
Aug 11, 10:22 am 2010
Kevin Hilman
Re: [PATCH 1/4] initial support for LogicPD's OMAP3 SOM ...
Another option here instead of re-defining the struct is to includ the original header and just change the values you need to. That way you can describe the reasons behind the values that are changing. Why do you need GPT12? Was this a copy-paste from Beagle? Certain revs of beagle had this limitation due to a board design problem, so unless you've inherited the same board-design problem, you should be find with the default. Kevin --
Aug 11, 11:04 am 2010
Jacob Tanenbaum
[PATCH 2/4] Low-level initialization for hsmmc controll ...
ARM: OMAP3LOGIC: Adding SDMMC support Add low-level initialization for hsmmc controller for LogicPD's OMAP 3530 LV SOM and OMAP 35x Torpedo board. Tested against: linux-next 81e09f50c93edff607259cbe374a3006c9c5fa74 Signed-off-by: Jacob Tanenbaum <Jacob.Tanenbaum@logicpd.com> --- arch/arm/mach-omap2/board-omap3logic.c | 73 +++++++++++++++++++++++++++++-- 1 files changed, 68 insertions(+), 5 deletions(-) diff --git ...
Aug 11, 9:31 am 2010
Kevin Hilman
Re: [PATCH 2/4] Low-level initialization for hsmmc cont ...
Also removes mux setup of SDRC pins which is not described here. Kevin --
Aug 11, 11:07 am 2010
Felipe Balbi
Re: [PATCH 2/4] Low-level initialization for hsmmc cont ...
Hi, this shouldn't even be here in the first place. :-) -- balbi DefectiveByDesign.org --
Aug 11, 10:25 am 2010
Jacob Tanenbaum
[PATCH 4/4] enabling Ethernet support for LogicPD's OMAP ...
Enable SMSC911x Ethernet driver for LogicPD's OMAP 3530 LV SOM and OMAP 35x Torpedo board. Tested against: linux-next 81e09f50c93edff607259cbe374a3006c9c5fa74 Signed-off-by: Jacob Tanenbaum <Jacob.Tanenbaum@logicpd.com> --- arch/arm/mach-omap2/board-omap3logic.c | 90 +++++++++++++++++++++++++++++++- 1 files changed, 89 insertions(+), 1 deletions(-) diff --git a/arch/arm/mach-omap2/board-omap3logic.c ...
Aug 11, 9:31 am 2010
Jacob Tanenbaum
[PATCH 3/4] add generic smsc911x support for LogicPD's O ...
ARM: OMAP3: Add generic smsc911x support when connected to GPMC Introduce of a generic way to setup smsc911x based Ethernet controller connected to GPMC similar to gpmc-smc91x but without timing setup. FIXED: pbias voltage for the Torpedo board Tested against: linux-next 81e09f50c93edff607259cbe374a3006c9c5fa74 Signed-off-by: Jacob Tanenbaum <Jacob.Tanenbaum@logicpd.com> --- arch/arm/mach-omap2/Makefile | 4 + ...
Aug 11, 9:31 am 2010
Jean Delvare
[GIT PULL] i2c updates for 2.6.36
Hi Linus, Please pull a first round of i2c subsystem updates for Linux 2.6.36 from: git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging.git i2c-for-linus The big thing here is the multiplexing support, with core support as well as support for the popular NXP PCA954x family of multiplexers and switches. It may have a few rough edges left, but overall should work. The rest are small cleanups. Documentation/i2c/instantiating-devices | 2 +- drivers/i2c/Kconfig ...
Aug 11, 9:41 am 2010
Hui Zhu
Linux Kernel GDB tracepoint module demo release
Hi, GDB Tracepoint (http://sourceware.org/gdb/current/onlinedocs/gdb/Tracepoints.html) is new feature that make GDB can debug real-time program. I think this feature is very fit for debug Linux Kernel. So I make a lkm to make kernel support it. You can get it in https://code.google.com/p/kgtp/ I just release the demo for it. It just support collect $reg in x86_32. I will add the other tracepoint support in the future. For example: tar vxjf gtp_20100811.tar.bz2 cd gtp make insmod ...
Aug 11, 9:34 am 2010
Thiago Jung Bauermann
Re: Linux Kernel GDB tracepoint module demo release
Hi Hui, Jim Blandy worked on GDB tracepoint support for the kernel too. I don't know how his work compares to yours, you might be interested in having a look: http://www.red-bean.com/trac/tracepoints/ -- []'s Thiago Jung Bauermann --
Aug 11, 12:03 pm 2010
Michael Snyder
Re: Linux Kernel GDB tracepoint module demo release
Actually, this is kind of interesting. Can your system set a tracepoint at any arbitrary location in the kernel? If so, I think that makes it more powerful than existing systems such as LTTng, which can only trace statically pre-determined locations. --
Aug 11, 2:10 pm 2010
Michael Snyder Aug 11, 12:06 pm 2010
Jiri Kosina
[PATCH] paravirt: noreplace-paravirt is implemented for ...
kernel-parameters.txt lists 'noreplace-paravirt' parameter as being limited to X86-32, which is incorrect -- it's actually supported by x86-32, x86-64 and ia-64. Signed-off-by: Jiri Kosina <jkosina@suse.cz> --- Documentation/kernel-parameters.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index d529b13..8ed3a77 100644 --- a/Documentation/kernel-parameters.txt +++ ...
Aug 11, 9:34 am 2010
Jeremy Fitzhardinge Aug 11, 9:42 am 2010
Chris Metcalf
[PATCH] Add fanotify syscalls to <asm-generic/unistd.h>.
Signed-off-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt; --- (Oops, resending with appropriate Cc's.) include/asm-generic/unistd.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index e189809..b969770 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -642,9 +642,13 @@ __SYSCALL(__NR_recvmmsg, sys_recvmmsg) __SYSCALL(__NR_wait4, sys_wait4) #define __NR_prlimit64 261 ...
Aug 11, 8:07 am 2010
Phillip Lougher
[GIT PULL] Squashfs updates for 2.6.36
Hi Linus, Please consider pulling the following Squashfs update which adds LZO decompression support. In addition to this there's various minor updates which fix compiler warnings and whitespace/typos. Thanks Phillip ---------------- The following changes since commit 899f4530334da9292556e1f8f5791468e0136ff1: Phillip Lougher (1): squashfs: update documentation to include description of xattr layout are available in the git repository at: ...
Aug 11, 9:00 am 2010
Chris Metcalf
[PATCH] Add fanotify syscalls to <asm-generic/unistd.h>.
Signed-off-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt; --- include/asm-generic/unistd.h | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/asm-generic/unistd.h b/include/asm-generic/unistd.h index e189809..b969770 100644 --- a/include/asm-generic/unistd.h +++ b/include/asm-generic/unistd.h @@ -642,9 +642,13 @@ __SYSCALL(__NR_recvmmsg, sys_recvmmsg) __SYSCALL(__NR_wait4, sys_wait4) #define __NR_prlimit64 261 __SYSCALL(__NR_prlimit64, sys_prlimit64) +#define ...
Aug 11, 8:07 am 2010
Chris Metcalf
[PATCH] arch/tile: support new kunmap_atomic() naming co ...
See commit 597781f3e51f48ef8e67be772196d9e9673752c4. Signed-off-by: Chris Metcalf &lt;cmetcalf@tilera.com&gt; --- arch/tile/include/asm/highmem.h | 2 +- arch/tile/mm/highmem.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/tile/include/asm/highmem.h b/arch/tile/include/asm/highmem.h index efdd12e..d155db6 100644 --- a/arch/tile/include/asm/highmem.h +++ b/arch/tile/include/asm/highmem.h @@ -60,7 +60,7 @@ void *kmap_fix_kpte(struct page *page, int ...
Aug 11, 7:54 am 2010
Claudio Scordino
[PATCH] CRIS RS485: Check SER_RS485_RTS_BEFORE_SEND befo ...
Hi Jesper, the following patch fixes the usage of the delay in RS485 mode on the Cris architecture. Very recently, the RS485 interface has been fixed by adding two further fields (see commit 1b6331848b69d1ed165a6bdc75c4046d68767563). This patch checks the value of the flag SER_RS485_RTS_BEFORE_SEND before delaying. Best regards, Claudio CRIS RS485: Check SER_RS485_RTS_BEFORE_SEND before delaying. Signed-off-by: Claudio Scordino &lt;claudio@evidence.eu.com&gt; --- ...
Aug 11, 8:09 am 2010
Cyril Hrubis
zaurus pata_pcmcia corrupted filesystem
Hi! Marek Vasut ported deprecated zaurus pcmcia disk driver to the pata_pcmcia interface, sources are here: http://git.kernel.org/?p=linux/kernel/git/marex/pxa-linux-2.6.git;a=shortlog;h=refs/he... Everythig seems to be fine at the first look but sometimes the filesystem gets unconsistent. Typical example is extracting tar archive with big number of files and directories (I used ltp-full archive from http://www.sf.net/projects/ltp/). After doing that, some files or ...
Aug 11, 7:44 am 2010
Andy Shevchenko
[PATCH] fs: use kernel's hex_to_bin() method
Signed-off-by: Andy Shevchenko &lt;andy.shevchenko@gmail.com&gt; Cc: Alexander Viro &lt;viro@zeniv.linux.org.uk&gt; Cc: linux-fsdevel@vger.kernel.org --- fs/binfmt_misc.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index 9e60fd2..6c3855e 100644 --- a/fs/binfmt_misc.c +++ b/fs/binfmt_misc.c @@ -28,6 +28,7 @@ #include &lt;linux/mount.h&gt; #include &lt;linux/syscalls.h&gt; #include &lt;linux/fs.h&gt; +#include &lt;linux/kernel.h&gt; #include ...
Aug 11, 7:21 am 2010
Greg KH
Re: [PATCH] Break the kobject namespace defs into their ...
What &quot;ordering problem&quot; is there? I don't see a build error here, do you? thanks, greg k-h --
Aug 11, 8:07 am 2010
David Howells
[PATCH] Break the kobject namespace defs into their own header
Break the kobject namespace defs into their own header to avoid a header file inclusion ordering problem between linux/sysfs.h and linux/kobject.h. Signed-off-by: David Howells &lt;dhowells@redhat.com&gt; --- include/linux/kobject.h | 35 +--------------------------- include/linux/kobject_ns.h | 56 ++++++++++++++++++++++++++++++++++++++++++++ include/linux/sysfs.h | 1 + 3 files changed, 58 insertions(+), 34 deletions(-) create mode 100644 include/linux/kobject_ns.h diff ...
Aug 11, 7:01 am 2010
Rusty Russell
[PULL] Module parameter bugfixes and cleanups
This fixes some longstanding bugs in the module parameter code: these patches date from over 6 months ago and have been in linux-next. We currently leak memory on setting a charp parameter via sysfs, since there was no way of stopping those writes while accessing parameters. To fix this we create an ops structure, add a -&gt;free routine to it, and implement locking primitives for drivers. This doesn't effect trivial parameter usage, but I fix up the more boutique ones rather than write a compat ...
Aug 11, 6:45 am 2010
Greg KH
Re: [PATCH] kernel/ksysfs: use snprintf for sysfs show
As Al pointed out, none of these will ever overflow so it makes no sense to change them. thanks, greg k-h --
Aug 11, 8:21 am 2010
Al Viro
Re: [PATCH] kernel/ksysfs: use snprintf for sysfs show
A-yup - that's an improvement, all right, on them evil boxen that got long long so huge that its decimal representation won't fit into a page. NAK. Cargo-cult programming is bad. --
Aug 11, 7:05 am 2010
Davidlohr Bueso
[PATCH] kernel/ksysfs: use snprintf for sysfs show
Use snprintf(buf, PAGE_SIZE, ...) instead of sprintf for sysfs show methods. This is suggested in Documentation/filesystems/sysfs.txt Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt; --- kernel/ksysfs.c | 20 +++++++++++--------- 1 files changed, 11 insertions(+), 9 deletions(-) diff --git a/kernel/ksysfs.c b/kernel/ksysfs.c index 0b624e7..d7cef25 100644 --- a/kernel/ksysfs.c +++ b/kernel/ksysfs.c @@ -29,7 +29,9 @@ static struct kobj_attribute _name##_attr = \ static ssize_t ...
Aug 11, 6:44 am 2010
Davidlohr Bueso
Re: [PATCH] DRM: Replace kmalloc/memset combos with kzalloc
Doable, but don't see much difference. David, what do you think? Thanks, Davidlohr --
Aug 11, 12:58 pm 2010
Davidlohr Bueso
[PATCH] DRM: Replace kmalloc/memset combos with kzalloc
Currently most, if not all, memory allocation in drm_bufs.c is followed by initializing the memory with 0. Replace the use of kmalloc+memset with kzalloc. Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt; --- drivers/gpu/drm/drm_bufs.c | 33 +++++++++++---------------------- 1 files changed, 11 insertions(+), 22 deletions(-) diff --git a/drivers/gpu/drm/drm_bufs.c b/drivers/gpu/drm/drm_bufs.c index a5c9ce9..3e257a5 100644 --- a/drivers/gpu/drm/drm_bufs.c +++ ...
Aug 11, 6:18 am 2010
Joe Perches
Re: [PATCH] DRM: Replace kmalloc/memset combos with kzalloc
Perhaps kzalloc's with a multiply could/should also be converted entry-&gt;buflist = kcalloc(count, sizeof(*entry-&gt;buflist), GFP_KERNEL); --
Aug 11, 7:35 am 2010
Davidlohr Bueso
[PATCH] i915: Remove redundant NULL check upon kfree()
i915: Remove redundant NULL check upon kfree(). Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt; --- drivers/gpu/drm/i915/intel_dvo.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/intel_dvo.c b/drivers/gpu/drm/i915/intel_dvo.c index 227feca..b3955bc 100644 --- a/drivers/gpu/drm/i915/intel_dvo.c +++ b/drivers/gpu/drm/i915/intel_dvo.c @@ -283,8 +283,7 @@ static void intel_dvo_enc_destroy(struct drm_encoder *encoder) if (dvo) { if ...
Aug 11, 6:05 am 2010
Davidlohr Bueso
Re: [PATCH] jbd: Remove redundant NULL check upon kfree()
Ok, makes sense. I was a bit doubtful about the unlikely(), thanks for the review. Davidlohr --
Aug 11, 6:11 am 2010
Davidlohr Bueso
[PATCH] jbd: Remove redundant NULL check upon kfree()
jbd: Remove redundant NULL check upon kfree(). Signed-off-by: Davidlohr Bueso &lt;dave@gnu.org&gt; --- fs/jbd/transaction.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/fs/jbd/transaction.c b/fs/jbd/transaction.c index 5ae71e7..5e98130 100644 --- a/fs/jbd/transaction.c +++ b/fs/jbd/transaction.c @@ -232,8 +232,7 @@ repeat_locked: lock_map_acquire(&amp;handle-&gt;h_lockdep_map); out: - if (unlikely(new_transaction)) /* It's usually NULL ...
Aug 11, 6:00 am 2010
Jiri Kosina
Re: [PATCH] jbd: Remove redundant NULL check upon kfree()
This doesn't seem entirely redundant, as it is optimized (via the unlikely() hint) for the opposite case than what kfree() is optimized for (kfree() assumes that the pointer is likely non-NULL, while the code above assumes that the pointer si likely NULL). -- Jiri Kosina SUSE Labs, Novell Inc. --
Aug 11, 6:06 am 2010
psukys
(No subject)
Nokia celebrates 40yrs. Your Number has won 600,000 pounds in the Nokia Awards. claimcode: ZXDJN.To claim your prize send email to yrs_40@live.com. Intl tel +447011197128 --
Aug 11, 4:28 am 2010
Liam Girdwood
[GIT PULL] regulator updates for 2.6.36
Hi Linus, Please pull the following voltage regulator updates for 2.6.36. Notable updates for 2.6.36 include new regulator drivers for the AB8500, AD5398, ISL6271, MAX8998 and TPS6586x PMICs. The other updates are mostly trivial fixes. Thanks Liam --- The following changes since commit 3d30701b58970425e1d45994d6cb82f828924fdd: Linus Torvalds (1): Merge branch 'for-linus' of git://neil.brown.name/md are available in the git repository at: ...
Aug 11, 4:56 am 2010
Al Viro Aug 11, 6:37 am 2010
Sergey Senozhatsky
[PATCH] fix reiserfs_evict_inode end_writeback second call
reiserfs_evict_inode calls end_writeback two times hitting kernel BUG at fs/inode.c:298 becase inode-&gt;i_state is I_CLEAR already. Signed-off-by: Sergey Senozhatsky &lt;sergey.senozhatsky@gmail.com&gt; --- diff --git a/fs/reiserfs/inode.c b/fs/reiserfs/inode.c index ae35413..87e11d2 100644 --- a/fs/reiserfs/inode.c +++ b/fs/reiserfs/inode.c @@ -83,7 +83,8 @@ void reiserfs_evict_inode(struct inode *inode) dquot_drop(inode); inode-&gt;i_blocks = 0; reiserfs_write_unlock_once(inode-&gt;i_sb, ...
Aug 11, 4:07 am 2010
Sergey Senozhatsky
convert reiserfs to ->evict_inode()
Hello, commit 845a2cc0507055278e0fa722ed0f8c791b7401dd introduced: @@ -77,9 +79,14 @@ void reiserfs_delete_inode(struct inode *inode) ; } out: - clear_inode(inode); /* note this must go after the journal_end to prevent deadlock */ + end_writeback(inode); /* note this must go after the journal_end to prevent deadlock */ + dquot_drop(inode); inode-&gt;i_blocks = 0; reiserfs_write_unlock_once(inode-&gt;i_sb, ...
Aug 11, 3:35 am 2010
David Miller
Re: [PATCH] Mark arguments to certain syscalls as being const
From: David Howells &lt;dhowells@redhat.com&gt; Acked-by: David S. Miller &lt;davem@davemloft.net&gt; --
Aug 11, 3:51 pm 2010
David Howells
[PATCH] Mark arguments to certain syscalls as being const
Mark arguments to certain system calls as being const where they should be but aren't. The list includes: (*) The filename arguments of various stat syscalls, execve(), various utimes syscalls and some mount syscalls. (*) The filename arguments of some syscall helpers relating to the above. (*) The buffer argument of various write syscalls. Signed-off-by: David Howells &lt;dhowells@redhat.com&gt; --- arch/alpha/kernel/osf_sys.c | 6 +++--- ...
Aug 11, 3:26 am 2010
Julia Lawall
[PATCH 5/5] drivers/serial: Return -ENOMEM on memory all ...
From: Julia Lawall &lt;julia@diku.dk&gt; In this code, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // &lt;smpl&gt; @@ expression ret; expression x,e1,e2,e3; @@ ret = 0 ... when != ret = e1 *x = \(kmalloc\|kcalloc\|kzalloc\)(...) ... when != ret = e2 if (x == NULL) { ... when != ret = e3 return ret; } // ...
Aug 11, 3:11 am 2010
Julia Lawall
Re: [PATCH 5/5] drivers/serial: Return -ENOMEM on memory ...
Actually, pci_alloc_consistent is only called when phys_port is 0. In the subsequent cases, the ip_dma_ringbuf field is just initialized to the previous value. So it could be: out4: for (phys_port = 0; phys_port &lt; PORTS_PER_CARD; phys_port++) { port = card_ptr-&gt;ic_port[phys_port].icp_port; if (port) { if (phys_port == 0) pci_free_consistent(port-&gt;ip_idd-&gt;pdev, ...
Aug 11, 9:23 am 2010
Patrick Gefre
Re: [PATCH 5/5] drivers/serial: Return -ENOMEM on memory ...
Yes you are right, there should be something like this for out4: out4: for (phys_port = 0; phys_port &lt; PORTS_PER_CARD; phys_port++) { port = card_ptr-&gt;ic_port[phys_port].icp_port; if (port) { pci_free_consistent(port-&gt;ip_idd-&gt;pdev, TOTAL_RING_BUF_SIZE, (void *)port-&gt;ip_cpu_ringbuf, port-&gt;ip_dma_ringbuf); kfree(port); } } kfree(card_ptr); --
Aug 11, 8:59 am 2010
Julia Lawall
[PATCH 4/5] fs/ecryptfs: Return -ENOMEM on memory alloca ...
From: Julia Lawall &lt;julia@diku.dk&gt; In this code, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // &lt;smpl&gt; @@ expression ret; expression x,e1,e2,e3; @@ ret = 0 ... when != ret = e1 *x = \(kmalloc\|kcalloc\|kzalloc\)(...) ... when != ret = e2 if (x == NULL) { ... when != ret = e3 return ret; } // ...
Aug 11, 3:11 am 2010
Desai, Kashyap Aug 11, 3:19 am 2010
Julia Lawall
[PATCH 3/5] drivers/message/fusion: Return -ENOMEM on me ...
From: Julia Lawall &lt;julia@diku.dk&gt; In this code, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // &lt;smpl&gt; @@ expression ret; expression x,e1,e2,e3; @@ ret = 0 ... when != ret = e1 *x = \(kmalloc\|kcalloc\|kzalloc\)(...) ... when != ret = e2 if (x == NULL) { ... when != ret = e3 return ret; } // ...
Aug 11, 3:11 am 2010
Linus WALLEIJ
RE: [PATCH 2/5] drivers/dma: Return -ENOMEM on memory al ...
Acked-by: Linus Walleij &lt;linus.walleij@stericsson.com&gt; Thanks for fixing this Julia! Yours, Linus Walleij --
Aug 11, 4:22 am 2010
Julia Lawall
[PATCH 2/5] drivers/dma: Return -ENOMEM on memory alloca ...
From: Julia Lawall &lt;julia@diku.dk&gt; In this code, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // &lt;smpl&gt; @@ expression ret; expression x,e1,e2,e3; @@ ret = 0 ... when != ret = e1 *x = \(kmalloc\|kcalloc\|kzalloc\)(...) ... when != ret = e2 if (x == NULL) { ... when != ret = e3 return ret; } // ...
Aug 11, 3:11 am 2010
Julia Lawall
[PATCH 1/5] drivers/usb/gadget: Return -ENOMEM on memory ...
From: Julia Lawall &lt;julia@diku.dk&gt; In this code, 0 is returned on memory allocation failure, even though other failures return -ENOMEM or other similar values. A simplified version of the semantic match that finds this problem is as follows: (http://coccinelle.lip6.fr/) // &lt;smpl&gt; @@ expression ret; expression x,e1,e2,e3; @@ ret = 0 ... when != ret = e1 *x = \(kmalloc\|kcalloc\|kzalloc\)(...) ... when != ret = e2 if (x == NULL) { ... when != ret = e3 return ret; } // ...
Aug 11, 3:10 am 2010
Samuel Ortiz
[GIT] [2.6.36] MFD pull request
Hi Linus, This is the MFD pull request for the 2.6.36 merge window. We have a few new drivers with this round, mostly the ST-E stmpe, TI TPS6586x and Ingenic jz4740. But the bulk of it is around fixes and cleanups. Thanks in advance for pulling: The following changes since commit 3d30701b58970425e1d45994d6cb82f828924fdd: Merge branch 'for-linus' of git://neil.brown.name/md (2010-08-10 15:38:19 -0700) are available in the git repository at: ...
Aug 11, 3:09 am 2010
Jiri Slaby
[PATCH 1/1] AppArmor: fix task_setrlimit prototype
After rlimits tree was merged we get the following errors: security/apparmor/lsm.c:663:2: warning: initialization from incompatible pointer type It is because AppArmor was merged in the meantime, but uses the old prototype. So fix it by adding struct task_struct as a first parameter of apparmor_task_setrlimit. NOTE that this is ONLY a compilation warning fix (and crashes caused by that). It needs proper handling in AppArmor depending on who is the 'task'. Signed-off-by: Jiri Slaby ...
Aug 11, 2:28 am 2010
John Johansen
Re: [PATCH 1/1] AppArmor: fix task_setrlimit prototype
thanks Jiri, I'll get an update for apparmor handling task part out today. Signed-off-by: John Johansen &lt;john.johansen@canonical.com&gt; --
Aug 11, 6:17 am 2010
Luca Tettamanti
[DRM] BUG: sleeping function called from invalid context ...
Hi Arnd, this commit: commit 58374713c9dfb4d231f8c56cac089f6fbdedc2ec Author: Arnd Bergmann &lt;arnd@arndb.de&gt; Date: Sat Jul 10 23:51:39 2010 +0200 drm: kill BKL from common code moved the call to (inside drm_release) drm_lastclose inside dev-&gt;count_lock spinlock. drm_lastclose however takes dev-&gt;struct_mutex (now inside an atomic context): BUG: sleeping function called from invalid context at /home/kronos/src/linux-2.6.git/kernel/mutex.c:94 in_atomic(): 1, irqs_disabled(): 0, ...
Aug 11, 1:48 am 2010
Arnd Bergmann
Re: [DRM] BUG: sleeping function called from invalid con ...
Yes, that's obviously been broken by me, sorry about the trouble. I must have been trying to simplify the error handling by adding a goto at the end of drm_release, which then happened to break the common path. The easiest way to fix this would be to go back to the way drm_release() worked previously and /only/ replace {,un}lock_kernel() with Yes, that sounds good, it's what the code used to do before my broken change. You might also be able to find a way to remove drm_global_lock from ...
Aug 11, 5:49 am 2010
Dave Airlie
Re: [DRM] BUG: sleeping function called from invalid con ...
I have a patch from Chris Wilson that I need to push to fix this, basically reducing the spin lock coverage, and relying on the global mutex to handle the open race. --
Aug 11, 1:50 am 2010
Luca Tettamanti Aug 11, 7:17 am 2010
WESTERN UNION CENTER
(No subject)
Attention, We wish to inform you that the United Nations Organization (UN) has taking over the Inheritance/Winning payment issue in which you presently have with your transaction agents. Your funds was withdrawn by UN on your behalf based on the fact that you where subjected to too many process that will make you spend more money before receiving your funds. Your Inheritance/Winning payment was paid out to the United Nations Organization, and they have succeeded in depositing your funds ...
Aug 11, 1:46 am 2010
Sedat Dilek
No patches on patchwork.kernel.org?
Hi, I love to follow LKML by looking at the patches on [1]. It looks like only LKML list is only concerned. Is the service down? Kind Regards, - Sedat - [1] https://patchwork.kernel.org/project/LKML/list/ --
Aug 11, 1:42 am 2010
David Howells
[PATCH 3/3] AFS: Implement an autocell mount capability ...
From: wanglei &lt;wang840925@gmail.com&gt; Implement the ability for the root directory of a mounted AFS filesystem to accept lookups of arbitrary directory names, to interpet the names as the names of cells, to look the cell names up in the DNS for AFSDB records and to mount the root.cell volume of the nominated cell on the pseudo-directory created by lookup. This facility is requested by passing: -o autocell to the mountpoint for which this is desired, usually the /afs mount. To use ...
Aug 11, 1:38 am 2010
David Howells
[PATCH 1/3] NFS: Use kernel DNS resolver [ver #2]
From: Bryan Schumaker &lt;bjschuma@netapp.com&gt; Use the kernel DNS resolver to translate hostnames to IP addresses. Create a new config option to choose between the legacy DNS resolver and the new resolver. Signed-off-by: Bryan Schumaker &lt;bjschuma@netapp.com&gt; Acked-by: Trond Myklebust &lt;Trond.Myklebust@netapp.com&gt; Signed-off-by: David Howells &lt;dhowells@redhat.com&gt; --- fs/nfs/Kconfig | 16 ++++++++++++++++ fs/nfs/dns_resolve.c | 24 ++++++++++++++++++++++++ fs/nfs/dns_resolve.h | ...
Aug 11, 1:37 am 2010
Steve French
Re: [PATCH 1/3] NFS: Use kernel DNS resolver [ver #2]
Patches 1 - 3 of this series now in cifs-2.6.git -- Thanks, Steve --
Aug 11, 9:01 am 2010
David Howells
[PATCH 2/3] DNS: If the DNS server returns an error, all ...
From: Wang Lei &lt;wang840925@gmail.com&gt; If the DNS server returns an error, allow that to be cached in the DNS resolver key in lieu of a value. Userspace passes the desired error number as an option in the payload: &quot;#dnserror=&lt;number&gt;&quot; Userspace must map h_errno from the name resolution routines to an appropriate Linux error before passing it up. Something like the following mapping is recommended: [HOST_NOT_FOUND] = ENODATA, [TRY_AGAIN] = EAGAIN, [NO_RECOVERY] = ...
Aug 11, 1:37 am 2010
Alex Dubov
Re: [PATCH 2/2] MEMSTICK: Add driver for Ricoh R5C592 Ca ...
I don't remember the details, but it may be, that status1 errors do not raise INT_ERR (or do not always raise?). The idea is, first you check INT_ERR. If command completed successfully and you received the data, you may still need to check status1 for possible bit flips. Some experimentation may be required, especially for the case of correctable errors. After all, they should not prevent the command from successful completion, yet action should be taken on them (at the very least - log ...
Aug 11, 1:16 am 2010
Alex Dubov
Re: [PATCH 2/2] MEMSTICK: Add driver for Ricoh R5C592 Ca ...
It's not. Because when you do autoincrementing write you _can not_ write into param register. You will break the command execution. On the other thought, it may be unnecessary to write unique extra data to every page, so one full register write at the beginning of the command may do. Considering, that legacy memstick is not going to evolve, this may be reasonable assumption. --
Aug 11, 1:08 am 2010
Maxim Levitsky
Re: [PATCH 2/2] MEMSTICK: Add driver for Ricoh R5C592 Ca ...
Thanks, I finally understand you, so you are objection to write of _param_ register, not the _extra_. Indeed that what I do now. Maximum I might need to clear page status bits, but I can do that later after I write the block. This won't be any performance impact because amount of bad pages shouldn't be normally greater that zero. (Otherwise there will be data loss...) One interesting thing that I just want your opinion on is what to do with correctable errors. Common sense suggests to ...
Aug 11, 1:32 am 2010
Kulikov Vasiliy
[PATCH] staging: usbip: fix memory leak
If stub_probe() failed then do not increase interf_count. In original code sdev was leaked as its interf_count never reaches 0. Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.com&gt; --- drivers/staging/usbip/stub_dev.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/usbip/stub_dev.c b/drivers/staging/usbip/stub_dev.c index b6b753a..b186b5f 100644 --- a/drivers/staging/usbip/stub_dev.c +++ b/drivers/staging/usbip/stub_dev.c @@ -427,11 +427,11 @@ static ...
Aug 11, 1:02 am 2010
Kulikov Vasiliy
[PATCH] staging: tm6000: fix memory leak
Original code doesn't call kfree(chip) on error. Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.com&gt; --- drivers/staging/tm6000/tm6000-alsa.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/staging/tm6000/tm6000-alsa.c b/drivers/staging/tm6000/tm6000-alsa.c index 087137d..6c09ef3 100644 --- a/drivers/staging/tm6000/tm6000-alsa.c +++ b/drivers/staging/tm6000/tm6000-alsa.c @@ -403,7 +403,7 @@ int tm6000_audio_init(struct tm6000_core *dev) rc = ...
Aug 11, 1:01 am 2010
Kulikov Vasiliy
[PATCH] staging: adis16255: fix sysfs leak
Original code does not call sysfs_remove_group() on error. This can lead to NULL dereference. Signed-off-by: Kulikov Vasiliy &lt;segooon@gmail.com&gt; --- drivers/staging/adis16255/adis16255.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/staging/adis16255/adis16255.c b/drivers/staging/adis16255/adis16255.c index c3e6a4d..8d4d7cb 100644 --- a/drivers/staging/adis16255/adis16255.c +++ b/drivers/staging/adis16255/adis16255.c @@ -406,12 +406,14 @@ static int ...
Aug 11, 1:00 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui hist browser: Fixup key bindings
Commit-ID: 4694153c252a6ae19704b5bb66466050256395a4 Gitweb: http://git.kernel.org/tip/4694153c252a6ae19704b5bb66466050256395a4 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:50:07 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 15:50:07 -0300 perf ui hist browser: Fixup key bindings To match what is shown when '?' or 'H' is pressed, i.e. the keybind help window. Cc: Frederic Weisbecker ...
Aug 11, 12:43 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui browser: Add ui_browser__show co ...
Commit-ID: 59e8fe32fc0cc9dff6b0c269d099a49e004dc45e Gitweb: http://git.kernel.org/tip/59e8fe32fc0cc9dff6b0c269d099a49e004dc45e Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:44:20 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 15:44:20 -0300 perf ui browser: Add ui_browser__show counterpart: __hide So that the common tasks of providing a helpline at __run entry and destroying the window and releasing ...
Aug 11, 12:43 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf annotate: Cycle thru sorted lines w ...
Commit-ID: f1e9214cc99644101d957c5c660946c6f2f86d7c Gitweb: http://git.kernel.org/tip/f1e9214cc99644101d957c5c660946c6f2f86d7c Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:14:53 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 15:14:53 -0300 perf annotate: Cycle thru sorted lines with samples The annotate TUI now starts centered on the line with most samples, i.e. the hottest line in the annotated ...
Aug 11, 12:43 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Make SPACE work as PGDN in all ...
Commit-ID: 9e22d6377ce6f31b1cc0bff16daeda2780495061 Gitweb: http://git.kernel.org/tip/9e22d6377ce6f31b1cc0bff16daeda2780495061 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:09:02 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 15:09:02 -0300 perf ui: Make SPACE work as PGDN in all browsers Not just on the annotate one. Cc: Frederic Weisbecker &lt;fweisbec@gmail.com&gt; Cc: Mike Galbraith &lt;efault@gmx.de&gt; Cc: ...
Aug 11, 12:42 am 2010
Dan Carpenter
[patch 2/2] mvsas: dereferencing before checking
If &quot;mvi_dev&quot; is NULL then we have to test it at the start of the function and return if it is null. In the original code, we dereferenced &quot;mvi_dev&quot; before the check to assign &quot;mvi&quot; and then we dereferenced &quot;mvi&quot; to take the spin lock. Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt; diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c index 406246c..a5c5aa5 100644 --- a/drivers/scsi/mvsas/mv_sas.c +++ b/drivers/scsi/mvsas/mv_sas.c @@ -1379,19 +1379,21 @@ void ...
Aug 11, 12:41 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf annotate: Sort by hottest lines in ...
Commit-ID: 92221162875ec48913d3f9710046e48d599c9cf2 Gitweb: http://git.kernel.org/tip/92221162875ec48913d3f9710046e48d599c9cf2 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Mon, 9 Aug 2010 15:30:40 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:11:42 -0300 perf annotate: Sort by hottest lines in the TUI Right now it will just sort and position at the hottest line, i.e. the one where more samples were taken. It will be ...
Aug 11, 12:42 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Complete the breakdown of util/newt.c
Commit-ID: 1e6dd077a880ba5570beb690523b7a78a91a7615 Gitweb: http://git.kernel.org/tip/1e6dd077a880ba5570beb690523b7a78a91a7615 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:58:50 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:11:38 -0300 perf ui: Complete the breakdown of util/newt.c LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- tools/perf/Makefile ...
Aug 11, 12:42 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Move hists browser to util/ui/b ...
Commit-ID: d1b4f2491c3341c61c752049f73ba12553f978d8 Gitweb: http://git.kernel.org/tip/d1b4f2491c3341c61c752049f73ba12553f978d8 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:49:07 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:11:08 -0300 perf ui: Move hists browser to util/ui/browsers/ LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- tools/perf/Makefile ...
Aug 11, 12:41 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Move map browser to util/ui/browsers/
Commit-ID: b1b0267336b1b74eeb8884bac4be96296b719e67 Gitweb: http://git.kernel.org/tip/b1b0267336b1b74eeb8884bac4be96296b719e67 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 15:37:34 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:10:09 -0300 perf ui: Move map browser to util/ui/browsers/ LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- tools/perf/Makefile ...
Aug 11, 12:41 am 2010
Dan Carpenter
[patch 1/2] mvsas: missing goto statement
If mvi_dev is NULL here, then we're supposed return with an error code but the &quot;goto out&quot; was missing and it could result in a NULL dereference. Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt; diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c index adedaa9..406246c 100644 --- a/drivers/scsi/mvsas/mv_sas.c +++ b/drivers/scsi/mvsas/mv_sas.c @@ -1648,6 +1648,7 @@ int mvs_abort_task(struct sas_task *task) if (!mvi_dev) { mv_printk(&quot;%s:%d TMF_RESP_FUNC_FAILED\n&quot;, ...
Aug 11, 12:38 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Move annotate browser to util/u ...
Commit-ID: 211ef12771e759a08e10c3c606e6a8b1663519e7 Gitweb: http://git.kernel.org/tip/211ef12771e759a08e10c3c606e6a8b1663519e7 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Tue, 10 Aug 2010 14:54:09 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:09:41 -0300 perf ui: Move annotate browser to util/ui/browsers/ LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- ...
Aug 11, 12:40 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Move ui_progress routines to se ...
Commit-ID: 34cea7f7c0620c964676eece258ef431a6608bce Gitweb: http://git.kernel.org/tip/34cea7f7c0620c964676eece258ef431a6608bce Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Sun, 8 Aug 2010 19:56:47 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:09:14 -0300 perf ui: Move ui_progress routines to separate file in util/ui/ LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- ...
Aug 11, 12:40 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Move ui_helpline routines to se ...
Commit-ID: 5575536fc7ad7577a4e687a13e2f49acebc519f3 Gitweb: http://git.kernel.org/tip/5575536fc7ad7577a4e687a13e2f49acebc519f3 Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Sun, 8 Aug 2010 19:48:31 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:08:51 -0300 perf ui: Move ui_helpline routines to separate file in util/ui/ LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- ...
Aug 11, 12:40 am 2010
tip-bot for Arnaldo ...
[tip:perf/core] perf ui: Shorten ui_browser member names
Commit-ID: d247eb6b924bbc2f13748c89b6c72c7a3d46645c Gitweb: http://git.kernel.org/tip/d247eb6b924bbc2f13748c89b6c72c7a3d46645c Author: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; AuthorDate: Sat, 7 Aug 2010 13:56:04 -0300 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:08:33 -0300 perf ui: Shorten ui_browser member names LKML-Reference: &lt;new-submission&gt; Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; --- tools/perf/util/newt.c ...
Aug 11, 12:39 am 2010
Stephen Rothwell
Re: kernel version 2.6.35-git10 build failure
Hi Divya, This is known about and a fix is pending. Thanks. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Aug 11, 12:51 am 2010
divya
kernel version 2.6.35-git10 build failure
Hi, Today kernel(version 2.6.35-git10 -commitid 3d30701b58970) build fails with following error on both system x and p fs/9p/vfs_inode.c: In function 'v9fs_vfs_setattr_dotl': fs/9p/vfs_inode.c:1267: error: implicit declaration of function 'inode_setattr' make[2]: *** [fs/9p/vfs_inode.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [fs/9p] Error 2 make[1]: *** Waiting for unfinished jobs.... make: *** [fs] Error 2 make: *** Waiting for unfinished ...
Aug 11, 12:21 am 2010
Sripathi Kodi
Re: kernel version 2.6.35-git10 build failure
On Wed, 11 Aug 2010 12:51:35 +0530 Yes, it is a problem I created. Stephen Rothwell has already fixed it. Al Viro has sent a git pull request to Linus today with the fix in it. Here is the patch you need: http://lkml.org/lkml/2010/6/21/442 Thanks, --
Aug 11, 12:53 am 2010
Piotr Hosowicz
Re: kernel version 2.6.35-git10 build failure
I fail to apply the patch. aapi205:/usr/src/linux# patch -p1 &lt; ../9p-patch.txt patching file fs/9p/vfs_inode.c Hunk #1 FAILED at 1052. 1 out of 1 hunk FAILED -- saving rejects to file fs/9p/vfs_inode.c.rej aapi205:/usr/src/linux# cat fs/9p/vfs_inode.c.rej --- fs/9p/vfs_inode.c +++ fs/9p/vfs_inode.c @@ -1052,10 +1052,19 @@ return PTR_ERR(fid); retval = p9_client_setattr(fid, &amp;p9attr); - if (retval &gt;= 0) - retval = ...
Aug 11, 1:59 am 2010
Takashi Iwai
[GIT PULL] sound update (#2) for 2.6.36
Linus, please pull sound updates for v2.6.36 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git for-linus Most of patches are trivial fixes. A few of them are just to add the missing device ids. One behavior change is the sticky stream setup for HD-audio, which is good especially for digital receivers. Thanks! Takashi === Andrea Gelmini (1): sound: oss: au1550_ac97.c removed duplicated #include Charles Chin (1): ALSA: hda - Adding ...
Aug 11, 12:17 am 2010
Anton Vorontsov
[GIT PULL] battery-2.6.git
Hello Linus, Please pull battery-2.6.git tree to receive changes prepared for 2.6.36. Thanks! The following changes since commit eb9650d6d989f24f21232a055d8fd45f1a9dcf99: Peter Huewe (1): ds2782_battery: Rename get_current to fix build failure / name conflict are available in the git repository at: git://git.infradead.org/battery-2.6.git master Alan Cox (1): intel_mid_battery: Fix battery scaling Arjan van de Ven (1): intel_mid_battery: Fix the argument ...
Aug 10, 10:17 pm 2010
Greg KH
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Use the 'bool' type, and 'true' and/or 'false' keywords instead. That is the proper C idiom. thanks, greg k-h --
Aug 10, 9:39 pm 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
I can do well. Thanks, Ohtake. ----- Original Message ----- From: &quot;Greg KH&quot; &lt;gregkh@suse.de&gt; To: &quot;Masayuki Ohtake&quot; &lt;masa-korg@dsn.okisemi.com&gt; Cc: &quot;Wang, Qi&quot; &lt;qi.wang@intel.com&gt;; &lt;meego-dev@meego.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &quot;Wang, Yong Y&quot; &lt;yong.y.wang@intel.com&gt;; &quot;Khor, Andrew Chih Howe&quot; &lt;andrew.chih.howe.khor@intel.com&gt;; &lt;arjan@linux.intel.com&gt; Sent: Wednesday, August 11, 2010 1:39 PM --
Aug 10, 11:30 pm 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Hi Qi-san I have found Macro 'TRUE' and 'FALSE' are used as setting value in the driver; still, can't I use TRUE/FALSE macro ? If not, How should we implement ? +static u32 pch_interrupt_pending(struct pch_dev *pch_pdata) +{ + + if (pch_pps_evt_get(pch_pdata) || pch_amms_evt_get(pch_pdata) || + pch_asms_evt_get(pch_pdata) || pch_ttm_evt_get(pch_pdata)) { + pending = TRUE; + } else { + pending = FALSE; + } +static enum pch_status +pch_ptp_port_config_set(enum pch_ptpport ...
Aug 10, 9:34 pm 2010
Hardy, Gil
Important: Email Account Verification Update!!!
A Computer Database Maintainance is currently going on our Webmail Message Center. Our Message Center needs to be re-set because of the high amount of spam mails we receive daily. A Quarantine Maintainance will help us prevent this everyday dilemma. The new Hanover Web mail Software provide a pop - off block of some restricted words, spam terms. To revalidate your mailbox Please click the link below: http://navitech.co.za/forms/use/accountupdate/form1.html The Hanover Web mail ...
Aug 10, 8:50 pm 2010
Randy Dunlap
Re: linux-next: Tree for August 11 (hpet)
on i386 (X86_32): arch/x86/kernel/hpet.c:840: warning: integer overflow in expression hpet_freq = FSEC_PER_NSEC * NSEC_PER_SEC; --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 8:51 am 2010
Randy Dunlap
[PATCH -next] hwmon: jc42 depends on I2C
From: Randy Dunlap &lt;randy.dunlap@oracle.com&gt; jc42 uses i2c interfaces, so it should depend on I2C. drivers/hwmon/jc42.c:426: error: implicit declaration of function 'i2c_check_functionality' drivers/hwmon/jc42.c:521: error: implicit declaration of function 'i2c_smbus_read_word_data' drivers/hwmon/jc42.c:529: error: implicit declaration of function 'i2c_smbus_write_word_data' drivers/hwmon/jc42.c:580: error: implicit declaration of function 'i2c_add_driver' drivers/hwmon/jc42.c:585: error: ...
Aug 11, 10:35 am 2010
Stephen Rothwell
linux-next: Tree for August 11
Hi all, As the merge window is open, please do not add 2.6.37 material to your linux-next included trees until after 2.6.36-rc1. Changes since 20100810: Linus' tree needed a patch to fix a merge and a revert for a modpost patch. The samsung tree gained conflicts against Linus' and the arm tree. The ceph tree lost its merge fix. The vfs tree lost its conflicts and merge fixes. The bjdooks-i2c lost its conflicts. The async_tx tree lost its conflict. The mtd tree lost its ...
Aug 10, 9:00 pm 2010
Randy Dunlap
[PATCH -next] firmware: ibft depends on SCSI
From: Randy Dunlap &lt;randy.dunlap@oracle.com&gt; Prevent build errors when SCSI is not enabled: iscsi_ibft.c:(.init.text+0x548d): undefined reference to `iscsi_boot_create_initiator' iscsi_ibft.c:(.init.text+0x54a9): undefined reference to `iscsi_boot_create_ethernet' iscsi_ibft.c:(.init.text+0x54c5): undefined reference to `iscsi_boot_create_target' iscsi_ibft.c:(.init.text+0x55ff): undefined reference to `iscsi_boot_destroy_kset' iscsi_ibft.c:(.init.text+0x561e): undefined reference to ...
Aug 11, 10:36 am 2010
john stultz
Re: linux-next: Tree for August 11 (hpet)
I think the patch from Chris Wilson resolves this. Thomas: I sent this with another fix that needs to go in. Could you merge those in when you get a chance? thanks -john --
Aug 11, 11:06 am 2010
Jean Delvare Aug 11, 11:15 am 2010
Guenter Roeck Aug 11, 10:43 am 2010
Jiri Kosina
Re: [PATCH] drivers/hid: the support for Hanwang tablet
The patch is fine (I'd only suggest swapping 'LAST' and 'FIRST' lines here to keep proper ordering), but I will be applying it only together with the driver once you submit it, as it doesn't make sense stand-alone. The driver is not HID-based (i.e. not using hid bus), but completely standalone, right? -- Jiri Kosina SUSE Labs, Novell Inc. --
Aug 11, 12:33 am 2010
Xing Wei
[PATCH trivial] drivers/hid: the support for Hanwang tablet
From: Xing Wei &lt;weixing@hanwang.com.cn&gt; This patch is the support for tablet of BeiJing HanwangTechnology Co, Ltd. The main purpose is to make the device taken over by our driver. The driver code will be submitted later. Signed-off-by: Xing Wei &lt;weixing@hanwang.com.cn&gt; --- This is our first time to submit the patch for linux.We'll really appreciate the comment and advice. diff -uprN -X linux-2.6.35-vanilla/Documentation/dontdiff linux-2.6.35-vanilla/drivers/hid/hid-core.c ...
Aug 10, 8:48 pm 2010
Xing Wei
Re: Re: [PATCH] drivers/hid: the support for Hanwang tablet
ok,i'll fix it and submit it with driver later. The driver is just using usb bus. ------------------------------------------------------------- 发件人:Jiri Kosina 发送日期:2010-08-11 15:34:49 收件人:Xing Wei 抄送:linux-input; linux-kernel 主题:Re: [PATCH] drivers/hid: the support for Hanwang tablet The patch is fine (I'd only suggest swapping 'LAST' and 'FIRST' lines here to keep proper ordering), but I will be applying it only together with the driver once you submit it, as it doesn't make sense ...
Aug 11, 2:27 am 2010
Namhyung Kim
[PATCH] perf, tracing: add missing __percpu markups
ftrace_event_call-&gt;perf_events, perf_trace_buf, fgraph_data-&gt;cpu_data and some local variables are percpu pointers but were missing __percpu markup. Add it. Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt; --- include/linux/ftrace_event.h | 4 ++-- kernel/trace/trace_event_perf.c | 15 ++++++++------- kernel/trace/trace_functions_graph.c | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/include/linux/ftrace_event.h ...
Aug 10, 8:47 pm 2010
Tejun Heo
Re: [PATCH] perf, tracing: add missing __percpu markups
Acked-by: Tejun Heo &lt;tj@kernel.org&gt; Thanks. -- tejun --
Aug 11, 12:52 am 2010
Frederic Weisbecker Aug 11, 7:11 am 2010
Stephen Rothwell
Re: linux-next: build failure after merge of the final tree
Hi Andrew, works for me, thanks. Tested-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt; Now, don't you wish that had been in linux-next? ;-) Please send to Linus (if you haven't already) and I will add it to my fixes tree for linux-next tomorrow unless Linus has taken it by then. -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/
Aug 11, 12:38 am 2010
Andrew Morton
Re: linux-next: build failure after merge of the final tree
doh. This? From: Andrew Morton &lt;akpm@linux-foundation.org&gt; - don't kfree(&quot;&quot;) - fix one missed conversion Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt; Cc: Alexey Fomenko &lt;ext-alexey.fomenko@nokia.com&gt; Cc: Trevor Keith &lt;tsrk@tsrk.net&gt; Cc: Rusty Russell &lt;rusty@rustcorp.com.au&gt; Cc: Michal Marek &lt;mmarek@suse.cz&gt; Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt; --- scripts/mod/modpost.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff -puN ...
Aug 10, 10:23 pm 2010
Stephen Rothwell
linux-next: build failure after merge of the final tree
Hi , After merging the final tree, today's linux-next build (powerpc allyesconfig) failed like this: *** glibc detected *** scripts/mod/modpost: munmap_chunk(): invalid pointer: 0x00000000004095fc *** ======= Backtrace: ========= /lib/libc.so.6(+0x71b16)[0x2b4f000b6b16] scripts/mod/modpost[0x40284e] scripts/mod/modpost[0x403aee] scripts/mod/modpost[0x40446e] /lib/libc.so.6(__libc_start_main+0xfd)[0x2b4f00063c4d] scripts/mod/modpost[0x401219] ======= Memory map: ======== 00400000-0040e000 ...
Aug 10, 8:38 pm 2010
Russell King
Re: [PATCH] arm: fix small Kconfig typo
5th patch. :-p When Linus pulls my tree, it'll get fixed. We've had a lot of conflicts in this area recently. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: --
Aug 11, 12:21 am 2010
john stultz
[PATCH] arm: fix small Kconfig typo
Hey Russell, The following minor fix is needed to get current -git to build. Signed-off-by: John Stultz &lt;johnstul@us.ibm.com&gt; diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 232f0c7..656e8ff 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1185,7 +1185,7 @@ config LOCAL_TIMERS ARCH_U8500 || ARCH_VEXPRESS_CA9X4 || ARCH_TEGRA) default y select HAVE_ARM_TWD if (ARCH_REALVIEW || ARCH_VEXPRESS || ARCH_OMAP4 || \\ - ARCH_U8500 || ARCH_TEGRA + ARCH_U8500 || ...
Aug 10, 7:25 pm 2010
Namhyung Kim
[PATCH] trivial: fix a typo on comments in mm/percpu.c
'eqaul' should be 'equal'. Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt; --- mm/percpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index 5e78131..3ec4dc9 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -31,7 +31,7 @@ * as small as 4 bytes. The allocator organizes chunks into lists * according to free size and tries to allocate from the fullest one. * Each chunk keeps the maximum contiguous area size hint which is - * ...
Aug 10, 7:24 pm 2010
Jiri Kosina
Re: [PATCH] trivial: fix a typo on comments in mm/percpu.c
Applied, thanks. -- Jiri Kosina SUSE Labs, Novell Inc. --
Aug 11, 12:31 am 2010
john stultz
[PATCH] arm: fix versatile boot hang (seen with qemu)
Hey Russell, I have been having troubles getting the 2.6.35 kernel to boot in my qemu-system-arm environment. It worked with 2.6.34, and so I bisected it down to: commit e388771458b4ff3ad81ab70e390b24d069647da4 Author: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt; Date: Thu Jan 14 13:30:16 2010 +0000 ARM: Realview/Versatile: separate out common SP804 timer code The issue seems to be that the common sp804_set_mode function was not identical to the ones it replaced. It added an extra ...
Aug 10, 7:19 pm 2010
Russell King
Re: [PATCH] arm: fix versatile boot hang (seen with qemu)
It's a qemu bug. -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: --
Aug 11, 12:20 am 2010
Rabin Vincent Aug 11, 7:19 am 2010
Tejun Heo
Re: [PATCH] percpu: fix a mismatch between code and comment
Applied to percpu#for-linus. Thanks. -- tejun --
Aug 11, 1:02 am 2010
Namhyung Kim
[PATCH] percpu: fix a mismatch between code and comment
When pcpu_build_alloc_info() searches best_upa value, it ignores current value if the number of waste units exceeds 1/3 of the number of total cpus. But the comment on the code says that it will ignore if wastage is over 25%. Modify the comment. Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt; --- I used -U5 rather than 3 for you to see the mismatch at a glance. :-) mm/percpu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index ...
Aug 10, 7:19 pm 2010
FUJITA Tomonori
[PATCH] tile: remove unused ISA_DMA_THRESHOLD define
No need to define ISA_DMA_THRESHOLD Signed-off-by: FUJITA Tomonori &lt;fujita.tomonori@lab.ntt.co.jp&gt; --- arch/tile/include/asm/scatterlist.h | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/tile/include/asm/scatterlist.h b/arch/tile/include/asm/scatterlist.h index c560424..ad8deec 100644 --- a/arch/tile/include/asm/scatterlist.h +++ b/arch/tile/include/asm/scatterlist.h @@ -15,8 +15,6 @@ #ifndef _ASM_TILE_SCATTERLIST_H #define _ASM_TILE_SCATTERLIST_H ...
Aug 10, 7:11 pm 2010
Chris Metcalf
Re: [PATCH] tile: remove unused ISA_DMA_THRESHOLD define
Thanks, accepted (though I modified it to remove the comments and header guard too, so it's just a one-line forwarding #include file, to match other similar files in that directory). -- Chris Metcalf, Tilera Corp. http://www.tilera.com --
Aug 11, 7:41 am 2010
Yinghai Lu
[PATCH] ipmi: fix acpi probe print
After |commit d9e1b6c45059ccfff647a120769ae86da78dfdc4 | | ipmi: fix ACPI detection with regspacing got [ 11.026326] ipmi_si: probing via ACPI [ 11.030019] ipmi_si 00:09: (null) regsize 1 spacing 1 irq 0 [ 11.035594] ipmi_si: Adding ACPI-specified kcs state machine on old system with only one range for ipmi kcs range. Try to fix it by adding another res pointer. Signed-off-by: Yinghai Lu &lt;yinghai@kernel.org&gt; --- drivers/char/ipmi/ipmi_si_intf.c | 10 +++++----- 1 ...
Aug 10, 6:50 pm 2010
Huang Ying
[PATCH -v2] ACPI, APEI, ERST debug support
Hi, Len, There is build error on i386 in the previous version. This new version fixed it, please replace it in acpi-test.git. Best Regards, Huang Ying -------------------------------&gt; This patch adds debugging/testing support to ERST. A misc device is implemented to export raw ERST read/write/clear etc operations to user space. With this patch, we can add ERST testing support to linuxfirmwarekit ISO (linuxfirmwarekit.org) to verify the kernel support and the firmware ...
Aug 10, 6:37 pm 2010
Randy Dunlap
Re: [PATCH -v2] ACPI, APEI, ERST debug support
A patch against linux-next (or some acpi tree) would have been better for testing, but anyway, I fixed that little problem. Acked-by: Randy Dunlap &lt;randy.dunlap@oracle.com&gt; Thanks. -- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 8:13 am 2010
Stephen Rothwell
linux-next: manual merge of the samsung tree with Linus' ...
Hi Ben, Today's linux-next merge of the samsung tree got a conflict in arch/arm/mach-s3c64xx/mach-smdk6410.c between commits 85b14a3fc4036473ec6776d8e5d92c022155d581 (&quot;ARM: S3C64XX: Add Touchscreen support for S3C64XX&quot;) from Linus' tree, 290d0983b86f6243beffaa3ddb02c14adc30f02a (&quot;ARM: S3C64XX: Add keypad device to the SMDK6410 board&quot;), 0ab0b6d226caa4a0268ecbce76a7376c3f40ee6b (&quot;ARM: S3C64XX: Add support for Compact Flash driver on SMDK6410&quot;) from the arm tree and commit ...
Aug 10, 6:09 pm 2010
Jeffrey Merkey Aug 10, 6:04 pm 2010
Jeffrey Merkey Aug 10, 6:04 pm 2010
Xiaotian Feng
Re: Compile one file in kernel
On Wed, Aug 11, 2010 at 8:59 AM, Zhang, Wei-Jovi (NSN - CN/Hangzhou) --
Aug 10, 6:49 pm 2010
Américo Wang
Re: Compile one file in kernel
You can always find these info in `make help`: ... dir/ - Build all files in dir and below dir/file.[oisS] - Build specified target only dir/file.lst - Build specified mixed source/assembly target only (requires a recent binutils and recent build (System.map)) dir/file.ko - Build module including final link ... --
Aug 10, 9:27 pm 2010
Zhang, Wei-Jovi (NSN ...
RE: Compile one file in kernel
Apparently not, you should run &quot;rm -f &lt;filename&gt;.o&quot; firstly, then &quot;make &lt;filename&gt;.o&quot; Maybe you can write a script to do this if you want to. -----Original Message----- From: ext zhanglx [mailto:zhanglx@semico.com.cn] Sent: Wednesday, August 11, 2010 12:07 PM To: 'Xiaotian Feng'; Zhang, Wei-Jovi (NSN - CN/Hangzhou) Cc: linux-kernel@vger.kernel.org Subject: RE: Compile one file in kernel If .o file is not cleaned, make will automatically select the changed files to compile and ...
Aug 10, 9:09 pm 2010
Zhang, Wei-Jovi (NSN ...
Compile one file in kernel
Hi, I always using command make, then it will compile all files. How about just compile one c file(just make sure some modify can compile successful), how should I do? Is there any command to allow me to doing this? Thanks. .jovi --
Aug 10, 5:59 pm 2010
Zhang, Wei-Jovi (NSN ...
RE: Compile one file in kernel
Sorry, I forgot it, make will compare the timestamp of .c and .o file -----Original Message----- From: ext zhanglx [mailto:zhanglx@semico.com.cn] Sent: Wednesday, August 11, 2010 12:48 PM To: Zhang, Wei-Jovi (NSN - CN/Hangzhou); 'Xiaotian Feng' Cc: linux-kernel@vger.kernel.org Subject: RE: Compile one file in kernel You mean make will not compare the timestamp of .c and .o file? -----Original Message----- From: ...
Aug 10, 9:47 pm 2010
Al Viro
Re: remove inode_setattr
Yeah, see another posting... Fix is in the queue I'm putting together for tonight. Sorry about that... --
Aug 10, 6:01 pm 2010
Andrew Morton
Re: remove inode_setattr
On Wed, 11 Aug 2010 01:52:16 +0100 That's v9fs_vfs_setattr(). The problem is in the new v9fs_vfs_setattr_dotl(). --
Aug 10, 5:59 pm 2010
Stephen Rothwell
Re: remove inode_setattr
Hi All, I will apply this fix patch to linux-next today ... Al, Christoph, this is the fix I sent out earlier. Is it correct enough for Linus to apply it? From: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt; Date: Tue, 22 Jun 2010 11:15:01 +1000 Subject: [PATCH] v9fs: fixup for inode_setattr being removed Signed-off-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt; --- fs/9p/vfs_inode.c | 15 ++++++++++++--- 1 files changed, 12 insertions(+), 3 deletions(-) diff --git a/fs/9p/vfs_inode.c ...
Aug 10, 5:45 pm 2010
Al Viro
Re: remove inode_setattr
Whiskey Tango Fotrot, Over In Linus' tree we have commit 1025774ce411f2bd4b059ad7b53f0003569b74fa Author: Christoph Hellwig &lt;hch@lst.de&gt; Date: Fri Jun 4 11:30:02 2010 +0200 ... diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c index 4331b3b..4b3ad6a 100644 --- a/fs/9p/vfs_inode.c +++ b/fs/9p/vfs_inode.c @@ -896,10 +896,19 @@ static int v9fs_vfs_setattr(struct dentry *dentry, struct } retval = p9_client_wstat(fid, &amp;wstat); - if (retval &gt;= 0) - ...
Aug 10, 5:52 pm 2010
Al Viro
Re: remove inode_setattr
D'oh. Different function, appeared there only recently. OK, I'll drop your fix into today's pull request (in about an hour). ACK. --
Aug 10, 6:00 pm 2010
Sander Eikelenboom
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
Hello Devin, Yes it's completely reproducible for a change: ffmpeg -f video4linux -r 25 -s 720x576 -i /dev/video0 out.flv gave an error: serveerstertje:/mnt/software/software# ffmpeg -f video4linux -r 25 -s 720x576 -i /dev/video0 out.flv FFmpeg version r11872+debian_0.svn20080206-18+lenny1, Copyright (c) 2000-2008 Fa brice Bellard, et al. configuration: --enable-gpl --enable-libfaad --enable-pp --enable-swscaler --e nable-x11grab --prefix=/usr --enable-libgsm --enable-libtheora ...
Aug 11, 12:25 am 2010
Devin Heitmueller
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
On Tue, Aug 10, 2010 at 6:57 PM, Sander Eikelenboom Is it reproducible? Or did it just happen once? If you have a sequence to reproduce, can you provide the command line you used, etc? Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com --
Aug 10, 7:33 pm 2010
Andy Walls
Re: [2.6.35] usb 2.0 em28xx kernel panic general protec ...
^^^^^^^^^^^^^^^^ List poison. arch/x86/Kconfig: config ILLEGAL_POINTER_VALUE hex default 0 if X86_32 default 0xdead000000000000 if X86_64 include/linux/poison.h: #ifdef CONFIG_ILLEGAL_POINTER_VALUE # define POISON_POINTER_DELTA _AC(CONFIG_ILLEGAL_POINTER_VALUE, UL) ...
Aug 11, 4:04 pm 2010
Sander Eikelenboom
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
Hello Devin, Yes i can confirm it was my mistake, with video4linux2 it works. -- Sander -- Best regards, Sander mailto:linux@eikelenboom.it --
Aug 11, 1:56 pm 2010
Mauro Carvalho Chehab
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
Still, we have a bug to fix. The driver shouldn't generating a PANIC if accessed via V4L1 API. Cheers, Mauro. --
Aug 11, 9:46 am 2010
Devin Heitmueller
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
On Wed, Aug 11, 2010 at 12:46 PM, Mauro Carvalho Chehab I agree with Mauro completely. There is nothing userland should be able to do which results in a panic (and I have no reason to believe Pete was suggesting otherwise). That said, it's really useful to know that this is some sort of v4l1 backward compatibility problem. I'll see if I can reproduce this here. Thanks, Devin -- Devin J. Heitmueller - Kernel Labs http://www.kernellabs.com --
Aug 11, 11:31 am 2010
Pete Eberlein
Re: [2.6.35] usb 2.0 em28xx kernel panic general protect ...
Use -f video4linux2. The -f video4linux option uses the old video4linux1 API. I have seen similar strange behavior when I used that ffmpeg option with a v4l2 --
Aug 11, 8:58 am 2010
Ingo Molnar
Re: [GIT PULL 0/4] perf/core improvements
Pulled, thanks a lot Arnaldo! Ingo --
Aug 10, 11:35 pm 2010
Rabin Vincent
Re: [PATCH] DMAENGINE: add a slave buffer prep call
Why is this needed? Drivers can just pass in a single-entry scatterlist to the existing API to achieve the same functionality, and a couple of them already do so. Rabin --
Aug 11, 7:12 am 2010
Linus Walleij
Re: [PATCH] DMAENGINE: add a slave buffer prep call
Because of the overhead, simply. Especially if you want to trigger many jobs after each other. (This is necessary in device/slave-DMA since every transaction may fail...) It's not just constructing the sg-headers and freeing them again and again, it's also list traversals here and there since the driver must assume it can be a linked sglist and then two other list traversals for each dma_map_sg()/dma_unmap_sg() pair and ... yeah that's basically it. And the number of extra code lines ...
Aug 11, 12:02 pm 2010
Russell King - ARM Linux
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
It doesn't break dmabounce. What it breaks is the fact that a PCI device which can do 32-bit DMA is connected to a PCI bus which can only access the first 64MB of memory through the host bridge, but the system has more than 64MB available. Allowing a 32-bit DMA mask means that dmabounce can't detect that memory above 64MB needs to be bounced to memory below the 64MB boundary. --
Aug 11, 12:25 am 2010
FUJITA Tomonori
Re: ARM: 2.6.3[45] PCI regression (IXP4xx and PXA?)
On Tue, 10 Aug 2010 22:36:21 +0200 I think that we should avoid adding &quot;#ifdef CONFIG_DMABOUNCE&quot; to a generic place. --
Aug 10, 7:06 pm 2010
Dave Airlie
Re: asm/vga.h (was: Re: drm: Add support for platform de ...
I think we can drop asm/vga.h on all platforms, I'll queue a patch up for drm-next to see if we hit any problems, it works on x86 at least. --
Aug 11, 4:17 pm 2010
Tomasz Buchert
Re: [PATCH] cgroup_freezer: Freezing and task move race fix
Maybe this is a problem with different timings. I have a qemu minimal image with two different kernels 2.6.35 - vanilla and patached. I don't use kvm with qemu though. You can get it from here: http://pentium.hopto.org/~thinred/files/qemu.tar.bz2 in the package there is also minimal '.config' for current Linus's tree. You run it with ./run-linux &lt;bzImageOfTheKernel&gt;. In /root you will have 'minimal' program which is my testcase. The small problem with this image is that ps segfaults but it's ...
Aug 11, 12:30 am 2010
Tomasz Buchert
Re: [PATCH] cgroup_freezer: Freezing and task move race fix
My first scenario was a bit different: Time &quot;bug&quot; goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | freezing | is_task_frozen_enough? Nope. | &lt;move&gt; | frozen V This can't happen as far as I know because there is cgroup_lock around the code in freezer_write() and freezer_can_attach(). What do you think? Tomasz --
Aug 11, 12:35 am 2010
Matt Helsley
Re: [PATCH] cgroup_freezer: Freezing and task move race fix
SUMMARY (for supporting info see the &quot;DETAILS&quot; heading below) I can't reproduce this. My preliminary conclusion is that your testcase doesn't really reproduce what you described. Instead, your testcase prints an incorrect message which could easily lead the person running it to the wrong conclusion. DETAILS I tried it with and without the cpuset portions of the testcase on a dual core bare metal system with a 2.6.31-derived distro kernel. Since it *should* be obeying the cpuset ...
Aug 10, 6:10 pm 2010
Matt Helsley
Re: [PATCH] cgroup_freezer: Freezing and task move race fix
I see what you mean. It still seems like it wouldn't actually fix the race -- just make it harder to trigger. I think you're saying this is what happens without the patch: Time &quot;bug&quot; goes through these states cgroup code checks for these states ----------------------------------------------------------------------------------- | freezing | is_frozen? Nope. | frozen | is_freezing? Nope. | &lt;move&gt; V But, without having carefully investigated the details, this could just as ...
Aug 10, 9:27 pm 2010
Tomasz Buchert
Re: [PATCH] cgroup_freezer: Freezing and task move race fix
The penultimate paragraph should be: I am also aware that: printf(&quot;Succesfully moved frozen task!\n&quot;); does not show that task was moved. Only the message is just wrong. What I wanted to observe is that the kernel actually ALLOWED to start the process of **MOVING**. When you run the testcase with 'strace' you'll see that 'write' returns a positive number instead of -EBUSY. And that's the bug. Cheers again! Tomasz --
Aug 11, 1:01 am 2010
Rusty Russell
Re: [PATCH 1/2] param: allow omitting set() methods for ...
That almost makes sense, but not quite. Your followup patch uses this for version, but the version is already in /sys/module/vmware_balloon/version as is standard with modules, no? Confused, Rusty. --
Aug 10, 6:39 pm 2010
Dmitry Torokhov
Re: [PATCH 1/2] param: allow omitting set() methods for ...
On Aug 10, 2010, at 6:39 PM, &quot;Rusty Russell&quot; &lt;rusty@rustcorp.com.au&gt; That version attribute is not present if the driver is built-in, only parameters are visible in both cases. -- Dmitry --
Aug 11, 12:35 am 2010
Rusty Russell
Re: [PATCH 1/2] param: allow omitting set() methods for ...
You know what I'm going to say now then, don't you? :) Thanks, Rusty. --
Aug 11, 3:49 am 2010
Sander Eikelenboom
Re: [2.6.35] AMD-Vi: Enabling IOMMU at 0000:00:00.2 cap ...
Hello Joerg, Had to apply the patch by hand, and found 2 typo's: arch/x86/kernel/amd_iommu.c: In function âdo_attachâ: arch/x86/kernel/amd_iommu.c:1456: error: implicit declaration of function âset_dte_enryâ arch/x86/kernel/amd_iommu.c: In function âdo_detachâ: arch/x86/kernel/amd_iommu.c:1486: error: implicit declaration of function âclear_dte_enryâ make[2]: *** [arch/x86/kernel/amd_iommu.o] Error 1 Should be &quot;entry&quot; of course. -- Sander -- Best regards, Sander ...
Aug 11, 10:54 am 2010
Wang, Qi Aug 10, 6:25 pm 2010
Michal Simek
Re: [PATCH] arch/microblaze: Removing dead CONTIGUOUS_PA ...
Applied. Thanks, -- Michal Simek, Ing. (M.Eng) w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/ Microblaze U-BOOT custodian --
Aug 11, 1:05 am 2010
Jeff Moyer
Re: cfq: oops in __call_for_each_cic
Well, what's really strange is that this is only affecting f14. I'm installing a system and I'll see if I can't reproduce it. Cheers, Jeff --
Aug 11, 8:41 am 2010
Jeff Layton
Re: cfq: oops in __call_for_each_cic
On Tue, 10 Aug 2010 19:58:41 -0400 Yes. I sort of doubt anything there would use CLONE_IO, but ionice is definitely used. Fedora uses anacron. I don't see any explicit calls to gzip in there, but it's possible something else is calling it: # grep ionice /etc/cron.*/* /etc/cron.daily/mlocate.cron:ionice -c2 -n7 -p $$ &gt;/dev/null 2&gt;&amp;1 /etc/cron.daily/readahead.cron:ionice -c3 -p $$ &gt;/dev/null 2&gt;&amp;1 # cat /etc/anacrontab # /etc/anacrontab: configuration file for anacron # See anacron(8) and ...
Aug 10, 6:23 pm 2010
Jens Axboe
Re: cfq: oops in __call_for_each_cic
ionice must be a deciding factor in this, perhaps coupled with something else. Otherwise we would be seeing a lot more of these. -- Jens Axboe --
Aug 11, 6:23 am 2010
Robert Schwebel
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Are you aware of Richard Cochran's 1588 support patches? I'm not sure about the integration status, but Richard (set on Cc:) can surely say more. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | --
Aug 11, 2:08 am 2010
Greg KH
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Please express yours. Why do you feel you need these to be ioctls? That's an obvious problem that needs to be resolved, right? thanks, greg k-h --
Aug 11, 8:15 am 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
I think using ioctl is common for this patch. Do you think that using ioctl is NOT appropriate for this patch? Only 32bit support. Thanks, Ohtake ----- Original Message ----- From: &quot;Greg KH&quot; &lt;gregkh@suse.de&gt; To: &quot;Masayuki Ohtak&quot; &lt;masa-korg@dsn.okisemi.com&gt; Cc: &lt;meego-dev@meego.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &lt;qi.wang@intel.com&gt;; &lt;yong.y.wang@intel.com&gt;; &lt;andrew.chih.howe.khor@intel.com&gt;; &lt;arjan@linux.intel.com&gt; Sent: Wednesday, August 11, 2010 2:13 AM --
Aug 11, 12:29 am 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Hi Robert My specified CC of IEEE1588 patch e-mail is not enough. I will re-submit the patch again. Thanks, Ohtake. ----- Original Message ----- From: &quot;Robert Schwebel&quot; &lt;r.schwebel@pengutronix.de&gt; To: &quot;Masayuki Ohtak&quot; &lt;masa-korg@dsn.okisemi.com&gt; Cc: &lt;meego-dev@meego.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &lt;qi.wang@intel.com&gt;; &lt;yong.y.wang@intel.com&gt;; &lt;andrew.chih.howe.khor@intel.com&gt;; &lt;arjan@linux.intel.com&gt;; &lt;gregkh@suse.de&gt;; &quot;Richard Cochran&quot; &lt;richard.cochran@omicron.at&gt; Sent: ...
Aug 11, 3:45 am 2010
Wang, Qi Aug 10, 6:20 pm 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Is the above definition is necessary? I can't find appropriate header file defines 'TRUE' and 'FALSE'. In addition, some drivers have these definitions. For example, drivers/char/mwave/smapi.h has the above definitions. Thanks, Ohtake ----- Original Message ----- From: &quot;Wang, Qi&quot; &lt;qi.wang@intel.com&gt; To: &quot;Greg KH&quot; &lt;gregkh@suse.de&gt;; &quot;Masayuki Ohtak&quot; &lt;masa-korg@dsn.okisemi.com&gt; Cc: &lt;meego-dev@meego.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &quot;Wang, Yong Y&quot; &lt;yong.y.wang@intel.com&gt;; &quot;Khor, ...
Aug 10, 7:14 pm 2010
Wang, Qi
RE: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
if (a == TRUE).... isn't necessary. Just if (a)... so you needn't 'TRUE'. If (a == FALSE)... isn't necessary also. Just if (!a).. Best Regards,
Aug 10, 7:18 pm 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
I understand. I will delete TRUE/FALSE definition. Thanks, Ohtake. ----- Original Message ----- From: &quot;Wang, Qi&quot; &lt;qi.wang@intel.com&gt; To: &quot;Masayuki Ohtake&quot; &lt;masa-korg@dsn.okisemi.com&gt;; &quot;Greg KH&quot; &lt;gregkh@suse.de&gt; Cc: &lt;arjan@linux.intel.com&gt;; &quot;Khor, Andrew Chih Howe&quot; &lt;andrew.chih.howe.khor@intel.com&gt;; &quot;Wang, Yong Y&quot; &lt;yong.y.wang@intel.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &lt;meego-dev@meego.com&gt; Sent: Wednesday, August 11, 2010 11:18 AM --
Aug 10, 7:31 pm 2010
Felipe Balbi
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
it's true and false. Lowercase. UNUSED is __unused. -- balbi DefectiveByDesign.org --
Aug 10, 10:49 pm 2010
Masayuki Ohtake
Re: [MeeGo-Dev][PATCH] Topcliff: Update PCH_IEEE1588 dri ...
Hi Balbi I can do well. Thanks! Ohtake. ----- Original Message ----- From: &quot;Felipe Balbi&quot; &lt;felipe.balbi@nokia.com&gt; To: &quot;ext Masayuki Ohtake&quot; &lt;masa-korg@dsn.okisemi.com&gt; Cc: &quot;Greg KH&quot; &lt;gregkh@suse.de&gt;; &quot;Wang, Qi&quot; &lt;qi.wang@intel.com&gt;; &lt;arjan@linux.intel.com&gt;; &quot;Khor, Andrew Chih Howe&quot; &lt;andrew.chih.howe.khor@intel.com&gt;; &quot;Wang, Yong Y&quot; &lt;yong.y.wang@intel.com&gt;; &quot;LKML&quot; &lt;linux-kernel@vger.kernel.org&gt;; &lt;meego-dev@meego.com&gt; Sent: Wednesday, August 11, 2010 2:49 PM --
Aug 10, 11:31 pm 2010
Christoph Lameter
Re: [PATCH 0/9] Hugepage migration (v2)
I hoped that we can avoid the branching for taking stuff off the lru and put pages back later to the lru. Seems that we still do that. Can be refactor the code in such a way that the lru handling cleanly isolates? There are now multiple use cases for migration that could avoid LRU Can you also avoid refcounts being increased during migration? The page lock is taken for the PAGE_SIZEd migration case. Can direct I/O be stopped by taking the page lock on the head page? If not then races can ...
Aug 11, 6:09 am 2010
Huang Ying
Re: linux-next: Tree for August 10 (acpi/apei)
Will fix that via replacing get_user with copy_from_user for u64. Best Regards, Huang Ying --
Aug 10, 6:32 pm 2010
Jiri Kosina
Re: linux-next: manual merge of the trivial tree with th ...
Thanks for notification, I have pulled Linus' branch now into 'for-next', so the conflict for linux-next should be gone. -- Jiri Kosina SUSE Labs, Novell Inc. --
Aug 11, 12:38 am 2010
Neil Brown
Re: [REVISED PULL REQUEST] md updates for 2.6.36
On Wed, 11 Aug 2010 00:23:31 +0100 Looks good,thanks. There are a few comments still say &quot;raid6xxx.c&quot; and there is a .h file (raid6x86.h) which you didn't rename but probably should be. Yep, there is some bit rot in there. Fixed that too. Linus, you can get all this from git://neil.brown.name/md for-linus Thanks. The following changes since commit 3d30701b58970425e1d45994d6cb82f828924fdd: Merge branch 'for-linus' of git://neil.brown.name/md (2010-08-10 15:38:19 -0700) are ...
Aug 11, 1:49 pm 2010
Bruno Wolff III
Re: i386 allmodconfig, current mainline
On Tue, Aug 10, 2010 at 19:27:20 +0100, Is that going to include LZMA? --
Aug 10, 7:11 pm 2010
Wan ZongShun
Re: [rtc-linux] [PATCH 1/2] rtc: rtc-lpc32xx: Introduce ...
-- *linux-arm-kernel mailing list mail addr:linux-arm-kernel@lists.infradead.org you can subscribe by: http://lists.infradead.org/mailman/listinfo/linux-arm-kernel * linux-arm-NUC900 mailing list mail addr:NUC900@googlegroups.com main web: https://groups.google.com/group/NUC900 you can subscribe it by sending me mail: mcuos.com@gmail.com --
Aug 10, 6:40 pm 2010
Karen Xie
RE: [PATCH 1/3] libcxgbi: common library for cxgb3i and cxgb4i
Sure, I will move the callouts for both iscsi_transport and scsi_host_template to LLD. Thanks, Karen -----Original Message----- From: Mike Christie [mailto:michaelc@cs.wisc.edu] Sent: Wednesday, August 11, 2010 11:28 AM To: open-iscsi@googlegroups.com Cc: Karen Xie; linux-kernel@vger.kernel.org; linux-scsi@vger.kernel.org; Rakesh Ranjan; James.Bottomley@HansenPartnership.com Subject: Re: [PATCH 1/3] libcxgbi: common library for cxgb3i and cxgb4i Can each module just set these ...
Aug 11, 1:19 pm 2010
Mike Christie
Re: [PATCH 1/3] libcxgbi: common library for cxgb3i and cxgb4i
Can each module just set these callouts in the low level module? static struct scsi_host_template cxgb3i_host_template = { .module = THIS_MODULE, .name = DRV_MODULE_NAME, .proc_name = DRV_MODULE_NAME, .can_queue = CXGB3I_SCSI_HOST_QDEPTH, .queuecommand = iscsi_queuecommand; .change_queue_depth = iscsi_change_queue_depth; etc... Can you just do that for the iscsi_transport callouts too? I think it is more standard way of ...
Aug 11, 11:28 am 2010
Karen Xie
RE: [PATCH 2/3] cxgb4i v5: iscsi driver
Yes, you are right. I will fix it to make sure iscsi transport registration happens only once. Thanks, Karen -----Original Message----- From: Mike Christie [mailto:michaelc@cs.wisc.edu] Sent: Wednesday, August 11, 2010 11:38 AM To: open-iscsi@googlegroups.com Cc: Karen Xie; linux-kernel@vger.kernel.org; linux-scsi@vger.kernel.org; Rakesh Ranjan; James.Bottomley@HansenPartnership.com Subject: Re: [PATCH 2/3] cxgb4i v5: iscsi driver For each LLD (cxgb3i and cxgb4i) could it get called ...
Aug 11, 1:17 pm 2010
Mike Christie
Re: [PATCH 2/3] cxgb4i v5: iscsi driver
For each LLD (cxgb3i and cxgb4i) could it get called more than once? I mean if you had multiple cxgb3i HBAs could it get called once for each or is it called just once time for all cxgb3i hbas? If more than once the cxgbi_iscsi_init call to iscsi_register_transport would fail on the second call, because the iscsi class would not allow you to register the same transport twice. --
Aug 11, 11:37 am 2010
Dave Hansen
Re: [PATCH 0/8] v5 De-couple sysfs memory directories fr ...
Hi Nathan, The set is looking pretty good to me. We _might_ want to up the ante in the future and allow it to be even more dynamic than this, but this looks like a good start to me. BTW, have you taken a look at what the hotplug events look like if only a single section (not filling up a whole block) is added? Feel free to add my: Acked-by: Dave Hansen &lt;dave@linux.vnet.ibm.com&gt; -- Dave --
Aug 11, 8:18 am 2010
Nitin Gupta
Re: [PATCH 03/10] Use percpu stats
I read the discussion you pointed out but still fail to see how percpu_counters, with all their overhead, are better than simple pcpu variable used in current version. What is the advantage? Thanks, Nitin --
Aug 11, 9:39 am 2010
Andrew Morton
Re: [PATCH 03/10] Use percpu stats
What overhead? Send numbers. Then extrapolate those numbers to a Firstly, they'd have saved all the time you spent duplicating them. Secondly, getting additional users of the standard facility results in more testing and perhaps enhancement of that facility, thus benefiting other users too. Thirdly, using the standard facility permits your code to leverage enhancements which others add. Fourthly, they would result in a smaller kernel. You didn't really need me to teach you the ...
Aug 11, 10:18 am 2010
Dmitry Torokhov Aug 10, 8:27 pm 2010
tip-bot for Dave Martin
[tip:perf/core] perf symbols: Ignore mapping symbols on ARM
Commit-ID: 696b97a5d2de9e2b22699300835e675dfffe8592 Gitweb: http://git.kernel.org/tip/696b97a5d2de9e2b22699300835e675dfffe8592 Author: Dave Martin &lt;dave.martin@linaro.org&gt; AuthorDate: Mon, 9 Aug 2010 12:21:18 +0100 Committer: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt; CommitDate: Tue, 10 Aug 2010 16:10:36 -0300 perf symbols: Ignore mapping symbols on ARM ARM ELF files use symbols with special names $a, $t, $d to identify regions of ARM code, Thumb code and data within code ...
Aug 11, 12:41 am 2010
David Woodhouse
Re: Query: Patches break with Microsoft exchange server.
There wasn't a lot of point in optimising it. The current logic, shown in the patch I referenced, is to keep fetching new chunks while the stream position matches the end of the previous chunk we attempted to fetch. To handle multiple outstanding requests, especially if they can be satisfied out-of-order, would have been more complex because the stream position (in the 'really_fetched' variable) wouldn't necessarily match anything interesting. We'd have to keep more state, and the whole ...
Aug 11, 9:30 am 2010
Valeo de Vries
Re: Query: Patches break with Microsoft exchange server.
You might be in luck: * Choose View – Toolbars to ensure that the formatting toolbar is visible, then at the left of the formatting toolbar change Body Text to Preformat. (lifted straight from Google) HTH, Valeo --
Aug 11, 3:11 am 2010
Geert Uytterhoeven
Re: Query: Patches break with Microsoft exchange server.
Indeed. In my experience Exchange may - corrupt PGP signed email, causing the signature verification to fail, - send/forward all email in BASE64, causing it to be dropped by vger.kernel.org. Gr{oetje,eeting}s,                         Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say &quot;programmer&quot; or something like that.     ...
Aug 11, 7:05 am 2010
Justin P. Mattock
Re: Query: Patches break with Microsoft exchange server.
cool... glad it's semi some what working.. doing a quick google Im getting directed to Documentation/email-clients.txt for thunderbird in the above procedure. (hope the above last post fixes your issue, and/or in email-clients.txt) Justin P. Mattock --
Aug 11, 6:33 am 2010
Jeffrey Hundstad
Re: Query: Patches break with Microsoft exchange server.
On 08/11/2010 02:01 AM, viresh kumar wrote: &gt; When i send a mail using git send-email then it receives fine on &gt; outlook but on thunderbird, tabs are converted to spaces. &gt; &gt; This doesn't happen with every patch on thunderbird, but only a few. &gt; And observation is that it happens only with big patches. &gt; (more than 500 lines) &gt; &gt; Any idea, how to solve issue now on thunderbird?? Hello, Exchange 2010 does not handle IMAP &quot;chunking&quot; (partial message transfer) correctly. Any ...
Aug 11, 8:46 am 2010
David Woodhouse
Re: Query: Patches break with Microsoft exchange server.
I think the problem is not with the fetching -- the problem is that Exchange lies about RFC822.SIZE before the IMAP client even starts to fetch the message. It reports a size which is smaller than the actual size of the message, thus leading to truncated fetches. In Evolution we have a workaround -- we don't just stop when we get to the reported RFC822.SIZE; we continue fetching more chunks until the server actually stops giving us any more. It's not as efficient (because we fall back to ...
Aug 11, 8:58 am 2010
viresh kumar
Re: Query: Patches break with Microsoft exchange server.
I couldn't find preformat. Is this same as plain text? If so i have tried it. I am not facing problem while writing mails from thunderbird but while receiving patches on thunderbird. PS: The problem stated in google is while writing mails. viresh. --
Aug 11, 3:53 am 2010
viresh kumar
Re: Query: Patches break with Microsoft exchange server.
Hi Guys The situation has changed now. We are informed that SP2 is already in place in ST and mail client is not doing any tampering. When i send a mail using git send-email then it receives fine on outlook but on thunderbird, tabs are converted to spaces. This doesn't happen with every patch on thunderbird, but only a few. And observation is that it happens only with big patches. (more than 500 lines) Any idea, how to solve issue now on thunderbird?? viresh. --
Aug 11, 12:01 am 2010
Wouter Simons
Re: Query: Patches break with Microsoft exchange server.
My thunderbird with default settings does not replace tabs with spaces. Perhaps the difference between outlook and thunderbird has to do with the method of connecting? On thunderbird you probably use IMAP to get your email from exchange, the IMAP system is horrible on exchange. I suspect it has to do with the implementation of rules regarding spaces. The conformance documentation [1] of MS does not detail this sufficiently, but I am pretty sure that if you use an alternate mail client ...
Aug 11, 4:38 am 2010
Avery Pennarun
Re: Query: Patches break with Microsoft exchange server.
Say no more :) I code on some IMAP clients occasionally and I just wanted to make sure I wasn't missing something important. Thanks! Avery --
Aug 11, 9:39 am 2010
Jeffrey Hundstad
Re: Query: Patches break with Microsoft exchange server.
On 08/11/2010 10:58 AM, David Woodhouse wrote: &gt; On Wed, 2010-08-11 at 10:46 -0500, Jeffrey Hundstad wrote: &gt;&gt; Exchange 2010 does not handle IMAP &quot;chunking&quot; (partial message transfer) &gt;&gt; correctly. Any request after about 1 megabyte of total message size &gt;&gt; will fail. &gt;&gt; &gt;&gt; Thunderbird uses this &quot;chunking&quot; feature to give you a status update &gt;&gt; while downloading large messages. The IMAP statements are of this type: &gt;&gt; 11 UID fetch 244477 (UID RFC822.SIZE BODY[]&lt;20480.12288&gt;) &gt;&gt; &gt;&gt; ...
Aug 11, 9:16 am 2010
Avery Pennarun
Re: Query: Patches break with Microsoft exchange server.
Out of curiosity, why fall back to one chunk at a time? It seems to me that IMAP should be able to still support multiple outstanding requests in that case, but you'd just get errors on the latter chunks. It is just that there was no point optimizing the workaround case? Have fun, Avery --
Aug 11, 9:18 am 2010
Paul E. McKenney
Re: [RFC PATCH 2/2] rcu,debug_core: allow the kernel deb ...
Here is an initial patch. Untested, probably doesn't even compile. It is against my -rcu tree: git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-2.6-rcu.git rcu/testing Thoughts? Thanx, Paul commit 1a745a8467f285e17ded055699ecc557d1b1893e Author: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt; Date: Tue Aug 10 14:28:53 2010 -0700 rcu: permit suppressing current grace period's CPU stall warnings When using a kernel debugger, a long sojourn in the ...
Aug 10, 9:01 pm 2010
Jason Wessel
Re: [RFC PATCH 2/2] rcu,debug_core: allow the kernel deb ...
Paul, I tried this out and code wise it looks fine to me. I performed a compile and regression test with the various kernel config options to cover this new code. Thanks for fixing the rcu_preempt case that my original patch missed. Because you used the same name for the function it was an easy drop in replacement. :-) Signed-off-by: Jason Wessel &lt;jason.wessel@windriver.com&gt; Cheers, Jason. --
Aug 11, 7:07 am 2010
Paul E. McKenney
Re: [RFC PATCH 2/2] rcu,debug_core: allow the kernel deb ...
No problem! As to keeping your name, don't worry, I won't let that Ah, yes -- I started from your patch, so I should have kept your Signed-off-by. My apologies for failing to do so. I have added it back in, please see below. I have this commit queued for 2.6.37. Thanx, Paul commit e7732983e72865c30754b8be70482e6e8842a945 Author: Paul E. McKenney &lt;paulmck@linux.vnet.ibm.com&gt; Date: Tue Aug 10 14:28:53 2010 -0700 rcu: permit suppressing current grace period's CPU ...
Aug 11, 9:32 am 2010
Tony Vroon
Re: [PATCH -next] v4l2-ctrls.c: needs to include slab.h
This appears to have been missed. Running mainline git: Linux amalthea 2.6.35-06998-g3d30701 #1 SMP Wed Aug 11 15:33:16 BST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz GenuineIntel GNU/Linux Please apply. Regards, -- Tony Vroon UNIX systems administrator London Internet Exchange Ltd, Trinity Court, Trinity Street, Peterborough, PE1 1DA Registered in England number 3137929 E-Mail: tony@linx.net
Aug 11, 11:45 am 2010
Namhyung Kim
[PATCH] x86: add a comment to __pa_symbol
Until all supported versions of gcc recognize -fno-strict-overflow, we should keep the RELOC_HIDE magic on __pa_symbol(). Comment it. Signed-off-by: Namhyung Kim &lt;namhyung@gmail.com&gt; Suggested-by: Ingo Molnar &lt;mingo@elte.hu&gt; --- I hope I'm doing right. :-) arch/x86/include/asm/page.h | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/page.h b/arch/x86/include/asm/page.h index 625c3f0..06cb6f3 100644 --- ...
Aug 10, 11:37 pm 2010
tip-bot for Namhyung Kim
[tip:x86/urgent] x86: Document __phys_reloc_hide() usage ...
Commit-ID: 8fd49936a8cac246fc9ed85508556c82cd44cf68 Gitweb: http://git.kernel.org/tip/8fd49936a8cac246fc9ed85508556c82cd44cf68 Author: Namhyung Kim &lt;namhyung@gmail.com&gt; AuthorDate: Wed, 11 Aug 2010 15:37:41 +0900 Committer: Ingo Molnar &lt;mingo@elte.hu&gt; CommitDate: Wed, 11 Aug 2010 08:43:49 +0200 x86: Document __phys_reloc_hide() usage in __pa_symbol() Until all supported versions of gcc recognize -fno-strict-overflow, we should keep the RELOC_HIDE() magic in __pa_symbol(). Comment ...
Aug 11, 12:44 am 2010
Namhyung Kim
Re: [PATCH] x86: remove __phys_reloc_hide
Oops, my bad, I found the description of -fstrict-overflow in gcc manual that it also affects the semantics of pointer and unsigned integer arithmetic. Sorry for the noise. -- Regards, Namhyung Kim --
Aug 10, 10:44 pm 2010
H. Peter Anvin
Re: [PATCH] x86: remove __phys_reloc_hide
Not unsigned integers, those are defined by the C standard to wrap. -hpa --
Aug 11, 12:09 pm 2010
Chris Friesen
Re: FCNTL Performance problem
No, because readers can always share the lock with other readers if there is no writer waiting. If you have one or more readers already holding the lock, with a writer waiting, you have two choices: 1) let the new reader in under the assumption that they'll be quick and won't extend the current &quot;read&quot; usage by much, or 2) block the new reader until after any waiting writers get a chance to get in. The first is called reader priority, The locks are written by glibc and the kernel. I ...
Aug 11, 10:00 am 2010
Rob Donovan
RE: FCNTL Performance problem
Hi, Not sure it's about read or write 'priority' so much is it? I wouldn't want to particularly favour writes over reads either, or it will just make the problem happen for reads wouldn't it? And to do this, and make it favour writes, I presume it would have to be coded into the kernel to do this, there isn't any 'switch' for me to try? Could we not have it 'fairly' process locks? So that if a read lock comes along, and there is a write lock waiting for another read lock to unlock, then ...
Aug 11, 9:19 am 2010
J. R. Okajima
Re: [PATCH 14/39] union-mount: Union mounts documentation
::: DM snapshot provides the COW block feature and it will match your idea since the size of COW device is much smaller genearally. But it doesn't support off-line upgrade either. If you do, it is equivalent to corrupt filesystem for DM snapshot device. Here is pros/cons of DM snapshot comparing a union. - the number of bytes to be copied between devices is much smaller. - the type of filesystem must be one and only. - the fs must be writable, no readonly fs, even for the lower ...
Aug 10, 6:51 pm 2010
Leon Woestenberg
Re: UIO DMA to userspace question
Hello Hans, Why would I need to mmap() the user space memory into kernel space? Looking from a traditional device driver perspective the kernel space only needs to know the virtual address and the length of the buffer, and can then make up a scatter list. After DMA finished, it needs to synchronize caches. In fact, from my simplistic view, the kernel provides a few internal house keeping tools, and we need to export this functionality into UIO API's. SGDMA to from user memory would be ...
Aug 11, 11:42 am 2010
Steffen Klassert
Re: [PATCH] padata: add missing __percpu markup in inclu ...
The patch does not apply, please respin against linux-2.6 git current. Thanks, Steffen --
Aug 11, 11:29 am 2010
Arnd Bergmann Aug 10, 7:39 pm 2010
Rafael J. Wysocki Aug 10, 7:11 pm 2010
Greg KH
Re: [09/38] xen: netfront: explicitly generate arp_notif ...
Now queued up for .32 and .34-stable kernels. thanks, greg k-h --
Aug 11, 12:43 pm 2010
Greg KH
Re: [stable] [00/38] 2.6.35.1-stable review
Now queued up. thanks, greg k-h --
Aug 11, 12:51 pm 2010
Jiri Kosina
Re: tomoyo-init (tomoyo-tools) results in kernel panic o ...
Looking at the code ... void tomoyo_check_profile(void) { struct tomoyo_domain_info *domain; const int idx = tomoyo_read_lock(); tomoyo_policy_loaded = true; /* Check all profiles currently assigned to domains are defined. */ list_for_each_entry_rcu(domain, &amp;tomoyo_domain_list, list) { const u8 profile = domain-&gt;profile; if (tomoyo_profile_ptr[profile]) continue; ...
Aug 11, 2:18 am 2010
Josef Bacik
Re: PATCH 3/6 - direct-io: do not merge logically non-co ...
So above we have this loff_t cur_offset = dio-&gt;block_in_file &lt;&lt; dio-&gt;blkbits; loff_t bio_next_offset = dio-&gt;logical_offset_in_bio + dio-&gt;bio-&gt;bi_size; block_in_file is the logical offset of the current page we are working on. logical_offset_in_bio is the logical offset of the first page in the bio, plus bi_size gives us the logical offset that would come next for a contiguous page, so if cur_offset != bio_next_offset then the range in the bio and the ...
Aug 10, 6:55 pm 2010
Josef Bacik
Re: PATCH 3/6 - direct-io: do not merge logically non-co ...
No problem, thanks for making me look at it again. You can add Acked-by: Josef Bacik &lt;josef@redhat.com&gt; Thanks, Josef --
Aug 11, 7:08 am 2010
Jeff Moyer
Re: PATCH 3/6 - direct-io: do not merge logically non-co ...
Sorry, I wasn't very clear in my description, but you figured it out. ;-) Of course, cur_page_fs_offset is already in bytes, so that left While I don't doubt that you are right, I will sleep better at night if we do an else if. (To be fair, this ambiguity was not introduced by you). I've tested this patch, added printk's and watched blktrace to verify that we don't split up I/Os. So long as no one objects, I'll post this for inclusion in a new thread. Thanks for looking into it, ...
Aug 11, 6:27 am 2010
Shirley Ma
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on K ...
Hello Xiaohui, Have you had any performance data to share here? I tested my experimental macvtap zero copy for TX only. The performance I have seen as below without any tuning, (default setting): Before: netperf 16K message size results with 60 secs run is 7.5Gb/s over ixgbe 10GbE card. perf top shows: 2103.00 12.9% copy_user_generic_string 1541.00 9.4% handle_tx 1490.00 9.1% _raw_spin_unlock_irqrestore 1361.00 8.3% _raw_spin_lock_irqsave 1288.00 7.9% _raw_spin_lock 924.00 5.7% ...
Aug 10, 6:23 pm 2010
Shirley Ma
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on K ...
I forgot to mention the kernel I used 2.6.36 one. And I found the native host BW is limited to 8.0Gb/s, so the regression might come from the device driver not vhost. Shirley --
Aug 10, 6:43 pm 2010
Shirley Ma
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on K ...
Something is very interesting, when binding ixgbe interrupts to cpu1, and running netperf/netserver on cpu0, the native host to host performance is still around 8.0Gb/s, however, the macvtap zero copy result is 9.0Gb/s. root@localhost ~]# netperf -H 192.168.10.74 -c -C -l60 -T0,0 -- -m 64K TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.10.74 (192.168.. 10.74) port 0 AF_INET : cpu bind Recv Send Send Utilization Service Demand Socket ...
Aug 10, 11:01 pm 2010
Shirley Ma
Re: [RFC PATCH v9 00/16] Provide a zero-copy method on K ...
When binding vhost thread to cpu3, qemu I/O thread to cpu2, macvtap zero copy patch can get 9.4Gb/s. TCP STREAM TEST from 0.0.0.0 (0.0.0.0) port 0 AF_INET to 192.168.10.74 (192.168.10.74) port 0 AF_INET : cpu bind Recv Send Send Utilization Service Demand Socket Socket Message Elapsed Send Recv Send Recv Size Size Size Time Throughput local remote local remote bytes bytes bytes secs. 10^6bits/s % S ...
Aug 10, 11:55 pm 2010
Steven Rostedt
Re: [Uclinux-dist-devel] [PATCH] tracing: extend recordm ...
Sure, it looks harmless. I'll pull it in and test it and if it doesn't hurt anything on x86, I'll push it out for 2.6.36. -- Steve --
Aug 11, 1:39 pm 2010
Steven Rostedt
Re: [PATCH] tracing: extend recordmcount to better suppo ...
Hmm, this might be something we could do in other archs. You want me to pull it? or should this go via another tree? --
Aug 11, 11:54 am 2010
Mike Frysinger
Re: [Uclinux-dist-devel] [PATCH] tracing: extend recordm ...
i was planning on it going through your tree ;) -mike --
Aug 11, 12:18 pm 2010
Sam Ravnborg
Re: [GIT] kbuild: kconfig changes
Arve, can you please try the attached patch and check if this fixes the issue you see. At least I confirmed that it fixed the minimal test-case I used. Note: the patch chenges how we interpret a minimal config, it does not change the content of a minimal config. Unfortunately the bug I had discovered is another bug. If I do: make ARCH=avr32 atngw100_defconfig make ARCH=avr32 savedefconfig cp defconfig arch/avr32/configs/atngw100_defconfig make ARCH=avr32 atngw100_defconfig diff -u ...
Aug 11, 12:51 pm 2010
Sam Ravnborg
Re: [GIT] kbuild: kconfig changes
Fixed it - see patch below. @Michal - I will do a proper patch submission if Arve can confirm that the problem he saw has been fixed with these patches. Sam From d93f83bbd650499c146f29a8a4de2b1f98dfbefe Mon Sep 17 00:00:00 2001 From: Sam Ravnborg &lt;sam@ravnborg.org&gt; Date: Wed, 11 Aug 2010 22:29:05 +0200 Subject: [PATCH] kconfig: fix savedefconfig for tristate choices savedefconfig failed to save choice symbols equal to 'y' for tristate choices. This resulted in this value being ...
Aug 11, 1:34 pm 2010
Arve Hjønnevåg
Re: [GIT] kbuild: kconfig changes
Your first patch fixes the problem I saw. -- Arve Hjønnevåg --
Aug 11, 4:39 pm 2010
Don Zickus
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
I guess I was thinking about the SMI case where it drains the perfctr(s) and then retriggers them but I guess even in that case the most you can have is one extra NMI. So yeah, you are probably right, I should have used a flag instead of incrementing. Cheers, Don --
Aug 11, 5:39 am 2010
Robert Richter
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
&quot;setting the skip flag which would be drained on the next unknown nmi&quot; That's what is wrong, it drops every unknown nmi, no matter when it is detected. In between there could be 1000's of valid other nmis handled. You even could have been returned from nmi mode. But still, the next unknown nmi will be dropped. Your patch could accumulate also the number of unknown nmis to skip, and then, if 'real' unknown nmis happen, all of them will be dropped. -- Advanced Micro Devices, ...
Aug 11, 7:03 am 2010
Frederic Weisbecker
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
Yeah, I think that's more reasonable. This lowers even more the chances of losing important hardware errors. May be make it just a pending bit. I mean not something that can go further 1, because you can't have more than 1 pending anyway. I don't know how that could happen you get accidental perctr_skip &gt; 1, may be expected pending NMIs that don't happen somehow, but better be paranoid with that, as it's about trying not to miss hardware errors. Thanks. --
Aug 10, 7:44 pm 2010
Huang Ying
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
You can trigger unknown NMIs via apic-&gt;send_IPI_mask(cpu_mask, NMI_VECTOR). How about the algorithm as follow: int perf_event_nmi_handler() { ... switch (cmd) { case DIE_NMIUNKNOWN: if (per_cpu(perfctr_prev_handled) &gt; 1 &amp;&amp; rdtsc() - per_cpu(perfctr_handled_timestamp) &lt; 1000) return NOTIFY_STOP; else return NOTIFY_DONE; } ... handled = x86_pmu.handle_irq(regs); per_cpu(perfctr_prev_handled) = per_cpu(perfctr_handled); per_cpu(perfctr_handled) = handled; if ...
Aug 10, 8:19 pm 2010
Robert Richter
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
... but this will not work. You have to mark the *absolute* nmi number here. If you only raise a flag, the next unknown nmi will be dropped, every. Because, in between there could have been other nmis that stopped the chain and thus the 'unknown' path is not executed. The trick in my patch is that you *know*, which nmi you want to skip. I will send an updated version of my patch. -- Advanced Micro Devices, Inc. Operating System Research Center --
Aug 11, 4:10 am 2010
Don Zickus
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
Well as Frederic pointed out the skip variable will never go past one, so That was the intent. Can we guarantee that in the rare cases where the perfctr is generating two nmis, that they will be back-to-back? I think Huang tried to cap my approach even further my creating a time window in which the two nmis had to happen. That gives us the flexibility to handle nmis that are not back to back, but yet deal with the case where two perfctrs fired but we are unsure if it generated a second nmi ...
Aug 11, 7:32 am 2010
Don Zickus
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
Heh, I thought about the following too, just couldn't figure out an easy way to timestamp. I forgot about the rdtsc(). :-) The only thing that might screw this up would be an SMI which takes longer than 1000 but that should be rare and would probably be related to the unknown NMI anyway. Also under virt that would probably break (due to time jumping) but until they emulate the perfctr, it won't matter. :-) Cheers, Don --
Aug 11, 5:36 am 2010
Don Zickus
Re: [PATCH] perf, x86: try to handle unknown nmis with r ...
I guess I am confused. The way I read your patch was that you assumed the next NMI would be the one you skip and if there was another NMI in between the handled one and the one to skip, you would not skip it (nmi count != prev + 1) and it would produce an accidental unknown nmi. I tried to change that with my patch by setting the skip flag which would be drained on the next unknown nmi, independent of where it is in the NMI backlog of NMIs. Did I misread something? Cheers, Don --
Aug 11, 5:44 am 2010
Robert Richter
[PATCH -v2] perf, x86: try to handle unknown nmis with r ...
I was debuging this a little more, see version 2 below. -Robert -- From 8bb831af56d118b85fc38e0ddc2e516f7504b9fb Mon Sep 17 00:00:00 2001 From: Robert Richter &lt;robert.richter@amd.com&gt; Date: Thu, 5 Aug 2010 16:19:59 +0200 Subject: [PATCH] perf, x86: try to handle unknown nmis with running perfctrs When perfctrs are running it is valid to have unhandled nmis, two events could trigger 'simultaneously' raising two back-to-back NMIs. If the first NMI handles both, the latter will be empty ...
Aug 11, 3:00 pm 2010
Stephen Boyd
Re: [PATCH] ARM: uaccess: Implement strict user copy checks
I'm following the x86 implementation. I suppose it's done this way since many drivers aren't warning free (as you mention) and turning on -Werror will make it more annoying to find these types of errors. Since there isn't any -Werror=user-copy this approach allows us to find this type of error easily without having to sift through noise. Enabling -Werror in architecture specific code wouldn't help much here though right since this is going to be inlined into drivers and such? -- ...
Aug 11, 11:46 am 2010
Stephen Boyd
Re: [PATCH] ARM: uaccess: Implement strict user copy checks
With older compilers (pre 4.4) __compiletime_object_size() will be replaced with -1 causing this code to be optimized away. Also, __compiletime_warning() and __compiletime_error() aren't defined to be anything except in include/linux/compiler-gcc4.h so users of older compilers shouldn't see any warnings or errors regardless of the config option being enabled. People will start seeing warnings if they use gcc 4.4 or later though. It's debatable whether or not to have both the warning ...
Aug 10, 5:27 pm 2010
Arnd Bergmann
Re: [PATCH] ARM: uaccess: Implement strict user copy checks
Do you actually need to disable this if running an older gcc? AFAICT, it should just have no effect at all in that case, so the comment is slightly misleading. Also, why turn this specific warning into an error but not any of the other warnings? Some architectures (alpha, sparc, mips, powerpc, sh) simply turn on -Werror for architecture specific code in general, which seems very useful. We can also make that a config option (probably arch independent) that we turn on for defconfig files that ...
Aug 10, 8:04 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
On Wed, Aug 11, 2010 at 3:42 AM, Paul E. McKenney And in N900 touching the screen doesn't bring the device out of idle, I guess because it's off. What devices do what on which circumstances on what platform is Only if you make these assumptions 1) All the applications use suspend-blockers only when they absolutely must 2) The user has given the right applications the right access If not, you'll see much worst energy efficiency. So in theory maybe, but in practice you can't say ...
Aug 11, 1:00 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
Hmmm... Let's put the two approaches side by side so that we can compare them more easily: Opportunistic Suspend Idle + Timer Jitter Set timer Set timer Suspend OS delays timer Resume OS continues delaying timer Timer fires Timer fires These two cases look quite similar to me. But as you say, the battery can run out. So let's add that to the comparison: Opportunistic Suspend Idle + Timer Jitter Set timer Set timer Suspend OS delays timer Battery ...
Aug 10, 5:42 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
As one approach of many, this makes a great deal of sense. Thanx, Paul --
Aug 10, 5:44 pm 2010
david
Re: Attempted summary of suspend-blockers LKML thread, t ...
it has been stated that the android can hit the exact same power state either with sleep or suspend, and that the same clock can wake it up (it appears as a timer expiring for sleep, or an alarm for suspend, but it's the same clock firing the signal) so in at least some cases the hardware supports doing both with equal You are talking about Android as if it was a cell phone only thing, it's not. there are shipping tablets (and I believe netbooks, i.e. laptops) and wakelocks require ...
Aug 10, 6:28 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
It indeed has been so stated. But in this section we were discussing I was talking about cellphones. But yes, Android (and thus suspend blockers) are used for tablets as well as cellphones, thank you for Almost. Suspend blockers require that only those portions of a PM-driving application that hold a suspend blocker be carefully written to avoid wasting power. Thanx, Paul --
Aug 10, 7:21 pm 2010
david
Re: Attempted summary of suspend-blockers LKML thread, t ...
you specifically stated that suspend would use less power. I am pointing out that ther is info posed in this thread to say that's not always the case. in either case it is possible for the system to wake up again later to let the timer fire and the application save it's work. It's arguably easier in the idle case as it doesn't require application modification for example Idle + Timer Jitter set timer OS sets timer jitter to 1 hour system sleeps for 1 hour with no wakeups timer ...
Aug 10, 8:00 pm 2010
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread, t ...
On Wed, Aug 11, 2010 at 2:25 PM, Felipe Contreras On behalf of the Android folks, we don't agree with this. If you're going to wait until we suddenly change our minds, I think you're going Once &quot;the right solution&quot; exists and solves our problems, we'll certainly look into switching over to it. I've yet to see a proposal in all this arguing that appears to me to be an improvement over what we have today with suspend blockers. I find the &quot;don't do what you're doing because someday, somebody ...
Aug 11, 2:37 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
Yes, the N900 is drastically different, for starters, it has an actual window manager. By multi-tasking I mean me (the user) being able to perform multiple tasks at the same time. For example: writing an email, while browsing the web, while having IM conversations. Obviously not exactly at the same time; start writing an email, go browse for some url, copy, answer a pending IM message, Let's concentrate; Android is the only mobile platform that has expressed interested in suspend ...
Aug 11, 9:57 am 2010
Ted Ts'o
Re: Attempted summary of suspend-blockers LKML thread, t ...
I think you're wrong that this will be sufficient, but I've already stated my position before, namely that what you do when you only have 800mWh has very different performance/battery tradeoffs than when you have 94,000mWh batteries. One of the reasons why my mail archive for this discussion has over 1800 messages and is close to 10MB is that everyone keeps saying the same thing over and over again. So I'm not going to say it again. I was thinking that the only way we can tell is for us to ...
Aug 11, 12:31 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
Applications need to take smart decisions to save power based on a number of things: is the screen on? is the ear close to the speaker? is there a network available? is it a cellular connection? has the user decided to automatically disconnect from the network after certain time, or at night? etc. I think that, and range timers / ip heartbeat is enough. But that, as you say has been discussed before. Now, only Android has decided to use suspend blockers, that's a *fact*, and I wanted to ...
Aug 11, 2:25 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
And if there are runnable tasks, then then don't behave the same. As long as touching the N900 screen doesn't bring the device out of Do you -really- want me to start listing counterexamples to that Ahem. This is a list of differences between idle and suspend, not a list of problems to be solved. But to answer your question, if a timer does not bring a given device out of suspend, then a range timer is not likely to, either. Don't get me wrong, I do believe that range timers have an ...
Aug 11, 3:12 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
I specifically stated something different, and if you specifically look up a few paragraph, you will specifically see that I specifically used a specific qualifier, which you specifically seem to have lost track of. --
Aug 11, 3:49 pm 2010
Mark Brown
Re: Attempted summary of suspend-blockers LKML thread, t ...
I don't think lack of external adoption is a terribly useful data point either way at the minute. While the feature is controversial a lot of the OSs will probably hold off on it (because it's effort to handle out of tree stuff and folks are really busy) and there's not that many out there which support random externally written packages (which is the major push for exporting the feature to userspace) in the first place. --
Aug 11, 12:43 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
On Mon, Aug 9, 2010 at 9:16 PM, Paul E. McKenney Ideally the system would be suspended even when the screen is on. If there are no &quot;trusted&quot; applications running at the same time, then openoffice wouldn't load at all. Right? -- Felipe Contreras --
Aug 11, 12:18 pm 2010
Paul E. McKenney
Re: Attempted summary of suspend-blockers LKML thread, t ...
My understanding is that Android systems in fact do not suspend when the screen is on, and that most (perhaps all) other systems do not opportunistically suspend at all. There has been some speculation about what a hypothetical Android having a non-volatile display might do, but as far as I know, this is just speculation. Thanx, Paul --
Aug 11, 3:28 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
On Tue, Aug 10, 2010 at 7:45 AM, Paul E. McKenney No, it's the fact that *nobody* else has said: hey, that looks like a good idea, we should use that in our mobile platform (or any platform). -- Felipe Contreras --
Aug 11, 12:25 pm 2010
Brian Swetland
Re: Attempted summary of suspend-blockers LKML thread, t ...
On Wed, Aug 11, 2010 at 3:03 PM, Felipe Contreras Home + pick app -&gt; switch to the app in whatever state it was in. Home (longpress) -&gt; recent app list + pick app from popup -&gt; switch to recent app in whatever state it was in. pull down alert windowshade + pick app from alerts list -&gt; switch to that app I routinely flip back and forth between email / browser / IM / musicplayer / etc I have no problem with you perhaps liking the visuals of the N900 better, but to say Android lacks ...
Aug 11, 3:12 pm 2010
Felipe Contreras
Re: Attempted summary of suspend-blockers LKML thread, t ...
I'm sure as a team that's the case, but you can't know what's in the That was not an argument, it was an opinion. If you want an argument go back to read this one: This is what I'm talking about when I say multi-tasking, Android certainly doesn't have anything remotely like that: http://www.youtube.com/watch?v=7emvUBpEkbU -- Felipe Contreras --
Aug 11, 3:03 pm 2010
Ben Blum
[PATCH v5 0/3] cgroups: implement moving a threadgroup's ...
Here's an updated patchset. I've added an extra patch to implement the callback scheme Paul suggested (note how there are twice as many deleted lines of code as before :) ), and also moved the up_read/down_read calls to static inline functions in sched.h near the other threadgroup-related calls. --- Documentation/cgroups/cgroups.txt | 13 - include/linux/cgroup.h | 12 include/linux/init_task.h | 9 include/linux/sched.h | 35 ++ ...
Aug 10, 10:46 pm 2010
Ben Blum
[PATCH v5 1/3] cgroups: read-write lock CLONE_THREAD for ...
Adds functionality to read/write lock CLONE_THREAD fork()ing per-threadgroup From: Ben Blum &lt;bblum@andrew.cmu.edu&gt; This patch adds an rwsem that lives in a threadgroup's signal_struct that's taken for reading in the fork path, under CONFIG_CGROUPS. If another part of the kernel later wants to use such a locking mechanism, the CONFIG_CGROUPS ifdefs should be changed to a higher-up flag that CGROUPS and the other system would both depend on. This is a pre-patch for ...
Aug 10, 10:47 pm 2010
Ben Blum
[PATCH v5 2/3] cgroups: add can_attach callback for chec ...
Add cgroup wrapper for safely calling can_attach on all threads in a threadgroup From: Ben Blum &lt;bblum@andrew.cmu.edu&gt; This patch adds a function cgroup_can_attach_per_thread which handles iterating over each thread in a threadgroup safely with respect to the invariants that will be used in cgroup_attach_proc. Also, subsystems whose can_attach calls require per-thread validation are modified to use the per_thread wrapper to avoid duplicating cgroup-internal code. This is a pre-patch for ...
Aug 10, 10:48 pm 2010
Ben Blum
[PATCH v5 3/3] cgroups: make procs file writable
Makes procs file writable to move all threads by tgid at once From: Ben Blum &lt;bblum@andrew.cmu.edu&gt; This patch adds functionality that enables users to move all threads in a threadgroup at once to a cgroup by writing the tgid to the 'cgroup.procs' file. This current implementation makes use of a per-threadgroup rwsem that's taken for reading in the fork() path to prevent newly forking threads within the threadgroup from &quot;escaping&quot; while the move is in progress. Signed-off-by: Ben Blum ...
Aug 10, 10:48 pm 2010
Stefan Bader
Re: [stable] [Stable-review] [116/165] ext4: dont return ...
Final call would be Eric/Ted but as far as I can see: .34: not for now (patch that causes regression not backported there (yet)) .35: yes (offending patch has been in 2.6.35-rc1) --
Aug 11, 1:56 am 2010
Eric Sandeen
Re: [stable] [Stable-review] [116/165] ext4: dont return ...
As long as the 2 patches go together it should be fine, I don't think there are other significant dependencies. It's also not really an urgent one to fix; returning to userspace w/ a lock held is pretty icky but in practice has not been an actual problem AFAIK; most people use lvm to freeze/unfreeze and it all gets cleaned up.... --
Aug 11, 5:20 am 2010
Ted Ts'o
Re: [Stable-review] [stable] [116/165] ext4: dont return ...
Agreed. I do plan to be uploading stable updates for 2.6.35.x that include the changes that got pulled for 2.6.35-rc1, and I'll update 2.6.34 and 2.6.32, as well, with 2.6.34 including the updates that somehow didn't all make it to stable last time. (I'm thinking about also including an ftp upload since for some reason some mail server between me at stable@kernel.org seems to be dropping mail messages when they get blasted out using git send-email. :-/ ) I'm at Linuxcon this week though, ...
Aug 11, 5:34 am 2010
Shirley Ma
Re: [RFC PATCH v8 00/16] Provide a zero-copy method on K ...
Hello Avi, netperf/netserver latency results are pretty good for message size between 1 bytes and 512 bytes when I have 64 bytes small copy. However if I don't have any small copy , the ping RTT time is unreasonable huge. Since we think it's better to have small message with copy, so there will be no issue. Thanks Shirley --
Aug 10, 8:28 pm 2010
Wim Van Sebroeck
Re: [PATCH 00/15] hpwdt: make NMI code a config option ( ...
I did some changes in the last 3 patches: I removed patch 10, made patch 11 patch 10 and added and extra patch that moves the nmi decoding init and exit functions in seperate modules. I'll sent you the 3 new patches. Just let me know if they are OK. Kind regards, Wim. --
Aug 11, 5:49 am 2010
Dave Hansen
Re: [PATCH] Tight check of pfn_valid on sparsemem - v4
Right, it won't try to _coalesce_ those pages, but it will go trying to look for the freed page's buddy in the empty area. This is probably a pretty rare issue, but I think it's real. Take a look at __free_one_page(): ... while (order &lt; MAX_ORDER-1) { buddy = __page_find_buddy(page, page_idx, order); if (!page_is_buddy(page, buddy, order)) break; We look at the page, and the order of the page that just got freed. We go ...
Aug 11, 8:31 am 2010
Christof Schmitt
Re: [patch 0/1] Apply segment size and segment boundary ...
Yes, the hw interface only has a limit for the total number. The best solution would be an interface that allows reporting this limit to the block layer. If this is not possible, or deemed too exotic, reporting seperate limits for integrity segments and data segments would also be Ok, when you have something, i can have a look at it and see if it matches the requirements here. Thanks, Christof --
Aug 11, 1:07 am 2010
Steven Rostedt
Re: [patch 1/2] x86_64 page fault NMI-safe
Egad! Go on vacation and the world falls apart. So, I want to allocate a 10Meg buffer. I need to make sure the kernel has 10megs of memory available. If the memory is quite fragmented, then too bad, I lose out. Oh wait, I could also use vmalloc. But then again, now I'm blasting valuable TLB entries for a tracing utility, thus making the tracer have a even bigger impact on the entire system. BAH! I originally wanted to go with the continuous buffer, but I was convinced after trying to ...
Aug 11, 7:34 am 2010
Steven Rostedt
Re: [patch 1/2] x86_64 page fault NMI-safe
Yes Mathieu, you did a formal proof. Good for you. But honestly, it is starting to get very annoying to hear you constantly stating that, because, to most kernel developers, it is meaningless. Any slight modification of your algorithm, renders the proof invalid. You are not the only one that has done a proof to an algorithm in the kernel, but you are definitely the only one that constantly reminds people that you have done so. Congrats on your PhD, and in academia, proofs are ...
Aug 11, 7:44 am 2010
Daniel Mack
Re: [PATCH 4/4] input: dynamically allocate ABS information
Hi Dmitry, Hmm, there are three locations where some mysterious 'XX' characters ^^ ^^ I have no clue how they made it there, but they don't look right, unless I miss some essential information. Below is a patch to fix it up. Thanks, Daniel From 939d842964c8fd764a84702672be927a79d73e8f Mon Sep 17 00:00:00 2001 From: Daniel Mack &lt;daniel@caiaq.de&gt; Date: Wed, 11 Aug 2010 08:59:53 +0200 Subject: [PATCH] drivers/input: fix faulty ...
Aug 11, 12:02 am 2010
Dmitry Torokhov
Re: [PATCH 4/4] input: dynamically allocate ABS information
Yep, it in mainline now. Thank you for working on this. - Dmitry --
Aug 10, 8:29 pm 2010
Randy Dunlap
Re: [PATCH 1/2] RFC: iscsi ibft: separate ibft parsing f ...
Can we get this patch into linux-next, please? or if it's there, there are still errors like this that need to be checked. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 8:54 am 2010
Randy Dunlap
Re: [PATCH 1/2] RFC: iscsi ibft: separate ibft parsing f ...
Sorry, I replied to the (a) wrong email (thread). --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 9:04 am 2010
Claudio Scordino
[PATCH] Documentation about RS485 serial communications
Hi all, some time ago I've been asked (by both Wolfram and Philippe) to provide some minimal documentation about the usage of the RS485 interface. Here is the document (updated with the very last changes in the interface). Best regards, Claudio Documentation about RS485 serial communications. Signed-off-by: Claudio Scordino &lt;claudio@evidence.eu.com&gt; --- Documentation/serial/00-INDEX | 2 + Documentation/serial/serial-rs485.txt | 123 ...
Aug 11, 2:26 am 2010
Philippe De Muyter
Re: [PATCH] Documentation about RS485 serial communications
I surmise that all the real work, the read() and write() system calls, -- Philippe De Muyter phdm at macqel dot be Tel +32 27029044 Macq Electronique SA rue de l'Aeronef 2 B-1140 Bruxelles Fax +32 27029077 --
Aug 11, 3:02 am 2010
Randy Dunlap
Re: [PATCH] Documentation about RS485 serial communications
should be able to work in both modes or TIOC[SG]RS485 are #defined in &lt;asm-generic/ioctls.h&gt;, so #include &lt;asm-generic/ioctls.h&gt; Thanks for the addition. --- ~Randy *** Remember to use Documentation/SubmitChecklist when testing your code *** --
Aug 11, 8:32 am 2010
Claudio Scordino
Re: [PATCH] Documentation about RS485 serial communications
Hi Randy, thank you for the feedback. I noticed that for some architectures (e.g., cris) these ioctls are defined also in arch/cris/include/asm/ioctls.h, and with different values with respect to the values defined on asm-generic/ioctls.h. Therefore, I wasn't completely sure that the values defined in asm-generic are being used in every driver... Best regards, Claudio --
Aug 11, 12:58 pm 2010
previous daytodaynext day
August 10, 2010August 11, 2010August 12, 2010