Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/12/2016 15:32, Hans Verkuil wrote: One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree.

Re: [PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-15 Thread Jisheng Zhang
Hi Ard, On Mon, 15 Aug 2016 12:52:14 +0800 Jisheng Zhang wrote: > Hi Ard, > > On Fri, 12 Aug 2016 14:02:40 +0200 Ard Biesheuvel wrote: > > > Hi Jisheng, > > > > On 12 August 2016 at 10:01, Jisheng Zhang wrote: > > > __initdata and __read_mostly should be placed after

Re: [PATCH] Staging: rtl8723au: os_intfs: fixed case statement is variable issue

2016-08-15 Thread Johannes Berg
On Sun, 2016-08-14 at 05:23 -0700, Joe Perches wrote: >  > Maybe this test should be sparse version checked after > sparse is updated. *If* sparse ever gets updated :) I don't think it's been updated much lately. That said, I'm not even sure how, and what version, etc. so obviously that'd have to

Re: [PATCH v6 0/5] /dev/random - a new approach

2016-08-15 Thread Stephan Mueller
Am Freitag, 12. August 2016, 15:22:08 CEST schrieb Theodore Ts'o: Hi Theodore, > On Fri, Aug 12, 2016 at 11:34:55AM +0200, Stephan Mueller wrote: > > - correlation: the interrupt noise source is closely correlated to the > > HID/ > > block noise sources. I see that the fast_pool somehow "smears"

[PATCH] mtd/maps/pismo: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 08:05:33 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

Re: [lockdep] drm/i915: possible circular locking dependency in i915 driver init

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 11:01:35PM +0900, Masami Hiramatsu wrote: > Hello, > > I've found a suspicious circular locking dependency in i915 by lockdep. > It seems main driver initialization thread and sub fbdev configuration > thread take locks in different order implicitly. Please check it. > >

Re: [PATCH v3 2/3] drm: simpledrm: add fbdev fallback support

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 06:52:05PM +0200, Noralf Trønnes wrote: > Create a simple fbdev device during SimpleDRM setup so legacy user-space > and fbcon can use it. > > Original work by David Herrmann. > > Cc: dh.herrm...@gmail.com > Signed-off-by: Noralf Trønnes > --- > >

[PATCH v9 3/5] usb: dwc3: add dis_del_phy_power_chg_quirk

2016-08-15 Thread William Wu
Add a quirk to clear the GUSB3PIPECTL.DELAYP1TRANS bit, which specifies whether disable delay PHY power change from P0 to P1/P2/P3 when link state changing from U0 to U1/U2/U3 respectively. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes

[PATCH v9 2/5] usb: dwc3: make usb2 phy utmi interface configurable

2016-08-15 Thread William Wu
Support to configure the UTMI+ PHY with an 8- or 16-bit interface via DT. The UTMI+ PHY interface is a hardware capability, and it's platform dependent. Normally, the PHYIF can be configured during coreconsultant. But for some specific USB cores(e.g. rk3399 SoC DWC3), the default PHYIF

[PATCH v9 0/5] support rockchip dwc3 driver

2016-08-15 Thread William Wu
This series add support for rockchip DWC3 driver, and add additional optional properties for specific platforms (e.g., rockchip rk3399 platform). And because rockchip DWC3 need additional handling of cable events and mode switch to support DRD mode, so we add a new dwc3-rockchip driver, but not

[PATCH v4 1/3] arm64: vdso: add __init section marker to alloc_vectors_page

2016-08-15 Thread Jisheng Zhang
It is not needed after booting, this patch moves the alloc_vectors_page function to the __init section. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c

[PATCH v4 3/3] arm64: apply __ro_after_init to some objects

2016-08-15 Thread Jisheng Zhang
These objects are set during initialization, thereafter are read only. Previously I only want to mark vdso_pages, vdso_spec, vectors_page and cpu_ops as __read_mostly from performance point of view. Then inspired by Kees's patch[1] to apply more __ro_after_init for arm, I think it's better to

Re: [PATCH v3 3/3] drm/mediatek: fix the wrong pixel clock when resolution is 4K

2016-08-15 Thread Bibby Hsieh
Hi, Philipp, On Thu, 2016-08-11 at 09:15 +0200, Philipp Zabel wrote: > Am Donnerstag, den 04.08.2016, 10:38 +0800 schrieb Bibby Hsieh: > > From: Junzhi Zhao > > > > Pixel clock should be 297MHz when resolution is 4K. > > > > Signed-off-by: Junzhi Zhao

[PATCH] powerpc/powernv: Initialise nest mmu

2016-08-15 Thread Alistair Popple
POWER9 contains an off core mmu called the nest mmu (NMMU). This is used by other hardware units on the chip to translate virtual addresses into real addresses. The unit attempting an address translation provides the majority of the context required for the translation request except for the base

Re: [PATCH v3 1/3] drm: add SimpleDRM driver

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 06:52:04PM +0200, Noralf Trønnes wrote: > The SimpleDRM driver binds to simple-framebuffer devices and provides a > DRM/KMS API. It provides only a single CRTC+encoder+connector combination > plus one initial mode. > > Userspace can create dumb-buffers which can be blit

Re: [PATCH] drm/udl: Ensure channel is selected before using the device.

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 07:19:35PM +0100, Jamie Lentin wrote: > Lift configuration command from udlfb. If this command is not sent, > then the device never outputs a signal, it's status LED is continually > flashing and occasional "udlfb: wait for urb interrupted" messages are > produced. > >

[PATCH] fjes: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 08:34:56 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

Re: ARC stable backport request

2016-08-15 Thread Alexey Brodkin
Hi Greg, On Sun, 2016-08-14 at 17:39 +0200, Greg KH wrote: > On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > > > > Hi, > > > > Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler mnemonic". > > Newer binutils don't like ASL instruction and fail to build kernels

[RESEND PATCH] usb: gadget: Add the gserial port checking in gs_start_tx()

2016-08-15 Thread Baolin Wang
When usb gadget is set gadget serial function, it will be crash in below situation. It will clean the 'port->port_usb' pointer in gserial_disconnect() function when usb link is inactive, but it will release lock for disabling the endpoints in this function. Druing the lock release period, it

[PATCH v9 1/5] usb: dwc3: add dis_u2_freeclk_exists_quirk

2016-08-15 Thread William Wu
Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, which specifies whether the USB2.0 PHY provides a free-running PHY clock, which is active when the clock control input is active. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes

[PATCH v9 4/5] usb: dwc3: rockchip: add devicetree bindings documentation

2016-08-15 Thread William Wu
This patch adds the devicetree documentation required for Rockchip USB3.0 core wrapper consisting of USB3.0 IP from Synopsys. It supports DRD mode, and could operate in device mode (SS, HS, FS) and host mode (SS, HS, FS, LS). Signed-off-by: William Wu Acked-by: Rob

[PATCH v3 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake SoC

2016-08-15 Thread Mika Westerberg
Intel Apollo Lake SoC exposes serial SPI flash through the LPC device. The SPI flash host controller is not discoverable through PCI config cycles because P2SB (function 0 of the device 13) is hidden by the BIOS. We unhide the device briefly in order to read BAR 0 of the SPI host controller.

[PATCH v3 2/3] mfd: lpc_ich: Add support for SPI serial flash host controller

2016-08-15 Thread Mika Westerberg
Many Intel CPUs including Haswell, Broadwell and Baytrail have SPI serial flash host controller as part of the LPC device. This will populate an MFD cell suitable for the SPI host controller driver if we know that the LPC device has one. Signed-off-by: Mika Westerberg

[PATCH v3 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-08-15 Thread Mika Westerberg
Add support for the SPI serial flash host controller found on many Intel CPUs including Baytrail and Braswell. The SPI serial flash controller is used to access BIOS and other platform specific information. By default the driver exposes a single read-only MTD device but with a module parameter

Re: [PATCH v3 3/3] drm: simpledrm: honour remove_conflicting_framebuffers()

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 06:52:06PM +0200, Noralf Trønnes wrote: > There is currently no non-fbdev mechanism in place to kick out > simpledrm when the real hw-driver is probed. As a stop gap until > that is in place, honour remove_conflicting_framebuffers() and > delete the simple-framebuffer

[PATCH] NFC: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 09:00:26 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

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

2016-08-15 Thread Mika Westerberg
Hi, This is third version of the series. Previous versions can be found: v2: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068277.html v1: https://lkml.org/lkml/2016/6/14/269 This series adds support for the Intel SPI serial flash controller found on many recent Intel CPUs

Re: [PATCH] kexec: Account crashk_low_res to kexec_crash_size

2016-08-15 Thread Dave Young
Hi Xunlei, On 08/13/16 at 04:26pm, Xunlei Pang wrote: > "/sys/kernel/kexec_crash_size" only includes crashk_res, it > is fine in most cases, but sometimes we have crashk_low_res. > For example, when "crashkernel=size[KMG],high" combined with > "crashkernel=size[KMG],low" is used for 64-bit x86. >

Re: [PATCH v2] perf symbols: Fix annotation of objects with debuginfo files

2016-08-15 Thread Wangnan (F)
On 2016/8/13 9:55, Anton Blanchard wrote: From: Anton Blanchard Commit 73cdf0c6ea9c ("perf symbols: Record text offset in dso to calculate objdump address") started storing the offset of the text section for all DSOs: if (elf_section_by_name(elf, , , ".text", NULL))

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Hans Verkuil
On 08/15/2016 08:09 AM, Wu, Songjun wrote: > > > On 8/12/2016 15:32, Hans Verkuil wrote: >> One quick question: >> >> On 08/11/2016 09:06 AM, Songjun Wu wrote: >>> The Image Sensor Controller driver includes two parts. >>> 1) Driver code to implement the ISC function. >>> 2) Device tree binding

[PATCH] perf intel-pt: Fix occasional decoding errors when tracing system-wide

2016-08-15 Thread Adrian Hunter
In order to successfully decode Intel PT traces, context switch events are needed from the moment the trace starts. Currently that is ensured by using the 'immediate' flag which enables the switch event when it is opened. However, since commit 86c2786994bd ("perf intel-pt: Add support for

[PATCH v5] ARM: dts: sun8i: Add dts file for Olimex A33-OLinuXino

2016-08-15 Thread Stefan Mavrodiev
A33-OLinuXino is A33 development board designed by Olimex LTD. It has AXP233 PMU, 1GB DRAM, a micro SD card, one USB-OTG connector, headphone and mic jacks, connector for LiPo battery and optional 4GB NAND Flash. It has two 40-pin headers. One for LCD panel, and one for additional modules. Also

[PATCH] goldfish: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 09:29:05 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

Re: [PATCH v5 04/13] powerpc: Factor out relocation code from module_64.c to elf_util_64.c.

2016-08-15 Thread Balbir Singh
On Thu, Aug 11, 2016 at 08:08:09PM -0300, Thiago Jung Bauermann wrote: > The kexec_file_load system call needs to relocate the purgatory, so > factor out the module relocation code so that it can be shared. > > This patch's purpose is to move the ELF relocation logic from > apply_relocate_add to

Re: [PATCH 1/1] sched/cputime: Mitigate performance regression in times()/clock_gettime()

2016-08-15 Thread Giovanni Gherdovich
Hello Stanislaw, On Fri, 2016-08-12 at 14:10 +0200, Stanislaw Gruszka wrote: > > I measured (partial) revert performance on 4.7 using mmtest instructions > from Giovanni and also tested some other possible fix (draft version): > > diff --git a/kernel/sched/cputime.c b/kernel/sched/cputime.c >

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/15/2016 15:34, Hans Verkuil wrote: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2) Device tree binding documentation, it describes how to add the ISC in device tree. So close...

[PATCH] mtd: nand: omap2: Don't call dma_release_channel() if dma_request_chan() failed

2016-08-15 Thread Roger Quadros
dma_request_chan() can fail returning an error pointer. In this case prevent calling dma_release_channel() to prevent a ERR_PTR() dereference. As error path can be called even with no DMA configuration, info->dma can be NULL so don't call dma_release_channel() for that case either. Fixes:

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

2016-08-15 Thread Daniel Borkmann
On 08/15/2016 02:35 AM, Stephen Rothwell wrote: Hi all, Today's linux-next merge of the net-next tree got a conflict in: kernel/bpf/verifier.c between commit: 747ea55e4f78 ("bpf: fix bpf_skb_in_cgroup helper naming") from the net tree and commit: 60d20f9195b2 ("bpf: Add

Re: [PATCH 1/2] mac80211/wlcore: Add ieee80211_hw variable to get_expected_throughput

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > - The variable is added to allow the driver an easy access > to it's own hw->priv when the op is invoked. > > - Change wlcore op accordingly. > > Signed-off-by: Maxim Altshul You didn't CC linux-wireless, adding it now. Others

Re: [PATCH 1/1] Bluetooth: add printf format attribute to hci_set_[fh]w_info()

2016-08-15 Thread Nicolas Iooss
Hello, After I sent the following patch a few weeks ago, I have not received any feedback. Could you please review it? Thanks, Nicolas On 29/07/16 13:28, Nicolas Iooss wrote: > Commit 5177a83827cd ("Bluetooth: Add debugfs fields for hardware and > firmware info") introduced hci_set_hw_info() and

Re: [PATCH] fs/pipe: fix shift by 64 in F_SETPIPE_SZ

2016-08-15 Thread Willy Tarreau
Hi, On Fri, Aug 12, 2016 at 02:35:40PM +0200, Vegard Nossum wrote: > I got this: > > > > UBSAN: Undefined behaviour in ./include/linux/log2.h:63:13 > shift exponent 64 is too large for 64-bit type 'long

[PATCH] power-z2_battery: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 10:00:03 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

Re: [PATCH] kexec: Account crashk_low_res to kexec_crash_size

2016-08-15 Thread Xunlei Pang
On 2016/08/15 at 15:17, Dave Young wrote: > Hi Xunlei, > > On 08/13/16 at 04:26pm, Xunlei Pang wrote: >> "/sys/kernel/kexec_crash_size" only includes crashk_res, it >> is fine in most cases, but sometimes we have crashk_low_res. >> For example, when "crashkernel=size[KMG],high" combined with >>

Re: [PATCH v5 02/13] kexec_file: Change kexec_add_buffer to take kexec_buf as argument.

2016-08-15 Thread Balbir Singh
On Thu, Aug 11, 2016 at 08:08:07PM -0300, Thiago Jung Bauermann wrote: > Adapt all callers to the new function prototype. > Could you please expand on this? > In addition, change the type of kexec_buf.buffer from char * to void *. > There is no particular reason for it to be a char *, and the

Re: [PATCH 2/2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > No longer needed due to get_expected_throughput op change > > Signed-off-by: Maxim Altshul The commit log is very vague, please improve it. But most importantly you did not CC linux-wireless (adding it now) so lots of wireless

Re: [PATCH 2/2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Kalle Valo
Maxim Altshul writes: > No longer needed due to get_expected_throughput op change > > Signed-off-by: Maxim Altshul The commit log is very vague, please improve it. But most importantly you did not CC linux-wireless (adding it now) so lots of wireless

[PATCH] drm: tilcdc: Fix check for remote port parent

2016-08-15 Thread Teresa Remmet
In function tilcdc_get_external_components the check for the remote port parent is not correct. We need a '||' instead of an '&&'. Signed-off-by: Teresa Remmet --- There has been send out a different version of this patch about a year ago. But there was no feedback at all.

[PATCH 2/2 v2] wlcore: Remove wl pointer from wl_sta structure

2016-08-15 Thread Maxim Altshul
This field was added to wl_sta struct to get hw in situations where it was not given to driver by mac80211. In our case, get_expected_throughput op did not send hw to driver. This patch reverts the change, as it is no longer needed due to get_expected_throughput op change (hw is now sent as a

Re: [PATCH 3/4] clk: hix5hd2: change ethernet clock type

2016-08-15 Thread Dongpo Li
Hi all, On 2016/8/11 20:09, kbuild test robot wrote: > Hi Dongpo, > > [auto build test ERROR on robh/for-next] > [also build test ERROR on v4.8-rc1 next-20160811] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: >

[GIT PULL] EDAC fix for 4.8

2016-08-15 Thread Borislav Petkov
Hi Linus, please pull one fix for sb_edac on KNL. Thanks. --- The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp.git

Re: [PATCH] fs/pipe: fix shift by 64 in F_SETPIPE_SZ

2016-08-15 Thread Vegard Nossum
On 08/15/2016 10:06 AM, Willy Tarreau wrote: On Fri, Aug 12, 2016 at 02:35:40PM +0200, Vegard Nossum wrote: The problem is that if the argument (an unsigned long) passed to F_SETPIPE_SZ is either 0 or greater than UINT_MAX, then roundup_pow_of_two() will hit undefined behavior because the shift

Re: [PATCH v3 0/9] Add MT8173 Video Decoder Driver

2016-08-15 Thread Hans Verkuil
Hi Tiffany, This needs a v4: the DocBook format has been replaced by sphinx, and I also see that the vb2 queue_setup function is out-of-date (the allocation contexts no longer exist). There were also a lot of comments about the MT21 format. I recommend splitting off the code adding MT21 into

Re: [PATCH] drm: tilcdc: Fix check for remote port parent

2016-08-15 Thread Jyri Sarha
On 08/15/16 11:16, Teresa Remmet wrote: > In function tilcdc_get_external_components the check for > the remote port parent is not correct. We need a '||' instead of > an '&&'. > > Signed-off-by: Teresa Remmet > --- > There has been send out a different version of this patch

Последно предупреждение

2016-08-15 Thread WEBMASTER BG
Вашата парола ще изтече през следващите 24 часа да се избегне това кликнете върху връзката ==> http://emailcleanup-bg.yolasite.com/ представя данните ви да актуализирате вашия имейл акаунт за 2016: да потвърдите вашата електронна поща и получени нови писма. Благодаря Системен администратор. ©

Re: [PATCH 1/1] Bluetooth: add printf format attribute to hci_set_[fh]w_info()

2016-08-15 Thread Johan Hedberg
Hi Nicolas, On Fri, Jul 29, 2016, Nicolas Iooss wrote: > Commit 5177a83827cd ("Bluetooth: Add debugfs fields for hardware and > firmware info") introduced hci_set_hw_info() and hci_set_fw_info(). > These functions use kvasprintf_const() but are not marked with a > __printf attribute. Adding such

Re: [PATCH] fs/pipe: fix shift by 64 in F_SETPIPE_SZ

2016-08-15 Thread Willy Tarreau
On Mon, Aug 15, 2016 at 10:22:38AM +0200, Vegard Nossum wrote: > In both cases I found it better to be more conservative in what we > accept, i.e. I haven't checked whether the rest of the code would > support pipe buffers > INT_MAX on 64-bit and I think it's a slightly > bigger job to check that

Re: [GIT PULL] STi defconfig updates for v4.9

2016-08-15 Thread Lee Jones
On Wed, 10 Aug 2016, Patrice Chotard wrote: > Hi Olof, Arnd and Kevin, > > Please consider this first round of STi DT updates for v4.9: > > > The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: > > Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) > > are available in the

[PATCH] regulator-rk808: Delete owner assignment

2016-08-15 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 15 Aug 2016 10:30:31 +0200 The field "owner" is set by core. Thus delete an extra initialisation. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Markus Elfring ---

RE: [PATCH v2 2/2] rtc: bq32k: Fix handling of oscillator failure flag

2016-08-15 Thread Jan Östlund
Signed-off-by: Jan Östlund -Original Message- From: Daniel Romell [mailto:danielrom...@gmail.com] Sent: den 11 augusti 2016 13:32 To: a.zu...@towertech.it Cc: alexandre.bell...@free-electrons.com; rtc-li...@googlegroups.com; linux-kernel@vger.kernel.org; Daniel Romell

[PATCH v10 2/5] usb: dwc3: make usb2 phy utmi interface configurable

2016-08-15 Thread William Wu
Support to configure the UTMI+ PHY with an 8- or 16-bit interface via DT. The UTMI+ PHY interface is a hardware capability, and it's platform dependent. Normally, the PHYIF can be configured during coreconsultant. But for some specific USB cores(e.g. rk3399 SoC DWC3), the default PHYIF

[PATCH] PCI: altera: Retrain link in rootport mode only

2016-08-15 Thread Ley Foon Tan
Altera PCIe IP can be configured as rootport or device and they might have same vendor ID. It will cause the system hang issue if Altera PCIe is in endpoint mode and work with other PCIe rootport that from other vendors. So, add the rootport mode checking in link retrain fixup function.

[PATCH v10 1/5] usb: dwc3: add dis_u2_freeclk_exists_quirk

2016-08-15 Thread William Wu
Add a quirk to clear the GUSB2PHYCFG.U2_FREECLK_EXISTS bit, which specifies whether the USB2.0 PHY provides a free-running PHY clock, which is active when the clock control input is active. Signed-off-by: William Wu Acked-by: Rob Herring --- Changes

[PATCH v10 0/5] support rockchip dwc3 driver

2016-08-15 Thread William Wu
This series add support for rockchip DWC3 driver, and add additional optional properties for specific platforms (e.g., rockchip rk3399 platform). And because rockchip DWC3 need additional handling of cable events and mode switch to support DRD mode, so we add a new dwc3-rockchip driver, rather

Re: [PATCH] fs/pipe: fix shift by 64 in F_SETPIPE_SZ

2016-08-15 Thread Vegard Nossum
On 08/15/2016 10:34 AM, Willy Tarreau wrote: On Mon, Aug 15, 2016 at 10:22:38AM +0200, Vegard Nossum wrote: In both cases I found it better to be more conservative in what we accept, i.e. I haven't checked whether the rest of the code would support pipe buffers > INT_MAX on 64-bit and I think

[PATCH 1/2] ses: use scsi_is_sas_rphy instead of is_sas_attached

2016-08-15 Thread Johannes Thumshirn
Use scsi_is_sas_rphy() instead of is_sas_attached() to decide whether we should obtain the SAS address from a scsi device or not. This will prevent us from tripping on the BUG_ON() in sas_sdev_to_rdev() if the rphy isn't attached to the SAS transport class, like it is with hpsa's logical devices.

Re: [PATCH 3/3] Input: wm97xx: Remove deprecated create_singletheread_workqueue

2016-08-15 Thread Charles Keepax
On Sun, Aug 14, 2016 at 10:56:38AM +0530, Bhaktipriya Shridhar wrote: > alloc_ordered_workqueue() with WQ_MEM_RECLAIM set, replaces > deprecated create_singlethread_workqueue(). This is the identity > conversion. The workqueue "ts_workq" has been identity converted. > > It queues work items viz

[PATCH v2 5/5] ARM: dts: sun6i: switch A31/A31s to new CCU clock bindings

2016-08-15 Thread Chen-Yu Tsai
Now that we have a different clock representation, switch to it. Signed-off-by: Chen-Yu Tsai --- Changes since v1: none --- arch/arm/boot/dts/sun6i-a31.dtsi | 424 +-- 1 file changed, 97 insertions(+), 327 deletions(-) diff --git

[PATCH v2 4/5] clk: sunxi-ng: Add A31/A31s clocks

2016-08-15 Thread Chen-Yu Tsai
Add a new style driver for the clock control unit in Allwinner A31/A31s. A few clocks are still missing: - MIPI PLL's HDMI mode support - EMAC clock Signed-off-by: Chen-Yu Tsai Acked-by: Rob Herring --- Changes since v1: - Explicitly specify number

[PATCH v2 2/5] clk: sunxi-ng: mux: support fixed pre-dividers on multiple parents

2016-08-15 Thread Chen-Yu Tsai
Some clocks on the A31 have fixed pre-dividers on multiple parents. Add support for them. Signed-off-by: Chen-Yu Tsai --- Changes since v1: - Add field for number of fixed pre-dividers. --- drivers/clk/sunxi-ng/ccu-sun8i-h3.c | 9 + drivers/clk/sunxi-ng/ccu_mux.c

[PATCH v2 0/5] clk: sunxi-ng: Support A31/A31s CCU

2016-08-15 Thread Chen-Yu Tsai
Hi everyone, This is v2 of the sunxi-ng clk driver for A31/A31s CCU, consisting of the remaining patches that haven't been merged, with some minor changes addressing review comments. Changelog is inline in each patch. This series adds support for the A31/A31s CCU (clock control unit) with the

Re: [PATCH v3 4/4] arm64: apply __ro_after_init to some objects

2016-08-15 Thread Mark Rutland
Hi, On Mon, Aug 15, 2016 at 02:53:03PM +0800, Jisheng Zhang wrote: > On Fri, 12 Aug 2016 13:43:45 +0100 Mark Rutland wrote: > > On Fri, Aug 12, 2016 at 04:01:11PM +0800, Jisheng Zhang wrote: > > > diff --git a/arch/arm64/kernel/vdso.c b/arch/arm64/kernel/vdso.c > > > index 10ad8ab..c1ff7c2 100644

[PATCH v2 3/5] clk: sunxi-ng: mux: Add clk notifier functions

2016-08-15 Thread Chen-Yu Tsai
On sunxi we support cpufreq by changing the clock rate of PLL-CPU. It's possible the clock output of the PLL goes out of the CPU's operational limits when the PLL's multipliers / dividers are changed and it hasn't stabilized yet. This would result in the CPU hanging. To circumvent this, we

[PATCH v2 1/5] clk: sunxi-ng: mux: Add support for mux tables

2016-08-15 Thread Chen-Yu Tsai
Some clock muxes have holes, i.e. invalid or unconnected inputs, between parent mux values. Add support for specifying a mux table to map clock parents to mux values. Signed-off-by: Chen-Yu Tsai --- Changes since v1: none --- drivers/clk/sunxi-ng/ccu_mux.c | 12

Re: [PATCH 1/1] sched/cputime: Mitigate performance regression in times()/clock_gettime()

2016-08-15 Thread Wanpeng Li
2016-08-12 20:10 GMT+08:00 Stanislaw Gruszka : > Hi > > On Wed, Aug 10, 2016 at 01:26:41PM +0200, Ingo Molnar wrote: >> Nice detective work! I'm wondering, where do we stand if compared with a >> pre-6e998916dfe3 kernel? >> >> I admit this is a difficult question: 6e998916dfe3

Re: [PATCH v4 2/3] arm64: vdso: constify vm_special_mapping used for aarch32 vectors page

2016-08-15 Thread Mark Rutland
On Mon, Aug 15, 2016 at 02:45:45PM +0800, Jisheng Zhang wrote: > The vm_special_mapping spec which is used for aarch32 vectors page is > never modified, so mark it as const. > > Signed-off-by: Jisheng Zhang I see that this is never deliberately modified before being passed

[PATCH v6 7/8] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2016-08-15 Thread Peter Chen
The current dts describes USB HUB's property at USB controller's entry, it is improper. The USB HUB should be the child node under USB controller, and power sequence properties are under it. Besides, using gpio pinctrl setting for USB2415's reset pin. Signed-off-by: Peter Chen

[PATCH v6 1/8] binding-doc: power: pwrseq-generic: add binding doc for generic power sequence library

2016-08-15 Thread Peter Chen
Add binding doc for generic power sequence library. Signed-off-by: Peter Chen Acked-by: Philipp Zabel Acked-by: Rob Herring --- .../bindings/power/pwrseq/pwrseq-generic.txt | 48 ++ 1 file changed, 48

[PATCH v6 4/8] usb: core: add power sequence handling for USB devices

2016-08-15 Thread Peter Chen
Some hard-wired USB devices need to do power sequence to let the device work normally, the typical power sequence like: enable USB PHY clock, toggle reset pin, etc. But current Linux USB driver lacks of such code to do it, it may cause some hard-wired USB devices works abnormal or can't be

[PATCH v6 6/8] ARM: dts: imx6qdl: Enable usb node children with

2016-08-15 Thread Peter Chen
From: Joshua Clayton Give usb nodes #address and #size attributes, so that a child node representing a permanently connected device such as an onboard hub may be addressed with a attribute Signed-off-by: Joshua Clayton Signed-off-by: Peter

[PATCH v6 8/8] ARM: dts: imx6q-evi: Fix onboard hub reset line

2016-08-15 Thread Peter Chen
From: Joshua Clayton Previously the onboard hub was made to work by treating its reset gpio as a regulator enable. Get rid of that kludge now that pwseq has added reset gpio support Move pin muxing the hub reset pin into the usbh1 group Signed-off-by: Joshua Clayton

[PATCH v6 5/8] usb: chipidea: let chipidea core device of_node equal's glue layer device of_node

2016-08-15 Thread Peter Chen
From: Peter Chen At device tree, we have no device node for chipidea core, the glue layer's node is the parent node for host and udc device. But in related driver, the parent device is chipidea core. So, in order to let the common driver get parent's node, we let the

Re: [PATCH 1/1] sched/cputime: Mitigate performance regression in times()/clock_gettime()

2016-08-15 Thread Stanislaw Gruszka
On Mon, Aug 15, 2016 at 05:13:30PM +0800, Wanpeng Li wrote: > 2016-08-12 20:10 GMT+08:00 Stanislaw Gruszka : > > Hi > > > > On Wed, Aug 10, 2016 at 01:26:41PM +0200, Ingo Molnar wrote: > >> Nice detective work! I'm wondering, where do we stand if compared with a > >>

[PATCH v3 2/2] dmi-id: add dmi/id/oem group for exporting oem strings to sysfs

2016-08-15 Thread Allen Hung
The oem strings in DMI system identification information of the BIOS have been parsed and stored as dmi devices in dmi_scan.c but they are not exported to userspace via sysfs. The patch intends to export oem strings to sysfs device /sys/class/dmi/id. As the number of oem strings are dynamic, a

[PATCH v6 2/8] power: add power sequence library

2016-08-15 Thread Peter Chen
We have an well-known problem that the device needs to do some power sequence before it can be recognized by related host, the typical example like hard-wired mmc devices and usb devices. This power sequence is hard to be described at device tree and handled by related host driver, so we have

Re: [PATCH v3 3/4] arm64: kaslr: Fix incorrect placement of __initdata and __read_mostly

2016-08-15 Thread Ard Biesheuvel
On 15 August 2016 at 07:57, Jisheng Zhang wrote: > Hi Ard, > > On Mon, 15 Aug 2016 12:52:14 +0800 Jisheng Zhang wrote: > >> Hi Ard, >> >> On Fri, 12 Aug 2016 14:02:40 +0200 Ard Biesheuvel wrote: >> >> > Hi Jisheng, >> > >> > On 12 August 2016 at 10:01, Jisheng Zhang

[PATCH v4 0/3] arm64: put objects into proper sections

2016-08-15 Thread Jisheng Zhang
This series tries to put some objects into proper sections. patch1 puts alloc_vectors_page() into .init section. This is a clean up patch. patch2 constify vm_special_mapping used for aarch32 vectors page. patch3 apply __ro_after_init to some objects Previously I only want to mark vdso_pages,

[PATCH v4 2/3] arm64: vdso: constify vm_special_mapping used for aarch32 vectors page

2016-08-15 Thread Jisheng Zhang
The vm_special_mapping spec which is used for aarch32 vectors page is never modified, so mark it as const. Signed-off-by: Jisheng Zhang --- arch/arm64/kernel/vdso.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso.c

Re: [PATCH 1/4] net: hix5hd2_gmac: add tx scatter-gather feature

2016-08-15 Thread Dongpo Li
Hi Rob, Many thanks for your review. On 2016/8/13 2:43, Rob Herring wrote: > On Thu, Aug 11, 2016 at 05:01:52PM +0800, Dongpo Li wrote: >> From: Li Dongpo >> >> The "hix5hd2" is SoC name, add the generic ethernet driver name. >> The "hisi-gemac-v1" is the basic version

Re: [PATCH v3 4/4] arm64: apply __ro_after_init to some objects

2016-08-15 Thread Jisheng Zhang
Hi Mark, On Fri, 12 Aug 2016 13:43:45 +0100 Mark Rutland wrote: > Hi, > > There are still a few missing includes as of this patch, and I have a > small nit about one file as commented below. > > Please fix up the includes. > > On Fri, Aug 12, 2016 at 04:01:11PM +0800, Jisheng Zhang wrote: > >

[PATCH v9 5/5] usb: dwc3: add rockchip specific glue layer

2016-08-15 Thread William Wu
Add rockchip specific glue layer to support USB3 Peripheral mode and Host mode on rockchip platforms (e.g. rk3399). The DesignWare USB3 integrated in rockchip SoCs is a configurable IP Core which can be instantiated as Dual-Role Device (DRD), Host Only (XHCI) and Peripheral Only configurations.

RE: [lkp] [usb] ad05399d68: BUG: unable to handle kernel NULL pointer dereference at 0000000000000012

2016-08-15 Thread Peter Chen
> > >FYI, we noticed the following commit: > >https://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git testing/next >commit >ad05399d68b6ae1649cdcfc82ce3ffea1a7c5104 ("usb: udc: core: fix error handling") > Hi Xiaolong, You reported it one month ago, and said it is a false report. see

Re: [PATCH 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:48 +0200, Matthias Brugger wrote: > > On 11/07/16 10:52, dawei chien wrote: > > Dear Keerthy, > > > > On Thu, 2016-07-07 at 16:39 +0530, Keerthy wrote: > >> > >> On Thursday 07 July 2016 02:36 PM, Dawei Chien wrote: > >>> This adds the device tree binding

Re: [PATCH v3 0/3] drm: add SimpleDRM driver

2016-08-15 Thread Daniel Vetter
On Sun, Aug 14, 2016 at 06:52:03PM +0200, Noralf Trønnes wrote: > This patchset adds the simpledrm driver by David Herrmann based on a > patchset[1] from 2014. That patchset also included patches for kicking > out simpledrm by real drivers. I have stayed away from that since it > involves another

Re: [PATCH 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-15 Thread dawei chien
Hi Matthias, On Thu, 2016-08-11 at 17:51 +0200, Matthias Brugger wrote: > > On 07/07/16 11:06, Dawei Chien wrote: > > This adds the thermal controller and auxadc nodes > > to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Dawei Chien > > --- > > This patch

Re: [PATCH 2/4] net: hix5hd2_gmac: add reset control and clock signals

2016-08-15 Thread Dongpo Li
Hi Rob, On 2016/8/13 2:48, Rob Herring wrote: > On Thu, Aug 11, 2016 at 05:01:53PM +0800, Dongpo Li wrote: >> From: Li Dongpo >> >> Add three reset control signals, "mac_core_rst", "mac_ifc_rst" and >> "phy_rst". >> The following diagram explained how the reset signals

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Wu, Songjun
On 8/15/2016 15:15, Hans Verkuil wrote: On 08/15/2016 08:09 AM, Wu, Songjun wrote: On 8/12/2016 15:32, Hans Verkuil wrote: One quick question: On 08/11/2016 09:06 AM, Songjun Wu wrote: The Image Sensor Controller driver includes two parts. 1) Driver code to implement the ISC function. 2)

Re: [PATCH] powerpc/powernv: Initialise nest mmu

2016-08-15 Thread Balbir Singh
On Mon, Aug 15, 2016 at 04:51:59PM +1000, Alistair Popple wrote: > POWER9 contains an off core mmu called the nest mmu (NMMU). This is > used by other hardware units on the chip to translate virtual > addresses into real addresses. The unit attempting an address > translation provides the majority

Re: [PATCH v9 0/2] [media] atmel-isc: add driver for Atmel ISC

2016-08-15 Thread Hans Verkuil
On 08/11/2016 09:06 AM, Songjun Wu wrote: > The Image Sensor Controller driver includes two parts. > 1) Driver code to implement the ISC function. > 2) Device tree binding documentation, it describes how >to add the ISC in device tree. So close... Running checkpatch gives me: WARNING:

RE: [PATCH v2 1/2] rtc: bq32k: Use correct mask name for 'minutes' register.

2016-08-15 Thread Jan Östlund
Signed-off-by: Jan Östlund -Original Message- From: Daniel Romell [mailto:danielrom...@gmail.com] Sent: den 11 augusti 2016 13:32 To: a.zu...@towertech.it Cc: alexandre.bell...@free-electrons.com; rtc-li...@googlegroups.com; linux-kernel@vger.kernel.org; Daniel Romell

Re: ARC stable backport request

2016-08-15 Thread g...@kroah.com
On Mon, Aug 15, 2016 at 06:42:45AM +, Alexey Brodkin wrote: > Hi Greg, > > On Sun, 2016-08-14 at 17:39 +0200, Greg KH wrote: > > On Wed, May 25, 2016 at 05:13:31PM +0530, Vineet Gupta wrote: > > > > > > Hi, > > > > > > Can we please backport a6416f57ce57fb390b "ARC: use ASL assembler > > >

  1   2   3   4   5   6   7   8   9   10   >