[PATCH 3.12 051/206] regmap: fix kernel hang on regmap_bulk_write with zero val_count.

2014-11-18 Thread Jiri Slaby
From: Quentin Casasnovas 3.12-stable review patch. If anyone has any objections, please let me know. === If val_count is zero we return -EINVAL with map->lock_arg locked, which will deadlock the kernel next time we try to acquire this lock. In 3.12, this was introduced by a0b8d8d9

[PATCH 3.12 037/206] Bluetooth: Add support for Acer [13D3:3432]

2014-11-18 Thread Jiri Slaby
From: Anantha Krishnan 3.12-stable review patch. If anyone has any objections, please let me know. === commit fa2f1394fe9c1a217213f02df77812701de6362f upstream. Add support for the QCA6174 chip. T: Bus=04 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 30 Spd=12 MxCh= 0 D: Ver= 1.

[PATCH 3.12 030/206] Bluetooth: ath3k: Add support for another AR3012 card

2014-11-18 Thread Jiri Slaby
From: Sujith Manoharan 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd0fca1b2be8c96dfc391a2bc2ee4ce6970ae6af upstream. T: Bus=03 Lev=01 Prnt=01 Port=02 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #C

[PATCH 3.12 061/206] fs: allow open(dir, O_TMPFILE|..., 0) with mode 0

2014-11-18 Thread Jiri Slaby
From: Eric Rannaud 3.12-stable review patch. If anyone has any objections, please let me know. === commit 69a91c237ab0ebe4e9fdeaf6d0090c85275594ec upstream. The man page for open(2) indicates that when O_CREAT is specified, the 'mode' argument applies only to future accesses to th

[PATCH 3.12 032/206] Bluetooth: Add support for Toshiba Bluetooth device [0930:0220]

2014-11-18 Thread Jiri Slaby
From: Marco Piazza 3.12-stable review patch. If anyone has any objections, please let me know. === commit bd0976dd3379e790b031cef7f477c58b82a65fc2 upstream. This patch adds support for new Toshiba Bluetooth device. T: Bus=05 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 4 Spd=12 MxCh= 0

[PATCH 3.12 040/206] Input: xpad - add new USB IDs for Logitech F310 and F710

2014-11-18 Thread Jiri Slaby
From: Petr Sebor 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8e2f2325b73f3e5e46ecffd291556f33b8e3f8c9 upstream. This enables the rumble force feedback on the F710 unit since it is no longer treated as XTYPE_UNKNOWN type. Signed-off-by: P

[PATCH 3.12 075/206] fix misuses of f_count() in ppp and netlink

2014-11-18 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit 24dff96a37a2ca319e75a74d3929b2de22447ca6 upstream. we used to check for "nobody else could start doing anything with that opened file" by checking that refcount was 2 or less - one

[PATCH 3.12 057/206] ASoC: soc-dapm: fix use after free

2014-11-18 Thread Jiri Slaby
From: Daniel Mack 3.12-stable review patch. If anyone has any objections, please let me know. === commit e5092c96c9c28f4d12811edcd02ca8eec16e748e upstream. Coverity spotted the following possible use-after-free condition in dapm_create_or_share_mixmux_kcontrol(): If kcontrol is N

[PATCH 3.12 062/206] UBIFS: remove mst_mutex

2014-11-18 Thread Jiri Slaby
From: Artem Bityutskiy 3.12-stable review patch. If anyone has any objections, please let me know. === commit 07e19dff63e3d5d6500d831e36554ac9b1b0560e upstream. The 'mst_mutex' is not needed since because 'ubifs_write_master()' is only called on the mount path and commit path. The

[PATCH 3.12 059/206] fs: make cont_expand_zero interruptible

2014-11-18 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit c2ca0fcd202863b14bd041a7fece2e789926c225 upstream. This patch makes it possible to kill a process looping in cont_expand_zero. A process may spend a lot of time in this fun

[PATCH 3.12 054/206] Revert "percpu: free percpu allocation info for uniprocessor system"

2014-11-18 Thread Jiri Slaby
From: Guenter Roeck 3.12-stable review patch. If anyone has any objections, please let me know. === commit bb2e226b3bef596dd56be97df655d857b4603923 upstream. This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system"). The commit causes a hang

[PATCH 3.12 063/206] UBIFS: fix a race condition

2014-11-18 Thread Jiri Slaby
From: Artem Bityutskiy 3.12-stable review patch. If anyone has any objections, please let me know. === commit 052c28073ff26f771d44ef33952a41d18dadd255 upstream. Hu (hujiany...@huawei.com) discovered a race condition which may lead to a situation when UBIFS is unable to mount the f

Re: [PATCH v3 13/13] perf/x86: add syfs entry to disable HT bug workaround

2014-11-18 Thread Borislav Petkov
On Tue, Nov 18, 2014 at 05:01:28PM +0200, Maria Dimakopoulou wrote: > OK. We can call it perf_pmu_ht_bug_workaround to make this more > explicit. I think you should consider adding a more generic scheme from the get-go, as Thomas suggested instead of a specific file. We need this hammered out prop

[PATCH 3.12 065/206] vfs: fix data corruption when blocksize < pagesize for mmaped data

2014-11-18 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 90a8020278c1598fafd071736a0846b38510309c upstream. ->page_mkwrite() is used by filesystems to allocate blocks under a page which is becoming writeably mmapped in some process' add

[PATCH 3.12 064/206] UBIFS: fix free log space calculation

2014-11-18 Thread Jiri Slaby
From: Artem Bityutskiy 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba29e721eb2df6df8f33c1f248388bb037a47914 upstream. Hu (hujianyang ) discovered an issue in the 'empty_log_bytes()' function, which calculates how many bytes are left in th

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-18 Thread Olliver Schinagl
On 18-11-14 15:55, Maxime Ripard wrote: On Tue, Nov 18, 2014 at 03:11:26PM +0100, Olliver Schinagl wrote: On 18-11-14 14:54, Maxime Ripard wrote: On Tue, Nov 18, 2014 at 02:47:33PM +0100, Olliver Schinagl wrote: Hey Alexandre, On 05-11-14 16:15, Alexandre Belloni wrote: Hi, This patch seri

[PATCH 3.12 038/206] Add a new PID/VID 0227/0930 for AR3012.

2014-11-18 Thread Jiri Slaby
From: Vincent Zwanenburg 3.12-stable review patch. If anyone has any objections, please let me know. === commit 89d2975fa06e66ea0d3665d91f799fb1ce4b8bad upstream. usb devices info: T: Bus=01 Lev=02 Prnt=05 Port=00 Cnt=01 Dev#= 20 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=e0(wlcon) Sub=

[PATCH 3.12 066/206] x86: Reject x32 executables if x32 ABI not supported

2014-11-18 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0e6d3112a4e95d55cf6dca88f298d5f4b8f29bd1 upstream. It is currently possible to execve() an x32 executable on an x86_64 kernel that has only ia32 compat enabled. However all

[PATCH 3.12 078/206] UBI: add missing kmem_cache_free() in process_pool_aeb error path

2014-11-18 Thread Jiri Slaby
From: Richard Genoud 3.12-stable review patch. If anyone has any objections, please let me know. === commit 1bf1890e86869032099b539bc83b098be12fc5a7 upstream. I ran into this error after a ubiupdatevol, because I forgot to backport e9110361a9a4 UBI: fix the volumes tree sorting cr

[PATCH 3.12 086/206] dm bufio: update last_accessed when relinking a buffer

2014-11-18 Thread Jiri Slaby
From: Joe Thornber 3.12-stable review patch. If anyone has any objections, please let me know. === commit eb76faf53b1ff7a77ce3f78cc98ad392ac70c2a0 upstream. The 'last_accessed' member of the dm_buffer structure was only set when the the buffer was created. This led to each buffer

[PATCH 3.12 047/206] mmc: sdhci-pci: Add SDIO/MMC device ID support for Intel Clovertrail

2014-11-18 Thread Jiri Slaby
From: Eric Ernst 3.12-stable review patch. If anyone has any objections, please let me know. === commit d052068a0ba43273eb9cfe32460e9445ef75fdc5 upstream. This patch adds intel_mid clovertrail SDIO and eMMC device IDs to the sdhci-pci driver. Signed-off-by: Eric Ernst Signed-off

[PATCH 3.12 044/206] Input: serio - avoid negative serio device numbers

2014-11-18 Thread Jiri Slaby
From: Richard Leitner 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0224ec9e9f111b1c39ec00a10de4858061b4afea upstream. Fix the format string for serio device name generation to avoid negative device numbers when the id exceeds the maximum s

[PATCH 3.12 068/206] x86, fpu: shift drop_init_fpu() from save_xstate_sig() to handle_signal()

2014-11-18 Thread Jiri Slaby
From: Oleg Nesterov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 66463db4fc5605d51c7bb81d009d5bf30a783a2c upstream. save_xstate_sig()->drop_init_fpu() doesn't look right. setup_rt_frame() can fail after that, in this case the next setup_rt

[PATCH 3.12 071/206] evm: check xattr value length and type in evm_inode_setxattr()

2014-11-18 Thread Jiri Slaby
From: Dmitry Kasatkin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3b1deef6b1289a99505858a3b212c5b50adf0c2f upstream. evm_inode_setxattr() can be called with no value. The function does not check the length so that following command can be

[PATCH 3.12 073/206] missing data dependency barrier in prepend_name()

2014-11-18 Thread Jiri Slaby
From: Al Viro 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d13f69444bd3d4888e43f7756449748f5a98bad upstream. AFAICS, prepend_name() is broken on SMP alpha. Disclaimer: I don't have SMP alpha boxen to reproduce it on. However, it really

[PATCH 3.12 046/206] mmc: sdhci-pci: add Intel Merrifield support

2014-11-18 Thread Jiri Slaby
From: David Cohen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8776a165d152d57a3a58895d55204614abe93d7f upstream. Implement initial SDHCI Intel Merrifield support. This patch is based on previous one from Yunpeng Gao . Signed-off-by: Dav

[PATCH 3.12 056/206] libata-sff: Fix controllers with no ctl port

2014-11-18 Thread Jiri Slaby
From: Ondrej Zary 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6d8ca28fa688a9354bc9fbc935bdaeb3651b6677 upstream. Currently, ata_sff_softreset is skipped for controllers with no ctl port. But that also skips ata_sff_dev_classify required f

[PATCH 3.12 076/206] um: ubd: Fix for processes stuck in D state forever

2014-11-18 Thread Jiri Slaby
From: Thorsten Knabe 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2a2361228c5e6d8c1733f00653481de918598e50 upstream. Starting with Linux 3.12 processes get stuck in D state forever in UserModeLinux under sync heavy workloads. This bug was

Re: linux-next: build failure after merge of the omap_dss2 tree

2014-11-18 Thread David Herrmann
Hi On Tue, Nov 18, 2014 at 3:53 PM, Tomi Valkeinen wrote: > Hi, > > Thanks Stephen! > > Hans, have you had a look at this? kbuild test bot also reported this. The fix from Stephen should not go to main-line. It breaks simplefb on x86 without OF. Imo, linux/clk.h should provide a fallback if OF i

[PATCH 3.12 026/206] Bluetooth: Fix endianess issue in the ath3k driver

2014-11-18 Thread Jiri Slaby
From: Peng Chen 3.12-stable review patch. If anyone has any objections, please let me know. === commit b9e2535acad8f52a17e2aa843d45a6b756b59592 upstream. The version is always in little endian format. This patch makes the driver work on both little and big endian CPUs. Signed-off

[PATCH 3.12 077/206] random: add and use memzero_explicit() for clearing data

2014-11-18 Thread Jiri Slaby
From: Daniel Borkmann 3.12-stable review patch. If anyone has any objections, please let me know. === commit d4c5efdb97773f59a2b711754ca0953f24516739 upstream. zatimend has reported that in his environment (3.16/gcc4.8.3/corei7) memset() calls which clear out sensitive data in ext

[PATCH 3.12 067/206] x86, fpu: __restore_xstate_sig()->math_state_restore() needs preempt_disable()

2014-11-18 Thread Jiri Slaby
From: Oleg Nesterov 3.12-stable review patch. If anyone has any objections, please let me know. === commit df24fb859a4e200d9324e2974229fbb7adf00aef upstream. Add preempt_disable() + preempt_enable() around math_state_restore() in __restore_xstate_sig(). Otherwise __switch_to() aft

[PATCH 3.12 069/206] x86_64, entry: Filter RFLAGS.NT on entry from userspace

2014-11-18 Thread Jiri Slaby
From: Andy Lutomirski 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c7aa698baca5e8f1ba9edb68081f1e7a1abf455 upstream. The NT flag doesn't do anything in long mode other than causing IRET to #GP. Oddly, CPL3 code can still set NT using pop

[PATCH 3.12 081/206] pstore: Fix duplicate {console,ftrace}-efi entries

2014-11-18 Thread Jiri Slaby
From: Valdis Kletnieks 3.12-stable review patch. If anyone has any objections, please let me know. === commit d4bf205da618bbd0b038e404d646f14e76915718 upstream. The pstore filesystem still creates duplicate filename/inode pairs for some pstore types. Add the id to the filename to

[PATCH 3.12 060/206] fs: Fix theoretical division by 0 in super_cache_scan().

2014-11-18 Thread Jiri Slaby
From: Tetsuo Handa 3.12-stable review patch. If anyone has any objections, please let me know. === commit 475d0db742e3755c6b267f48577ff7cbb7dfda0d upstream. total_objects could be 0 and is used as a denom. While total_objects is a "long", total_objects == 0 unlikely happens for 3

[PATCH 3.12 084/206] xen-blkback: fix leak on grant map error path

2014-11-18 Thread Jiri Slaby
From: Roger Pau Monné 3.12-stable review patch. If anyone has any objections, please let me know. === commit 61cecca865280bef4f8a9748d0a9afa5df351ac2 upstream. Fix leaking a page when a grant mapping has failed. Signed-off-by: Roger Pau Monné Reported-and-Tested-by: Tao Chen Si

Re: [PATCH] [linux-next] sound: soc: Fix warning while make htmldocs caused by soc-jack.c

2014-11-18 Thread Mark Brown
On Wed, Nov 12, 2014 at 12:52:23AM +0900, Masanari Iida wrote: > This patch fix following errors while "make htmldocs" on > linux-next-20141110. Applied, thanks. Please use subject lines matching the style for the subsystem. signature.asc Description: Digital signature

Re: [PATCHv9 0/2] Add Allwinner SoCs PWM support

2014-11-18 Thread Maxime Ripard
On Tue, Nov 18, 2014 at 03:11:26PM +0100, Olliver Schinagl wrote: > > On 18-11-14 14:54, Maxime Ripard wrote: > >On Tue, Nov 18, 2014 at 02:47:33PM +0100, Olliver Schinagl wrote: > >>Hey Alexandre, > >> > >>On 05-11-14 16:15, Alexandre Belloni wrote: > >>>Hi, > >>> > >>>This patch series adds supp

[PATCH 3.12 080/206] mfd: rtsx_pcr: Fix MSI enable error handling

2014-11-18 Thread Jiri Slaby
From: Chris Ball 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5152970538a5e16c03bbcb9f1c780489a795ed40 upstream. pci_enable_msi() can return failure with both positive and negative integers -- it returns 0 for success -- but is only tested

Re: [PATCH v18 2/5] thermal: rockchip: add driver for thermal

2014-11-18 Thread Eduardo Valentin
Hello Caesar, On Tue, Nov 18, 2014 at 03:41:28PM +0800, Caesar Wang wrote: > Hello edubezval, > > I saw your latest patch[0]. > I need send the new patch to fit the of-thermal Sensors API. > Right? > > [0]: https://patchwork.kernel.org/patch/5324371/ > Right. I've just posted a new version of

[PATCH 3.12 085/206] drm/cirrus: bind also to qemu-xen-traditional

2014-11-18 Thread Jiri Slaby
From: Olaf Hering 3.12-stable review patch. If anyone has any objections, please let me know. === commit c0c3e735fa7bae29c6623511127fd021b2d6d849 upstream. qemu as used by xend/xm toolstack uses a different subvendor id. Bind the drm driver also to this emulated card. Signed-off-

[PATCH 3.12 087/206] dm bufio: when done scanning return from __scan immediately

2014-11-18 Thread Jiri Slaby
From: Mikulas Patocka 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0e825862f3c04cee40e25f55680333728a4ffa9b upstream. When __scan frees the required number of buffer entries that the shrinker requested (nr_to_scan becomes zero) it must ret

[PATCH 3.12 083/206] virtio_pci: fix virtio spec compliance on restore

2014-11-18 Thread Jiri Slaby
From: "Michael S. Tsirkin" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 6fbc198cf623944ab60a1db6d306a4d55cdd820d upstream. On restore, virtio pci does the following: + set features + init vqs etc - device can be used at this point! + set A

[PATCH 3.12 045/206] [media] ttusb-dec: buffer overflow in ioctl

2014-11-18 Thread Jiri Slaby
From: Dan Carpenter 3.12-stable review patch. If anyone has any objections, please let me know. === commit f2e323ec96077642d397bb1c355def536d489d16 upstream. We need to add a limit check here so we don't overflow the buffer. Signed-off-by: Dan Carpenter Signed-off-by: Mauro Carv

[PATCH 3.12 082/206] selinux: fix inode security list corruption

2014-11-18 Thread Jiri Slaby
From: Stephen Smalley 3.12-stable review patch. If anyone has any objections, please let me know. === commit 923190d32de4428afbea5e5773be86bea60a9925 upstream. sb_finish_set_opts() can race with inode_free_security() when initializing inode security structures for inodes created p

[PATCH 3.12 070/206] x86, pageattr: Prevent overflow in slow_virt_to_phys() for X86_PAE

2014-11-18 Thread Jiri Slaby
From: Dexuan Cui 3.12-stable review patch. If anyone has any objections, please let me know. === commit d1cd1210834649ce1ca6bafe5ac25d2f40331343 upstream. pte_pfn() returns a PFN of long (32 bits in 32-PAE), so "long << PAGE_SHIFT" will overflow for PFNs above 4GB. Due to this is

[PATCH 3.12 049/206] rt2x00: rt2800usb: mark D-Link DWA-137 as supported

2014-11-18 Thread Jiri Slaby
From: Roman Dubtsov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 7f6d740753ff0d29a330b06eb3efa0dfc791bbba upstream. Signed-off-by: Roman Dubtsov Signed-off-by: John W. Linville Signed-off-by: Jiri Slaby --- drivers/net/wireless/rt2x00/

[PATCH 3.12 053/206] lockd: Try to reconnect if statd has moved

2014-11-18 Thread Jiri Slaby
From: Benjamin Coddington 3.12-stable review patch. If anyone has any objections, please let me know. === commit 173b3afceebe76fa2205b2c8808682d5b541fe3c upstream. If rpc.statd is restarted, upcalls to monitor hosts can fail with ECONNREFUSED. In that case force a lookup of statd

[PATCH 3.12 072/206] ALSA: pcm: Zero-clear reserved fields of PCM status ioctl in compat mode

2014-11-18 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 317168d0c766defd14b3d0e9c2c4a9a258b803ee upstream. In compat mode, we copy each field of snd_pcm_status struct but don't touch the reserved fields, and this leaves uninitializ

[PATCH 3.12 048/206] wireless: rt2x00: rt2800usb: add new devices

2014-11-18 Thread Jiri Slaby
From: Xose Vazquez Perez 3.12-stable review patch. If anyone has any objections, please let me know. === commit 274dede8c52036a1849ea970fab8d185fb0dce2b upstream. 0411,0241 RT5572 BUFFALO WI-U2-300D Wireless LAN Adapter 0789,0170 RT3572 Logitec LAN-W300AN/U2 0846,9013 RT3573

Re: [PATCH v3 13/13] perf/x86: add syfs entry to disable HT bug workaround

2014-11-18 Thread Maria Dimakopoulou
On Tue, Nov 18, 2014 at 1:02 AM, Borislav Petkov wrote: > On Mon, Nov 17, 2014 at 08:07:05PM +0100, Stephane Eranian wrote: >> From: Maria Dimakopoulou >> >> This patch adds a sysfs entry: >> >> /sys/devices/cpu/ht_bug_workaround >> >> to activate/deactivate the PMU HT bug workaround. >> >>

[PATCH 3.12 089/206] block: fix alignment_offset math that assumes io_min is a power-of-2

2014-11-18 Thread Jiri Slaby
From: Mike Snitzer 3.12-stable review patch. If anyone has any objections, please let me know. === commit b8839b8c55f3fdd60dc36abcda7e0266aff7985c upstream. The math in both blk_stack_limits() and queue_limit_alignment_offset() assume that a block device's io_min (aka minimum_io_s

Re: [PATCH 18/26 v5] seq_buf: Create seq_buf_used() to find out how much was written

2014-11-18 Thread Petr Mladek
On Fri 2014-11-14 23:59:05, Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > Add a helper function seq_buf_used() that replaces the SEQ_BUF_USED() > private macro to let callers have a method to know how much of the > seq_buf was written to. > > Link: http://lkml.kernel.org/r/2014111

Re: [PATCH 1/3] mfd: arizona: Add support for CS47L24

2014-11-18 Thread Mark Brown
On Mon, Nov 17, 2014 at 03:13:18PM +, Charles Keepax wrote: > 1) We could add #defines for various IP blocks and the readable > callback could include these defines for various blocks. Which > would reduce the duplication between chips. Although a lot of the > blocks have small differences bet

[PATCH 3.12 091/206] modules, lock around setting of MODULE_STATE_UNFORMED

2014-11-18 Thread Jiri Slaby
From: Prarit Bhargava 3.12-stable review patch. If anyone has any objections, please let me know. === commit d3051b489aa81ca9ba62af366149ef42b8dae97c upstream. A panic was seen in the following sitation. There are two threads running on the system. The first thread is a system mo

Re: [PATCH v11 0/3] i2c: imx: add DMA support for freescale i2c driver

2014-11-18 Thread Wolfram Sang
On Tue, Nov 18, 2014 at 06:31:04PM +0800, Yuan Yao wrote: > > Changed in v11: > - Fix the bug for 'orig_jiffies' uninitialized. > - Use wait_for_completion_timeout() instead of > wait_for_completion_interruptible_timeout(). Applied to for-next, thanks! signature.asc Description: Digital sig

[PATCH 3.12 088/206] drbd: compute the end before rb_insert_augmented()

2014-11-18 Thread Jiri Slaby
From: Lai Jiangshan 3.12-stable review patch. If anyone has any objections, please let me know. === commit 82cfb90bc99d7b7e0ec62d0505b9d4f06805d5db upstream. Commit 98683650 "Merge branch 'drbd-8.4_ed6' into for-3.8-drivers-drbd-8.4_ed6" switches to the new augment API, but the ne

Question about

2014-11-18 Thread Vladimir Zapolskiy
Hello, I need to set a GPIO (active high) output high on boot, which enables a power rail supplying some external devices. I have a question regarding "regulator-boot-on" and "enable-active-high" fixed regulator device tree properties (actually AFAIU it applies to gpio regulator as well, by the w

[PATCH 3.12 055/206] pata_serverworks: disable 64-KB DMA transfers on Broadcom OSB4 IDE Controller

2014-11-18 Thread Jiri Slaby
From: Scott Carter 3.12-stable review patch. If anyone has any objections, please let me know. === commit 37017ac6849e772e67dd187ba2fbd056c4afa533 upstream. The Broadcom OSB4 IDE Controller (vendor and device IDs: 1166:0211) does not support 64-KB DMA transfers. Whenever a 64-KB D

[PATCH 3.12 050/206] crypto: more robust crypto_memneq

2014-11-18 Thread Jiri Slaby
From: Cesar Eduardo Barros 3.12-stable review patch. If anyone has any objections, please let me know. === commit fe8c8a126806fea4465c43d62a1f9d273a572bf5 upstream. [Only use the compiler.h portion of this patch, to get the OPTIMIZER_HIDE_VAR() macro, which we need for other -stab

[PATCH 3.12 093/206] Input: i8042 - add noloop quirk for Asus X750LN

2014-11-18 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9ff84a17302aeb8913ff244ecc0d8f9d219fecb5 upstream. Without this the aux port does not get detected, and consequently the touchpad will not work. https://bugzilla.redhat.com/

[PATCH] i8k: Fix temperature bug handling in i8k_get_temp()

2014-11-18 Thread Pali Rohár
Static array prev[] was incorrectly initialized. It should be initialized to some "invalid" temperature value (above I8K_MAX_TEMP). Next, function should store "invalid" value to prev[] (above I8K_MAX_TEMP), not valid (= I8K_MAX_TEMP) because whole temperature bug handling will not work. And last

[PATCH 3.12 097/206] media: v4l2-common: fix overflow in v4l_bound_align_image()

2014-11-18 Thread Jiri Slaby
From: Maciej Matraszek 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3bacc10cd4a85bc70bc0b6c001d3bf995c7fe04c upstream. Fix clamp_align() used in v4l_bound_align_image() to prevent overflow when passed large value like UINT32_MAX. In the

[PATCH 3.12 094/206] Input: i8042 - quirks for Fujitsu Lifebook A544 and Lifebook AH544

2014-11-18 Thread Jiri Slaby
From: Hans de Goede 3.12-stable review patch. If anyone has any objections, please let me know. === commit 993b3a3f80a7842a48cd46c2b41e1b3ef6302468 upstream. These models need i8042.notimeout, otherwise the touchpad will not work. BugLink: https://bugzilla.kernel.org/show_bug.cgi

[PATCH 3.12 096/206] drm/nouveau/bios: memset dcb struct to zero before parsing

2014-11-18 Thread Jiri Slaby
From: Ben Skeggs 3.12-stable review patch. If anyone has any objections, please let me know. === commit 595d373f1e9c9ce0fc946457fdb488e8a58972cd upstream. Fixes type/mask calculation being based on uninitialised data for VGA outputs. Signed-off-by: Ben Skeggs Signed-off-by: Jiri

[PATCH 3.12 107/206] KVM: x86: Fix wrong masking on relative jump/call

2014-11-18 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 05c83ec9b73c8124555b706f6af777b10adf0862 upstream. Relative jumps and calls do the masking according to the operand size, and not according to the address size as the KVM emulat

[PATCH 3.12 109/206] kvm: vmx: handle invvpid vm exit gracefully

2014-11-18 Thread Jiri Slaby
From: Petr Matousek 3.12-stable review patch. If anyone has any objections, please let me know. === commit a642fc305053cc1c6e47e4f4df327895747ab485 upstream. On systems with invvpid instruction support (corresponding bit in IA32_VMX_EPT_VPID_CAP MSR is set) guest invocation of inv

[PATCH 3.12 108/206] KVM: x86: Emulator fixes for eip canonical checks on near branches

2014-11-18 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 234f3ce485d54017f15cf5e0699cff4100121601 upstream. Before changing rip (during jmp, call, ret, etc.) the target should be asserted to be canonical one, as real CPUs do. During

[PATCH 3.12 104/206] KVM: x86: Improve thread safety in pit

2014-11-18 Thread Jiri Slaby
From: Andy Honig 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2febc839133280d5a5e8e1179c94ea674489dae2 upstream. There's a race condition in the PIT emulation code in KVM. In __kvm_migrate_pit_timer the pit_timer object is accessed withou

[PATCH 3.12 106/206] kvm: x86: don't kill guest on unknown exit reason

2014-11-18 Thread Jiri Slaby
From: "Michael S. Tsirkin" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2bc19dc3754fc066c43799659f0d848631c44cfe upstream. KVM_EXIT_UNKNOWN is a kvm bug, we don't really know whether it was triggered by a priveledged application. Let's no

[PATCH 3.12 102/206] kvm: fix excessive pages un-pinning in kvm_iommu_map error path.

2014-11-18 Thread Jiri Slaby
From: Quentin Casasnovas 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3d32e4dbe71374a6780eaf51d719d76f9a9bf22f upstream. The third parameter of kvm_unpin_pages() when called from kvm_iommu_map_pages() is wrong, it should be the number of p

Re: [PATCH v3 1/5] arm64: Kprobes with single stepping support

2014-11-18 Thread Will Deacon
Hello, On Tue, Nov 18, 2014 at 06:32:51AM +, David Long wrote: > From: Sandeepa Prabhu > > Add support for basic kernel probes(kprobes) and jump probes > (jprobes) for ARM64. > > Kprobes will utilize software breakpoint and single step debug > exceptions supported on ARM v8. > > software b

[PATCH 3.12 103/206] KVM: x86: Prevent host from panicking on shared MSR writes.

2014-11-18 Thread Jiri Slaby
From: Andy Honig 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8b3c3104c3f4f706e99365c3e0d2aa61b95f969f upstream. The previous patch blocked invalid writes directly when the MSR is written. As a precaution, prevent future similar mistakes

Re: [Patch Part3 V7 0/8] Enable support of Intel DMAR device hotplug

2014-11-18 Thread Jiang Liu
On 2014/11/18 22:28, Joerg Roedel wrote: > On Tue, Nov 18, 2014 at 08:57:45PM +0800, Jiang Liu wrote: >> Bjorn has given his acked-by for v6 at >> https://lkml.org/lkml/2014/9/24/975. But I forgot to carry this >> acked-by, sorry:( > > Okay, I see, applied the patch with the Acked-by, thanks.

[PATCH 3.12 105/206] KVM: x86: Check non-canonical addresses upon WRMSR

2014-11-18 Thread Jiri Slaby
From: Nadav Amit 3.12-stable review patch. If anyone has any objections, please let me know. === commit 854e8bb1aa06c578c2c9145fa6bfe3680ef63b23 upstream. Upon WRMSR, the CPU should inject #GP if a non-canonical value (address) is written to certain MSRs. The behavior is "almost"

[PATCH 3.12 100/206] media: ds3000: fix LNB supply voltage on Tevii S480 on initialization

2014-11-18 Thread Jiri Slaby
From: Ulrich Eckhardt 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8c5bcded11cb607b1bb5920de3b9c882136d27db upstream. The Tevii S480 outputs 18V on startup for the LNB supply voltage and does not automatically power down. This blocks other

Re: linux-next: build failure after merge of the omap_dss2 tree

2014-11-18 Thread Tomi Valkeinen
Hi, Thanks Stephen! Hans, have you had a look at this? kbuild test bot also reported this. Tomi On 17/11/14 10:09, Stephen Rothwell wrote: > Hi Tomi, > > After merging the omap_dss2 tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/video/fbdev/simplefb.c:

[PATCH 3.12 099/206] media: em28xx-v4l: give back all active video buffers to the vb2 core properly on streaming stop

2014-11-18 Thread Jiri Slaby
From: Frank Schaefer 3.12-stable review patch. If anyone has any objections, please let me know. === commit 627530c32a43283474e9dd3e954519410ffa033a upstream. When a new video frame is started, the driver takes the next video buffer from the list of active buffers and moves it to

Re: [patch 08/16] genirq: Introduce callback irq_chip.irq_write_msi_msg

2014-11-18 Thread Jiang Liu
On 2014/11/18 22:34, Yun Wu (Abel) wrote: > On 2014/11/18 22:19, Thomas Gleixner wrote: > >> On Tue, 18 Nov 2014, Yun Wu (Abel) wrote: >>> On 2014/11/18 21:43, Jiang Liu wrote: We provide an irq_chip for each type of interrupt controller instead of devices. For the example mentioned a

Re: frequent lockups in 3.18rc4

2014-11-18 Thread Dave Jones
On Mon, Nov 17, 2014 at 06:51:25PM -0800, Linus Torvalds wrote: > On Mon, Nov 17, 2014 at 6:39 PM, Dave Jones wrote: > > > > So it could be that I'm just generating a lot more load now. > > I could drop that back down and see if it 'goes away' or at least > > happens less, but it strikes me t

[PATCH 3.12 079/206] mnt: Prevent pivot_root from creating a loop in the mount tree

2014-11-18 Thread Jiri Slaby
From: "Eric W. Biederman" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0d0826019e529f21c84687521d03f60cd241ca7d upstream. Andy Lutomirski recently demonstrated that when chroot is used to set the root path below the path for the new ``root

Re: [PATCH v3 5/5] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2014-11-18 Thread Will Deacon
Hi David, On Tue, Nov 18, 2014 at 06:32:55AM +, David Long wrote: > From: "David A. Long" > > Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64. [...] > diff --git a/arch/arm64/include/asm/ptrace.h b/arch/arm64/include/asm/ptrace.h > index d3e782a..24cc048 100644 > --- a/arch/arm64/incl

[PATCH 3.12 098/206] media: usb: uvc: add a quirk for Dell XPS M1330 webcam

2014-11-18 Thread Jiri Slaby
From: Paul Fertser 3.12-stable review patch. If anyone has any objections, please let me know. === commit 62ea864f84fed6e04dd033d500d4c9183a83d590 upstream. As reported on [1], this device needs this quirk to be able to reliably initialise the webcam. [1] http://ubuntuforums.org/

[PATCH 1/1] fs-proc: One function call less in proc_sys_lookup() after error detection

2014-11-18 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 18 Nov 2014 15:42:43 +0100 The sysctl_head_finish() function was called in an inefficient way by the implementation of the proc_sys_lookup() function in case of a lookup failure. The corresponding source code was improved by deletion of an unnecessary null pointer

Re: [PATCHv2 2/3] kernel: add support for live patching

2014-11-18 Thread Miroslav Benes
On Sun, 16 Nov 2014, Seth Jennings wrote: [...] > diff --git a/include/linux/livepatch.h b/include/linux/livepatch.h > new file mode 100644 > index 000..8b68fef > --- /dev/null > +++ b/include/linux/livepatch.h > @@ -0,0 +1,68 @@ > +/* > + * livepatch.h - Live Kernel Patching Core > + * > +

[PATCH 3.12 126/206] ext4: fix overflow when updating superblock backups after resize

2014-11-18 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9378c6768e4fca48971e7b6a9075bc006eda981d upstream. When there are no meta block groups update_backups() will compute the backup block in 32-bit arithmetics thus possibly overflowi

[PATCH 3.12 116/206] qxl: don't create too large primary surface

2014-11-18 Thread Jiri Slaby
From: Marc-André Lureau 3.12-stable review patch. If anyone has any objections, please let me know. === commit c572aaf46f71f63ae5914d4e194a955e0ba1b519 upstream. Limit primary to qemu vgamem size, to avoid reaching qemu guest bug "requested primary larger than framebuffer" on resi

Re: [PATCH 3/3] ASoC: arizona: Add initial CS47L24 codec driver

2014-11-18 Thread Mark Brown
On Tue, Nov 11, 2014 at 05:05:43PM +, Richard Fitzgerald wrote: > Signed-off-by: Richard Fitzgerald > --- > sound/soc/codecs/Kconfig |8 + > sound/soc/codecs/Makefile |2 + > sound/soc/codecs/arizona.c |5 + > sound/soc/codecs/cs47l24.c | 1133 > +++

[PATCH 3.12 117/206] jbd2: free bh when descriptor block checksum fails

2014-11-18 Thread Jiri Slaby
From: "Darrick J. Wong" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 064d83892e9ba547f7d4eae22cbca066d95210ce upstream. Free the buffer head if the journal descriptor block fails checksum verification. This is the jbd2 port of the e2fspro

[PATCH 3.12 101/206] media: tda7432: Fix setting TDA7432_MUTE bit for TDA7432_RF register

2014-11-18 Thread Jiri Slaby
From: Axel Lin 3.12-stable review patch. If anyone has any objections, please let me know. === commit 91ba0e59babdb3c7aca836a65f1095b3eaff7b06 upstream. Fix a copy-paste bug when converting to the control framework. Fixes: commit 5d478e0de871 ("[media] tda7432: convert to the con

[PATCH 3.12 090/206] dm log userspace: fix memory leak in dm_ulog_tfr_init failure path

2014-11-18 Thread Jiri Slaby
From: Alexey Khoroshilov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56ec16cb1e1ce46354de8511eef962a417c32c92 upstream. If cn_add_callback() fails in dm_ulog_tfr_init(), it does not deallocate prealloced memory but calls cn_del_callback()

[PATCH 3.12 136/206] OOM, PM: OOM killed task shouldn't escape PM suspend

2014-11-18 Thread Jiri Slaby
From: Michal Hocko 3.12-stable review patch. If anyone has any objections, please let me know. === commit 5695be142e203167e3cb515ef86a88424f3524eb upstream. PM freezer relies on having all tasks frozen by the time devices are getting frozen so that no task will touch them while th

[PATCH 3.12 112/206] target: Fix queue full status NULL pointer for SCF_TRANSPORT_TASK_SENSE

2014-11-18 Thread Jiri Slaby
From: Quinn Tran 3.12-stable review patch. If anyone has any objections, please let me know. === commit 082f58ac4a48d3f5cb4597232cb2ac6823a96f43 upstream. During temporary resource starvation at lower transport layer, command is placed on queue full retry path, which expose this p

[PATCH] l2cap_core: automatically flushable packets aren't supported by LE-only devices

2014-11-18 Thread Steven Walter
The bluetooth spec states that automatically flushable packets may not be sent to a LE-only controller. The code already supports non-automatically-flushable packets, but uses a bit in the controller feature field to determine whether to use them. That bit is always zero for LE-only devices, so w

[PATCH 3.12 114/206] MIPS: ftrace: Fix a microMIPS build problem

2014-11-18 Thread Jiri Slaby
From: Markos Chandras 3.12-stable review patch. If anyone has any objections, please let me know. === commit aedd153f5bb5b1f1d6d9142014f521ae2ec294cc upstream. Code before the .fixup section needs to have the .insn directive. This has no side effects on MIPS32/64 but it affects th

[PATCH 3.12 125/206] ext4: check s_chksum_driver when looking for bg csum presence

2014-11-18 Thread Jiri Slaby
From: "Darrick J. Wong" 3.12-stable review patch. If anyone has any objections, please let me know. === commit 813d32f91333e4c33d5a19b67167c4bae42dae75 upstream. Convert the ext4_has_group_desc_csum predicate to look for a checksum driver instead of the metadata_csum flag and chan

[PATCH 3.12 134/206] ALSA: hda - add codec ID for Braswell display audio codec

2014-11-18 Thread Jiri Slaby
From: Libin Yang 3.12-stable review patch. If anyone has any objections, please let me know. === commit d1585c89cecdb513f68045e47ab76976524b5961 upstream. This patch adds codec ID (0x80862883) and module alias for Braswell display codec. Signed-off-by: Libin Yang Signed-off-by:

[PATCH 3.12 137/206] iio: st_sensors: Fix buffer copy

2014-11-18 Thread Jiri Slaby
From: Robin van der Gracht 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4250c90b30b8bf2a1a21122ba0484f8f351f152d upstream. Use byte_for_channel as iterator to properly initialize the buffer. Signed-off-by: Robin van der Gracht Acked-by:

Re: [PATCH] i8k: Ignore temperature sensors which report invalid values

2014-11-18 Thread Pali Rohár
On Tuesday 18 November 2014 06:56:11 Guenter Roeck wrote: > On 11/17/2014 12:35 AM, Pali Rohár wrote: > > On Thursday 23 October 2014 18:45:07 Guenter Roeck wrote: > >> On Thu, Oct 23, 2014 at 12:37:34PM +0200, Pali Rohár wrote: > >>> On Wednesday 22 October 2014 19:10:05 Guenter Roeck wrote: > >>>

[PATCH 3.12 128/206] ext4: fix oops when loading block bitmap failed

2014-11-18 Thread Jiri Slaby
From: Jan Kara 3.12-stable review patch. If anyone has any objections, please let me know. === commit 599a9b77ab289d85c2d5c8607624efbe1f552b0f upstream. When we fail to load block bitmap in __ext4_new_inode() we will dereference NULL pointer in ext4_journal_get_write_access(). So

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