[PATCH 3.14 10/77] swiotlb-xen: remove BUG_ON in xen_bus_to_phys

2015-01-13 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit c884227eaae9936f8ecbde6e1387bccdab5f4e90 upstream. On x86 truncation cannot occur because config XEN depends on X86_64 || (X86_32 && X86_PAE). On ARM truncation can

[PATCH 3.18 125/150] ACPI / PM: Fix PM initialization for devices that are not present

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit 1b1f3e1699a9886f1070f94171097ab4ccdbfc95 upstream. If an ACPI device object whose _STA returns 0 (not present and not functional) has _PR0 or _PS0, its power_managea

[PATCH 3.14 01/77] drivers/rtc/rtc-sirfsoc.c: move hardware initilization earlier in probe

2015-01-13 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Guo Zeng commit 0e95325525c4383565cea4f402f15a3113162d05 upstream. Move rtc register to be later than hardware initialization. The reason is that devm_rtc_device_register() will do read_time(

[PATCH 3.18 131/150] arm64: kernel: fix __cpu_suspend mm switch on warm-boot

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lorenzo Pieralisi commit f43c27188a49111b58e9611afa2f0365b0b55625 upstream. On arm64 the TTBR0_EL1 register is set to either the reserved TTBR0 page tables on boot or to the active_mm mappings

[PATCH 3.18 129/150] Input: alps - v7: fix finger counting for > 2 fingers on clickpads

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit d27eb7931c98a1ebfc9b2fcc48939846bcbfc804 upstream. Protocol v7 uses the middle / right button bits on clickpads to communicate "location" information of a 3th touch (and p

[PATCH 3.14 11/77] swiotlb-xen: call xen_dma_sync_single_for_device when appropriate

2015-01-13 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefano Stabellini commit 9490c6c67e2f41760de8ece4e4f56f75f84ceb9e upstream. In xen_swiotlb_sync_single we always call xen_dma_sync_single_for_cpu, even when we should call xen_dma_sync_single

[PATCH 3.18 138/150] perf: Fix events installation during moving group

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit 9fc81d87420d0d3fd62d5e5529972c0ad9eab9cc upstream. We allow PMU driver to change the cpu on which the event should be installed to. This happened in patch: e2d37cd213dc ("p

[PATCH 3.18 137/150] perf/x86/intel/uncore: Make sure only uncore events are collected

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit af91568e762d04931dcbdd6bef4655433d8b9418 upstream. The uncore_collect_events functions assumes that event group might contain only uncore events which is wrong, because it mig

[PATCH 3.18 143/150] nouveau: bring back legacy mmap handler

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit 2036eaa74031b11028ee8fc1f44f128fdc871dda upstream. nouveau userspace back at 1.0.1 used to call the X server DRIOpenDRMMaster interface even for DRI2 (doh!), this attempts t

[PATCH 3.18 135/150] Btrfs: dont delay inode ref updates during log replay

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Chris Mason commit 6f8960541b1eb6054a642da48daae2320fddba93 upstream. Commit 1d52c78afbb (Btrfs: try not to ENOSPC on log replay) added a check to skip delayed inode updates during log replay

[PATCH 3.18 134/150] crypto: aesni - fix "by8" variant for 128 bit keys

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause commit 0b1e95b2fa0934c3a08db483979c70d3b287f50e upstream. The "by8" counter mode optimization is broken for 128 bit keys with input data longer than 128 bytes. It uses the wrong

[PATCH 3.18 094/150] tracing/sched: Check preempt_count() for current when reading task->state

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: "Steven Rostedt (Red Hat)" commit aee4e5f3d3abb7a2239dd02f6d8fb173413fd02f upstream. When recording the state of a task for the sched_switch tracepoint a check of task_preempt_count() is perfo

[PATCH 3.18 091/150] drbd: merge_bvec_fn: properly remap bvm->bi_bdev

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Lars Ellenberg commit 3b9d35d744bb5139f9fed57f38c019bb8c7d351c upstream. This was not noticed for many years. Affects operation if md raid is used a backing device for DRBD. Signed-off-by: Ph

[PATCH 3.18 089/150] genhd: check for int overflow in disk_expand_part_tbl()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jens Axboe commit 5fabcb4c33fe11c7e3afdf805fde26c1a54d0953 upstream. We can get here from blkdev_ioctl() -> blkpg_ioctl() -> add_partition() with a user passed in partno value. If we pass in 0

[PATCH 3.18 132/150] arm64/efi: add missing call to early_ioremap_reset()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ard Biesheuvel commit 0e63ea48b4d8035dd0e91a3fa6fb79458b47adfb upstream. The early ioremap support introduced by patch bf4b558eba92 ("arm64: add early_ioremap support") failed to add a call to

[PATCH 3.18 133/150] crypto: sha-mb - Add avx2_supported check.

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vinson Lee commit 0b8c960cf6defc56b3aa1a71b5af95872b6dff2b upstream. This patch fixes this allyesconfig target build error with older binutils. LD arch/x86/crypto/built-in.o ld: arch/x

[PATCH 3.18 121/150] ARM: OMAP4: PM: Only do static dependency configuration in omap4_init_static_deps

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Nishanth Menon commit 9008d83fe9dc2e0f19b8ba17a423b3759d8e0fd7 upstream. Commit 705814b5ea6f ("ARM: OMAP4+: PM: Consolidate OMAP4 PM code to re-use it for OMAP5") Moved logic generic for OMAP

[PATCH 3.18 118/150] ARM: defconfigs: use CONFIG_CPUFREQ_DT

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Viresh Kumar commit 9d312cd12e89ce08add99fe66e8f6baeaca16d7d upstream. CONFIG_GENERIC_CPUFREQ_CPU0 disappeared with commit bbcf071969b20f ("cpufreq: cpu0: rename driver and internals to 'cpufr

[PATCH 3.18 120/150] ARM: dts: Enable PWM node by default for s3c64xx

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomasz Figa commit 5e794de514f56de1e78e979ca09c56a91aa2e9f1 upstream. The PWM block is required for system clock source so it must be always enabled. This patch fixes boot issues on SMDK6410 w

[PATCH 3.18 111/150] nilfs2: fix the nilfs_iget() vs. nilfs_new_inode() races

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ryusuke Konishi commit 705304a863cc41585508c0f476f6d3ec28cf7e00 upstream. Same story as in commit 41080b5a2401 ("nfsd race fixes: ext2") (similar ext2 fix) except that nilfs2 needs to use inse

[PATCH 3.18 116/150] ARM: dts: am437x-sk: fix lcd enable pin mux data

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Felipe Balbi commit 58230c2c443bc9801293f6535144d04ceaf731e0 upstream. Caused by a copy & paste error. Note that even with this bug AM437x SK display still works because GPIO mux mode is alway

[PATCH 3.18 110/150] mtd: nand: omap: Fix NAND enumeration on 3430 LDP

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Roger Quadros commit 775a9134f4398ca98a10af8cc3cf9b664017267f upstream. 3430LDP has NAND flash with 32 bytes OOB size which is sufficient to hold BCH8 codes but the small page check introduced

[PATCH 3.18 100/150] Drivers: hv: vmbus: Fix a race condition when unregistering a device

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit 04a258c162a85c0f4ae56be67634dc43c9a4fa9b upstream. When build with Debug the following crash is sometimes observed: Call Trace: [] string+0x40/0x100 [] vsnprintf+0x21

[PATCH 3.18 102/150] fs: nfsd: Fix signedness bug in compare_blob

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Rasmus Villemoes commit ef17af2a817db97d42dd2ec0a425231748e23dbc upstream. Bugs similar to the one in acbbe6fbb240 (kcmp: fix standard comparison bug) are in rich supply. In this variant, the

[PATCH 3.18 105/150] nfsd: fix fi_delegees leak when fi_had_conflict returns true

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 94ae1db226a5bcbb48372d81161f084c9e283fd8 upstream. Currently, nfs4_set_delegation takes a reference to an existing delegation and then checks to see if there is a conflict.

[PATCH 3.18 099/150] n_tty: Fix read_buf race condition, increment read_head after pushing data

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian Riesch commit 8bfbe2de769afda051c56aba5450391670e769fc upstream. Commit 19e2ad6a09f0c06dbca19c98e5f4584269d913dd ("n_tty: Remove overflow tests from receive_buf() path") moved the in

[PATCH 3.18 103/150] nfsd4: fix xdr4 inclusion of escaped char

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit 5a64e56976f1ba98743e1678c0029a98e9034c81 upstream. Fix a bug where nfsd4_encode_components_esc() includes the esc_end char as an additional string encoding. Signed-

[PATCH 3.18 107/150] ceph: do_sync is never initialized

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 021b77bee210843bed1ea91b5cad58235ff9c8e5 upstream. Probably this code was syncing a lot more often then intended because the do_sync variable wasn't set to zero. Fixes: c

[PATCH 3.18 086/150] usb: gadget: at91_udc: move prepare clk into process context

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ronald Wahl commit b2ba27a5c56ff7204d8a8684893d64d4afe2cee5 upstream. Commit 7628083227b6bc4a7e33d7c381d7a4e558424b6b (usb: gadget: at91_udc: prepare clk before calling enable) added clock pre

[PATCH 3.18 073/150] i2c: designware: Fix falling time bindings doc

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Doug Anderson commit 8e2596e81a9dd8f9efcf78476f3990f211e25edb upstream. In (6468276 i2c: designware: make SCL and SDA falling time configurable) new device tree properties were added for setti

[PATCH 3.18 076/150] ALSA: hda/realtek - New codec support for ALC256

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Kailang Yang commit 4344aec84bd84b58a01347f0db7693f73fb6473d upstream. Add new support for ALC256 codec. Signed-off-by: Kailang Yang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Ha

[PATCH 3.18 065/150] KVM: s390: flush CPU on load control

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 2dca485f8740208604543c3960be31a5dd3ea603 upstream. some control register changes will flush some aspects of the CPU, e.g. POP explicitely mentions that for CR9-CR1

[PATCH 3.18 066/150] KVM: s390: Fix ipte locking

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 1365039d0cb32c0cf96eb9f750f4277c9a90f87d upstream. ipte_unlock_siif uses cmpxchg to replace the in-memory data of the ipte lock together with ACCESS_ONCE for the i

[PATCH 3.18 082/150] ALSA: hda - Add new GPU codec ID 0x10de0072 to snd-hda

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Aaron Plattner commit 60834b73a9c2bbc2f514122ddc626f3350fb40cd upstream. Vendor ID 0x10de0072 is used by a yet-to-be-named GPU chip. Signed-off-by: Aaron Plattner Signed-off-by: Takashi Iwai

[PATCH 3.18 071/150] misc: genwqe: check for error from get_user_pages_fast()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit cf35d6e0475982667b0d2d318fb27be4b8849827 upstream. `genwqe_user_vmap()` calls `get_user_pages_fast()` and if the return value is less than the number of pages requested, it f

[PATCH 3.18 052/150] HID: wacom: re-add accidentally dropped Lenovo PID

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires commit 00d6f227a5905be47006abcc1f417d069ecc3711 upstream. Dropped in the following commit: commit a3e6f6543d19 ("Input: wacom - keep wacom_ids ordered") Reported-by: Hans

[PATCH 3.18 081/150] ALSA: hda - Fix wrong gpio_dir & gpio_mask hint setups for IDT/STAC codecs

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit c507de88f6a336bd7296c9ec0073b2d4af8b4f5e upstream. stac_store_hints() does utterly wrong for masking the values for gpio_dir and gpio_data, likely due to copy&paste errors.

[PATCH 3.18 067/150] kvm: x86: drop severity of "generation wraparound" message

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit a629df7eadffb03e6ce4a8616e62ea29fdf69b6b upstream. Since most virtual machines raise this message once, it is a bit annoying. Make it KERN_DEBUG severity. Fixes: 7a2e8aaf

[PATCH 3.18 019/150] ASoC: eukrea-tlv320: Fix of_node_put() call with uninitialized object

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 077661b6ed24e530dabc9db3ab3ae48fbaf19679 upstream. The of_node_put() call in eukrea_tlv320_probe() may take an uninitialized pointer, as compiler spotted out: sound/soc/f

[PATCH 3.18 060/150] x86: export get_xsave_addr

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Paolo Bonzini commit ba7b39203a3a18018173b87e73f27169bd8e5147 upstream. get_xsave_addr is the API to access XSAVE states, and KVM would like to use it. Export it. Cc: x...@kernel.org Cc: H.

[PATCH 3.18 015/150] iwlwifi: dvm: fix flush support for old firmware

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit 5a12a07e4495d1e4d79382e05c9d6e8b4d9fa4ec upstream. Since the commit below, iwldvm sends the FLUSH command to the firmware. All the devices that use iwldvm have a firmw

[PATCH 3.18 057/150] HID: i2c-hid: Do not free buffers in i2c_hid_stop()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 5b44c53aeb791757072be4a267255cedfff594fd upstream. When a hid driver that uses i2c-hid as transport is unloaded, the hid core will call i2c_hid_stop() which releases all

[PATCH 3.18 044/150] iommu/vt-d: Fix an off-by-one bug in __domain_mapping()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Jiang Liu commit cc4f14aa170d895c9a43bdb56f62070c8a6da908 upstream. There's an off-by-one bug in function __domain_mapping(), which may trigger the BUG_ON(nr_pages < lvl_pages) when (n

[PATCH 3.18 036/150] Bluetooth: Fix controller configuration with HCI_QUIRK_INVALID_BDADDR

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit 8bfe8442ff20fdc2d965c197103d935a99bd3296 upstream. When controllers set the HCI_QUIRK_INVALID_BDADDR flag, it is required by userspace to program a valid public Bluetoot

[PATCH 3.18 041/150] pstore-ram: Allow optional mapping with pgprot_noncached

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren commit 027bc8b08242c59e19356b4b2c189f2d849ab660 upstream. On some ARMs the memory can be mapped pgprot_noncached() and still be working for atomic operations. As pointed out by C

[PATCH 3.18 043/150] UBI: Fix double free after do_sync_erase()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit aa5ad3b6eb8feb2399a5d26c8fb0060561bb9534 upstream. If the erase worker is unable to erase a PEB it will free the ubi_wl_entry itself. The failing ubi_wl_entry must no

[PATCH 3.18 031/150] Bluetooth: ath3k: Add support of MCI 13d3:3408 bt device

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 3bb30a7cdf9242aca90d49aa41baebf9458f96f0 upstream. Add support for Bluetooth MCI WB335 (AR9565) Wi-Fi+bt module. This Bluetooth module requires loading patch and sysconfig

[PATCH 3.18 008/150] ath9k: fix BE/BK queue order

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Felix Fietkau commit 78063d81d353e10cbdd279c490593113b8fdae1c upstream. Hardware queues are ordered by priority. Use queue index 0 for BK, which has lower priority than BE. Signed-off-by: Fel

[PATCH 3.18 003/150] rtc: omap: fix missing wakealarm attribute

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 7ecd9a3f062147400e605713724dd67dbb7e5053 upstream. The platform device must be registered as wakeup capable before registering the class device, or the wakealarm attribute

[PATCH 3.18 026/150] powerpc: Fix bad NULL pointer check in udbg_uart_getc_poll()

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit cd32e2dcc9de6c27ecbbfc0e2079fb64b42bad5f upstream. We have some code in udbg_uart_getc_poll() that tries to protect against a NULL udbg_uart_in, but gets it all wrong.

[PATCH 3.18 001/150] drivers/rtc/rtc-sirfsoc.c: move hardware initilization earlier in probe

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Guo Zeng commit 0e95325525c4383565cea4f402f15a3113162d05 upstream. Move rtc register to be later than hardware initialization. The reason is that devm_rtc_device_register() will do read_time(

[PATCH 3.18 027/150] powerpc/book3s: Fix partial invalidation of TLBs in MCE code.

2015-01-13 Thread Greg Kroah-Hartman
3.18-stable review patch. If anyone has any objections, please let me know. -- From: Mahesh Salgaonkar commit 682e77c861c4c60f79ffbeae5e1938ffed24a575 upstream. The existing MCE code calls flush_tlb hook with IS=0 (single page) resulting in partial invalidation of TLBs which i

Re: [PATCH] x86, mpx: Ensure unused arguments of prctl() MPX requests are 0

2015-01-13 Thread Michael Kerrisk (man-pages)
Hi Andi, On 10 January 2015 at 19:39, Andi Kleen wrote: > On Sat, Jan 10, 2015 at 02:49:07PM +0100, Michael Kerrisk (man-pages) wrote: >> On 01/09/2015 07:34 PM, Dave Hansen wrote: >> > On 01/09/2015 10:25 AM, Michael Kerrisk (man-pages) wrote: >> >> On 9 January 2015 at 18:25, Andi Kleen wrote:

[PATCH] BLACKFIN MEDIA DRIVER: rewrite the blackfin style of read/write into common style

2015-01-13 Thread Hao Liang
Signed-off-by: Hao Liang --- drivers/media/platform/blackfin/ppi.c | 72 - 1 file changed, 35 insertions(+), 37 deletions(-) diff --git a/drivers/media/platform/blackfin/ppi.c b/drivers/media/platform/blackfin/ppi.c index cff63e5..de4b5c7 100644 --- a/drivers/m

Help-desk Service Center requires your immediate re-activation

2015-01-13 Thread Rouw JH de, Hans
Help-desk Service Center requires your immediate re-activation of your Email account. This is to upgrade email account to the new anti spam virus detector sever 2014. Inability to complete this procedure will render your account inactivate. Activate by completing the survey procedure. CLICK LIN

Re: [PATCH] smack: fix possible use after frees in task_security() callers

2015-01-13 Thread Casey Schaufler
On 1/13/2015 7:52 AM, Andrey Ryabinin wrote: > We hit use after free on dereferncing pointer to task_smack struct in > smk_of_task() called from smack_task_to_inode(). > > task_security() macro uses task_cred_xxx() to get pointer to the task_smack. > task_cred_xxx() could be used only for non-point

[PATCH V7 1/8] elf: Add new powerpc specifc core note sections

2015-01-13 Thread Anshuman Khandual
This patch adds four new ELF core note sections for powerpc transactional memory and one new ELF core note section for powerpc general miscellaneous debug registers. These addition of new ELF core note sections extends the existing ELF ABI without affecting it in any manner. Acked-by: Andrew Morto

[PATCH V7 7/8] selftests, powerpc: Add test case for TM related ptrace interface

2015-01-13 Thread Anshuman Khandual
This patch adds one more test case called 'tm-ptrace' targeting TM related ptrace interface. This test creates one child process to run some basic TM transactions and the parent process attaches the child to do some ptrace probing using the recently added regset interfaces. The parent process then

[PATCH V7 8/8] selftests: Make GIT ignore all binaries in powerpc test suite

2015-01-13 Thread Anshuman Khandual
This patch includes all of the powerpc test binaries into the .gitignore file listing in their respective directories. This will make sure that GIT ignores all of these test binaries while displaying status. Signed-off-by: Anshuman Khandual --- NOTE: As Michael had mentioned (https://lkml.org/lkm

[PATCH V7 4/8] powerpc, ptrace: Enable vr_(get/set) for transactional memory

2015-01-13 Thread Anshuman Khandual
This patch enables the vr_get which gets the running value of all the VMX registers and the vr_set which sets the running value of of all the VMX registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 94 ++

[PATCH V7 2/8] powerpc, process: Add the function flush_tmregs_to_thread

2015-01-13 Thread Anshuman Khandual
This patch creates a function flush_tmregs_to_thread which will then be used by subsequent patches in this series. The function checks for self tracing ptrace interface attempts while in the TM context and logs appropriate warning message. Signed-off-by: Anshuman Khandual --- arch/powerpc/includ

[PATCH V7 5/8] powerpc, ptrace: Enable support for transactional memory register sets

2015-01-13 Thread Anshuman Khandual
This patch enables get and set of transactional memory related register sets through PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing four new powerpc specific register sets i.e REGSET_TM_SPR, REGSET_TM_CGPR, REGSET_TM_CFPR, REGSET_CVMX support corresponding to these following new ELF co

[PATCH V7 6/8] powerpc, ptrace: Enable support for miscellaneous debug registers

2015-01-13 Thread Anshuman Khandual
This patch enables get and set of miscellaneous debug registers through ptrace PTRACE_GETREGSET-PTRACE_SETREGSET interface by implementing new powerpc specific register set REGSET_MISC support corresponding to the new ELF core note NT_PPC_MISC added previously in this regard. Signed-off-by: Anshum

[PATCH V7 3/8] powerpc, ptrace: Enable fpr_(get/set) for transactional memory

2015-01-13 Thread Anshuman Khandual
This patch enables the fpr_get which gets the running value of all the FPR registers and the fpr_set which sets the running value of of all the FPR registers to accommodate in transaction ptrace interface based requests. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/ptrace.c | 103 +++

[PATCH V7 0/8] Add new powerpc specific ELF core notes

2015-01-13 Thread Anshuman Khandual
This patch series adds five new ELF core note sections which can be used with existing ptrace request PTRACE_GETREGSET-SETREGSET for accessing various transactional memory and miscellaneous debug register sets on powerpc platform. Previous versions: == RFC: https://lkml.org

[PATCH] ARM: multi_v7_defconfig: Enable Hip01 platform

2015-01-13 Thread Wang Long
Enable Hip01 platform support for multi_v7_defconfig. Signed-off-by: Wang Long --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index bc393b7..e5e0172 100644 --- a/arch/arm/confi

[PATCH v2] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-13 Thread Robert Baldyga
This patch fixes bug described here: https://lkml.org/lkml/2014/12/22/185 Signed-off-by: Robert Baldyga --- Changelog: v2: - fixed comment from Paul Zimmerman v1: https://lkml.org/lkml/2015/1/13/186 drivers/usb/dwc2/core_intr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) dif

Re: [PATCH] staging: lustre: libcfs: fix sparse warnings about static declaration

2015-01-13 Thread Jeremiah Mahler
Jia He, On Tue, Dec 16, 2014 at 10:39:38PM +0800, Jia He wrote: > make sparse happy since these two fuchtion are only used in module.c. > tested by successful compilation. > spelling: s/fuchtion/function/ Not sure if "make sparse happy" is the best way to describe what you are doing. You are fi

[PATCH] kernel/module.c: Free lock-classes if parse_args failed

2015-01-13 Thread Andrey Tsyvarev
parse_args call module parameters' .set handlers, which may use locks defined in the module. So, these classes should be freed in case parse_args returns error(e.g. due to incorrect parameter passed). Signed-off-by: Andrey Tsyvarev --- kernel/module.c | 3 +++ 1 file changed, 3 insertions(+)

[PATCH v4] gpio_wdt: Add "always_running" feature to GPIO watchdog

2015-01-13 Thread Mike Looijmans
On some chips, like the TPS386000, the trigger cannot be disabled and the CPU must keep toggling the line at all times. Add a switch "always_running" to keep toggling the GPIO line regardless of the state of the soft part of the watchdog. The "armed" member keeps track of whether a timeout must als

Re: [PATCH] usb: dwc2: call dwc2_is_controller_alive() under spinlock

2015-01-13 Thread Robert Baldyga
On 01/13/2015 10:12 PM, Paul Zimmerman wrote: >> From: Robert Baldyga [mailto:r.bald...@samsung.com] >> Sent: Tuesday, January 13, 2015 2:58 AM >> >> This patch fixes bug described here: >> https://lkml.org/lkml/2014/12/22/185 >> >> Signed-off-by: Robert Baldyga >> --- >> drivers/usb/dwc2/core_in

[PATCH] mmc: sdhci: Set SDHCI_POWER_ON with external vmmc

2015-01-13 Thread Tim Kryger
Host controllers lacking the required internal vmmc regulator may still follow the spec with regard to the LSB of SDHCI_POWER_CONTROL. Set the SDHCI_POWER_ON bit when vmmc is enabled to encourage the controller to to drive CMD, DAT, SDCLK. This fixes a regression observed on some Qualcomm and Nvi

linux-next: Tree for Jan 14

2015-01-13 Thread Stephen Rothwell
Hi all, Changes since 20150113: *crickets* Non-merge commits (relative to Linus' tree): 2846 2773 files changed, 85954 insertions(+), 47224 deletions(-) I have created today's linux-next tree at git://git.

Re: Investment

2015-01-13 Thread Suklee Peck
I'm contacting you on behalf of an investment placed under management 5 years ago by Shui bian. He needs assistance in investing these funds. If you are interested, you can write to his private email ( sait...@qq.com ) for further details. gesalpe Best Regards, Suklee Peck -- To unsubscribe from

[PATCH] tty/serial: digicolor: remove sysrq reference

2015-01-13 Thread Baruch Siach
The Digicolor USART hardware does not support detecting the BREAK condition. This means that we can't support sysrq on this hardware. Remove all reference to sysrq from the code. This also fixes build when sysrq is disabled: drivers/tty/serial/digicolor-usart.c: In function 'digicolor_uart_conso

Re: [PATCH 1/4] clk: tegra: make tegra_clocks_apply_init_table() arch_initcall

2015-01-13 Thread Alexandre Courbot
On Wed, Dec 17, 2014 at 5:38 AM, Paul Walmsley wrote: > From: Peter De Schrijver > > tegra_clocks_apply_init_table() needs to be called after the udelay > loop has been calibrated (see commit > 441f199a37cfd66c5dd8dd45490bd3ea6971117d ("clk: tegra: defer > application of init table") for why that

Re: [PATCH] serial: digicolor: fix sysrq handling

2015-01-13 Thread Baruch Siach
Hi Arnd, On Tue, Jan 13, 2015 at 03:37:11PM +0100, Arnd Bergmann wrote: > Trying to build the digicolor-usart driver when sysrq is disabled > results in a compile error: > > drivers/tty/serial/digicolor-usart.c: In function > 'digicolor_uart_console_write': > drivers/tty/serial/digicolor-usart.c

Re: [RFC] export module parameters even the permission is zero

2015-01-13 Thread Kees Cook
On Tue, Jan 13, 2015 at 6:16 PM, Wang, Yalin wrote: > This patch make sure to export module parameters even the permission > is zero, this is useful for some platforms like Android, > the init process can change the parameter mode/owner by > chmod/chown during bootup > > Signed-off-by: Yalin Wang

[RESEND PATCH v3] clocksource: exynos_mct: Add the support for Exynos 64bit SoC

2015-01-13 Thread Chanwoo Choi
This patch adds the support for Exynos 64bit SoC. The delay_timer is only used for Exynos 32bit SoC. Cc: Daniel Lezcano Cc: Thomas Gleixner Cc: Kukjin Kim Cc: Mark Rutland Signed-off-by: Chanwoo Choi --- This patch set is tested on 64-bit Exynos SoC. I send only this patch from following patc

Re: [PATCH RESEND v2] net: fec: fix MDIO bus assignement for dual fec SoC's

2015-01-13 Thread David Miller
From: Stefan Agner Date: Wed, 14 Jan 2015 00:20:21 +0100 > On i.MX28, the MDIO bus is shared between the two FEC instances. > The driver makes sure that the second FEC uses the MDIO bus of the > first FEC. This is done conditionally if FEC_QUIRK_ENET_MAC is set. > However, in newer designs, such

Re: [PATCH 2/2] net/macb: improved ethtool statistics support

2015-01-13 Thread David Miller
From: Xander Huff Date: Tue, 13 Jan 2015 16:15:51 -0600 > Currently `ethtool -S` simply returns "no stats available". It > would be more useful to see what the various ethtool statistics > registers' values are. This change implements get_ethtool_stats, > get_strings, and get_sset_count functions

Re: [PATCH 1/2] net/macb: Adding comments to various #defs to make interpretation easier

2015-01-13 Thread David Miller
From: Xander Huff Date: Tue, 13 Jan 2015 16:15:50 -0600 > This change is to help improve at-a-glace knowledge of the purpose of the > various Cadence MACB/GEM registers. Comments are more helpful for human > readability than short acronyms. > > Describe various #define varibles Cadence MACB/GEM

RE: [f2fs-dev][PATCH 2/2] f2fs: enable recover_xattr_data to avoid cp when fsync after operating xattr

2015-01-13 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, January 14, 2015 8:22 AM > To: Chao Yu > Cc: 'Changman Lee'; linux-f2fs-de...@lists.sourceforge.net; > linux-kernel@vger.kernel.org > Subject: Re: [f2fs-dev][PATCH 2/2] f2fs: enable recover

Re: Possible regression with commit 52221610d

2015-01-13 Thread Tim Kryger
On Sun, Dec 21, 2014 at 7:01 PM, Tim Kryger wrote: > On Wed, Dec 17, 2014 at 11:57 AM, Bjorn Andersson wrote: > >> I'm somewhat puzzled to what benefit 52221610d brings after bringing >> back the write of BIT(0). Is it just that we don't hit the BUG() on >> non-standard voltages? > > It is to all

Re: [V6,1/9] elf: Add new powerpc specifc core note sections

2015-01-13 Thread Anshuman Khandual
On 01/01/2015 01:38 PM, Anshuman Khandual wrote: >> > Also, we've noticed that the 'misc' regset contains registers from >> > different ISA >> > versions (dscr and ppr appear in ISA 2.05, tar is from 2.07). I'm not sure >> > if >> > there is a way to detect presence/validity of such registers, bu

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-13 Thread Rob Landley
On 01/13/2015 09:23 PM, Mimi Zohar wrote: > On Tue, 2015-01-13 at 15:42 -0600, Rob Landley wrote: >>> 4 bytes enough? > >> Eh, as long as we're breaking compatibility anyway, we might as well >> extend the file size. It's gzipped so the extra run of consecutive >> zeroes isn't really an issue,

Re: [PATCH -next] clk: shmobile: fix sparse NULL pointer warning

2015-01-13 Thread Simon Horman
On Wed, Jan 14, 2015 at 01:09:10PM +0900, Simon Horman wrote: > On Wed, Jan 14, 2015 at 09:16:23AM +0800, weiyj...@163.com wrote: > > From: Wei Yongjun > > > > Fixes the following sparse warnings: > > > > drivers/clk/shmobile/clk-sh73a0.c:57:17: warning: > > Using plain integer as NULL pointer

Re: [PATCH] char: Added support for u-blox 6 i2c gps driver

2015-01-13 Thread Greg Kroah-Hartman
On Tue, Jan 13, 2015 at 06:07:27PM -0800, Felipe Tonello wrote: > >> +static void ublox_gps_read_worker(struct work_struct *private); > >> + > >> +static DECLARE_DELAYED_WORK(ublox_gps_wq, ublox_gps_read_worker); > > > > Again, make device-specific. > > > >> +static void ublox_gps_read_worker(struc

Re: [PATCH -next] clk: shmobile: fix sparse NULL pointer warning

2015-01-13 Thread Simon Horman
On Wed, Jan 14, 2015 at 09:16:23AM +0800, weiyj...@163.com wrote: > From: Wei Yongjun > > Fixes the following sparse warnings: > > drivers/clk/shmobile/clk-sh73a0.c:57:17: warning: > Using plain integer as NULL pointer > > Signed-off-by: Wei Yongjun Acked-by: Simon Horman > --- > drivers/

Re: [PATCH] i2c: designware: use {readl|writel}_relaxed instead of readl/writel

2015-01-13 Thread Jisheng Zhang
Dear Wolfram, On Tue, 13 Jan 2015 06:36:54 -0800 Wolfram Sang wrote: > > On Thu, Dec 11, 2014 at 02:26:41PM +0800, Jisheng Zhang wrote: > > readl/writel is too expensive especially on Cortex A9 w/ outer L2 cache. > > This introduces i2c read/write errors on Marvell BG2/BG2Q SoCs when there > >

[PATCH v10 2/2] crypto: AF_ALG: enable AEAD interface compilation

2015-01-13 Thread Stephan Mueller
Enable compilation of the AEAD AF_ALG support and provide a Kconfig option to compile the AEAD AF_ALG support. Signed-off-by: Stephan Mueller --- crypto/Kconfig | 9 + crypto/Makefile | 1 + 2 files changed, 10 insertions(+) diff --git a/crypto/Kconfig b/crypto/Kconfig index 50f4da4..4

[PATCH v10 1/2] crypto: AF_ALG: add AEAD support

2015-01-13 Thread Stephan Mueller
This patch adds the AEAD support for AF_ALG. The implementation is based on algif_skcipher, but contains heavy modifications to streamline the interface for AEAD uses. To use AEAD, the user space consumer has to use the salg_type named "aead". The AEAD implementation includes some overhead to ca

[PATCH v10 0/2] crypto: AF_ALG: add AEAD and RNG support

2015-01-13 Thread Stephan Mueller
Hi, This patch set adds AEAD and RNG support to the AF_ALG interface exported by the kernel crypto API. By extending AF_ALG with AEAD and RNG support, all cipher types the kernel crypto API allows access to are now accessible from userspace. Both, AEAD and RNG implementations are stand-alone and

Re: [PATCH] selftests/powerpc: Add .gitignore for powerpc selftests

2015-01-13 Thread Anshuman Khandual
On 01/14/2015 07:45 AM, Michael Ellerman wrote: > On Tue, 2015-01-13 at 17:16 -0700, Shuah Khan wrote: >> Please add a commit log. > > What does it need to say? > >> On 01/13/2015 04:49 PM, Michael Ellerman wrote: >>> Signed-off-by: Michael Ellerman >>> --- >>> .../testing/selftests/powerpc/co

Re: [PATCH] staging: lustre: Fix sparse warning on address-space

2015-01-13 Thread hejianet
Hi all Ping again, any comments are welcome Justin On Mon, 29 Dec 2014 20:49:40 +0800 from hejia...@gmail.com wrote: > This patch is to fix the below warnings generated by sparse: > warning: incorrect type in argument 1 (different address spaces) > expected void const volatile [noderef] * > go

Re: [PATCH] staging: lustre: libcfs: fix sparse warnings about static declaration

2015-01-13 Thread hejianet
Hi all Ping again, any comments are welcome Justin On Tue, 16 Dec 2014 22:39:38 +0800 from hejia...@gmail.com wrote: > make sparse happy since these two fuchtion are only used in module.c. > tested by successful compilation. > > Signed-off-by: Jia He > Cc: Oleg Drokin > Cc: Andreas Dilger > Cc

Re: [PATCH v2 1/5] irqchip: add dumb demultiplexer implementation

2015-01-13 Thread Rob Herring
On Tue, Jan 13, 2015 at 12:46 PM, Boris Brezillon wrote: > Some interrupt controllers are multiplexing several peripheral IRQs on > a single interrupt line. > While this is not a problem for most IRQs (as long as all peripherals > request the interrupt with IRQF_SHARED flag set), multiplexing time

Re: [RFC][PATCH 6/9] gen_initramfs_list.sh: include xattrs

2015-01-13 Thread Mimi Zohar
On Tue, 2015-01-13 at 15:42 -0600, Rob Landley wrote: > > On 01/13/2015 02:20 PM, Mimi Zohar wrote: > > On Tue, 2015-01-13 at 12:48 -0600, Rob Landley wrote: > >> I note that there are two data formats of interest here: > >> > >> 1) the cpio file layout. > >> > >> 2) the list of files generated

RE: [PATCH v3] hv: hv_fcopy: drop the obsolete message on transfer failure

2015-01-13 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Tuesday, January 13, 2015 5:44 PM > To: Vitaly Kuznetsov; KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; driverdev- > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com; Hai

Re: [PATCH 1/1] mm: pagemap: limit scan to virtual region being asked

2015-01-13 Thread Naoya Horiguchi
On Tue, Jan 13, 2015 at 05:57:04PM +0530, Shiraz Hashim wrote: > pagemap_read scans through the virtual address space of a > task till it prepares 'count' pagemaps or it reaches end > of task. > > This presents a problem when the page walk doesn't happen > for vma with VM_PFNMAP set. In which case

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