Re: [PATCH 2/2] pinctrl: baytrail: Serialize all register access

2015-10-30 Thread Greg KH
On Fri, Oct 30, 2015 at 12:48:38PM -0200, Lucas De Marchi wrote: > Hi Mika and Linus, > > CC'ing Greg. > > On Tue, Aug 4, 2015 at 9:03 AM, Mika Westerberg > wrote: > > There is a hardware issue in Intel Baytrail where concurrent GPIO register > > access might result reads of 0x and

[PATCH] drivers:staging:gdm724x Fix spaces preferred message

2015-10-30 Thread Bogicevic Sasa
This fixes spaces preferred around that ... from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index d600728..60b52a3

[PATCH] drivers:staging:gdm724x Fix Prefer kmalloc(sizeof(*gdm)...)

2015-10-30 Thread Bogicevic Sasa
This fixes Prefer kmalloc(sizeof(*gdm)...) over kmalloc(sizeof(struct gdm)...) message from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_tty.c

[git pull] Input updates for 4.3-rc7

2015-10-30 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a change to ALPS driver where we had limit the quirk for trackstick handling from being active on all Dells to just a few models;

Re: [PATCH 19/19] ARM: sun5i: chip: Enable the TV Encoder

2015-10-30 Thread Chen-Yu Tsai
On Fri, Oct 30, 2015 at 10:21 PM, Maxime Ripard wrote: > The TV encoder is used to drive VGA and composite display. > > Enable it on the CHIP The commit message does not match the contents. Missing a patch? :) ChenYu > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot/dts/sun5i-r8.dtsi |

[PATCH] drivers:staging:gdm724x Fix Comparison to NULL could be written "!gdm"

2015-10-30 Thread Bogicevic Sasa
This fixes message from checkpatch.pl Comparison to NULL could be written "!gdm" Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_tty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-30 Thread Nicolas Pitre
On Fri, 30 Oct 2015, Måns Rullgård wrote: > Nicolas Pitre writes: > > > OK... I was intrigued, so I adapted my ARM code to the generic case, > > including the overflow avoidance optimizations. Please have look and > > tell me how this works for you. > > > > If this patch is accepted

Re: [PATCH v3 0/3] virtio DMA API core stuff

2015-10-30 Thread Joerg Roedel
On Thu, Oct 29, 2015 at 11:01:41AM +0200, Michael S. Tsirkin wrote: > Example: you have a mix of assigned devices and virtio devices. You > don't trust your assigned device vendor not to corrupt your memory so > you want to limit the damage your assigned device can do to your guest, > so you use

Re: [PATCH] sysfs: add devm_sysfs_create_group() and friends

2015-10-30 Thread Dmitry Torokhov
On Fri, Oct 30, 2015 at 07:40:37AM -0700, Greg Kroah-Hartman wrote: > On Fri, Oct 30, 2015 at 04:47:06AM -0700, Dmitry Torokhov wrote: > > Many drivers create additional driver-specific device attributes when > > binding to the device and providing managed version of sysfs_create_group() > > will

[PATCH] drivers:staging:gdm724x Fix Blank lines aren't necessary after an open brace '{'

2015-10-30 Thread Bogicevic Sasa
This fixes message "Blank lines aren't necessary after an open brace '{'" Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_tty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_tty.c b/drivers/staging/gdm724x/gdm_tty.c index 001348c..0d54a73 100644

[PATCH v3 net] i40e: Look up MAC address in Open Firmware or IDPROM

2015-10-30 Thread Sowmini Varadhan
This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC address in Open Firmware or IDPROM"). As with that fix, attempt to look up the MAC address in Open Firmware on systems that support it, and use IDPROM on SPARC if no OF address is found. Reviewed-by: Martin K. Petersen

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 22:32:27, Tetsuo Handa wrote: > Michal Hocko wrote: > > + target -= (stall_backoff * target + MAX_STALL_BACKOFF - 1) / > > MAX_STALL_BACKOFF; > target -= DIV_ROUND_UP(stall_backoff * target, MAX_STALL_BACKOFF); Ohh, we have a macro for that. Good to know. Thanks. It

Re: [PATCH 00/19] drm: Add Allwinner A10 display engine support

2015-10-30 Thread Daniel Vetter
On Fri, Oct 30, 2015 at 03:20:46PM +0100, Maxime Ripard wrote: > Hi everyone, > > The Allwinner SoCs (except for the very latest ones) all share the > same set of controllers, loosely coupled together to form the display > pipeline. > > Depending on the SoC, the number of instances of the

Re: [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-10-30 Thread Mark Rutland
On Thu, Oct 29, 2015 at 11:08:12PM -0400, Sinan Kaya wrote: > The Qualcomm Technologies HIDMA device has been designed > to support virtualization technology. The driver has been > divided into two to follow the hardware design. The management > driver is executed in hypervisor context and is the

Re: [PATCH 1/2] clocksource: replace cycle_last validation with an equal way

2015-10-30 Thread Thomas Gleixner
Yang, On Tue, 27 Oct 2015, Yang Yingliang wrote: > Mask the cycle values before subtraction. So we can use this > validation while the clocksource mask is not 64-bits. > > Signed-off-by: Yang Yingliang > Cc: Thomas Gleixner > --- > kernel/time/timekeeping_internal.h | 2 +- > 1 file changed,

[PATCH] drivers:staging:gdm724x Fix comparison to NULL could be written like

2015-10-30 Thread Bogicevic Sasa
This fixes all messages from checkpatch.pl about comparison to NULL could be written according to coding style preferences Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-10-30 Thread Mark Rutland
On Thu, Oct 29, 2015 at 11:08:13PM -0400, Sinan Kaya wrote: > This patch adds support for hidma engine. The driver > consists of two logical blocks. The DMA engine interface > and the low-level interface. This version of the driver > does not support virtualization on this release and only >

[PATCH] drivers:staging:gdm724x Fix spaces preffered around that ...

2015-10-30 Thread Bogicevic Sasa
This fixes all messages from checkpatch.pl about spaces preffered around that + Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_mux.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c

Re: [PATCH 2/2] pinctrl: baytrail: Serialize all register access

2015-10-30 Thread Lucas De Marchi
Hi Mika and Linus, CC'ing Greg. On Tue, Aug 4, 2015 at 9:03 AM, Mika Westerberg wrote: > There is a hardware issue in Intel Baytrail where concurrent GPIO register > access might result reads of 0x and writes might get dropped > completely. > > Prevent this from happening by taking the

[PATCH] KVM: x86: zero apic_arb_prio on reset

2015-10-30 Thread Radim Krčmář
BSP doesn't get INIT so its apic_arb_prio isn't zeroed after reboot. BSP won't get lowest priority interrupts until other VCPUs get enough interrupts to match their pre-reboot apic_arb_prio. That behavior doesn't fit into KVM's round-robin-like interpretation of lowest priority delivery ...

Re: [PATCH v2 UPDATE-2 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-30 Thread Borislav Petkov
On Fri, Oct 30, 2015 at 07:48:51AM -0600, Toshi Kani wrote: > Yes, the brackets are not necessary. I put them as self-explanatory of > the precedence. Shall I remove them, and send you an updated patch? Not necessary, I have my high hopes that Rafael can remove them when applying :-) --

Re: 答复: [PATCHv2 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 13:59:03, Michal Hocko wrote: > On Thu 29-10-15 18:04:22, Michal Hocko wrote: > > On Wed 28-10-15 16:54:04, David Rientjes wrote: > > [...] > > > It's a bad situation, I agree, and we anticipated the complete removal of > > > /proc/pid/oom_adj years ago since it has been

Re: [PATCH 01/12] usb: xhci: expose xhci extended capabilities via debugfs

2015-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 08:09:17PM +0800, Lu, Baolu wrote: > > > On 10/28/2015 08:40 PM, Greg Kroah-Hartman wrote: > >>+static const char *get_extcap_desc(u32 cap_id) > >>>+{ > >>>+ switch (cap_id) { > >>>+ case XHCI_EXT_CAPS_LEGACY: > >>>+ return "USB Legacy Support"; > >>>+ case

Re: [PATCH 08/19] drm: Add Allwinner A10 Display Engine support

2015-10-30 Thread Daniel Vetter
On Fri, Oct 30, 2015 at 03:20:54PM +0100, Maxime Ripard wrote: > The Allwinner A10 and subsequent SoCs share the same display pipeline, with > variations in the number of controllers (1 or 2), or the presence or not of > some output (HDMI, TV, VGA) or not. > > This hardware supports 4 layers and

Re: [PATCH 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 07:46:45PM +0800, Lu, Baolu wrote: > > > On 10/28/2015 08:33 PM, Greg Kroah-Hartman wrote: > >On Wed, Oct 28, 2015 at 04:00:42PM +0800, Lu Baolu wrote: > >>This patch add dbc debug device support in usb_debug driver. > >> > >>Signed-off-by: Lu Baolu > >>--- > >>

Re: [PATCH] sysfs: add devm_sysfs_create_group() and friends

2015-10-30 Thread Greg Kroah-Hartman
On Fri, Oct 30, 2015 at 04:47:06AM -0700, Dmitry Torokhov wrote: > Many drivers create additional driver-specific device attributes when > binding to the device and providing managed version of sysfs_create_group() > will simplify unbinding and error handling in probe path for such drivers. But

[PATCH] drivers:staging:gdm724x Fix please dont use multiple blank lines

2015-10-30 Thread Bogicevic Sasa
This fixes the errors about the use of multiple blank lines from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_mux.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c index 0389680..45007ec

Re: latencytop.org defunkt ?

2015-10-30 Thread Maxin B. John
Hi All, Trying to revive an old question as it is still valid. Is there any decision on http://www.latencytop.org or moving it to another location yet ? On Thu, Oct 17, 2013 at 1:08 AM, Daniel Walker wrote: > On Sun, Oct 13, 2013 at 12:09:42PM -0700, Arjan van de Ven wrote: >> somehow the

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Sergei Shtylyov
Hello. On 10/30/2015 11:31 AM, Li Bin wrote: In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li Bin ---

[PATCH 17/19] ARM: sun5i: dt: Add display blocks to the DTSI

2015-10-30 Thread Maxime Ripard
The TCON and Display Engines are the two most important members of the display pipeline. With this alone, we can already use the display to an RGB interface. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i.dtsi | 40 1 file changed, 40

Re: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-30 Thread Mark Rutland
On Tue, Oct 27, 2015 at 06:25:04PM +, Stuart Yoder wrote: > I think that comment "Currently supported enable-method is psci v0.2" is a > statement of > intent, not what is available currently. And the only plan I am aware of is > PSCI > with UEFI based firmware. > > U-boot is a key

[PATCH] drivers:staging:gdm724x Fix Blank lines aren't necessary after an open brace '{'

2015-10-30 Thread Bogicevic Sasa
This fixes "Blank lines aren't necessary after an open brace '{'" message from checkpatch.pl Signed-off-by: Bogicevic Sasa --- drivers/staging/gdm724x/gdm_mux.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/gdm724x/gdm_mux.c b/drivers/staging/gdm724x/gdm_mux.c index

[PATCH 01/19] clk: sunxi: Add display clock

2015-10-30 Thread Maxime Ripard
The A10 SoCs and its relatives has a special clock controller to drive the display engines (both frontend and backend). Add a driver for it. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/Makefile| 1 + drivers/clk/sunxi/clk-sun4i-display.c | 199

Re: [PATCH v2 4/6] usb/uvc: Support for V4L2_CTRL_WHICH_DEF_VAL

2015-10-30 Thread Laurent Pinchart
Hi Ricardo, Thank you for the patch. On Thursday 29 October 2015 11:10:30 Ricardo Ribalda Delgado wrote: > This driver does not use the control infrastructure. > Add support for the new field which on structure > v4l2_ext_controls > > Signed-off-by: Ricardo Ribalda Delgado Acked-by: Laurent

Re: [PATCH] __div64_32: implement division by multiplication for 32-bit arches

2015-10-30 Thread Alexey Brodkin
Hi Nicolas, On Thu, 2015-10-29 at 21:26 -0400, Nicolas Pitre wrote: > On Wed, 28 Oct 2015, Nicolas Pitre wrote: > > > On Thu, 29 Oct 2015, Alexey Brodkin wrote: > > > > > Fortunately we already have much better __div64_32() for 32-bit ARM. > > > There in case of division by constant

[PATCH 00/19] drm: Add Allwinner A10 display engine support

2015-10-30 Thread Maxime Ripard
Hi everyone, The Allwinner SoCs (except for the very latest ones) all share the same set of controllers, loosely coupled together to form the display pipeline. Depending on the SoC, the number of instances of the controller will change (2 instances of each in the A10, only one in the A13, for

[PATCH 02/19] clk: sunxi: Add PLL3 clock

2015-10-30 Thread Maxime Ripard
The A10 SoCs and relatives have a PLL controller to drive the PLL3 and PLL7, clocked from a 3MHz oscillator, that drives the display related clocks (GPU, display engine, TCON, etc.) Add a driver for it. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/Makefile | 3 +-

Re: [RESEND PATCH 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-10-30 Thread Heiko Stuebner
Hi, first of all, thanks for working on this, it will be really cool to see the crypto accelerator supported in the kernel :-) Am Freitag, 30. Oktober 2015, 16:22:46 schrieb Zain Wang: > Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher > mode. > The names registered

[PATCH 06/19] clk: sunxi: Add Allwinner R8 AHB gates support

2015-10-30 Thread Maxime Ripard
The R8 has yet another array of gates for AHB. Let's add it to the list of compatibles we can deal with. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/clk-simple-gates.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/clk/sunxi/clk-simple-gates.c

[PATCH 05/19] clk: sunxi: add DRAM gates

2015-10-30 Thread Maxime Ripard
The Allwinner SoCs have a gate controller to gate the access to the DRAM clock to the some devices that need to access the DRAM directly (mostly display / image related IPs). Use a simple gates driver to support it. Signed-off-by: Maxime Ripard --- drivers/clk/sunxi/clk-simple-gates.c | 2 ++

[PATCH 07/19] drm/panel: simple: Add timings for the Olimex LCD-OLinuXino-4.3TS

2015-10-30 Thread Maxime Ripard
Add support for the Olimex LCD-OLinuXino-4.3TS panel to the DRM simple panel driver. It is a 480x272 panel connected through a 24-bits RGB interface. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/panel/panel-simple.c | 26 ++ 1 file changed, 26 insertions(+) diff

[PATCH 09/19] drm: sun4i: Add DT bindings documentation

2015-10-30 Thread Maxime Ripard
The display pipeline of the Allwinner A10 is involving several loosely coupled components. Add a documentation for the bindings. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/drm/sunxi/sun4i-drm.txt| 122 + 1 file changed, 122 insertions(+) create mode

Re: [RFC v2 4/5] drm/dsi: Add routine to unregister dsi device

2015-10-30 Thread Andrzej Hajda
On 10/06/2015 11:24 AM, Archit Taneja wrote: > A driver calling mipi_dsi_device_new might want to unregister the device > once it's done. It might also require it in an error handling path in > case something didn't go right. > > When the dsi host driver calls mipi_dsi_host_unregister, the devices

[PATCH 10/19] drm: sun4i: Add RGB output

2015-10-30 Thread Maxime Ripard
One of the A10 display pipeline possible output is an RGB interface to drive LCD panels directly. This is done through the first channel of the TCON that will output our video signals directly. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Makefile| 2 +

[PATCH 14/19] ARM: sun5i: dt: Add pll3 and pll7 clocks

2015-10-30 Thread Maxime Ripard
Enable the pll3 and pll7 clocks in the DT that are used to drive the display-related clocks. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i.dtsi | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi

[PATCH 12/19] drm: sun4i: tv: Add PAL output standard

2015-10-30 Thread Maxime Ripard
Now that we have support for the composite output, we can start adding new supported standards. Start with PAL, and we will add other eventually. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tv.c | 42 1 file changed, 42 insertions(+)

[PATCH] i2c: exynos5: register driver early in subsys initcall to avoid probe defer

2015-10-30 Thread Marek Szyprowski
i2c bus drivers should be registered earlier than typical drivers to let important i2c devices (like PMICs/regulators) get registered early enough to avoid probe defer of all devices in typical embedded system. Signed-off-by: Marek Szyprowski --- drivers/i2c/busses/i2c-exynos5.c | 12

[PATCH 15/19] ARM: sun5i: dt: Add display and TCON clocks

2015-10-30 Thread Maxime Ripard
Enable the display and TCON (channel 0 and channel 1) clocks that are going to be needed to drive the display engine, tcon and TV encoders. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-a10s.dtsi | 8 +++--- arch/arm/boot/dts/sun5i-a13.dtsi | 3 ++- arch/arm/boot/dts/sun5i-r8.dtsi

[PATCH 16/19] ARM: sun5i: dt: Add DRAM gates

2015-10-30 Thread Maxime Ripard
The DRAM gates control whether the image / display devices on the SoC have access to the DRAM clock or not. Enable it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-a10s.dtsi | 5 +++-- arch/arm/boot/dts/sun5i-a13.dtsi | 2 +- arch/arm/boot/dts/sun5i-r8.dtsi | 2 +-

[PATCH 08/19] drm: Add Allwinner A10 Display Engine support

2015-10-30 Thread Maxime Ripard
The Allwinner A10 and subsequent SoCs share the same display pipeline, with variations in the number of controllers (1 or 2), or the presence or not of some output (HDMI, TV, VGA) or not. This hardware supports 4 layers and 32 sprites, even though we only support one primary layer for now.

[PATCH 13/19] drm: sun4i: tv: Add NTSC output standard

2015-10-30 Thread Maxime Ripard
Add the settings to support the NTSC standard. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/sun4i_tv.c | 45 1 file changed, 45 insertions(+) diff --git a/drivers/gpu/drm/sun4i/sun4i_tv.c b/drivers/gpu/drm/sun4i/sun4i_tv.c index

Re: [PATCH RESEND v2 net-next] net: hisilicon: updates HNS config and documents

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 19:16:34 huangdaode wrote: > mdio@803c { > #address-cells = <1>; > #size-cells = <0>; > - compatible = "hisilicon,mdio","hisilicon,hns-mdio"; > + compatible =

[PATCH 18/19] ARM: sun5i: r8: Add AHB gates to the DTSI

2015-10-30 Thread Maxime Ripard
Add the gates definition to the R8 DTSI. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-r8.dtsi | 29 + 1 file changed, 29 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-r8.dtsi b/arch/arm/boot/dts/sun5i-r8.dtsi index 691d3de75b35..d69df3a73cbf 100644

[PATCH 19/19] ARM: sun5i: chip: Enable the TV Encoder

2015-10-30 Thread Maxime Ripard
The TV encoder is used to drive VGA and composite display. Enable it on the CHIP Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-r8.dtsi | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-r8.dtsi b/arch/arm/boot/dts/sun5i-r8.dtsi index

[PATCH 11/19] drm: sun4i: Add composite output

2015-10-30 Thread Maxime Ripard
Some Allwinner SoCs have an IP called the TV encoder that is used to output composite and VGA signals. In such a case, we need to use the second TCON channel. Add support for that TV encoder. Signed-off-by: Maxime Ripard --- drivers/gpu/drm/sun4i/Makefile| 1 +

Re: [PATCH 8/8] iommu: Move default domain allocation to iommu_group_get_for_dev()

2015-10-30 Thread Joerg Roedel
Hi Will, On Thu, Oct 29, 2015 at 06:22:49PM +, Will Deacon wrote: > The call to iommu_group_get_for_dev in arm_smmu_add_device will end up > calling __iommu_attach_device, since group->domain will now be initialised > by the code above. This means the SMMU driver will see an ->attach_dev >

[PATCH 03/19] clk: sunxi: Add TCON channel0 clock

2015-10-30 Thread Maxime Ripard
The TCON is a controller generating the timings to output videos signals, acting like both a CRTC and an encoder. It has two channels depending on the output, each channel being driven by its own clock (and own clock controller). Add a driver for the channel 0 clock. Signed-off-by: Maxime

[PATCH 04/19] clk: sunxi: Add TCON channel1 clock

2015-10-30 Thread Maxime Ripard
The TCON is a controller generating the timings to output videos signals, acting like both a CRTC and an encoder. It has two channels depending on the output, each channel being driven by its own clock (and own clock controller). Add a driver for the channel 1 clock. Signed-off-by: Maxime

Re: [PATCH 1/4] dmaengine: Add transfer termination synchronization support

2015-10-30 Thread Lars-Peter Clausen
On 10/29/2015 10:59 PM, Andy Shevchenko wrote: > On Tue, Oct 20, 2015 at 12:46 PM, Lars-Peter Clausen wrote: >> The DMAengine API has a long standing race condition that is inherent to >> the API itself. Calling dmaengine_terminate_all() is supposed to stop and >> abort any pending or active

[PATCH v2] net: rds: changing the return type from int to void

2015-10-30 Thread Saurabh Sengar
as result of function rds_iw_flush_mr_pool is nowhere checked, changing its return type from int to void. also removing the unused variable rc as there is nothing to return Signed-off-by: Saurabh Sengar --- v2 : modify patch description, as per the comments from Sergei Shtylyov

Re: [PATCH 2/3] freezer: get rid of the kthread freezer

2015-10-30 Thread kbuild test robot
Hi Jiri, [auto build test WARNING on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Jiri-Kosina/PM-vfs-use-filesystem-freezing-instead-of-kthread-freezer/20151030-215223 config: x86_64

Re: [PATCH v5 5/5] gpio: tps65912: Add GPIO driver for the TPS65912 PMIC

2015-10-30 Thread Linus Walleij
On Fri, Oct 30, 2015 at 12:38 AM, Andrew F. Davis wrote: > This patch adds support for the TPS65912 PMIC GPIOs. > > TPS65912 has five configurable GPIOs that can be used for several > purposes. > > Signed-off-by: Andrew F. Davis This looks like a fine driver, can't really see anything wrong

Re: [PATCH v2 25/32] scsi: hisi_sas: add abnormal irq handler

2015-10-30 Thread Arnd Bergmann
On Monday 26 October 2015 22:14:56 John Garry wrote: > Add abnormal irq handler. This handler is concerned with > phy down event. > Also add port formed and port deformed handlers. > > Signed-off-by: John Garry I noticed a couple more coding style issues in this patch than elsewhere, so here

Re: [RESEND PATCH 4/4] crypto: rk_crypto - add DT bindings documentation

2015-10-30 Thread Heiko Stuebner
Hi, Am Freitag, 30. Oktober 2015, 16:22:49 schrieb Zain Wang: > Add DT bindings documentation for the rk3288 crypto drivers. > > Signed-off-by: Zain Wang > --- > .../devicetree/bindings/crypto/rk-crypto.txt | 31 > ++ > 1 file changed, 31 insertions(+) > create mode

Re: [PATCH v6] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-10-30 Thread Marc Zyngier
On Fri, 30 Oct 2015 17:47:08 +0530 Bharat Kumar Gogada wrote: > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > Signed-off-by: Bharat Kumar Gogada > Signed-off-by: Ravi Kiran Gummaluri > --- > Changes for v6: > Removed repetitive code for msi handlers. > Corrected typo

Re: [PATCH 2/3] freezer: get rid of the kthread freezer

2015-10-30 Thread kbuild test robot
Hi Jiri, [auto build test WARNING on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Jiri-Kosina/PM-vfs-use-filesystem-freezing-instead-of-kthread-freezer/20151030-215223 config: x86_64

[PATCH] pinctrl: zynq: fix UTF-8 errors

2015-10-30 Thread Linus Walleij
Fix up Sören's name in the Zynq driver. I caused this. I fix it. Cc: Sören Brinkmann Signed-off-by: Linus Walleij --- drivers/pinctrl/pinctrl-zynq.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pinctrl/pinctrl-zynq.c b/drivers/pinctrl/pinctrl-zynq.c index

Re: [PATCH V3 0/6] gicv2m: acpi: Add ACPI support for GICv2m MSI

2015-10-30 Thread Suravee Suthikulpanit
Hi Duc On 10/29/15 16:25, Duc Dang wrote: Hi Suravee, On Wed, Oct 21, 2015 at 11:47 AM, Suravee Suthikulpanit wrote: >This patch series has been forked from the following patch series since >it no longer depends on the rest of the patches. > > [PATCH v4 00/10] ACPI GIC Self-probing, GICv2m

Re: [RESEND PATCH 4/4] crypto: rk_crypto - add DT bindings documentation

2015-10-30 Thread Mark Rutland
On Fri, Oct 30, 2015 at 04:22:49PM +0800, Zain Wang wrote: > Add DT bindings documentation for the rk3288 crypto drivers. > > Signed-off-by: Zain Wang > --- > .../devicetree/bindings/crypto/rk-crypto.txt | 31 > ++ > 1 file changed, 31 insertions(+) > create mode

Re: [PATCH 1/3] power, vfs: move away from PF_KTHREAD freezing in favor of fs freezing

2015-10-30 Thread kbuild test robot
Hi Jiri, [auto build test WARNING on v4.3-rc7 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Jiri-Kosina/PM-vfs-use-filesystem-freezing-instead-of-kthread-freezer/20151030-215223 config: x86_64

Re: [PATCH] md/raid5: fix locking in handle_stripe_clean_event()

2015-10-30 Thread Roman Gushchin
> Isn't the 4.1 fix just: > > diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c > index e5befa356dbe..6e4350a78257 100644 > --- a/drivers/md/raid5.c > +++ b/drivers/md/raid5.c > @@ -3522,16 +3522,16 @@ returnbi: >   * no updated data, so remove it from hash list and the >

Re: [PATCH] net: rds: chnaging the return type from int to void

2015-10-30 Thread Sergei Shtylyov
Hello. On 10/30/2015 9:19 AM, Saurabh Sengar wrote: as return type Result. of function rds_iw_flush_mr_pool no where checked, Nowhere. chnaging its return type from int to void. s/chnaging/changing/ both here and in the subject. also removing the unused variable rc as

Re: [3.16.y-ckt stable] Linux 3.16.7-ckt19

2015-10-30 Thread Luis Henriques
diff --git a/Makefile b/Makefile index f4f73e6eaab4..9e830d34f4ef 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 16 SUBLEVEL = 7 -EXTRAVERSION =-ckt18 +EXTRAVERSION =-ckt19 NAME = Museum of Fishiegoodies # *DOCUMENTATION* diff --git a/arch/arm/Kconfig

[3.16.y-ckt stable] Linux 3.16.7-ckt19

2015-10-30 Thread Luis Henriques
I am announcing the release of the Linux 3.16.7-ckt19 kernel. The updated 3.16.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.16.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.16.y The diff from v3.16.7-ckt18 is posted

Re: [PATCH v5 2/5] clk: shmobile: div6: Make clock-output-names optional

2015-10-30 Thread Geert Uytterhoeven
On Fri, Oct 30, 2015 at 2:47 PM, Laurent Pinchart wrote: > On Thursday 29 October 2015 12:21:01 Geert Uytterhoeven wrote: >> Renesas DIV6 clocks provide a single clock output. Hence make the >> "clock-output-names" DT property optional instead of mandatory. In case >> the DT property is omitted

Re: [PATCH v4 1/6] virtio-net: Stop doing DMA from the stack

2015-10-30 Thread Christian Borntraeger
Am 30.10.2015 um 02:09 schrieb Andy Lutomirski: > From: "Michael S. Tsirkin" > > Once virtio starts using the DMA API, we won't be able to safely DMA > from the stack. virtio-net does a couple of config DMA requests > from small stack buffers -- switch to using dynamically-allocated > memory. >

Re: [PATCH v5 3/5] clk: shmobile: div6: Extract cpg_div6_register()

2015-10-30 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Thursday 29 October 2015 12:21:02 Geert Uytterhoeven wrote: > Extract cpg_div6_register(), to allow registering div6 clocks from > another clock driver. > > Signed-off-by: Geert Uytterhoeven Acked-by: Laurent Pinchart > --- > v5: > - Document

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-30 Thread Simon Wood
On Thu, October 29, 2015 8:39 pm, Simon Wood wrote: > On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: > > So problem (no LCD backlight) must have been introduced between those. >>> >>> Well this looks like it might have something to do with it will >>> attempt a build just

Re: [PATCH v2 27/32] scsi: hisi_sas: add smp protocol support

2015-10-30 Thread Arnd Bergmann
On Monday 26 October 2015 22:14:58 John Garry wrote: > + /* > + * DMA-map SMP request, response buffers > + */ > + /* req */ > + sg_req = >smp_task.smp_req; > + elem = dma_map_sg(dev, sg_req, 1, DMA_TO_DEVICE); > + if (!elem) > + return

Re: [PATCH] HID: microsoft: Add support for Surface Pro 4 Type Cover

2015-10-30 Thread Jiri Kosina
On Tue, 27 Oct 2015, savoca wrote: > Adding support for device 0x07e8 (SP4 Type Cover) > > Signed-off-by: savoca Thanks for the patch. The authorship and signoffs should same real names though. Could you please resend with that fixed? -- Jiri Kosina SUSE Labs -- To unsubscribe from this

Re: [PATCH v2 UPDATE-2 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-30 Thread Toshi Kani
On Fri, 2015-10-30 at 10:40 +0100, Borislav Petkov wrote: > On Mon, Oct 26, 2015 at 03:22:24PM -0600, Toshi Kani wrote: > > @@ -545,10 +545,15 @@ static int einj_error_inject(u32 type, u32 flags, u64 > > param1, u64 param2, > > /* > > * Disallow crazy address masks that give BIOS leeway

Re: [RFC 1/5] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-10-30 Thread Jiri Kosina
On Fri, 23 Oct 2015, Simon Wood wrote: > When plugged in the Logitech G920 wheel starts with USBID 046d:c261 > and behaviors as a vendor specific class. If a 'magic' byte sequence > is sent the wheel will detach and reconnect as a HID device with the > USBID 046d:c262. [ Benjamin added to CC ]

[PATCH 3/3] freezer: warn if anyone is trying to use freezer on kthreads

2015-10-30 Thread Jiri Kosina
From: Jiri Kosina kthread freezing has been deprecated in favor of fs freezing. Issue a warning if anyone attempts to still use this API. Signed-off-by: Jiri Kosina --- include/linux/freezer.h | 2 ++ kernel/freezer.c| 1 + 2 files changed, 3 insertions(+) diff --git

[PATCH 2/3] freezer: get rid of the kthread freezer

2015-10-30 Thread Jiri Kosina
From: Jiri Kosina Now that hibernation performs fs freezing, we can get rid of kthread freezing altogether. This patch can even be used to demonstrate why the current kthread freezing is an absolutely horrible API -- there are many kthreads that have gotten it wrong since ever; they are often

Re: [PATCH v5 2/5] clk: shmobile: div6: Make clock-output-names optional

2015-10-30 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Thursday 29 October 2015 12:21:01 Geert Uytterhoeven wrote: > Renesas DIV6 clocks provide a single clock output. Hence make the > "clock-output-names" DT property optional instead of mandatory. In case > the DT property is omitted the DT node name will be

[PATCH 1/3] power, vfs: move away from PF_KTHREAD freezing in favor of fs freezing

2015-10-30 Thread Jiri Kosina
From: Jiri Kosina Freeze all filesystems during hibernation in favor of dropping kthread freezing completely. Kthread freezing has a history of not very well defined semantics. Historically, it has been established to make sure that kthreads which are helpers to writing out data to disk are

[PATCH 0/3] PM, vfs: use filesystem freezing instead of kthread freezer

2015-10-30 Thread Jiri Kosina
This series is a followup to my proposal I brought up on Kernel Summit in Seoul. Noone seemed to had any principal objections, so let's have wider audience look into it. In a nuthsell: freezing of kernel threads is horrible interface with unclear semantics and guarantees, and I am surprised it

Re: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 14:40:21 Huan Wang wrote: > > > > Ok. What I was suggesting above though was to try to pinpoint exactly > > where it goes wrong. You have verified that it does not crash before the > > page tables are enabled, but that is very early. You have also shown > > that the

Re: [PATCH v3 0/3] serial: 8250_early: simplify serial_putc()

2015-10-30 Thread Peter Hurley
On 10/29/2015 10:39 PM, Masahiro Yamada wrote: Changes in v3: - Split into three patches. - Confirm the empty TX only after sending each character. Changes in v2: - split into two patches Masahiro Yamada (3): serial: 8250_early: do not save and restore IER in write callback

Re: [PATCH] arm64: dts: Added syscon-reboot node for FSL's LS2085A SoC

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 18:25:04 Stuart Yoder wrote: > I think that comment "Currently supported enable-method is psci v0.2" is a > statement of > intent, not what is available currently. And the only plan I am aware of is > PSCI > with UEFI based firmware. > > U-boot is a key firmware

Re: [PATCH] clocksource: sh_mtu2: Fix multiple shutdown call issue

2015-10-30 Thread Laurent Pinchart
Hi Magnus, Thank you for the patch. On Wednesday 28 October 2015 10:43:23 Magnus Damm wrote: > From: Magnus Damm > > On the r7s72100 Genmai board the MTU2 driver currently triggers a common > clock framework WARN_ON(enable_count) when disabling the clock due to > the MTU2 driver after recent

Re: [PATCH net] i40e: Look up MAC address in Open Firmware or IDPROM

2015-10-30 Thread Andy Shevchenko
On Fri, Oct 30, 2015 at 1:26 PM, Sowmini Varadhan wrote: > On (10/30/15 02:14), Andy Shevchenko wrote: >> >> Does the following has no stubs? >> >> > + struct i40e_pf *pf = hw->back; >> > + struct device_node *dp = pci_device_to_OF_node(pf->pdev); >> > + const unsigned char

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Tetsuo Handa
Michal Hocko wrote: > + target -= (stall_backoff * target + MAX_STALL_BACKOFF - 1) / > MAX_STALL_BACKOFF; target -= DIV_ROUND_UP(stall_backoff * target, MAX_STALL_BACKOFF); Michal Hocko wrote: > This alone wouldn't be sufficient, though, because the writeback might > get stuck and

Re: [PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances

2015-10-30 Thread Bjorn Helgaas
On Fri, Oct 30, 2015 at 09:00:20AM +, Phil Edworthy wrote: > Hi Bjorn, > > On 30 October 2015 07:24, Phil wrote: > > On 30 October 2015 07:19, Phil wrote > > > On 29 October 2015 23:03, Bjorn wrote: > > > > On Thu, Oct 29, 2015 at 07:48:00PM +0100, Wolfram Sang wrote: > > > > > On Thu, Oct

Re: [PATCH v2] serial: 8250_uniphier: add earlycon support

2015-10-30 Thread Peter Hurley
On 10/29/2015 10:46 PM, Masahiro Yamada wrote: This reuses the code of drivers/tty/serial/8250/8250_early.c except - Overwrite device->port.iotype and device->port.regshift for UPIO_MEM32 because of_setup_earlycon() has set them for UPIO_MEM. - Set device->baud to zero to prevent

Re: [PATCH] Evdev: Fix bug in checking duplicate clock change request

2015-10-30 Thread Aniroop Mathur
Hello Mr. Torokhov, On Fri, Oct 30, 2015 at 4:45 PM, Dmitry Torokhov wrote: > Hi Aniroop, > > On Thu, Oct 29, 2015 at 01:38:32AM +0530, Aniroop Mathur wrote: >> From: Aniroop Mathur >> >> clk_type and clkid stores different predefined clock identification >> values so they cannot be compared

Re: [PATCH] ARM: fix bug in vdsomunge swab32 macro

2015-10-30 Thread Russell King - ARM Linux
On Fri, Oct 30, 2015 at 01:54:55PM +0100, Arnd Bergmann wrote: > On Wednesday 28 October 2015 16:10:48 H. Nikolaus Schaller wrote: > > Commit Commit 8a603f91cc48 ("ARM: 8445/1: fix vdsomunge not to depend on > > glibc specific byteswap.h") > > > > unfortunately introduced a bug created but not

Re: [PATCH v2] Input: tsc2005 - Add support for tsc2004

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 23:12:58 Dmitry Torokhov wrote: > > Yes it does. > > > > I have been told that using wildcard names is bad in other subsystems. > > Perhaps tsc200x-core.c should be called something else because it has > > nothing to do with the tsc2007 but it is covered by the

Re: 答复: [PATCHv2 4.3-rc6] proc: fix convert from oom_score_adj to oom_adj

2015-10-30 Thread Michal Hocko
On Thu 29-10-15 18:04:22, Michal Hocko wrote: > On Wed 28-10-15 16:54:04, David Rientjes wrote: > [...] > > It's a bad situation, I agree, and we anticipated the complete removal of > > /proc/pid/oom_adj years ago since it has been deprecated for years. Maybe > > one day we can convince Linus

Re: [PATCH v3 RESEND] scsi: report 'INQUIRY result too short' once per host

2015-10-30 Thread Vitaly Kuznetsov
Hannes Reinecke writes: > On 10/30/2015 12:40 PM, Vitaly Kuznetsov wrote: >> Some host adapters (e.g. Hyper-V storvsc) are known for not respecting the >> SPC-2/3/4 requirement for 'INQUIRY data (see table ...) shall contain at >> least 36 bytes'. As a result we get tons on 'scsi 0:7:1:1: scsi

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