[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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:

[ 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.

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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:

[ 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

[ 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.

[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

[ 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

[ 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

[ 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:

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. > >

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, > >> > >

[ 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

[ 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.

[ 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:

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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

[ 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.

[ 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

[ 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

[ 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

[ 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

[ 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:

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

[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] 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

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 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

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

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

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

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:

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

[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

[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,

[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

[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

[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

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

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

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,

[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] 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

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 > >

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 > --- >

[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 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

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

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

[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

[PATCH] tun: only queue packets on device

2012-12-03 Thread Michael S. Tsirkin
Historically tun supported two modes of operation: - in default mode, a small number of packets would get queued at the device, the rest would be queued in qdisc - in one queue mode, all packets would get queued at the device This might have made sense up to a point where we made the queue

Re: kswapd craziness in 3.7

2012-12-03 Thread Jiri Slaby
On 11/27/2012 09:48 PM, Johannes Weiner wrote: > I hope I included everybody that participated in the various threads > on kswapd getting stuck / exhibiting high CPU usage. We were looking > at at least three root causes as far as I can see, so it's not really > clear who observed which problem.

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

2012-12-03 Thread Wei Yongjun
From: Wei Yongjun The variable card is initialized but never used otherwise, so remove the unused variable. Signed-off-by: Wei Yongjun --- drivers/firewire/net.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/firewire/net.c b/drivers/firewire/net.c index 638e1f7..e7a711f5 100644

Fedora repo (was: Re: kswapd craziness in 3.7)

2012-12-03 Thread Borislav Petkov
On Mon, Dec 03, 2012 at 09:30:12AM +0100, Thorsten Leemhuis wrote: > Np; BTW, in case anybody here on LKML cares: I started maintaining a > side repo (PPA in ubuntu speak) a few weeks ago that offers kernel > vanilla builds (mainline and stable) for the Fedora 17 and 18; see >

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

2012-12-03 Thread Jean Delvare
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 guess... > > Sure! Thanks for the review. As the driver is

Re: [PATCH 0/2] kernel BUG at mm/huge_memory.c:212!

2012-12-03 Thread Jiri Slaby
On 11/30/2012 04:03 PM, Kirill A. Shutemov wrote: > From: "Kirill A. Shutemov" > > Hi Jiri, > > Sorry for late answer. It took time to reproduce and debug the issue. > > Could you test two patches below by thread. I expect it to fix both > issues: put_huge_zero_page() and Bad rss-counter

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

2012-12-03 Thread 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 the amount of copying done by > the driver.

Re: [PATCH 026/270] powerpc/eeh: Lock module while handling EEH event

2012-12-03 Thread Herton Ronaldo Krzesinski
On Thu, Nov 29, 2012 at 05:41:12PM -0800, Greg Kroah-Hartman wrote: > On Tue, Nov 27, 2012 at 02:18:34AM +, Ben Hutchings wrote: > > [...] > > > > Greg, you probably want this in 3.4 and 3.6. > > Many thanks. Herton, any reason why you didn't forward on this > backported version of the

[PATCH v3 2/3] ARM/dts: omap3: Add support for IGEPv2 board

2012-12-03 Thread Javier Martinez Canillas
ISEE IGEPv2 is an TI OMAP3 SoC based embedded board. This patch adds an initial device tree support to boot an IGEPv2 from the MMC/SD. Currently is working everything that is supported by DT on OMAP3 SoCs (MMC/SD, GPIO LEDs, EEPROM, TWL4030 audio). Signed-off-by: Javier Martinez Canillas

[PATCH v3 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices

2012-12-03 Thread Javier Martinez Canillas
Add a generic .dtsi device tree source file for the common characteristics across IGEP Technology devices. Signed-off-by: Javier Martinez Canillas Acked-by: Matthias Brugger Tested-by: Enric Balletbo i Serra --- Changes since v2: - Associate uart3_pins in uart3 device node. - Remove

[PATCH v3 3/3] ARM/dts: omap3: Add support for IGEP COM Module

2012-12-03 Thread Javier Martinez Canillas
ISEE IGEP COM Module is an TI OMAP3 SoC computer on module. This patch adds an initial device tree support to boot an IGEP COM Module from the MMC/SD. Signed-off-by: Javier Martinez Canillas Acked-by: Matthias Brugger Tested-by: Enric Balletbo i Serra --- Changes since v1: - Use

[PATCH v3 0/3] ARM/dts: omap3: Add DT support for IGEP devices

2012-12-03 Thread Javier Martinez Canillas
IGEP technology devices are TI OMAP3 SoC based industrial embedded and computer-on-module boards. This patch-set adds initial device tree support for these devices. The device trees allows to boot from an MMC and are working all the components that already have device tree support on OMAP3 SoCs:

[PATCH Resend 0/3] sched: fix nr_busy_cpus

2012-12-03 Thread Vincent Guittot
The nr_busy_cpus field of the sched_group_power is sometime different from 0 whereas the platform is fully idle. This serie fixes 3 use cases: - when the SCHED softirq is raised on an idle core for idle load balance but the platform doesn't go out of the cpuidle state - when some CPUs enter

[PATCH Resend 2/3] sched: fix init NOHZ_IDLE flag

2012-12-03 Thread Vincent Guittot
On my smp platform which is made of 5 cores in 2 clusters,I have the nr_busy_cpus field of sched_group_power struct that is not null when the platform is fully idle. The root cause seems to be: During the boot sequence, some CPUs reach the idle loop and set their NOHZ_IDLE flag while waiting for

[PATCH Resend 3/3] sched: fix update NOHZ_IDLE flag

2012-12-03 Thread Vincent Guittot
The function nohz_kick_needed modifies NOHZ_IDLE flag that is used to update the nr_busy_cpus of the sched_group. When the sched_domain are updated (because of the unplug of a CPUs as an example) a null_domain is attached to CPUs. We have to test likely(!on_null_domain(cpu) first in order to

[PATCH Resend 1/3] sched: fix nr_busy_cpus with coupled cpuidle

2012-12-03 Thread Vincent Guittot
With the coupled cpuidle driver (but probably also with other drivers), a CPU loops in a temporary safe state while waiting for other CPUs of its cluster to be ready to enter the coupled C-state. If an IRQ or a softirq occurs, the CPU will stay in this internal loop if there is no need to resched.

Re: [PATCH v2 1/3] ARM/dts: omap3: Add generic DT support for IGEP devices

2012-12-03 Thread Javier Martinez Canillas
On 12/03/2012 12:01 PM, Benoit Cousson wrote: > On 11/30/2012 11:08 AM, Javier Martinez Canillas wrote: >> Add a generic .dtsi device tree source file for the >> common characteristics across IGEP Technology devices. >> >> Signed-off-by: Javier Martinez Canillas >> Acked-by: Matthias Brugger >>

[PATCH] net/macb: increase RX buffer size for GEM

2012-12-03 Thread Nicolas Ferre
Macb Ethernet controller requires a RX buffer of 128 bytes. It is highly sub-optimal for Gigabit-capable GEM that is able to use a bigger DMA buffer. Change this constant and associated macros with data stored in the private structure. I also kept the result of buffers per page calculation to

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

2012-12-03 Thread Nicolas Ferre
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 Ferre --- drivers/net/ethernet/cadence/macb.c | 99

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

2012-12-03 Thread Nicolas Ferre
From: Havard Skinnemoen 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 the amount of copying

[no subject]

2012-12-03 Thread Ernest Wilson
REF No: L/200-26937 BATCH No: 2007MJL-01 Your e-mail address have won you 750,000 GBP in Microsoft end of year raffle draw award 2012, contact this email : (ernestwilson...@zhot.net)with your name,address,phone number and age. Regards, Ernest Wilson. -- To unsubscribe from this list:

Re: ata1: COMRESET failed

2012-12-03 Thread Borislav Petkov
On Mon, Dec 03, 2012 at 12:16:44PM +0100, Jiri Slaby wrote: > On 10/26/2012 01:56 PM, Jiri Slaby wrote: > > Hello, > > > > at every boot I'm seeing: > > > > At 5th second: > > ata1: link is slow to respond, please be patient (ready=0) > > > > At 10th second: > > ata1: COMRESET failed

Re: [PATCH V2 2/3] Remove VLAIS usage from gadget code

2012-12-03 Thread Sebastian Andrzej Siewior
On Thu, Nov 01, 2012 at 09:21:16AM +0200, Felipe Balbi wrote: > then we can merge to net tree and handle the conflicts when merging to > Linus, that'd be fine by me as long as people know how to solve the > conflict properly ;-) Felipe please drop this patch. I don't like this VLAIS patch and its

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