[PATCH] fsl/qe: Use resource_size

2016-09-23 Thread Vaishali Thakkar
Use the function resource_size instead of explicit computation. Problem found using Coccinelle. Signed-off-by: Vaishali Thakkar --- drivers/soc/fsl/qe/qe_tdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/fsl/qe/qe_tdm.c b/drivers/soc/fsl/qe/qe_tdm.c index 5e4

[PATCH 7/7] iio: Adjust checks for null pointers in six functions

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 08:00:07 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script "checkpatch.pl" can point information out like the following. Comparison to NULL could be written !… Thus fix the affected source code

[PATCH 6/7] iio: Rename a jump label in iio_scan_el_store()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 07:40:59 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/iio/

[PATCH 5/7] iio: Rename a jump label in iio_scan_el_ts_store()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 07:27:26 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/industr

[PATCH 4/7] iio: Rename a jump label in iio_buffer_write_length()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 07:17:44 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/iio/industr

[PATCH 3/7] iio: Rename a jump label in iio_buffer_store_enable()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 07:11:32 +0200 Adjust a jump label according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iio/indust

[PATCH 2/7] iio: Rename a jump label in iio_buffer_store_watermark()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 06:54:49 +0200 Adjust jump labels according to the current Linux coding style convention. Signed-off-by: Markus Elfring --- drivers/iio/industrialio-buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/iio/indust

[PATCH 1/7] iio: Use kmalloc_array() in iio_scan_mask_set()

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 23 Sep 2016 22:30:32 +0200 A multiplication for the size determination of a memory allocation indicated that an array data structure should be processed. Thus use the corresponding function "kmalloc_array". This issue was detected by using the Coccinelle software.

[PATCH 0/7] iio: Fine-tuning for several function implementations

2016-09-23 Thread SF Markus Elfring
From: Markus Elfring Date: Sat, 24 Sep 2016 08:10:08 +0200 Some update suggestions were taken into account from static source code analysis. Markus Elfring (7): Use kmalloc_array() in iio_scan_mask_set() Rename a jump label in iio_buffer_store_watermark() Rename a jump label in iio_buffer_

Re: [PATCH v2] ASoC: simple-card: add support for aux devices

2016-09-23 Thread Nikita Yushchenko
>> Changes from v1: >> - moved example usage from commit message to Documentation/, as >> suggested by Kuninori Morimoto, >> - fixed typo in example usage. > > Ah, one more property to the "simple" card. At what point in adding > properties is it not simple? AFAIU, idea is to have a pure-devic

Re: [f2fs-dev] [PATCH 1/2] f2fs: use crc and cp version to determine roll-forward recovery

2016-09-23 Thread Chao Yu
On 2016/9/21 8:45, Jaegeuk Kim wrote: > @@ -259,40 +290,26 @@ static inline void fill_node_footer_blkaddr(struct page > *page, block_t blkaddr) > { > struct f2fs_checkpoint *ckpt = F2FS_CKPT(F2FS_P_SB(page)); > struct f2fs_node *rn = F2FS_NODE(page); > + size_t crc_offset = le32_t

Re: [PATCH v3 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-09-23 Thread H. Nikolaus Schaller
Hi, > Am 24.09.2016 um 02:31 schrieb Sebastian Reichel : > > On Fri, Sep 23, 2016 at 05:47:26PM -0500, Rob Herring wrote: >> On Fri, Sep 23, 2016 at 02:41:09PM +0200, H. Nikolaus Schaller wrote: >>> commit b98abe52fa8e ("Input: add common DT binding for touchscreens") >>> introduced common DT bin

[PATCH 2/2] mfd: ab8500-debugfs: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mfd/ab8500-debugfs.c:1395:6: warning: no previous prototype for 'ab8500_dump_all_banks_to_mem' [-Wmissing-prototypes] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- dri

[PATCH 1/2] mfd: ab8500-debugfs: add function declaration

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/mfd/ab8500-debugfs.c:1587:28: warning: no previous prototype for 'suspend_test_wake_cause_interrupt_is_mine' [-Wmissing-prototypes] In fact, this function need be declared in a header files. So this patch adds function declaration in includ

[PATCH] memstick: r592: add function declaration

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/memstick/host/r592.c:50:13: warning: no previous prototype for 'memstick_debug_get_tpc_name' [-Wmissing-prototypes] In fact, this function need be declared in a header files. So this patch adds function declaration in drivers/memstick/host/

[PATCH] [media] coda: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/media/platform/coda/coda-h264.c:21:5: warning: no previous prototype for 'coda_h264_padding' [-Wmissing-prototypes] In fact, this function is declared in drivers/media/platform/coda/coda.h, so this patch adds missing header dependencies. Si

Re: [PATCH v3 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-09-23 Thread H. Nikolaus Schaller
Hi, > Am 24.09.2016 um 00:47 schrieb Rob Herring : > > On Fri, Sep 23, 2016 at 02:41:09PM +0200, H. Nikolaus Schaller wrote: >> commit b98abe52fa8e ("Input: add common DT binding for touchscreens") >> introduced common DT bindings for touchscreens [1] and a helper function to >> parse the DT. >>

[PATCH 6/6] mISDN: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/isdn/mISDN/layer2.c:463:1: warning: no previous declaration for 'IsRR' [-Wmissing-declarations] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- drivers/isdn/mISDN/layer2

[PATCH 5/6] mISDN: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/isdn/mISDN/layer2.c:120:1: warning: no previous declaration for 'l2headersize' [-Wmissing-declarations] drivers/isdn/mISDN/layer2.c:127:1: warning: no previous declaration for 'l2addrsize' [-Wmissing-declarations] drivers/isdn/mISDN/lay

[PATCH 4/6] isdn/hisax: clean function declaration in hscx.c up

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/isdn/hisax/hscx.c:175:1: warning: no previous prototype for 'open_hscxstate' [-Wmissing-prototypes] In fact, this function is declared in drivers/isdn/hisax/elsa_ser.c, but should be declard in a header file, thus can be recognized in other

[PATCH 3/6] isdn/hisax: add function declarations

2016-09-23 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/isdn/hisax/teles3.c:273:5: warning: no previous prototype for 'setup_teles3' [-Wmissing-prototypes] drivers/isdn/hisax/s0box.c:213:5: warning: no previous prototype for 'setup_s0box' [-Wmissing-prototypes] drivers/isdn/hisax/bkm_a4t.c:3

[PATCH 2/6] isdn/hardware/eicon: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/isdn/hardware/eicon/diva.c:655:6: warning: no previous prototype for 'xdiFreeFile' [-Wmissing-prototypes] In fact, this function is declared in drivers/isdn/hardware/eicon/helpers.h, so this patch adds missing header dependencies. Signed-of

[PATCH 1/6] isdn/eicon: add function declarations

2016-09-23 Thread Baoyou Xie
We get a few warnings when building kernel with W=1: drivers/isdn/hardware/eicon/diddfunc.c:95:12: warning: no previous prototype for 'diddfunc_init' [-Wmissing-prototypes] drivers/isdn/hardware/eicon/s_4bri.c:128:6: warning: no previous prototype for 'start_qBri_hardware' [-Wmissing-prototypes]

[PATCH] HSI: omap_ssi_core: move function declaration to header file

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/hsi/controllers/omap_ssi_core.c:181:6: warning: no previous prototype for 'ssi_waketest' [-Wmissing-prototypes] In fact, this function is declared in drivers/hsi/clients/ssi_protocol.c, but should be declared in a header file. So this patch

[PATCH v7 2/2] clocksource: add J-Core timer/clocksource driver

2016-09-23 Thread Rich Felker
At the hardware level, the J-Core PIT is integrated with the interrupt controller, but it is represented as its own device and has an independent programming interface. It provides a 12-bit countdown timer, which is not presently used, and a periodic timer. The interval length for the latter is pro

[PATCH v7 1/2] of: add J-Core timer bindings

2016-09-23 Thread Rich Felker
Signed-off-by: Rich Felker Acked-by: Rob Herring --- .../devicetree/bindings/timer/jcore,pit.txt| 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/timer/jcore,pit.txt diff --git a/Documentation/devicetree/bindings/timer/jc

[PATCH v7 0/2] J-Core timer support

2016-09-23 Thread Rich Felker
This version has been updated to include specific changes requested in the last round of review, and to work around a problem discussed with Paul McKenney (See thread "rcu_sched stalls in idle task introduced in pre-4.8?" for details). Rich Felker (2): of: add J-Core timer bindings clocksource

[PATCH] firmware/broadcom: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/firmware/broadcom/bcm47xx_sprom.c:717:5: warning: no previous prototype for 'bcm47xx_sprom_register_fallbacks' [-Wmissing-prototypes] In fact, this function is declared in include/linux/bcm47xx_sprom.h, so this patch adds missing header depe

[PATCH 3/3] dmaengine: imx-sdma: remove unused function

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/dma/imx-sdma.c:673:13: warning: 'sdma_handle_channel_loop' defined but not used [-Wunused-function] In fact, this function is called by no one and not exported, so this patch removes it. Signed-off-by: Baoyou Xie --- drivers/dma/imx-sdma.

[PATCH 2/3] dmaengine: pxa_dma: add function declaration

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/dma/pxa_dma.c:1525:5: warning: no previous prototype for 'pxad_toggle_reserved_channel' [-Wmissing-prototypes] In fact, this function is undeclared in any header files. So this patch adds function declaration in include/linux/dma/pxa-dma.h.

UBSAN: Undefined behaviour in ./arch/arm/include/asm/bitops.h

2016-09-23 Thread Seung-Woo Kim
With the patch "arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL", I got following UBSAN warning on Exynos5422 SoC board. UBSAN: Undefined behaviour in ./arch/arm/include/asm/bitops.h:296:17 negation of -2147483648 can

[PATCH 1/3] dmaengine: virt-dma: move function declarations

2016-09-23 Thread Baoyou Xie
We get 2 warnings when building kernel with W=1: drivers/dma/virt-dma.c:22:14: warning: no previous prototype for 'vchan_tx_submit' [-Wmissing-prototypes] drivers/dma/virt-dma.c:52:5: warning: no previous prototype for 'vchan_tx_desc_free' [-Wmissing-prototypes] In fact, these two functions are

[PATCH] dma-buf/sw_sync: mark sync_timeline_create() static

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/dma-buf/sw_sync.c:87:23: warning: no previous prototype for 'sync_timeline_create' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. So this p

[PATCH] clk: versatile: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/clk/versatile/clk-realview.c:54:13: warning: no previous prototype for 'realview_clk_init' [-Wmissing-prototypes] In fact, this function is declared in include/linux/platform_data/clk-realview.h, so this patch adds missing header dependencie

[PATCH] crypto: sunxi-ss: mark sun4i_hash() static

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/crypto/sunxi-ss/sun4i-ss-hash.c:168:5: warning: no previous prototype for 'sun4i_hash' [-Wmissing-prototypes] In fact, this function is only used in the file in which it is declared and don't need a declaration, but can be made static. So th

[PATCH] random: add missing header dependencies

2016-09-23 Thread Baoyou Xie
We get 1 warning when building kernel with W=1: drivers/char/random.c:2140:6: warning: no previous prototype for 'add_hwgenerator_randomness' [-Wmissing-prototypes] In fact, this function is declared in include/linux/hw_random.h, so this patch adds missing header dependencies. Signed-off-by: Bao

Re: [PATCH cgroup/for-4.8-fixes] cgroup: fix invalid controller enable rejections with cgroup namespace

2016-09-23 Thread Serge E. Hallyn
On Fri, Sep 23, 2016 at 05:00:03PM -0400, Tejun Heo wrote: > >From 9157056da8f8c4a6305f15619e269f164b63a6de Mon Sep 17 00:00:00 2001 > From: Tejun Heo > Date: Fri, 23 Sep 2016 16:55:49 -0400 > > On the v2 hierarchy, "cgroup.subtree_control" rejects controller > enables if the cgroup has processes

[PATCH] drbd: mark symbols static where possible

2016-09-23 Thread Baoyou Xie
We get 4 warnings when building kernel with W=1: drivers/block/drbd/drbd_worker.c:197:6: warning: no previous prototype for 'drbd_panic_after_delayed_completion_of_aborted_request' [-Wmissing-prototypes] drivers/block/drbd/drbd_receiver.c:1224:6: warning: no previous prototype for 'one_flush_endi

hi

2016-09-23 Thread Will C
Salutations http://flatcreekcrossingranch.com/mile.php?missing=1pubc8052vea Will C

Re: [PATCH] samples: move blackfin gptimers-example from Documentation

2016-09-23 Thread Shuah Khan
On 09/23/2016 05:45 PM, Shuah Khan wrote: > Move blackfin gptimers-example to samples and remove the Documentation > Makefile. Update samples Kconfig and Makefile to build gptimers-example. > > Signed-off-by: Shuah Khan This patch isn't complete. CONFIG_BUILD_DOCSRC=1 make fails without updating

Re: [PATCH 2/3] f2fs: support checkpoint error injection

2016-09-23 Thread Chao Yu
On 2016/9/24 8:52, Jaegeuk Kim wrote: > On Sat, Sep 24, 2016 at 08:46:54AM +0800, Chao Yu wrote: >> Hi Jaegeuk, >> >> On 2016/9/24 7:53, Jaegeuk Kim wrote: >>> Hi Chao, >>> >>> The basic rule is to stop every operations once CP_ERROR_FLAG is set. >>> But, this patch simply breaks the rule. >>> For

[PATCH 3/3] mm: delete unnecessary and unsafe init_tlb_ubc()

2016-09-23 Thread Hugh Dickins
init_tlb_ubc() looked unnecessary to me: tlb_ubc is statically initialized with zeroes in the init_task, and copied from parent to child while it is quiescent in arch_dup_task_struct(); so I went to delete it. But inserted temporary debug WARN_ONs in place of init_tlb_ubc() to check that it was al

[PATCH 2/3] huge tmpfs: fix Committed_AS leak

2016-09-23 Thread Hugh Dickins
Under swapping load on huge tmpfs, /proc/meminfo's Committed_AS grows bigger and bigger: just a cosmetic issue for most users, but disabling for those who run without overcommit (/proc/sys/vm/overcommit_memory 2). shmem_uncharge() was forgetting to unaccount __vm_enough_memory's charge, and shmem_

[PATCH 1/3] shmem: fix tmpfs to handle the huge= option properly

2016-09-23 Thread Hugh Dickins
From: Toshi Kani shmem_get_unmapped_area() checks SHMEM_SB(sb)->huge incorrectly, which leads to a reversed effect of "huge=" mount option. Fix the check in shmem_get_unmapped_area(). Note, the default value of SHMEM_SB(sb)->huge remains as SHMEM_HUGE_NEVER. User will need to specify "huge=" o

drivers/gpu/drm/i915/i915_gem_gtt.c:2367: error: 'gtt_entry' may be used uninitialized in this function

2016-09-23 Thread kbuild test robot
Hi Dave, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bd5dbcb4be37ce97b115bf9e8d48ae75f0d8a9a2 commit: 85d1225ec066b2ef46fbd0ed1bae78ae1f3e6c91 drm/i915: Introduce & use new lightweight SGL iterators date: 4 mo

Re: [PATCH] mm: warn about allocations which stall for too long

2016-09-23 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 23-09-16 23:36:22, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > @@ -3659,6 +3661,15 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned > > > int order, > > > else > > > no_progress_loops++; > > > > > > + /* Make sure we know about allocations which s

Re: [RFC] remove unnecessary condition in remove_inode_hugepages

2016-09-23 Thread zhong jiang
On 2016/9/24 1:19, Mike Kravetz wrote: > On 09/22/2016 06:53 PM, zhong jiang wrote: >> At present, we need to call hugetlb_fix_reserve_count when >> hugetlb_unrserve_pages fails, >> and PagePrivate will decide hugetlb reserves counts. >> >> we obtain the page from page cache. and use page both loc

Re: [RFC] fs: add userspace critical mounts event support

2016-09-23 Thread Herbert, Marc
On 06/09/2016 16:04, Luis R. Rodriguez wrote: > They claim that without it there is the race between /lib/firmware > being ready and driver asking for the firmware. Hope it's understood by now. > I was told there were quite a bit of out-of-tree hacks to address > this without using the usermode h

Re: Regression in 4.8 - CPU speed set very low

2016-09-23 Thread Larry Finger
On 09/18/2016 09:54 PM, Larry Finger wrote: On 09/14/2016 11:00 AM, Larry Finger wrote: On 09/09/2016 12:39 PM, Larry Finger wrote: I have found a regression in kernel 4.8-rc2 that causes the speed of my laptop with an Intel(R) Core(TM) i7-4600M CPU @ 2.90GHz to suddenly have a maximum cpu freq

drivers/gpio/gpiolib.c:3215: undefined reference to `of_get_named_gpiod_flags'

2016-09-23 Thread kbuild test robot
Hi Linus, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 78bbf153fa96e5e40234b7b05567602535645460 commit: 2527ecc9195e9c66252af24c4689e8a67cd4ccb9 gpio: Fix OF build problem on UM date: 5 weeks ag

Re: [RFC] fs: add userspace critical mounts event support

2016-09-23 Thread Herbert, Marc
On 03/09/2016 11:10, Dmitry Torokhov wrote: > I was thinking if we kernel could post > "conditions" (maybe simple stings) that it waits for, and userspace > could unlock these "conditions". One of them might be "firmware > available". On idea offered by Josh Triplett that seems to overlap with thi

Re: [PATCH v2] clk: hisilicon: add CRG driver for Hi3798CV200 SoC

2016-09-23 Thread Jiancheng Xue
在 2016/9/24 1:47, Rob Herring 写道: > On Sun, Sep 18, 2016 at 03:30:21PM +0800, Jiancheng Xue wrote: >> Add CRG driver for Hi3798CV200 SoC. CRG(Clock and Reset >> Generator) module generates clock and reset signals used >> by other module blocks on SoC. >> >> Signed-off-by: Jiancheng Xue >> --- >> c

[PATCH -tip] locking/rtmutex: Reduce top-waiter blocking on a lock

2016-09-23 Thread Davidlohr Bueso
By applying well known spin-on-lock-owner techniques, we can avoid the blocking overhead during the process of when the task is trying to take the rtmutex. The idea is that as long as the owner is running, there is a fair chance it'll release the lock soon, and thus a task trying to acquire the rt

Re: [PATCH v3 0/2] Exynos IOMMU: proper runtime PM support (use device dependencies)

2016-09-23 Thread Rafael J. Wysocki
On Friday, September 23, 2016 03:50:02 PM Lukas Wunner wrote: > On Fri, Sep 23, 2016 at 02:49:20PM +0200, Rafael J. Wysocki wrote: > > On Tuesday, September 20, 2016 10:51:13 AM Marek Szyprowski wrote: > > > On 2016-09-19 23:45, Tobias Jakobi wrote: > > > > I did some tests with the new version tod

Re: modules still have .debug_* (was Re: [PATCH 0/3] ARC unwinder switch to .eh_frame)

2016-09-23 Thread Daniel Mentz
On Fri, Sep 23, 2016 at 3:38 AM, Alexey Brodkin wrote: > On Thu, 2016-09-22 at 15:37 -0700, Daniel Mentz wrote: >> Sorry, that was a misunderstanding. Buildroot routinely runs the strip >> command on .ko files before installing them on the target. I was only >> looking at the .ko files *after* run

Re: [PATCH] f2fs: remove dirty inode pages in error path

2016-09-23 Thread Chao Yu
On 2016/9/24 5:11, Jaegeuk Kim wrote: > When getting EIO while handling orphan inodes, we can get some dirty node > pages. Then, f2fs_write_node_pages() called by iput(node_inode) will try > to flush node pages. But in this case, we should prevent to do that, since > we will try again from the star

Re: [PATCH 2/3] f2fs: support checkpoint error injection

2016-09-23 Thread Jaegeuk Kim
On Sat, Sep 24, 2016 at 08:46:54AM +0800, Chao Yu wrote: > Hi Jaegeuk, > > On 2016/9/24 7:53, Jaegeuk Kim wrote: > > Hi Chao, > > > > The basic rule is to stop every operations once CP_ERROR_FLAG is set. > > But, this patch simply breaks the rule. > > For example, f2fs_write_data_page() currently

Re: [PATCH 2/3] f2fs: support checkpoint error injection

2016-09-23 Thread Chao Yu
Hi Jaegeuk, On 2016/9/24 7:53, Jaegeuk Kim wrote: > Hi Chao, > > The basic rule is to stop every operations once CP_ERROR_FLAG is set. > But, this patch simply breaks the rule. > For example, f2fs_write_data_page() currently exits with mapping_set_error(). > So this patch incurs missing dentry bl

Re: linux-next: Tree for Sep 21

2016-09-23 Thread Stephen Rothwell
Hi Linus, On Fri, 23 Sep 2016 11:24:04 -0700 Linus Torvalds wrote: > > On Tue, Sep 20, 2016 at 11:08 PM, Stephen Rothwell > wrote: > > > > Changes since 20160920: > > [...] > > Non-merge commits (relative to Linus' tree): 11180 > > 8424 files changed, 456474 insertions(+), 237951 deletions(-)

Re: [PATCH v3 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-09-23 Thread Sebastian Reichel
On Fri, Sep 23, 2016 at 05:47:26PM -0500, Rob Herring wrote: > On Fri, Sep 23, 2016 at 02:41:09PM +0200, H. Nikolaus Schaller wrote: > > commit b98abe52fa8e ("Input: add common DT binding for touchscreens") > > introduced common DT bindings for touchscreens [1] and a helper function to > > parse th

Re: [PATCH v2 0/4] ACPI / watchdog: Add support for WDAT (Watchdog Action Table)

2016-09-23 Thread Rafael J. Wysocki
On Tuesday, September 20, 2016 03:30:50 PM Mika Westerberg wrote: > Hi, > > The WDAT (Watchdog Action Table) is a special ACPI table introduced by > Microsoft [1] that abstracts the watchdog hardware from the OS. Windows > uses this table for its watchdog implementation instead of a native iTCO >

Re: [PATCH v5 0/5] ACPI 2.0: Stop defer-executing module level code

2016-09-23 Thread Rafael J. Wysocki
On Friday, September 23, 2016 11:26:26 AM Lv Zheng wrote: > After fixing ACPICA internal locking issues, we can enable the correct > grammar support for the table loading. The new grammar treats the entire > table as TermList rather than ObjectList, thus the module level code should > be executed r

[bug] crypto/vmx/p8_ghash memory corruption in 4.8-rc7

2016-09-23 Thread Jan Stancek
Hi, I'm chasing a memory corruption with 4.8-rc7 as I'm observing random Oopses on ppc BE/LE systems (lpars, KVM guests). About 30% of issues is that module list gets corrupted, and "cat /proc/modules" or "lsmod" triggers an Oops, for example: [ 88.486041] Unable to handle kernel paging request

Re: [PATCH 08/16] perf tools: Increase debug level of SDT debug messages

2016-09-23 Thread Masami Hiramatsu
On Fri, 23 Sep 2016 17:38:40 +0300 Adrian Hunter wrote: > Two SDT debug messages can occur for every DSO which is too noisy. > Consequently, increase debug level of SDT messages. OK, but why "4" would you choose? Thanks, > > Signed-off-by: Adrian Hunter > --- > tools/perf/util/build-id.c

Re: [PATCH 3/4] autofs - make mountpoint checks namespace aware

2016-09-23 Thread Ian Kent
On Fri, 2016-09-23 at 14:15 -0500, Eric W. Biederman wrote: > Ian Kent writes: > > 2> On Thu, 2016-09-22 at 20:37 -0500, Eric W. Biederman wrote: > > > Ian Kent writes: > > > > > > > On Thu, 2016-09-22 at 10:43 -0500, Eric W. Biederman wrote: > > > > > Ian Kent writes: > > > > > > > > > > > E

Re: [PATCH] asus-wmi: filter buggy scan codes on ASUS Q500A

2016-09-23 Thread Darren Hart
On Mon, Sep 12, 2016 at 05:48:17PM +0200, Oleksij Rempel wrote: > Some revision of ASUS Q500A series have keyboard related > issue which is reproducible only if Windows with installed ASUS > tools was ever started. > In this case the Linux side will have blocked keyboard or > report wrong or incomp

Re: acpi: Fix broken error check in map_processor()

2016-09-23 Thread Rafael J. Wysocki
On Fri, Sep 23, 2016 at 5:08 PM, Thomas Gleixner wrote: > map_processor() checks the cpuid value returned by acpi_map_cpuid() for -1 > but acpi_map_cpuid() returns -EINVAL in case of error. > > As a consequence the error is ignored and the following access into percpu > data with that negative cpu

Re: [PATCH] PCI: rockchip: Support quirk to disable 5 GT/s (PCIe 2.x) link rate

2016-09-23 Thread Bjorn Helgaas
On Thu, Sep 22, 2016 at 10:31:18AM -0700, Brian Norris wrote: > rk3399 supports PCIe 2.x link speeds marginally at best, and on some > boards, the link won't train at 5 GT/s at all. Rather than sacrifice 500 > ms waiting for training that will never happen, let's support a device > tree quirk flag

Re: [PATCH 2/3] f2fs: support checkpoint error injection

2016-09-23 Thread Jaegeuk Kim
Hi Chao, The basic rule is to stop every operations once CP_ERROR_FLAG is set. But, this patch simply breaks the rule. For example, f2fs_write_data_page() currently exits with mapping_set_error(). So this patch incurs missing dentry blocks in a valid checkpoint. Thanks, On Fri, Sep 23, 2016 at 0

Re: [PATCH v2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 4:39 PM, Peter Rosin wrote: > On 2016-09-23 19:39, Rob Herring wrote: >> On Sat, Sep 17, 2016 at 11:34:22AM +0200, Peter Rosin wrote: >>> From: Gustaf Lindström >>> >>> The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. >>> >>> Signed-off-by: Gustaf Lindström >>> Si

Re: [PATCH] thread_info: use unsigned long for flags

2016-09-23 Thread Mark Rutland
[Adding Ingo, so this doesn't get lost -- please see the end of the mail] On Fri, Sep 23, 2016 at 11:08:46AM -0700, Andy Lutomirski wrote: > On Fri, Sep 23, 2016 at 10:24 AM, Mark Rutland wrote: > > The generic THREAD_INFO_IN_TASK definition of thread_info::flags is a > > u32, matching x86 prior

[PATCH] samples: move blackfin gptimers-example from Documentation

2016-09-23 Thread Shuah Khan
Move blackfin gptimers-example to samples and remove the Documentation Makefile. Update samples Kconfig and Makefile to build gptimers-example. Signed-off-by: Shuah Khan --- Documentation/Makefile| 1 - Documentation/blackfin/00-INDEX | 4 -- Documentation/blackfi

Re: [PATCH v4 0/3] nvme power saving

2016-09-23 Thread Christoph Hellwig
Jens, can we at least get patches 1 and 2 in while pondering the fate of the right interface for patch 3?

[PULL REQUEST] i2c for 4.8

2016-09-23 Thread Wolfram Sang
Linus, I2C has 3 driver bugfixes for you, fixing uninitialized memory pointers (eg20t), pm/clock imbalance (qup), and a wrongly set cached variable (pc954x). Please pull. Thanks, Wolfram The following changes since commit 3be7988674ab33565700a37b210f502563d932e6: Linux 4.8-rc7 (2016-09-1

Re: [PATCH] x86/alternatives: add stack frame dependency to alternative_call_2()

2016-09-23 Thread Linus Torvalds
On Fri, Sep 23, 2016 at 2:49 PM, Josh Poimboeuf wrote: > > Reported-by: Linus Torvalds Works for me. So: Reported-and-tested-by: Linus Torvalds but I don't think I'll apply this to my tree now, since it's largely harmless, and we're already going to do an rc8 and I worry that it will end up

Re: [RESEND PATCH 1/1] mm/percpu.c: correct max_distance calculation for pcpu_embed_first_chunk()

2016-09-23 Thread zijun_hu
From: zijun_hu it is error to represent the max range max_distance spanned by all the group areas as the offset of the highest group area plus unit size in pcpu_embed_first_chunk(), it should equal to the offset plus the size of the highest group area in order to fix this issue,let us find the h

Re: [PATCH] toshiba_bluetooth: Decouple an error checking status code

2016-09-23 Thread Darren Hart
On Wed, Sep 07, 2016 at 09:28:15AM -0600, Azael Avalos wrote: > This patch simply decouples te error checking of the ACPI status and > the actual BT status, as those two were nested in an if/else check, > but are completely unrelated. > > Signed-off-by: Azael Avalos Queued, thanks. -- Darren H

Re: [PATCH 0/2] toshiba_haps: Small updates to driver code

2016-09-23 Thread Darren Hart
On Wed, Sep 07, 2016 at 09:28:12AM -0600, Azael Avalos wrote: > These two patches make some small changes to the driver code, the first > splits the error check fro the ACPI status and the HDD protection, and > the second simply changes the printing level of two strings from info > to debug. Queue

Re: [PATCH v2] drm/panel: simple: add support for Sharp LQ150X1LG11 panels

2016-09-23 Thread Peter Rosin
On 2016-09-23 19:39, Rob Herring wrote: > On Sat, Sep 17, 2016 at 11:34:22AM +0200, Peter Rosin wrote: >> From: Gustaf Lindström >> >> The Sharp 15" LQ150X1LG11 panel is an XGA TFT LCD panel. >> >> Signed-off-by: Gustaf Lindström >> Signed-off-by: Peter Rosin >> --- >> .../bindings/display/pane

Re: [PATCH v3 6/8] drivers:input:ads7846(+tsc2046): add new common binding names, pre-calibration and flipping

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 02:41:14PM +0200, H. Nikolaus Schaller wrote: > commit b98abe52fa8e ("Input: add common DT binding for touchscreens") > introduced common DT bindings for touchscreens [1] and a helper function to > parse the DT. > > commit ed7c9870c9bc ("Input: of_touchscreen - add support

Re: [PATCH v3 1/8] drivers:input:tsc2007: add new common binding names, pre-calibration, flipping and rotation

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 02:41:09PM +0200, H. Nikolaus Schaller wrote: > commit b98abe52fa8e ("Input: add common DT binding for touchscreens") > introduced common DT bindings for touchscreens [1] and a helper function to > parse the DT. > > commit ed7c9870c9bc ("Input: of_touchscreen - add support

Re: [PATCH v4] devicetree: bindings: uart: Add new compatible string for ZynqMP

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 04:55:48PM +0530, Nava kishore Manne wrote: > From: Nava kishore Manne > > This patch Adds the new compatible string for ZynqMP. > > Signed-off-by: Nava kishore Manne > --- > Changes for v4: > -Modified the ChangeLog comment. > Changes for v3: >

Re: [RFC PATCH 0/6] perf: Add AUX data sampling

2016-09-23 Thread Andi Kleen
On Fri, Sep 23, 2016 at 10:35:27PM +0200, Peter Zijlstra wrote: > On Fri, Sep 23, 2016 at 10:19:43AM -0700, Andi Kleen wrote: > > On Fri, Sep 23, 2016 at 01:49:17PM +0200, Peter Zijlstra wrote: > > > On Fri, Sep 23, 2016 at 02:27:20PM +0300, Alexander Shishkin wrote: > > > > Hi Peter, > > > > > >

Re: [PATCH 2/3] bpf powerpc: implement support for tail calls

2016-09-23 Thread Daniel Borkmann
On 09/23/2016 10:35 PM, Naveen N. Rao wrote: Tail calls allow JIT'ed eBPF programs to call into other JIT'ed eBPF programs. This can be achieved either by: (1) retaining the stack setup by the first eBPF program and having all subsequent eBPF programs re-using it, or, (2) by unwinding/tearing dow

Re: [PATCH v3 4/4] regulator: axp20x: add the AXP813

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 09:22:41AM +0200, Jean-Francois Moine wrote: > The X-Powers AXP813 PMIC is close to the AXP803. > It is used in some Allwinner boards as the Sinovoip BananaPi M3+. > > Signed-off-by: Jean-Francois Moine > --- > Documentation/devicetree/bindings/mfd/axp20x.txt | 9 +- >

Re: [PATCH v2] ASoC: simple-card: add support for aux devices

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 10:11:12AM +0300, Nikita Yushchenko wrote: > This patch makes it possible to use simple-card in setups where separate > amplifier chip is connected to codec's output. > > Changes from v1: > - moved example usage from commit message to Documentation/, as > suggested by Kun

[PATCH] Net Driver: Add Cypress GX3 VID=04b4 PID=3610.

2016-09-23 Thread chris.roth
From: Chris Roth From: Allan Chou Add support for Cypress GX3 SuperSpeed to Gigabit Ethernet Bridge Controller (Vendor=04b4 ProdID=3610). Patch verified on x64 linux kernel 4.7.4 system with the Kensington SD4600P USB-C Universal Dock with Power, which uses the Cypress GX3 SuperSpeed to Gigabi

Re: [PATCH 11/13] nvme: switch to use pci_alloc_irq_vectors

2016-09-23 Thread Sagi Grimberg
On 14/09/16 07:18, Christoph Hellwig wrote: Use the new helper to automatically select the right interrupt type, as well as to use the automatic interupt affinity assignment. Patch title and the change description are a little short IMO to describe what is going on here (need the blk-mq side

Re: [PATCH v3 3/4] regulator: axp20x: add the AXP803

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 09:00:42AM +0200, Jean-Francois Moine wrote: > The X-Powers AXP803 PMIC is close to the AXP809 with more outputs. > It is used in some Allwinner boards as the Sinovoip BananaPi M64 > and the Pine A64. > > Signed-off-by: Jean-Francois Moine > --- > not tested > --- > Docum

Re: [PATCH v3 3/3] clk: mvebu: migrate CP110 system controller to clk_hw API and registration

2016-09-23 Thread Stephen Boyd
On 09/24, Marcin Wojtas wrote: > Hi Stephen, > > 2016-09-23 23:47 GMT+02:00 Stephen Boyd : > > On 09/21, Marcin Wojtas wrote: > >> @@ -203,80 +202,75 @@ static int cp110_syscon_clk_probe(struct > >> platform_device *pdev) > >> if (ret) > >> return ret; > >> > >> - cp110_cl

Re: [PATCHv3 2/2] x86/vmd: Add PCI domain specific LED option

2016-09-23 Thread Keith Busch
On Fri, Sep 23, 2016 at 02:12:23PM -0500, Bjorn Helgaas wrote: > BTW, the "Volume Management Device Driver" config item appears by > itself in the top-level menuconfig menu. That seems a little ... > presumptuous; is it what you intended? Not really intended, but I didn't really know any better a

Re: [PATCH v3 3/3] clk: mvebu: migrate CP110 system controller to clk_hw API and registration

2016-09-23 Thread Marcin Wojtas
Hi Stephen, 2016-09-23 23:47 GMT+02:00 Stephen Boyd : > On 09/21, Marcin Wojtas wrote: >> @@ -203,80 +202,75 @@ static int cp110_syscon_clk_probe(struct >> platform_device *pdev) >> if (ret) >> return ret; >> >> - cp110_clks = devm_kcalloc(&pdev->dev, sizeof(struct clk *),

Re: [PATCH] ext4: Check for encryption feature before fscrypt_process_policy()

2016-09-23 Thread Eric Biggers
On Thu, Sep 22, 2016 at 06:38:03PM -0400, Theodore Ts'o wrote: > > I think it's fine to fix it now in upstream. It might cause some > problems for Cyanogen developers if they want to try to use an > upstream kernel and also enable the ext4 encryption feature, but the > fix to make_ext4fs isn't al

Re: [PATCH V1 1/3] clk: Loongson1: Refactor Loongson1 clock

2016-09-23 Thread Stephen Boyd
On 09/19, Keguang Zhang wrote: > From: Kelvin Cheung > > Factor out the common functions into loongson1/clk.c > to support both Loongson1B and Loongson1C. And, put > the rest into loongson1/clk-loongson1b.c. > > Signed-off-by: Kelvin Cheung > > --- Applied to clk-next -- Qualcomm Innovation

Re: [PATCH v3] CLK: Add Loongson1C clock support

2016-09-23 Thread Stephen Boyd
On 09/20, Yang Ling wrote: > This patch adds clock support to Loongson1C SoC. > > Signed-off-by: Yang Ling > > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project

[PATCH] x86/alternatives: add stack frame dependency to alternative_call_2()

2016-09-23 Thread Josh Poimboeuf
Linus reported the following objtool warning: kernel/signal.o: warning: objtool: .altinstr_replacement+0x54: call without frame pointer save/setup The warning is valid. It's caused by the fact that gcc placed the call instruction in alternative_call_2()'s inline asm before the frame pointer s

Re: [PATCH net-next] Documentation: devicetree: fix typo in MediaTek ethernet device-tree binding

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 02:09:32PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > fix typo in > Documentation/devicetree/bindings/net/mediatek-net.txt > > Cc: devicet...@vger.kernel.org > Reported-by: Sergei Shtylyov > Signed-off-by: Sean Wang > --- > Documentation/devicetree/bind

Re: [PATCH net-next v2] Documentation: devicetree: revise ethernet device-tree binding about TRGMII

2016-09-23 Thread Rob Herring
On Fri, Sep 23, 2016 at 02:04:09PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > add phy-mode "trgmii" to > Documentation/devicetree/bindings/net/ethernet.txt > > Cc: devicet...@vger.kernel.org > Reported-by: Sergei Shtylyov > Signed-off-by: Sean Wang > --- > Documentation/device

Re: [PATCH v3 3/3] clk: mvebu: migrate CP110 system controller to clk_hw API and registration

2016-09-23 Thread Stephen Boyd
On 09/21, Marcin Wojtas wrote: > @@ -203,80 +202,75 @@ static int cp110_syscon_clk_probe(struct > platform_device *pdev) > if (ret) > return ret; > > - cp110_clks = devm_kcalloc(&pdev->dev, sizeof(struct clk *), > - CP110_CLK_NUM, GFP_KERNEL)

Re: [rfc] weirdness in bio_map_user_iov()

2016-09-23 Thread Sagi Grimberg
Hey Al, What happens if we feed it a 3-element iovec array, one page in each? AFAICS, bio_add_pc_page() is called for each of those pages, even if the previous calls have failed - break is only out of the inner loop. Sure, failure due to exceeded request size means that everything after that on

  1   2   3   4   5   6   7   8   >