[GIT PULL] SMP bootup printout changes for v4.10

2016-12-11 Thread Ingo Molnar
Linus, Please pull the latest core-smp-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-smp-for-linus # HEAD: 5dce2509506d16efd321939895ff7ffe1dc2 kernel/smp: Tell the user we're bringing up secondary CPUs Three changes to unify/standardize some

Re: [PATCH v6 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-12-11 Thread Lee Jones
On Fri, 09 Dec 2016, Marek Vasut wrote: > On 12/09/2016 01:25 PM, Mika Westerberg wrote: > > On Fri, Dec 09, 2016 at 08:57:53AM +, Lee Jones wrote: > >> On Wed, 07 Dec 2016, Marek Vasut wrote: > >> > >>> On 12/07/2016 09:53 AM, Mika Westerberg wrote: > On Tue, Dec 06, 2016 at 09:45:25AM +

[PATCH] drivers: media: i2c: constify v4l2_subdev_* structures

2016-12-11 Thread Bhumika Goyal
v4l2_subdev_{core/pad/video}_ops structures are stored in the fields of the v4l2_subdev_ops structure which are of type const. Also, v4l2_subdev_ops structure is passed to a function having its argument of type const. As these structures are never modified, so declare them as const. Done using Cocc

Re: [PATCH v6 0/8] Add PWM and IIO timer drivers for STM32

2016-12-11 Thread Lee Jones
On Fri, 09 Dec 2016, Benjamin Gaignard wrote: > version 6: > - rename stm32-gptimer in stm32-timers. > - change "st,stm32-gptimer" compatible to "st,stm32-timers". > - modify "st,breakinput" parameter in pwm part. > - split DT patch in 2 > > version 5: > - fix comments done on version 4 > - rebas

Re: [PATCH v6 1/8] MFD: add bindings for STM32 Timers driver

2016-12-11 Thread Lee Jones
On Fri, 09 Dec 2016, Benjamin Gaignard wrote: > Add bindings information for STM32 Timers > > version 6: > - rename stm32-gtimer to stm32-timers > - change compatible > - add description about the IPs > > version 2: > - rename stm32-mfd-timer to stm32-gptimer > - only keep one compatible string

Re: [PATCH v6 2/8] MFD: add STM32 Timers driver

2016-12-11 Thread Lee Jones
On Fri, 09 Dec 2016, Benjamin Gaignard wrote: > This hardware block could at used at same time for PWM generation > and IIO timers. > PWM and IIO timer configuration are mixed in the same registers > so we need a multi fonction driver to be able to share those registers. > > version 6: > - rename

Re: [PATCH v8 3/3] iio: adc: add support for Allwinner SoCs ADC

2016-12-11 Thread Quentin Schulz
Hi Maxime, On 10/12/2016 10:44, Maxime Ripard wrote: > Hi, > > Just some minor comments. > > On Fri, Dec 09, 2016 at 11:22:36AM +0100, Quentin Schulz wrote: >> +/* >> + * Since the thermal sensor needs the IP to be in touchscreen mode and >> + * there is no register to know if the IP

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-11 Thread Daniele Nicolodi
On 12/12/16 00:33, SF Markus Elfring wrote: >>> I would prefer a safer coding style for the corresponding >>> exception handling. >> >> Can you please point out what is wrong in the current code > > Is it useful to reconsider the software situation that another memory > allocation is attempted whe

[PATCH RFC] clk: wm831x: fix usleep_range with bad range

2016-12-11 Thread Nicholas Mc Guire
The delay here is not in atomic context and does not seem critical with respect to precision, but usleep_range(min,max) with min==max results in giving the timer subsystem no room to optimize uncritical delays. Fix this by setting the range to 2000,3000 us. Fixes: commit f05259a6ffa4 ("clk: wm83

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-11 Thread SF Markus Elfring
>> I would prefer a safer coding style for the corresponding >> exception handling. > > Can you please point out what is wrong in the current code Is it useful to reconsider the software situation that another memory allocation is attempted when it could be determined that a previous one failed a

[GIT PULL] RCU changes for v4.10

2016-12-11 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: af91a81131aee3e233a977632a23b839857a327b Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into co

[PATCH] ACPI: small formatting fixes

2016-12-11 Thread Nick Desaulniers
A quick cleanup that passes scripts/checkpatch.pl -f . Signed-off-by: Nick Desaulniers --- arch/x86/kernel/acpi/cstate.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/arch/x86/kernel/acpi/cstate.c b/arch/x86/kernel/acpi/cstate.c index af15f44..ed52aec

[PATCH] serial: mxs-auart: support CMSPAR termios cflag

2016-12-11 Thread Wolfgang Ocker
If CMSPAR is set in the c_cflag of termios, "stick" parity is enabled. Tested on an i.MX28 system Signed-off-by: Wolfgang Ocker --- v2: require PARENB to be also set in termios' c_cflag for CMSPAR --- drivers/tty/serial/mxs-auart.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/

Re: [PATCH 1/3] arm: hisi: add ARCH_MULTI_V5 support

2016-12-11 Thread Jiancheng Xue
On 2016/12/9 23:07, Marty Plummer wrote: > On 12/04/2016 08:03 PM, Jiancheng Xue wrote: >> Hi Arnd, >> >> On 2016/10/17 21:48, Arnd Bergmann wrote: >>> On Monday, October 17, 2016 8:07:03 PM CEST Pan Wen wrote: Add support for some HiSilicon SoCs which depend on ARCH_MULTI_V5. Sign

[PATCH] Input: elantech - force a module ignore ABS mode

2016-12-11 Thread KT Liao
One Elan sample which sample version is 0x74 and hw_version is 0x04 has a bug in abs mode, so let it run in default mode Signed-off-by: KT Liao --- drivers/input/mouse/elantech.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elant

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Dmitry Vyukov
On Sun, Dec 11, 2016 at 10:37 PM, Alexander Popov wrote: > On 11.12.2016 12:32, Dmitry Vyukov wrote: >> On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov >> wrote: >>> Subtract KASLR offset from the kernel addresses reported by kcov. >>> Tested on x86_64 and AArch64 (Hikey LeMaker). >>> >>> Signe

[tip:sched/core] sched/core: Fix find_idlest_group() for fork

2016-12-11 Thread tip-bot for Vincent Guittot
Commit-ID: f519a3f1c6b7a990e5aed37a8f853c6ecfdee945 Gitweb: http://git.kernel.org/tip/f519a3f1c6b7a990e5aed37a8f853c6ecfdee945 Author: Vincent Guittot AuthorDate: Thu, 8 Dec 2016 17:56:53 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Dec 2016 13:10:56 +0100 sched/core: Fix find_idle

[tip:perf/core] perf/x86: Fix exclusion of BTS and LBR for Goldmont

2016-12-11 Thread tip-bot for Andi Kleen
Commit-ID: b0c1ef52959582144bbea9a2b37db7f4c9e399f7 Gitweb: http://git.kernel.org/tip/b0c1ef52959582144bbea9a2b37db7f4c9e399f7 Author: Andi Kleen AuthorDate: Thu, 8 Dec 2016 16:14:17 -0800 Committer: Ingo Molnar CommitDate: Sun, 11 Dec 2016 13:06:09 +0100 perf/x86: Fix exclusion of BTS

[tip:locking/core] x86/paravirt: Fix bool return type for PVOP_CALL()

2016-12-11 Thread tip-bot for Peter Zijlstra
Commit-ID: 11f254dbb3a2e3f0d8552d0dd37f4faa432b6b16 Gitweb: http://git.kernel.org/tip/11f254dbb3a2e3f0d8552d0dd37f4faa432b6b16 Author: Peter Zijlstra AuthorDate: Thu, 8 Dec 2016 16:42:15 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Dec 2016 13:09:20 +0100 x86/paravirt: Fix bool ret

[tip:sched/core] sched/core: Use load_avg for selecting idlest group

2016-12-11 Thread tip-bot for Vincent Guittot
Commit-ID: 6b94780e45c17b83e3e75f8aaca5a328db583c74 Gitweb: http://git.kernel.org/tip/6b94780e45c17b83e3e75f8aaca5a328db583c74 Author: Vincent Guittot AuthorDate: Thu, 8 Dec 2016 17:56:54 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Dec 2016 13:10:57 +0100 sched/core: Use load_avg

[tip:locking/core] x86/paravirt: Fix native_patch()

2016-12-11 Thread tip-bot for Peter Zijlstra
Commit-ID: 45dbea5f55c05980cbb4c30047c71a820cd3f282 Gitweb: http://git.kernel.org/tip/45dbea5f55c05980cbb4c30047c71a820cd3f282 Author: Peter Zijlstra AuthorDate: Thu, 8 Dec 2016 16:42:14 +0100 Committer: Ingo Molnar CommitDate: Sun, 11 Dec 2016 13:09:19 +0100 x86/paravirt: Fix native_p

linux-next: Tree for Dec 12

2016-12-11 Thread Stephen Rothwell
Hi all, Please do not add any material for v4.11 to your linux-next included branches until after v4.10-rc1 has been released. Changes since 20161209: The vfs tree gained conflicts against the overlayfs and xfs trees. The vfs-miklos tree gained a cofnlict against the vfs tree. The hid tree gai

RE: [PATCH v6 2/2] crypto: add virtio-crypto driver

2016-12-11 Thread Gonglei (Arei)
Hi, Michael & Herbert Because the virtio-crypto device emulation had been in QEMU 2.8, would you please merge the virtio-crypto driver for 4.10 if no other comments? If so, Miachel pls ack and/or review the patch, then Herbert will take it (I asked him last week). Thank you! Ps: Note on 4.10 merg

Re: Documenting the ioctl interfaces to discover relationships between namespaces

2016-12-11 Thread Michael Kerrisk (man-pages)
[Fixing Serge's address in my original CC] On 12/11/2016 11:30 PM, Eric W. Biederman wrote: > "Michael Kerrisk (man-pages)" writes: > >> [was: [PATCH 0/4 v3] Add an interface to discover relationships >> between namespaces] > > One small comment below. > >> >>Introspecting namespace relati

[PATCH RFC 1/1] mm, page_alloc: fix incorrect zone_statistics data

2016-12-11 Thread Jia He
In commit b9f00e147f27 ("mm, page_alloc: reduce branches in zone_statistics"), it reconstructed codes to reduce the branch miss rate. Compared with the original logic, it assumed if !(flag & __GFP_OTHER_NODE) z->node would not be equal to preferred_zone->node. That seems to be incorrect. Fixes: c

[PATCH RFC 0/1] mm, page_alloc: fix incorrect zone_statistics data

2016-12-11 Thread Jia He
In commit b9f00e147f27 ("mm, page_alloc: reduce branches in zone_statistics"), it reconstructed the code to reduce the branch miss rate. Compared with the original logic, it assumed if !(flag & __GFP_OTHER_NODE) z->node would not be equal to preferred_zone->node. That seems to be incorrect. Here

linux-next: manual merge of the akpm tree with the vfs tree

2016-12-11 Thread Stephen Rothwell
Hi all, Al let me know that he had put a newer version of the autofs patches into his vfs tree, so I have dropped the following patches from the akpm tree today: vfs: change d_manage() to take a struct path vfs: add path_is_mountpoint() helper vfs: fix boolreturn.cocci warnings vfs: add p

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

2016-12-11 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm tree got a conflict in: lib/radix-tree.c between commit: 2b41226b39b6 ("Revert "radix tree test suite: fix compilation"") from Linus' tree and patch: "reimplement IDR and IDA using the radix tree" from the akpm tree. I fixed it up (I add

Re: [PATCH v2] siphash: add cryptographically secure hashtable function

2016-12-11 Thread Jason A. Donenfeld
Hey Linus, On Mon, Dec 12, 2016 at 5:01 AM, Linus Torvalds wrote: > The above is extremely inefficient. Considering that most kernel data > would be expected to be smallish, that matters (ie the usual benchmark > would not be about hashing megabytes of data, but instead millions of > hashes of sm

Re: [PATCH v2] siphash: add cryptographically secure hashtable function

2016-12-11 Thread Eric Biggers
On Mon, Dec 12, 2016 at 04:48:17AM +0100, Jason A. Donenfeld wrote: > > diff --git a/lib/Makefile b/lib/Makefile > index 50144a3aeebd..71d398b04a74 100644 > --- a/lib/Makefile > +++ b/lib/Makefile > @@ -22,7 +22,8 @@ lib-y := ctype.o string.o vsprintf.o cmdline.o \ >sha1.o chacha20.o md5.o

[lkp-developer] [scsi] 8eea81e090: BUG:unable_to_handle_kernel

2016-12-11 Thread kernel test robot
FYI, we noticed the following commit: commit: 8eea81e0903fcde1c28044ea66acc4c5c578f553 ("scsi: enable IO scheduling for scsi-mq") https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git blk-mq-legacy-sched.1 in testcase: boot on test machine: qemu-system-i386 -enable-kvm -cpu Has

[lkp-developer] [kernel/fork] cc639db4ac: BUG:using_smp_processor_id()in_preemptible

2016-12-11 Thread kernel test robot
FYI, we noticed the following commit: commit: cc639db4acfeb459f3dcec080c6cfe11e36266e0 ("kernel/fork: use vfree_atomic() to free thread stack") https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master in testcase: iperf with following parameters: runtime: 300s

Re: [PATCH v7 1/2] usb: xhci: plat: Enable runtime PM

2016-12-11 Thread Baolin Wang
Hi Robert, On 2 December 2016 at 05:46, Robert Foss wrote: > Enable runtime PM for the xhci-plat device so that the parent device > may implement runtime PM. > > Signed-off-by: Robert Foss > > Tested-by: Robert Foss > --- > drivers/usb/host/xhci-plat.c | 29 +++-- > 1 f

Re: Tearing down DMA transfer setup after DMA client has finished

2016-12-11 Thread Vinod Koul
On Fri, Dec 09, 2016 at 07:23:17PM +0100, Mason wrote: > [ Dropping Mans to preserve his peace-of-mind ] > > On 09/12/2016 18:56, Vinod Koul wrote: > > On Fri, Dec 09, 2016 at 06:34:15PM +0100, Mason wrote: > >> On 09/12/2016 18:17, Vinod Koul wrote: > >> > >>> On Fri, Dec 09, 2016 at 11:25:57AM +

Re: [PATCH] trace: extend trace_clock to support arch_arm clock counter

2016-12-11 Thread Srinivas Ramana
On 12/06/2016 05:43 PM, Will Deacon wrote: On Sun, Dec 04, 2016 at 02:06:23PM +0530, Srinivas Ramana wrote: On 12/02/2016 04:38 PM, Will Deacon wrote: On Fri, Dec 02, 2016 at 01:44:55PM +0530, Srinivas Ramana wrote: Extend the trace_clock to support the arch timer cycle counter so that we can

Re: [PATCH v8 2/4] vcodec: mediatek: Add Mediatek JPEG Decoder Driver

2016-12-11 Thread Ricky Liang
Hi Rick, On Wed, Nov 30, 2016 at 11:08 AM, Rick Chang wrote: > Add v4l2 driver for Mediatek JPEG Decoder > > Signed-off-by: Rick Chang > Signed-off-by: Minghsiu Tsai > +static bool mtk_jpeg_check_resolution_change(struct mtk_jpeg_ctx *ctx, > +struc

linux-next: manual merge of the staging tree with the vfs tree

2016-12-11 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the staging tree got a conflict in: drivers/staging/lustre/lustre/llite/statahead.c between commit: 7126bc2e8d60 ("lustre: switch to use of ->d_init()") from the vfs tree and commit: 3c8fb1b105cd ("staging: lustre: statahead: set sai_index_wait with

Re: [V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-11 Thread Marek Vasut
On 12/12/2016 04:00 AM, Arvind Yadav wrote: > Here, If devm_ioremap will fail. It will return NULL. > Kernel can run into a NULL-pointer dereference. > > Signed-off-by: Arvind Yadav > --- > drivers/mtd/devices/docg3.c | 7 ++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git

Re: [PATCH v2] siphash: add cryptographically secure hashtable function

2016-12-11 Thread Linus Torvalds
On Sun, Dec 11, 2016 at 7:48 PM, Jason A. Donenfeld wrote: > + switch (left) { > + case 7: b |= ((u64)data[6]) << 48; > + case 6: b |= ((u64)data[5]) << 40; > + case 5: b |= ((u64)data[4]) << 32; > + case 4: b |= ((u64)data[3]) << 24; >

Re: usb:xhci: support disable usb2 LPM Remote Wakeup

2016-12-11 Thread Thang Q. Nguyen
On Sat, Dec 10, 2016 at 4:36 AM, Rob Herring wrote: > On Sun, Dec 04, 2016 at 07:42:01PM +0700, Thang Q. Nguyen wrote: >> From: Thang Nguyen >> >> As per USB 2.0 link power management addendum ECN, table 1-2, page 4, >> device or host initiated via resume signaling; device-initiated resumes >> ca

Re: [PATCH] x86/kbuild: enable modversions for symbols exported from asm

2016-12-11 Thread Nicholas Piggin
On Sat, 10 Dec 2016 13:41:03 +0100 Greg Kroah-Hartman wrote: > On Fri, Dec 09, 2016 at 11:46:54PM +0100, Dodji Seketeli wrote: > > Hello, > > > > Nicholas Piggin a écrit: > > > > [...] > > > > > That said, a dwarf based checker tool should be able to do as good a job > > > (maybe a bit bett

[PATCH v2] siphash: add cryptographically secure hashtable function

2016-12-11 Thread Jason A. Donenfeld
SipHash is a 64-bit keyed hash function that is actually a cryptographically secure PRF, like HMAC. Except SipHash is super fast, and is meant to be used as a hashtable keyed lookup function. SipHash isn't just some new trendy hash function. It's been around for a while, and there really isn't any

Re: [PATCH] Fix multiple definition error under lto

2016-12-11 Thread Zhang Rui
On Sat, 2016-11-26 at 17:25 -0500, Peter Foley wrote: > drivers/thermal/built-in.o: In function `type_show.lto_priv.33': > (.text+0x3d80): multiple definition of `type_show.lto_priv.33' > drivers/base/built-in.o:(.text+0x2a40): first defined here > can you illustrate how to reproduce this problem?

Re: [Ocfs2-devel] [PATCH] ocfs2: fix crash caused by stale lvb with fsdlm plugin

2016-12-11 Thread Eric Ren
Hi Gang, On 12/12/2016 10:56 AM, Gang He wrote: Hi Eric, Looks good for me. Just one suggestion, please monitor if the LVB sharing mechanism in the cluster still works well in the normal scenario, to avoid any performance decrease regression problem. Thanks for your review. I have done the te

Re: [PATCH] arm64: mm: Fix NOMAP page initialization

2016-12-11 Thread Yisheng Xie
hi Robert, On 2016/12/10 2:10, Robert Richter wrote: > On ThunderX systems with certain memory configurations we see the > following BUG_ON(): > > kernel BUG at mm/page_alloc.c:1848! > > This happens for some configs with 64k page size enabled. The BUG_ON() > checks if start and end page of a m

[V2] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-11 Thread Arvind Yadav
Here, If devm_ioremap will fail. It will return NULL. Kernel can run into a NULL-pointer dereference. Signed-off-by: Arvind Yadav --- drivers/mtd/devices/docg3.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/devices/docg3.c b/drivers/mtd/devices/docg3.c in

Re: [V1] mtd: devices: docg3:- Handle return value of devm_ioremap.

2016-12-11 Thread arvind Yadav
Yes, We are returning -ENOMEM, ret is initialized to -ENOMEM. As per your concern, I have added dev_err failure message. Thanks -Arvind On Monday 12 December 2016 12:45 AM, Marek Vasut wrote: On 12/11/2016 07:01 PM, Arvind Yadav wrote: Here, If devm_ioremap will fail. It will return NULL. Kern

Re: [PATCH] ocfs2: fix crash caused by stale lvb with fsdlm plugin

2016-12-11 Thread Gang He
Hi Eric, Looks good for me. Just one suggestion, please monitor if the LVB sharing mechanism in the cluster still works well in the normal scenario, to avoid any performance decrease regression problem. Reviewed-by: Gang He Thanks Gang >>> > The crash happens rather often when we reset so

Re: [PATCH v2 1/1] lockd: Change nsm_use_hostnames from bool to u32

2016-12-11 Thread hejianet
Hi Xinhui Thanks, it really works. Will send out V3 soon afterwards B.R. Jia On 12/12/16 1:43 AM, Pan Xinhui wrote: hi, jia nice catch! However I think we should fix it totally. This is because do_proc_dointvec_conv() try to get a int value from a bool *. something like below might help.

Re: [PATCH v2 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime

2016-12-11 Thread Baoquan He
On 12/11/16 at 01:06pm, Borislav Petkov wrote: > On Sun, Dec 11, 2016 at 06:58:29PM +0800, Baoquan He wrote: > > For arguing and defending myself, I couldn't be very objective. > > Yeah, it is mind-boggling the amount of bullshit you would come up with > instead of simply saying, "no, I don't have

linux-next: manual merge of the tip tree with the net-next tree

2016-12-11 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in: drivers/net/ethernet/ti/Kconfig between commit: 6246168b4a38 ("net: ethernet: ti: netcp: add support of cpts") from the net-next tree and commit: d1cbfd771ce8 ("ptp_clock: Allow for it to be optional") from the tip tre

Re: linux-next: build failure after merge of the spi tree

2016-12-11 Thread Stephen Rothwell
Hi Mark, On Fri, 9 Dec 2016 13:32:56 +1100 Stephen Rothwell wrote: > > After merging the spi tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > drivers/spi/spi-orion.c: In function 'orion_spi_baudrate_set': > drivers/spi/spi-orion.c:192:8: error: 'sspr' undeclared (

linux-next: manual merge of the devicetree tree with the drm-panel tree

2016-12-11 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/vendor-prefixes.txt between commit: 05ec0e4501f7 ("drm/panel: simple: Add NVD9128 as a simple panel") from the drm-panel tree and commit: 1a85ff590440 ("devicetree: add vendor pr

Re: [PATCH v3] sparc64: Multi-page size support

2016-12-11 Thread David Miller
From: David Miller Date: Sun, 11 Dec 2016 21:06:30 -0500 (EST) > Applied. Actually, I'm reverting. Just doing a simply "make -s -j128" kernel build on a T4-2 I'm getting kernel log warnings: [2024810.925975] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [2024909.011397] random: crng

Re: [PATCH v3] sparc64: Multi-page size support

2016-12-11 Thread David Miller
From: Nitin Gupta Date: Tue, 22 Nov 2016 14:09:28 -0800 > Add support for using multiple hugepage sizes simultaneously > on mainline. Currently, support for 256M has been added which > can be used along with 8M pages. > > Page tables are set like this (e.g. for 256M page): > VA + (8M * x) ->

Re: [PATCH] sparc: kernel: use builtin_platform_driver

2016-12-11 Thread David Miller
From: Geliang Tang Date: Wed, 23 Nov 2016 23:06:05 +0800 > Use builtin_platform_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang Applied.

Re: linux-next: manual merge of the block tree with the vfs tree

2016-12-11 Thread Ming Lei
On Mon, Dec 12, 2016 at 9:31 AM, Stephen Rothwell wrote: > Hi Jens, > > Today's linux-next merge of the block tree got a conflict in: > > fs/logfs/dev_bdev.c > > between commit: > > 6b4fbde3b979 ("logfs: remove from tree") > > from the vfs tree and commitis: > > 3a83f4677539 ("block: bio: pa

Re: [PATCH 08/10] vsock/virtio: mark an internal function static

2016-12-11 Thread Jason Wang
On 2016年12月08日 22:25, Michael S. Tsirkin wrote: On Wed, Dec 07, 2016 at 12:21:22PM +0800, Jason Wang wrote: On 2016年12月06日 23:41, Michael S. Tsirkin wrote: virtio_transport_alloc_pkt is only used locally, make it static. Signed-off-by: Michael S. Tsirkin --- net/vmw_vsock/virtio_transpo

[PATCH v2] ipv4: Should use consistent conditional judgement for ip fragment in __ip_append_data and ip_finish_output

2016-12-11 Thread Zheng Li
From: zheng li There is an inconsistent conditional judgement in __ip_append_data and ip_finish_output functions, the variable length in __ip_append_data just include the length of application's payload and udp header, don't include the length of ip header, but in ip_finish_output use (skb->len >

[GIT PULL] Block core changes for 4.10

2016-12-11 Thread Jens Axboe
Hi Linus, This is the main block pull request this series. Contrary to previous release, I've kept the core and driver changes in the same branch. We always ended up having dependencies between the two for obvious reasons, so makes more sense to keep them together. That said, I'll probably try and

Re: [PATCH] firmware: dmi_scan: Always show system identification string

2016-12-11 Thread Kefeng Wang
On 2016/12/9 22:55, Ard Biesheuvel wrote: > On 9 December 2016 at 06:54, Kefeng Wang wrote: >> Let's keep consistent when print dmi_ids_string between SMBIOS 2.x >> and SMBIOS 3.x, and always show the system identification string, >> like Vendor, Product/Board name and BIOS infos. >> > > Are yo

Re: linux-next: manual merge of the block tree with the vfs tree

2016-12-11 Thread Al Viro
On Mon, Dec 12, 2016 at 12:31:40PM +1100, Stephen Rothwell wrote: > Al: that vfs tree commit has a bad email address for Christoph in it :-( Gyah... OK, will fix (the bulk of the diff, of course, had been regenerated while commit message came from his old mail; unfortunately, it had been long go

linux-next: manual merge of the block tree with the vfs tree

2016-12-11 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: fs/logfs/dev_bdev.c between commit: 6b4fbde3b979 ("logfs: remove from tree") from the vfs tree and commitis: 3a83f4677539 ("block: bio: pass bvec table to bio_init()") 739a9975468c ("fs: logfs: convert to bio_add_p

Re: [Xen-devel] Xen/cdrom: Ubuntu 16.04 VM read the content from CD-ROM abnormally

2016-12-11 Thread Ken
On 2016/12/10 0:15, Konrad Rzeszutek Wilk wrote: On Fri, Dec 09, 2016 at 04:21:02PM +0800, Ken wrote: Hi all, I run the Ubuntu 16.04 server (2 vcpu/2G, Linux 4.4.0) on the Xen-4.1.2, and installed gcc through the CDROM used by 16.04 iso file, when I installed gcc that depends deb packages to

Re: [PATCH v2] llist: Clarify comments about when locking is needed

2016-12-11 Thread Huang, Ying
Joel Fernandes writes: > llist.h comments are a bit confusing about when locking is needed versus when > it isn't. Clarify these comments a bit more by being a bit more descriptive > about why locking is needed for llist_del_first. > > Cc: Huang Ying > Cc: Ingo Molnar > Cc: Will Deacon > Cc: P

Re: [PATCH] ACPI / CPPC: Fix per-CPU pointers management

2016-12-11 Thread Rafael J. Wysocki
On Sat, Dec 10, 2016 at 7:51 PM, Sebastian Andrzej Siewior wrote: > On 2016-12-10 00:52:28 [+0100], Rafael J. Wysocki wrote: >> Hi Thomas, >> >> The crash fixed by this is exposed by the ITMT (asymmetric packing) series >> (which involves using ACPI CPPC on x86), so IMO it would be good to route i

[ANNOUNCE] linux-4.9-ck1

2016-12-11 Thread Con Kolivas
These are patches designed to improve system responsiveness and interactivity with specific emphasis on the desktop, but configurable for any workload. The patchset is mainly centred around the Multiple Queue Skiplist Scheduler, MuQSS. -ck1 patches: http://ck.kolivas.org/patches/4.0/4.9/4.9-ck

linux-next: manual merge of the drm tree with the jc_docs tree

2016-12-11 Thread Stephen Rothwell
Hi Dave, Today's linux-next merge of the drm tree got a conflict in: Documentation/driver-api/infrastructure.rst between commits: 3080b056b3d4 ("docs/driver-api: Apply changed source file names") 868c97a846a7 ("dma-buf: Extract dma-buf.rst") from the jc_docs tree and commit: 8a5846bf5

Re: CVE-2016-7097 causes acl leak

2016-12-11 Thread Cong Wang
On Mon, Dec 5, 2016 at 9:16 AM, Mark Salyzyn wrote: > Commit 073931017b49d9458aa351605b43a7e34598caef has several occurrences of > an acl leak. > > posix_acl_update_mode(inose, &mode, &acl); > > . . . > > posix_acl_release(acl); > > > acl is NULLed in posix_acl_update_mode to signal caller to not

[git pull] m68knommu changes for v4.10

2016-12-11 Thread Greg Ungerer
Hi Linus, Can you please pull the m68knommu git tree, for-next branch. There are two sets of changes in this pull. The largest is the addition of the ColdFire platform side i2c support (the IO addressing, setup and clock definitions). The i2c hardware module itself is driven by the kernels existi

[ANNOUNCE] MuQSS CPU scheduler v0.15 for linux-4.9

2016-12-11 Thread Con Kolivas
Announcing an updated stable version of the Multiple Queue Skiplist Scheduler, the successor to BFS, version 0.150 for linux-4.9. Download: http://ck.kolivas.org/patches/muqss/4.0/4.9/4.9-sched-MuQSS_150.patch Git tree: https://github.com/ckolivas/linux/tree/4.9-muqss --- Patch summary: The

[GIT PULL] namespace related changes for 4.10-rc1

2016-12-11 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: 19339c251607a3defc7f089511ce8561936fee45 Revert "evm: Translate user/group ids relative to s_user_ns when computing HMAC" After a lot of

[PATCH resend] block_dev: don't test bdev->bd_contains when it is not stable.

2016-12-11 Thread NeilBrown
bdev->bd_contains is not stable before calling __blkdev_get(). When __blkdev_get() is called on a parition with ->bd_openers == 0 it sets bdev->bd_contains = bdev; which is not correct for a partition. After a call to __blkdev_get() succeeds, ->bd_openers will be > 0 and then ->bd_contains is st

linux-next: build failure after merge of the hid tree

2016-12-11 Thread Stephen Rothwell
Hi Jiri, After merging the hid tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/hid/i2c-hid/i2c-hid.c: In function 'i2c_hid_start': drivers/hid/i2c-hid/i2c-hid.c:773:19: error: 'struct i2c_hid' has no member named 'irq' disable_irq(ihid->irq);

linux-next: manual merge of the vfs-miklos tree with the vfs tree

2016-12-11 Thread Stephen Rothwell
Hi Miklos, Today's linux-next merge of the vfs-miklos tree got a conflict in: fs/read_write.c between commit: a76b5b04375f ("fs: try to clone files first in vfs_copy_file_range") from the vfs tree and commit: b2368d2bb4a5 ("vfs: check file types in vfs_copy_file_range()") from the vfs-

Re: Remaining crypto API regressions with CONFIG_VMAP_STACK

2016-12-11 Thread Eric Biggers
On Sun, Dec 11, 2016 at 11:13:55AM -0800, Andy Lutomirski wrote: > On Fri, Dec 9, 2016 at 3:08 PM, Eric Biggers wrote: > > In the 4.9 kernel, virtually-mapped stacks will be supported and enabled by > > default on x86_64. This has been exposing a number of problems in which > > on-stack buffers a

[PATCH] net: chelsio: cxgb3: use new api ethtool_{get|set}_link_ksettings

2016-12-11 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c | 65 +-- 1 files changed, 37 insertions(+), 28 deletions(-) diff --git a/drivers/n

linux-next: manual merge of the vfs tree with the xfs tree

2016-12-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/xfs/xfs_reflink.c between commit: fba3e594ef0a ("xfs: always succeed when deduping zero bytes") from the xfs tree and commit: 876bec6f9bbf ("vfs: refactor clone/dedupe_file_range common functions") from the vfs tree.

linux-next: manual merge of the vfs tree with the overlayfs tree

2016-12-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/overlayfs/copy_up.c between commit: 4a756233184d ("Revert "ovl: Warn on copy up if a process has a R/O fd open to the lower file"") from the overlayfs tree and commit: 450630975da9 ("don't open-code file_inode()") f

linux-next: manual merge of the vfs tree with the overlayfs tree

2016-12-11 Thread Stephen Rothwell
Hi Al, Today's linux-next merge of the vfs tree got a conflict in: fs/overlayfs/dir.c between commits: 659f95a46dd0 ("ovl: add ovl_dentry_is_whiteout()") ee2e4303d554 ("ovl: opaque cleanup") f7cd4e7b2743 ("ovl: clean up kstat usage") from the overlayfs tree and commit: 718324db4435

Re: [PATCH 2/2] FPGA: Add TS-7300 FPGA manager

2016-12-11 Thread Moritz Fischer
Hi Florian, can you Cc: linxu-f...@vger.kernel.org for your next round? On Sun, Dec 11, 2016 at 2:17 PM, Florian Fainelli wrote: > Add support for loading bitstreams on the Altera Cyclone II FPGA > populated on the TS-7300 board. This is done through the configuration > and data registers offere

Re: Documenting the ioctl interfaces to discover relationships between namespaces

2016-12-11 Thread Eric W. Biederman
"Michael Kerrisk (man-pages)" writes: > [was: [PATCH 0/4 v3] Add an interface to discover relationships > between namespaces] One small comment below. > >Introspecting namespace relationships >Since Linux 4.9, two ioctl(2) operations are provided to allow >introspection

[PATCH 2/2] iio: misc: add support for GPIO power switches

2016-12-11 Thread Bartosz Golaszewski
Some power-measuring ADCs work together with power load switches which allow to power-cycle measured devices. An example use case would be measuring the power consumption of a development board during boot using a power monitor such as TI INA226 and power-cycling the board remotely using a TPS229*

[PATCH 1/2] devicetree: power: add bindings for GPIO-driven power switches

2016-12-11 Thread Bartosz Golaszewski
Some boards are equipped with simple, GPIO-driven power load switches. An example of such ICs is the TI tps229* series. Add device tree bindings allowing to describe them. Signed-off-by: Bartosz Golaszewski --- .../bindings/power/gpio-power-switch.txt | 25 ++ 1 fi

[PATCH 0/2] iio: GPIO power switch support

2016-12-11 Thread Bartosz Golaszewski
This series is aimed at improving the support for baylibre-acme[1] power measurement capes. We would like to add support for power-cycling of devices measured using TI INA226 ADCs. An example use case would be measuring the power consumption of a development board during boot and power-cycling it

Re: [PATCH] iio: misc: add a generic regulator driver

2016-12-11 Thread Bartosz Golaszewski
2016-12-10 19:17 GMT+01:00 Jonathan Cameron : > On 06/12/16 11:12, Bartosz Golaszewski wrote: >> >> I wrote the initial patch quickly and didn't give it much of a >> thought. Now I realized I completely missed the point and managed to >> confuse everybody - myself included. >> >> So the problem we

[GIT PULL] Security subsystem updates for 4.10

2016-12-11 Thread James Morris
Generally pretty quiet for this release. Highlights: - Yama: - allow ptrace access for original parent after re-parenting - TPM: - add documentation - many bugfixes & cleanups - define a generic open() method for ascii & bios measurements - Integrity: - Harden against malformed xatt

[PATCH 1/2] ARM: ep93xx: Register ts73xx-fpga manager driver for TS-7300

2016-12-11 Thread Florian Fainelli
Register the TS-7300 FPGA manager device drivers which allows us to load bitstreams into the on-board Altera Cyclone II FPGA. Signed-off-by: Florian Fainelli --- arch/arm/mach-ep93xx/ts72xx.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/arm/mach-ep93xx/ts7

[PATCH 2/2] FPGA: Add TS-7300 FPGA manager

2016-12-11 Thread Florian Fainelli
Add support for loading bitstreams on the Altera Cyclone II FPGA populated on the TS-7300 board. This is done through the configuration and data registers offered through a memory interface between the EP93xx SoC and the FPGA. Signed-off-by: Florian Fainelli --- drivers/fpga/Kconfig | 7

[PATCH 0/2] FPGA: TS-7300 FPGA manager

2016-12-11 Thread Florian Fainelli
Hi all, This patch series adds support for loading bitstreams into the Altera Cyclone II connected to an EP9302 on a TS-7300 board. Florian Fainelli (1): ARM: ep93xx: Register ts73xx-fpga manager driver for TS-7300 FPGA: Add TS-7300 FPGA manager drivers/fpga/Kconfig | 7 ++ drivers/

[PULL] Documentation changes for 4.10

2016-12-11 Thread Jonathan Corbet
The following changes since commit bc33b0ca11e3df46a4fa7639ba488c9d4911: Linux 4.9-rc4 (2016-11-05 16:23:36 -0700) are available in the git repository at: git://git.lwn.net/linux.git tags/docs-4.10 for you to fetch changes up to 868c97a846a73e937d835b09b8c885a69df50ec8: dma-buf: Extr

Re: [PATCH] i2c: cadence: Allow Cadence I2C to be selected for Cadence Xtensa CPUs

2016-12-11 Thread Wolfram Sang
On Thu, Dec 08, 2016 at 09:47:58AM +, Jan Kotas wrote: > This patch allows Cadence I2C controller to be selected in systems using > Cadence Xtensa processors. > > Signed-off-by: Jan Kotas Applied to for-next, thanks! signature.asc Description: PGP signature

Re: [media] bt8xx: One function call less in bttv_input_init() after error detection

2016-12-11 Thread Daniele Nicolodi
On 10/12/16 15:10, SF Markus Elfring wrote: >> Despite that, you have found several instances of similar constructs: > > Yes. - Special source code search pattern can point such places out > for further considerations. This is one of the things that makes reviewing the patches you submit quire an

Re: [PATCH] pinctrl: meson: fix gpio request disabling other modes

2016-12-11 Thread Beniamino Galvani
On Tue, Dec 06, 2016 at 03:08:16PM +0100, Neil Armstrong wrote: > The pinctrl_gpio_request is called with the "full" gpio number, already > containing the base, then meson_pmx_request_gpio is then called with the > final pin number. > Remove the base addition when calling meson_pmx_disable_other_gr

[PATCH] net: chelsio: cxgb2: use new api ethtool_{get|set}_link_ksettings

2016-12-11 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/chelsio/cxgb/cxgb2.c | 64 + 1 files changed, 37 insertions(+), 27 deletions(-) diff --git a/drivers/n

Re: [PATCH v5 2/5] i2c: Add STM32F4 I2C driver

2016-12-11 Thread Wolfram Sang
Hi, > +config I2C_STM32F4 > + tristate "STMicroelectronics STM32F4 I2C support" > + depends on ARCH_STM32 || COMPILE_TEST Double space. > +#define STM32F4_I2C_MIN_FREQ 2 > +#define STM32F4_I2C_MAX_FREQ 42 Those two must be unsigned to fix the build error (e.g. 2U) repor

Scheduler patches: 6x performance increase when system is under heavy load

2016-12-11 Thread Alexandre-Xavier Labonté-Lamoureux
Hi, There's a research paper[1] called "The Linux Scheduler: a Decade of Wasted Cores". It shows how the Linux Kernel scheduler is broken and they provided fixes[2] for some of the know issues that it has. The changes are illustrated in a presentation[3] that was shown during a talk. I patched my

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

2016-12-11 Thread Stephen Rothwell
Hi all, After merging the clk tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: drivers/clk/bcm/clk-bcm2835.c: In function 'bcm2835_clock_determine_rate': drivers/clk/bcm/clk-bcm2835.c:1069:18: warning: 'best_rate' may be used uninitialized in this function [-Wmaybe-

[no subject]

2016-12-11 Thread Alexandre-Xavier Labonté-Lamoureux
subscribe axdoo...@gmail.com

Re: [PATCH 2/2] kcov: make kcov work properly with KASLR enabled

2016-12-11 Thread Alexander Popov
On 11.12.2016 12:32, Dmitry Vyukov wrote: > On Sun, Dec 11, 2016 at 1:50 AM, Alexander Popov wrote: >> Subtract KASLR offset from the kernel addresses reported by kcov. >> Tested on x86_64 and AArch64 (Hikey LeMaker). >> >> Signed-off-by: Alexander Popov >> --- >> kernel/kcov.c | 8 +++- >>

  1   2   >