[PATCH 3.4 138/146] ipmi: fix timeout calculation when bmc is disconnected

2015-09-15 Thread lizf
From: Xie XiuQi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit e21404dc0ac7ac971c1e36274b48bb460463f4e5 upstream. Loading ipmi_si module while bmc is disconnected, we found the timeout is longer than 5 secs. Actually it takes about 3

[PATCH 3.4 136/146] x86, kvm: use kernel_fpu_begin/end() in kvm_load/put_guest_fpu()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 9c1c3fac53378c9782c18f80107965578d7b7167 upstream. kvm's guest fpu save/restore should be wrapped around kernel_fpu_begin/end(). This will avoid for example taking a DNA

[PATCH 3.4 143/146] pipe: iovec: Fix memory corruption when retrying atomic copy as non-atomic

2015-09-15 Thread lizf
From: Ben Hutchings 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- pipe_iov_copy_{from,to}_user() may be tried twice with the same iovec, the first time atomically and the second time not. The second attempt needs to continue from the iovec

[PATCH 3.4 146/146] ipv6: add check for blackhole or prohibited entry in rt6_redire

2015-09-15 Thread lizf
From: Weilong Chen 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- There's a check for ip6_null_entry, but it's not enough if the config CONFIG_IPV6_MULTIPLE_TABLES is selected. Blackhole or prohibited entries should also be ignored. This path

[PATCH 3.4 141/146] block: fix ext_dev_lock lockdep report

2015-09-15 Thread lizf
From: Dan Williams 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 4d66e5e9b6d720d8463e11d027bd4ad91c8b1318 upstream. = [ INFO: inconsistent lock state ] 4.1.0-rc7+ #217 Tainted: G O

[PATCH v2] arm/ls1021a: Add Sleep feature for ls1021

2015-09-15 Thread Dongsheng Wang
From: Wang Dongsheng Add system STANDBY implement for ls1021 platform. Signed-off-by: Chenhui Zhao Signed-off-by: Wang Dongsheng --- *v2*: - Remove PSCI code. Just implement STANDBY in platform code. diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile index fb689d8..d7a2d1d

[PATCH 3.4 139/146] net: socket: Fix the wrong returns for recvmsg and sendmsg

2015-09-15 Thread lizf
From: Junling Zheng 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- Based on 08adb7dabd4874cc5666b4490653b26534702ce0 upstream. We found that after v3.10.73, recvmsg might return -EFAULT while -EINVAL was expected. We tested it through the

[PATCH 3.4 137/146] x86, kvm: fix kvm's usage of kernel_fpu_begin/end()

2015-09-15 Thread lizf
From: Suresh Siddha 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1a74bf8212367be2b1d6685c11a84e056eaaaf1 upstream. Preemption is disabled between kernel_fpu_begin/end() and as such it is not a good idea to use these routines in

[PATCH 3.4 133/146] udf: Check length of extended attributes and allocation descriptors

2015-09-15 Thread lizf
From: Jan Kara 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 23b133bdc452aa441fcb9b82cbf6dd05cfd342d0 upstream. Check length of extended attributes and allocation descriptors when loading inodes from disk. Otherwise corrupted

[PATCH 3.4 108/146] crypto: s390/ghash - Fix incorrect ghash icv buffer handling.

2015-09-15 Thread lizf
From: Harald Freudenberger 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a1cae34e23b1293eccbcc8ee9b39298039c3952a upstream. Multitheaded tests showed that the icv buffer in the current ghash implementation is not handled correctly. A

[PATCH 3.4 126/146] USB: cp210x: add ID for HubZ dual ZigBee and Z-Wave dongle

2015-09-15 Thread lizf
From: "John D. Blair" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit df72d588c54dad57dabb3cc8a87475d8ed66d806 upstream. Added the USB serial device ID for the HubZ dual ZigBee and Z-Wave radio dongle. Signed-off-by: John D. Blair

[PATCH 3.4 119/146] ozwpan: divide-by-zero leading to panic

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 04bf464a5dfd9ade0dda918e44366c2c61fce80b upstream. A network supplied parameter was not checked before division, leading to a divide-by-zero. Since this happens

[PATCH 3.4 096/146] ext4: check for zero length extent explicitly

2015-09-15 Thread lizf
From: Eryu Guan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2f974865ffdfe7b9f46a9940836c8b167342563d upstream. The following commit introduced a bug when checking for zero length extent 5946d08 ext4: check for overlapping extents in

[PATCH 3.4 121/146] drm/i915: Don't skip request retirement if the active list is empty

2015-09-15 Thread lizf
From: Ville Syrjälä 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 0aedb1626566efd72b369c01992ee7413c82a0c5 upstream. Apparently we can have requests even if though the active list is empty, so do the request retirement regardless of

[PATCH 3.4 112/146] x86: bpf_jit: fix compilation of large bpf programs

2015-09-15 Thread lizf
From: Alexei Starovoitov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 3f7352bf21f8fd7ba3e2fcef9488756f188e12be upstream. x86 has variable length encoding. x86 JIT compiler is trying to pick the shortest encoding for given bpf

[PATCH 3.4 129/146] bridge: disable softirqs around br_fdb_update to avoid lockup

2015-09-15 Thread lizf
From: Nikolay Aleksandrov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit c4c832f89dc468cf11dc0dd17206bace44526651 upstream. br_fdb_update() can be called in process context in the following way: br_fdb_add() -> __br_fdb_add() ->

[PATCH 3.4 116/146] target/pscsi: Don't leak scsi_host if hba is VIRTUAL_HOST

2015-09-15 Thread lizf
From: Andy Grover 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5a7125c64def3b21f8147eca8b54949a60963942 upstream. See https://bugzilla.redhat.com/show_bug.cgi?id=1025672 We need to put() the reference to the scsi host that we got in

[PATCH 3.4 104/146] ALSA: hda - Add Conexant codecs CX20721, CX20722, CX20723 and CX20724

2015-09-15 Thread lizf
From: David Henningsson 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 6ffc0898b29a2811a6c0569c5dd9b581980110df upstream. This patch adds support for Conexant HD Audio codecs CX20721, CX20722, CX20723 and CX20724. BugLink:

[PATCH 3.4 078/146] nilfs2: fix sanity check of btree level in nilfs_btree_root_broken()

2015-09-15 Thread lizf
From: Ryusuke Konishi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d8fd150fe3935e1692bf57c66691e17409ebb9c1 upstream. The range check for b-tree level parameter in nilfs_btree_root_broken() is wrong; it accepts the case of "level ==

[PATCH 3.4 079/146] ocfs2: dlm: fix race between purge and get lock resource

2015-09-15 Thread lizf
From: Junxiao Bi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b1432a2a35565f538586774a03bf277c27fc267d upstream. There is a race window in dlm_get_lock_resource(), which may return a lock resource which has been purged. This will

[PATCH 3.4 084/146] USB: pl2303: Remove support for Samsung I330

2015-09-15 Thread lizf
From: "Jason A. Donenfeld" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 48ef23a4f686b1e4519d4193c20d26834ff810ff upstream. This phone is already supported by the visor driver. Signed-off-by: Jason A. Donenfeld Fixes: 1da177e4c3f4

Re: [PATCH V3 2/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-09-15 Thread Philipp Zabel
Am Dienstag, den 15.09.2015, 11:58 +0800 schrieb Chen Feng: > Add DT bindings documentation for hi6220 SoC reset controller. > > Signed-off-by: Chen Feng > --- > .../bindings/reset/hisilicon,hi6220-reset.txt | 97 > ++ > 1 file changed, 97 insertions(+) > create mode

[PATCH 3.4 106/146] sd: Disable support for 256 byte/sector disks

2015-09-15 Thread lizf
From: Mark Hounschell 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 74856fbf441929918c49ff262ace9835048e4e6a upstream. 256 bytes per sector support has been broken since 2.6.X, and no-one stepped up to fix this. So disable support for

[PATCH 3.4 123/146] Input: elantech - fix detection of touchpads where the revision matches a known rate

2015-09-15 Thread lizf
From: Hans de Goede 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5f0ee9d17aae628b22be86966471db65be21f262 upstream. Make the check to skip the rate check more lax, so that it applies to all hw_version 4 models. This fixes the

[PATCH 3.4 088/146] xhci: fix isoc endpoint dequeue from advancing too far on transaction error

2015-09-15 Thread lizf
From: Mathias Nyman 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d104d0152a97fade389f47635b73a9ccc7295d0b upstream. Isoc TDs usually consist of one TRB, sometimes two. When all goes well we receive only one success event for a TD, and

[PATCH 3.4 070/146] ARM: pxa: pxa_cplds: add lubbock and mainstone IO

2015-09-15 Thread lizf
From: Robert Jarzmik 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit aa8d6b73ea33c2167c543663ab66039ec94d58f1 upstream. Historically, this support was in arch/arm/mach-pxa/lubbock.c and arch/arm/mach-pxa/mainstone.c. When gpio-pxa was

[PATCH 3.4 097/146] ipvs: fix memory leak in ip_vs_ctl.c

2015-09-15 Thread lizf
From: Tommi Rantala 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f30bf2a5cac6c60ab366c4bc6db913597bf4d6ab upstream. Fix memory leak introduced in commit a0840e2e165a ("IPVS: netns, ip_vs_ctl local vars moved to ipvs struct."):

[PATCH 3.4 111/146] x86/mce: Fix MCE severity messages

2015-09-15 Thread lizf
From: Borislav Petkov 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 17fea54bf0ab34fa09a06bbde2f58ed7bbdf9299 upstream. Derek noticed that a critical MCE gets reported with the wrong error type description: [Hardware Error]: CPU 34:

[PATCH 3.4 134/146] md: use kzalloc() when bitmap is disabled

2015-09-15 Thread lizf
From: Benjamin Randazzo 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b6878d9e03043695dbf3fa1caa6dfc09db225b16 upstream. In drivers/md/md.c get_bitmap_file() uses kmalloc() for creating a mdu_bitmap_file_t called "file". 5769

[PATCH 3.4 131/146] ring-buffer-benchmark: Fix the wrong sched_priority of producer

2015-09-15 Thread lizf
From: Wang Long 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 108029323910c5dd1ef8fa2d10da1ce5fbce6e12 upstream. The producer should be used producer_fifo as its sched_priority, so correct it. Link:

[PATCH 3.4 135/146] ipv4: Missing sk_nulls_node_init() in ping_unhash().

2015-09-15 Thread lizf
From: "David S. Miller" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a134f083e79fb4c3d0a925691e732c56911b4326 upstream. If we don't do that, then the poison value is left in the ->pprev backlink. This can cause crashes if we do a

[PATCH 3.4 090/146] xhci: gracefully handle xhci_irq dead device

2015-09-15 Thread lizf
From: Joe Lawrence 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 948fa13504f80b9765d2b753691ab94c83a10341 upstream. If the xHCI host controller has died (ie, device removed) or suffered other serious fatal error (STS_FATAL), then

[PATCH 3.4 086/146] nfsd: fix the check for confirmed openowner in nfs4_preprocess_stateid_op

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit ebe9cb3bb13e7b9b281969cd279ce70834f7500f upstream. If we find a non-confirmed openowner we jump to exit the function, but do not set an error value. Fix this by

[PATCH 3.4 072/146] ARM: pxa: lubbock: use new pxa_cplds driver

2015-09-15 Thread lizf
From: Robert Jarzmik 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit fc9e38c0f4d38bfc68b405cf48365d65f7b6319e upstream. As the interrupt handling was transferred to the pxa_cplds driver, make the switch in lubbock platform code. Fixes:

[PATCH 3.4 099/146] KVM: MMU: fix CR4.SMEP=1, CR0.WP=0 with shadow pages

2015-09-15 Thread lizf
From: Paolo Bonzini 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 898761158be7682082955e3efa4ad24725305fc7 upstream. smep_andnot_wp is initialized in kvm_init_shadow_mmu and shadow pages should not be reused for different values of it.

[PATCH 3.4 115/146] d_walk() might skip too much

2015-09-15 Thread lizf
From: Al Viro 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2159184ea01e4ae7d15f2017e296d4bc82d5aeb0 upstream. when we find that a child has died while we'd been trying to ascend, we should go into the first live sibling itself, rather

[PATCH 3.4 049/146] firmware/ihex2fw.c: restore missing default in switch statement

2015-09-15 Thread lizf
From: Nicolas Iooss 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit d43698e8abb58a6ac47d16e0f47bb55f452e4fc4 upstream. Commit 2473238eac95 ("ihex: add support for CS:IP/EIP records") removes the "default:" statement in the switch block,

[PATCH 3.4 032/146] x86/iommu: Fix header comments regarding standard and _FINISH macros

2015-09-15 Thread lizf
From: Aravind Gopalakrishnan 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b44915927ca88084a7292e4ddd4cf91036f365e1 upstream. The comment line regarding IOMMU_INIT and IOMMU_INIT_FINISH macros is incorrect: "The standard vs the

[PATCH 3.4 031/146] selinux/nlmsg: add XFRM_MSG_[NEW|GET]SADINFO

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5b5800fad072133e4a9c2efbf735baaac83dec86 upstream. These commands are missing. Fixes: 28d8909bc790 ("[XFRM]: Export SAD info.") Signed-off-by: Nicolas Dichtel

[PATCH 3.4 046/146] IB/core: disallow registering 0-sized memory region

2015-09-15 Thread lizf
From: Yann Droneaud 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8abaae62f3fdead8f4ce0ab46b4ab93dee39bab2 upstream. If ib_umem_get() is called with a size equal to 0 and an non-page aligned address, one page will be pinned and a

[PATCH 3.4 035/146] MIPS: Hibernate: flush TLB entries earlier

2015-09-15 Thread lizf
From: Huacai Chen 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit a843d00d038b11267279e3b5388222320f9ddc1d upstream. We found that TLB mismatch not only happens after kernel resume, but also happens during snapshot restore. So move it to

[PATCH 3.4 043/146] ACPICA: Utilities: split IO address types from data type models.

2015-09-15 Thread lizf
From: Lv Zheng 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2b8760100e1de69b6ff004c986328a82947db4ad upstream. ACPICA commit aacf863cfffd46338e268b7415f7435cae93b451 It is reported that on a physically 64-bit addressed machine,

[PATCH 3.4 047/146] IB/mlx4: Fix WQE LSO segment calculation

2015-09-15 Thread lizf
From: Erez Shitrit 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit ca9b590caa17bcbbea119594992666e96cde9c2f upstream. The current code decreases from the mss size (which is the gso_size from the kernel skb) the size of the packet

[PATCH 3.4 052/146] nfsd: fix nsfd startup race triggering BUG_ON

2015-09-15 Thread lizf
From: Giuseppe Cantavenera 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit bb7ffbf29e76b89a86ca4c3ee0d4690641f2f772 upstream. nfsd triggered a BUG_ON in net_generic(...) when rpc_pipefs_event(...) in fs/nfsd/nfs4recover.c was called

[PATCH 3.4 059/146] drm/radeon: Use drm_calloc_ab for CS relocs

2015-09-15 Thread lizf
From: Michel Dänzer 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b421ed15d2c3039eb724680e4de1e4b2bd196a9a upstream. The number of relocs is passed in by userspace and can be large. It has been observed to cause kcalloc failures in the

[PATCH 3.4 060/146] SCSI: add 1024 max sectors black list flag

2015-09-15 Thread lizf
From: Mike Christie 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 35e9a9f93994d7f7d12afa41169c7ba05513721b upstream. This works around a issue with qnap iscsi targets not handling large IOs very well. The target returns: VPD INQUIRY:

[PATCH 3.4 064/146] serial: xilinx: Use platform_get_irq to get irq description structure

2015-09-15 Thread lizf
From: Michal Simek 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5c90c07b98c02198d9777a7c4f3047b0a94bf7ed upstream. For systems with CONFIG_SERIAL_OF_PLATFORM=y and device_type = "serial"; property in DT of_serial.c driver maps and

[PATCH 3.4 039/146] selinux/nlmsg: add XFRM_MSG_MAPPING

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit bd2cba07381a6dba60bc1c87ed8b37931d244da1 upstream. This command is missing. Fixes: 3a2dfbe8acb1 ("xfrm: Notify changes in UDP encapsulation via netlink") CC: Martin

[PATCH 3.4 034/146] ALSA: emu10k1: don't deadlock in proc-functions

2015-09-15 Thread lizf
From: Michael Gernoth 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 91bf0c2dcb935a87e5c0795f5047456b965fd143 upstream. The functions snd_emu10k1_proc_spdif_read and snd_emu1010_fpga_read acquire the emu_lock before accessing the FPGA.

[PATCH 3.4 054/146] nfs: fix high load average due to callback thread sleeping

2015-09-15 Thread lizf
From: Jeff Layton 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5d05e54af3cdbb13cf19c557ff2184781b91a22c upstream. Chuck pointed out a problem that crept in with commit 6ffa30d3f734 (nfs: don't call blocking operations while

[PATCH 3.4 051/146] memstick: mspro_block: add missing curly braces

2015-09-15 Thread lizf
From: Dan Carpenter 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 13f6b191aaa11c7fd718d35a0c565f3c16bc1d99 upstream. Using the indenting we can see the curly braces were obviously intended. This is a static checker fix, but my guess is

[PATCH 3.4 062/146] 3w-xxxx: fix command completion race

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 9cd9554615cba14f0877cc9972a6537ad2bdde61 upstream. The 3w- driver needs to tear down the dma mappings before returning the command to the midlayer, as there is

[PATCH 3.4 048/146] megaraid_sas: use raw_smp_processor_id()

2015-09-15 Thread lizf
From: Christoph Hellwig 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 16b8528d20607925899b1df93bfd8fbab98d267c upstream. We only want to steer the I/O completion towards a queue, but don't actually access any per-CPU data, so the raw_

[PATCH 3.4 041/146] Btrfs: fix inode eviction infinite loop after cloning into it

2015-09-15 Thread lizf
From: Filipe Manana 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f3d67294714af2d72a6fd6fd7d73b01c9329 upstream. If we attempt to clone a 0 length region into a file we can end up inserting a range in the inode's extent_io tree

[PATCH 3.4 037/146] selinux/nlmsg: add XFRM_MSG_REPORT

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b0b59b0056acd6f157a04cc895f7e24692fb08aa upstream. This command is missing. Fixes: 97a64b4577ae ("[XFRM]: Introduce XFRM_MSG_REPORT.") Reported-by: Stephen Smalley

[PATCH 3.4 030/146] selinux/nlmsg: add XFRM_MSG_GETSPDINFO

2015-09-15 Thread lizf
From: Nicolas Dichtel 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 5e6deebafb45fb271ae6939d48832e920b8fb74e upstream. This command is missing. Fixes: ecfd6b183780 ("[XFRM]: Export SPD info") Signed-off-by: Nicolas Dichtel

[PATCH 3.4 017/146] UBI: initialize LEB number variable

2015-09-15 Thread lizf
From: Brian Norris 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit f16db8071ce18819fbd705ddcc91c6f392fb61f8 upstream. In some of the 'out_not_moved' error paths, lnum may be used uninitialized. Don't ignore the warning; let's fix it.

[PATCH 3.4 020/146] Drivers: hv: vmbus: Don't wait after requesting offers

2015-09-15 Thread lizf
From: "K. Y. Srinivasan" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 73cffdb65e679b98893f484063462c045adcf212 upstream. Don't wait after sending request for offers to the host. This wait is unnecessary and simply adds 5 seconds to

[PATCH 3.4 027/146] jhash: Update jhash_[321]words functions to use correct initval

2015-09-15 Thread lizf
From: Alexander Duyck 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 2e7056c433216f406b90a003aa0ba42e19d3bdcf upstream. Looking over the implementation for jhash2 and comparing it to jhash_3words I realized that the two hashes were in

[PATCH 3.4 013/146] ASoC: wm8741: Fix rates constraints values

2015-09-15 Thread lizf
From: Sergej Sawazki 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8787041d9bb832b9449b1eb878cedcebce42c61a upstream. The WM8741 DAC supports the following typical audio sampling rates: 44.1kHz, 88.2kHz, 176.4kHz (eg: with a master

[PATCH 3.4 023/146] ARM: 8320/1: fix integer overflow in ELF_ET_DYN_BASE

2015-09-15 Thread lizf
From: Andrey Ryabinin 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 8defb3367fcd19d1af64c07792aade0747b54e0f upstream. Usually ELF_ET_DYN_BASE is 2/3 of TASK_SIZE. With 3G/1G user/kernel split this is not so, because 2*TASK_SIZE

[PATCH 3.4 014/146] cdc-wdm: fix endianness bug in debug statements

2015-09-15 Thread lizf
From: Oliver Neukum 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 323ece54e0761198946ecd0c2091f1d2bfdfcb64 upstream. Values directly from descriptors given in debug statements must be converted to native endianness. Signed-off-by:

[PATCH 3.4 011/146] drm/radeon: fix doublescan modes (v2)

2015-09-15 Thread lizf
From: Alex Deucher 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit fd99a0943ffaa0320ea4f69d09ed188f950c0432 upstream. Use the correct flags for atom. v2: handle DRM_MODE_FLAG_DBLCLK Signed-off-by: Alex Deucher Signed-off-by: Zefan Li

[PATCH 3.4 025/146] ASoC: cs4271: Increase delay time after reset

2015-09-15 Thread lizf
From: Pascal Huerst 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 74ff960222d90999508b4ba0d3449f796695b6d5 upstream. The delay time after a reset in the codec probe callback was too short, and did not work on certain hw because the

Re: [RFC PATCH v7 01/10] mmc: dw_mmc: Add external dma interface support

2015-09-15 Thread Shawn Lin
On 2015/9/15 16:08, Jaehoon Chung wrote: Hi, Shawn. [...] -config MMC_DW_IDMAC - bool "Internal DMAC interface" - depends on MMC_DW - help - This selects support for the internal DMAC block within the Synopsys - Designware Mobile Storage IP block. This

[PATCH 3.4 003/146] Drivers: hv: vmbus: Fix a bug in the error path in vmbus_open()

2015-09-15 Thread lizf
From: "K. Y. Srinivasan" 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit 40384e4bbeb9f2651fe9bffc0062d9f31ef625bf upstream. Correctly rollback state if the failure occurs after we have handed over the ownership of the buffer to the host.

[PATCH 3.4 006/146] usb: musb: core: fix TX/RX endpoint order

2015-09-15 Thread lizf
From: Felipe Balbi 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit e3c93e1a3f35be4cf1493d3ccfb0c6d9209e4922 upstream. As per Mentor Graphics' documentation, we should always handle TX endpoints before RX endpoints. This patch fixes that

[PATCH 3.4 009/146] pinctrl: remove doc mention of the enable/disable API

2015-09-15 Thread lizf
From: Baruch Siach 3.4.109-rc1 review patch. If anyone has any objections, please let me know. -- commit b18104c00089c73f2b70790765d40424a4f9b65f upstream. This API has changed in commit 6e5e959dde0 (pinctrl: API changes to support multiple states per device). Fixes:

[PATCH 3.4 000/146] 3.4.109-rc1 review

2015-09-15 Thread lizf
From: Zefan Li This is the start of the stable review cycle for the 3.4.109 release. There are 146 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Thu Sep 17 16:59:49 CST

Re: [PATCH 0/5] New Atmel PIO4 pinctrl/gpio driver

2015-09-15 Thread Sascha Hauer
Hi Ludovic, On Mon, Sep 07, 2015 at 03:12:10PM +0200, Ludovic Desroches wrote: > Hi Sascha, > > Any comments about this version? Maybe you missed it since you answered > me on the RFC version. Of course I'll do the changes you requested for > the next version (remove gpio_request_*() stuff and

Re: PowerPC: massive "scheduling while atomic" reports

2015-09-15 Thread Juergen Borleis
Hi Thomas, On Tuesday 15 September 2015 00:05:31 Thomas Gleixner wrote: > Please CC lkml on bug reports for RT. Okay. > > When running the system at least every other boot this kernel spits out > > massive "scheduling while atomic" reports. > > I doubt that this only happens on every other

Re: [PATCH 2/5] pinctrl: dt-binding: Add DT binding documentation for Atmel PIO4

2015-09-15 Thread Sascha Hauer
On Tue, Aug 11, 2015 at 10:28:02AM +0200, Ludovic Desroches wrote: > Add documentation for the Atmel PIO4 controller introduced with SAMA5D2 > chip family. > > Signed-off-by: Ludovic Desroches > --- > .../bindings/pinctrl/atmel,at91-pio4-pinctrl.txt | 90 > ++ > 1 file

Re: [PATCH 1/3] clocksource: em_sti: remove unneeded memset()s

2015-09-15 Thread Daniel Lezcano
On 09/10/2015 02:38 AM, Alexey Klimov wrote: Memory for cs and ced fields in struct em_sti_priv is allocated by devm_kzalloc() in the beginning of em_sti_probe() so they don't need to be zeroed one more time in em_sti_register_clocksource() and in em_sti_register_clockevent(). Signed-off-by:

Re: [RFC PATCH] clocksource: exynos_mct: use container_of() instead of this_cpu_ptr()

2015-09-15 Thread Daniel Lezcano
On 09/04/2015 01:49 AM, Alexey Klimov wrote: Since evt structure is embedded in per-CPU mevt structure it's definitely faster to use container_of() to get access to mevt if we have evt (for example as incoming function argument) instead of more expensive approach with this_cpu_ptr(_mct_tick).

Re: [PATCH 00/11] arm: tegra: colibri_t30: fix hdmi, power i2c, wakeup and activate touch

2015-09-15 Thread Thierry Reding
On Fri, Aug 28, 2015 at 05:59:35PM +0200, Marcel Ziswiler wrote: > This series finally continues on my previous Easter efforts (BTW: > thanks all for the feedback and all the patches thereof already having > been applied) and additionally to activating the STMPE811 touch > controller also fixes

Re: [PATCH v7 2/8] ARM64: add SBSA Generic Watchdog device node in foundation-v8.dts

2015-09-15 Thread Dave Young
On 08/25/15 at 01:01am, fu@linaro.org wrote: > From: Fu Wei > > This can be a example of adding SBSA Generic Watchdog device node > into some dts files for the Soc which contains SBSA Generic Watchdog. > > Acked-by: Arnd Bergmann > Signed-off-by: Fu Wei > --- >

Re: [PATCH 3/3] remoteproc: add CSRatlas7 remoteproc driver

2015-09-15 Thread Hillf Danton
> > In CSRaltas7, Cortex-A7 uses this proc to communicate with Cortex-M3. > But M3 doesn't have to be a slave, it can boot indenpently or depend > on Linux to load firmware for it. > > we reserve a memory for data and resource descriptors in DRAM. > > Signed-off-by: Wei Chen > Signed-off-by:

Re: [PATCH 5/6] sched/fair: Get rid of scaling utilization by capacity_orig

2015-09-15 Thread Morten Rasmussen
On Mon, Sep 14, 2015 at 10:34:00AM -0700, bseg...@google.com wrote: > Morten Rasmussen writes: > > > On Fri, Sep 11, 2015 at 10:05:53AM -0700, bseg...@google.com wrote: > >> Morten Rasmussen writes: > >> > >> > On Fri, Sep 11, 2015 at 08:28:25AM +0800, Yuyang Du wrote: > >> >> diff --git

Re: spi/bcm63xx: unknown CONFIG_BIG_ENDIAN

2015-09-15 Thread Mark Brown
On Tue, Sep 15, 2015 at 09:40:30AM +0200, Jonas Gorski wrote: > Mark? If you can drop patches 2 to 4 that would be easiest for me, but if > you don't do rebases on your for-next branch, then I'll rewrite the > patches to apply on top of the already applied old versions and send a v3. No, please

Re: [PATCH v7 5/8] Watchdog: introduce ARM SBSA watchdog driver

2015-09-15 Thread Dave Young
On 08/25/15 at 01:01am, fu@linaro.org wrote: > From: Fu Wei > > This driver bases on linux kernel watchdog framework, and > use "pretimeout" in the framework. It supports getting timeout and > pretimeout from parameter and FDT at the driver init stage. > In first timeout, the interrupt

Re: [PATCH v6 6/6] locking/pvqspinlock: Queue node adaptive spinning

2015-09-15 Thread Peter Zijlstra
On Mon, Sep 14, 2015 at 03:37:32PM -0400, Waiman Long wrote: > BTW, the queue head vCPU at pv_wait_head_and_lock() doesn't wait early, it > will spin the full threshold as there is no way for it to figure out if the > lock holder is running or not. We can know its cpu id, right? Surely we should

Re: LTP and commit e1d7ba8735551ed7 ("time: Always make sure wall_to_monotonic isn't positive")

2015-09-15 Thread Cyril Hrubis
Hi! > While testing v4.3-rc1 with the LTP, we spotted failures in a couple of > timekeeping tests, which seem to be a result of commit e1d7ba8735551ed7 > ("time: Always make sure wall_to_monotonic isn't positive"). > > In both cases this is because the new time would be before the boot > time, so

why is text address constant with full randomization?

2015-09-15 Thread 慕冬亮
First, my linux kernel is Linux 114-212-83-136 4.1.0-2-amd64. Second, I copy /bin/cat in system to mycat , and see the address space layout below. mdl@114-212-83-136:~$ ./mycat /proc/self/maps 0040-0040c000 r-xp 08:03 1046776 /home/mdl/mycat 0060b000-0060c000 r--p b000 08:03

Re: System with multiple arizona (wm5102) codecs

2015-09-15 Thread Pavel Machek
Hi! > > > I must confess I haven't ever tested a system with two Arizona > > > CODECs connected. Yes it seems you would get clashes on the > > > regulator names, I guess that would need to be fixed up. If you > > > were doing so wm831x-ldo.c would probably make a reasonable > > > example. > > >

[PATCH v4] clk: add CS2000 Fractional-N driver

2015-09-15 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch adds CS2000 Fractional-N driver as clock provider. Signed-off-by: Kuninori Morimoto --- v3 -> v4 - clk_ops base - add #clock-cells on document - drop 0x from example - add "." on document - drop parentheses - care of_clk_add_provider() fail case -

[PATCH V3 1/2] ACPI / EC: Fix broken big-endian 64bit platforms using 'global_lock'

2015-09-15 Thread Viresh Kumar
global_lock is defined as an unsigned long and accessing only its lower 32 bits from sysfs is incorrect, as we need to consider other 32 bits for big endian 64 bit systems. Fix that by making global_lock an u32 instead. Cc: # v4.1+ Signed-off-by: Viresh Kumar --- Its marked just for # v4.1+,

Re: [PATCH 0/9] arm: tegra: apalis_t30: fix pin mux, hdmi, wakeup and enable hda

2015-09-15 Thread Thierry Reding
On Fri, Aug 28, 2015 at 02:42:27PM +0200, Marcel Ziswiler wrote: > This series finally continues on my previous Easter efforts (BTW: > thanks all for the feedback and all the patches thereof already having > been applied) and additionally to fixing the pin muxing and enabling > HDA audio also

Re: [PATCH v4 2/7] power: bq27x00_battery: Renaming for consistency

2015-09-15 Thread Laurentiu Palcu
On Mon, Sep 14, 2015 at 04:26:08PM -0500, Andrew F. Davis wrote: > Rename functions that are used by multiple devices. New devices > have been added and the function names and driver name are no longer > general enough for the functionality they provide. > > Signed-off-by: Andrew F. Davis > ---

Re: System with multiple arizona (wm5102) codecs

2015-09-15 Thread Charles Keepax
On Tue, Sep 15, 2015 at 08:18:32AM +0200, Pavel Machek wrote: > Hi! > > > > I've got an embedded system with two arizona / wm5102 codecs. > > > > > > Unfortunately, kernel does not seem to be ready for that > > > configuration. > > > > > > In particular, drivers/regulator/arizona-ldo1.c and > >

Re: [PATCH 6/8] mmc: dw_mmc: Generic MMC tuning with the clock phase framework

2015-09-15 Thread Jaehoon Chung
Dear, Heiko. On 09/01/2015 03:24 AM, Heiko Stuebner wrote: > From: Alexandru M Stan > > This algorithm will try 1 degree increments, since there's no way to tell > what resolution the underlying phase code uses. As an added bonus, doing > many tunings yields better results since some tests are

Re: [PATCH v6 5/6] locking/pvqspinlock: Allow 1 lock stealing attempt

2015-09-15 Thread Peter Zijlstra
On Mon, Sep 14, 2015 at 03:15:20PM -0400, Waiman Long wrote: > On 09/14/2015 10:00 AM, Peter Zijlstra wrote: > >On Fri, Sep 11, 2015 at 02:37:37PM -0400, Waiman Long wrote: > >>This patch allows one attempt for the lock waiter to steal the lock ^^^ > >>when entering the PV

RE: [PATCH] arm: Fix backtrace generation when IPI is masked

2015-09-15 Thread Hillf Danton
> > Better if dump_stack() is added in a separate patch, given that > > it is not mentioned in commit message. > > Adding dump_stack() is mentioned in passing ("Some small changes to the > generic code are required to support this.") but you're right that the > reason for the change is not

Re: [PATCH 0/2] alpha: fix build failure

2015-09-15 Thread Sudip Mukherjee
lready submitted patches to fix those problems some 6+ weeks ago. > Hope you'll have more luck. For my allmodconfig test with next-20150915 alpha, m32r and openrisc failed. And ofcourse mn10300 is broken since many months now. Have you already done something with m32r or should I try? If bot

RE: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 OnKey driver

2015-09-15 Thread Opensource [Steve Twiss]
This is a resend of my previous e-mail sent just a couple of minutes ago -- this one removes the copyright footer that was added by our IT department On 23 July 2015 17:18, Steve Twiss wrote: > Subject: [PATCH V3 2/3] onkey: da9063: Add DA9062 OnKey capability to DA9063 > OnKey driver > >

Re: [PATCH] cpufreq: cpufreq_cpu_get_raw() isn't a static function anymore

2015-09-15 Thread Viresh Kumar
On 15-09-15, 13:40, Viresh Kumar wrote: > Its used outside of the core file and is exported as well. Drop the > 'static' keyword from its declaration and fix below build error: > > linux/drivers/cpufreq/cpufreq.c:241:31: error: static declaration of > 'cpufreq_cpu_get_raw' follows non-static

Re: [PATCH] at86rf230: fix build warning

2015-09-15 Thread Sudip Mukherjee
On Fri, Sep 11, 2015 at 03:16:04PM +0530, Sudip Mukherjee wrote: > e616a00ce786 ("drivers/net/ieee802154/at86rf230.c: seq_printf() now returns > NULL") > has removed the usage of the integer "ret" but missed removing the > variable. And we were getting a build warning about "unused variable". >

Re: [PATCH] arm: tegra: dtsi whitespace clean-up for tegra20, tegra30 and tegra124

2015-09-15 Thread Thierry Reding
On Thu, Aug 27, 2015 at 11:44:48AM +0200, Marcel Ziswiler wrote: > There were a few cases of eight spaces being used instead of a tab > character plus one case of using two spaces after an equal sign instead > of just one which this patch fixes. > > Signed-off-by: Marcel Ziswiler > --- > >

[PATCH] PM / sleep: Fix broken builds without CONFIG_PM_SLEEP_DEBUG

2015-09-15 Thread Viresh Kumar
The variable 'wakeup_irq' is defined within #ifdef CONFIG_PM_SLEEP_DEBUG and used outside of it. And that breaks kernel build: /home/viresh/linux/drivers/base/power/wakeup.c:871: undefined reference to `wakeup_irq' /home/viresh/drivers/base/power/wakeup.c:871: undefined reference to

Re: [PATCH] arm: Fix backtrace generation when IPI is masked

2015-09-15 Thread Daniel Thompson
On 15/09/15 07:58, Hillf Danton wrote: Currently on ARM when is triggered from an interrupt handler (e.g. a SysRq issued using UART or kbd) the main CPU will wedge for ten seconds with interrupts masked before issuing a backtrace for every CPU except itself. The new backtrace code introduced

Re: [RFC PATCH v7 02/10] mmc: dw_mmc: use macro for HCON register operations

2015-09-15 Thread Jaehoon Chung
Hi, Shawn. Looks good to me. Acked-by: Jaehoon Chung Best Regards, Jaehoon Chung On 08/24/2015 10:25 AM, Shawn Lin wrote: > This patch add some macros for HCON register operations > to make code more readable. > > Signed-off-by: Shawn Lin > --- > > Changes in v7: None > Changes in v6: None

<    5   6   7   8   9   10   11   12   13   14   >