[PATCH 2/2] rtc: rtc-pxa: Make of_device_id array const

2014-06-03 Thread Jingoo Han
Make of_device_id array const, because all OF functions handle it as const. Signed-off-by: Jingoo Han jg1@samsung.com --- drivers/rtc/rtc-pxa.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rtc/rtc-pxa.c b/drivers/rtc/rtc-pxa.c index cccbf9d..4561f37 100644

[PATCH 3.11 053/138] ARM: mvebu: fix NOR bus-width in Armada XP OpenBlocks AX3 Device Tree

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni thomas.petazz...@free-electrons.com commit 6e20bae8a39c40d4e03698e4160bad2d2629062b upstream. The mvebu-devbus driver had a serious bug, which lead to a 8 bits bus

[PATCH 3.11 060/138] ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede hdego...@redhat.com commit f6e6e1b9fee88c90586787b71dc49bb3ce62bb89 upstream. Without this this EEE PC exports a non working WMI interface, with this it exports a working

[PATCH 3.11 054/138] crypto: caam - add allocation failure handling in SPRINTFCAT macro

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Horia Geanta horia.gea...@freescale.com commit 27c5fb7a84242b66bf1e0b2fe6bf40d19bcc5c04 upstream. GFP_ATOMIC memory allocation could fail. In this case, avoid NULL pointer dereference

[PATCH 3.11 058/138] NFSd: call rpc_destroy_wait_queue() from free_client()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@primarydata.com commit 4cb57e3032d4e4bf5e97780e9907da7282b02b0c upstream. Mainly to ensure that we don't leave any hanging timers. Signed-off-by: Trond

[GIT PULL] scheduler tree changes for v3.16

2014-06-03 Thread Ingo Molnar
Linus, Please pull the latest sched-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git sched-core-for-linus # HEAD: 096aa33863a5e48de52d2ff30e0801b7487944f4 sched/numa: Decay -wakee_flips instead of zeroing The main scheduling related changes in

[PATCH 3.11 057/138] NFSd: Move default initialisers from create_client() to alloc_client()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Trond Myklebust trond.mykleb...@primarydata.com commit 5694c93e6c4954fa9424c215f75eeb919bddad64 upstream. Aside from making it clearer what is non-trivial in create_client(), it also

[PATCH 3.11 055/138] [media] media-device: fix infoleak in ioctl media_enum_entities()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Salva=20Peir=C3=B3?= spe...@ai2.upv.es commit e6a623460e5fc960ac3ee9f946d3106233fd28d8 upstream. This fixes CVE-2014-1739. Signed-off-by: Salva Peiró spe...@ai2.upv.es

[PATCH 3.11 047/138] workqueue: make rescuer_thread() empty wq-maydays list before exiting

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan la...@cn.fujitsu.com commit 4d595b866d2c653dc90a492b9973a834eabfa354 upstream. After a @pwq is scheduled for emergency execution, other workers may consume the affectd

[PATCH 3.11 044/138] workqueue: fix bugs in wq_update_unbound_numa() failure path

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Daeseok Youn daeseok.y...@gmail.com commit 77f300b198f93328c26191b52655ce1b62e202cf upstream. wq_update_unbound_numa() failure path has the following two bugs. - alloc_unbound_pwq()

[PATCH 3.11 050/138] bus: mvebu-mbus: allow several windows with the same target/attribute

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni thomas.petazz...@free-electrons.com commit b566e782be32145664d96ada3e389f17d32742e5 upstream. Having multiple windows with the same target and attribute is actually

[PATCH 3.11 048/138] workqueue: fix a possible race condition between rescuer and pwq-release

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Lai Jiangshan la...@cn.fujitsu.com commit 77668c8b559e4fe2acf2a0749c7c83cde49a5025 upstream. There is a race condition between rescuer_thread() and pwq_unbound_release_workfn(). Even

[PATCH 3.11 052/138] ARM: mvebu: fix NOR bus-width in Armada XP DB Device Tree

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni thomas.petazz...@free-electrons.com commit f3aec8f3f05025e7b450102dae0759375346706e upstream. The mvebu-devbus driver had a serious bug, which lead to a 8 bits bus

[PATCH 3.11 049/138] PCI: mvebu: fix off-by-one in the computed size of the mbus windows

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Willy Tarreau w...@1wt.eu commit b6d07e0273d3296cfbdc88145b8a00ddbefb310a upstream. mvebu_pcie_handle_membase_change() and mvebu_pcie_handle_iobase_change() do not correctly compute

[PATCH 3.11 045/138] [media] fc2580: fix tuning failure on 32-bit arch

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari cr...@iki.fi commit 8845cc6415ec28ef8d57b3fb81c75ef9bce69c5f upstream. There was some frequency calculation overflows which caused tuning failure on 32-bit

[PATCH 3.11 051/138] ARM: mvebu: fix NOR bus-width in Armada XP GP Device Tree

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni thomas.petazz...@free-electrons.com commit 1a88f809ccb5db1509a7514b187c00b3a995fc82 upstream. The mvebu-devbus driver had a serious bug, which lead to a 8 bits bus

[GIT PULL] CMA and DMA-mapping fixes for v3.16

2014-06-03 Thread Marek Szyprowski
Hi Linus, I would like to ask You for pulling a few fixes for dma-mapping and CMA subsystems for v3.16. The following changes since commit d6d211db37e75de2ddc3a4f979038c40df7cc79c: Linux 3.15-rc5 (2014-05-09 13:10:52 -0700) are available in the git repository at:

Re: [RFC PATCH 03/16 v3] How CC accrues with run queue change and time

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:35:59PM +0800, Yuyang Du wrote: It is natural to use task concurrency (running tasks in the rq) as load indicator. We calculate CC for task concurrency by two steps: 1) Divide continuous time into periods of time, and average task concurrency in period, for

[PATCH 3.11 046/138] memory: mvebu-devbus: fix the conversion of the bus width

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Thomas Petazzoni thomas.petazz...@free-electrons.com commit ce965c3d2e68c5325dd5624eb101d70423022fef upstream. According to the Armada 370 and Armada XP datasheets, the part of the

[PATCH 3.11 043/138] percpu: make pcpu_alloc_chunk() use pcpu_mem_free() instead of kfree()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Jianyu Zhan nasa4...@gmail.com commit 5a838c3b60e3a36ade764cf7751b8f17d7c9c2da upstream. pcpu_chunk_struct_size = sizeof(struct pcpu_chunk) + BITS_TO_LONGS(pcpu_unit_pages) *

[PATCH 3.11 039/138] powerpc: Add vr save/restore functions

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Andreas Schwab sch...@linux-m68k.org commit 8fe9c93e7453e67b8bd09f263ec1bb0783c733fc upstream. GCC 4.8 now generates out-of-line vr save/restore functions when optimizing for size.

[PATCH] ASoC: fsl: refine DMA/FIQ dependencies

2014-06-03 Thread Arnd Bergmann
Commit 31ee2bfd724ab (ASoC: fsl: select SND_SOC_IMX_PCM_DMA where needed) started selecting SND_SOC_IMX_PCM_DMA and SND_SOC_IMX_PCM_FIQ for two drivers when building for i.MX. This has turned out too aggressive, as FIQ is only available for i.mx2 through i.mx5, but not i.mx6 or vybrid. Further,

Re: [RFC PATCH 07/16 v3] Init Workload Consolidation flags in sched_domain

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:03PM +0800, Yuyang Du wrote: Workload Consolidation can be enabled/disabled on the fly. This patchset enables MC and CPU domain WC by default. To enable CPU WC (SD_WORKLOAD_CONSOLIDATION=0x8000): sysctl -w kernel.sched_domain.cpuX.domainY.flags += 0x8000 To

[PATCH 3.11 040/138] x86/efi: Correct EFI boot stub use of code32_start

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming m...@console-pimps.org commit 7e8213c1f3acc064aef37813a39f13cbfe7c3ce7 upstream. code32_start should point at the start of the protected mode code, and *not* at the

[PATCH 3.11 032/138] mtd: nuc900_nand: NULL dereference in nuc900_nand_enable()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit c69dbbf3335a21aae74376d7e5db50a486d52439 upstream. Instead of writing to nand-reg + REG_FMICSR we write to REG_FMICSR which is NULL and

[PATCH 3.11 041/138] tracepoint: Do not waste memory on mods with no tracepoints

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) rost...@goodmis.org commit 7dec935a3aa04412cba2cebe1524ae0d34a30c24 upstream. No reason to allocate tp_module structures for modules that have no tracepoints.

[PATCH 3.11 033/138] mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter dan.carpen...@oracle.com commit b4c233057771581698a13694ab6f33b48ce837dc upstream. We always put a NUL terminator one space past the end of the vendor buffer. Walter

[PATCH 3.11 042/138] rbd: fix error paths in rbd_img_request_fill()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Ilya Dryomov ilya.dryo...@inktank.com commit 42dd037c08c7cd6e3e9af7824b0c1d063f838885 upstream. Doing rbd_obj_request_put() in rbd_img_request_fill() error paths is not only

[PATCH 3.11 036/138] powerpc/tm: Disable IRQ in tm_recheckpoint

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Neuling mi...@neuling.org commit e6b8fd028b584ffca7a7255b8971f254932c9fce upstream. We can't take an IRQ when we're about to do a trechkpt as our GPR state is set to user GPR

Re: TASK_SIZE for !MMU

2014-06-03 Thread Greg Ungerer
Hi Uwe, On 02/06/14 18:51, Uwe Kleine-König wrote: Hello [expand Cc: a bit] On Tue, Apr 29, 2014 at 12:00:28PM +0200, Uwe Kleine-König wrote: I grepped through the kernel (v3.15-rc1) for usages of TASK_SIZE to check if/how it is used on !MMU ARM machines. Most open questions also affect the

[PATCH 3.11 037/138] rtlwifi: rtl8192se: Fix regression due to commit 1bf4bbb

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger larry.fin...@lwfinger.net commit 5f9186990ec4579ee5b7a99b3254c29eda479f36 upstream. Beginning with kernel 3.13, this driver fails on some systems. The problem was bisected

Re: [RFC PATCH 09/16 v3] Define and allocate a per CPU local cpumask for Workload Consolidation

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:05PM +0800, Yuyang Du wrote: We need these cpumasks to aid in cosolidated load balancing That's an entirely unsatisfactory changelog. Why would you need these? pgpiZ0MxvZg0c.pgp Description: PGP signature

[PATCH 3.11 034/138] ACPI / EC: Clear stale EC events on Samsung systems

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Kieran Clancy clancy.kie...@gmail.com commit ad332c8a45330d170bb38b95209de449b31cd1b4 upstream. A number of Samsung notebooks (530Uxx/535Uxx/540Uxx/550Pxx/900Xxx/etc) continue to log

[PATCH 3.11 030/138] mm/compaction: make isolate_freepages start at pageblock boundary

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka vba...@suse.cz commit 49e068f0b73dd042c186ffa9b420a9943e90389a upstream. The compaction freepage scanner implementation in isolate_freepages() starts by taking the

[PATCH 3.11 029/138] posix_acl: handle NULL ACL in posix_acl_equiv_mode

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig h...@lst.de commit 50c6e282bdf5e8dabf8d7cf7b162545a55645fd9 upstream. Various filesystems don't bother checking for a NULL ACL in posix_acl_equiv_mode, and thus can

[PATCH 3.11 031/138] trace: module: Maintain a valid user count

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Romain Izard romain.izard@gmail.com commit 098507ae3ec2331476fb52e85d4040c1cc6d0ef4 upstream. The replacement of the 'count' variable by two variables 'incs' and 'decs' to resolve

[PATCH 3.11 035/138] ACPI / EC: Process rather than discard events in acpi_ec_clear

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Kieran Clancy clancy.kie...@gmail.com commit 3eba563e280101209bad27d40bfc83ddf1489234 upstream. Address a regression caused by commit ad332c8a4533: (ACPI / EC: Clear stale EC events on

[PATCH 3.11 038/138] drm: cirrus: add power management support

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Gerd Hoffmann kra...@redhat.com commit 2f1e800799bf478494cec3573cd63eb34ca89c9d upstream. cirrus kms driver lacks power management support, thus the vga display doesn't work any more

[PATCH 3.11 024/138] USB: Nokia 5300 should be treated as unusual dev

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Daniele Forsi dfo...@gmail.com commit 6ed07d45d09bc2aa60e27b845543db9972e22a38 upstream. Signed-off-by: Daniele Forsi dfo...@gmail.com Signed-off-by: Greg Kroah-Hartman

[PATCH 3.11 021/138] tty: serial: 8250_core.c Bug fix for Exar chips.

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Michael Welling mwell...@ieee.org commit b790f210fe8423eff881b2a8a93ba5dbc45534d0 upstream. The sleep function was updated to put the serial port to sleep only when necessary. This

[PATCH 3.11 025/138] HID: usbhid: quirk for Synaptics HD touchscreen

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: AceLan Kao acelan@canonical.com commit d8e2e7581d2521910398c4c80d7a3b78e84da7d5 upstream. Add Synaptics HD touchscreen(06cb:0ac3) to no init report quirk. Signed-off-by: AceLan

[PATCH 3.11 027/138] HID: add NO_INIT_REPORTS quirk for Synaptics Touch Pad V 103S

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede hdego...@redhat.com commit 2f433083e854ec72c19dc9b0e1cebcc8e230fd75 upstream. This touchpad seriously dislikes init reports, not only timeing out, but also refusing to

[PATCH 3.11 018/138] usb: qcserial: add a number of Dell devices

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= bj...@mork.no commit 4d7c0136a54f62501f8a34c4d08a5e0258d3d3ca upstream. Dan writes: The Dell drivers use the same configuration for PIDs: 81A2: Dell

[PATCH 3.11 026/138] HID: usbhid: quirk for Synaptics Quad HD touchscreen

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: AceLan Kao acelan@canonical.com commit 12f508aede4bda5d20a2dd3ff3deb16ef47a97e9 upstream. Add Synaptics HD touchscreen(06cb:1ac3) to no init report quirk Signed-off-by: AceLan Kao

[PATCH 3.11 019/138] usb: storage: shuttle_usbat: fix discs being detected twice

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Daniele Forsi dfo...@gmail.com commit df602c2d2358f02c6e49cffc5b49b9daa16db033 upstream. Even if the USB-to-ATAPI converter supported multiple LUNs, this driver would always detect the

[PATCH 3.11 023/138] USB: Nokia 305 should be treated as unusual dev

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Victor A. Santos victoraur.san...@gmail.com commit f0ef5d41792a46a1085dead9dfb0bdb2c574638e upstream. Signed-off-by: Victor A. Santos victoraur.san...@gmail.com Signed-off-by: Greg

[PATCH 3.11 022/138] drivers/tty/hvc: don't free hvc_console_setup after init

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Tomoki Sekiyama tomoki.sekiy...@hds.com commit 501fed45b7e8836ee9373f4d31e2d85e3db6103a upstream. When 'console=hvc0' is specified to the kernel parameter in x86 KVM guest, hvc console

[PATCH 3.11 020/138] fsl-usb: do not test for PHY_CLK_VALID bit on controller version 1.6

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Nikita Yushchenko nyushche...@dev.rtsoft.ru commit d183c81929beeba842b74422f754446ef2b8b49c upstream. Per reference manuals of Freescale P1020 and P2020 SoCs, USB controller present in

[PATCH 3.11 012/138] drm/radeon: use pflip irq on R600+ v2

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Christian=20K=C3=B6nig?= christian.koe...@amd.com commit f5d636d2a74b755879feec35e14a259de52ccc07 upstream. Testing the update pending bit directly after issuing an update is

[PATCH 3.11 011/138] usb: gadget: at91-udc: fix irq and iomem resource retrieval

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Jean-Jacques Hiblot jjhib...@traphandler.com commit 886c7c426d465732ec9d1b2bbdda5642fc2e7e05 upstream. When using dt resources retrieval (interrupts and reg properties) there is no

[PATCH 3.11 010/138] rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings b...@decadent.org.uk commit 3234f5b06fc3094176a86772cc64baf3decc98fc upstream. Fixes: a53268be0cb9 ('rtlwifi: rtl8192cu: Fix too long disable of IRQs') Signed-off-by: Ben

[PATCH 3.11 016/138] ALSA: usb-audio: work around corrupted TEAC UD-H01 feedback data

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Clemens Ladisch clem...@ladisch.de commit 7040b6d1febfdbd9c1595efb751d492cd2503f96 upstream. The TEAC UD-H01 firmware sends wrong feedback frequency values, thus causing the PC to send

[PATCH 3.11 014/138] drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Ilia Mirkin imir...@alum.mit.edu commit a3d0b1218d351c6e6f3cea36abe22236a08cb246 upstream. There appear to be a crop of new hardware where the vbios is not available from PROM/PRAMIN,

[PATCH 3.11 017/138] USB: OHCI: fix problem with global suspend on ATI controllers

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern st...@rowland.harvard.edu commit c1db30a2a79eb59997b13b8cabf2a50bea9f04e1 upstream. Some OHCI controllers from ATI/AMD seem to have difficulty with global USB suspend, that

Re: [RFC PATCH 10/16 v3] Workload Consolidation APIs

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:06PM +0800, Yuyang Du wrote: Currently, CPU CC is per CPU. To consolidate, the formula is based on a heuristic. Suppose we have 2 CPUs, their task concurrency over time is ('-' means no task, 'x' having tasks): 1) CPU0: ----- (CC[0]) CPU1:

Re: [RFC PATCH 11/16 v3] Make wakeup bias threshold changeable via sysctl

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:07PM +0800, Yuyang Du wrote: In wakeup balance, we bias wakee and waker (in this order) if it is capable of handling the wakee task. sysctl_sched_cc_wakeup_threshold is the threshold to see whether the CPU is capable, and can be changed by sysctl tool This must

[PATCH 3.11 005/138] Bluetooth: Fix triggering BR/EDR L2CAP Connect too early

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg johan.hedb...@intel.com commit 9eb1fbfa0a737fd4d3a6d12d71c5ea9af622b887 upstream. Commit 1c2e004183178 introduced an event handler for the encryption key refresh complete

Re: [RFC 00/32] making inode time stamps y2038 ready

2014-06-03 Thread Arnd Bergmann
On Saturday 31 May 2014 18:30:49 Vyacheslav Dubeyko wrote: By the way, what about NILFS2? Is NILFS2 ready for suggested approach without any changes? nilfs2 and a lot of other file systems don't need any changes for this, because they don't assign the inode time stamp fields to a 'struct

[PATCH 3.11 009/138] iio:imu:mpu6050: Fixed segfault in Invensens MPU driver due to null dereference

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Atilla Filiz atilla.fi...@essensium.com commit b9b3a41893c3f1be67b5aacfa525969914bea0e9 upstream. The driver segfaults when the kernel boots with device tree as the platform data is

[PATCH 3.11 008/138] drm/i915: Break encoder-crtc link separately in intel_sanitize_crtc()

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Egbert Eich e...@suse.de commit 7f1950fbb989e8fc5463b307e062b4529d51c862 upstream. Depending on the SDVO output_flags SDVO may have multiple connectors linking to the same encoder (in

Re: [RFC PATCH 12/16 v3] Bias select wakee than waker in WAKE_AFFINE

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:08PM +0800, Yuyang Du wrote: In WAKE_AFFINE, we do not simply select idle, but bias wakee than waker if the cc of the wakee and waker (in this order) is capable of handling the wakee task Signed-off-by: Yuyang Du yuyang...@intel.com --- kernel/sched/fair.c |

[PATCH 3.11 013/138] drm/radeon: check buffer relocation offset

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Leo Liu leo@amd.com commit 695daf1a8e731a4b5b89de89a61f32a4d7ad7094 upstream. Signed-off-by: Leo Liu leo@amd.com Signed-off-by: Christian König christian.koe...@amd.com

[PATCH 3.11 006/138] Bluetooth: Fix redundant encryption request for reauthentication

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Johan Hedberg johan.hedb...@intel.com commit 09da1f3463eb81d59685df723b1c5950b7570340 upstream. When we're performing reauthentication (in order to elevate the security level from an

[PATCH 3.11 015/138] drm/nouveau: fix another lock unbalance in nouveau_crtc_page_flip

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst maarten.lankho...@canonical.com commit 806cbc5026933a781b66adecf6d1658fde9138e6 upstream. Fixes a regression introduced by 060810d7abaabca drm/nouveau: fix locking

[PATCH 3.11 004/138] Input: atkbd - fix keyboard not working on some LG laptops

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Sheng-Liang Song s...@chromium.org commit 3d725caa9dcc78c3dc9e7ea0c04f626468edd9c9 upstream. After issuing ATKBD_CMD_RESET_DIS, keyboard on some LG laptops stops working. The

[PATCH 3.11 007/138] Bluetooth: Add support for Lite-on [04ca:3007]

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Mohammed Habibulla m...@chromium.org commit 1fb4e09a7e780b915dbd172592ae7e2a4c071065 upstream. Add support for the AR9462 chip T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=03 Dev#= 3 Spd=12

[3.11.y.z extended stable] Linux 3.11.10.11 stable review

2014-06-03 Thread Luis Henriques
This is the start of the review cycle for the Linux 3.11.10.11 stable kernel. This version contains 138 new patches, summarized below. The new patches are posted as replies to this message and also available in this git branch:

[PATCH 3.11 002/138] rtlwifi: rtl8188ee: initialize packet_beacon

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King colin.k...@canonical.com commit 328e203fc35f0b4f6df1c4943f74cf553bcc04f8 upstream. static code analysis from cppcheck reports:

[PATCH 3.11 003/138] Input: synaptics - add min/max quirk for ThinkPad Edge E431

2014-06-03 Thread Luis Henriques
3.11.10.11 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede hdego...@redhat.com commit 27a38856a948c3e8de30dc71647ff9e1778c99fc upstream. Signed-off-by: Hans de Goede hdego...@redhat.com Signed-off-by: Dmitry Torokhov

Re: [RFC PATCH 13/16 v3] Intercept wakeup/fork/exec load balancing

2014-06-03 Thread Peter Zijlstra
On Fri, May 30, 2014 at 02:36:09PM +0800, Yuyang Du wrote: We intercept load balancing to contain the load and load balancing in the consolidated CPUs according to our consolidating mechanism. In wakeup/fork/exec load balaning, when to find the idlest sched_group, we first try to find the

Re: [PATCH v2 10/11] sched: move cfs task on a CPU with higher capacity

2014-06-03 Thread Vincent Guittot
On 3 June 2014 13:15, Peter Zijlstra pet...@infradead.org wrote: On Mon, Jun 02, 2014 at 07:06:44PM +0200, Vincent Guittot wrote: Could you detail those conditions? FWIW those make excellent Changelog material. I have looked back into my tests and traces: In a 1st test, the capacity of

[GIT PULL] x86/asm changes for v3.16

2014-06-03 Thread Ingo Molnar
Linus, Please pull the latest x86-asm-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus # HEAD: 577ed45ec56e9c43269df1c4a05c59ed19ea8e6a x86_64, entry: Merge paranoidzeroentry_ist into idtentry A handful of entry_64.S cleanups.

Re: [patch 01/10] mm: memcontrol: fold mem_cgroup_do_charge()

2014-06-03 Thread Michal Hocko
On Thu 29-05-14 12:15:53, Johannes Weiner wrote: This function was split out because mem_cgroup_try_charge() got too big. But having essentially one sequence of operations arbitrarily split in half is not good for reworking the code. Fold it back in. Signed-off-by: Johannes Weiner

[GIT PULL] x86/boot changes for v3.16

2014-06-03 Thread Ingo Molnar
Linus, Please pull the latest x86-boot-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-boot-for-linus # HEAD: a9a17104a112a67a7bf0679b734704c130eb5faa x86, boot: Remove misc.h inclusion from compressed/string.c Two small cleanups. Thanks,

Re: workqueue: WARN at at kernel/workqueue.c:2176

2014-06-03 Thread Lai Jiangshan
Hi, Peter, I rewrote the analyse. (scheduler_ipi() must be called before stopper-task, so the part for workqueue of the old analyse maybe be wrong.) I found something strange by review (just by review, no test yet) int set_cpus_allowed_ptr(struct task_struct *p, const struct cpumask

[PATCH] Staging: dgnc: fixed brace coding style issue in dgnc_driver.c

2014-06-03 Thread Vincent Heuken
This is a patch to the dgnc_driver.c file that fixes the following error: ERROR: open brace '{' following function declarations go on the next line Signed-off-by: Vincent Heuken m...@vincentheuken.com --- drivers/staging/dgnc/dgnc_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [PATCH v6 0/6] arm: Add basic support for Mediatek Cortex-A7 SoCs

2014-06-03 Thread Daniel Lezcano
On 05/30/2014 06:55 PM, Matthias Brugger wrote: Sixth round for the Mediatek basic support patches. I encapsulated the setup of the timer and the interrupt in seperate functions. Apart I fixed the compatibily string to be consisten throughout the whole system (from mediatek,mtk6577 to

Re: [PULL 2/2] vhost: replace rcu with mutex

2014-06-03 Thread Paolo Bonzini
Il 02/06/2014 23:58, Eric Dumazet ha scritto: This looks dubious What about using kfree_rcu() instead ? It would lead to unbound allocation from userspace. translate_desc() still uses rcu_read_lock(), its not clear if the mutex is really held. Yes, vhost_get_vq_desc must be called with

Re: [PATCH v2 1/1] PINCTRL: Warn if direct IRQ GPIO set to output

2014-06-03 Thread Mika Westerberg
On Mon, Jun 02, 2014 at 02:12:07PM -0700, eric.er...@linux.intel.com wrote: + WARN((readl(conf_reg) BYT_DIRECTIRQ), + Potential Error: Setting GPIO with direct_irq_en to output); Also you don't need parentheses here. -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH] xfstests: f2fs support

2014-06-03 Thread Lukáš Czerner
On Tue, 3 Jun 2014, Lukáš Czerner wrote: Date: Tue, 3 Jun 2014 13:32:30 +0200 (CEST) From: Lukáš Czerner lczer...@redhat.com To: Jaegeuk Kim jaeg...@kernel.org Cc: Dave Chinner da...@fromorbit.com, x...@oss.sgi.com, linux-kernel@vger.kernel.org, linux-fsde...@vger.kernel.org,

Re: [patch 02/10] mm: memcontrol: rearrange charging fast path

2014-06-03 Thread Michal Hocko
On Thu 29-05-14 12:15:54, Johannes Weiner wrote: The charging path currently starts out with OOM condition checks when OOM is the rarest possible case. Rearrange this code to run OOM/task dying checks only after trying the percpu charge and the res_counter charge and bail out before entering

Re: [PATCH 1/3] cgroup: don't destroy the default root

2014-06-03 Thread Tejun Heo
Hello, Li. On Tue, Jun 03, 2014 at 12:04:38PM +0800, Li Zefan wrote: static void cgroup_get(struct cgroup *cgrp) { WARN_ON_ONCE(cgroup_is_dead(cgrp)); - css_get(cgrp-self); + if (!(cgrp-self.flags CSS_NO_REF)) + css_get(cgrp-self); Hmmm? The same condition is

[PATCH] sched: Move enum CPU_[xxx_]IDLE to private sched.h

2014-06-03 Thread Daniel Lezcano
The different enum CPU_IDLE, CPU_NOT_IDLE, CPU_NEWLY_IDLE and CPU_MAX_IDLE_TYPES are only used in kernel/sched/fair.c and kernel/sched/stats.c. Move their definitions in the private 'sched.h' file located in the same place than the files above. Signed-off-by: Daniel Lezcano

Re: [PATCH 2/3] cgroup: make the default root invisible when it's umounted

2014-06-03 Thread Tejun Heo
On Tue, Jun 03, 2014 at 12:05:22PM +0800, Li Zefan wrote: Before this patch (in a fresh system): # cat /proc/$$/cgroup # mount -t cgroup -o __DEVEL__sane_behavior xxx /cgroup # umount /cgroup # cat /proc/$$/cgroup

Re: [PATCH 3/3] cgroup: set visible flag only after we've mounted the default root

2014-06-03 Thread Tejun Heo
On Tue, Jun 03, 2014 at 12:05:59PM +0800, Li Zefan wrote: This fixes the failure path, so we won't set the visible flag though the mount is failed. Same rationale. If the userland knows about it, there's no point in hiding it. Thanks. -- tejun -- To unsubscribe from this list: send the line

[PATCH] kthread: Fix return value of kthread_create() upon SIGKILL.

2014-06-03 Thread Tetsuo Handa
From c41fa0b9294900a86167d6c8db392d99dde09774 Mon Sep 17 00:00:00 2001 From: Tetsuo Handa penguin-ker...@i-love.sakura.ne.jp Date: Tue, 3 Jun 2014 21:46:24 +0900 Subject: [PATCH] kthread: Fix return value of kthread_create() upon SIGKILL. Commit 786235eeb kthread: make kthread_create() killable

[PATCH] platform/chrome: Add support for Acer C720

2014-06-03 Thread Mika Westerberg
Acer C720 has touchpad and light sensor connected to a separate I2C buses. Since the designware I2C host controller driver has two instances on this particular machine we need a way to match the correct instance. Add support for this and then register both C720 touchpad and light sensor. This

Re: [RFC 2/2] x86_64: expand kernel stack to 16K

2014-06-03 Thread Konstantin Khlebnikov
On Sat, May 31, 2014 at 6:06 AM, Jens Axboe ax...@kernel.dk wrote: On 2014-05-28 20:42, Linus Torvalds wrote: Regardless of whether it is swap or something external queues the bio on the plug, perhaps we should look at why it's done inline rather than by kblockd, where it was moved because it

[PATCH 01/13] bin2c: Move bin2c in scripts/basic

2014-06-03 Thread Vivek Goyal
Kexec wants to use bin2c and it wants to use it really early in the build process. See arch/x86/purgatory/ code in later patches. So move bin2c in scripts/basic so that it can be built very early and be usable by arch/x86/purgatory/ Signed-off-by: Vivek Goyal vgo...@redhat.com ---

[PATCH 05/13] kexec: Make kexec_segment user buffer pointer a union

2014-06-03 Thread Vivek Goyal
So far kexec_segment-buf was always a user space pointer as user space passed the array of kexec_segment structures and kernel copied it. But with new system call, list of kexec segments will be prepared by kernel and kexec_segment-buf will point to a kernel memory. So while I was adding code

[PATCH 13/13] kexec: Support kexec/kdump on EFI systems

2014-06-03 Thread Vivek Goyal
This patch does two thigns. It passes EFI run time mappings to second kernel in bootparams efi_info. Second kernel parse this info and create new mappings in second kernel. That means mappings in first and second kernel will be same. This paves the way to enable EFI in kexec kernel. This patch

[PATCH 09/13] purgatory: Core purgatory functionality

2014-06-03 Thread Vivek Goyal
Create a stand alone relocatable object purgatory which runs between two kernels. This name, concept and some code has been taken from kexec-tools. Idea is that this code runs after a crash and it runs in minimal environment. So keep it separate from rest of the kernel and in long term we will

[PATCH 06/13] kexec: New syscall kexec_file_load() declaration

2014-06-03 Thread Vivek Goyal
This is the new syscall kexec_file_load() declaration/interface. I have reserved the syscall number only for x86_64 so far. Other architectures (including i386) can reserve syscall number when they enable the support for this new syscall. Signed-off-by: Vivek Goyal vgo...@redhat.com ---

[PATCH 02/13] kernel: Build bin2c based on config option CONFIG_BUILD_BIN2C

2014-06-03 Thread Vivek Goyal
currently bin2c builds only if CONFIG_IKCONFIG=y. But bin2c will now be used by kexec too. So make it compilation dependent on CONFIG_BUILD_BIN2C and this config option can be selected by CONFIG_KEXEC and CONFIG_IKCONFIG. Signed-off-by: Vivek Goyal vgo...@redhat.com --- arch/x86/Kconfig |

[PATCH 10/13] kexec: Load and Relocate purgatory at kernel load time

2014-06-03 Thread Vivek Goyal
Load purgatory code in RAM and relocate it based on the location. Relocation code has been inspired by module relocation code and purgatory relocation code in kexec-tools. Also compute the checksums of loaded kexec segments and store them in purgatory. Arch independent code provides this

Re: [RFC 11/32] xfs: convert to struct inode_time

2014-06-03 Thread Roger Willcocks
On Mon, 2014-06-02 at 19:32 -0400, Theodore Ts'o wrote: Linux's time(2) can return (time_t) -1 and set errno to EFAULT, per the Posix specification: SYSCALL_DEFINE1(time, time_t __user *, tloc) { time_t i = get_seconds(); if (tloc) { if (put_user(i,tloc))

[PATCH 04/13] resource: Provide new functions to walk through resources

2014-06-03 Thread Vivek Goyal
I have added two more functions to walk through resources. Current walk_system_ram_range() deals with pfn and /proc/iomem can contain partial pages. By dealing in pfn, callback function loses the info that last page of a memory range is a partial page and not the full page. So I implemented

[RFC PATCH 00/13][V3] kexec: A new system call to allow in kernel loading

2014-06-03 Thread Vivek Goyal
Hi, This is V3 of the patchset. Previous versions were posted here. V1: https://lkml.org/lkml/2013/11/20/540 V2: https://lkml.org/lkml/2014/1/27/331 Changes since v2: - Took care of most of the review comments from V2. - Added support for kexec/kdump on EFI systems. - Dropped support for

Re: [PATCH 0/5] regulator: Enhance AXP209 DT support

2014-06-03 Thread Maxime Ripard
On Wed, May 28, 2014 at 07:47:52PM +0100, Mark Brown wrote: On Wed, May 28, 2014 at 07:11:04PM +0200, Maxime Ripard wrote: This patchset modifies the regulator core and axp209 regulator driver to be able to set in each regulators sub-node the supply, that should be possible, given that

[PATCH 03/13] kexec: Move segment verification code in a separate function

2014-06-03 Thread Vivek Goyal
Previously do_kimage_alloc() will allocate a kimage structure, copy segment list from user space and then do the segment list sanity verification. Break down this function in 3 parts. do_kimage_alloc_init() to do actual allocation and basic initialization of kimage structure.

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