[PATCH 111/270] libceph: define and use an explicit CONNECTED state

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit e27947c767f5bed15048f4e4dad3e2eb69133697 upstream. There is no state explicitly defined when a ceph connection is fully operational. So define one. It's set when the co

Re: [RFC][PATCH] fs: configfs: programmatically create config groups

2012-11-26 Thread Sebastian Andrzej Siewior
On 11/26/2012 05:56 PM, Michal Nazarewicz wrote: On 11/26/2012 09:35 AM, Andrzej Pietrasiewicz wrote: In some parts of the kernel (e.g. planned configfs integration into usb gadget) there is a need to programmatically create config groups (directories) but it would be preferable to disallow crea

[PATCH 107/270] libceph: just set SOCK_CLOSED when state changes

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit d65c9e0b9eb43d14ece9dd843506ccba06162ee7 upstream. When a TCP_CLOSE or TCP_CLOSE_WAIT event occurs, the SOCK_CLOSED connection flag bit is set, and if it had not been pre

[PATCH 104/270] libceph: don't use bio_iter as a flag

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit abdaa6a849af1d63153682c11f5bbb22dacb1f6b upstream. Recently a bug was fixed in which the bio_iter field in a ceph message was not being properly re-initialized when a mes

[PATCH 102/270] libceph: move init_bio_*() functions up

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit df6ad1f97342ebc4270128222e896541405eecdb upstream. Move init_bio_iter() and iter_bio_next() up in their source file so the'll be defined before they're needed. Signed-of

[PATCH 097/270] libceph: use con get/put methods

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil commit 36eb71aa57e6a33d61fd90a2fd87f00c6844bc86 upstream. The ceph_con_get/put() helpers manipulate the embedded con ref count, which isn't used now that ceph_connections are emb

[PATCH 101/270] libceph: don't mark footer complete before it is

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit fd154f3c75465abd83b7a395033e3755908a1e6e upstream. This is a nit, but prepare_write_message() sets the FOOTER_COMPLETE flag before the CRC for the data portion (recorded

[PATCH 094/270] libceph: fix overflow in osdmap_apply_incremental()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang commit a5506049500b30dbc5edb4d07a3577477c1f3643 upstream. On 32-bit systems, a large `pglen' would overflow `pglen*sizeof(u32)' and bypass the check ceph_decode_need(p, end, pglen*

[PATCH 092/270] libceph: fix overflow in __decode_pool_names()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang commit ad3b904c07dfa88603689bf9a67bffbb9b99beb5 upstream. `len' is read from network and thus needs validation. Otherwise a large `len' would cause out-of-bounds access via the me

[PATCH 088/270] libceph: have messages point to their connection

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 38941f8031bf042dba3ced6394ba3a3b16c244ea upstream. When a ceph message is queued for sending it is placed on a list of pending messages (ceph_connection->out_queue). Whe

[PATCH 089/270] libceph: have messages take a connection reference

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 92ce034b5a740046cc643a21ea21eaad589e0043 upstream. There are essentially two types of ceph messages: incoming and outgoing. Outgoing messages are always allocated via ce

Re: [PATCH 168/270] x86: Exclude E820_RESERVED regions and memory holes above 4 GB from direct mapping.

2012-11-26 Thread H. Peter Anvin
On 11/26/2012 08:57 AM, Herton Ronaldo Krzesinski wrote: > 3.5.7u1 -stable review patch. If anyone has any objections, please let me > know. What kind of version number is that? -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH 047/270] iscsi-target: Bump defaults for nopin_timeout + nopin_response_timeout values

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit cf0eb28d3ba60098865bf7dbcbfdd6b1cc483e3b upstream. This patch increases the default for nopin_timeout to 15 seconds (wait between sending a new NopIN ping) and no

[PATCH 048/270] drivers/dma/dmaengine.c: lower the priority of 'failed to get' dma channel message

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Fabio Estevam commit 0eb5a35801df3c438ce3fc91310a415ea4452c00 upstream. Do the same as commit a03a202e95fd ("dmaengine: failure to get a specific DMA channel is not critical") to get rid o

[PATCH 057/270] scsi_debug: Fix off-by-one bug when unmapping region

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Lukas Czerner commit bc977749e967daa56de1922cf4cb38525631c51c upstream. Currently it is possible to unmap one more block than user requested to due to the off-by-one error in unmap_region(

[PATCH 061/270] timekeeping: Cast raw_interval to u64 to avoid shift overflow

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 5b3900cd409466c0070b234d941650685ad0c791 upstream. We fixed a bunch of integer overflows in timekeeping code during the 3.6 cycle. I did an audit based on that and fo

[PATCH 064/270] ALSA: hda - Add missing hda_gen_spec to struct via_spec

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 7819d1c70eb6a57e43554d86e10b39d1e106ed65 upstream. The commit [4b527b65 ALSA: hda - limit internal mic boost for Asus X202E] introduced the use of auto-parser code, but

[PATCH 069/270] md/raid10: use correct limit variable

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 91502f099dfc5a1e8812898e26ee280713e1d002 upstream. Clang complains that we are assigning a variable to itself. This should be using bad_sectors like the similar earli

[PATCH 078/270] libceph: embed ceph messenger structure in ceph_client

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 15d9882c336db2db73ccf9871ae2398e452f694c upstream. A ceph client has a pointer to a ceph messenger structure in it. There is always exactly one ceph messenger for a ceph

[PATCH 083/270] libceph: embed ceph connection structure in mon_client

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 67130934fb579fdf0f2f6d745960264378b57dc8 upstream. A monitor client has a pointer to a ceph connection structure in it. This is the only one of the three ceph client type

[PATCH 084/270] libceph: drop connection refcounting for mon_client

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Sage Weil commit ec87ef4309d33bd9c87a53bb5152a86ae7a65f25 upstream. All references to the embedded ceph_connection come from the msgr workqueue, which is drained prior to mon_client destru

[PATCH 087/270] libceph: tweak ceph_alloc_msg()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 1c20f2d26795803fc4f5155fe4fca5717a5944b6 upstream. The function ceph_alloc_msg() is only used to allocate a message that will be assigned to a connection's in_msg pointer

[PATCH 085/270] libceph: init monitor connection when opening

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 20581c1faf7b15ae1f8b80c0ec757877b0b53151 upstream. Hold off initializing a monitor client's connection until just before it gets opened for use. Signed-off-by: Alex Elde

[PATCH 082/270] libceph: set CLOSED state bit in con_init

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit a5988c490ef66cb04ea2f610681949b25c773b3c upstream. Once a connection is fully initialized, it is really in a CLOSED state, so make that explicit by setting the bit in its

Re: [PATCH] vfio powerpc: enabled and supported on powernv platform

2012-11-26 Thread Alex Williamson
On Mon, 2012-11-26 at 08:18 -0700, Alex Williamson wrote: > On Fri, 2012-11-23 at 13:02 +1100, Alexey Kardashevskiy wrote: > > On 22/11/12 22:56, Sethi Varun-B16395 wrote: > > > > > > > > >> -Original Message- > > >> From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > > >> ow..

[PATCH 080/270] libceph: start tracking connection socket state

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit ce2c8903e76e690846a00a0284e4bd9ee954d680 upstream. Start explicitly keeping track of the state of a ceph connection's socket, separate from the state of the connection it

Re: [PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-26 Thread Michal Hocko
On Mon 26-11-12 12:46:22, Johannes Weiner wrote: > On Mon, Nov 26, 2012 at 02:18:37PM +0100, Michal Hocko wrote: > > [CCing also Johannes - the thread started here: > > https://lkml.org/lkml/2012/11/21/497] > > > > On Mon 26-11-12 01:38:55, azurIt wrote: > > > >This is hackish but it should help y

Re: [PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-26 Thread Paul E. McKenney
On Mon, Nov 26, 2012 at 11:40:27AM -0500, Steven Rostedt wrote: > On Mon, 2012-11-26 at 20:30 +0530, Viresh Kumar wrote: > > On 6 November 2012 16:08, Viresh Kumar wrote: > > > This is V2 Resend of my sched_select_cpu() work. Resend because didn't > > > got much > > > attention on V2. Including m

[PATCH 076/270] libceph: rename socket callbacks

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 327800bdc2cb9b71f4b458ca07aa9d522668dde0 upstream. Change the names of the three socket callback functions to make it more obvious they're specifically associated with a

[PATCH 075/270] libceph: kill bad_proto ceph connection op

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Alex Elder commit 6384bb8b8e88a9c6bf2ae0d9517c2c0199177c34 upstream. No code sets a bad_proto method in its ceph connection operations vector, so just get rid of it. Signed-off-by: Alex E

[PATCH 072/270] xen/bootup: allow read_tscp call for Xen PV guests.

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Konrad Rzeszutek Wilk commit cd0608e71e9757f4dae35bcfb4e88f4d1a03a8ab upstream. The hypervisor will trap it. However without this patch, we would crash as the .read_tscp is set to NULL. Th

[PATCH 070/270] mips,kgdb: fix recursive page fault with CONFIG_KPROBES

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Jason Wessel commit f0a996eeeda214f4293e234df33b29bec003b536 upstream. This fault was detected using the kgdb test suite on boot and it crashes recursively due to the fact that CONFIG_KPRO

[PATCH 067/270] autofs4 - fix reset pending flag on mount fail

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Kent commit 4ab27eab6289a8e4f450e148bdab521361b2 upstream. In autofs4_d_automount(), if a mount fail occurs the AUTOFS_INF_PENDING mount pending flag is not cleared. One effect of

[PATCH 063/270] tmpfs,ceph,gfs2,isofs,reiserfs,xfs: fix fh_len checking

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 35c2a7f4908d404c9124c2efc6ada4640ca4d5d5 upstream. Fuzzing with trinity oopsed on the 1st instruction of shmem_fh_to_dentry(), u64 inum = fid->raw[2]; which is

[PATCH 060/270] timers: Fix endless looping between cascade() and internal_add_timer()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: "Hildner, Christian" commit 26cff4e2aa4d666dc6a120ea34336b5057e3e187 upstream. Adding two (or more) timers with large values for "expires" (they have to reside within tv5 in the same list)

[PATCH 059/270] firewire: cdev: fix user memory corruption (i386 userland on amd64 kernel)

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Stefan Richter commit 790198f74c9d1b46b6a89504361b1a844670d050 upstream. Fix two bugs of the /dev/fw* character device concerning the FW_CDEV_IOC_GET_INFO ioctl with nonzero fw_cdev_get_in

Re: [PATCH 1/2] powerpc: Move the single step enable code to a generic path

2012-11-26 Thread Sebastian Andrzej Siewior
On 11/26/2012 12:05 PM, Suzuki K. Poulose wrote: diff --git a/arch/powerpc/include/asm/probes.h b/arch/powerpc/include/asm/probes.h index 5f1e15b..836e9b9 100644 --- a/arch/powerpc/include/asm/probes.h +++ b/arch/powerpc/include/asm/probes.h @@ -38,5 +38,34 @@ typedef u32 ppc_opcode_t; #define

[PATCH] cpufreq: ondemand: update sampling rate only on right CPUs

2012-11-26 Thread Fabio Baltieri
Fix cpufreq_gov_ondemand to skip CPU where another governor is used. The bug present itself as NULL pointer access on the mutex_lock() call, an can be reproduced on an SMP machine by setting the default governor to anything other than ondemand, setting a single CPU's governor to ondemand, then cha

[PATCH 056/270] ARM: vfp: fix saving d16-d31 vfp registers on v6+ kernels

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 846a136881b8f73c1f74250bf6acfaa309cab1f2 upstream. Michael Olbrich reported that his test program fails when built with -O2 -mcpu=cortex-a8 -mfpu=neon, and a kernel whi

[PATCH 054/270] mac80211: use ieee80211_free_txskb to fix possible skb leaks

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit c3e7724b6bc2f25e46c38dbe68f09d71fafeafb8 upstream. A few places free skbs using dev_kfree_skb even though they're called after ieee80211_subif_start_xmit might have cl

[PATCH 051/270] ACPI: EC: Make the GPE storm threshold a module parameter

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit a520d52e99b14ba7db135e916348f12f2a6e09be upstream. The Linux EC driver includes a mechanism to detect GPE storms, and switch from interrupt-mode to polling mode. However,

[PATCH 049/270] ath9k: use ieee80211_free_txskb

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 249ee72249140fe5b9adc988f97298f0aa5db2fc upstream. Using ieee80211_free_txskb for tx frames is required, since mac80211 clones skbs for which socket tx status is reque

[PATCH 045/270] iscsi-target: Add explicit set of cache_dynamic_acls=1 for TPG demo-mode

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 38b11bae6ba02da352340aff12ee25755977b222 upstream. We've had reports in the past about this specific case, so it's time to go ahead and explicitly set cache_dynam

build failure next-20121126

2012-11-26 Thread H Hartley Sweeten
Hello all, Another build failure with next-20121126: CC security/integrity/evm/evm_secfs.o In function 'copy_from_user', inlined from 'evm_write_key' at security/integrity/evm/evm_secfs.c:71: /home/bigguiness/src/git/linux-next/arch/x86/include/asm/uaccess_32.h:

[PATCH 043/270] pnfsblock: fix non-aligned DIO write

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit 96c9eae638765c2bf2ca4f5a6325484f9bb69aa7 upstream. For DIO writes, if it is not blocksize aligned, we need to do internal serialization. It may slow down writers anyway. So

Re: [PATCH 2/2] uprobes/powerpc: Make use of generic routines to enable single step

2012-11-26 Thread Oleg Nesterov
On 11/26, Suzuki K. Poulose wrote: > > @@ -121,8 +125,11 @@ int arch_uprobe_post_xol(struct arch_uprobe *auprobe, > struct pt_regs *regs) >* to be executed. >*/ > regs->nip = utask->vaddr + MAX_UINSN_BYTES; > + regs->msr = utask->autask.saved_msr; > +#ifdef CONFIG_PPC_ADV

[PATCH 040/270] lockd: use rpc client's cl_nodename for id encoding

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Kinsbursky commit 303a7ce92064c285a04c870f2dc0192fdb2968cb upstream. Taking hostname from uts namespace if not safe, because this cuold be performind during umount operation on c

[PATCH 042/270] pnfsblock: fix non-aligned DIO read

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit f742dc4a32587bff50b13dde9d8894b96851951a upstream. For DIO read, if it is not sector aligned, we should reject it and resend via MDS. Otherwise there might be data corrupti

[PATCH 041/270] pnfsblock: fix partial page buffer wirte

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Peng Tao commit fe6e1e8d9fad86873eb74a26e80a8f91f9e870b5 upstream. If applications use flock to protect its write range, generic NFS will not do read-modify-write cycle at page cache level

[PATCH 002/270] usb: gadget: at91_udc: fix dt support

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Fabio Porcedda commit 9c6d196d5aa35e07482f23c3e37755e7a82140e0 upstream. Don't fail the initialization check for the platform_data if there is avaiable an associated device tree node. Sig

[PATCH 001/270] udf: fix retun value on error path in udf_load_logicalvol

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Nikola Pajkovsky commit 68766a2edcd5cd744262a70a2f67a320ac944760 upstream. In case we detect a problem and bail out, we fail to set "ret" to a nonzero value, and udf_load_logicalvol will m

[PATCH 007/270] eCryptfs: Unlink lower inode when ecryptfs_create() fails

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 8bc2d3cf612994a960c2e8eaea37f6676f67082a upstream. ecryptfs_create() creates a lower inode, allocates an eCryptfs inode, initializes the eCryptfs inode and cryptographic

[PATCH 008/270] eCryptfs: Write out all dirty pages just before releasing the lower file

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 7149f2558d5b5b988726662fe58b1c388337805b upstream. Fixes a regression caused by: 821f749 eCryptfs: Revert to a writethrough cache model That patch reverted some code (

[PATCH 010/270] eCryptfs: check for eCryptfs cipher support at mount

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tim Sally commit 5f5b331d5c21228a6519dcb793fc1629646c51a6 upstream. The issue occurs when eCryptfs is mounted with a cipher supported by the crypto subsystem but not by eCryptfs. The mount

[PATCH 011/270] netfilter: nf_nat_sip: fix incorrect handling of EBUSY for RTCP expectation

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 3f509c689a07a4aa989b426893d8491a7ffcc410 upstream. We're hitting bug while trying to reinsert an already existing expectation: kernel BUG at kernel/timer.c:895! i

[PATCH 013/270] netfilter: nf_ct_expect: fix possible access to uninitialized timer

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Pablo Neira Ayuso commit 2614f86490122bf51eb7c12ec73927f1900f4e7d upstream. In __nf_ct_expect_check, the function refresh_timer returns 1 if a matching expectation is found and its timer i

[PATCH 016/270] netfilter: nfnetlink_log: fix NLA_PUT macro removal bug

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Patrick McHardy commit 2dba62c30ec3040ef1b647a8976fd7e6854cc7a7 upstream. Commit 1db20a52 (nfnetlink_log: Stop using NLA_PUT*().) incorrectly converted a NLA_PUT_BE16 macro to nla_put_be32

[PATCH 021/270] NFSD: pass null terminated buf to kstrtouint()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Malahal Naineni commit 9959ba0c241a71c7ed8133401cfbbee2720da0b5 upstream. The 'buf' is prepared with null termination with intention of using it for this purpose, but 'name' is passed inst

[PATCH 023/270] target: support zero allocation length in INQUIRY

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit ffe7b0e9326d9c68f5688bef691dd49f1e0d3651 upstream. INQUIRY processing already uses an on-heap bounce buffer for loopback, but not for other fabrics. Switch this to a

[PATCH 036/270] kbuild: Do not package /boot and /lib in make tar-pkg

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Michal Marek commit fe04ddf7c2910362f3817c8156e41cbd6c0ee35d upstream. There were reports of users destroying their Fedora installs by a kernel tarball that replaces the /lib -> /usr/lib s

[PATCH 034/270] iscsi-target: Correctly set 0xffffffff field within ISCSI_OP_REJECT PDU

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit f25590f39d543272f7ae7b00d533359c8d7ff331 upstream. This patch adds a missing iscsi_reject-> assignment within iscsit_send_reject() code to properly follow

[PATCH 030/270] block: lift the initial queue bypass mode on blk_register_queue() instead of blk_init_allocated_queue()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 749fefe6778e98dfefe3b8bb72a93875196ec554 upstream. b82d4b197c ("blkcg: make request_queue bypassing on allocation") made request_queues bypassed on allocation to avoid swi

[PATCH 028/270] ext4: remove erroneous ext4_superblock_csum_set() in update_backups()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tao Ma commit bef53b01faeb791e27605cba1a71ba21364cb23e upstream. The update_backups() function is used to backup all the metadata blocks, so we should not take it for granted that 'data' i

Re: [PATCH v8 1/2] x86/kexec: add a new atomic notifier list for kdump

2012-11-26 Thread Eric W. Biederman
Gleb Natapov writes: > On Mon, Nov 26, 2012 at 11:43:10AM -0600, Eric W. Biederman wrote: >> Gleb Natapov writes: >> >> > On Mon, Nov 26, 2012 at 09:08:54AM -0600, Eric W. Biederman wrote: >> >> Zhang Yanfei writes: >> >> >> >> > This patch adds an atomic notifier list named crash_notifier_li

Re: [PATCH 1/2] vfio powerpc: implemented IOMMU driver for VFIO

2012-11-26 Thread Alex Williamson
On Fri, 2012-11-23 at 20:03 +1100, Alexey Kardashevskiy wrote: > VFIO implements platform independent stuff such as > a PCI driver, BAR access (via read/write on a file descriptor > or direct mapping when possible) and IRQ signaling. > > The platform dependent part includes IOMMU initialization >

[PATCH 018/270] net: fix secpath kmemleak

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit 3d861f661006606bf159fd6bd973e83dbf21d0f9 upstream. Mike Kazantsev found 3.5 kernels and beyond were leaking memory, and tracked the faulty commit to a1c7fff7e18f59e ("n

Re: [PATCH] of: When constructing the bus id consider assigned-addresses as well

2012-11-26 Thread Jason Gunthorpe
On Mon, Nov 26, 2012 at 02:03:16PM +, Grant Likely wrote: > On Wed, 21 Nov 2012 14:02:40 -0700, Jason Gunthorpe > wrote: > > 'assigned-addresses' is used for certain PCI device type nodes in > > lieu of 'reg', since this is enforced by of/address.c, have > > of_device_make_bus_id look there

[PATCH 006/270] eCryptfs: Initialize empty lower files when opening them

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit e3ccaa9761200952cc269b1f4b7d7bb77a5e071b upstream. Historically, eCryptfs has only initialized lower files in the ecryptfs_create() path. Lower file initialization is th

[PATCH 009/270] eCryptfs: Call lower ->flush() from ecryptfs_flush()

2012-11-26 Thread Herton Ronaldo Krzesinski
3.5.7u1 -stable review patch. If anyone has any objections, please let me know. -- From: Tyler Hicks commit 64e6651dcc10e9d2cc6230208a8e6c2cfd19ae18 upstream. Since eCryptfs only calls fput() on the lower file in ecryptfs_release(), eCryptfs should call the lower filesystem's

Re: [PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-26 Thread Johannes Weiner
On Mon, Nov 26, 2012 at 07:04:44PM +0100, Michal Hocko wrote: > On Mon 26-11-12 12:46:22, Johannes Weiner wrote: > > On Mon, Nov 26, 2012 at 02:18:37PM +0100, Michal Hocko wrote: > > > [CCing also Johannes - the thread started here: > > > https://lkml.org/lkml/2012/11/21/497] > > > > > > On Mon 26

Re: your mail

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 10:14:44PM +0400, Vasiliy Tolstov wrote: > Hello, Greg. Hello kernel team! I'm system enginer at clodo.ru (russian cloud > hosting provider) we are use xen and sles11-sp2 for our compute xen nodes. > Each virtual machine (domU) have disks that attached by Infiniband SRP. On

Re: linux-next: manual merge of the akpm tree with the userns tree

2012-11-26 Thread Eric W. Biederman
Stephen Rothwell writes: > Hi Andrew, > > Today's linux-next merge of the akpm tree got a conflict in kernel/fork.c > between commit b2e0d98705e6 ("userns: Implement unshare of the user > namespace") from the userns tree and commit ("fork: unshare: remove dead > cod") from the akpm tree. > > I f

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread Johannes Weiner
Hi George, On Mon, Nov 26, 2012 at 08:05:04AM -0500, George Spelvin wrote: > Mel Gorman wrote: > > Ok, can you try this patch from Rik on top as well please? This is in > > addition to Dave Hansen's accounting fix. > > > > ---8<--- > > From: Rik van Riel > > Subject: mm,vmscan: only loop back i

Re: sles 11 sp2 srp and multipath issues

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 10:21:15PM +0400, Vasiliy Tolstov wrote: > Hello, Greg. Hello kernel team! Hey, 3rd time's a charm to get the email through :) > I'm system enginer at clodo.ru > (russian cloud hosting provider) we are use xen and sles11-sp2 for our > compute xen nodes. > Each virtual mach

Re: [PATCH] bonding: in balance-rr mode, set curr_active_slave only if it is up

2012-11-26 Thread Jay Vosburgh
Michal Kubecek wrote: >If all slaves of a balance-rr bond with ARP monitor are enslaved >with down link state, bond keeps down state even after slaves >go up. > >This is caused by bond_enslave() setting curr_active_slave to >first slave not taking into account its link state. As >bond_loadbalance

[PATCH] acer-wmi: add Aspire 5741G touchpad toggle key

2012-11-26 Thread Sergey Senozhatsky
Add Aspire 5741G KEY_TOUCHPAD_TOGGLE to wmi keymap, preventing "acer_wmi: Unknown key number - 0x85" error. Signed-off-by: Sergey Senozhatsky --- drivers/platform/x86/acer-wmi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi

Re: [RFC PATCH 02/06] input/rmi4: Core files

2012-11-26 Thread Benjamin Tissoires
Hi Christopher, On Sat, Nov 17, 2012 at 4:58 AM, Christopher Heiny wrote: > rmi_bus.c implements the basic functionality of the RMI bus. This file is > greatly simplified compared to the previous patch - we've switched from > "do it yourself" device/driver binding to using device_type to disting

Re: [ 11/83] module: fix out-by-one error in kallsyms

2012-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2012 at 07:35:36PM +0900, satoru takeuchi wrote: > Hi, > > 2012/11/22 Greg Kroah-Hartman : > > 3.6-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Rusty Russell > > > > commit 59ef28b1f14899b10d6b2682c7057ca00a9a3f47

Re: [ 35/83] ARM: imx: ehci: fix host power mask bit

2012-11-26 Thread Greg Kroah-Hartman
On Wed, Nov 21, 2012 at 11:52:25PM -0500, Michael D. Burkey wrote: > This patch is definitely needed -- it is obviously setting the wrong > bit -- but I am still doing testing to see what other complications > may arise from actually setting the RIGHT bit (i.e. I've seen some > odd results so far

[PATCH] ds1374: add support of device tree

2012-11-26 Thread Philippe Reynes
Signed-off-by: Philippe Reynes --- drivers/rtc/rtc-ds1374.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/rtc/rtc-ds1374.c b/drivers/rtc/rtc-ds1374.c index 9663160..174c532 100644 --- a/drivers/rtc/rtc-ds1374.c +++ b/drivers/rtc/rtc-ds1374.c @@ -49,6 +49,

Re: [ 05/38] ptp: update adjfreq callback description

2012-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2012 at 10:26:01PM -0200, Herton Ronaldo Krzesinski wrote: > On Wed, Nov 21, 2012 at 04:39:48PM -0800, Greg Kroah-Hartman wrote: > > 3.0-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Jacob Keller > > > > commit 8

rework mem_cgroup iterator

2012-11-26 Thread Michal Hocko
Hi all, this is a second version of the patchset previously posted here: https://lkml.org/lkml/2012/11/13/335 The patch set tries to make mem_cgroup_iter saner in the way how it walks hierarchies. css->id based traversal is far from being ideal as it is not deterministic because it depends on the

[patch v2 2/6] memcg: keep prev's css alive for the whole mem_cgroup_iter

2012-11-26 Thread Michal Hocko
css reference counting keeps the cgroup alive even though it has been already removed. mem_cgroup_iter relies on this fact and takes a reference to the returned group. The reference is then released on the next iteration or mem_cgroup_iter_break. mem_cgroup_iter currently releases the reference rig

[patch v2 1/6] memcg: synchronize per-zone iterator access by a spinlock

2012-11-26 Thread Michal Hocko
per-zone per-priority iterator is aimed at coordinating concurrent reclaimers on the same hierarchy (or the global reclaim when all groups are reclaimed) so that all groups get reclaimed evenly as much as possible. iter->position holds the last css->id visited and iter->generation signals the compl

[patch v2 6/6] cgroup: remove css_get_next

2012-11-26 Thread Michal Hocko
Now that we have generic and well ordered cgroup tree walkers there is no need to keep css_get_next in the place. Signed-off-by: Michal Hocko --- include/linux/cgroup.h |7 --- kernel/cgroup.c| 49 2 files changed, 56 deletions(-

[patch v2 5/6] memcg: further simplify mem_cgroup_iter

2012-11-26 Thread Michal Hocko
mem_cgroup_iter basically does two things currently. It takes care of the house keeping (reference counting, raclaim cookie) and it iterates through a hierarchy tree (by using cgroup generic tree walk). The code would be much more easier to follow if we move the iteration outside of the function (t

[patch v2 3/6] memcg: rework mem_cgroup_iter to use cgroup iterators

2012-11-26 Thread Michal Hocko
mem_cgroup_iter curently relies on css->id when walking down a group hierarchy tree. This is really awkward because the tree walk depends on the groups creation ordering. The only guarantee is that a parent node is visited before its children. Example 1) mkdir -p a a/d a/b/c 2) mkdir -a a/b/c a/d

[patch v2 4/6] memcg: simplify mem_cgroup_iter

2012-11-26 Thread Michal Hocko
Current implementation of mem_cgroup_iter has to consider both css and memcg to find out whether no group has been found (css==NULL - aka the loop is completed) and that no memcg is associated with the found node (!memcg - aka css_tryget failed because the group is no longer alive). This leads to a

Re: [PATCH] UAPI: (Scripted) Disintegrate include/rdma

2012-11-26 Thread Roland Dreier
Thanks, applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: 3.7-rc6 soft lockup in kswapd0

2012-11-26 Thread George Spelvin
Johannes Weiner wrote: > Any chance you could test with this fix instead, in addition to Dave's > accounting fix? It's got bool and everything! Okay. Mel, speak up if you object. I also rebased on top of 3.7-rc7, which already includes Dave's fix. Again, speak up if that's a bad idea. > ---

Re: [ 37/38] PCI : ability to relocate assigned pci-resources

2012-11-26 Thread Greg Kroah-Hartman
On Sat, Nov 24, 2012 at 09:41:41AM +0800, Ram Pai wrote: > On Fri, Nov 23, 2012 at 11:29:20AM -0200, Herton Ronaldo Krzesinski wrote: > > On Wed, Nov 21, 2012 at 04:40:20PM -0800, Greg Kroah-Hartman wrote: > > > 3.0-stable review patch. If anyone has any objections, please let me > > > know. > >

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2012 at 11:09:37AM +0800, Huang Ying wrote: > On Fri, 2012-11-23 at 02:35 +, Ben Hutchings wrote: > > On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > > > 3.0-stable review patch. If anyone has any objections, please let me > > > know. > > > > > > --

Re: [ 117/171] libceph: drop ceph_con_get/put helpers and nref member

2012-11-26 Thread Greg Kroah-Hartman
On Fri, Nov 23, 2012 at 11:41:47AM -0200, Herton Ronaldo Krzesinski wrote: > On Wed, Nov 21, 2012 at 04:41:03PM -0800, Greg Kroah-Hartman wrote: > > 3.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Sage Weil > > > > (cherry pic

Re: [PATCH 2/3] cputime: Rename thread_group_times to thread_group_cputime_adjusted

2012-11-26 Thread Steven Rostedt
On Fri, 2012-11-23 at 15:21 +0100, Frederic Weisbecker wrote: > We have thread_group_cputime() and thread_group_times(). The naming > doesn't provide enough information about the difference between > these two APIs. > > To lower the confusion, rename thread_group_times() to > thread_group_cputime_

Re: [RFC PATCH 0/5] enable runnable load avg in load balance

2012-11-26 Thread Benjamin Segall
So, I've been trying out using the runnable averages for load balance in a few ways, but haven't actually gotten any improvement on the benchmarks I've run. I'll post my patches once I have the numbers down, but it's generally been about half a percent to 1% worse on the tests I've tried. The basi

Re: [PATCH -mm] memcg: do not trigger OOM from add_to_page_cache_locked

2012-11-26 Thread Michal Hocko
On Mon 26-11-12 13:24:21, Johannes Weiner wrote: > On Mon, Nov 26, 2012 at 07:04:44PM +0100, Michal Hocko wrote: > > On Mon 26-11-12 12:46:22, Johannes Weiner wrote: [...] > > > I think global oom already handles this in a much better way: invoke > > > the OOM killer, sleep for a second, then retur

Re: [PATCH V2 Resend 0/4] Create sched_select_cpu() and use it for workqueues and timers

2012-11-26 Thread Paul E. McKenney
On Mon, Nov 26, 2012 at 12:35:52PM -0500, Steven Rostedt wrote: > On Mon, 2012-11-26 at 09:03 -0800, Paul E. McKenney wrote: > > > > If I understand correctly (though also suffering turkey OD), the idea is > > to offload work to more energy-efficient CPUs. > > This is determined by a CPU that is

[PATCH -next] tty/serial: fix ifx6x60.c declaration warning

2012-11-26 Thread Randy Dunlap
|3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- linux-next-20121126.orig/drivers/tty/serial/ifx6x60.c +++ linux-next-20121126/drivers/tty/serial/ifx6x60.c @@ -510,10 +510,11 @@ static int ifx_spi_write(struct tty_stru unsigned char *tmp_buf = (unsigned char *)buf

Re: [ 02/38] PCI/PM: Fix deadlock when unbinding device if parent in D3cold

2012-11-26 Thread Greg Kroah-Hartman
On Mon, Nov 26, 2012 at 10:55:05AM -0800, Greg Kroah-Hartman wrote: > On Fri, Nov 23, 2012 at 11:09:37AM +0800, Huang Ying wrote: > > On Fri, 2012-11-23 at 02:35 +, Ben Hutchings wrote: > > > On Wed, 2012-11-21 at 16:39 -0800, Greg Kroah-Hartman wrote: > > > > 3.0-stable review patch. If anyon

Re: [PATCH 6/8] mmc: use the new

2012-11-26 Thread David Brown
On Fri, Nov 23, 2012 at 04:08:28PM +0100, Davide Ciminaghi wrote: > From: Alessandro Rubini > > Signed-off-by: Alessandro Rubini > Acked-by: Giancarlo Asnaghi > --- > drivers/mmc/host/msm_sdcc.c |2 +- Acked-by: David Brown -- The Qualcomm Innovation Center, Inc. is a member of the Code

<    1   2   3   4   5   6   7   8   9   10   >