Re: [RFC PATCH net] net/core: don't increment rx_dropped on inactive slaves

2016-01-25 Thread Jarod Wilson
On Mon, Jan 25, 2016 at 09:27:20AM -0500, Jarod Wilson wrote: > On Sun, Jan 24, 2016 at 10:42:22PM -0800, David Miller wrote: > > From: Jarod Wilson > > Date: Fri, 22 Jan 2016 14:11:22 -0500 > > > > > diff --git a/net/core/dev.c b/net/core/dev.c > > > index 8cba3d8..1354c7b

Re: [linux-review:James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642] d979f99e9cc14e2667e9b6e268db695977e4197a BUILD DONE

2016-01-25 Thread Fengguang Wu
Hi Arnd, Sorry for the delay! I lost access to my email account for some week. On Tue, Jan 19, 2016 at 03:26:16PM +0100, Arnd Bergmann wrote: > On Tuesday 19 January 2016 19:27:55 kbuild test robot wrote: > > arm allnoconfig > > arm

Re: [RFC PATCH] PPC32: Fix build failure caused by missing dirty pte handlers

2016-01-25 Thread Pranith Kumar
On Mon, Jan 25, 2016 at 10:13 PM, Michael Ellerman wrote: > On Mon, 2016-01-25 at 09:22 -0500, Pranith Kumar wrote: > >> In 4.5-rc1, I am getting a build failure as follows: >> >> mm/memory.c: In function ‘do_swap_page’: >> mm/memory.c:2573:9: error: implicit declaration of

Re: [RFC][PATCH 1/3] mm/debug-pagealloc.c: Split out page poisoning from debug page_alloc

2016-01-25 Thread Jianyu Zhan
On Tue, Jan 26, 2016 at 12:55 AM, Laura Abbott wrote: > +static bool __page_poisoning_enabled __read_mostly; > +static bool want_page_poisoning __read_mostly = > + !IS_ENABLED(CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC); > + I would say this patch is nice with regard

Re: [PATCH v5 1/5] doc: bindings: Add document for mfd hi665x PMIC

2016-01-25 Thread chenfeng
On 2016/1/25 20:53, Lee Jones wrote: > On Mon, 11 Jan 2016, Chen Feng wrote: > >> Add document for mfd driver hi655x pmic driver >> >> Signed-off-by: Chen Feng >> Signed-off-by: Fei Wang >> Signed-off-by: Xinwei Kong >>

[PATCH 1/2] f2fs: introduce get_next_page_offset to speed up SEEK_DATA

2016-01-25 Thread Chao Yu
When seeking data in ->llseek, if we encounter a big hole which covers several dnode pages, we will try to seek data from index of page which is the first page of next dnode page, at most we could skip searching (ADDRS_PER_BLOCK - 1) pages. However it's still not efficient, because if our

[PATCH v4 3/7] mtd: spi-nor: fsl-quadspi: add support for layerscape

2016-01-25 Thread Yuan Yao
LS1043a and LS2080A in the Layerscape family also support Freescale Quad SPI, make Quad SPI selectable for these hardwares. Signed-off-by: Yuan Yao --- Changed in v4: No changes. Changed in v3: No changes. Changed in v2: Update my email to ---

Re: mm: WARNING in __delete_from_page_cache

2016-01-25 Thread Williams, Dan J
On Mon, 2016-01-25 at 13:22 +0100, Jan Kara wrote: [..] > Thanks. Despite the huge list of recipients the author of the changes > hasn't been CCed :) I've added Dan to CC since he wrote DAX support > for > block devices. It seems somehow the write didn't go through the DAX > path > but through the

[PATCH v6 00/12] usb: early: add support for early printk through USB3 debug port

2016-01-25 Thread Lu Baolu
Hi, This patch series adds support for early printk through USB3 debug port. USB3 debug port is described in xHCI specification as an optional extended capability. The first patch adds a file in sysfs, through which users can check whether the debug capability is supported by a specific host

[PATCH v6 02/12] x86: fixmap: add permanent fixmap for xhci debug port

2016-01-25 Thread Lu Baolu
xHCI compatible USB3 host controller may provide debug capability which enables low-level system debug over USB. In order to probing this debug capability, Linux kernel needs to map and access the mmio of the host controller during early boot. This patch adds permenent fixmap pages in

[PATCH v6 03/12] usb: dbc: probe and setup xhci debug capability

2016-01-25 Thread Lu Baolu
xHCI debug capability (DbC) is an optional functionality provided by an xHCI host controller. Software learns this capability by walking through the extended capability list in mmio of the host. This patch introduces the code to probe and initialize the debug capability hardware during early

[linux-review:Jason-Baron/convert-dynamic_debug-to-use-jump-labels/20160126-055359] 30e241d11bfa30ea56c42028ef9776135d422b57 BUILD DONE

2016-01-25 Thread kbuild test robot
https://github.com/0day-ci/linux Jason-Baron/convert-dynamic_debug-to-use-jump-labels/20160126-055359 30e241d11bfa30ea56c42028ef9776135d422b57 dynamic_debug: add jump label support arch/powerpc/include/asm/bug.h:101:4: error: implicit declaration of function '__WARN'

Re: wireless-drivers: random cleanup patches piling up

2016-01-25 Thread Sudip Mukherjee
On Fri, Jan 22, 2016 at 05:54:12PM +0200, Kalle Valo wrote: > "John W. Linville" writes: > > > On Fri, Jan 22, 2016 at 02:21:20PM +0200, Kalle Valo wrote: > >> Joe Perches writes: > >> > >> > On Thu, 2016-01-21 at 16:58 +0200, Kalle Valo wrote: > >> >>

Linux 3.18.26

2016-01-25 Thread Sasha Levin
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm announcing the release of the 3.18.26 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be

[PATCH] usb: dwc2: host: fix the data toggle error in full speed descriptor dma

2016-01-25 Thread Jianqiang Tang
From: "Tang, Jianqiang" There will be data toggle error happen for full speed buld-out transfer. The data toggle bit is saved in qh for non-control transfers, it is wrong to check the qtd for that case. Also fix one static analysis tool issue after fix the data toggle

Re: [PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

2016-01-25 Thread Inki Dae
Hi Arnd, Sorry for late. 2015년 11월 18일 00:08에 Arnd Bergmann 이(가) 쓴 글: > The runtime PM operations use the suspend/resume functions > even when CONFIG_PM_SLEEP is not set, but this now fails > for the exynos DRM driver: > > exynos_mixer.c:1289:61: error: 'exynos_mixer_resume' undeclared here

Re: [RFC][PATCH 2/3] mm/page_poison.c: Enable PAGE_POISONING as a separate option

2016-01-25 Thread Jianyu Zhan
On Tue, Jan 26, 2016 at 12:55 AM, Laura Abbott wrote: > --- a/mm/debug-pagealloc.c > +++ b/mm/debug-pagealloc.c > @@ -8,11 +8,5 @@ > > void __kernel_map_pages(struct page *page, int numpages, int enable) > { > - if (!page_poisoning_enabled()) > -

RE: [f2fs-dev] [PATCH 1/2] f2fs: avoid multiple node page writes due to inline_data

2016-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, January 26, 2016 3:18 AM > To: Chao Yu > Cc: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 1/2] f2fs:

[PATCH v4 1/7] mtd: spi-nor: fsl-quadspi: add big-endian support

2016-01-25 Thread Yuan Yao
Add R/W functions for big- or little-endian registers: The qSPI controller's endian is independent of the CPU core's endian. So far, the qSPI have two versions for big-endian and little-endian. Signed-off-by: Yuan Yao Acked-by: Han xu --- Changed in v4:

[PATCH v4 7/7] Documentation: fsl-quadspi: Add optional properties

2016-01-25 Thread Yuan Yao
Add optional properties for QSPI: big-endian if the register is big endian on this platform. Signed-off-by: Yuan Yao Acked-by: Rob Herring --- Changed in v4: No changes. Changed in v3: No changes. Changed in v2: Update my email to ---

[PATCH v4 4/7] Documentation: fsl-quadspi: Add fsl,ls2080a-dspi compatible string

2016-01-25 Thread Yuan Yao
new compatible string: "fsl,ls2080a-qspi". Signed-off-by: Yuan Yao Acked-by: Rob Herring --- Changed in v4: No changes. Changed in v3: Add the modifier for new compatible string like: "fsl,ls2080a-dspi" followed by "fsl,ls2085a-dspi" Changed in v2: Update my

Re: [PATCH V2 4/4] mfd: mediatek: add MT6323 support to MT6397 driver

2016-01-25 Thread Henry Chen
On Mon, 2016-01-25 at 19:59 +0100, John Crispin wrote: > > On 25/01/2016 19:44, Matthias Brugger wrote: > > On Monday 25 Jan 2016 16:36:40 John Crispin wrote: > >> Hi, > >> > >> On 25/01/2016 13:41, Lee Jones wrote: > >>> Please honour the subject format of the subsystem you are contributing >

Re: [PATCH 0/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-25 Thread Eric W. Biederman
Kees Cook writes: > On Mon, Jan 25, 2016 at 11:33 AM, Eric W. Biederman > wrote: >> Kees Cook writes: >>> >>> Well, I don't know about less weird, but it would leave a unneeded >>> hole in the permission checks. >> >> To be

Re: [PATCH] signals: work around random wakeups in sigsuspend()

2016-01-25 Thread Ingo Molnar
* Sasha Levin wrote: > A random wakeup can get us out of sigsuspend() without TIF_SIGPENDING > being set. > > Avoid that by making sure we were signaled, like sys_pause() does. > > Signed-off-by: Sasha Levin > --- > kernel/signal.c |6

Re: [PATCH V2 4/4] mfd: mediatek: add MT6323 support to MT6397 driver

2016-01-25 Thread John Crispin
On 26/01/2016 04:07, Henry Chen wrote: > On Mon, 2016-01-25 at 19:59 +0100, John Crispin wrote: >> >> On 25/01/2016 19:44, Matthias Brugger wrote: >>> On Monday 25 Jan 2016 16:36:40 John Crispin wrote: Hi, On 25/01/2016 13:41, Lee Jones wrote: > Please honour the subject

[PATCH 2/2] MIPS: ath79: Remove the builtin DTB support

2016-01-25 Thread Alban Bedel
Now that appended DTB is usable we can drop the builtin DTB support. Signed-off-by: Alban Bedel --- arch/mips/ath79/Kconfig | 12 arch/mips/ath79/setup.c | 4 arch/mips/boot/dts/qca/Makefile | 3 --- 3 files changed, 19 deletions(-) diff --git

[PATCH 2/2] f2fs: speed up handling holes in fiemap

2016-01-25 Thread Chao Yu
This patch makes f2fs_map_blocks supporting returning next potential page offset which skips hole region in indirect tree of inode, and use it to speed up fiemap in handling big hole case. Test method: xfs_io -f /mnt/f2fs/file -c "pwrite 1099511627776 4096" time xfs_io -f /mnt/f2fs/file -c

Re: [PATCH v2] pci: fix unavailable irq number 255 reported by BIOS

2016-01-25 Thread Guenter Roeck
On Mon, Jan 25, 2016 at 02:58:04PM -0600, Bjorn Helgaas wrote: > [+cc Thomas] > [ ... ] > > I don't like the x86 ifdef. I'd prefer: > > static inline bool irq_valid(unsigned int irq) > { > if (irq < NR_IRQS) > return true; > return false; > } > Or: static inline bool

Re: [BUG REPORT] Soft Lockup in smp_call_function_single+0xD8

2016-01-25 Thread Jeff Merkey
On 1/25/16, Jeff Merkey wrote: > On 1/24/16, Jeff Merkey wrote: >> On 1/24/16, Jeff Merkey wrote: >>> If I single step with either kgdb, kgdb, or mdb kernel debuggers over >>> a sysret instruction anywhere in the OS, the system

Re: [PATCH] Add hard/soft lockup debugger entry points

2016-01-25 Thread kbuild test robot
Hi Jeff, [auto build test ERROR on v4.5-rc1] [also build test ERROR on next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jeff-Merkey/Add-hard-soft-lockup-debugger-entry-points

[PATCH v2 1/3] f2fs: simplify f2fs_map_blocks

2016-01-25 Thread Chao Yu
In f2fs_map_blocks, we use duplicated codes to handle first block mapping and the following blocks mapping, it's unnecessary. This patch simplifies f2fs_map_blocks to avoid using copied codes. Signed-off-by: Chao Yu --- V2: - rebase on last dev-test fs/f2fs/data.c |

RE: [lkp] [pci] 2910b5bdc5: pci 0000:06:00.0: Unable to allocate DMA alias mask.

2016-01-25 Thread Lawrynowicz, Jacek
Wow. It's very cool that you do automated tests for upcoming changes :) This particular bug was already caught in review by Bjorn. Regards, Jacek -Original Message- From: kernel test robot [mailto:ying.hu...@linux.intel.com] Sent: Tuesday, January 26, 2016 1:59 AM To: Lawrynowicz, Jacek

[PATCH] clk: rockchip: fix wrong mmc phase shift for rk3228

2016-01-25 Thread Shawn Lin
mmc sample shift is 0 for rk3228 refer to user manaul. So it's broken if we enable mmc tuning for rk3228. Fixes: 307a2e9ac ("clk: rockchip: add clock controller for rk3228") Cc: Xing Zheng Cc: Jeffy Chen Signed-off-by: Shawn Lin

Re: [PATCH] autofs: show pipe inode in mount options

2016-01-25 Thread Ian Kent
On Mon, 2016-01-25 at 15:48 -0800, Andrew Morton wrote: > On Tue, 26 Jan 2016 10:19:07 +1100 Stephen Rothwell < > s...@canb.auug.org.au> wrote: > > > Hi Ian, > > > > On Sat, 23 Jan 2016 08:30:17 +0800 Ian Kent > > wrote: > > > > > > I haven't had anything significant enough

Re: [4.5.0-rc1/-next] unaligned bio-s

2016-01-25 Thread Sergey Senozhatsky
Hello, On (01/25/16 19:45), Jens Axboe wrote: > On 01/25/2016 06:49 PM, Sergey Senozhatsky wrote: > >Hello, > > > >With 4.5.0-rc1/linux-next I see unaligned requests passed to zram block > >device. > > > >bio->bi_iter.bi_size is expected to be ZRAM_LOGICAL_BLOCK_SIZE (1 << 12) > >aligned. > >

Re: [PATCH 2/2] ASoC: s3c24xx: use const snd_soc_component_driver pointer

2016-01-25 Thread Krzysztof Kozlowski
On 26.01.2016 02:07, Arnd Bergmann wrote: > An older patch to convert the API in the s3c i2s driver > ended up passing a const pointer into a function that takes > a non-const pointer, so we now get a warning: > > sound/soc/samsung/s3c2412-i2s.c: In function 's3c2412_iis_dev_probe': >

[RFC][PATCH v2] prctl: Add PR_SET_TIMERSLACK_PID for setting timer slack of an arbitrary thread.

2016-01-25 Thread John Stultz
From: Ruchi Kandoi This allows power/performance management software to set timer slack for other threads according to its policy for the thread (such as when the thread is designated foreground vs. background activity) Second argument is similar to PR_SET_TIMERSLACK, if

Re: [PATCH] Add hard/soft lockup debugger entry points

2016-01-25 Thread kbuild test robot
Hi Jeff, [auto build test ERROR on v4.5-rc1] [also build test ERROR on next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jeff-Merkey/Add-hard-soft-lockup-debugger-entry-points

Re: [PATCH 3/3] input: touchscreen: ad7879: add device tree support

2016-01-25 Thread kbuild test robot
Hi Stefan, [auto build test ERROR on input/next] [also build test ERROR on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Stefan-Agner/input-touchscreen-ad7879-move

[lkp] [kallsyms] f5fc9abc4e: BUG: KASAN: null-ptr-deref on address (null)

2016-01-25 Thread kernel test robot
FYI, we noticed the below changes on https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git kallsyms commit f5fc9abc4e23dccfa1fc35892cf36a416d1e6aee ("kallsyms: add support for relative offsets in kallsyms address table")

Re: [PATCH/RFC] mm/debug_pagealloc: enable it by default

2016-01-25 Thread Joonsoo Kim
On Mon, Jan 25, 2016 at 08:51:56PM +0100, Christian Borntraeger wrote: > On 01/25/2016 08:38 PM, Dave Jones wrote: > > Content preview: On Mon, Jan 25, 2016 at 02:22:10PM -0500, Dave Jones > > wrote: > > > > A default mode would be ok for me as it makes things obvious. Will > > send > >

[PATCH 0/2 v2] set_memory_xx fixes

2016-01-25 Thread mika.penttila
Recent changes (4.4.0+) in module loader triggered oops on ARM. The module in question is in-tree module : drivers/misc/ti-st/st_drv.ko The BUG is here : [ 53.638335] [ cut here ] [ 53.642967] kernel BUG at mm/memory.c:1878! [ 53.647153] Internal error: Oops - BUG: 0

Re: [PATCH v5 3/5] mfd: hi655x: Add hi665x pmic driver

2016-01-25 Thread chenfeng
On 2016/1/25 22:22, Lee Jones wrote: > On Mon, 11 Jan 2016, Chen Feng wrote: > >> Add pmic mfd driver to support hisilicon hi665x. > > PMIC MFD > ok. >> Signed-off-by: Chen Feng >> Signed-off-by: Fei Wang >> Signed-off-by: Xinwei Kong

[PATCH 2/2 v2] make apply_to_page_range() more robust.

2016-01-25 Thread mika.penttila
From: Mika Penttilä Now the arm/arm64 don't trigger this BUG_ON() any more, but WARN_ON() is here enough to catch buggy callers but still let potential other !size callers pass with warning. Signed-off-by: Mika Penttilä mika.pentt...@nextfour.com Reviewed-by: Pekka

[PATCH 1/2 v2] arm, arm64: change_memory_common with numpages == 0 should be no-op.

2016-01-25 Thread mika.penttila
From: Mika Penttilä This makes the caller set_memory_xx() consistent with x86. arm64 part is rebased on 4.5.0-rc1 with Ard's patch lkml.kernel.org/g/<1453125665-26627-1-git-send-email-ard.biesheu...@linaro.org> applied. Signed-off-by: Mika Penttilä

Re: [PATCH v6 03/12] usb: dbc: probe and setup xhci debug capability

2016-01-25 Thread Greg Kroah-Hartman
On Tue, Jan 26, 2016 at 12:14:16PM +0800, Lu Baolu wrote: > xHCI debug capability (DbC) is an optional functionality provided > by an xHCI host controller. Software learns this capability by > walking through the extended capability list in mmio of the host. > > This patch introduces the code to

Re: [PATCH v2 1/4] dt-bindings: power: reset: add document for reboot-mode driver

2016-01-25 Thread Andy Yan
Hi Rob: On 2016年01月26日 01:11, Rob Herring wrote: On Thu, Jan 21, 2016 at 02:27:57PM +0800, Andy Yan wrote: Hi Rob: thanks for your review. On 2016年01月21日 02:28, Rob Herring wrote: On Tue, Jan 12, 2016 at 07:29:49PM +0800, Andy Yan wrote: add device tree binding document for reboot-mode

Re: [PATCH v2] perf: Synchronously cleanup child events

2016-01-25 Thread Alexei Starovoitov
On Mon, Jan 25, 2016 at 10:04:10PM +0100, Peter Zijlstra wrote: > On Mon, Jan 25, 2016 at 03:54:14PM +0100, Peter Zijlstra wrote: > > Alexander, Alexei, > > > > How about the below? That uses event->state == PERF_EVENT_STATE_EXIT to > > indicate the event has been given up by its 'owner' and

Re: [linux-review:James-Hogan/kbuild-Remove-stale-asm-generic-wrappers/20160119-183642] d979f99e9cc14e2667e9b6e268db695977e4197a BUILD DONE

2016-01-25 Thread Fengguang Wu
On Tue, Jan 26, 2016 at 01:30:50PM +0800, Fengguang Wu wrote: > Hi Arnd, > > Sorry for the delay! I lost access to my email account for some week. > > On Tue, Jan 19, 2016 at 03:26:16PM +0100, Arnd Bergmann wrote: > > On Tuesday 19 January 2016 19:27:55 kbuild test robot wrote: > > > arm

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-25 Thread Paul E. McKenney
On Mon, Jan 25, 2016 at 06:02:34PM +, Will Deacon wrote: > Hi Paul, > > On Fri, Jan 15, 2016 at 09:39:12AM -0800, Paul E. McKenney wrote: > > On Fri, Jan 15, 2016 at 09:55:54AM +0100, Peter Zijlstra wrote: > > > On Thu, Jan 14, 2016 at 01:29:13PM -0800, Paul E. McKenney wrote: > > > > So

[PATCH] mn10300: Wire up mn10300_dma_supported

2016-01-25 Thread Guenter Roeck
From: Guenter Roeck Commit f151341ca00e ("mn10300: convert to dma_map_ops") declares mn10300_dma_supported, but does not wire it up. This results in the following build warning. arch/mn10300/mm/dma-alloc.c: warning: 'mn10300_dma_supported' defined but not used

Re: [PATCH] media: platform: exynos4-is: media-dev: Add missing of_node_put

2016-01-25 Thread Krzysztof Kozlowski
On 26.01.2016 15:24, Julia Lawall wrote: > > > On Tue, 26 Jan 2016, Krzysztof Kozlowski wrote: > >> On 26.01.2016 00:21, Amitoj Kaur Chawla wrote: >>> for_each_available_child_of_node and for_each_child_of_node perform an >>> of_node_get on each iteration, so to break out of the loop an

[PATCH v4 2/7] mtd: spi-nor: fsl-quadspi: add support for ls1021a

2016-01-25 Thread Yuan Yao
LS1021a also support Freescale Quad SPI controller. Add fsl-quadspi support for ls1021a chip and make SPI_FSL_QUADSPI selectable for LS1021A SOC hardwares. Signed-off-by: Yuan Yao Acked-by: Han xu --- Changed in v4: No changes. Changed in v3: No changes.

[PATCH v4 6/7] dts/ls2080a: update the DTS for QSPI and DSPI support

2016-01-25 Thread Yuan Yao
Signed-off-by: Yuan Yao --- Changed in v4: No changes. Changed in v3: No changes. Changed in v2: Update my email to --- arch/arm64/boot/dts/freescale/fsl-ls2080a-qds.dts | 9 - arch/arm64/boot/dts/freescale/fsl-ls2080a.dtsi| 4 ++-- 2 files

[PATCH v4 5/7] Documentation: fsl-quadspi: Add fsl, ls2080a-qspi compatible string

2016-01-25 Thread Yuan Yao
new compatible string: "fsl,ls2080a-qspi". Signed-off-by: Yuan Yao Acked-by: Rob Herring --- Changed in v4: No changes. Changed in v3: Add the modifier for new compatible string like: "fsl,ls2080a-qspi" followed by "fsl,ls1021a-qspi" Changed in v2: Update my

[PATCH v6 04/12] usb: dbc: add support for Intel xHCI dbc quirk

2016-01-25 Thread Lu Baolu
On Intel platforms, if the debug target is connected with debug host, enabling DCE bit in command register leads to a port hung state. In the hung state, the host system will not see a port connected status bit set. Hence debug target fails to be probed. The state could be resolved by performing

[PATCH v6 06/12] usb: dbc: add bulk out and bulk in interfaces

2016-01-25 Thread Lu Baolu
This patch adds interfaces for bulk out and bulk in ops. These interfaces could be used to implement early printk bootconsole or hook to various system debuggers. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 373 +++

[PATCH v6 01/12] usb: xhci: add sysfs file for xHCI debug port

2016-01-25 Thread Lu Baolu
This patch adds a sysfs file for users to check 1) whether the debug capability is implemented by hardware; 2) if supported, which state does it stay at. With a host that supports debug port, a file named "debug_port_state" will be created under the device sysfs directory. Reading this file will

[PATCH v6 05/12] usb: dbc: add debug buffer

2016-01-25 Thread Lu Baolu
"printk" is not suitable for dbc debugging especially when console is in usage. This patch adds a debug buffer in dbc driver and puts the debug messages in this local buffer. The debug buffer could be dumped whenever the console is not in use. This part of code will not be visible unless DBC_DEBUG

Re: [RFC][PATCH 0/3] Sanitization of buddy pages

2016-01-25 Thread Sasha Levin
On 01/25/2016 11:55 AM, Laura Abbott wrote: > Hi, > > This is an implementation of page poisoning/sanitization for all arches. It > takes advantage of the existing implementation for > !ARCH_SUPPORTS_DEBUG_PAGEALLOC arches. This is a different approach than what > the Grsecurity patches were

Re: [PATCH] brcmfmac: sdio: Increase the default timeouts a bit

2016-01-25 Thread Arend van Spriel
On 26-01-16 00:41, Julian Calaby wrote: > Hi Arend, > > On Tue, Jan 26, 2016 at 2:39 AM, Arend van Spriel wrote: >> On 25-01-16 12:06, Julian Calaby wrote: >>> Hi Sjoerd, >>> >>> On Mon, Jan 25, 2016 at 9:47 PM, Sjoerd Simons >>> wrote: On

Re: [PATCH v6 09/12] x86: early_printk: add USB3 debug port earlyprintk support

2016-01-25 Thread kbuild test robot
Hi Lu, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Lu-Baolu/usb-early-add-support-for-early

Re: [PATCH] media: platform: exynos4-is: media-dev: Add missing of_node_put

2016-01-25 Thread Julia Lawall
On Tue, 26 Jan 2016, Krzysztof Kozlowski wrote: > On 26.01.2016 15:24, Julia Lawall wrote: > > > > > > On Tue, 26 Jan 2016, Krzysztof Kozlowski wrote: > > > >> On 26.01.2016 00:21, Amitoj Kaur Chawla wrote: > >>> for_each_available_child_of_node and for_each_child_of_node perform an > >>>

[PATCH 1/2] MIPS: ath79: Add support for DTB passed using the UHI boot protocol

2016-01-25 Thread Alban Bedel
This is needed for bootloader supporting UHI and to support appended DTB. Signed-off-by: Alban Bedel --- arch/mips/ath79/setup.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c index 2fdba24..2895e45 100644 ---

[PATCH v2 2/3] f2fs: simplify __allocate_data_blocks

2016-01-25 Thread Chao Yu
This patch uses existing function f2fs_map_block to simplify implementation of __allocate_data_blocks. Signed-off-by: Chao Yu --- V2: - rebase on last dev-test. fs/f2fs/data.c | 60 -- 1 file changed, 4

Re: [kernel-hardening] Re: [PATCH 0/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-25 Thread Serge Hallyn
Quoting Kees Cook (keesc...@chromium.org): > On Fri, Jan 22, 2016 at 7:02 PM, Eric W. Biederman > > So I have concerns about both efficacy and usability with the proposed > > sysctl. > > Two distros already have this sysctl because it was so strongly > requested by their users. This needs to be

Re: Delivery notification..(View the attachment for confirmation of your delivery address)

2016-01-25 Thread FedEx Express Delivery
FedEx-Delivery Post (USA).docx Description: MS-Word 2007 document

Re: [PATCH 3/3] input: touchscreen: ad7879: add device tree support

2016-01-25 Thread kbuild test robot
Hi Stefan, [auto build test ERROR on input/next] [also build test ERROR on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Stefan-Agner/input-touchscreen-ad7879-move

Re: [PATCH] Add hard/soft lockup debugger entry points

2016-01-25 Thread kbuild test robot
Hi Jeff, [auto build test ERROR on v4.5-rc1] [also build test ERROR on next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Jeff-Merkey/Add-hard-soft-lockup-debugger-entry-points

RE: [f2fs-dev] [PATCH 4/6] f2fs: avoid multiple node page writes due to inline_data

2016-01-25 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Tuesday, January 26, 2016 6:05 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 4/6] f2fs:

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-25 Thread Paul E. McKenney
On Mon, Jan 25, 2016 at 04:42:43PM +, Will Deacon wrote: > On Fri, Jan 15, 2016 at 01:58:53PM -0800, Paul E. McKenney wrote: > > On Fri, Jan 15, 2016 at 10:27:14PM +0100, Peter Zijlstra wrote: > > > On Fri, Jan 15, 2016 at 09:46:12AM -0800, Paul E. McKenney wrote: > > > > On Fri, Jan 15, 2016

Re: [PATCH V4 07/11] of: Add bindings of hw-trip-points for soctherm

2016-01-25 Thread Wei Ni
On 2016年01月26日 10:41, Rob Herring wrote: > On Mon, Jan 25, 2016 at 06:46:36PM +0800, Wei Ni wrote: >> Add hw-trips sub-node for soctherm, which is >> used to describe the hardware trip points for >> each soctherm sensors. > > This seems like something that should be common. There was a hwmon >

Re: [PATCH] media: platform: exynos4-is: media-dev: Add missing of_node_put

2016-01-25 Thread Julia Lawall
On Tue, 26 Jan 2016, Krzysztof Kozlowski wrote: > On 26.01.2016 00:21, Amitoj Kaur Chawla wrote: > > for_each_available_child_of_node and for_each_child_of_node perform an > > of_node_get on each iteration, so to break out of the loop an of_node_put is > > required. > > > > Found using

Re: [RFC][PATCH 0/3] Speed up SLUB poisoning + disable checks

2016-01-25 Thread Joonsoo Kim
On Mon, Jan 25, 2016 at 05:15:10PM -0800, Laura Abbott wrote: > Hi, > > Based on the discussion from the series to add slab sanitization > (lkml.kernel.org/g/<1450755641-7856-1-git-send-email-la...@labbott.name>) > the existing SLAB_POISON mechanism already covers similar behavior. > The

[PATCH v2 3/3] f2fs: remove unneeded pointer conversion

2016-01-25 Thread Chao Yu
There are redundant pointer conversion in following call stack: - at position a, inode was been converted to f2fs_file_info. - at position b, f2fs_file_info was been converted to inode again. - truncate_blocks(inode,..) - fi = F2FS_I(inode) ---a - ADDRS_PER_PAGE(node_page, fi)

Re: connection failure after "tcp: remove max_qlen_log"

2016-01-25 Thread Kui Zhang
I was using 2.7.11. Older version did set backlog to 1 ( http://bugs.python.org/issue8498 ). On Sun, Jan 24, 2016 at 7:18 PM, Eric Dumazet wrote: > On Sun, Jan 24, 2016 at 2:17 AM, Kui Zhang wrote: >> We licensed the java software. As far as I can

[PATCH v6 08/12] usb: dbc: handle endpoint stall

2016-01-25 Thread Lu Baolu
In case of endpoint stall, software is able to detect the situation by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB framework to handle endpoint stall. When software detects endpoint stall situation, it should wait until endpoint is recovered before read or write oprations.

[PATCH v6 11/12] usb: serial: usb_debug: add support for dbc debug device

2016-01-25 Thread Lu Baolu
This patch add dbc debug device support in usb_debug driver. Signed-off-by: Lu Baolu Acked-by: Johan Hovold --- drivers/usb/serial/usb_debug.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git

[PATCH v6 12/12] usb: doc: add document for xHCI DbC driver

2016-01-25 Thread Lu Baolu
Add Documentation/usb/xhci-dbc.txt. This document includes development status and user guide for USB3 debug port. Signed-off-by: Lu Baolu --- Documentation/usb/xhci-dbc.txt | 350 + MAINTAINERS| 1 +

[PATCH v6 10/12] usb: dbc: add handshake between debug target and host

2016-01-25 Thread Lu Baolu
After DbC setup, debug target needs to wait until tty driver and application (e.g. mincom) on debug taget start. Otherwise, out messages might be ignored. This patch adds a ping/pong mechanism between debug target and host. Debug target will be waiting there until user presses 'Y' or 'y' in the

[PATCH v6 09/12] x86: early_printk: add USB3 debug port earlyprintk support

2016-01-25 Thread Lu Baolu
Add support for early printk by writing debug messages to the USB3 debug port. Users can use this type of early printk by specifying kernel parameter of "earlyprintk=xdbc". This gives users a chance of providing debug output. Signed-off-by: Lu Baolu ---

[PATCH v6 07/12] usb: dbc: handle dbc-configured exit

2016-01-25 Thread Lu Baolu
DbC might exit configured state in some cases (refer to 7.6.4.4 in xHCI spec 1.1). Software needs detect and clear this situation by clearing DCCTRL.DCR and wait until the DbC configured before read or write oprations. Signed-off-by: Lu Baolu ---

Re: [PATCH] drm/exynos: fix building without CONFIG_PM_SLEEP

2016-01-25 Thread Inki Dae
2016년 01월 26일 08:40에 Krzysztof Kozlowski 이(가) 쓴 글: > 2015-11-18 0:08 GMT+09:00 Arnd Bergmann : >> The runtime PM operations use the suspend/resume functions >> even when CONFIG_PM_SLEEP is not set, but this now fails >> for the exynos DRM driver: >> >> exynos_mixer.c:1289:61:

Re: [PATCH] Add hard/soft lockup debugger entry points

2016-01-25 Thread Jeff Merkey
On 1/25/16, kbuild test robot <l...@intel.com> wrote: > Hi Jeff, > > [auto build test ERROR on v4.5-rc1] > [also build test ERROR on next-20160125] > [if your patch is applied to the wrong git tree, please drop us a note to > help improving the system] > > url: >

Re: [PATCH] rtc: mt6397: add IRQ domain dependency

2016-01-25 Thread Eddie Huang
On Mon, 2016-01-25 at 17:04 +0100, Arnd Bergmann wrote: > The mt6397 RTC driver can be built either when the MFD_MT6397 driver > is enabled (which selects IRQ_DOMAIN), or when compile testing. > The latter however fails without IRQ domains: > > drivers/rtc/rtc-mt6397.c: In function

Re: [v3,11/41] mips: reuse asm-generic/barrier.h

2016-01-25 Thread Paul E. McKenney
On Mon, Jan 25, 2016 at 02:41:34PM +, Will Deacon wrote: > On Fri, Jan 15, 2016 at 11:28:45AM -0800, Paul E. McKenney wrote: > > On Fri, Jan 15, 2016 at 09:54:01AM -0800, Paul E. McKenney wrote: > > > On Fri, Jan 15, 2016 at 10:24:32AM +, Will Deacon wrote: > > > > See my earlier reply [1]

Re: [RFC PATCH] mm: support CONFIG_ZONE_DEVICE + CONFIG_ZONE_DMA

2016-01-25 Thread Sudip Mukherjee
On Mon, Jan 25, 2016 at 04:06:40PM -0800, Dan Williams wrote: > It appears devices requiring ZONE_DMA are still prevalent (see link > below). For this reason the proposal to require turning off ZONE_DMA to > enable ZONE_DEVICE is untenable in the short term. We want a single > kernel image to be

Re: [alsa-devel] [PATCH] ALSA: bebob: Use a signed return type for get_formation_index

2016-01-25 Thread Takashi Iwai
On Mon, 25 Jan 2016 22:30:23 +0100, Lucas Tanure wrote: > > The return type "unsigned int" was used by the get_formation_index function > despite of the aspect that it will eventually return a negative error > code. > So, change to signed int and get index by reference in the parameters. >

[PATCH] x86/dmi: Switch dmi_remap to ioremap_cache

2016-01-25 Thread Andy Lutomirski
DMI cacheability is very confused on x86. dmi_early_remap uses early_ioremap, which uses FIXMAP_PAGE_IO, which is __PAGE_KERNEL_IO, which is __PAGE_KERNEL, which is cached. Don't ask me why this makes any sense. dmi_remap uses ioremap, which requests an uncached mapping. However, on non-EFI

Re: [Patch V2 1/9] clk: tegra: Fix divider on VI_I2C

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:30PM -0500, Rhyland Klein wrote: > VI-I2C has 16 bits available for its divider. Switch the divider > width to 16 instead of 8 so correct rates can be set. > > Signed-off-by: Rhyland Klein > --- > drivers/clk/tegra/clk-tegra-periph.c | 2 +- > 1

Re: [PATCH 1/3] gpio: gpio-ich: add support for Intel Baytrail

2016-01-25 Thread Lee Jones
On Sat, 23 Jan 2016, Antoine Tenart wrote: > This patch adds support for the Braytrail series, with the hardware > blink capability. > > Signed-off-by: Antoine Tenart > --- > drivers/gpio/gpio-ich.c | 12 > include/linux/mfd/lpc_ich.h | 1 +

Re: [PATCH 2/3] mfd: lpc_ich: use a correct mask for the GPIO base address

2016-01-25 Thread Lee Jones
On Sat, 23 Jan 2016, Antoine Tenart wrote: > The GPIO base address is read from the GPIOBASE register. The first > bit must be cleared as it can be hardwired to 1 to represent the i/o > space. Other bits are either containing the base address of are > reserved. They should not be cleared as all

Re: [PATCH v2 3/4] arm64: Enable the timer on Rockchip architecture

2016-01-25 Thread Heiko Stübner
Am Freitag, 25. September 2015, 10:14:57 schrieb Caesar Wang: > On the RK3368 SoC, support the APB timers for rockchip platform. > > Signed-off-by: Caesar Wang applied to my soc64 branch for 4.6 Heiko

Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 01:51:09PM +0100, Lothar Waßmann wrote: > On Mon, 25 Jan 2016 12:41:23 + Mark Brown wrote: > > The above, for example - make the interrupt optional. > This will make it impossible to notify the system about > overtemperature (and undervoltage). > I implemented polling

[PATCH] mm/page-writeback: fix dirty_ratelimit calculation

2016-01-25 Thread Andrey Ryabinin
Calculation of dirty_ratelimit sometimes is not correct. E.g. initial values of dirty_ratelimit == INIT_BW and step == 0, lead to the following result: UBSAN: Undefined behaviour in ../mm/page-writeback.c:1286:7 shift exponent 25600 is too large for 64-bit type 'long unsigned int' The fix

[PATCH v4 3/3] kallsyms: add support for relative offsets in kallsyms address table

2016-01-25 Thread Ard Biesheuvel
Similar to how relative extables are implemented, it is possible to emit the kallsyms table in such a way that it contains offsets relative to some anchor point in the kernel image rather than absolute addresses. On 64-bit architectures, it cuts the size of the kallsyms address table in half,

[PATCH v4 0/3] kallsyms base relative series

2016-01-25 Thread Ard Biesheuvel
This v4 of my kallsyms base relative implementation is now a 3 piece series, since it caused some problems due to the way absolute symbols are handled by the absolute per cpu code. As it turns out, that code was probably wrong in the sense that it caused non-relocated symbol addresses to be

Re: net/sctp: out-of-bounds access in sctp_add_bind_addr

2016-01-25 Thread Neil Horman
On Mon, Jan 25, 2016 at 03:02:38PM +0100, Dmitry Vyukov wrote: > Hello, > > I've git the following error report while running syzkaller fuzzer: > > == > BUG: KASAN: slab-out-of-bounds in memcpy+0x1d/0x40 at addr 88006c6361e8 >

Re: [PATCH 1/4] hw_random: bcm63xx-rng: remove unused variables

2016-01-25 Thread Herbert Xu
On Sun, Jan 17, 2016 at 10:03:54AM +0100, Álvaro Fernández Rojas wrote: > These variables where left as unused in commit 6229c16060fe > ("hwrng: bcm63xx - make use of devm_hwrng_register") > > Fixes the following warning: > drivers/char/hw_random/bcm63xx-rng.c: In function 'bcm63xx_rng_probe': >

Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs

2016-01-25 Thread Herbert Xu
On Fri, Jan 15, 2016 at 03:49:30PM +0100, Cyrille Pitchen wrote: > Hi all, > > This series of patches fixes many issues such as the algo registration failure > or the broken support of context switches. > > This series was applied to linux-next and tested on a sama5d2 xplained > ultra board. We

  1   2   3   4   5   6   7   8   9   10   >