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 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 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 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 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 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: 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 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: [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: 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: 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: [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

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] 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

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.

[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: [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

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: [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 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 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

[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 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

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

<    5   6   7   8   9   10