[PATCH] line6: Use kmemdup rather than duplicating its implementation

2012-12-03 Thread Laurent Navet
staging: line6: driver.c The semantic patch that makes this output is available in scripts/coccinelle/api/memdup.cocci. Signed-off-by: Laurent Navet --- drivers/staging/line6/driver.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/line6/driver.c b/d

Re: [PATCH v2] net/macb: Use non-coherent memory for rx buffers

2012-12-03 Thread Nicolas Ferre
On 12/03/2012 01:43 PM, David Laight : >> Allocate regular pages to use as backing for the RX ring and use the >> DMA API to sync the caches. This should give a bit better performance >> since it allows the CPU to do burst transfers from memory. It is also >> a necessary step on the way to reduce t

Re: [PATCH] atm: introduce vcc_pop_skb()

2012-12-03 Thread David Woodhouse
On Wed, 2012-11-28 at 23:33 +0100, Krzysztof Mazur wrote: > > Many ATM drivers store vcc in ATM_SKB(skb)->vcc and use it for > freeing skbs. Now they can just use atm_pop_skb() to free such > buffers. > > Signed-off-by: Krzysztof Mazur Note that this one didn't make it into the tree that Dave j

Re: [PATCH v3 07/11] ARM: davinci - restructure header files for common clock migration

2012-12-03 Thread Sekhar Nori
On 11/6/2012 3:27 AM, Murali Karicheri wrote: > On 11/04/2012 09:05 AM, Sekhar Nori wrote: [...] >> I pushed the patches I fixed to devel-common-clk branch of my git tree. >> It is build tested using davinci_all_defconfig but its not runtime >> tested. >> >> Can you start from here and provide me

[PATCH -next] tile/PCI: use for_each_pci_dev to simplify the code

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun Use for_each_pci_dev to simplify the code. Signed-off-by: Wei Yongjun --- arch/tile/kernel/pci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/tile/kernel/pci.c b/arch/tile/kernel/pci.c index 7598226..aac1cd5 100644 --- a/arch/tile/kernel/pci.c

Re: [PATCH] I2C: EXYNOS: Add slave support to i2c

2012-12-03 Thread Kyungmin Park
Hi, On Mon, Dec 3, 2012 at 9:16 PM, Giridhar Maruthy wrote: > This patch adds slave support to i2c. The dt entry i2c-mode > decides at probe time if the controller needs to work in > slave mode and the controller is accordingly programmed. > > Signed-off-by: Giridhar Maruthy > --- > drivers/i2c

Re: [PATCH 2/8] gpio: pl061 depends on ARM

2012-12-03 Thread Davide Ciminaghi
On Sat, Dec 01, 2012 at 04:11:08PM +0100, Linus Walleij wrote: > On Fri, Nov 23, 2012 at 4:08 PM, Davide Ciminaghi wrote: > > > From: Alessandro Rubini > > > > Commit dece904d (gpio: pl061: use chained_irq_* functions in irq > > handler) introduced chained_irq_enter/exit, which is only > > avail

Re: [PATCH] stable: uio: Fix warning: 'ret' might be used uninitialized

2012-12-03 Thread Ben Hutchings
On Mon, 2012-12-03 at 08:41 +0100, Hans J. Koch wrote: > In two cases, the return value variable "ret" can be undefined. > > Signed-off-by: Hans J. Koch > Reported-by: Vitalii Demianets [...] This is not the correct way to submit patches to stable. See Documentation/stable_kernel_rules.txt Be

[GIT PULL] UAPI: Disintegrate arch/x86/include/asm

2012-12-03 Thread David Howells
/git/davem/net (2012-12-02 16:39:00 -0800) are available in the git repository at: git://git.infradead.org/users/dhowells/linux-headers.git tags/disintegrate-x86-20121203 for you to fetch changes up to 7c258580403f18c0b326290253a04a8e38379663: UAPI: (Scripted) Disintegrate arch/x86/include

Re: [PATCH 00/10] Latest numa/core release, v18

2012-12-03 Thread Mel Gorman
On Fri, Nov 30, 2012 at 12:37:49PM -0800, Linus Torvalds wrote: > On Fri, Nov 30, 2012 at 11:58 AM, Ingo Molnar wrote: > > > > When pushed hard enough via threaded workloads (for example via the > > numa02 test) then the upstream page migration code in mm/migration.c > > becomes unscalable, result

Re: [PATCH v3] i2c-hid: introduce HID over i2c specification implementation

2012-12-03 Thread Benjamin Tissoires
On Mon, Dec 3, 2012 at 2:02 PM, Jean Delvare wrote: > Hi Benjamin, > > On Mon, 3 Dec 2012 12:32:03 +0100, Benjamin Tissoires wrote: >> Hi Jean, >> >> On Fri, Nov 30, 2012 at 3:56 PM, Jean Delvare wrote: >> > Hi Benjamin, Jiri, >> > >> > Sorry for the late review. But better late than never I gues

Re: [PATCH v9 1/2] x86/kexec: VMCLEAR VMCSs loaded on all cpus if necessary

2012-12-03 Thread Gleb Natapov
On Tue, Nov 27, 2012 at 02:18:47PM +0200, Gleb Natapov wrote: > Eric, can you ACK it? > Eric, ping. > On Tue, Nov 27, 2012 at 11:26:02AM +0800, Zhang Yanfei wrote: > > This patch provides a way to VMCLEAR VMCSs related to guests > > on all cpus before executing the VMXOFF when doing kdump. This >

[PATCH 0/4] sched: fork/exec/wake clean up

2012-12-03 Thread Alex Shi
This patchset try to clean up select_task_rq_fair which used for fork/exec/wake scheduling. With this patchset, our system NHM EX and SNB EP 4 socket machine has 10% hackbench performance increase. Regards Alex [PATCH 01/4] sched: select_task_rq_fair clean up [PATCH 02/4] sched: fix find_idlest

[PATCH 04/10] sched: remove domain iterations in fork/exec/wake

2012-12-03 Thread Alex Shi
Guess the search cpu from bottom to up in domain tree come from commit 3dbd5342074a1e sched: multilevel sbe sbf, the purpose is balancing over tasks on all level domains. This balancing cost much if there has many domain/groups in a large system. And force spreading task among different domains ma

[PATCH 01/10] sched: select_task_rq_fair clean up

2012-12-03 Thread Alex Shi
It is impossible to miss a task allowed cpu in a eligible group. And since find_idlest_group only return a different group which excludes old cpu, it's also imporissible to find a new cpu same as old cpu. Signed-off-by: Alex Shi --- kernel/sched/fair.c |5 - 1 files changed, 0 insertion

[PATCH 02/10] sched: fix find_idlest_group mess logical

2012-12-03 Thread Alex Shi
There is 4 situations in the function: 1, no task allowed group; so min_load = ULONG_MAX, this_load = 0, idlest = NULL 2, only local group task allowed; so min_load = ULONG_MAX, this_load assigned, idlest = NULL 3, only non-local task group allowed; so min_load assigned, thi

[PATCH 03/10] sched: don't need go to smaller sched domain

2012-12-03 Thread Alex Shi
If parent sched domain has no task allowed cpu find. neither find in it's child. So, go out to save useless checking. Signed-off-by: Alex Shi --- kernel/sched/fair.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index b40b

Re: [PATCH 1/2] mm/rmap: Convert the struct anon_vma::mutex to an rwsem

2012-12-03 Thread Mel Gorman
On Sat, Dec 01, 2012 at 09:10:30PM +0100, Ingo Molnar wrote: > > Convert the struct anon_vma::mutex to an rwsem, which will help > in solving a page-migration scalability problem. (Addressed in > a separate patch.) > > The conversion is simple and straightforward: in every case > where we mutex_l

Re: [PATCH] net/macb: Use dmapool to align descriptors on 64bits

2012-12-03 Thread Ben Hutchings
On Mon, 2012-12-03 at 13:15 +0100, Nicolas Ferre wrote: > Depending on datapath, some revisions of GEM need > 64bits aligned descriptors. Use dmapool to allocate > these descriptors. > Note that different size between RX and TX rings > leads to the creation of two pools. > > Signed-off-by: Nicolas

Re: [PATCH -next] firewire: net: remove unused variable in fwnet_receive_broadcast()

2012-12-03 Thread Stefan Richter
On Dec 03 Wei Yongjun wrote: > The variable card is initialized but never used > otherwise, so remove the unused variable. Committed to linux1394.git. -- Stefan Richter -=-===-- ==-- ---== http://arcgraph.de/sr/ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the

Re: [PATCH v2 1/3] leds: leds-pwm: Convert to use devm_get_pwm

2012-12-03 Thread Peter Ujfalusi
Hi Bryan, On 11/14/2012 02:14 AM, Bryan Wu wrote: > On Mon, Nov 12, 2012 at 6:41 AM, Peter Ujfalusi wrote: >> Update the driver to use the new API for requesting pwm so we can take >> advantage of the pwm_lookup table to find the correct pwm to be used for the >> LED functionality. >> If the devm

Re: How about a gpio_get(device *, char *) function?

2012-12-03 Thread Grant Likely
On Sat, 1 Dec 2012 19:41:39 +0100, Linus Walleij wrote: > On Thu, Nov 29, 2012 at 6:34 PM, Grant Likely > wrote: > > On Wed, 28 Nov 2012 12:38:38 +0900, Alex Courbot > > wrote: > >> On Monday 26 November 2012 19:14:31 Grant Likely wrote: > >> > I don't have any problem with a gpio_get functio

Re: [PATCH 2/2] mm/migration: Make rmap_walk_anon() and try_to_unmap_anon() more scalable

2012-12-03 Thread Mel Gorman
On Sat, Dec 01, 2012 at 09:15:38PM +0100, Ingo Molnar wrote: > > Note, with this optimization I went a farther than the > boundaries of the migration code - it seemed worthwile to do and > I've reviewed all the other users of page_lock_anon_vma() as > well and none seemed to be modifying the li

Re: switcheroo registration vs switching race...

2012-12-03 Thread Daniel J Blueman
On 3 December 2012 19:17, Takashi Iwai wrote: > At Wed, 28 Nov 2012 09:45:39 +0100, > Takashi Iwai wrote: >> >> At Wed, 28 Nov 2012 11:45:07 +0800, >> Daniel J Blueman wrote: >> > >> > Hi Seth, Dave, Takashi, >> > >> > If I power down the unused discrete GPU before lightdm starts by >> > fiddling

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

2012-12-03 Thread Grant Likely
On Fri, 30 Nov 2012 17:49:48 -0700, Jason Gunthorpe wrote: > On Fri, Nov 30, 2012 at 09:48:05AM +, Grant Likely wrote: > > > > If you attempt to stick a 'reg' in a block nested below a > > > 'device_type="pci"' the kernel throws lots of error messsages and > > > generates bad address mapping

[GIT PULL for 3.8-final] media-fixes

2012-12-03 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media v4l_for_linus For some driver fixes for s5p/exynos (mostly race fixes). Thanks! Mauro - The following changes since commit 86163adb8125a4ce85e0b23a50be82bd8c0daf95: [media] rtl28xxu: 0ccd:00d7

RE: [PATCH v2] net/macb: Use non-coherent memory for rx buffers

2012-12-03 Thread David Laight
> On 12/03/2012 01:43 PM, David Laight : > >> Allocate regular pages to use as backing for the RX ring and use the > >> DMA API to sync the caches. This should give a bit better performance > >> since it allows the CPU to do burst transfers from memory. It is also > >> a necessary step on the way t

[ 01/89] UBIFS: introduce categorized lprops counter

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit 98a1eebda3cb2a84ecf1f219bb3a95769033d1bf upstream. This commit is a preparation for a subsequent bugfix. We introduce a counter for categorized lprops. Signed-off-by: A

[ 08/89] s390/signal: set correct address space control

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Martin Schwidefsky commit fa968ee215c0ca91e4a9c3a69ac2405aae6e5d2f upstream. If user space is running in primary mode it can switch to secondary or access register mode, this is used e.g. in th

[ 86/89] mm: soft offline: split thp at the beginning of soft_offline_page()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Naoya Horiguchi commit 783657a7dc20e5c0efbc9a09a9dd38e238a723da upstream. When we try to soft-offline a thp tail page, put_page() is called on the tail page unthinkingly and VM_BUG_ON is trigge

[ 83/89] futex: avoid wake_futex() for a PI futex_q

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Darren Hart commit aa10990e028cac3d5e255711fb9fb47e00700e35 upstream. Dave Jones reported a bug with futex_lock_pi() that his trinity test exposed. Sometime between queue_me() and taking the q

[ 65/89] md: Reassigned the parameters if read_seqretry returned true in func md_is_badblock.

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: majianpeng commit ab05613a0646dcc11049692d54bae76ca9ffa910 upstream. This bug was introduced by commit(v3.0-rc7-126-g2230dfe). So fix is suitable for 3.0.y thru 3.6.y. Signed-off-by: Jianpeng

[ 67/89] drm/radeon: properly track the crtc not_enabled case evergreen_mc_stop()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 804cc4a0ad3a896ca295f771a28c6eb36ced7903 upstream. The save struct is not initialized previously so explicitly mark the crtcs as not used when they are not in use. Signed-o

[ 53/89] mac80211: deinitialize ibss-internals after emptiness check

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Simon Wunderlich commit b78a4932f5fb11fadf41e69c606a33fa6787574c upstream. The check whether the IBSS is active and can be removed should be performed before deinitializing the fields used for

[ 20/89] x86, mm: Undo incorrect revert in arch/x86/mm/init.c

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit f82f64dd9f485e13f29f369772d4a0e868e5633a upstream. Commit 844ab6f9 x86, mm: Find_early_table_space based on ranges that are actually being mapped added back some lines

[ 26/89] net: correct check in dev_addr_del()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Pirko [ Upstream commit a652208e0b52c190e57f2a075ffb5e897fe31c3b ] Check (ha->addr == dev->dev_addr) is always true because dev_addr_init() sets this. Correct the check to behave properly

[ 28/89] usb: use usb_serial_put in usb_serial_probe errors

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Safrata commit 0658a3366db7e27fa32c12e886230bb58c414c92 upstream. The use of kfree(serial) in error cases of usb_serial_probe was invalid - usb_serial structure allocated in create_serial()

[ 24/89] ipv4: avoid undefined behavior in do_ip_setsockopt()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Xi Wang [ Upstream commit 0c9f79be295c99ac7e4b569ca493d75fdcc19e4e ] (1< Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- net/ipv4/ip_sockglue.c | 33 +

[ 30/89] Input: i8042 - also perform controller reset when suspending

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Torokhov commit 1729ad1f4f9e167ade84ca8b5269695c42351160 upstream. In addition to some laptops needing i8042 reset after resuming from S2R to get their touchpads working there is another

[ 22/89] netfilter: Validate the sequence number of dataless ACK packets as well

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik commit 4a70bbfaef0361d27272629d1a250a937edcafe4 upstream. We spare nothing by not validating the sequence number of dataless ACK packets and enabling it makes harder off-path a

[ 23/89] netfilter: nf_nat: dont check for port change on ICMP tuples

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Ulrich Weber commit 38fe36a248ec3228f8e6507955d7ceb0432d2000 upstream. ICMP tuples have id in src and type/code in dst. So comparing src.u.all with dst.u.all will always fail here and ip_xfrm_m

[ 21/89] netfilter: Mark SYN/ACK packets as invalid from original direction

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jozsef Kadlecsik commit 64f509ce71b08d037998e93dd51180c19b2f464c upstream. Clients should not send such packets. By accepting them, we open up a hole by wich ephemeral ports can be discovered i

[ 25/89] ipv6: setsockopt(IPIPPROTO_IPV6, IPV6_MINHOPCOUNT) forgot to set return value

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Frederic Sowa [ Upstream commit d4596bad2a713fcd0def492b1960e6d899d5baa8 ] Cc: Stephen Hemminger Signed-off-by: Hannes Frederic Sowa Signed-off-by: David S. Miller Signed-off-by: Ben

[ 29/89] PCI : Calculate right add_size

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Yinghai Lu commit a4ac9fea016fc5c09227eb479bd35e34978323a4 upstream. During debug of one SRIOV enabled hotplug device, we found found that add_size is not passed properly. The device has devic

[ 27/89] net-rps: Fix brokeness causing OOO packets

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tom Herbert [ Upstream commit baefa31db2f2b13a05d1b81bdf2d20d487f58b0a ] In commit c445477d74ab3779 which adds aRFS to the kernel, the CPU selected for RFS is not set correctly when CPU is chan

[ 47/89] watchdog: using u64 in get_sample_period()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Chuansheng Liu commit 8ffeb9b0e6369135bf03a073514f571ef10606b9 upstream. In get_sample_period(), unsigned long is not enough: watchdog_thresh * 2 * (NSEC_PER_SEC / 5) case1: watchdog_thre

[ 33/89] drm/i915: Check VBIOS value for determining LVDS dual channel mode, too

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit b03543857fd75876b96e10d4320b775e95041bb7 upstream. Currently i915 driver checks [PCH_]LVDS register bits to decide whether to set up the dual-link or the single-link mode.

[ 41/89] watchdog: iTCO_wdt: add Intel Lynx Point DeviceIDs

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Seth Heasley commit 84e83c2846ffb42772056a0f825d8578dc92d586 upstream. This patch adds the TCO Watchdog DeviceIDs for the Intel Lynx Point PCH. Signed-off-by: Seth Heasley Signed-off-by: Wim

Re: switcheroo registration vs switching race...

2012-12-03 Thread Takashi Iwai
At Mon, 3 Dec 2012 22:25:52 +0800, Daniel J Blueman wrote: > > On 3 December 2012 19:17, Takashi Iwai wrote: > > At Wed, 28 Nov 2012 09:45:39 +0100, > > Takashi Iwai wrote: > >> > >> At Wed, 28 Nov 2012 11:45:07 +0800, > >> Daniel J Blueman wrote: > >> > > >> > Hi Seth, Dave, Takashi, > >> > > >>

Re: MIPS Function Tracer question

2012-12-03 Thread Steven Rostedt
On Thu, 2012-11-29 at 15:00 -0800, David Daney wrote: > On 11/29/2012 01:04 PM, Alan Cooper wrote: > > I've been doing some testing of the MIPS Function Tracer functionality > > on the 3.3 kernel. I was surprised to find that the option to generate > > frame pointers was required for tracing. > >

[ 36/89] HID: add quirk for Freescale i.MX28 ROM recovery

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Marek Vasut commit 2843b673d03421e0e73cf061820d1db328f7c8eb upstream. The USB recovery mode present in i.MX28 ROM emulates USB HID. It needs this quirk to behave properly. Signed-off-by: Marek

[ 40/89] ptp: update adjfreq callback description

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller commit 87f4d7c1d36f44b0822053b7e5dedc31fdd0ab99 upstream. This patch updates the adjfreq callback description to include a note that the delta in ppb is always relative to the base

[ 49/89] mtd: ofpart: Fix incorrect NULL check in parse_ofoldpart_partitions()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sachin Kamat commit 5a6ea4af0907f995dc06df21a9c9ef764c7cd3bc upstream. The pointer returned by kzalloc should be tested for NULL to avoid potential NULL pointer dereference later. Incorrect poi

[GIT PULL for 3.8-final] EDAC fixes

2012-12-03 Thread Mauro Carvalho Chehab
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-edac.git master For one EDAC core fix, and a few driver fixes (i7300, i9275x, i7core). Thank you! Mauro The following changes since commit a0d271cbfed1dd50278c6b06bead3d00ba0a88f9: Linux 3.6 (2012-09-3

[ 37/89] brcm80211: smac: only print block-ack timeout message at trace level

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Arend van Spriel commit 2b0a53d51b5f263bb581bbdb40ebb9f7e09609b1 upstream. In regular use block-ack timeouts can happen so it does not make sense to fill the log with these messages. Reviewed-

[ 48/89] x86, amd: Disable way access filter on Piledriver CPUs

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Andre Przywara commit 2bbf0a1427c377350f001fbc6260995334739ad7 upstream. The Way Access Filter in recent AMD CPUs may hurt the performance of some workloads, caused by aliasing issues in the L1

[ 31/89] ixgbe: add support for new 82599 device id

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Emil Tantilov commit 9e791e4a04c08868f02cd579a428a7268492e1b4 upstream. Support for new 82599 based quad port adapter. Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jef

[ 39/89] GFS2: Test bufdata with buffer locked and gfs2_log_lock held

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Marzinski commit 96e5d1d3adf56f1c7eeb07258f6a1a0a7ae9c489 upstream. In gfs2_trans_add_bh(), gfs2 was testing if a there was a bd attached to the buffer without having the gfs2_log_lock

[ 35/89] m68k: fix sigset_t accessor functions

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab commit 34fa78b59c52d1db3513db4c1a999db26b2e9ac2 upstream. The sigaddset/sigdelset/sigismember functions that are implemented with bitfield insn cannot allow the sigset argument t

[ 38/89] bas_gigaset: fix pre_reset handling

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Tilman Schmidt commit c6fdd8e5d0c65bb8821dc6da26ee1a2ddd58b3cc upstream. The delayed work function int_in_work() may call usb_reset_device() and thus, indirectly, the driver's pre_reset method.

[ 32/89] ixgbe: add support for X540-AT1

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "joshua.a@intel.com" commit df376f0de167754da9b3ece4afdb5bb8bf3fbf3e upstream. This patch adds device support for Ethernet Controller X540-AT1. Signed-off-by: Josh Hay Tested-by: Phil Sch

[ 51/89] jffs2: Fix lock acquisition order bug in jffs2_write_begin

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Betker commit 5ffd3412ae5536a4c57469cb8ea31887121dcb2e upstream. jffs2_write_begin() first acquires the page lock, then f->sem. This causes an AB-BA deadlock with jffs2_garbage_collect_l

[ 34/89] get_dvb_firmware: fix download site for tda10046 firmware

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit 25ec43d3e6306978cf66060ed18c4160ce8fc302 upstream. The previous website doesn't exist anymore. Update it to one site that actually exists. Signed-off-by: Mauro Car

[ 45/89] x86, mce, therm_throt: Dont report power limit and package level thermal throttle events in mcelog

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Fenghua Yu commit 29e9bf1841e4f9df13b4992a716fece7087dd237 upstream. Thermal throttle and power limit events are not defined as MCE errors in x86 architecture and should not generate MCE errors

[ 42/89] acer-wmi: support for P key on TM8372

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Merlin Schumacher commit 67e1d34cd54cbf33f093f1dd53e7bda1124eb972 upstream. BugLink: http://launchpad.net/bugs/865807 There is no entry for P key on TM8372, so when P key is pressed, only "ace

[ 46/89] Input: bcm5974 - set BUTTONPAD property

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jussi Pakkanen commit 52965cc012f7a3cf35f06485ec275ebf3b3fddae upstream. Some bcm5974 trackpads have a physical button beneath the physical surface. This patch sets the property bit so user spa

[ 59/89] ALSA: ua101, usx2y: fix broken MIDI output

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch commit e99ddfde6ae0dd2662bb40435696002b590e4057 upstream. Commit 88a8516a2128 (ALSA: usbaudio: implement USB autosuspend) added autosuspend code to all files making up the snd-u

[ 44/89] xhci: Remove scary warnings about transfer issues.

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 2a9227a5eeaeb3f91e3a72ceea4fa59016ca5d20 upstream. Getting a short packet or a babble error is usually a recoverable error, so stop scaring users with warnings in dmesg when

[ 43/89] xhci: Remove warnings about MSI and MSI-X capabilities.

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Sarah Sharp commit 3b9783b277e66731891ab42eeaacebbdcdd6e629 upstream. xHCI host controllers may not be capable of MSI, but they should be able to be used in legacy PCI interrupt mode. Similarl

[ 50/89] mtd: slram: invalid checking of absolute end address

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Engelthaler commit c36a7ff4578ab6294885aef5ef241aeec4cdb1f0 upstream. Fixed parsing end absolute address. Signed-off-by: Jiri Engelthaler Signed-off-by: Artem Bityutskiy Signed-off-by:

[ 52/89] [SCSI] isci: copy fis 0x34 response into proper buffer

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Maciej Patelczyk commit 49bd665c5407a453736d3232ee58f2906b42e83c upstream. SATA MICROCODE DOWNALOAD fails on isci driver. After receiving Register Device to Host (FIS 0x34) frame Initiator rese

[ 58/89] xfs: drop buffer io reference when a bad bio is built

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit d69043c42d8c6414fa28ad18d99973aa6c1c2e24 upstream. Error handling in xfs_buf_ioapply_map() does not handle IO reference counts correctly. We increment the b_io_remaining cou

[ 55/89] rtlwifi: rtl8192cu: Add new USB ID

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Albert Pool commit a485e827f07bfdd0762059386e6e787bed6e81ee upstream. This is an ISY IWL 2000. Probably a clone of Belkin F7D1102 050d:1102. Its FCC ID is the same. Signed-off-by: Albert Pool

[ 57/89] mwifiex: report error to MMC core if we cannot suspend

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bing Zhao commit dd321acddc3be1371263b8c9e6c6f2af89f63d57 upstream. When host_sleep_config command fails we should return error to MMC core to indicate the failure for our device. The misspell

[ 56/89] mwifiex: fix system hang issue in cmd timeout error case

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Bing Zhao commit b1a47aa5e1e159e2cb06d7dfcc17ef5149b09299 upstream. Reported by Tim Shepard: I was seeing sporadic failures (wedgeups), and the majority of those failures I saw printed the prin

[ 54/89] [PARISC] fix virtual aliasing issue in get_shared_area()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit 949a05d03490e39e773e8652ccab9157e6f595b4 upstream. On Thu, 2012-11-01 at 16:45 -0700, Michel Lespinasse wrote: > Looking at the arch/parisc/kernel/sys_parisc.c implementa

[ 60/89] sparc64: not any error from do_sigaltstack() should fail rt_sigreturn()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit fae2ae2a900a5c7bb385fe4075f343e7e2d5daa2 upstream. If a signal handler is executed on altstack and another signal comes, we will end up with rt_sigreturn() on return from the sec

Re: [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

2012-12-03 Thread Will Deacon
Hi Davide, On Fri, Nov 23, 2012 at 03:08:27PM +, Davide Ciminaghi wrote: > Not all the architectures have readsl/writesl, > use the more portable ioread32_rep/iowrite32_rep functions instead. I've already got a patch for this in my io branch: https://git.kernel.org/?p=linux/kernel/git/wil

[ 61/89] reiserfs: Fix lock ordering during remount

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 3bb3e1fc47aca554e7e2cc4deeddc24750987ac2 upstream. When remounting reiserfs dquot_suspend() or dquot_resume() can be called. These functions take dqonoff_mutex which ranks above

[ 63/89] reiserfs: Protect reiserfs_quota_write() with write lock

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 361d94a338a3fd0cee6a4ea32bbc427ba228e628 upstream. Calls into reiserfs journalling code and reiserfs_get_block() need to be protected with write lock. We remove write lock aroun

[ 74/89] selinux: fix sel_netnode_insert() suspicious rcu dereference

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Dave Jones commit 88a693b5c1287be4da937699cb82068ce9db0135 upstream. === [ INFO: suspicious RCU usage. ] 3.5.0-rc1+ #63 Not tainted --- s

[ 62/89] reiserfs: Protect reiserfs_quota_on() with write lock

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit b9e06ef2e8706fe669b51f4364e3aeed58639eb2 upstream. In reiserfs_quota_on() we do quite some work - for example unpacking tail of a quota file. Thus we have to hold write lock unt

[ 66/89] md: Avoid write invalid address if read_seqretry returned true.

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: majianpeng commit 35f9ac2dcec8f79d7059ce174fd7b7ee3290d620 upstream. If read_seqretry returned true and bbp was changed, it will write invalid address which can cause some serious problem. Thi

[ 64/89] reiserfs: Move quota calls out of write lock

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 7af11686933726e99af22901d622f9e161404e6b upstream. Calls into highlevel quota code cannot happen under the write lock. These calls take dqio_mutex which ranks above write lock.

[ 73/89] ALSA: hda - Add support for Realtek ALC292

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: David Henningsson commit af02dde8a609d8d071c4b31a82df811a55690a4a upstream. We found a new codec ID 292, and that just a simple quirk would enable sound output/input on this ALC292 chip. BugLi

[ 70/89] x86-32: Export kernel_stack_pointer() for modules

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: "H. Peter Anvin" commit cb57a2b4cff7edf2a4e32c0163200e9434807e0a upstream. Modules, in particular oprofile (and possibly other similar tools) need kernel_stack_pointer(), so export it using EXP

[ 68/89] radeon: add AGPMode 1 quirk for RV250

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Paul Bolle commit 45171002b01b2e2ec4f991eca81ffd8430fd0aec upstream. The Intel 82855PM host bridge / Mobility FireGL 9000 RV250 combination in an (outdated) ThinkPad T41 needs AGPMode 1 for sus

[ 69/89] x86-32: Fix invalid stack address while in softirq

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Robert Richter commit 1022623842cb72ee4d0dbf02f6937f38c92c3f41 upstream. In 32 bit the stack address provided by kernel_stack_pointer() may point to an invalid range causing NULL pointer access

[ 78/89] [PARISC] fix user-triggerable panic on parisc

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 441a179dafc0f99fc8b3a8268eef66958621082e upstream. int sys32_rt_sigprocmask(int how, compat_sigset_t __user *set, compat_sigset_t __user *oset,

[ 77/89] ARM: Kirkwood: Update PCI-E fixup

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 1dc831bf53fddcc6443f74a39e72db5bcea4f15d upstream. - The code relies on rc_pci_fixup being called, which only happens when CONFIG_PCI_QUIRKS is enabled, so add that to

Re: [linux-keystone] Re: [linux-keystone] [PATCH] spi: davinci: add OF support for the spi controller

2012-12-03 Thread Grant Likely
On Fri, 30 Nov 2012 17:57:38 -0500, Murali Karicheri wrote: > On 11/15/2012 11:20 AM, Grant Likely wrote: > > On Mon, 12 Nov 2012 16:28:22 -0500, Murali Karicheri > > wrote: > >> This adds OF support to DaVinci SPI controller to configure platform > >> data through device bindings. > >> > >> Si

[ 80/89] block: Dont access request after it might be freed

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Roland Dreier commit 893d290f1d7496db97c9471bc352ad4a11dc8a25 upstream. After we've done __elv_add_request() and __blk_run_queue() in blk_execute_rq_nowait(), the request might finish and be fr

[ 71/89] x86, microcode, AMD: Add support for family 16h processors

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Boris Ostrovsky commit 36c46ca4f322a7bf89aad5462a3a1f61713edce7 upstream. Add valid patch size for family 16h processors. [ hpa: promoting to urgent/stable since it is hw enabling and trivial

Re: [RFC PATCH] staging, android, ashmem: invalidate pin/unpin ioctl for private map

2012-12-03 Thread JoonSoo Kim
2012/12/3 Dan Carpenter : > On Mon, Dec 03, 2012 at 09:09:59AM +0900, JoonSoo Kim wrote: >> Hello, Dan. >> >> 2012/12/2 Dan Carpenter : >> > On Sat, Dec 01, 2012 at 02:45:57AM +0900, Joonsoo Kim wrote: >> >> @@ -614,21 +616,35 @@ static int ashmem_pin_unpin(struct ashmem_area >> >> *asma, unsigned

[ 11/89] s390/gup: add missing TASK_SIZE check to get_user_pages_fast()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Carstens commit d55c4c613fc4d4ad2ba0fc6fa2b57176d420f7e4 upstream. When walking page tables we need to make sure that everything is within bounds of the ASCE limit of the task's address s

[ 02/89] UBIFS: fix mounting problems after power cuts

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Artem Bityutskiy commit a28ad42a4a0c6f302f488f26488b8b37c9b30024 upstream. This is a bugfix for a problem with the following symptoms: 1. A power cut happens 2. After reboot, we try to mount U

[ 82/89] can: bcm: initialize ifindex for timeouts without previous frame reception

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 81b401100c01d2357031e874689f89bd788d13cd upstream. Set in the rx_ifindex to pass the correct interface index in the case of a message timeout detection. Usually the rx_if

[ 72/89] ALSA: hda - Add new codec ALC283 ALC290 support

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 7ff34ad80b7080fafaac8efa9ef0061708eddd51 upstream. These are compatible with standard ALC269 parser. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by

[ 76/89] Dove: Fix irq_to_pmu()

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Russell King - ARM Linux commit d356cf5a74afa32b40decca3c9dd88bc3cd63eb5 upstream. PMU interrupts start at IRQ_DOVE_PMU_START, not IRQ_DOVE_PMU_START + 1. Fix the condition. (It may have been

[ 75/89] Dove: Attempt to fix PMU/RTC interrupts

2012-12-03 Thread Ben Hutchings
3.2-stable review patch. If anyone has any objections, please let me know. -- From: Russell King - ARM Linux commit 5d3df935426271016b895aecaa247101b4bfa35e upstream. Fix the acknowledgement of PMU interrupts on Dove: some Dove hardware has not been sensibly designed so that i

<    1   2   3   4   5   6   >