Re: [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-09 Thread kbuild test robot
-ci/linux/commits/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170209-124143 config: i386-randconfig-x004-201706 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: # save the attached .config to linux build tree make ARCH=i386 All

Re: [PATCH v2] mm/zsmalloc: fix comment in zsmalloc

2017-02-09 Thread Minchan Kim
On Thu, Feb 09, 2017 at 04:05:43PM +0900, Sergey Senozhatsky wrote: > On (02/09/17 14:13), Yisheng Xie wrote: > > The class index and fullness group are not encoded in (first)page->mapping > > any more, after commit 3783689a1aa8 ("zsmalloc: introduce zspage > > structure"). Instead, they are store

[PATCH] drivers: usb: usbip: Add missing break statement to switch

2017-02-09 Thread Gustavo A. R. Silva
Add missing break statement to prevent the code for case USB_PORT_FEAT_C_RESET falling through to the default case. Addresses-Coverity-ID: 143155 Signed-off-by: Gustavo A. R. Silva --- drivers/usb/usbip/vhci_hcd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/usbip/vhci_hcd.c b

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Alden Tondettar
On Wed, Feb 08, 2017 at 11:19:31PM -0500, Theodore Ts'o wrote: > How did you determine when crng_initialize() was being called? On a > VM generally there are fewer interrupts than on real hardware. On > KVM, for I see the random: fast_init message being printed 3.6 seconds > into the boot. > > O

Re: [PATCH v4 3/3] ASoC: zx-i2s: introduce pclk for zx2967 family

2017-02-09 Thread Jun Nie
On 2017年02月09日 11:12, Baoyou Xie wrote: The pclk is necessary for zx2967 I2S controller. the driver currently doesn't handle it. This is something we need to fix. In turn, the driver supports zx296718's I2S controller. By the way, this patch also change the clock name from tx to wclk to make it

Re: [PATCH v8 2/3] drm/panel: Add support for S6E3HA2 panel driver on TM2 board

2017-02-09 Thread Andi Shyti
Hi, just for my knowledge and all those working on the tm2(e) devices, is this patch going in or not? If not, Thierry, could you please say what Hoegeun needs to do in order to get this in? Thanks, Andi On Wed, Jan 11, 2017 at 03:33:58PM +0900, Hoegeun Kwon wrote: > This patch add support for M

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-09 Thread Lee Jones
On Wed, 08 Feb 2017, Greg KH wrote: > On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > > The commits mentioned below adapt the GPIO API to allow more information > > to be passed directly through devm_get_gpiod_from_child() in the first > > instance. This facilitates the removal of su

Re: [PATCH] MAINTAINERS: Add Jon Mason to BCM5301X maintainers

2017-02-09 Thread Rafał Miłecki
On 2017-02-09 00:34, Jon Mason wrote: On Wed, Feb 8, 2017 at 6:29 PM, Rafał Miłecki wrote: On 02/09/2017 12:22 AM, Jon Mason wrote: Adding myself as a maintainer for Broadcom Northstar SoCs. Also, adding a regex entry to discover the SVK DTs already present. Signed-off-by: Jon Mason A

Re: [RFC PATCH v4] IV Generation algorithms for dm-crypt

2017-02-09 Thread Binoy Jayan
On 8 February 2017 at 13:02, Gilad Ben-Yossef wrote: > > Ran Bonnie++ on it last night (Luks mode, plain64, Qemu Virt platform > Arm64) and it works just fine. > > Tested-by: Gilad Ben-Yossef > Hi Gilad, Thank you for testing it. Do you have access to a device having crypto hardware with IV ge

[PATCH] perf/core: remove useless cast when comparing

2017-02-09 Thread Mars Cheng
since nr_cpu_ids and cpu are both int, remove the casting Signed-off-by: Mars Cheng --- kernel/events/core.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/events/core.c b/kernel/events/core.c index ab15509..3482342 100644 --- a/kernel/events/core.c +++ b/kernel/ev

Re: [PATCH v2] Move stack parameters for sed_ioctl to prevent oversized stack with CONFIG_KASAN

2017-02-09 Thread Christoph Hellwig
I'm really not a fan of adding a global synchronization point for no good reason. Arnd's original patch looks fine to me, but if you really don't want it I'd suggest to use memdup_user and just dynamically allocate the structure.

Re: [PATCH] arm64: use is_vmalloc_addr

2017-02-09 Thread kbuild test robot
-is_vmalloc_addr/20170209-103100 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-next/core config: arm64-defconfig (attached as .config) compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp

net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-09 Thread Dmitry Vyukov
Hello, I've got the following report while running syzkaller fuzzer on mmotm (git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) remotes/mmotm/auto-latest ee4ba7533626ba7bf2f8b992266467ac9fdc045e: [ INFO: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected ] 4.9.0 #7 Not tainted

Re: [PATCH v2 2/2] fork: make number of cached stacks (vmapped) configurable using Kbuild

2017-02-09 Thread Michal Hocko
On Thu 09-02-17 13:03:47, Hoeun Ryu wrote: > Introducing NR_VMAP_STACK_CACHE, the number of cached stacks for virtually > mapped kernel stack can be configurable using Kbuild system. > default value is 2. This should really explain _why_ we want/need this. The config space is really large already

Re: Build Linux kernel to have comparable zImages

2017-02-09 Thread Lukasz Majewski
On Thu, 9 Feb 2017 11:25:15 +1100 Andrew Donnellan wrote: > On 08/02/17 20:20, Lukasz Majewski wrote: > > Dear All, > > > > Maybe somebody can point me to solution to the following problem: > > > > Problem: > > > > I do want to be able to compare (with e.g. md5sum, sha1) two linux > > zImages. Th

Re: drivers: usb: dwc3: A question...

2017-02-09 Thread Roger Quadros
Hi, On 09/02/17 10:14, Gustavo A. R. Silva wrote: > Hello everybody, > > I ran into the following piece of code at drivers/usb/dwc3/dwc3-omap.c:218 > (linux-next) > > 218static void dwc3_omap_set_mailbox(struct dwc3_omap *omap, > 219enum omap_dwc3_vbus_id_status status) > 220{ > 221

Re: [PATCH 3/3] mm: Enable Buddy allocation isolation for CDM nodes

2017-02-09 Thread Vlastimil Babka
On 02/09/2017 06:05 AM, Anshuman Khandual wrote: On 02/08/2017 10:48 PM, Vlastimil Babka wrote: On 02/08/2017 03:01 PM, Anshuman Khandual wrote: This implements allocation isolation for CDM nodes in buddy allocator by discarding CDM memory zones all the time except in the cases where the gfp fl

Re: [PATCH v4] usb: misc: add USB251xB/xBi Hi-Speed Hub Controller Driver

2017-02-09 Thread Richard Leitner
On 02/08/2017 09:16 PM, Andy Shevchenko wrote: > On Wed, 2017-02-08 at 21:03 +0100, Richard Leitner wrote: >> Should I keep my inline {clr,set}_bit_in_byte() >> functions an use BIT() in there, or delete them and use BIT() >> directly >> in usb251xb_get_ofdata() ? > > Does it make any sense? >

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-09 Thread Peter Zijlstra
On Thu, Feb 09, 2017 at 07:57:27AM +0100, Ingo Molnar wrote: > And -rt would do something like this in migration_disable()/enable(): > > t->cpus_ptr = &cpumask_of(task_cpu(p)); > t->nr_cpus = 1; > > ... > > t->cpus_ptr = &t->cpus_mask; > t->nr_cpus = cpumask_weight

Re: [PATCH 12/13] dt-bindings: auxdisplay: Add bindings for Hitachi HD44780

2017-02-09 Thread Geert Uytterhoeven
Hi Rob, On Thu, Feb 9, 2017 at 2:11 AM, Rob Herring wrote: > On Mon, Feb 06, 2017 at 03:38:14PM +0100, Geert Uytterhoeven wrote: >> Add DT bindings for an Hitachi HD44780 Character LCD Controller where >> its M6800 bus interface is connected to GPIOs. > > Really, you should have a bit-bang M6800

Re: [PATCH 05/10] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-09 Thread Peter Zijlstra
On Wed, Feb 08, 2017 at 07:34:18PM +0100, Ingo Molnar wrote: > So the original intention of tsk_cpus_allowed() was to 'future-proof' > the field - but it's pretty ineffectual at that, because half of > the code uses ->cpus_allowed directly ... > > Also, the wrapper makes the code longer than the o

Re: [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-09 Thread Michal Hocko
On Thu 09-02-17 13:03:46, Hoeun Ryu wrote: > Using virtually mapped stack, kernel stacks are allocated via vmalloc. > In the current implementation, two stacks per cpu can be cached when > tasks are freed and the cached stacks are used again in task duplications. > but the cached stacks may remain

Re: [PATCH v5] PCI: Xilinx NWL: Modifying irq chip for legacy interrupts

2017-02-09 Thread Marc Zyngier
On 06/02/17 07:03, Bharat Kumar Gogada wrote: > - Adding spinlock for protecting legacy mask register > - Few wifi end points which only support legacy interrupts, > performs hardware reset functionalities after disabling interrupts > by invoking disable_irq and then re-enable using enable_irq, the

Re: [PATCH 1/2] PCI/msi: remove unused function pci_msi_create_default_irq_domain

2017-02-09 Thread Marc Zyngier
On 08/02/17 13:43, Thomas Gleixner wrote: > On Fri, 3 Feb 2017, Christoph Hellwig wrote: > > No objections, but then we also can remove: > > struct irq_domain * __weak arch_get_pci_msi_domain(struct pci_dev *dev) > > as there are no arch specific implementations > > along with: > > static stru

Re: [PATCH] serial: st-asc: Use new GPIOD API to obtain RTS pin

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 08:21:50AM +, Lee Jones wrote: > On Wed, 08 Feb 2017, Greg KH wrote: > > > On Wed, Feb 08, 2017 at 09:24:25AM +, Lee Jones wrote: > > > The commits mentioned below adapt the GPIO API to allow more information > > > to be passed directly through devm_get_gpiod_from_c

Re: [PATCH -next] mtd: aspeed: remove redundant dev_err call in aspeed_smc_probe()

2017-02-09 Thread Marek Vasut
On 02/08/2017 05:23 PM, Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Signed-off-by: Wei Yongjun Reviewed-by: Marek Vasut > --- > drivers/mtd/spi-nor/aspeed-smc.c

Re: [PATCH] proc/sysctl: drop unregistered stale dentries as soon as possible

2017-02-09 Thread Al Viro
On Thu, Feb 09, 2017 at 10:36:15AM +0300, Konstantin Khlebnikov wrote: > Ok, Thank you. I've expected that this fix isn't sane, > > Maybe we could minimize changes for now. For example: keep these > stale dentries in memory but silently unhash them in ->d_compare(). > Memory processure and reclai

Re: [PATCH 12/14] RDMA/cxgb4: Delete an unnecessary variable initialisation in create_qp()

2017-02-09 Thread Leon Romanovsky
On Wed, Feb 08, 2017 at 10:22:28PM +0100, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 8 Feb 2017 21:07:07 +0100 > > The local variable "ret" will be set to an appropriate value a bit later. > Thus omit the explicit initialisation at the beginning in this function. > > Signed-off-b

[PATCH 2/5] selftests: Fix the .c linking rule

2017-02-09 Thread Michael Ellerman
Currently we can't build some tests, for example: $ make -C tools/testing/selftests/ TARGETS=vm ... gcc -Wall -I ../../../../usr/include -lrt -lpthread ../../../../usr/include/linux/kernel.h userfaultfd.c -o tools/testing/selftests/vm/userfaultfd /tmp/ccmOkQSM.o: In function `stress':

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Marc Zyngier
On 06/02/17 12:15, Mars Cheng wrote: > Originally driver only supports one base. However, MT6797 has > more than one bases to configure interrupt polarity. To support > possible design change, here comes a solution to use arbitrary > number of bases. > > Signed-off-by: Mars Cheng > --- > drivers

[PATCH] net: micrel: ks8851: use new api ethtool_{get|set}_link_ksettings

2017-02-09 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/micrel/ks8851.c | 14 -- 1 files cha

[PATCH 3/5] selftests: Fix the .S and .S -> .o rules

2017-02-09 Thread Michael Ellerman
Both these rules incorrectly use $< (first prerequisite) rather than $^ (all prerequisites), meaning they don't work if we're using more than one .S file as input. Switch them to using $^. They also don't include $(CPPFLAGS) and other variables used in the default rules, which breaks targets that

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Alden Tondettar
On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > In short, the situation is: > > > > A) No usable hardware RNG or arch_get_random() (or we don't trust it...) > > Wait, why would you not trust arch_get_random

[PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-02-09 Thread Michael Ellerman
In commit 88baa78d1f31 ("selftests: remove duplicated all and clean target"), the "all" target was removed from individual Makefiles and added to lib.mk. However the "all" target was added to lib.mk *after* the existing "runtests" target. This means "runtests" becomes the first (default) target fo

Re: [PATCH 1/4] reset: ath79: make it explicitly non-modular

2017-02-09 Thread Alban
On Tue, 7 Feb 2017 19:18:44 -0500 Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/reset/Kconfig:config RESET_ATH79 > drivers/reset/Kconfig: bool "AR71xx Reset Driver" if COMPILE_TEST > > ...meaning that it currently is not being built as a mod

[PATCH 5/5] selftests/powerpc: Fix remaining fallout from recent changes

2017-02-09 Thread Michael Ellerman
In benchmarks we need to use $(TEST_GEN_PROGS) after we include lib.mk, because lib.mk does the substitution to add $(OUTPUT). In math the vmx and fpu names were typoed so they no longer matched correctly, put back the 'v' and 'f'. In tm we need to substitute $(OUTPUT) into SIGNAL_CONTEXT_CHK_TES

Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global session exhaustion

2017-02-09 Thread Dr. Greg Wettstein
On Jan 30, 11:58pm, Jarkko Sakkinen wrote: } Subject: Re: [tpmdd-devel] [RFC] tpm2-space: add handling for global sessi Good morning, I hope the day is going well for everyone. > I'm kind dilating to an opinion that we would leave this commit out > from the first kernel release that will contain

[PATCH 4/5] selftests/powerpc: Fix the clean rule since recent changes

2017-02-09 Thread Michael Ellerman
The clean rule is broken for the powerpc tests: make[1]: Entering directory 'tools/testing/selftests/powerpc' Makefile:63: warning: overriding recipe for target 'clean' ../lib.mk:51: warning: ignoring old recipe for target 'clean' /bin/sh: 3: Syntax error: end of file unexpected (expecting

Re: [PATCH 05/10] sched/core: Remove the tsk_cpus_allowed() wrapper

2017-02-09 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Wed, Feb 08, 2017 at 07:34:18PM +0100, Ingo Molnar wrote: > > > So the original intention of tsk_cpus_allowed() was to 'future-proof' the > > field - but it's pretty ineffectual at that, because half of the code uses > > ->cpus_allowed directly ... > > > > Also, t

Re: [PATCH v3 08/14] mm: thp: enable thp migration in generic path

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:46AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > This patch adds thp migration's core code, including conversions > between a PMD entry and a swap entry, setting PMD migration entry, > removing PMD migration entry, and waiting on PMD migration entries. > > This

Re: [PATCH v3 04/14] mm: x86: move _PAGE_SWP_SOFT_DIRTY from bit 7 to bit 1

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:42AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > pmd_present() checks _PAGE_PSE along with _PAGE_PRESENT to avoid > false negative return when it races with thp spilt > (during which _PAGE_PRESENT is temporary cleared.) I don't think that > dropping _PAGE_PSE ch

Re: [PATCH v3 13/14] mm: migrate: move_pages() supports thp migration

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:51AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > This patch enables thp migration for move_pages(2). > > Signed-off-by: Naoya Horiguchi > --- > mm/migrate.c | 37 - > 1 file changed, 28 insertions(+), 9 deletions(-) > > di

Re: [PATCH] leds: pca9532: Extend pca9532 device tree support

2017-02-09 Thread Felix Brack
Hello Jacek, On 08.02.2017 20:42, Jacek Anaszewski wrote: > Hi Felix, > > On 02/08/2017 05:12 PM, Felix Brack wrote: >> Hello Jacek, >> >> On 07.02.2017 21:45, Jacek Anaszewski wrote: >>> Hi Felix, >>> >>> Thanks for the patch. >>> >>> On 02/07/2017 07:11 PM, Felix Brack wrote: This patch ex

Re: [PATCH v3 09/14] mm: thp: check pmd migration entry in common path

2017-02-09 Thread Naoya Horiguchi
On Sun, Feb 05, 2017 at 11:12:47AM -0500, Zi Yan wrote: > From: Naoya Horiguchi > > If one of callers of page migration starts to handle thp, > memory management code start to see pmd migration entry, so we need > to prepare for it before enabling. This patch changes various code > point which ch

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Greg Kroah-Hartman
On Thu, Feb 09, 2017 at 02:04:32AM -0700, Alden Tondettar wrote: > On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > > In short, the situation is: > > > > > > A) No usable hardware RNG or arch_get_random() (

[BUG] port(belong to a lacp aggregate group)cannot be unselected while the connected port failed

2017-02-09 Thread zhou zhengwu
Hi [1] Testing OS: SUSE 11SP3( kernel version 3.0.93) [2]Problem description: ServerA [bond] --- [bond] ServerB Two servers are connected with bonding interfaces LACP is enabled. Firstly, it works well. Then, one port (for example, port B) in serverB failed, it can send but

Re: Cherryview wake up events

2017-02-09 Thread Johannes Stezenbach
On Thu, Feb 02, 2017 at 05:58:26PM +0200, Mika Westerberg wrote: > On Thu, Feb 02, 2017 at 04:42:43PM +0100, Johannes Stezenbach wrote: > > On Thu, Feb 02, 2017 at 05:02:12PM +0200, Mika Westerberg wrote: > > > Is the model Asus E200HA? Something like this (sorry the information is > > > in Finnish

[PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
From: Kejian Yan This patch fixes the device being used to DMA map skb->data. Erroneous device assignment causes the crash when SMMU is enabled. This happens during TX since buffer gets DMA mapped with device correspondign to net_device and gets unmapped using the device related to DSAF. Signed-

[PATCH v2 7/9] arm,arm64,drivers: reduce scope of cap_parsing_failed

2017-02-09 Thread Juri Lelli
Reduce the scope of cap_parsing_failed (making it static in drivers/base/arch_topology.c) by slightly changing {arm,arm64} DT parsing code. For arm checking for !cap_parsing_failed before calling normalize_ cpu_capacity() is superfluous, as returning an error from parse_ cpu_capacity() (above) mea

Re: [PATCH] random: Don't overwrite CRNG state in crng_initialize()

2017-02-09 Thread Stephan Müller
Am Donnerstag, 9. Februar 2017, 02:04:32 CET schrieb Alden Tondettar: Hi Alden, > On Thu, Feb 09, 2017 at 07:47:25AM +0100, Greg Kroah-Hartman wrote: > > On Wed, Feb 08, 2017 at 08:31:26PM -0700, Alden Tondettar wrote: > > > In short, the situation is: > > > > > > A) No usable hardware RNG or ar

[PATCH v2 5/9] arm64: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-02-09 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Will Deacon Cc: Catalin Marinas Reported-and-suggested-by: Sudeep Holla Fixes: be8f185d8af4 ('arm64: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- a

[PATCH v2 8/9] arm,arm64,drivers: move externs in a new header file

2017-02-09 Thread Juri Lelli
Create a new header file (include/linux/arch_topology.h) and put there declarations of interfaces used by arm, arm64 and drivers code. Signed-off-by: Juri Lelli --- arch/arm/kernel/topology.c| 7 +-- arch/arm64/kernel/topology.c | 4 +--- drivers/base/arch_topology.c | 1 + include/

[PATCH v2 9/9] arm,arm64,drivers: add a prefix to drivers arch_topology interfaces

2017-02-09 Thread Juri Lelli
Now that some functions that deal with arch topology information live under drivers, there is a clash of naming that might create confusion. Tidy things up by creating a drivers namespace for interfaces used by arch code; achieve this by prepending a 'atd_' (arch topology driver) prefix to driver

[PATCH v2 6/9] arm, arm64: factorize common cpu capacity default code

2017-02-09 Thread Juri Lelli
arm and arm64 share lot of code relative to parsing CPU capacity information from DT, using that information for appropriate scaling and exposing a sysfs interface for chaging such values at runtime. Factorize such code in a common place (driver/base/arch_topology.c) in preparation for further add

Re: [PATCH 04/14] RDMA/cxgb4: Use common error handling code in recover_queues()

2017-02-09 Thread Johannes Thumshirn
On 02/08/2017 10:14 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Wed, 8 Feb 2017 15:51:58 +0100 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > Signed-off-by: Markus Elfring > --- > drivers/infiniband/hw/cxgb4/dev

Re: [PATCH v2 2/5] async_tx: Handle DMA devices having support for fewer PQ coefficients

2017-02-09 Thread Anup Patel
On Wed, Feb 8, 2017 at 9:54 PM, Dan Williams wrote: > On Wed, Feb 8, 2017 at 12:57 AM, Anup Patel wrote: >> On Tue, Feb 7, 2017 at 11:46 PM, Dan Williams >> wrote: >>> On Tue, Feb 7, 2017 at 1:02 AM, Anup Patel wrote: On Tue, Feb 7, 2017 at 1:57 PM, Dan Williams wrote: > On Tue

[PATCH v2] Btrfs: add another missing end_page_writeback on submit_extent_page failure

2017-02-09 Thread Takafumi Kubota
If btrfs_bio_alloc fails in submit_extent_page, submit_extent_page returns without clearing the writeback bit of the failed page. __extent_writepage_io, that is a caller of submit_extent_page, does not clear the remaining writeback bit anywhere. As a result, this will cause the hang at filemap_fda

Re: [PATCH] Revert "hwrng: core - zeroize buffers with random data"

2017-02-09 Thread Stephan Müller
Am Mittwoch, 8. Februar 2017, 17:57:23 CET schrieb Linus Torvalds: Hi Linus, > Stephan, Herbert? The zeroes in /dev/hwrng output are obviously > complete crap, so there's something badly wrong somewhere. > > The locking, for example, is completely buggered. There's even a > comment about it, but

drivers: usb: dwc3: A question...

2017-02-09 Thread Gustavo A. R. Silva
Hello everybody, I ran into the following piece of code at drivers/usb/dwc3/dwc3-omap.c:218 (linux-next) 218static void dwc3_omap_set_mailbox(struct dwc3_omap *omap, 219enum omap_dwc3_vbus_id_status status) 220{ 221int ret; 222u32 val; 223 224switch (st

[PATCH v6 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-09 Thread Baoyou Xie
This patch adds i2c controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 + drivers/i2c/busses/i2c-zx2967.c | 676 3 files changed,

Re: [PATCH] mm, slab: rename kmalloc-node cache to kmalloc-

2017-02-09 Thread Vlastimil Babka
On 02/08/2017 10:54 PM, Andrew Morton wrote: > On Wed, 8 Feb 2017 10:12:13 +0100 Vlastimil Babka wrote: > >> Thanks for the fix. >> >> I was going to implement Christoph's suggestion and export the whole >> structure >> in mm/slab.h, but gcc was complaining that I'm redefining it, until I >> c

Re: tip: demise of tsk_cpus_allowed() and tsk_nr_cpus_allowed()

2017-02-09 Thread Thomas Gleixner
On Thu, 9 Feb 2017, Ingo Molnar wrote: > And -rt would do something like this in migration_disable()/enable(): > > t->cpus_ptr = &cpumask_of(task_cpu(p)); > t->nr_cpus = 1; > > ... > > t->cpus_ptr = &t->cpus_mask; > t->nr_cpus = cpumask_weight(t->cpus_mask); > > I

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Mars Cheng
On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: > On 06/02/17 12:15, Mars Cheng wrote: > > Originally driver only supports one base. However, MT6797 has > > more than one bases to configure interrupt polarity. To support > > possible design change, here comes a solution to use arbitrary > >

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread YUAN Linyu
> -Original Message- > From: netdev-ow...@vger.kernel.org [mailto:netdev-ow...@vger.kernel.org] > On Behalf Of Salil Mehta > Sent: Thursday, February 09, 2017 5:24 PM > To: da...@davemloft.net > Cc: salil.me...@huawei.com; yisen.zhu...@huawei.com; > mehta.salil@gmail.com; net...@vger.

Re: [PATCH 1/3] mm: Define coherent device memory (CDM) node

2017-02-09 Thread Anshuman Khandual
On 02/08/2017 07:31 PM, Anshuman Khandual wrote: > There are certain devices like specialized accelerator, GPU cards, network > cards, FPGA cards etc which might contain onboard memory which is coherent > along with the existing system RAM while being accessed either from the CPU > or from the devi

linux mkiss.c panic: fix

2017-02-09 Thread Thomas Osterried
Hello, linux mkiss driver could cause a panic. This patch fixes this issue: Signed-off-by: Thomas Osterried mkiss kernel panic fix: Correct device variables guarantees proper skb room. --- mkiss.c.orig2015-11-18 11:08:46.0 +0100 +++ mkiss.c 2016-02-06 18:04:05.0 +

[PATCH v6 1/3] dt: bindings: add documentation for zx2967 family i2c controller

2017-02-09 Thread Baoyou Xie
This patch adds dt-binding documentation for zx2967 family i2c controller. Signed-off-by: Baoyou Xie Acked-by: Rob Herring --- .../devicetree/bindings/i2c/i2c-zx2967.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/i

[PATCH v2 4/9] arm: remove wrong CONFIG_PROC_SYSCTL ifdef

2017-02-09 Thread Juri Lelli
The sysfs cpu_capacity entry for each CPU has nothing to do with PROC_FS, nor it's in /proc/sys path. Remove such ifdef. Cc: Russell King Reported-and-suggested-by: Sudeep Holla Fixes: 7e5930aaef5d ('ARM: 8622/3: add sysfs cpu_capacity attribute') Signed-off-by: Juri Lelli --- arch/arm/kernel

[PATCH v2 2/9] Documentation/ABI: add information about cpu_capacity

2017-02-09 Thread Juri Lelli
/sys/devices/system/cpu/cpu#/cpu_capacity describe information about CPUs heterogeneity (ref. to Documentation/devicetree/bindings/arm/ cpu-capacity.txt). Add such description. Signed-off-by: Juri Lelli --- Documentation/ABI/testing/sysfs-devices-system-cpu | 7 +++ 1 file changed, 7 insert

[PATCH v2 0/9] Fix issues and factorize arm/arm64 capacity information code

2017-02-09 Thread Juri Lelli
Hi, arm and arm64 topology.c share a lot of code related to parsing of capacity information. This is v2 of a solution [1] (based on Will's, Catalin's and Mark's off-line suggestions) to move such common code in a single place: drivers/base/arch_topology.c (by creating such file and conditionally c

[PATCH v6 2/3] MAINTAINERS: add zx2967 i2c controller driver to ARM ZTE architecture

2017-02-09 Thread Baoyou Xie
Add the zx2967 i2c controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index e63063b..313fab5 100644 --- a/MAINTAINERS +++ b

[PATCH v2 1/9] Documentation: arm: fix wrong reference number in DT definition

2017-02-09 Thread Juri Lelli
Reference to cpu capacity binding has a wrong number. Fix it. Reported-by: Lorenzo Pieralisi Signed-off-by: Juri Lelli Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/cpus.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindi

[PATCH v2 3/9] arm: fix return value of parse_cpu_capacity

2017-02-09 Thread Juri Lelli
parse_cpu_capacity() has to return 0 on failure, but it currently returns 1 instead if raw_capacity kcalloc failed. Fix it by removing the negation of the return value. Cc: Russell King Reported-by: Morten Rasmussen Fixes: 06073ee26775 ('ARM: 8621/3: parse cpu capacity-dmips-mhz from DT') Signe

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Marc Zyngier
On 09/02/17 09:31, Mars Cheng wrote: > On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: >> On 06/02/17 12:15, Mars Cheng wrote: >>> Originally driver only supports one base. However, MT6797 has >>> more than one bases to configure interrupt polarity. To support >>> possible design change, her

Re: [PATCH v3 21/24] media: imx: Add MIPI CSI-2 Receiver subdev driver

2017-02-09 Thread Philipp Zabel
On Wed, 2017-02-08 at 15:23 -0800, Steve Longerbeam wrote: [...] > >> + > >> +static int imxcsi2_get_fmt(struct v4l2_subdev *sd, > >> + struct v4l2_subdev_pad_config *cfg, > >> + struct v4l2_subdev_format *sdformat) > >> +{ > >> + struct imxcsi2_dev *csi2 =

Re: Cherryview wake up events

2017-02-09 Thread Mika Westerberg
On Thu, Feb 09, 2017 at 10:24:26AM +0100, Johannes Stezenbach wrote: > On Thu, Feb 02, 2017 at 05:58:26PM +0200, Mika Westerberg wrote: > > On Thu, Feb 02, 2017 at 04:42:43PM +0100, Johannes Stezenbach wrote: > > > On Thu, Feb 02, 2017 at 05:02:12PM +0200, Mika Westerberg wrote: > > > > Is the mode

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
> -Original Message- > From: YUAN Linyu [mailto:linyu.y...@alcatel-sbell.com.cn] > Sent: Thursday, February 09, 2017 9:36 AM > To: Salil Mehta; da...@davemloft.net > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm; > Yank

Re: [V2] android: binder: use VM_ALLOC to get vm area

2017-02-09 Thread Ganesh Mahendran
A gentle ping. Thanks. 2016-11-15 21:18 GMT+08:00 Ganesh Mahendran : > Hi, Greg > > 2016-11-15 18:18 GMT+08:00 Greg KH : >> On Tue, Nov 15, 2016 at 05:55:39PM +0800, Ganesh Mahendran wrote: >>> VM_IOREMAP is used to access hardware through a mechanism called >>> I/O mapped memory. Android binder

Re: [PATCH v7 2/4] dmaengine: Forward slave device pointer to of_xlate callback

2017-02-09 Thread Marek Szyprowski
Hi Vinod, On 2017-02-09 05:11, Vinod Koul wrote: On Thu, Jan 26, 2017 at 03:43:05PM +0100, Marek Szyprowski wrote: On 2017-01-25 14:12, Lars-Peter Clausen wrote: On 01/25/2017 11:28 AM, Marek Szyprowski wrote: Add pointer to slave device to of_dma_xlate to let DMA engine driver to know which

Re: [PATCH v2 02/10] irqchip: mtk-sysirq: extend intpol base to arbitrary number

2017-02-09 Thread Mars Cheng
On Thu, 2017-02-09 at 09:43 +, Marc Zyngier wrote: > On 09/02/17 09:31, Mars Cheng wrote: > > On Thu, 2017-02-09 at 09:03 +, Marc Zyngier wrote: > >> On 06/02/17 12:15, Mars Cheng wrote: > >>> Originally driver only supports one base. However, MT6797 has > >>> more than one bases to configu

DRM range manager selftest run time

2017-02-09 Thread Geert Uytterhoeven
Hi Chris, Dave, Recently, I started seeing ca. 2 minute delays during boot-up on Renesas R-Car Gen2 boards. It turned out the DRM range manager selftests started taking quite some time. With debug output, I get: [2.310472] drm_mm: Testing DRM range manger (struct drm_mm), with random_seed=0x

[PATCH v2] omapfb: dss: Handle return error in dss_init_ports.

2017-02-09 Thread Arvind Yadav
Here, dss_init_ports is not handling return error form dpi_init_port and sdi_init_port. Now dss_init_ports is returning always 0. And it's making below code as a dead code. static int dss_bind(struct device *dev) { . . r = dss_init_ports(pdev); //dss_init_ports will return always 0 if (r)/

Re: [RFC][PATCH] treewide: Move set_memory_* functions away from cacheflush.h

2017-02-09 Thread Heiko Carstens
On Tue, Feb 07, 2017 at 01:10:16PM -0800, Laura Abbott wrote: > The set_memory_* APIs came out of a desire to have a better way to > change memory attributes. Many of these attributes were linked to cache > functionality so the prototypes were put in cacheflush.h. These days, > the APIs have grown

drivers: usb: musb: question about missing break in switch

2017-02-09 Thread Gustavo A. R. Silva
Hello everybody, I ran into the following piece of code at drivers/usb/musb/musb_core.c:1854 (linux-next) 1854/* 1855 * Check the musb devctl session bit to determine if we want to 1856 * allow PM runtime for the device. In general, we want to keep things 1857 * active when the session bit is

Re: [PATCH RESEND v7 2/2] Add support for OV5647 sensor.

2017-02-09 Thread Sakari Ailus
Hi Ramiro, On Wed, Feb 08, 2017 at 09:56:12AM +, Ramiro Oliveira wrote: > Hi Sakari > > On 2/7/2017 5:31 PM, Sakari Ailus wrote: > > Hi Ramiro, > > > > On Mon, Feb 06, 2017 at 11:38:28AM +, Ramiro Oliveira wrote: > > ... > +ret = ov5647_write_array(sd, ov5647_640x480, >

Re: net: SOFTIRQ-safe -> SOFTIRQ-unsafe lock order detected in skb_array_produce

2017-02-09 Thread Jason Wang
- Original Message - > Hello, > > I've got the following report while running syzkaller fuzzer on mmotm > (git://git.kernel.org/pub/scm/linux/kernel/git/mhocko/mm.git) > remotes/mmotm/auto-latest ee4ba7533626ba7bf2f8b992266467ac9fdc045e: > [...] > > other info that might help us debu

Re: [PATCH] omapfb: dss: Handle return error in dss_init_ports.

2017-02-09 Thread Arvind Yadav
Hi, Yes, We will have to handle cleanup of partially initialized ports. As per your suggestion, I have done the changes. Thanks -Arvind On Wednesday 08 February 2017 07:51 PM, Bartlomiej Zolnierkiewicz wrote: On Wednesday, February 08, 2017 11:25:47 AM Bartlomiej Zolnierkiewicz wrote: Hi, On

Re: [PATCH] perf/core: remove useless cast when comparing

2017-02-09 Thread Peter Zijlstra
On Thu, Feb 09, 2017 at 04:25:46PM +0800, Mars Cheng wrote: > since nr_cpu_ids and cpu are both int, remove the casting Please as to learn C before playing. Consider negative numbers.

Re: [PATCH RESEND v7 2/2] Add support for OV5647 sensor.

2017-02-09 Thread Ramiro Oliveira
Hi Sakari On 2/9/2017 10:02 AM, Sakari Ailus wrote: > Hi Ramiro, > > On Wed, Feb 08, 2017 at 09:56:12AM +, Ramiro Oliveira wrote: >> Hi Sakari >> >> On 2/7/2017 5:31 PM, Sakari Ailus wrote: >>> Hi Ramiro, >>> >>> On Mon, Feb 06, 2017 at 11:38:28AM +, Ramiro Oliveira wrote: >>> ... >>

Re: [RFC,v2 3/3] sched: ignore task_h_load for CPU_NEWLY_IDLE

2017-02-09 Thread Uladzislau Rezki
> > On Wed, 2017-02-08 at 09:43 +0100, Uladzislau Rezki wrote: > > From: Uladzislau 2 Rezki > > > > A load balancer calculates imbalance factor for particular shed > ^sched Will fix that. > > domain and tries to steal up the prescribed

Re: [PATCH v2 1/2] fork: free vmapped stacks in cache when cpus are offline

2017-02-09 Thread kbuild test robot
-ci/linux/commits/Hoeun-Ryu/fork-free-vmapped-stacks-in-cache-when-cpus-are-offline/20170209-124143 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h

Re: [V2] android: binder: use VM_ALLOC to get vm area

2017-02-09 Thread Greg KH
On Thu, Feb 09, 2017 at 05:54:03PM +0800, Ganesh Mahendran wrote: > A gentle ping. I don't see a patch here that can be accepted, what are you asking for a response from? confused, greg k-h

Quick Loans

2017-02-09 Thread Service Loans
Apply for a loan at 3% reply to this Email for more Info

RE: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Salil Mehta
> -Original Message- > From: Salil Mehta > Sent: Thursday, February 09, 2017 9:48 AM > To: 'YUAN Linyu'; da...@davemloft.net > Cc: Zhuangyuzeng (Yisen); mehta.salil@gmail.com; > net...@vger.kernel.org; linux-kernel@vger.kernel.org; Linuxarm; > Yankejian (Hackim Yim) > Subject: RE: [PATC

Re: [PATCH net] net: hns: Fix the device being used for dma mapping during TX

2017-02-09 Thread Lino Sanfilippo
Hi, > From: Kejian Yan > > This patch fixes the device being used to DMA map skb->data. > Erroneous device assignment causes the crash when SMMU is enabled. > This happens during TX since buffer gets DMA mapped with device > correspondign to net_device and gets unmapped using the device > relate

Re: [PATCH v4 13/15] livepatch: change to a per-task consistency model

2017-02-09 Thread Petr Mladek
On Wed 2017-02-08 10:46:36, Josh Poimboeuf wrote: > On Wed, Feb 08, 2017 at 04:47:50PM +0100, Petr Mladek wrote: > > > Notice in this case that klp_target_state is KLP_PATCHED. Which means > > > that klp_complete_transition() would not call synchronize_rcu() at the > > > right time, nor would it c

Re: [kernel-hardening] Re: [PATCH 4/4] refcount: Report failures through CHECK_DATA_CORRUPTION

2017-02-09 Thread Peter Zijlstra
On Wed, Feb 08, 2017 at 01:20:26PM -0800, Kees Cook wrote: > Ooooh, that is intense. And the trampolines (EX_REG_HANDLERs) are all > just there to catch whatever register gcc decides to stuff the value > into? *cover face* Sure, okay. :) Right, they shouldn't be big functions, but barring whole p

Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-02-09 Thread Richard Genoud
2017-01-27 8:29 GMT+01:00 Richard Genoud : > On 25/01/2017 15:17, Krzysztof Kozlowski wrote: >> On Wed, Jan 25, 2017 at 3:48 PM, Marek Szyprowski >> wrote: >>> Hi Krzysztof, >>> >>> On 2017-01-25 08:55, Krzysztof Kozlowski wrote: On Wed, Jan 25, 2017 at 7:51 AM, Anand Moon wrote: >

[PATCH v2] staging: rtl8712: rtl8712: fixed missing conversion to le32

2017-02-09 Thread Carlos Palminha
Fixed missing conversion to le32, detected by sparse (invalid assignment from int to __le32) Signed-off-by: Carlos Palminha --- v1->v2: missed sob line (too late in the night...) drivers/staging/rtl8712/rtl8712_xmit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/s

[PATCH] net: micrel: ks8851_mll: use new api ethtool_{get|set}_link_ksettings

2017-02-09 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. As I don't have the hardware, I'd be very pleased if someone may test this patch. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/micrel/ks8851_mll.c | 14 -- 1 files

  1   2   3   4   5   6   7   8   9   10   >