[PATCH 3/5] migrate: Add copy_page_mt to use multi-threaded page migration.

2016-11-22 Thread Zi Yan
From: Zi Yan From: Zi Yan Internally, copy_page_mt splits a page into multiple threads and send them as jobs to system_highpri_wq. Signed-off-by: Zi Yan Signed-off-by: Zi Yan --- include/linux/highmem.h | 2 ++ kernel/sysctl.c | 1 + mm/Makefile | 2 ++ mm/copy_page.c

Re: [PATCH 2/7] add MFD for stm32 timer IP

2016-11-22 Thread Lee Jones
On Tue, 22 Nov 2016, Benjamin Gaignard wrote: > This hardware block could at used at same time for PWM generation > and IIO timer for other IPs like DAC, ADC or other timers. > PWM and IIO timer configuration are mixed in the same registers > so we need a MFD to be able to share those registers. >

[PATCH 4/5] mm: migrate: Add copy_page_mt into migrate_pages.

2016-11-22 Thread Zi Yan
From: Zi Yan From: Zi Yan An option is added to move_pages() syscall to use multi-threaded page migration. Signed-off-by: Zi Yan Signed-off-by: Zi Yan --- include/linux/migrate_mode.h | 1 + include/uapi/linux/mempolicy.h | 2 ++ mm/migrate.c | 27 +++--

[PATCH 2/2] pinctrl: sx150x: support setting multiple pins at once

2016-11-22 Thread Peter Rosin
The mask of a possible oscio pin is cached, making it easier to test for the exception. Signed-off-by: Peter Rosin --- drivers/pinctrl/pinctrl-sx150x.c | 37 + 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/drivers/pinctrl/pinctrl-sx150x.c b/dr

[PATCH v2] tools lib traceevent: Add retrieval of preempt count and latency flags

2016-11-22 Thread Steven Rostedt
Add a way to retrieve the preempt count as well as the latency flags from a pevent_record. int pevent_data_preempt_count(pevent, record); returns the preempt count of a record. int pevent_data_flags(pevent, record); returns the latency flags for a record. Signed-off-by: Steven Rostedt ---

Re: [PATCH v3 0/2] regulator: handling of error conditions for usb drivers

2016-11-22 Thread Axel Haslam
Hi Mark, On Fri, Nov 4, 2016 at 10:35 PM, Axel Haslam wrote: > Some usb drivers rely on external power switches/regulators > to for the port vbus. Some of these drivers are using > a plain gpio for the enable pin and also the over current > indicator pin. > > To make these drivers more generic,

Re: [PATCH 2/2] MAINTAINERS: Add myself as co-maintainer to fpga mgr framework.

2016-11-22 Thread Jason Gunthorpe
On Tue, Nov 22, 2016 at 08:48:57AM +0100, Michal Simek wrote: > TBH. I think it is not a bad option. I do normally have backup person > for all repos I do maintain. It doesn't mean that second maintainer does > something but it has all accesses to repos you maintain. I agree, it is a good idea to

Re: [PATCH 2/7] add MFD for stm32 timer IP

2016-11-22 Thread Lee Jones
On Tue, 22 Nov 2016, Lee Jones wrote: > On Tue, 22 Nov 2016, Benjamin Gaignard wrote: > > > This hardware block could at used at same time for PWM generation > > and IIO timer for other IPs like DAC, ADC or other timers. > > PWM and IIO timer configuration are mixed in the same registers > > so w

Re: [PATCH net-next] net: mvneta: Only disable mvneta_bm for 64-bits

2016-11-22 Thread Gregory CLEMENT
Hi David, On mar., nov. 22 2016, David Miller wrote: > From: Gregory CLEMENT > Date: Tue, 22 Nov 2016 17:00:37 +0100 > >> Actually only the mvneta_bm support is not 64-bits compatible. >> The mvneta code itself can run on 64-bits architecture. >> >> Signed-off-by: Gregory CLEMENT > > No it

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Greg Kroah-Hartman
On Tue, Nov 22, 2016 at 05:14:02PM +0100, Vlastimil Babka wrote: > On 11/22/2016 05:06 PM, Marc MERLIN wrote: > > On Mon, Nov 21, 2016 at 01:56:39PM -0800, Marc MERLIN wrote: > >> On Mon, Nov 21, 2016 at 10:50:20PM +0100, Vlastimil Babka wrote: > 4.9rc5 however seems to be doing better, and is

Re: [PATCH 2/7] add MFD for stm32 timer IP

2016-11-22 Thread Benjamin Gaignard
Your comments are welcome on all of them ;-) 2016-11-22 17:41 GMT+01:00 Lee Jones : > On Tue, 22 Nov 2016, Lee Jones wrote: > >> On Tue, 22 Nov 2016, Benjamin Gaignard wrote: >> >> > This hardware block could at used at same time for PWM generation >> > and IIO timer for other IPs like DAC, ADC or

Re: [PATCH 1/6] x86/efi: Allow invocation of arbitrary runtime services

2016-11-22 Thread David Howells
Joe Perches wrote: > Umm, no, that's not correct. > SHA-1 lengths of 12 are unique for quite awhile yet. > > https://blog.cuviper.com/2013/11/10/how-short-can-git-abbreviate/ The article says: 1.9% at 12 which is for 3253824 objects (I get 1.86%). However, that was three years ago, a

Re: [Ksummit-discuss] [PATCH 0/9] Get rid of bitmap images

2016-11-22 Thread Mauro Carvalho Chehab
Em Tue, 22 Nov 2016 17:40:27 +0200 Jani Nikula escreveu: > On Tue, 22 Nov 2016, Mauro Carvalho Chehab wrote: > > I tried both, none broke the long lines on > > Documentation/media/uapi/v4l/fieldseq_tb.svg. > > How about: > > 'tidy -xml -i Documentation/media/uapi/v4l/fieldseq_tb.svg | fmt -

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-11-22 Thread Nicolas Pitre
On Tue, 22 Nov 2016, Arnd Bergmann wrote: > This adds an asm/asm-prototypes.h header for ARM to fix the broken symbol > versioning for symbols exported from assembler files. > > I couldn't find the correct prototypes for the compiler builtins, > so I went with the fake 'void f(void)' prototypes t

Re: net/udp: bug in skb_pull_rcsum

2016-11-22 Thread Eric Dumazet
On Tue, Nov 22, 2016 at 3:58 AM, Andrey Konovalov wrote: > Hi, > > I've got the following error report while fuzzing the kernel with syzkaller. > > A reproducer is attached. > > On commit 9c763584b7c8911106bb77af7e648bef09af9d80 (4.9-rc6, Nov 20). > > [ cut here ] > kernel

Re: [PATCH v6 4/9] tpm: drop tpm1_chip_register(/unregister)

2016-11-22 Thread Jason Gunthorpe
On Tue, Nov 22, 2016 at 01:22:00PM +0200, Jarkko Sakkinen wrote: > On Mon, Nov 14, 2016 at 05:00:51AM -0500, Nayna Jain wrote: > > Check for TPM2 chip in tpm_sysfs_add_device, tpm_bios_log_setup and > > tpm_bios_log_teardown in order to make code flow cleaner and to enable > > to implement TPM 2.0

Re: [PATCH v3 0/2] regulator: handling of error conditions for usb drivers

2016-11-22 Thread Mark Brown
On Tue, Nov 22, 2016 at 05:35:38PM +0100, Axel Haslam wrote: > im wondering if you have these 2 patches in queue, > if there are no objections would it be possible to take them? Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, a

Re: [PATCH 00/11] hisi_sas: some fixes, improvements, and new features

2016-11-22 Thread John Garry
On 14/11/2016 23:49, Martin K. Petersen wrote: "John" == John Garry writes: John> This patchset introduces some misc bug fixes, improvements, and John> new features to the HiSilicon SAS driver. This series needs review. Hi Martin, Are you happy with this patchset now that I've got an exte

[PATCH v6 1/2] console: Move scrollback data into its own struct

2016-11-22 Thread Manuel Schölling
This refactoring is in preparation for persistent scrollback support for VGA console. Signed-off-by: Manuel Schölling --- drivers/video/console/vgacon.c | 91 ++ 1 file changed, 47 insertions(+), 44 deletions(-) diff --git a/drivers/video/console/vgacon.c

[PATCH v6 0/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-22 Thread Manuel Schölling
Changes in v6: - Change of check if feature is enabled in vgacon_scrollback_switch() Changes in v5: - Clearify documentation - Skip superfluous array initialization - Disable scrollback if buffer allocation fails - Refactor vgacon_switch_scrollback() - Rename vgacon_switch_scrollba

[PATCH v6 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-22 Thread Manuel Schölling
Add a scrollback buffers for each VGA console. The benefit is that the scrollback history is not flushed when switching between consoles but is persistent. The buffers are allocated on demand when a new console is opened. This breaks tools like clear_console that rely on flushing the scrollback hi

Re: 4.8.8 kernel trigger OOM killer repeatedly when I have lots of RAM that should be free

2016-11-22 Thread Marc MERLIN
On Tue, Nov 22, 2016 at 05:25:44PM +0100, Michal Hocko wrote: > currently AFAIR. I hate that Marc is not falling into that category but > is it really problem for you to run with 4.9? If we have more users Don't do anything just on my account. I had a problem, it's been fixed in 2 different ways:

Re: [PATCH 1/5] power: supply: tps65217: Move IRQ related operation into single function

2016-11-22 Thread Sebastian Reichel
Hi, On Tue, Nov 15, 2016 at 10:18:51PM +0900, Milo Kim wrote: > TPS65217 charger driver handles the charger interrupt through the IRQ or > polling. Both cases can be requested in single function. > > Cc: Enric Balletbo i Serra > Signed-off-by: Milo Kim > --- > drivers/power/supply/tps65217_cha

Re: linux-next: Tree for Nov 22 (ext4 + dax)

2016-11-22 Thread Randy Dunlap
On 11/22/16 02:30, Stephen Rothwell wrote: > Hi all, > > News: The powerpc allyesconfig build (with KALLSYMS_EXTRA_PASS=1) now > works for the first time in many years. > > Changes since 20161117: on i386: I don't see why this is happening but I reproduced it multiple times. fs/built-in.o: In

[PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Liviu Dudau
drm_get_format_name() de-references the buf parameter without checking if the pointer was not NULL. Given that the function is EXPORT-ed, lets sanitise the parameters before proceeding. Fixes: b3c11ac267d461d3d5 ("drm: move allocation out of drm_get_format_name()) Cc: Eric Engestrom Cc: Rob Clark

Re: [PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Ville Syrjälä
On Tue, Nov 22, 2016 at 04:41:06PM +, Liviu Dudau wrote: > drm_get_format_name() de-references the buf parameter without checking > if the pointer was not NULL. Given that the function is EXPORT-ed, lets > sanitise the parameters before proceeding. > > Fixes: b3c11ac267d461d3d5 ("drm: move all

[PATCH net-next 1/4] net: mvneta: Convert to be 64 bits compatible

2016-11-22 Thread Gregory CLEMENT
From: Marcin Wojtas Prepare the mvneta driver in order to be usable on the 64 bits platform such as the Armada 3700. [gregory.clem...@free-electrons.com]: this patch was extract from a larger one to ease review and maintenance. Signed-off-by: Marcin Wojtas Signed-off-by: Gregory CLEMENT ---

Re: [PATCH 1/7] add binding for stm32 multifunctions timer driver

2016-11-22 Thread Lee Jones
On Tue, 22 Nov 2016, Benjamin Gaignard wrote: > Add bindings information for stm32 timer MFD > > Signed-off-by: Benjamin Gaignard > --- > .../devicetree/bindings/mfd/stm32-timer.txt| 53 > ++ > 1 file changed, 53 insertions(+) > create mode 100644 Documentation/dev

[PATCH net-next 0/4] Extend mvneta to support Armada 3700 (ARM 64)

2016-11-22 Thread Gregory CLEMENT
Hi, This series enable the use of mvneta driver on the Armada 3700 SoCs. Armada 3700 is a new ARMv8 SoC from Marvell using same network controller as older Armada 370/38x/XP. Besides the changes needed to be used on 64-bits architecture done in the 1st patch, there are also few difference related

[PATCH net-next 3/4] net: mvneta: Add network support for Armada 3700 SoC

2016-11-22 Thread Gregory CLEMENT
From: Marcin Wojtas Armada 3700 is a new ARMv8 SoC from Marvell using same network controller as older Armada 370/38x/XP. There are however some differences that needed taking into account when adding support for it: * open default MBUS window to 4GB of DRAM - Armada 3700 SoC's Mbus configurat

[PATCH net-next 2/4] net: mvneta: Only disable mvneta_bm for 64-bits

2016-11-22 Thread Gregory CLEMENT
Actually only the mvneta_bm support is not 64-bits compatible. The mvneta code itself can run on 64-bits architecture. Signed-off-by: Gregory CLEMENT --- drivers/net/ethernet/marvell/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/ethernet/marvell/Kconfi

[PATCH net-next 4/4] ARM64: dts: marvell: Add network support for Armada 3700

2016-11-22 Thread Gregory CLEMENT
Add neta nodes for network support both in device tree for the SoC and the board. Signed-off-by: Gregory CLEMENT --- arch/arm64/boot/dts/marvell/armada-3720-db.dts | 23 +++ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 23 +++ 2 files changed, 46 inser

Re: [PATCH 5/7] add bindings for stm32 IIO timer drivers

2016-11-22 Thread Lars-Peter Clausen
On 11/22/2016 05:13 PM, Benjamin Gaignard wrote: > Define bindings for stm32 IIO timer > > Signed-off-by: Benjamin Gaignard > --- > .../bindings/iio/timer/stm32-iio-timer.txt | 33 > ++ > 1 file changed, 33 insertions(+) > create mode 100644 > Documentation/devicet

Re: [PATCH 1/6] x86/efi: Allow invocation of arbitrary runtime services

2016-11-22 Thread Joe Perches
On Tue, 2016-11-22 at 16:40 +, David Howells wrote: > Joe Perches wrote: > > > Umm, no, that's not correct. > > SHA-1 lengths of 12 are unique for quite awhile yet. > > > > https://blog.cuviper.com/2013/11/10/how-short-can-git-abbreviate/ > > The article says: > > 1.9% at 12 > > whi

Re: [PATCH 1/5] power: supply: tps65217: Move IRQ related operation into single function

2016-11-22 Thread Sebastian Reichel
Hi, On Tue, Nov 22, 2016 at 05:49:11PM +0100, Sebastian Reichel wrote: > On Tue, Nov 15, 2016 at 10:18:51PM +0900, Milo Kim wrote: > > TPS65217 charger driver handles the charger interrupt through the IRQ or > > polling. Both cases can be requested in single function. > > > > Cc: Enric Balletbo i

Re: [PATCH v5 2/2] console: Add persistent scrollback buffers for all VGA consoles

2016-11-22 Thread Manuel Schölling
Hi Adam, On Mo, 2016-11-21 at 21:17 +0100, Adam Borowski wrote: > On Sun, Nov 20, 2016 at 10:58:08PM +0100, Manuel Schölling wrote: > > Add a scrollback buffers for each VGA console. The benefit is that > > the scrollback history is not flushed when switching between consoles > > but is persistent

Re: [RFC PATCH] scsi: libsas: fix WARN on device removal

2016-11-22 Thread John Garry
On 21/11/2016 17:13, Dan Williams wrote: On Mon, Nov 21, 2016 at 7:16 AM, John Garry wrote: @Maintainers, would you be willing to accept this patch as an interim fix for the dastardly WARN while we try to fix the flutter issue? To me this adds a bug to quiet a benign, albeit noisy, warning.

Re: [PATCH 2/5] power: supply: tps65217: Remove IRQ data from driver data

2016-11-22 Thread Sebastian Reichel
Hi, [it's me again after reading Patch 3] On Tue, Nov 22, 2016 at 05:51:07PM +0100, Sebastian Reichel wrote: > On Tue, Nov 15, 2016 at 10:18:52PM +0900, Milo Kim wrote: > > IRQ number is only used on requesting the interrupt, so no need to keep > > it inside the driver data. Please move simple c

Re: [PATCH 5/7] add bindings for stm32 IIO timer drivers

2016-11-22 Thread Lars-Peter Clausen
On 11/22/2016 06:01 PM, Benjamin Gaignard wrote: > [snip] >>> + "st,stm32-iio-timer5" >>> + "st,stm32-iio-timer6" >>> + "st,stm32-iio-timer7" >>> + "st,stm32-iio-timer8" >>> + "st,stm32-iio-timer9" >>> + "st,stm32-iio-timer10" >>> + "st,stm32-iio-timer11" >>> + "st,s

[PATCH 2/3] remoteproc: add empty remoteproc API functions in header

2016-11-22 Thread Stanimir Varbanov
With this addition in place the drivers which uses remote processor APIs will be able to be compile tested on different architectures with COMPILE_TEST Kconfig option. Signed-off-by: Stanimir Varbanov --- include/linux/remoteproc.h | 24 1 file changed, 24 insertions(+)

Re: [PATCH 5/7] add bindings for stm32 IIO timer drivers

2016-11-22 Thread Benjamin Gaignard
[snip] >> + "st,stm32-iio-timer5" >> + "st,stm32-iio-timer6" >> + "st,stm32-iio-timer7" >> + "st,stm32-iio-timer8" >> + "st,stm32-iio-timer9" >> + "st,stm32-iio-timer10" >> + "st,stm32-iio-timer11" >> + "st,stm32-iio-timer12" >> + "st,stm32-iio-timer13" >> +

[PATCH 1/2] ASoC: wm_adsp: Remove unused wm_coeff_ctl.kcontrol

2016-11-22 Thread Richard Fitzgerald
The kcontrol pointer in wm_coeff_ctl is not used now. Signed-off-by: Richard Fitzgerald --- sound/soc/codecs/wm_adsp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 6ccb731..7698273 100644 --- a/sound/soc/codecs/wm_adsp.c +++

Re: [PATCH v6 3/9] tpm: replace dynamically allocated bios_dir with a static array

2016-11-22 Thread Jason Gunthorpe
On Tue, Nov 22, 2016 at 01:23:33PM +0200, Jarkko Sakkinen wrote: > On Mon, Nov 14, 2016 at 05:00:50AM -0500, Nayna Jain wrote: > > This commit is based on a commit by Nayna Jain. Replaced dynamically > > allocated bios_dir with a static array as the size is always constant. > > > > Suggested-by: J

[PATCH 2/2] ASoC: wm_adsp: Firmware controls should be added as codec controls

2016-11-22 Thread Richard Fitzgerald
We were adding firmware controls as card controls (using snd_soc_add_codec_controls). The DSP is part of a specific codec so we should be adding them as codec controls. Adding as codec controls also means that if the codec has a name_prefix it will be added to the control name, which won't happen w

Re: [PATCH] block,blkcg: use __GFP_NOWARN for best-effort allocations in blkcg

2016-11-22 Thread Tejun Heo
Hello, On Tue, Nov 22, 2016 at 04:47:49PM +0100, Vlastimil Babka wrote: > Thanks. Makes me wonder whether we should e.g. add __GFP_NOWARN to > GFP_NOWAIT globally at some point. Yeah, that makes sense. The caller is explicitly saying that it's okay to fail the allocation. Thanks. -- tejun

Re: [PATCH 7/7] add stm32 multi-functions timer driver in DT

2016-11-22 Thread Alexandre Torgue
Hi Benjamin, On 11/22/2016 05:13 PM, Benjamin Gaignard wrote: Add timers MFD and childs into DT for stm32f4. Define and enable pwm1 and pwm3 for stm32f469 discovery board Signed-off-by: Benjamin Gaignard If you have to send a v2 for this series please change commit header by: "ARM: dts: stm

Re: [PATCH 2/5] power: supply: tps65217: Remove IRQ data from driver data

2016-11-22 Thread Sebastian Reichel
Hi, On Tue, Nov 15, 2016 at 10:18:52PM +0900, Milo Kim wrote: > IRQ number is only used on requesting the interrupt, so no need to keep > it inside the driver data. > In case of polling, poll_task is valid only when polling thread is > activated. > > Cc: Enric Balletbo i Serra > Signed-off-by: M

Re: linux-next: bad commits in the security tree

2016-11-22 Thread Stephen Rothwell
Hi Casey, On Tue, 22 Nov 2016 08:17:24 -0800 Casey Schaufler wrote: > > On 11/22/2016 2:58 AM, Stephen Rothwell wrote: > > Hi James, > > > > I noticed that there are some commits in the security tree that have no > > Signed-off-by from the committer (Casey Schaufler). > > > My understanding is

[PATCH 3/3] firmware: qcom: scm: Add empty functions to help compile testing

2016-11-22 Thread Stanimir Varbanov
This will help to compile testing drivers which depends on scm functions with COMPILE_TEST Kconfig option. Signed-off-by: Stanimir Varbanov --- include/linux/qcom_scm.h | 53 +--- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/include/

Re: [PATCH 0/2] mmc: sdhci-pci: Use ACPI to set max frequency of sdio host

2016-11-22 Thread Zach Brown
On Tue, Nov 22, 2016 at 09:27:29AM +0100, Ulf Hansson wrote: > > Please try to not forget to bump the version number and to provide a > history of the what changes between revisions. It makes life easier > when reviewing and when I am about to apply patches. > Sorry, I'll make sure to include a hi

[PATCH 1/3] remoteproc: qcom: mdt_loader: add include for sizes

2016-11-22 Thread Stanimir Varbanov
Add linux/sizes.h to prevent build failure on non ARM architectures as: CC [M] drivers/remoteproc/qcom_mdt_loader.o In file included from include/linux/cache.h:4:0, from include/linux/printk.h:8, from include/linux/kernel.h:13, from include/asm-g

Re: [PATCH V6 1/2] PCI/ACPI: Provide acpi_get_rc_resources() for ARM64 platform

2016-11-22 Thread Lorenzo Pieralisi
On Tue, Nov 22, 2016 at 04:09:57PM +, Gabriele Paoloni wrote: [...] > > On Tue, Nov 22, 2016 at 08:08:48PM +0800, Dongdong Liu wrote: > > > The acpi_get_rc_resources() is used to get the RC register address > > that can > > > not be described in MCFG. It takes the _HID&segment to look for and

Re: [PATCH V5 00/10] Add UEFI 2.6 and ACPI 6.1 updates for RAS on ARM64

2016-11-22 Thread Baicar, Tyler
Thank you John! Let me know how it goes and if you have any questions :) Tyler On 11/22/2016 4:11 AM, John Garry wrote: + We'll try and test this on our platform. Cheers, John On 21/11/2016 22:35, Tyler Baicar wrote: When a memory error, CPU error, PCIe error, or other type of hardware erro

[PATCH] ARM: dts: sunxi: Add num-cs for A20 spi nodes

2016-11-22 Thread Emmanuel Vadot
The spi0 controller on the A20 have up to 4 CS (Chip Select) while the others three only have 1. Add the num-cs property to each node. Signed-off-by: Emmanuel Vadot --- arch/arm/boot/dts/sun7i-a20.dtsi | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arc

Re: Linux 4.4.34

2016-11-22 Thread Greg KH
On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote: > On Mon, Nov 21, 10:28, Greg KH wrote > > I'm announcing the release of the 4.4.34 kernel. > > > > All users of the 4.4 kernel series must upgrade. > > This update broke PXE boot on our 4-way AMD boxes. The kernel panics in > eth_type_t

Re: Linux 4.4.34

2016-11-22 Thread Eric Dumazet
On Tue, Nov 22, 2016 at 9:06 AM, Greg KH wrote: > On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote: >> On Mon, Nov 21, 10:28, Greg KH wrote >> > I'm announcing the release of the 4.4.34 kernel. >> > >> > All users of the 4.4 kernel series must upgrade. >> >> This update broke PXE boot on

Re: [PATCH 5/7] add bindings for stm32 IIO timer drivers

2016-11-22 Thread Lee Jones
On Tue, 22 Nov 2016, Benjamin Gaignard wrote: > [snip] > >> + "st,stm32-iio-timer5" > >> + "st,stm32-iio-timer6" > >> + "st,stm32-iio-timer7" > >> + "st,stm32-iio-timer8" > >> + "st,stm32-iio-timer9" > >> + "st,stm32-iio-timer10" > >> + "st,stm32-iio-timer11" > >> +

[PATCH net] udplite: call proper backlog handlers

2016-11-22 Thread Eric Dumazet
From: Eric Dumazet In commits 93821778def10 ("udp: Fix rcv socket locking") and f7ad74fef3af ("net/ipv6/udp: UDP encapsulation: break backlog_rcv into __udpv6_queue_rcv_skb") UDP backlog handlers were renamed, but UDPlite was forgotten. This leads to crashes if UDPlite header is pulled twice, wh

Re: linux-next: Tree for Nov 22 (ext4 + dax)

2016-11-22 Thread Stephen Rothwell
Hi Randy, On Tue, 22 Nov 2016 08:48:39 -0800 Randy Dunlap wrote: > > on i386: > > I don't see why this is happening but I reproduced it multiple times. > > fs/built-in.o: In function `ext4_dax_fault': > file.c:(.text+0x6278b): undefined reference to `dax_iomap_fault' > file.c:(.text+0x627dc): u

Re: [PATCH 1/2] uvc_v4l2: Use memdup_user() rather than duplicating its implementation

2016-11-22 Thread Laurent Pinchart
Hi Markus, Thank you for the patch. On Friday 19 Aug 2016 11:23:18 SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 19 Aug 2016 10:50:05 +0200 > > Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This issue was detected by using the Co

Re: [RFC][PATCH 1/3] drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally

2016-11-22 Thread John Stultz
On Tue, Nov 22, 2016 at 12:14 AM, Laurent Pinchart wrote: > On Monday 21 Nov 2016 16:37:30 John Stultz wrote: @@ -545,24 +554,13 @@ static int adv7511_get_modes(struct adv7511 *adv7511, >> unsigned int count; >> >> /* Reading the EDID only works if the device is powered */ >> - if

Re: [PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Rob Clark
On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä wrote: > On Tue, Nov 22, 2016 at 04:41:06PM +, Liviu Dudau wrote: >> drm_get_format_name() de-references the buf parameter without checking >> if the pointer was not NULL. Given that the function is EXPORT-ed, lets >> sanitise the parameters befo

Re: [PATCH 2/2] virtio_ring: fix complaint by sparse

2016-11-22 Thread Andy Lutomirski
On Tue, Nov 22, 2016 at 7:16 AM, Thomas Huth wrote: > On 22.11.2016 16:04, Michael S. Tsirkin wrote: >> On Tue, Nov 22, 2016 at 01:51:50PM +0800, Gonglei wrote: >>> # make C=2 CF="-D__CHECK_ENDIAN__" ./drivers/virtio/ >>> >>> drivers/virtio/virtio_ring.c:423:19: warning: incorrect type in assignm

Applied "ASoC: samsung: smdk_wm8580: Remove old platforms and drop mach-types usage" to the asoc tree

2016-11-22 Thread Mark Brown
The patch ASoC: samsung: smdk_wm8580: Remove old platforms and drop mach-types usage has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the

Re: [PATCH v12 6/7] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID

2016-11-22 Thread Andy Lutomirski
On Nov 21, 2016 12:27 AM, "Ingo Molnar" wrote: > > > * Thomas Gleixner wrote: > > > On Fri, 18 Nov 2016, Ingo Molnar wrote: > > > * Kyle Huey wrote: > > > > + if (test_tsk_thread_flag(prev_p, TIF_NOCPUID) ^ > > > > + test_tsk_thread_flag(next_p, TIF_NOCPUID)) { > > > > + set_cpuid_fa

Re: Linux 4.4.34

2016-11-22 Thread Eric Dumazet
On Tue, Nov 22, 2016 at 9:22 AM, Andre Noll wrote: > On Tue, Nov 22, 18:06, Greg KH wrote >> On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote: >> > On Mon, Nov 21, 10:28, Greg KH wrote >> > > I'm announcing the release of the 4.4.34 kernel. >> > > >> > > All users of the 4.4 kernel serie

Applied "spi: spi-fsl-dspi: Fix incorrect DMA setup" to the spi tree

2016-11-22 Thread Mark Brown
The patch spi: spi-fsl-dspi: Fix incorrect DMA setup has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus d

Applied "spi: spi-topcliff-pch: Remove some dead code" to the spi tree

2016-11-22 Thread Mark Brown
The patch spi: spi-topcliff-pch: Remove some dead code has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH] usb: gadget: uvc: fix returnvar.cocci warnings

2016-11-22 Thread Laurent Pinchart
Hi Andrzej and Julia, Could one of you please submit a patch to fix this ? On Thursday 17 Sep 2015 13:18:04 Andrzej Pietrasiewicz wrote: > Hi Julia, > > W dniu 17.09.2015 o 10:57, Julia Lawall pisze: > > Coccinelle suggests the following patch. But the code is curious. Is the > > function expe

Applied "ASoC: wm_adsp: Remove unused wm_coeff_ctl.kcontrol" to the asoc tree

2016-11-22 Thread Mark Brown
The patch ASoC: wm_adsp: Remove unused wm_coeff_ctl.kcontrol has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent

Re: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-22 Thread Simon Guinot
On Fri, Nov 18, 2016 at 12:20:07PM +0100, Simon Guinot wrote: > On Fri, Nov 18, 2016 at 08:48:36AM +, Levy, Amir (Jer) wrote: > > On Tue, Nov 15 2016, 12:59 PM, Simon Guinot wrote: > > > On Wed, Nov 09, 2016 at 03:42:53PM +, Levy, Amir (Jer) wrote: > > > > On Wed, Nov 9 2016, 04:36 PM, Simo

Applied "ASoC: samsung: Remove non-existing MACH dependencies" to the asoc tree

2016-11-22 Thread Mark Brown
The patch ASoC: samsung: Remove non-existing MACH dependencies has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and se

Applied "ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580" to the asoc tree

2016-11-22 Thread Mark Brown
The patch ASoC: samsung: Enable COMPILE_TEST for SmartQ and WM8580 has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) an

Applied "spi: spi-fsl-dspi: Fix incorrect freeing of DMA allocated buffers" to the spi tree

2016-11-22 Thread Mark Brown
The patch spi: spi-fsl-dspi: Fix incorrect freeing of DMA allocated buffers has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hou

Re: Linux 4.4.34

2016-11-22 Thread Greg KH
On Tue, Nov 22, 2016 at 06:22:47PM +0100, Andre Noll wrote: > On Tue, Nov 22, 18:06, Greg KH wrote > > On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote: > > > On Mon, Nov 21, 10:28, Greg KH wrote > > > > I'm announcing the release of the 4.4.34 kernel. > > > > > > > > All users of the 4.

Applied "spi: spi-fsl-dspi: Fix continuous selection format" to the spi tree

2016-11-22 Thread Mark Brown
The patch spi: spi-fsl-dspi: Fix continuous selection format has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Applied "spi: use sg_next for walking through the allocated scatterlist table" to the spi tree

2016-11-22 Thread Mark Brown
The patch spi: use sg_next for walking through the allocated scatterlist table has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: samsung: Enable COMPILE_TEST for entire Samsung ASoc" to the asoc tree

2016-11-22 Thread Mark Brown
The patch ASoC: samsung: Enable COMPILE_TEST for entire Samsung ASoc has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Is it a possible memory leak in CFQ?

2016-11-22 Thread Yang Shi
Hi folks, When I create some big file (i.e. dd if=/dev/zero of=/home/test/big_file bs=1024k count=10240, then run sync, umount) with kmemleak enabled, kmemleak may report some memory leak occasionally. I would say it happens randomly. Please see the below log: unreferenced object 0x99249e7

Re: [RFC][PATCH] x86: Verify access_ok() context

2016-11-22 Thread Andy Lutomirski
On Tue, Nov 22, 2016 at 1:57 AM, Peter Zijlstra wrote: > > I recently encountered wreckage because access_ok() was used where it > should not be, add an explicit WARN when access_ok() is used wrongly. > > Signed-off-by: Peter Zijlstra (Intel) > --- > arch/x86/include/asm/uaccess.h | 7 +-- >

Re: [PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Ville Syrjälä
On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob Clark wrote: > On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä > wrote: > > On Tue, Nov 22, 2016 at 04:41:06PM +, Liviu Dudau wrote: > >> drm_get_format_name() de-references the buf parameter without checking > >> if the pointer was not NULL. Given

Re: [PATCH] gpio: tegra186: Add support for T186 GPIO

2016-11-22 Thread Thierry Reding
On Tue, Nov 08, 2016 at 12:07:55PM -0700, Stephen Warren wrote: > On 11/02/2016 04:48 AM, Suresh Mangipudi wrote: > > Add GPIO driver for T186 based platforms. > > Adds support for MAIN and AON GPIO's from T186. > > I'm not sure how you/Thierry will approach merging this with the other GPIO > driv

Re: [PATCH] x86: fix kaslr and memmap collision

2016-11-22 Thread Dan Williams
[ replying for Dave since he's offline today and tomorrow ] On Tue, Nov 22, 2016 at 12:47 AM, Ingo Molnar wrote: > > * Dave Jiang wrote: > >> CONFIG_RANDOMIZE_BASE relocates the kernel to a random base address. >> However it does not take into account the memmap= parameter passed in from >> the

Re: [PATCH 0/2] mmc: sdhci-pci: Use ACPI to set max frequency of sdio host

2016-11-22 Thread Ulf Hansson
On 22 November 2016 at 17:37, Zach Brown wrote: > On Tue, Nov 22, 2016 at 09:27:29AM +0100, Ulf Hansson wrote: >> >> Please try to not forget to bump the version number and to provide a >> history of the what changes between revisions. It makes life easier >> when reviewing and when I am about to

[PATCH] driver core: add CLASS_ATTR_WO()

2016-11-22 Thread Greg Kroah-Hartman
Some class subsystems are open-coding CLASS_ATTR_WO because the driver core never provided it. Add the macro to device.h so that we can go around and fix up the individual subsystems as needed. Signed-off-by: Greg Kroah-Hartman --- include/linux/device.h |2 ++ 1 file changed, 2 insertions

Re: net/can: use-after-free in bcm_rx_thr_flush

2016-11-22 Thread Oliver Hartkopp
Hi Andrey, thanks for the report. Although I can't see the issue in the code ... On 11/22/2016 10:22 AM, Andrey Konovalov wrote: == BUG: KASAN: use-after-free in bcm_rx_thr_flush+0x284/0x2b0 Read of size 1 at addr 88006c1faae

Re: [PATCH 5/10] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2016-11-22 Thread Gregory CLEMENT
Hi Rob, On jeu., nov. 10 2016, Ziji Hu wrote: [...] >>> + >>> +- reg: >>> + * For "marvell,xenon-sdhci", one register area for Xenon IP. >>> + >>> + * For "marvell,armada-3700-sdhci", two register areas. >>> +The first one for Xenon IP register. The second one for the Armada >>> 3700 S

Re: What exactly do 32-bit x86 exceptions push on the stack in the CS slot?

2016-11-22 Thread Andy Lutomirski
On Tue, Nov 22, 2016 at 12:30 AM, Ingo Molnar wrote: > > * Linus Torvalds wrote: > >> On Sun, Nov 20, 2016 at 11:13 PM, Ingo Molnar wrote: >> > >> > So I have applied your fix that addresses the worst fallout directly: >> > >> > fc0e81b2bea0 x86/traps: Ignore high word of regs->cs in >> > ear

[PATCH] thermal: hwmon: Properly report critical temperature in sysfs

2016-11-22 Thread Krzysztof Kozlowski
In the critical sysfs entry the thermal hwmon was returning wrong temperature to the user-space. It was reporting the temperature of the first trip point instead of the temperature of critical trip point. For example: /sys/class/hwmon/hwmon0/temp1_crit:5 /sys/class/thermal/the

Re: [PATCH][V4] nbd: add multi-connection support

2016-11-22 Thread Wouter Verhelst
Hi Josef, [cc to nbd-general added] On Thu, Nov 17, 2016 at 03:27:30PM -0500, Josef Bacik wrote: > NBD can become contended on its single connection. We have to serialize all > writes and we can only process one read response at a time. Fix this by > allowing userspace to provide multiple conne

Re: [PATCH] drm: check for NULL parameter in exported drm_get_format_name() function.

2016-11-22 Thread Rob Clark
On Tue, Nov 22, 2016 at 12:31 PM, Ville Syrjälä wrote: > On Tue, Nov 22, 2016 at 12:23:59PM -0500, Rob Clark wrote: >> On Tue, Nov 22, 2016 at 11:50 AM, Ville Syrjälä >> wrote: >> > On Tue, Nov 22, 2016 at 04:41:06PM +, Liviu Dudau wrote: >> >> drm_get_format_name() de-references the buf para

[PATCH] [hv] storvsc: Payload buffer incorrectly sized for 32 bit kernels.

2016-11-22 Thread Cathy Avery
On a 32 bit kernel sizeof(void *) is not 64 bits as hv_mpb_array requires. Also the buffer needs to be cleared or the upper bytes could contain junk. Suggested-by: Vitaly Kuznets Signed-off-by: Cathy Avery --- drivers/scsi/storvsc_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) d

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-22 Thread Mario.Limonciello
> Here are a couple of additional questions: > > - When the network interface is created, there is no IP address > assigned (or negotiated ?) on the Linux side. But it is done on the > MacOS side. And in the Linux kernel logs I can also read the message: > "ready for ThunderboltIP negotiatio

[PATCH v2] powernv: Handle wakeup from idle due to SRESET

2016-11-22 Thread Gautham R. Shenoy
From: "Gautham R. Shenoy" The existing code doesn't handle the case when CPU which was in a hardware-idle state (nap,sleep,winkle on POWER8 and various stop states on POWER9) gets woken up due to a System Reset interrupt. This patch checks if the CPU was woken up due to System Reset, in which ca

Re: net/can: use-after-free in bcm_rx_thr_flush

2016-11-22 Thread Andrey Konovalov
On Tue, Nov 22, 2016 at 6:29 PM, Oliver Hartkopp wrote: > Hi Andrey, > > thanks for the report. > > Although I can't see the issue in the code ... > > On 11/22/2016 10:22 AM, Andrey Konovalov wrote: > >> == >> BUG: KASAN: use-after-fr

Re: [RFC][PATCH 1/3] drm/bridge: adv7511: Rework adv7511_power_on/off() so they can be reused internally

2016-11-22 Thread Laurent Pinchart
Hi John, On Tuesday 22 Nov 2016 09:25:22 John Stultz wrote: > On Tue, Nov 22, 2016 at 12:14 AM, Laurent Pinchart wrote: > > On Monday 21 Nov 2016 16:37:30 John Stultz wrote: > @@ -545,24 +554,13 @@ static int adv7511_get_modes(struct adv7511 *adv7511, > >> unsigned int count; > >> >

Re: [PATCH 1/2] PCI: iproc: fix 32-bit build

2016-11-22 Thread Ray Jui
On 11/22/2016 6:17 AM, Arnd Bergmann wrote: > The newly added code to setup the inbound ranges causes a link error > on 32-bit machines from a 32-bit division: > > drivers/pci/host/pcie-iproc.o: In function `iproc_pcie_setup_ib': > pcie-iproc.c:(.text.iproc_pcie_setup_ib+0x14c): undefined refere

Re: Linux 4.4.34

2016-11-22 Thread Duyck, Alexander H
On Tue, 2016-11-22 at 09:14 -0800, Eric Dumazet wrote: > On Tue, Nov 22, 2016 at 9:06 AM, Greg KH wrote: > > > > On Tue, Nov 22, 2016 at 05:59:12PM +0100, Andre Noll wrote: > > > > > > On Mon, Nov 21, 10:28, Greg KH wrote > > > > > > > > I'm announcing the release of the 4.4.34 kernel. > > > >

Re: [PATCH v2] kvm: x86: don't print warning messages for unimplemented msrs

2016-11-22 Thread Radim Krčmář
2016-11-15 01:36-0500, Bandan Das: > > Change unimplemented msrs messages to use pr_debug. > If CONFIG_DYNAMIC_DEBUG is set, then these messages can be > enabled at run time or else -DDEBUG can be used at compile > time to enable them. These messages will still be printed if > ignore_msrs=1. > >

[PATCH] clk: bcm: Fix unmet Kconfig dependencies for CLK_BCM_63XX

2016-11-22 Thread Florian Fainelli
With commit f4e871509959 ("clk: iproc: Make clocks visible options"), COMMON_CLK_IPROC gained a dependency on ARCH_BCM_IPROC, yet CLK_BCM_63XX also selects that option, this causes the following Kconfig warning: warning: (CLK_BCM_63XX) selects COMMON_CLK_IPROC which has unmet direct dependencies (

<    1   2   3   4   5   6   7   8   9   10   >