Re: [PATCH] xfs: fix signed integer overflow

2016-09-12 Thread Dave Chinner
On Fri, Sep 09, 2016 at 03:16:48PM +0800, Xie XiuQi wrote: > On 2016/9/9 14:42, Joe Perches wrote: > > On Fri, 2016-09-09 at 14:38 +0800, Xie XiuQi wrote: > >> Use 1U for unsigned long, or we'll meet a overflow issue with UBSAN. > > > > trivia: misleading commit message > > > > 1U is for unsigned

Re: [PATCH 1/2] fs: use mapping_set_error instead of opencoded set_bit

2016-09-12 Thread Michal Hocko
On Mon 12-09-16 15:18:23, Andrew Morton wrote: > On Mon, 12 Sep 2016 15:11:46 -0700 Andrew Morton > wrote: > > > > @@ -409,7 +408,7 @@ static int afs_write_back_from_locked_page(struct > > > afs_writeback *wb, > > > case -ENOMEDIUM: > > > case -ENXIO: > > >

Re: [PATCH for-next 10/20] IB/hns: Modify the init of iboe lock

2016-09-12 Thread Leon Romanovsky
On Fri, Sep 09, 2016 at 06:30:41PM +0800, Salil Mehta wrote: > From: Lijun Ou > > This lock will be used in query port interface, and will be called > while IB device was registered to OFED frame. So, the lock of iboe > must be initiated before IB device was registered. Sorry, what did you mean b

Re: [PATCH v7] i2c: imx: make bus recovery through pinctrl optional

2016-09-12 Thread Uwe Kleine-König
On Mon, Sep 12, 2016 at 05:22:30PM -0500, Li Yang wrote: > Since commit 1c4b6c3bcf30 ("i2c: imx: implement bus recovery") the > driver starts to use gpio/pinctrl to support optional bus recovery > feature. But pinctrl is not always usable. There are platforms such > as ls1021a and ls1043a that do

Re: [PATCH] s390: cleanup with list_first_entry_or_null()

2016-09-12 Thread Heiko Carstens
On Tue, Sep 13, 2016 at 03:10:39AM +0900, Masahiro Yamada wrote: > The combo of list_empty() check and return list_first_entry() > can be replaced with list_first_entry_or_null(). > > Signed-off-by: Masahiro Yamada > --- > > arch/s390/kernel/crash_dump.c | 5 ++--- > 1 file changed, 2 insertion

Re: [PATCH 1/2] ubsan: allow to disable the null sanitizer

2016-09-12 Thread Heiko Carstens
On Mon, Sep 12, 2016 at 02:37:19PM +0200, Christian Borntraeger wrote: > Some architectures use a hardware defined struct at address zero. > Checking for a null pointer will result in many ubsan reports. > Let users disable the null sanitizer. > > Signed-off-by: Christian Borntraeger > --- > lib

Re: Kernel panic - encryption/decryption failed when open file on Arm64

2016-09-12 Thread Herbert Xu
On Mon, Sep 12, 2016 at 06:40:15PM +0100, Ard Biesheuvel wrote: > > So to me, it seems like we should be taking the blkcipher_next_slow() > path, which does a kmalloc() and bails with -ENOMEM if that fails. Indeed. This was broken a long time ago. It does seem to be fixed in the new skcipher_wal

Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range

2016-09-12 Thread Christoph Hellwig
On Sun, Sep 11, 2016 at 10:31:35AM -0700, Dan Williams wrote: > As evidenced by this bug report [1], userspace libraries are interested > in whether a mapping is DAX mapped, i.e. no intervening page cache. > Rather than using the ambiguous VM_MIXEDMAP flag in smaps, provide an > explicit "is dax" i

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-12 Thread Greg Kroah-Hartman
On Mon, Sep 12, 2016 at 08:44:09PM -0700, Arve Hjønnevåg wrote: > On Sat, Sep 10, 2016 at 10:28 AM, Greg Kroah-Hartman > wrote: > > On Sat, Sep 10, 2016 at 06:37:29PM +0200, Thomas Gleixner wrote: > >> On Sat, 10 Sep 2016, Peter Zijlstra wrote: > >> > >> > On Sat, Sep 10, 2016 at 09:16:59AM -0700,

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-12 Thread Huang, Ying
Minchan Kim writes: > Hi Huang, > > On Fri, Sep 09, 2016 at 01:35:12PM -0700, Huang, Ying wrote: > > < snip > > >> >> Recently, the performance of the storage devices improved so fast that >> >> we cannot saturate the disk bandwidth when do page swap out even on a >> >> high-end server machine.

[PATCH] sched: Do not use smp_processor_id() with preempt enabled in smpboot_thread_fn

2016-09-12 Thread Con Kolivas
We should not be using smp_processor_id() with preempt enabled. Bug identified and fix provided by Alfred Chen. Signed-off-by: Con Kolivas --- kernel/smpboot.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Index: linux-4.7.3-ck3/kernel/smpboot.c

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
On 13.09.2016 00:24, Duc Dang wrote: On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place pci

Re: [PATCH 1/3] tools include: Add uapi mman.h for each architecture

2016-09-12 Thread Wangnan (F)
On 2016/9/13 5:15, Arnaldo Carvalho de Melo wrote: Em Mon, Sep 12, 2016 at 04:07:42PM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Sep 12, 2016 at 12:54:29PM +, Wang Nan escreveu: Some mmap related macros have different values for different architectures. This patch introduces uapi m

Re: [PATCH v2 2/6] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.

2016-09-12 Thread Gerd Hoffmann
Hi, > > > + emmc_gpio48: emmc_gpio48 { > > > + brcm,pins = <48 49 50 51 52 53>; > > > + brcm,function = ; > > > + }; > > > > Sorry, i didn't notice this before. The naming of these groups suggest 3 > > muxes > > fo

Re: [PATCH for-next 16/20] IB/hns: Validate mtu when modified qp

2016-09-12 Thread Leon Romanovsky
On Fri, Sep 09, 2016 at 06:30:47PM +0800, Salil Mehta wrote: > From: Lijun Ou > > The mtu should be validated when modify qp,so we check it. > > Signed-off-by: Lijun Ou > Signed-off-by: Peter Chen > Reviewed-by: Wei Hu (Xavier) > Signed-off-by: Salil Mehta > --- > drivers/infiniband/hw/hns/h

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
Hi Liu, On 13.09.2016 04:36, Dongdong Liu wrote: Hi Tomasz 在 2016/9/10 3:24, Tomasz Nowicki 写道: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place

Re: [PATCH V2 2/4] ARM64 LPC: LPC driver implementation on Hip06

2016-09-12 Thread zhichang
On 2016年09月08日 18:00, Arnd Bergmann wrote: > On Thursday, September 8, 2016 4:06:01 PM CEST zhichang.yuan wrote: >>> +struct lpc_io_ops { +unsigned int periosz; +int (*lpc_iord)(struct hisilpc_dev *pdev, struct lpc_cycle_para *para, +unsigne

Re: [RFC 3/4] mm, oom: do not rely on TIF_MEMDIE for exit_oom_victim

2016-09-12 Thread Tetsuo Handa
Michal Hocko wrote: > On Sat 10-09-16 21:55:49, Tetsuo Handa wrote: > > Tetsuo Handa wrote: > > > If you worry about tasks which are sitting on a memory which is not > > > reclaimable by the oom reaper, why you don't worry about tasks which > > > share mm and do not share signal (i.e. clone(CLONE_V

Re: [PATCH v2 2/6] ARM: dts: bcm283x: Define standard pinctrl groups in the gpio node.

2016-09-12 Thread Gerd Hoffmann
On Mo, 2016-09-12 at 20:19 +0200, Stefan Wahren wrote: > Hi Gerd, > > > Gerd Hoffmann hat am 12. September 2016 um 10:22 > > geschrieben: > > > > > > From: Eric Anholt > > > > The BCM2835-ARM-Peripherals.pdf documentation specifies what the > > function selects do for the pins, and there are

[no subject]

2016-09-12 Thread системы администратор
внимания; Ваши сообщения превысил лимит памяти, который составляет 5 Гб, определенных администратором, который в настоящее время работает на 10.9GB, Вы не сможете отправить или получить новую почту, пока вы повторно не проверить ваш почтовый ящик почты. Чтобы восстановить работоспособность Ваше

Re: [PATCH 2/3] ARM64: dts: amlogic: Add basic support for Amlogic S905X

2016-09-12 Thread Carlo Caione
On Mon, Sep 12, 2016 at 11:43 PM, Andreas Färber wrote: [cut] > I'm not arguing over the file name, where it perfectly makes sense to > have a meson-gxl- prefix (already discussed), just about the compatible > string where we don't have "amlogic,meson-gxl-s905x-p231" either because > it is comple

Re: [PATCH -v3 00/10] THP swap: Delay splitting THP during swapping out

2016-09-12 Thread Minchan Kim
Hi Huang, On Fri, Sep 09, 2016 at 01:35:12PM -0700, Huang, Ying wrote: < snip > > >> Recently, the performance of the storage devices improved so fast that > >> we cannot saturate the disk bandwidth when do page swap out even on a > >> high-end server machine. Because the performance of the sto

Re: [PATCH V2 1/4] ARM64 LPC: Indirect ISA port IO introduced

2016-09-12 Thread zhichang
Hi, Arnd, On 2016年09月08日 21:23, Arnd Bergmann wrote: > On Thursday, September 8, 2016 3:45:21 PM CEST zhichang.yuan wrote: >> On 2016/9/7 23:06, Arnd Bergmann wrote: >>> On Wednesday, September 7, 2016 9:33:50 PM CEST Zhichang Yuan wrote: +#ifdef CONFIG_ARM64_INDIRECT_PIO + +typede

[PATCH V3] net-next: dsa: add FIB support

2016-09-12 Thread John Crispin
Add SWITCHDEV_OBJ_ID_IPV4_FIB support to the DSA layer. Signed-off-by: John Crispin --- Changes in V2 * rebase on latest net-next to fix compile errors Changes in V3 * fix subject prefix. this needs to go into the next tree Documentation/networking/dsa/dsa.txt | 18 +++ include/n

Re: [PATCH 1/1] staging: slicoss: slicoss.c: fix different address space sparse warnings

2016-09-12 Thread Greg KH
On Mon, Sep 12, 2016 at 08:23:04PM -0700, Peng Sun wrote: > Signed-off-by: Peng Sun > --- > drivers/staging/slicoss/slicoss.c | 125 > +++--- > 1 file changed, 91 insertions(+), 34 deletions(-) Hi, This is the friendly patch-bot of Greg Kroah-Hartman. You have

[PATCH V2] net: dsa: add FIB support

2016-09-12 Thread John Crispin
Add SWITCHDEV_OBJ_ID_IPV4_FIB support to the DSA layer. Signed-off-by: John Crispin --- Changes in V2 * rebase on latest net-next to fix compile errors Documentation/networking/dsa/dsa.txt | 18 +++ include/net/dsa.h| 13 +++ net/dsa/slave.c

Re: Panic when insmod nfit_test.ko

2016-09-12 Thread ryan chen
On Tue, Sep 13, 2016 at 10:50 AM, Dan Williams wrote: > On Mon, Sep 12, 2016 at 7:30 PM, ryan chen wrote: >> Hi all, >> Recently I'm trying to check the testing suite of nfit_test for nvdimm >> on 4.8-rc5, and system got panic once insmod nfit_test.ko , >> I've checked the RIP, I guess it panics

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Tomasz Nowicki
On 13.09.2016 00:47, Duc Dang wrote: On Mon, Sep 12, 2016 at 3:24 PM, Duc Dang wrote: On Fri, Sep 9, 2016 at 12:24 PM, Tomasz Nowicki wrote: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set

[PATCH V2] checkpatch: Add --strict test for precedence challenged macro arguments

2016-09-12 Thread Joe Perches
Add a test for macro arguents that have a non-comma leading or trailing operator where the argument isn't parenthesized to avoid possible precedence issues. Signed-off-by: Joe Perches --- V2: Fix silly comment typo scripts/checkpatch.pl | 9 - 1 file changed, 8 insertions(+), 1 deletio

Re: [PATCH] usb: cleanup with list_first_entry_or_null()

2016-09-12 Thread Felipe Balbi
Hi Masahiro, Masahiro Yamada writes: > The combo of list_empty() check and return list_first_entry() > can be replaced with list_first_entry_or_null(). > > Signed-off-by: Masahiro Yamada > --- Care to split this into two patches (one for dwc2 and one for dwc3)? thanks -- balbi signature.a

Re: [PATCH 2/2] usb: dwc3: Added a property to set GFLADJ register

2016-09-12 Thread Felipe Balbi
Hi, Rob Herring writes: >> Synopsys HW setup (HAPS DX and phy board) requires a preset to this >> register to improve interoperablitity. For example, the value for >> GFLADJ_REFCLK_LPM_SEL should be set to 0 with ref_clk period of 50. > > This sounds like it should be handled in the driver. Is i

[PATCH 0/2] checkpatch: Add --strict macro argument tests

2016-09-12 Thread Joe Perches
This is rather better than the first submission. I think this is acceptable and doesn't need to be RFC. Joe Perches (2): checkpatch: Add --strict test for macro argument reuse checkpatch: Add --strict test for precedence challenged macro arguments scripts/checkpatch.pl | 50 +

[PATCH 1/2] checkpatch: Add --strict test for macro argument reuse

2016-09-12 Thread Joe Perches
If a macro argument is used multiple times in the macro definition, the macro argument may have an unexpected side-effect. Add a test (MACRO_ARG_REUSE) for that condition which is only emitted with command-line option --strict. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 43 +

[PATCH 2/2] checkpatch: Add --strict test for precedence challenged macro arguments

2016-09-12 Thread Joe Perches
Add a test for macro arguents that have a non-comma leading or trailing operator where the argument isn't parenthesized to avoid possible precedence issues. Signed-off-by: Joe Perches --- scripts/checkpatch.pl | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/ch

Re: [RFC PATCH 2/3] tracing/syscalls: add handling for compat tasks

2016-09-12 Thread Marcin Nowakowski
Hi Andy, Thanks for your review and the comments, I'll address them in a next iteration. Do you have any other comments on the complete patchset? On 12.09.2016 19:35, Andy Lutomirski wrote: On Sep 9, 2016 1:04 AM, "Marcin Nowakowski" wrote: Extend the syscall tracing subsystem by adding a

Re: DAX mapping detection (was: Re: [PATCH] Fix region lost in /proc/self/smaps)

2016-09-12 Thread Nicholas Piggin
On Mon, 12 Sep 2016 21:06:49 -0700 Dan Williams wrote: > On Mon, Sep 12, 2016 at 6:31 PM, Nicholas Piggin wrote: > > On Mon, 12 Sep 2016 08:01:48 -0700 > [..] > > That said, a noop system call is on the order of 100 cycles nowadays, > > so rushing to implement these APIs without seeing good nu

Re: Question about suspend/resume clock handling in dwc3-of-simple.c

2016-09-12 Thread Felipe Balbi
Hi, Guenter Roeck writes: >> > Should it be clk_disable_unprepare(), or maybe something like the >> > following >> > >> >if (!pm_runtime_status_suspended(dev)) >> >clk_disable_unprepare(); >> >else >> >clk_unprepare(); >> >> I'm not sure how balanced those calls

Re: [PATCH v7 9/9] drm/mediatek: add support for Mediatek SoC MT2701

2016-09-12 Thread CK Hu
Hi, YT: On Mon, 2016-09-12 at 18:16 +0800, YT Shen wrote: > Hi CK, > > On Wed, 2016-09-07 at 13:37 +0800, CK Hu wrote: > > Hi, YT: > > > > On Fri, 2016-09-02 at 19:24 +0800, YT Shen wrote: > > > This patch add support for the Mediatek MT2701 DISP subsystem. > > > There is only one OVL engine in

Re: [PATCH v15 1/5] extcon: Introduce EXTCON_PROP_DISP_HPD property

2016-09-12 Thread Chanwoo Choi
Dear all, On 2016년 09월 10일 11:15, Chris Zhong wrote: > EXTCON_PROP_DISP_HPD is need by display port, if the system has no hpd > interrupt, this property can be used. > > Signed-off-by: Chris Zhong > --- > > Changes in v15: None > Changes in v14: None > Changes in v13: None > Changes in v12: Non

[PATCH v5 1/3] arm/dts: add pcie aer interrupt-name property in the dts

2016-09-12 Thread Po Liu
NXP arm aer interrupt was not MSI/MSI-X/INTx but using interrupt line independently. This patch add a "aer" interrupt-names for aer interrupt. With the interrupt-names "aer", code could probe aer interrupt line for pcie root port, replace the aer interrupt service irq. This patch is intend to fix

[PATCH v5 3/3] pci:aer: add support aer interrupt with none MSI/MSI-X/INTx mode

2016-09-12 Thread Po Liu
On some platforms, root port doesn't support MSI/MSI-X/INTx in RC mode. When chip support the aer interrupt with none MSI/MSI-X/INTx mode, maybe there is interrupt line for aer pme etc. Search the interrupt number in the fdt file. Then fixup the dev->irq with it. Signed-off-by: Po Liu --- changes

[PATCH v5 2/3] arm64/dts: add pcie aer interrupt-name property in the dts

2016-09-12 Thread Po Liu
Some platforms(NXP Layerscape for example) aer interrupt was not MSI/MSI-X/INTx but using interrupt line independently. This patch add a "aer" interrupt-names for aer interrupt. With the interrupt-names "aer", code could probe aer interrupt line for pcie root port, replace the aer interrupt servic

Re: [PATCH 2/3] ARM64: dts: amlogic: Add basic support for Amlogic S905X

2016-09-12 Thread Kevin Hilman
On Mon, Sep 12, 2016 at 2:43 PM, Andreas Färber wrote: > Am 12.09.2016 um 22:43 schrieb Kevin Hilman: >> Carlo Caione writes: >>> On Mon, Sep 12, 2016 at 6:28 PM, Andreas Färber wrote: >>> > +Boards with the Amlogic Meson GXL SoC shall have the following > properties: > + Required

[PATCH] gpio: aspeed: Fix missing licence warning in modpost

2016-09-12 Thread Joel Stanley
Stephen Rothwell wrote: > After merging the gpio tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-aspeed.o > > Introduced by commit > > 361b79119a4b ("gpio: Add Aspeed driver") Fix it by ad

linux-next: Tree for Sep 13

2016-09-12 Thread Stephen Rothwell
Hi all, Changes since 20160912: The v4l-dvb tree lost its build failure. The netfilter-next tree gained a conflict against the net tree. The kbuild tree gained a conflict against Linus' tree and still had its build warnings for PowerPC, for which I reverted a commit. The gpio tree los

Re: [PATCH 1/5] ipc/sem: do not call wake_sem_queue_do() prematurely

2016-09-12 Thread Manfred Spraul
Hi Davidlohr, On 09/12/2016 01:53 PM, Davidlohr Bueso wrote: ... as this call should obviously be paired with its _prepare() counterpart. At least whenever possible, as there is no harm in calling it bogusly as we do now in a few places. I would define the interface differently: WAKE_Q creates

linux-next: build warning after merge of the scsi tree

2016-09-12 Thread Stephen Rothwell
Hi James, After merging the scsi tree, today's linux-next build (powerpc allyesconfig) produced this warning: drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c: In function 'ibmvscsis_rdma': drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.c:3190:20: warning: unused variable 'srp' [-Wunused-variable] struct sr

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2016-09-12 Thread Nicholas Piggin
On Tue, 13 Sep 2016 14:02:57 +1000 Stephen Rothwell wrote: > Hi Michal, > > [For the new cc's, we are discussing the "thin archives" and "link dead > code/data elimination" patches in the kbuild tree.] > > On Tue, 13 Sep 2016 09:39:45 +1000 Stephen Rothwell > wrote: > > > > On Mon, 12 Sep 201

Re: DAX mapping detection (was: Re: [PATCH] Fix region lost in /proc/self/smaps)

2016-09-12 Thread Dan Williams
On Mon, Sep 12, 2016 at 6:31 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 08:01:48 -0700 [..] > That said, a noop system call is on the order of 100 cycles nowadays, > so rushing to implement these APIs without seeing good numbers and > actual users ready to go seems premature. *This* is the r

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Cheng Chao
Peter, thank you. on 09/12/2016 07:41 PM, Peter Zijlstra wrote: > On Mon, Sep 12, 2016 at 01:37:27PM +0200, Peter Zijlstra wrote: >> So what you're saying is that migration_stop_cpu() doesn't work because >> wait_for_completion() dequeues the task. >> >> True I suppose. Not sure I like your soluti

Re: [PATCH] gpio: pca953x: initialize ret to zero to avoid returning garbage

2016-09-12 Thread Phil Reid
On 12/09/2016 21:40, Linus Walleij wrote: On Fri, Sep 9, 2016 at 10:31 AM, Colin King wrote: From: Colin Ian King ret is not initialized so it contains garbage. Ensure garbage is not returned in the case that pdata && pdata->teardown is false by initializing ret to 0. Signed-off-by: Colin

Re: linux-next: manual merge of the kbuild tree with Linus' tree

2016-09-12 Thread Stephen Rothwell
Hi Michal, [For the new cc's, we are discussing the "thin archives" and "link dead code/data elimination" patches in the kbuild tree.] On Tue, 13 Sep 2016 09:39:45 +1000 Stephen Rothwell wrote: > > On Mon, 12 Sep 2016 11:03:08 +0200 Michal Marek wrote: > > > > On 2016-09-12 04:53, Nicholas Pig

Re: [PATCH] crypto: qce: Initialize core src clock @100Mhz

2016-09-12 Thread Bjorn Andersson
On Sat 03 Sep 09:45 PDT 2016, Iaroslav Gridin wrote: > Without that, QCE performance is about 2x less. > > Signed-off-by: Iaroslav Gridin > --- > drivers/crypto/qce/core.c | 18 +- > drivers/crypto/qce/core.h | 2 +- > 2 files changed, 18 insertions(+), 2 deletions(-) > > diff

Re: [PATCH 1/1] staging: slicoss: slicoss.c: fix different address space sparse warnings

2016-09-12 Thread kbuild test robot
Hi Peng, [auto build test ERROR on staging/staging-testing] [also build test ERROR on next-20160912] [cannot apply to v4.8-rc6] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto

Re: Build failure in -next due to 'kbuild: allow archs to select link dead code/data elimination'

2016-09-12 Thread Nicholas Piggin
On Mon, 12 Sep 2016 20:17:30 -0700 Guenter Roeck wrote: > Hi Nicholas, > > On 09/12/2016 07:00 PM, Nicholas Piggin wrote: > > On Mon, 12 Sep 2016 15:24:43 -0700 > > Guenter Roeck wrote: > > > >> Hi, > >> > >> your commit 'kbuild: allow archs to select link dead code/data elimination' > >> is

Re: [PATCH] ARM: dts: msm8974: Add definitions for QCE & cryptobam

2016-09-12 Thread Bjorn Andersson
On Tue 30 Aug 08:37 PDT 2016, Iaroslav Gridin wrote: > From: Voker57 > > Add device tree definitions for Qualcomm Cryptography engine and its BAM > Signed-off-by: Iaroslav Gridin > --- > arch/arm/boot/dts/qcom-msm8974.dtsi | 42 > + > 1 file changed, 42 ins

Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range

2016-09-12 Thread Dan Williams
On Mon, Sep 12, 2016 at 7:16 PM, Nicholas Piggin wrote: > On Mon, 12 Sep 2016 10:29:17 -0700 [..] >> Certainly one of the new request flags can indicate that the vector is >> made up of larger entries. > > Hmm. Changing prototype depending on flags. I thought I was having > a nightmare about ioctl

Re: [PATCH] android: binder: Disable preemption while holding the global binder lock

2016-09-12 Thread Arve Hjønnevåg
On Sat, Sep 10, 2016 at 10:28 AM, Greg Kroah-Hartman wrote: > On Sat, Sep 10, 2016 at 06:37:29PM +0200, Thomas Gleixner wrote: >> On Sat, 10 Sep 2016, Peter Zijlstra wrote: >> >> > On Sat, Sep 10, 2016 at 09:16:59AM -0700, Christoph Hellwig wrote: >> > > On Thu, Sep 08, 2016 at 09:12:50AM -0700, T

Re: [PATCH 00/15] drivers: net: use IS_ENABLED() instead of checking for built-in or module

2016-09-12 Thread David Miller
From: Javier Martinez Canillas Date: Mon, 12 Sep 2016 10:03:31 -0400 > This trivial series is similar to [0] for net/ that you already merged, but > for drivers/net. The patches replaces the open coding to check for a Kconfig > symbol being built-in or module, with IS_ENABLED() macro that does th

RE: [PATCH for-next 02/10] IB/hns: Register add_gid and del_gid for GID Table management

2016-09-12 Thread Salil Mehta
> -Original Message- > From: Leon Romanovsky [mailto:l...@kernel.org] > Sent: Monday, September 12, 2016 1:40 PM > To: Salil Mehta > Cc: dledf...@redhat.com; Huwei (Xavier); oulijun; Zhuangyuzeng (Yisen); > mehta.salil@gmail.com; linux-r...@vger.kernel.org; linux- > ker...@vger.kernel

Re: [PATCH 6/6] mfd: twl-core: Make it explicitly non-modular

2016-09-12 Thread Tony Lindgren
* Paul Gortmaker [160912 07:41]: > The Kconfig currently controlling compilation of this code is: > > drivers/mfd/Kconfig:config TWL4030_CORE > drivers/mfd/Kconfig:bool "TI TWL4030/TWL5030/TWL6030/TPS659x0 Support" > > ...meaning that it currently is not being built as a module by anyone. >

[PATCH 0/1] staging: slicoss: slicoss: fix sparse warnings

2016-09-12 Thread Peng Sun
linux-next next-20160909, commit-id d221eb9f Peng Sun (1): staging: slicoss: slicoss.c: fix different address space sparse warnings drivers/staging/slicoss/slicoss.c | 125 +++--- 1 file changed, 91 insertions(+), 34 deletions(-) -- 2.7.4

[PATCH 1/1] staging: slicoss: slicoss.c: fix different address space sparse warnings

2016-09-12 Thread Peng Sun
Signed-off-by: Peng Sun --- drivers/staging/slicoss/slicoss.c | 125 +++--- 1 file changed, 91 insertions(+), 34 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 21280a3..6996143 100644 --- a/drivers/staging/sl

linux-next: build warning after merge of the gpio tree

2016-09-12 Thread Stephen Rothwell
Hi Linus, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) produced this warning: WARNING: modpost: missing MODULE_LICENSE() in drivers/gpio/gpio-aspeed.o Introduced by commit 361b79119a4b ("gpio: Add Aspeed driver") -- Cheers, Stephen Rothwell

Re: Build failure in -next due to 'kbuild: allow archs to select link dead code/data elimination'

2016-09-12 Thread Guenter Roeck
Hi Nicholas, On 09/12/2016 07:00 PM, Nicholas Piggin wrote: On Mon, 12 Sep 2016 15:24:43 -0700 Guenter Roeck wrote: Hi, your commit 'kbuild: allow archs to select link dead code/data elimination' is causing the following build failure in -next when building score:defconfig. arch/score/kerne

linux-next: manual merge of the gpio tree with the pinctrl tree

2016-09-12 Thread Stephen Rothwell
Hi Linus, Today's linux-next merge of the gpio tree got a conflict in: drivers/gpio/gpio-mxc.c between commit: e188cbf7564f ("gpio: mxc: shift gpio_mxc_init() to subsys_initcall level") from the pinctrl tree and commit: 2c8d6c869feb ("gpio: mxc: drop unused MODULE_ tags from non-modular

Re: [PATCH 4.7 00/59] 4.7.4-stable review

2016-09-12 Thread Guenter Roeck
On 09/12/2016 08:29 AM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.7.4 release. There are 59 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be mad

Re: [PATCH v2] mm, proc: Fix region lost in /proc/self/smaps

2016-09-12 Thread Xiao Guangrong
On 09/13/2016 03:10 AM, Michal Hocko wrote: On Mon 12-09-16 08:01:06, Dave Hansen wrote: On 09/12/2016 05:54 AM, Michal Hocko wrote: In order to fix this bug, we make 'file->version' indicate the end address of current VMA Doesn't this open doors to another weird cases. Say B would be partia

Re: [PATCH 4.4 000/192] 4.4.21-stable review

2016-09-12 Thread Guenter Roeck
On 09/12/2016 09:58 AM, Greg Kroah-Hartman wrote: Many thanks for the majority of these patches to Sasha Levin, who dug them out of Canonical's 4.4 kernel tree. I have no idea why they never sent them in for inclusion on their own :( This is the start of the stable review cycle for the 4.4.21 r

Re: [PATCH v2 05/20] docs-rst: CodingStyle.rst: Convert to ReST markup

2016-09-12 Thread Joe Perches
On Mon, 2016-09-12 at 23:17 -0300, Mauro Carvalho Chehab wrote: > - Fix all chapter identation; > - add c blocks where needed; Assuming this is really useful and people agree with simple conversions of .txt to .rst (and it does have some use), there are a couple funky conversions if (cond

Re: Panic when insmod nfit_test.ko

2016-09-12 Thread Dan Williams
On Mon, Sep 12, 2016 at 7:30 PM, ryan chen wrote: > Hi all, > Recently I'm trying to check the testing suite of nfit_test for nvdimm > on 4.8-rc5, and system got panic once insmod nfit_test.ko , > I've checked the RIP, I guess it panics due to NULL > nvdimm_map pointer, i.e., accessing nvdimm_map-

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

2016-09-12 Thread Jiancheng Xue
Hi all, Sorry. I'll fixed this compiling error in the next version. Regards, Jiancheng On 2016/9/12 21:55, kbuild test robot wrote: > Hi Jiancheng, > > [auto build test ERROR on clk/clk-next] > [also build test ERROR on v4.8-rc6 next-20160912] > [if your patch is applied t

Re: [PATCH v3] stop_machine: Make migration_cpu_stop() does useful works for CONFIG_PREEMPT_NONE

2016-09-12 Thread Cheng Chao
on 09/12/2016 07:03 PM, Oleg Nesterov wrote: > On 09/10, Cheng Chao wrote: >> >> @@ -126,6 +126,17 @@ int stop_one_cpu(unsigned int cpu, cpu_stop_fn_t fn, >> void *arg) >> cpu_stop_init_done(&done, 1); >> if (!cpu_stop_queue_work(cpu, &work)) >> return -ENOENT; >> + >> +#i

Re: [PATCH V6 2/5] PCI/ACPI: Check platform specific ECAM quirks

2016-09-12 Thread Dongdong Liu
Hi Tomasz 在 2016/9/10 3:24, Tomasz Nowicki 写道: Some platforms may not be fully compliant with generic set of PCI config accessors. For these cases we implement the way to overwrite CFG accessors set and configuration space range. In first place pci_mcfg_parse() saves machine's IDs and revision

[RFC][PATCH v1 2/2] libsas: Fix hotplug issue in libsas

2016-09-12 Thread Yijing Wang
Now the libsas hotplug has some issues, Dan Williams report a similar bug here: https://www.mail-archive.com/linux-scsi@vger.kernel.org/msg39187.html The root cause of the issues is we use one workqueue(shost->work_q) to process libsas event, and we divide a hot-on or hot-remove flow to several ev

[RFC][PATCH v1 1/2] libsas: Alloc dynamic work to avoid missing sas events

2016-09-12 Thread Yijing Wang
Now libsas hotplug work is static, LLDD driver queue the hotplug work into shost->work_q. If LLDD driver burst post lots hotplug event to libsas, the hotplug events may pending in the workqueue like shost->workq tail | PHYE_LOSS_OF_SIGNAL | PORTE_BYTES_DMAED | head In this case, if a new PORTE_B

[PATCH v2 10/20] ManagementStyle.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- Convert document name to ReST; - Convert footnotes; - Convert sections to ReST format; - Don't use _foo_, as Sphinx doesn't support underline. Instead, use bold; - While here, remove whitespaces at the end of lines. Signed-off-by: Mauro Carvalho Chehab --- .../development-process/ManagementS

[lkp] [x86/alternatives] 7c14957c0c: INFO: possible circular locking dependency detected ]

2016-09-12 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Rui-Xiang/x86-alternatives-add-missing-mutex-lock-in-alternatives_text_reserved/20160912-152147 commit 7c14957c0c077a9267149a4a0aefebe89f560e12 ("x86/alternatives: add missing mutex lock in,alternatives_text_reserved&

[PATCH v2 03/20] docs-rst: applying-patches.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- use the correct markup to identify each section; - Add some blank lines for Sphinx to properly interpret the markups; - Remove a blank space on some paragraphs; - Fix the verbatim and bold markups; - Cleanup the remaining errors to make Sphinx happy. Signed-off-by: Mauro Carvalho Chehab -

[PATCH v2 04/20] docs-rst: Changes.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- Fix chapter identation inconsistencies; - Convert table to ReST format; - use the right tag for bullets; - Fix bold emphasis; - mark blocks with :: tags; - use verbatim font for files; - make Sphinx happy Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/Changes.rst |

[PATCH v2 01/20] docs-rst: move HOWTO and mentioned documents to a separate dir

2016-09-12 Thread Mauro Carvalho Chehab
In preparation to convert the Kernel development documentation to ReST, move them to a separate dir and rename their extension to RST. Please notice that the main README file was not moved. It probably makes sense to move it too as well, in order to be able to parse it via Sphinx, but this could b

[PATCH v2 05/20] docs-rst: CodingStyle.rst: Convert to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- Fix all chapter identation; - add c blocks where needed; Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/CodingStyle.rst | 253 -- 1 file changed, 187 insertions(+), 66 deletions(-) diff --git a/Documentation/development-process/CodingStyle.rst

[PATCH v2 13/20] stable_kernel_rules.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- use ReST markups for section headers; - add cross-references to the options; - mark code blocks; - a few minor changes to make Sphinx happy. Signed-off-by: Mauro Carvalho Chehab --- .../development-process/stable_kernel_rules.rst| 101 ++--- 1 file changed, 68 insertions(+)

[PATCH v2 18/20] doc: development-process: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
This document is on good shape: all it was needed was to fix the section markups, add a toctree, convert the tables and add a few code/quote blocks. While not strictly required, I opted to use lowercase for the titles, just like the other books that were converted to Sphinx. Signed-off-by: Mauro

[PATCH v2 16/20] HOWTO.rst: add cross-references to other documents

2016-09-12 Thread Mauro Carvalho Chehab
The other documents at kernel-development are all mentioned by HOWTO. Convert those mention to cross-references. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/Changes.rst | 2 ++ Documentation/development-process/CodingStyle.rst | 1 + Documentation/d

[PATCH v2 07/20] CodingStyle.rst: replace underline markups

2016-09-12 Thread Mauro Carvalho Chehab
Sphinx doesn't accept underline markups by purpose. While we might hack it via CSS, this won't be portable with non-html outputs. So, let's replace those by bold. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/CodingStyle.rst | 32 +++ 1 file chan

[PATCH v2 14/20] SubmittingDrivers.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- Change the document title markup to make it on a higher level; - Add blank lines as needed, to improve the output; - use italics for the country-code at kernel.org ftp URL. Signed-off-by: Mauro Carvalho Chehab --- .../development-process/SubmittingDrivers.rst | 45 +++---

[PATCH v2 12/20] stable_api_nonsense.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
Add markups for it to be properly parsed by Sphinx. As people browsing this document may not notice that the source file title is "stable_api_nonsense", I opted to use bold to the rationale for this document. I also found it better to add a note when it says that the nonsense applies only to the k

[PATCH v2 20/20] doc: Add the development-process to Sphinx build

2016-09-12 Thread Mauro Carvalho Chehab
Add an index and put it at Documentation/index.rst, in order to allow building the Kernel develpment documentation on Sphinx. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ Documentation/development-process/conf.py | 10 ++ Documentation/d

[PATCH v2 09/20] kernel-docs.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
This one required lots of manual work, for it to be properly displayed. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/kernel-docs.rst | 1514 +++-- 1 file changed, 786 insertions(+), 728 deletions(-) diff --git a/Documentation/development-process/ker

[PATCH v2 06/20] CodingStyle.rst: use the proper tag for verbatim font

2016-09-12 Thread Mauro Carvalho Chehab
Instead of using "foo", use ``foo`` for the names that are literal. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/CodingStyle.rst | 98 +++ 1 file changed, 49 insertions(+), 49 deletions(-) diff --git a/Documentation/development-process/CodingSty

[PATCH v2 15/20] SubmittingPatches.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
- Change the sections to use ReST markup; - Add cross-references where needed; - convert aspas to verbatim text; - use code block tags; - make Sphinx happy. Signed-off-by: Mauro Carvalho Chehab --- .../development-process/SubmittingPatches.rst | 233 - 1 file changed, 13

[PATCH v2 17/20] doc: development-process: rename files to rst

2016-09-12 Thread Mauro Carvalho Chehab
Prepare conversion to ReST by renaming all files to .rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/{1.Intro => 1.Intro.rst}| 0 Documentation/development-process/{2.Process => 2.Process.rst}| 0 Documentation/development-process/{3.Ea

[PATCH v2 11/20] SecurityBugs.rst: convert it to ReST markup

2016-09-12 Thread Mauro Carvalho Chehab
Add a name for the document and convert the sections to ReST markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/SecurityBugs.rst | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/development-process/SecurityBugs.rst b

[PATCH v2 08/20] CodingStyle.rst: use the .. note:: markup where needed

2016-09-12 Thread Mauro Carvalho Chehab
There are two places there where there are notes that should be bold. So, use the right markup for that. Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/CodingStyle.rst | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/Documentation/dev

[PATCH v2 02/20] docs-rst: HOWTO.rst: convert to ReST notation

2016-09-12 Thread Mauro Carvalho Chehab
This document is almost compiant with ReST notation, but some small adjustments are needed to make it parse properly by Sphinx (mostly, add blank lines where needed). Signed-off-by: Mauro Carvalho Chehab --- Documentation/development-process/HOWTO.rst | 53 ++--- 1 file c

[PATCH v2 00/20] Create a book for Kernel development

2016-09-12 Thread Mauro Carvalho Chehab
There are several documents related to Kernel development, where the HOWTO working like an index to most of them. There are also a series of files describing the development process. Convert the documents mentioned at the HOWTO (including it) and the development-process/ documents to ReST and add

Re: [RFC PATCH 1/2] mm, mincore2(): retrieve dax and tlb-size attributes of an address range

2016-09-12 Thread Nicholas Piggin
On Mon, 12 Sep 2016 10:29:17 -0700 Dan Williams wrote: > On Sun, Sep 11, 2016 at 8:35 PM, Nicholas Piggin wrote: > > On Sun, 11 Sep 2016 10:31:35 -0700 > > Dan Williams wrote: > > > >> As evidenced by this bug report [1], userspace libraries are interested > >> in whether a mapping is DAX map

Re: [PATCH 2/2] [media] atmel-isc: mark PM functions as __maybe_unused

2016-09-12 Thread Wu, Songjun
Hi Arnd, Thank you for your patch. I think it's better to add switch CONFIG_PM, but the PM feature is a must, or the ISC can not work, maybe the best choice is to add 'depends on PM' in Kconfig. #ifdef CONFIG_PM isc_runtime_suspend { XXX } isc_runtime_resume { XXX } static c

Re: Question on smp_mb__before_spinlock

2016-09-12 Thread Nicholas Piggin
On Mon, 12 Sep 2016 14:54:03 +0200 Peter Zijlstra wrote: > On Mon, Sep 12, 2016 at 12:27:08PM +1000, Nicholas Piggin wrote: > > On Wed, 7 Sep 2016 15:23:54 +0200 > > Peter Zijlstra wrote: > > > > Interesting idea.. > > > > > > So I'm not a fan of that raw_spin_lock wrapper, since that would

  1   2   3   4   5   6   7   8   9   10   >