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

2017-01-20 Thread Baoyou Xie
Add the zx2967 watchdog controller driver as maintained by ARM ZTE architecture maintainers, as they're parts of the core IP. Signed-off-by: Baoyou Xie --- MAINTAINERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index edfdea3..275c434 100644 --- a/MAINTAINERS

[PATCH v3 3/3] watchdog: zx2967: add watchdog controller driver for ZTE's zx2967 family

2017-01-20 Thread Baoyou Xie
This patch adds watchdog controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie --- drivers/watchdog/Kconfig | 10 ++ drivers/watchdog/Makefile | 1 + drivers/watchdog/zx2967_wdt.c | 376 ++ 3 files changed, 387 insertions(+) cre

namespace: deadlock in dec_pid_namespaces

2017-01-20 Thread Dmitry Vyukov
Hello, I've got the following deadlock report while running syzkaller fuzzer on eec0d3d065bfcdf9cd5f56dd2a36b94d12d32297 of linux-next (on odroid device if it matters): = [ INFO: inconsistent lock state ] 4.10.0-rc3-next-20170112-xc2-dirty #6 Not tainted --

Re: [patch 3/5] kvmclock: export kvmclock clocksource pointer

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 13:20, Marcelo Tosatti wrote: > To be used by KVM PTP driver. > > Signed-off-by: Marcelo Tosatti > > --- > arch/x86/include/asm/kvmclock.h |6 ++ > arch/x86/kernel/kvmclock.c |6 ++ > 2 files changed, 12 insertions(+) > > Index: kvm-ptpdriver/arch/x86/inclu

Re: [PATCH] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Marcelo Ricardo Leitner
On Fri, Jan 20, 2017 at 01:01:57PM +, Colin King wrote: > From: Colin Ian King > > The comparison on the timeout can lead to an array overrun > read on sctp_timer_tbl because of an off-by-one error. Fix > this by using < instead of <= and also compare to the array > size rather than SCTP_EVEN

Re: [patch 0/5] KVM virtual PTP driver (v3)

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 13:20, Marcelo Tosatti wrote: > PHC0 0 3 377 7 -141ns[ +234ns] ±7ns > #* PHC0 0 3 377 5 -197ns[ -403ns] ±3ns > #* PHC0 0 3 37711 +157ns[ +264ns] ±3ns > #* PHC0

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Paolo Valente
> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: > > This is basically identical to deadline-iosched, except it registers > as a MQ capable scheduler. This is still a single queue design. > Jens, no spin_lock_irq* in the code. So, also request dispatches are guaranteed to never

Re: [patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
On Fri, Jan 20, 2017 at 01:58:33PM +0100, Paolo Bonzini wrote: > > > On 20/01/2017 13:20, Marcelo Tosatti wrote: > > + ret = kvm_hypercall2(KVM_HC_CLOCK_PAIRING, > > +clock_off_gpa, > > +KVM_CLOCK_PAIRING_WALLCLOCK); > > +

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Marcelo Tosatti
On Fri, Jan 20, 2017 at 01:55:27PM +0100, Paolo Bonzini wrote: > > > On 20/01/2017 13:20, Marcelo Tosatti wrote: > > kernel/time/timekeeping.c| 79 > > +++ > > Why not leave this in drivers/ptp/ptp_chardev.c? timekeeper_lock > > + if (pt

Re: [PATCH v2 1/2] HID: multitouch: enable Surface 3 Type Cover Pro to report multitouch data

2017-01-20 Thread Benjamin Tissoires
On Jan 19 2017 or thereabouts, Dennis Chen wrote: > Nearly identical to the previous set of patches related to Microsoft > Surface Keyboards. > > Removes Surface Pro 3 generation TypeCover support from hid-microsoft > so proper multitouch data can be reported from the touchpad. > > Signed-off-by:

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > > On Thu, 2017-01-19 at 14:23 +0100, Greg KH wrote: > > > > On Fri, Jan 13, 2017 at 09:07:57PM +0100, M

Re: [PATCH] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Colin Ian King
On 20/01/17 13:10, Marcelo Ricardo Leitner wrote: > On Fri, Jan 20, 2017 at 01:01:57PM +, Colin King wrote: >> From: Colin Ian King >> >> The comparison on the timeout can lead to an array overrun >> read on sctp_timer_tbl because of an off-by-one error. Fix >> this by using < instead of <= an

Re: [PATCH v2] PM / Domains: Keep the pd status during system PM phases

2017-01-20 Thread Ulf Hansson
On 20 January 2017 at 03:21, Elaine Zhang wrote: > If a PM domain is powered off before system suspend, > we hope do nothing in system runtime suspend noirq phase > and system runtime resume noirq phase. One can hope, but that isn't good enough. :-) > > This modify is to slove system resume iss

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Paolo Valente
> Il giorno 20 gen 2017, alle ore 14:14, Paolo Valente > ha scritto: > >> >> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: >> >> This is basically identical to deadline-iosched, except it registers >> as a MQ capable scheduler. This is still a single queue design. >> > > Je

Re: [PATCH] power: reset: Add MAX77620 support

2017-01-20 Thread Thierry Reding
On Fri, Jan 20, 2017 at 01:44:04PM +0100, Sebastian Reichel wrote: > Hi, > > On Thu, Jan 19, 2017 at 03:29:34PM -0800, Guenter Roeck wrote: > > On Fri, Jan 20, 2017 at 12:00:36AM +0100, Sebastian Reichel wrote: > > I actually have a set of patches somewhere which transforms the remaining > > direc

Re: [PATCH] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Marcelo Ricardo Leitner
On Fri, Jan 20, 2017 at 01:15:18PM +, Colin Ian King wrote: > On 20/01/17 13:10, Marcelo Ricardo Leitner wrote: > > On Fri, Jan 20, 2017 at 01:01:57PM +, Colin King wrote: > >> From: Colin Ian King > >> > >> The comparison on the timeout can lead to an array overrun > >> read on sctp_timer

Re: New attempt at adding an disassembler to perf

2017-01-20 Thread Jiri Olsa
On Wed, Jan 18, 2017 at 05:41:45PM -0800, Andi Kleen wrote: > A native disassembler in perf is very useful, in particular with perf script > to trace > instruction streams, but also for other analysis. Previously I attempted > to do this using the udis86 library, but that was rejected because: >

[PATCH v12 0/5] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2017-01-20 Thread Grzegorz Andrejczuk
Following patches enable the use of the feature that allows the Intel Xeon Phi x200 devices to use MONITOR/MWAIT instructions outside ring 0. This feature allows userspace application to use more efficient synchronization operations, which improves performance and energy efficiency. v12: Removed u

[PATCH v12 1/5] x86/msr: add MSR_MISC_FEATURE_ENABLES and RING3MWAIT bit

2017-01-20 Thread Grzegorz Andrejczuk
Define new MSR MISC_FEATURE_ENABLES (0x140). On supported CPUs if bit 1 of this new register is set, then calling MONITOR and MWAIT instructions outside of ring 0 will not cause invalid-opcode exception. The MSR MISC_FEATURE_ENABLES is not yet documented in the SDM. Here is the relevant documentat

[PATCH v12 4/5] x86/cpufeature: enable RING3MWAIT for Knights Landing

2017-01-20 Thread Grzegorz Andrejczuk
Enable ring 3 MONITOR/MWAIT for Intel Xeon Phi x200 codenamed Knights Landing. Presence of this feature cannot be detected automatically (by reading any other MSR) therefore it is required to explicitly check for the family and model of the CPU before attempting to enable it. Signed-off-by: Grzeg

Re: linux-next: manual merge of the scsi tree with the tip tree

2017-01-20 Thread Stephen Rothwell
Hi Ingo, On Fri, 20 Jan 2017 07:35:52 +0100 Ingo Molnar wrote: > > I only had that patch for testing and it went into the -next branch by > accident - > I have removed it so the conflict should be gone next time -next is > integrated. Thanks, these things happen. -- Cheers, Stephen Rothwell

Re: [tpmdd-devel] [PATCH 1/2] tpm2: add session handle isolation to tpm spaces

2017-01-20 Thread Jarkko Sakkinen
On Thu, Jan 19, 2017 at 07:11:23AM -0500, James Bottomley wrote: > On Thu, 2017-01-19 at 13:58 +0200, Jarkko Sakkinen wrote: > > On Wed, Jan 18, 2017 at 10:09:46AM -0500, James Bottomley wrote: > > > sessions should be isolated during each instance of a tpm space. > > > This means that spaces sho

[PATCH v12 5/5] x86/cpufeature: enable RING3MWAIT for Knights Mill

2017-01-20 Thread Grzegorz Andrejczuk
From: Piotr Luc Enable ring 3 MONITOR/MWAIT for Intel Xeon Phi codenamed Knights Mill. We can't guarantee that this (KNM) will be the last CPU model that needs this hack. But, we do recognize that this is far from optimal, and there is an effort to ensure we don't keep doing extending this hack f

Re: [PATCH 1/3] Input: add STMicroelectronics FingerTip touchscreen driver

2017-01-20 Thread Rob Herring
On Thu, Jan 19, 2017 at 6:19 PM, Andi Shyti wrote: > Hi Rob, > >> > +- compatible : must be "st,stmfts" >> >> Seems too generic. Is this a single device? > > the device is precisely called ST-Microelectronics FingerTip S > (stmfts). There are variants, but they all have the same name

[PATCH v12 3/5] x86/cpufeature: add RING3MWAIT to CPU features

2017-01-20 Thread Grzegorz Andrejczuk
Add software-defined CPUID bit for the non-architectural ring 3 MONITOR/MWAIT feature. Signed-off-by: Grzegorz Andrejczuk --- arch/x86/include/asm/cpufeatures.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatu

[PATCH v12 2/5] x86/elf: add HWCAP2 to expose ring 3 MONITOR/MWAIT

2017-01-20 Thread Grzegorz Andrejczuk
Introduce ELF_HWCAP2 variable for x86 and reserve its bit 0 to expose the ring 3 MONITOR/MWAIT. HWCAP variables contain bitmask which can be used by userspace applications to detect what instruction sets are supported by CPU. On x86 architecture information about CPU capabilities can be checked vi

[PATCH] power: supply: bq2415x: check for NULL acpi_id to avoid null pointer dereference

2017-01-20 Thread Colin King
From: Colin Ian King acpi_match_device can potentially return NULL, so it is prudent to check if acpi_id is null before it is dereferenced. Add a check and an error message to indicate the failure. Signed-off-by: Colin Ian King --- drivers/power/supply/bq2415x_charger.c | 5 + 1 file chan

Re: [PATCH v2] mtd: spi-nor: Fix S3AN addressing calculation

2017-01-20 Thread Cyrille Pitchen
Le 18/01/2017 à 17:40, Ricardo Ribalda Delgado a écrit : > The page calculation under spi_nor_s3an_addr_convert() was wrong. On > Default Address Mode we need to perform a divide by page_size. > > Fixes: 61cba34bd6c1 ("mtd: spi-nor: Add support for S3AN spi-nor devices") > Signed-off-by: Ricardo R

Re: namespace: deadlock in dec_pid_namespaces

2017-01-20 Thread Nikolay Borisov
On 20.01.2017 15:07, Dmitry Vyukov wrote: > Hello, > > I've got the following deadlock report while running syzkaller fuzzer > on eec0d3d065bfcdf9cd5f56dd2a36b94d12d32297 of linux-next (on odroid > device if it matters): > > = > [ INFO: inconsistent lock state ]

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Greg KH
On Fri, Jan 20, 2017 at 02:16:11PM +0100, Adam Borowski wrote: > On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > > On Thu, Jan 19, 2017 at 05:12:15PM +0100, Manuel Schölling wrote: > > > > On Thu, 2017-01-19 at 14:23 +0

Re: [PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Tejun Heo
On Fri, Jan 20, 2017 at 12:21:51PM +0100, Bartosz Golaszewski wrote: > This series contains all the changes necessary to make SATA work on > the da850-lcdk board. > > The first patch adds DT bindings for the ahci-da850 driver. > > The second enables relevant modules in davinci_all_defconfig. > >

Re: Linux 4.10-rc2 arm: dmesg flooded with alloc_contig_range: [X, Y) PFNs busy

2017-01-20 Thread Vlastimil Babka
On 01/18/2017 01:23 AM, Shuah Khan wrote: > Hi, > > dmesg floods with PFNs busy messages. > > [10119.071455] alloc_contig_range: [bb900, bbc00) PFNs busy > [10119.071631] alloc_contig_range: [bba00, bbd00) PFNs busy > [10119.071762] alloc_contig_range: [bbb00, bbe00) PFNs busy > [10119.071940] al

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 14:07, Marcelo Tosatti wrote: > On Fri, Jan 20, 2017 at 01:55:27PM +0100, Paolo Bonzini wrote: >> >> >> On 20/01/2017 13:20, Marcelo Tosatti wrote: >>> kernel/time/timekeeping.c| 79 >>> +++ >> >> Why not leave this in drivers/ptp/ptp_c

Re: [PATCH 3/3] pinctrl / gpio: Introduce .set_config() callback for GPIO chips

2017-01-20 Thread Mika Westerberg
On Fri, Jan 20, 2017 at 10:13:05AM +0100, Linus Walleij wrote: > > +static int gpio_set_drive_mode(struct gpio_chip *gc, unsigned offset, > > + enum pin_config_param mode) > > +{ > > + unsigned long config = { PIN_CONF_PACKED(mode, 0) }; > > + > > + return g

Applied "ASoC: sun4i-spdif: Add support for the H3 SoC" to the asoc tree

2017-01-20 Thread Mark Brown
The patch ASoC: sun4i-spdif: Add support for the H3 SoC 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 to L

Applied "ASoC: sunxi: Add bindings for sun8i to SPDIF" to the asoc tree

2017-01-20 Thread Mark Brown
The patch ASoC: sunxi: Add bindings for sun8i to SPDIF 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 to Li

Re: [PATCH v7] tpm: Check size of response before accessing data

2017-01-20 Thread Jarkko Sakkinen
On Thu, Jan 19, 2017 at 07:19:12AM -0500, Stefan Berger wrote: > Make sure that we have not received less bytes than what is indicated > in the header of the TPM response. Also, check the number of bytes in > the response before accessing its data. > > Signed-off-by: Stefan Berger Reviewed-by: J

Re: [PATCH 2/2] [media] exynos-gsc: Fix imprecise external abort due disabled power domain

2017-01-20 Thread Javier Martinez Canillas
Hello Marek, On 01/20/2017 05:08 AM, Marek Szyprowski wrote: [snip] >> >> This seems to be caused by some needed clocks to access the power domains >> to be gated, since I don't get these erros when passing clk_ignore_unused >> as parameter in the kernel command line. > > I think that those iss

Re: [tpmdd-devel] [PATCH RFC v3 5/5] tpm2: expose resource manager via a device link /dev/tpms

2017-01-20 Thread Jarkko Sakkinen
On Thu, Jan 19, 2017 at 07:19:40AM -0500, James Bottomley wrote: > On Thu, 2017-01-19 at 12:49 +0200, Jarkko Sakkinen wrote: > > On Wed, Jan 18, 2017 at 10:01:03AM -0500, James Bottomley wrote: > > > On Mon, 2017-01-16 at 15:12 +0200, Jarkko Sakkinen wrote: > > > > From: James Bottomley > > > > >

Re: Nokia N900: microphone mixers

2017-01-20 Thread Pali Rohár
On Friday 20 January 2017 14:31:59 Pavel Machek wrote: > Hi! > > Do you have any idea how to control the microphone? I'd like the audio > source to be microphone on headset (not the built in one). So I run > alsamixer, set everything in "capture" section to zero... and I still > get the audio from

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

2017-01-20 Thread Jarkko Sakkinen
On Thu, Jan 19, 2017 at 07:59:04AM -0500, James Bottomley wrote: > On Thu, 2017-01-19 at 14:25 +0200, Jarkko Sakkinen wrote: > > On Wed, Jan 18, 2017 at 03:48:09PM -0500, James Bottomley wrote: > > > In a TPM2, sessions can be globally exhausted once there are > > > TPM_PT_ACTIVE_SESSION_MAX of the

Re: [RFC] dmaengine: Add DW AXI DMAC driver

2017-01-20 Thread Andy Shevchenko
On Fri, 2017-01-20 at 13:50 +0300, Eugeniy Paltsev wrote: > This patch adds support for the DW AXI DMAC controller. > > DW AXI DMAC is a part of upcoming development board from Synopsys. > > In this driver implementation only DMA_MEMCPY and DMA_SG transfers > are supported. > > Note: there is no

Nokia N900: microphone mixers

2017-01-20 Thread Pavel Machek
Hi! Do you have any idea how to control the microphone? I'd like the audio source to be microphone on headset (not the built in one). So I run alsamixer, set everything in "capture" section to zero... and I still get the audio from the internal microphone :-(. Tested with arecord | aplay. Any id

Re: [PATCH 1/3 v2] ahci: qoriq: added a condition to enable dma coherence

2017-01-20 Thread Tejun Heo
On Fri, Jan 20, 2017 at 02:59:34PM +0800, yuantian.t...@nxp.com wrote: > From: Tang Yuantian > > Enable DMA coherence in SATA controller on condition that > dma-coherent property exists in sata node in DTS. > > Signed-off-by: Tang Yuantian Applied to libata/for-4.11. Thanks. -- tejun

Re: [PATCH 02/17] HID: logitech-hidpp: Add scope to battery

2017-01-20 Thread Jiri Kosina
On Tue, 17 Jan 2017, Benjamin Tissoires wrote: > From: Bastien Nocera > > Without a scope defined, UPower assumes that the battery is provide > power to the computer it's connected to, like a laptop battery or a UPS. > > Tested-by: Peter Hutterer > Signed-off-by: Bastien Nocera > Signed-off-b

Re: [PATCH v5 01/14] devicetree: bindings: add bindings for ahci-da850

2017-01-20 Thread Sekhar Nori
Hi Rob, On Friday 20 January 2017 04:51 PM, Bartosz Golaszewski wrote: > Add DT bindings for the TI DA850 AHCI SATA controller. > > Signed-off-by: Bartosz Golaszewski Could you ack this binding? Thanks, Sekhar > --- > Documentation/devicetree/bindings/ata/ahci-da850.txt | 15 +++

[PATCH][V2] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Colin King
From: Colin Ian King Table sctp_timer_tbl is missing a TIMEOUT_RECONF string so add this in. Also compare timeout with the size of the array sctp_timer_tbl rather than SCTP_EVENT_TIMEOUT_MAX. Also add a build time check that SCTP_EVENT_TIMEOUT_MAX is correct so we don't ever get this kind of mis

Re: [PATCH v4 0/4] Support for LEGO MINDSTORMS EV3

2017-01-20 Thread Sekhar Nori
On Saturday 14 January 2017 12:33 AM, David Lechner wrote: > This patch series adds support for LEGO MINDSTORMS EV3. This is a TI AM1808 > based board. Series applied with Rob's acks. Thanks, Sekhar

Re: [PATCH] power: reset: Add MAX77620 support

2017-01-20 Thread Sebastian Reichel
Hi, On Fri, Jan 20, 2017 at 02:11:16PM +0100, Thierry Reding wrote: > On Fri, Jan 20, 2017 at 01:44:04PM +0100, Sebastian Reichel wrote: > > Hi, > > > > On Thu, Jan 19, 2017 at 03:29:34PM -0800, Guenter Roeck wrote: > > > On Fri, Jan 20, 2017 at 12:00:36AM +0100, Sebastian Reichel wrote: > > > I

Re: [PATCH v2 0/9] Serial slave device bus

2017-01-20 Thread Greg Kroah-Hartman
On Mon, Jan 16, 2017 at 04:54:27PM -0600, Rob Herring wrote: > Here's a new version of the serdev bus support with all the review > feedback so far incorporated. I've left it named serdev for now pending > any further votes one way or the other, but I did rename the sysfs visible > portions to "ser

Re: [PATCH v3 00/24] i.MX Media Driver

2017-01-20 Thread Hans Verkuil
Hi Steve, Philipp, On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > In version 3: > > Changes suggested by Rob Herring : > > - prepended FIM node properties with vendor prefix "fsl,". > > - make mipi csi-2 receiver compatible string SoC specific: > "fsl,imx6-mipi-csi2" instead of "fsl,

Re: [PATCH 5/6] treewide: use kv[mz]alloc* rather than opencoded variants

2017-01-20 Thread Vlastimil Babka
On 01/12/2017 06:37 PM, Michal Hocko wrote: > On Thu 12-01-17 09:26:09, Kees Cook wrote: >> On Thu, Jan 12, 2017 at 7:37 AM, Michal Hocko wrote: > [...] >>> diff --git a/arch/s390/kvm/kvm-s390.c b/arch/s390/kvm/kvm-s390.c >>> index 4f74511015b8..e6bbb33d2956 100644 >>> --- a/arch/s390/kvm/kvm-s390

Re: [PATCH v2] mtd: spi-nor: Fix S3AN addressing calculation

2017-01-20 Thread Marek Vasut
On 01/20/2017 02:26 PM, Cyrille Pitchen wrote: > Le 18/01/2017 à 17:40, Ricardo Ribalda Delgado a écrit : >> The page calculation under spi_nor_s3an_addr_convert() was wrong. On >> Default Address Mode we need to perform a divide by page_size. >> >> Fixes: 61cba34bd6c1 ("mtd: spi-nor: Add support f

[GIT PULL] arm64 fixes for 4.10-rc5

2017-01-20 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fixes below for 4.10. Thanks. The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5: Linux 4.10-rc4 (2017-01-15 16:21:59 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64

Re: [PATCH RFC] vfio error recovery: kernel support

2017-01-20 Thread Alex Williamson
On Fri, 20 Jan 2017 18:13:22 +0800 Cao jin wrote: > On 01/20/2017 04:16 AM, Michael S. Tsirkin wrote: > > This is a design and an initial patch for kernel side for AER > > support in VFIO. > > > > 0. What happens now (PCIE AER only) > >Fatal errors cause a link reset. > >Non fatal errors

[PATCH] Bluetooth: hidp: might sleep error in hidp_session_thread

2017-01-20 Thread Jeffy Chen
[ 39.044329] do not call blocking ops when !TASK_RUNNING; state=1 set at [] hidp_session_thread+0x110/0x568 [hidp] ... [ 40.159664] Call trace: [ 40.162122] [] __might_sleep+0x64/0x90 [ 40.167443] [] lock_sock_nested+0x30/0x78 [ 40.173047] [] l2cap_sock_sendmsg+0x90/0xf0 [bluetooth] [ 4

Re: [PATCH v3 12/24] add mux and video interface bridge entity functions

2017-01-20 Thread Hans Verkuil
On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > From: Philipp Zabel > > Signed-off-by: Philipp Zabel > --- > Documentation/media/uapi/mediactl/media-types.rst | 22 ++ > include/uapi/linux/media.h| 6 ++ > 2 files changed, 28 insertions(+) > >

Re: [PATCH 6/7] drm/exynos/decon5433: signal vblank only on odd fields

2017-01-20 Thread Ville Syrjälä
On Fri, Jan 20, 2017 at 07:52:24AM +0100, Andrzej Hajda wrote: > In case of interlace mode irq is generated for odd and even fields, but > vblank should be signaled only for the last emitted field. I'm pretty sure most drivers signal it for both fields. At least i915 does. > > Signed-off-by: And

Re: [PATCH] clk: samsung: exynos5420: Mark CLK_ACLK432_SCALER as CLK_IS_CRITICAL

2017-01-20 Thread Sylwester Nawrocki
On 01/20/2017 01:32 PM, Sylwester Nawrocki wrote: > On 01/20/2017 11:41 AM, Javier Martinez Canillas wrote: >> On Exynos5800 SoC the SCALER block uses 2 input clocks: CLK_ACLK_300_GSCL >> and CLK_ACLK432_SCALER, so both needs to be ungated in order to access it. >> >> But Exynos5420 only has the CL

Re: [PATCH v2 0/9] Serial slave device bus

2017-01-20 Thread Linus Walleij
On Mon, Jan 16, 2017 at 11:54 PM, Rob Herring wrote: > There's still some discussion about what to do with devices that pass thru > data to userspace unmodified like GPS and could still use tty device for > the data path. IMO, we should treat this as a separate problem following > this series. Dr

Re: [PATCH][V2] net: sctp: fix array overrun read on sctp_timer_tbl

2017-01-20 Thread Marcelo Ricardo Leitner
On Fri, Jan 20, 2017 at 01:45:42PM +, Colin King wrote: > From: Colin Ian King > > Table sctp_timer_tbl is missing a TIMEOUT_RECONF string so > add this in. Also compare timeout with the size of the array > sctp_timer_tbl rather than SCTP_EVENT_TIMEOUT_MAX. Also add > a build time check that

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-20 Thread Ulf Hansson
+ Sudeep On 19 January 2017 at 00:03, Rob Herring wrote: > On Tue, Jan 17, 2017 at 6:07 PM, Kevin Hilman wrote: >> Tero Kristo writes: >>> On 17/01/17 00:12, Dave Gerlach wrote: On 01/13/2017 08:40 PM, Rob Herring wrote: > On Fri, Jan 13, 2017 at 2:28 PM, Dave Gerlach wrote: > > [...]

Re: [RFC v2 4/5] DT bindings documentation for Synopsys UDC platform driver

2017-01-20 Thread Rob Herring
On Thu, Jan 19, 2017 at 4:56 PM, Florian Fainelli wrote: > On 01/19/2017 02:36 PM, Scott Branden wrote: > The driver stands alone from the SoC and does not need compatibility > strings per SoC. New SoCs will use the exact same block. Even if you take the exact same block and put

Re: Nokia N900: microphone mixers

2017-01-20 Thread Pavel Machek
On Fri 2017-01-20 14:38:30, Pali Rohár wrote: > On Friday 20 January 2017 14:31:59 Pavel Machek wrote: > > Hi! > > > > Do you have any idea how to control the microphone? I'd like the audio > > source to be microphone on headset (not the built in one). So I run > > alsamixer, set everything in "ca

Re: [PATCH] clk: samsung: exynos5420: Mark CLK_ACLK432_SCALER as CLK_IS_CRITICAL

2017-01-20 Thread Javier Martinez Canillas
Hello Sylwester, On 01/20/2017 10:55 AM, Sylwester Nawrocki wrote: > On 01/20/2017 01:32 PM, Sylwester Nawrocki wrote: >> On 01/20/2017 11:41 AM, Javier Martinez Canillas wrote: >>> On Exynos5800 SoC the SCALER block uses 2 input clocks: CLK_ACLK_300_GSCL >>> and CLK_ACLK432_SCALER, so both needs

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Radim Krcmar
2017-01-20 14:36+0100, Paolo Bonzini: > On 20/01/2017 14:07, Marcelo Tosatti wrote: >> On Fri, Jan 20, 2017 at 01:55:27PM +0100, Paolo Bonzini wrote: >>> >>> >>> On 20/01/2017 13:20, Marcelo Tosatti wrote: kernel/time/timekeeping.c| 79 +++ >

Re: [PATCH v3 13/24] platform: add video-multiplexer subdevice driver

2017-01-20 Thread Hans Verkuil
On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > From: Philipp Zabel > > This driver can handle SoC internal and external video bus multiplexers, > controlled either by register bit fields or by a GPIO. The subdevice > passes through frame interval and mbus configuration of the active input > to

Re: [PATCH] clk: samsung: exynos5420: Mark CLK_ACLK432_SCALER as CLK_IS_CRITICAL

2017-01-20 Thread Javier Martinez Canillas
On 01/20/2017 11:00 AM, Javier Martinez Canillas wrote: > On 01/20/2017 10:55 AM, Sylwester Nawrocki wrote: [snip] >> >> Oops, the $subject patch can be dropped since as Marek just pointed out >> to me the changes introduced by that patch are already included in a patch >> which is already in the

[PATCH 2/8] clk: renesas: cpg-mssr: Document suitability for RZ/G1

2017-01-20 Thread Geert Uytterhoeven
The Renesas CPG/MSSR driver is already in active use for RZ/G1 since commits c0b2d75d2a4bf6a3 ("clk: renesas: cpg-mssr: Add R8A7743 support") and 9127d54bb8947159 ("clk: renesas: cpg-mssr: Add R8A7745 support"). Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/renesas-cpg-mssr.c | 2 +-

[PATCH 6/8] arm64: dts: r8a7796: Add reset control properties

2017-01-20 Thread Geert Uytterhoeven
Add properties to describe the reset topology for on-SoC devices: - Add the "#reset-cells" property to the CPG/MSSR device node, - Add resets and reset-names properties to the various device nodes. This allows to reset SoC devices using the Reset Controller API. Note that all resets added mat

[PATCH 8/8] ARM: dts: r8a7745: Add reset control properties

2017-01-20 Thread Geert Uytterhoeven
Add properties to describe the reset topology for on-SoC devices: - Add the "#reset-cells" property to the CPG/MSSR device node, - Add resets and reset-names properties to the various device nodes. This allows to reset SoC devices using the Reset Controller API. Note that all resets added mat

[PATCH 5/8] arm64: dts: r8a7795: Add reset control properties

2017-01-20 Thread Geert Uytterhoeven
Add properties to describe the reset topology for on-SoC devices: - Add the "#reset-cells" property to the CPG/MSSR device node, - Add resets and reset-names properties to the various device nodes. This allows to reset SoC devices using the Reset Controller API. Note that resets usually match

[PATCH 7/8] ARM: dts: r8a7743: Add reset control properties

2017-01-20 Thread Geert Uytterhoeven
Add properties to describe the reset topology for on-SoC devices: - Add the "#reset-cells" property to the CPG/MSSR device node, - Add resets and reset-names properties to the various device nodes. This allows to reset SoC devices using the Reset Controller API. Note that all resets added mat

[PATCH 4/8] clk: renesas: cpg-mssr: Add support for reset control

2017-01-20 Thread Geert Uytterhoeven
Add optional support for the Reset Control feature of the Renesas Clock Pulse Generator / Module Standby and Software Reset module on R-Car Gen2, R-Car Gen3, and RZ/G1 SoCs. This allows to reset SoC devices using the Reset Controller API. Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesa

[PATCH 0/8] Renesas CPG/MSSR Reset Control Support

2017-01-20 Thread Geert Uytterhoeven
Hi all, This patch series adds reset control support to the Renesas Clock Pulse Generator / Module Standby and Software Reset module, on the R-Car H3 and M3-W, RZ/G1M, and RZ/G1E SoCs. - Patch 1 amends the Renesas CPG/MSSR DT bindings for reset control, - Patches 2-4 add reset control

[PATCH 3/8] clk: renesas: cpg-mssr: Rename cpg_mssr_priv.mstp_lock

2017-01-20 Thread Geert Uytterhoeven
The spinlock is used to protect Read-Modify-Write register accesses, which won't be limited to SMSTPCR register accesses. Signed-off-by: Geert Uytterhoeven --- drivers/clk/renesas/renesas-cpg-mssr.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/clk/renesa

[PATCH 1/8] clk: renesas: cpg-mssr: Document reset control support

2017-01-20 Thread Geert Uytterhoeven
Document properties needed to use the Reset Control feature of the Renesas Clock Pulse Generator / Module Standby and Software Reset module. Signed-off-by: Geert Uytterhoeven --- Documentation/devicetree/bindings/clock/renesas,cpg-mssr.txt | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Bartosz Golaszewski
2017-01-20 14:56 GMT+01:00 Sekhar Nori : > Hi Tejun, > > On Friday 20 January 2017 06:58 PM, Tejun Heo wrote: >> On Fri, Jan 20, 2017 at 12:21:51PM +0100, Bartosz Golaszewski wrote: >>> This series contains all the changes necessary to make SATA work on >>> the da850-lcdk board. >>> >>> The first p

Re: [patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Radim Krcmar
2017-01-20 10:20-0200, Marcelo Tosatti: > Add a driver with gettime method returning hosts realtime clock. > This allows Chrony to synchronize host and guest clocks with > high precision (see results below). > > chronyc> sources > MS Name/IP address Stratum Poll Reach LastRx Last sample >

Re: [PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Sekhar Nori
Hi Tejun, On Friday 20 January 2017 06:58 PM, Tejun Heo wrote: > On Fri, Jan 20, 2017 at 12:21:51PM +0100, Bartosz Golaszewski wrote: >> This series contains all the changes necessary to make SATA work on >> the da850-lcdk board. >> >> The first patch adds DT bindings for the ahci-da850 driver. >>

Re: Nokia N900: microphone mixers

2017-01-20 Thread Pali Rohár
On Friday 20 January 2017 15:00:47 Pavel Machek wrote: > On Fri 2017-01-20 14:38:30, Pali Rohár wrote: > > On Friday 20 January 2017 14:31:59 Pavel Machek wrote: > > > Hi! > > > > > > Do you have any idea how to control the microphone? I'd like the audio > > > source to be microphone on headset (n

[PATCH] scripts: rpm: build: add INSTALL_MOD_STRIP=1 to install modules

2017-01-20 Thread Vadim Lomovtsev
Having kernel modules with debug sections consumes a lot of hdd space, increases size of kernel rpm, initrd image grows and in some cases kernel even can't be installed due to insufficinet hdd space for modules. Set INSTALL_MOD_STRIP=1 to enable debug info strip at rpm modules install phase. Sign

Re: [PATCH v2 0/9] Serial slave device bus

2017-01-20 Thread Marcel Holtmann
Hi Linus, >> There's still some discussion about what to do with devices that pass thru >> data to userspace unmodified like GPS and could still use tty device for >> the data path. IMO, we should treat this as a separate problem following >> this series. Drivers we want to convert to serdev and a

RE: [PATCH] rtlwifi: rtl8192x: Enabling and disabling hardware interrupts after enabling local irq flags

2017-01-20 Thread Bharat Kumar Gogada
> On 01/19/2017 04:14 AM, Bharat Kumar Gogada wrote: > > -Realtek 8192CE chipset maintains local irq flags after enabling/disabling > > hardware interrupts. > > -Hardware interrupts are enabled before enabling the local irq > > flags(these flags are being checked in interrupt handler), > > leading

[PATCH V2] PCI: enable extended tags support for PCIe devices

2017-01-20 Thread Sinan Kaya
Each PCIe device can issue up to 32 transactions at a time by default. This limitation is historically coming from PCI. Each transaction is tracked by a tag number on the bus. 2.2.6.2. Transaction Descriptor – Transaction ID Field section of the PCIe 3.1 specification describes extended tags. PCI

Re: [RFC PATCH 1/2] mm, vmscan: account the number of isolated pages per zone

2017-01-20 Thread Tetsuo Handa
ns to the level where GFP_ATOMIC allocations start failing. Complete log is at http://I-love.SAKURA.ne.jp/tmp/serial-20170120.txt.xz . -- [ 184.482761] a.out invoked oom-killer: gfp_mask=0x14280ca(GFP_HIGHUSER_MOVABLE|__GFP_ZERO), nodemask=0, order=0, oom_score_adj=0 (...snipped...) [ 184.48295

GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus)

2017-01-20 Thread Pavel Machek
Hi! Switched subject: Rob's work is great for GPS and bluetooth, but this goes beyond it. > On Mon, Jan 16, 2017 at 11:54 PM, Rob Herring wrote: > > > There's still some discussion about what to do with devices that pass thru > > data to userspace unmodified like GPS and could still use tty dev

Re: [PATCHv2 2/2] iio: cros_ec_light_prox: add ChromeOS EC Light and Proximity Sensors

2017-01-20 Thread Enric Balletbo Serra
Hi Jonathan, Thanks for the review, I am preparing v3. Some answers to your questions below. 2017-01-14 14:06 GMT+01:00 Jonathan Cameron : > On 11/01/17 15:51, Enric Balletbo i Serra wrote: >> From: Gwendal Grignou >> >> Handle Light and Proximity sensors presented by the ChromeOS EC Sensor hub.

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Paolo Bonzini
On 20/01/2017 15:02, Radim Krcmar wrote: > 2017-01-20 14:36+0100, Paolo Bonzini: >> On 20/01/2017 14:07, Marcelo Tosatti wrote: >>> On Fri, Jan 20, 2017 at 01:55:27PM +0100, Paolo Bonzini wrote: On 20/01/2017 13:20, Marcelo Tosatti wrote: > kernel/time/timekeeping.c|

Re: [PATCH v2 0/9] Serial slave device bus

2017-01-20 Thread H. Nikolaus Schaller
> Am 20.01.2017 um 15:14 schrieb Marcel Holtmann : > > Hi Linus, > >>> There's still some discussion about what to do with devices that pass thru >>> data to userspace unmodified like GPS and could still use tty device for >>> the data path. IMO, we should treat this as a separate problem follow

Re: [PATCH 3/3] PCI: imx6: Add code to support i.MX7D

2017-01-20 Thread Andrey Smirnov
On Thu, Jan 19, 2017 at 8:52 AM, Lucas Stach wrote: > Am Donnerstag, den 19.01.2017, 08:36 -0800 schrieb Andrey Smirnov: >> Add various bits of code needed to support i.MX7D variant of the IP. >> >> Cc: yurov...@gmail.com >> Cc: Richard Zhu >> Cc: Lucas Stach >> Cc: Bjorn Helgaas >> Cc: Fabio E

[PATCH V2] PCI: enable extended tags support for PCIe devices

2017-01-20 Thread Sinan Kaya
Each PCIe device can issue up to 32 transactions at a time by default. Each transaction is tracked by a tag number on the bus. 2.2.6.2. Transaction Descriptor – Transaction ID Field section of the PCIe 3.1 specification describes extended tags. 32 transaction limit has been extended to 256 on PCI

Re: [PATCH 02/17] HID: logitech-hidpp: Add scope to battery

2017-01-20 Thread Benjamin Tissoires
On Jan 20 2017 or thereabouts, Jiri Kosina wrote: > On Tue, 17 Jan 2017, Benjamin Tissoires wrote: > > > From: Bastien Nocera > > > > Without a scope defined, UPower assumes that the battery is provide > > power to the computer it's connected to, like a laptop battery or a UPS. > > > > Tested-b

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Jens Axboe
On Fri, Jan 20 2017, Paolo Valente wrote: > > > Il giorno 17 gen 2017, alle ore 03:47, Jens Axboe ha scritto: > > > > On 12/22/2016 09:49 AM, Paolo Valente wrote: > >> > >>> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha > >>> scritto: > >>> > >>> This is basically identical to deadlin

Re: [PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Sekhar Nori
On Friday 20 January 2017 07:32 PM, Bartosz Golaszewski wrote: > 2017-01-20 14:56 GMT+01:00 Sekhar Nori : >> Hi Tejun, >> >> On Friday 20 January 2017 06:58 PM, Tejun Heo wrote: >>> On Fri, Jan 20, 2017 at 12:21:51PM +0100, Bartosz Golaszewski wrote: This series contains all the changes necess

Re: [PATCH 3/4] mm, page_alloc: Drain per-cpu pages from workqueue context

2017-01-20 Thread Vlastimil Babka
On 01/17/2017 10:29 AM, Mel Gorman wrote: > The per-cpu page allocator can be drained immediately via drain_all_pages() > which sends IPIs to every CPU. In the next patch, the per-cpu allocator > will only be used for interrupt-safe allocations which prevents draining > it from IPI context. This pa

Re: [PATCH 02/17] HID: logitech-hidpp: Add scope to battery

2017-01-20 Thread Jiri Kosina
On Fri, 20 Jan 2017, Benjamin Tissoires wrote: > > > Without a scope defined, UPower assumes that the battery is provide > > > power to the computer it's connected to, like a laptop battery or a UPS. > > > > > > Tested-by: Peter Hutterer > > > Signed-off-by: Bastien Nocera > > > Signed-off-by:

Re: [PATCH v2 2/2] perf/core: Remove perf_cpu_context::unique_pmu

2017-01-20 Thread Mark Rutland
On Fri, Jan 20, 2017 at 10:20:33AM +0100, Peter Zijlstra wrote: > On Wed, Jan 18, 2017 at 11:24:54AM -0800, David Carrillo-Cisneros wrote: > > cpuctx->unique_pmu was originally introduced as a way to identify cpuctxs > > with shared pmus in order to avoid visiting the same cpuctx more than once > >

[PATCH] video/mbx: use simple_open()

2017-01-20 Thread Geliang Tang
Drop open_file_generic(), use simple_open() instead of it. Signed-off-by: Geliang Tang --- drivers/video/fbdev/mbx/mbxdebugfs.c | 18 ++ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/drivers/video/fbdev/mbx/mbxdebugfs.c b/drivers/video/fbdev/mbx/mbxdebugfs.c ind

[PATCH] xfs: do not call xfs_buf_hash_destroy on a NULL pag

2017-01-20 Thread Colin King
From: Colin Ian King If pag cannot be allocated, the current error exit path will trip a null pointer deference error when calling xfs_buf_hash_destroy with a null pag. Fix this by adding a new error exit lable and jumping to this, avoiding the hash destroy and unnecessary kmem_free on pag. Fix

<    1   2   3   4   5   6   7   8   >