[PATCH v3 02/19] clk: sunxi: Add display and TCON0 clocks driver

2016-03-23 Thread Maxime Ripard
The A10 SoCs and its relatives has a special clock controller to drive the display engines (both frontend and backend), that have a lot in common with the clock to drive the first TCON channel. Add a driver to support both. Signed-off-by: Maxime Ripard

[PATCH v3 18/19] ARM: sun5i: r8: Add display blocks to the DTSI

2016-03-23 Thread Maxime Ripard
The TCON, tv-encoder and display engine backends and frontends are combined to create our display pipeline. Add them to the R8 DTSI. It's supposed to be perfectly compatible with the A10s and A13, but since we haven't tested it on them yet, it's safer to just enable it on the R8. Eventually, it

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

2016-03-23 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

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

2016-03-23 Thread Maxime Ripard
The CHIP has a composite output available muxed with the microphone in the micro-jack plug. Enable the composite output in its DTS. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-r8-chip.dts | 12 1 file changed, 12 insertions(+) diff

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

2016-03-23 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

Re: [PATCH] tpm: drop 'base' from struct tpm_vendor_specific

2016-03-23 Thread Jason Gunthorpe
On Wed, Mar 23, 2016 at 08:16:09AM +0200, Jarkko Sakkinen wrote: > Dropped the field 'base' from struct tpm_vendor_specific and migrated > it to the private structures of tpm_atmel and tpm_nsc. > > Signed-off-by: Jarkko Sakkinen > +#define atmel_get_priv(chip)

Re: [PATCH] i2c: Prevent endless uevent loop with dev_dbg

2016-03-23 Thread Jan Glauber
On Wed, Mar 23, 2016 at 05:50:33PM +0100, Wolfram Sang wrote: > On Wed, Mar 23, 2016 at 04:50:47PM +0100, Jan Glauber wrote: > > After enabling CONFIG_I2C_DEBUG_CORE my system was broken > > (no network, console login not possible). System log was > > flooded with the this message: > > > > ... >

Re: [PATCH v2 00/11] da8xx USB clocks

2016-03-23 Thread Sekhar Nori
Hi David, On Thursday 17 March 2016 07:09 PM, Sergei Shtylyov wrote: > On 3/17/2016 5:26 AM, David Lechner wrote: > >> OK, ready for round two. > >You're quick... :-) > >> I've added a new callback in the davinci clocks so that they can properly >> handle clock muxing. The clock functions

[PATCH 2/2] HID: corsair: Add K40 support

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
The Corsair K40 uses the same usage codes as the K90 for its special keys (although it has only 6 G-keys). Signed-off-by: Clément Vuchener --- drivers/hid/hid-core.c| 1 + drivers/hid/hid-corsair.c | 1 + drivers/hid/hid-ids.h | 1 + 3 files changed, 3

[PATCH 1/2] HID: corsair: Remove all features using the USB protocol

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
Remove every use of USB control requests since it can be more easily done in user space. This removes the dependency on USB and LED subsystems. The simplyfied driver now only remaps Corsair usage codes. Signed-off-by: Clément Vuchener ---

Re: [PATCH v2 04/11] ARM: davinci: da8xx: add usb phy clocks

2016-03-23 Thread Sekhar Nori
On Wednesday 23 March 2016 11:15 PM, David Lechner wrote: > On 03/23/2016 11:56 AM, Sekhar Nori wrote: >>> >>> +static struct clk usb_ref_clk = { >>> +.name= "usb_ref_clk", >>> +.rate= 4800, >>> +.set_rate= davinci_simple_set_rate, >>> +}; >> >> can we call this

Re: [PATCH v2 05/11] dt-bindings: Add bindings for phy-da8xx-usb

2016-03-23 Thread David Lechner
On 03/23/2016 12:06 PM, Sekhar Nori wrote: On Thursday 17 March 2016 07:56 AM, David Lechner wrote: Device tree binding for new phy-da8xx-usb driver. Signed-off-by: David Lechner --- v2 changes: This is new patch in v2. .../devicetree/bindings/phy/phy-da8xx-usb.txt

investicni

2016-03-23 Thread Brt
Ahoj, Jsem zastupujici investicni zajem ze strany Dubaji, pro ktere se snazime svou ucast jako v zamori zastupce. Odpoved na e-mailu nize v pripade zajmu. E-mail: philp...@gmail.com

Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new driver

2016-03-23 Thread Alexandre Belloni
Hi, On 23/03/2016 at 17:47:38 +, Opensource [Steve Twiss] wrote : > > On 23 March 2016, Alexandre Belloni wrote: > > > Subject: Re: [NEW DRIVER V6 0/7] DA9058 PMIC - please comment on this new > > > driver > > > > > > Hi Anthony, Steve, > > > > > > This driver has been submitted a while ago

Re: [PATCH v2 06/11] phy: da8xx-usb: new driver for DA8XX SoC USB PHY

2016-03-23 Thread David Lechner
On 03/23/2016 12:21 PM, Sekhar Nori wrote: +/* DA8xx CFGCHIP2 (USB PHY Control) register bits */ +#define PHYCLKGD (1 << 17) +#define VBUSSENSE (1 << 16) +#define RESET (1 << 15) +#define OTGMODE_MASK (3 << 13) +#define NO_OVERRIDE

Re: [PATCH] vlan: propagate gso_min_segs

2016-03-23 Thread David Miller
From: Eric Dumazet Date: Tue, 22 Mar 2016 19:33:52 -0700 > On Wed, 2016-03-23 at 09:35 +0800, Haishuang Yan wrote: >> vlan drivers lack proper propagation of gso_min_segs from lower device. >> >> Signed-off-by: Haishuang Yan >> --- >

Re: [PATCH] vlan: propagate gso_min_segs

2016-03-23 Thread Eric Dumazet
On Wed, 2016-03-23 at 14:25 -0400, David Miller wrote: > From: Eric Dumazet > Date: Tue, 22 Mar 2016 19:33:52 -0700 > > > On Wed, 2016-03-23 at 09:35 +0800, Haishuang Yan wrote: > >> vlan drivers lack proper propagation of gso_min_segs from lower device. > >> > >>

[PATCH] intel-iommu: fix up comment

2016-03-23 Thread Michael S. Tsirkin
dma_pte_free_pagetable no longer depends on last level ptes being clear, it clears them itself. Fix up the comment to match. Cc: Jiang Liu Suggested-by: Alex Williamson Signed-off-by: Michael S. Tsirkin ---

Re: [PATCH v2] net: Fix typos and whitespace.

2016-03-23 Thread David Miller
From: Bjorn Helgaas Date: Wed, 23 Mar 2016 13:47:23 -0500 > Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure > indentation. No functional change intended; only comment and whitespace > changes. > > Signed-off-by: Bjorn Helgaas

[PATCH v3 03/19] clk: sunxi: Add PLL3 clock

2016-03-23 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. Acked-by: Rob Herring Acked-by: Chen-Yu Tsai Signed-off-by:

[PATCH v3 01/19] clk: composite: Add unregister function

2016-03-23 Thread Maxime Ripard
The composite clock didn't have any unregistration function, which forced us to use clk_unregister directly on it. While it was already not great from an API point of view, it also meant that we were leaking the clk_composite structure allocated in clk_register_composite. Add a

Re: [PATCHv2] fat: add config option to set UTF-8 mount option by default

2016-03-23 Thread Maciej S. Szmigiero
On 23.03.2016 13:57, Josh Boyer wrote: > On Wed, Mar 23, 2016 at 8:27 AM, Geert Uytterhoeven > wrote: >> On Wed, Mar 23, 2016 at 12:28 PM, Josh Boyer >> wrote: >>> On Wed, Mar 23, 2016 at 4:17 AM, Geert Uytterhoeven >>>

[PATCH v3 05/19] dt-bindings: clk: sun5i: add DRAM gates compatible

2016-03-23 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 the one found in the A13 / R8 SoCs. Signed-off-by: Maxime Ripard

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

2016-03-23 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 Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun5i.dtsi | 43 +++ 1 file changed,

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

2016-03-23 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. Add a driver with a limited set of features for now, and we will hopefully support all of them eventually

[PATCH v3 08/19] ARM: sun5i: Add DRAM gates

2016-03-23 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-a13.dtsi | 22 +- arch/arm/boot/dts/sun5i-r8.dtsi | 2 +- 2

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread Andrew Lunn
On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: > dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is > not set, which can lead to unused variable warnings: > > ethernet/mellanox/mlxsw/pci.c: In function 'mlxsw_pci_cqe_sdq_handle': >

Re: [PATCH] i2c: Prevent endless uevent loop with dev_dbg

2016-03-23 Thread Wolfram Sang
On Wed, Mar 23, 2016 at 04:50:47PM +0100, Jan Glauber wrote: > After enabling CONFIG_I2C_DEBUG_CORE my system was broken > (no network, console login not possible). System log was > flooded with the this message: > > ... > [ 608.052077] rtc-ds1307 0-0068: uevent > [ 608.052500] rtc-ds1307

Re: [PATCH v2 06/11] phy: da8xx-usb: new driver for DA8XX SoC USB PHY

2016-03-23 Thread Sekhar Nori
On Thursday 17 March 2016 07:56 AM, David Lechner wrote: > This is a new phy driver for the SoC USB controllers on the TI DA8XX > family of microcontrollers. The USB 1.1 PHY is just a simple on/off. > The USB 2.0 PHY also allows overriding the VBUS and ID pins. > > Signed-off-by: David Lechner

Re: linux-next: Tree for Mar 23 (infiniband: mlx5)

2016-03-23 Thread Leon Romanovsky
On Wed, Mar 23, 2016 at 10:26:35AM -0700, Randy Dunlap wrote: > On 03/22/16 19:22, Stephen Rothwell wrote: > > Hi all, > > > > Please do not add any v4.7 related material to your linux-next included > > trees until after v4.6-rc1 is released. > > > > Changes since 20160322: > > > > on i386 or

Re: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-23 Thread Paul E. McKenney
On Wed, Mar 23, 2016 at 05:15:11PM +, Chatre, Reinette wrote: > Hi Paul, > > On 2016-03-22, Paul E. McKenney wrote: > > On Tue, Mar 22, 2016 at 09:04:47PM +, Chatre, Reinette wrote: > >> On 2016-03-22, Paul E. McKenney wrote: > >>> You set CONFIG_RCU_CPU_STALL_TIMEOUT=60, which matches

[PATCH] Staging: wlan-ng: wiphy_free() is not called in case wiphy_register() fails

2016-03-23 Thread Claudiu Beznea
This patch covers wiphy_register() failures in wlan_create_wiphy() from cfg80211.c by calling wiphy_free() for the correspondent struct wiphy allocated structure. Signed-off-by: Claudiu Beznea --- drivers/staging/wlan-ng/cfg80211.c | 4 +++- 1 file changed, 3

Re: [PATCH] net: mlxsw: avoid unused variable warnings

2016-03-23 Thread David Miller
From: Andrew Lunn Date: Wed, 23 Mar 2016 17:51:11 +0100 > On Wed, Mar 23, 2016 at 05:37:38PM +0100, Arnd Bergmann wrote: >> dev_dbg_ratelimited() is a macro that ignores its arguments when DEBUG is >> not set, which can lead to unused variable warnings: >> >>

RE: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-23 Thread Chatre, Reinette
Hi Paul, On 2016-03-22, Paul E. McKenney wrote: > On Tue, Mar 22, 2016 at 09:04:47PM +, Chatre, Reinette wrote: >> On 2016-03-22, Paul E. McKenney wrote: >>> You set CONFIG_RCU_CPU_STALL_TIMEOUT=60, which matches the 60004 >>> jiffies above. Is that value due to a distro setting or

Re: [PATCH v2 03/11] ARM: davinci: da850: use clk->set_parent for async3

2016-03-23 Thread Sekhar Nori
On Wednesday 23 March 2016 10:50 PM, David Lechner wrote: > On 03/23/2016 10:56 AM, Sekhar Nori wrote: >> On Thursday 17 March 2016 07:56 AM, David Lechner wrote: >>> The da850 family of processors has an async3 clock domain that can be >>> muxed to either pll0_sysclk2 or pll1_sysclk2. Now that

[PATCH 0/2] hid: corsair: Driver simplification and new supported device

2016-03-23 Thread =?UTF-8?q?Cl=C3=A9ment=20Vuchener?=
I tried to add support for the K40 some time ago, but the vendor specific USB protocol became over-complicated because of a lot of small differences between the K90 and the K40. Also, since I wrote the first version of this driver, I learned that USB control transfers could be done from

Re: [PATCH] net: phy: at803x: Request 'reset' GPIO only for AT8030 PHY

2016-03-23 Thread David Miller
From: Sebastian Frias Date: Wed, 23 Mar 2016 11:49:09 +0100 > This removes the dependency on GPIOLIB for non faulty PHYs. > > Indeed, without this patch, if GPIOLIB is not selected > devm_gpiod_get_optional() will return -ENOSYS and the driver probe > call will fail,

Re: Nonterministic hang during bootconsole/console handover on ath79

2016-03-23 Thread Matthias Schiffer
On 03/22/2016 04:38 PM, Peter Hurley wrote: > On 03/22/2016 06:07 AM, Matthias Schiffer wrote: >> I've tried your patch and I can't reproduce the issue anymore with it; I >> have no idea if this actually has to do something with the issue, or the >> change of the code path just hid the bug again.

Re: [PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-23 Thread Peter Zijlstra
On Mon, Mar 14, 2016 at 09:59:42AM +, Wang Nan wrote: > +++ b/arch/arm/kernel/hw_breakpoint.c > @@ -631,7 +631,7 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp) > info->address &= ~alignment_mask; > info->ctrl.len <<= offset; > > - if (!bp->overflow_handler) { > +

RE: rcu_preempt self-detected stall on CPU from 4.5-rc3, since 3.17

2016-03-23 Thread Chatre, Reinette
Hi Paul, On 2016-03-23, Paul E. McKenney wrote: > Please boot with the following parameters: > > rcu_tree.rcu_kick_kthreads ftrace > trace_event=sched_waking,sched_wakeup,sched_wake_idle_without_ipi > > Or was this run with tracing? If so, less than three hours isn't too bad. This was

Re: [PATCH 5/9] x86: Add documentation for rd/wr fs/gs base

2016-03-23 Thread Valdis . Kletnieks
On Mon, 21 Mar 2016 09:16:05 -0700, Andi Kleen said: > From: Andi Kleen > > v2: Minor updates to documentation requested in review. > +In addition the kernel needs to explicitly enable these instructions, as it > +may otherwise not correctly context switch the state. Newer

Re: [PATCH] tpm_tis: drop manufacturer_id from struct tpm_vendor_specific

2016-03-23 Thread Jason Gunthorpe
On Wed, Mar 23, 2016 at 07:31:56AM +0200, Jarkko Sakkinen wrote: > Dropped manufacturer_id from struct tpm_vendor_specific and redeclared > it in the private struct priv_data that tpm_tis uses because the field > is only used tpm_tis. Reviewed-by: Jason Gunthorpe

Re: [PATCH v2 04/11] ARM: davinci: da8xx: add usb phy clocks

2016-03-23 Thread Sekhar Nori
On Thursday 17 March 2016 07:56 AM, David Lechner wrote: > Up to this point, the USB phy clock configuration was handled manually in > the board files and in the usb drivers. This adds proper clocks so that > the usb drivers can use clk_get and clk_enable and not have to worry about > the details.

[PATCH v2] usb: gadget: f_midi: fixed a bug when buflen was smaller than wMaxPacketSize

2016-03-23 Thread Felipe F. Tonello
buflen by default (256) is smaller than wMaxPacketSize (512) in high-speed devices. That caused the OUT endpoint to freeze if the host send any data packet of length greater than 256 bytes. This is an example dump of what happended on that enpoint: HOST: [DATA][Length=260][...] DEVICE: [NAK]

Re: [PATCH v2 03/11] ARM: davinci: da850: use clk->set_parent for async3

2016-03-23 Thread David Lechner
On 03/23/2016 10:56 AM, Sekhar Nori wrote: On Thursday 17 March 2016 07:56 AM, David Lechner wrote: The da850 family of processors has an async3 clock domain that can be muxed to either pll0_sysclk2 or pll1_sysclk2. Now that the davinci clocks have a set_parent callback, we can use this to

[GIT PULL] platform-drivers-x86 for 4.6-1

2016-03-23 Thread Darren Hart
Hi Linus, The following changes since commit 92e963f50fc74041b5e9e744c330dca48e04f08d: Linux 4.5-rc1 (2016-01-24 13:06:47 -0800) are available in the git repository at: git://git.infradead.org/users/dvhart/linux-platform-drivers-x86.git tags/platform-drivers-x86-v4.6-1 for you to fetch

Re: [PATCH 2/2] drivers: net: ethernet: dlink: dl2k: fix indent

2016-03-23 Thread Joe Perches
If dl2k is modified at all, maybe convert the printks to netdev_ too so that the logging output is more like other networking drivers. Something like: ---  drivers/net/ethernet/dlink/dl2k.c | 181 +-  1 file changed, 100 insertions(+), 81 deletions(-) diff

Re: [PATCH v2 04/11] ARM: davinci: da8xx: add usb phy clocks

2016-03-23 Thread David Lechner
On 03/23/2016 11:56 AM, Sekhar Nori wrote: +static struct clk usb_ref_clk = { + .name = "usb_ref_clk", + .rate = 4800, + .set_rate = davinci_simple_set_rate, +}; can we call this usb_refclkin so it matches the TRM name? Also, should this node be

Re: [PATCH v2 0/6] ARM64: meson: GXBaby (S905) and Vega S95 enablement

2016-03-23 Thread Kevin Hilman
Andreas Färber writes: > Am 21.03.2016 um 23:36 schrieb Kevin Hilman: >> On Tue, Mar 1, 2016 at 6:34 PM, Andreas Färber wrote: >> >>> Note: On the Vega S95 I need to change TEXT_OFFSET as follows, >>> in order to avoid the vendor U-Boot overwriting itself

[RFC 0/6] drm/fences: add in-fences to DRM

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This is a first proposal to discuss the addition of in-fences support to DRM. It adds a new struct to fence.c to abstract the use of sync_file in DRM drivers. The new struct fence_collection contains a array with all fences that a

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

2016-03-23 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

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

2016-03-23 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

[PATCH] x86/mce: Avoid using object after free in genpool.

2016-03-23 Thread Tony Luck
When we loop over all queued machine check error records to pass them to the registered notifiers we use llist_for_each_entry(). But the loop calls gen_pool_free() for the entry in the body of the loop - and then the iterator looks at node->next after the free. Use llist_for_each_entry_safe()

[PATCH 1/1] gpio: mcp23s08: Add support for level triggered interrupts

2016-03-23 Thread Alexander Stein
The interrupt for the corresponding pin is configured to trigger when the pin state changes compared to a preconfigured state (Bit set in INTCON). This state is set by setting/clearing the bit in DEFVAL. In the interrupt handler we need also to check if the bit in INTCON is set for level triggered

Re: [PATCH] net: Fix typos and whitespace.

2016-03-23 Thread Vlad Zolotarov
On 03/23/2016 03:55 PM, Bjorn Helgaas wrote: [+cc Vlad] On Wed, Mar 23, 2016 at 08:45:30AM -0500, Bjorn Helgaas wrote: Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure indentation. No functional change intended; only comment and whitespace changes. Signed-off-by: Bjorn

Re: [PATCH] x86/mce: Avoid using object after free in genpool.

2016-03-23 Thread Borislav Petkov
On Wed, Mar 23, 2016 at 09:14:40AM -0700, Tony Luck wrote: > When we loop over all queued machine check error records to pass > them to the registered notifiers we use llist_for_each_entry(). > But the loop calls gen_pool_free() for the entry in the body of > the loop - and then the iterator looks

Re: [PATCH 2/5] perf core: Set event's default overflow_handler

2016-03-23 Thread Will Deacon
On Wed, Mar 23, 2016 at 06:50:21PM +0100, Peter Zijlstra wrote: > On Mon, Mar 14, 2016 at 09:59:42AM +, Wang Nan wrote: > > +++ b/arch/arm/kernel/hw_breakpoint.c > > @@ -631,7 +631,7 @@ int arch_validate_hwbkpt_settings(struct perf_event *bp) > > info->address &= ~alignment_mask; > >

[RFC 3/6] dma-buf/sync_file: add sync_file_fences_get()

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Creates a function that given an sync file descriptor returns a fence_collection containing all fences in the sync_file. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/sync_file.c | 36

[PATCH v2] net: Fix typos and whitespace.

2016-03-23 Thread Bjorn Helgaas
Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure indentation. No functional change intended; only comment and whitespace changes. Signed-off-by: Bjorn Helgaas --- include/linux/netdevice.h | 215 ++--- 1 file

[RFC 6/6] drm/fence: support fence_collection on atomic commit

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Let atomic_commit() wait on a collection of fences before proceed with the scanout. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/drm_atomic.c| 9 + drivers/gpu/drm/drm_atomic_helper.c

[PATCH v3] bsp: add SoC driver to brcmstb

2016-03-23 Thread Justin Chen
From: Justin Chen Value of soc_dev_attributes: family = chip family id soc_id = product id revision = product revision Signed-off-by: Justin Chen --- arch/arm/mach-bcm/Kconfig|1 + drivers/soc/brcmstb/common.c | 58

[PATCH] usb: rework CONFIG_USB_COMMON logic

2016-03-23 Thread Arnd Bergmann
The phy-am335x driver selects 'USB_COMMON', but all other drivers use 'depends on' for that symbol, and it depends on USB || USB_GADGET itself, which causes a Kconfig warning: warning: (AM335X_PHY_USB) selects USB_COMMON which has unmet direct dependencies (USB_SUPPORT && (USB || USB_GADGET))

Re: [PATCH] tpm: drop the field 'time_expired' from struct tpm_chip

2016-03-23 Thread Jason Gunthorpe
On Wed, Mar 23, 2016 at 08:23:39AM +0200, Jarkko Sakkinen wrote: > Removed the field because it is not used for anything. Reviewed-by: Jason Gunthorpe Jason

Re: [PATCH v2 05/11] dt-bindings: Add bindings for phy-da8xx-usb

2016-03-23 Thread Sekhar Nori
On Thursday 17 March 2016 07:56 AM, David Lechner wrote: > Device tree binding for new phy-da8xx-usb driver. > > Signed-off-by: David Lechner > --- > > v2 changes: This is new patch in v2. > > > .../devicetree/bindings/phy/phy-da8xx-usb.txt | 34 >

RE: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread Simmons, James A.
>On Wed, Mar 23, 2016 at 05:39:36AM +, Dilger, Andreas wrote: >> On 2016/03/22, 19:49, "lustre-devel on behalf of Greg Kroah-Hartman" >> > gre...@linuxfoundation.org> wrote: >> >> >On Tue, Mar 22, 2016 at 06:21:04PM -0400, James Simmons

Re: [RFC] high preempt off latency in vfree path

2016-03-23 Thread Joel Fernandes
On 03/22/16 19:44, Andi Kleen wrote: (1) One is we reduce the number of lazy_max_pages (right now its around 32MB per core worth of pages). diff --git a/mm/vmalloc.c b/mm/vmalloc.c index aa3891e..2720f4f 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c @@ -564,7 +564,7 @@ static unsigned long

Re: [PATCH 1/2] Disable UV BAU by default

2016-03-23 Thread Thomas Gleixner
On Wed, 23 Mar 2016, Alex Thorlton wrote: > This was actually what I initially wrote, but we decided to go with the > on/off switch instead, because, in the UV4 time-frame, we're hoping to > get a few things changed so that we can default to having the bau *on* > for the new UV4 systems. > > I

Re: linux-next: Tree for Mar 23 (infiniband: mlx5)

2016-03-23 Thread Randy Dunlap
On 03/22/16 19:22, Stephen Rothwell wrote: > Hi all, > > Please do not add any v4.7 related material to your linux-next included > trees until after v4.6-rc1 is released. > > Changes since 20160322: > on i386 or x86_64: ../drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_add':

Re: net/sctp: stack-out-of-bounds in sctp_getsockopt

2016-03-23 Thread Pablo Neira Ayuso
On Thu, Mar 24, 2016 at 12:42:43AM +0800, Baozeng wrote: > 2016-03-22 23:27 GMT+08:00 Eric Dumazet : > > Untested patch would be : > > > > diff --git a/net/bridge/netfilter/ebtables.c > > b/net/bridge/netfilter/ebtables.c > > index 67b2e27999aa..fceb7354d169 100644 > > ---

RE: [PATCH] staging: comedi: drivers: remove bogus ni_mio_c_common.c

2016-03-23 Thread Hartley Sweeten
On Wednesday, March 23, 2016 3:55 AM, Ian Abbott wrote: > The zero-length file "ni_mio_c_common.c" was inadvertantly created by > commit e563637b5fef ("staging: comedi: Use ARRAY_SIZE for sizes of > arrays"). Remove it. > > Signed-off-by: Ian Abbott > --- >

Re: [PATCH] net: Fix typos and whitespace.

2016-03-23 Thread David Miller
From: Bjorn Helgaas Date: Wed, 23 Mar 2016 08:45:30 -0500 > Fix typos. Capitalize CPU, NAPI, RCU consistently. Align structure > indentation. No functional change intended; only comment and whitespace > changes. > > Signed-off-by: Bjorn Helgaas

[RFC 1/6] drm/fence: add FENCE_FD property to planes

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan FENCE_FD can now be set by the user during an atomic IOCTL, it will be used by atomic_commit to wait until the sync_file is signalled, i.e., the framebuffer is ready for scanout. Signed-off-by: Gustavo Padovan

[RFC 2/6] dma-buf/fence: add struct fence_collection

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan The struct aggregates fences that we need to wait on before proceed with some specific operation. In DRM, for example, we may wait for a group of fences to signal before we scanout the buffers related to those fences. Signed-off-by: Gustavo

[RFC 5/6] dma-buf/fence: add fence_collection_wait()

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Iterate over the array of fences and wait for all of the to finish. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 16 include/linux/fence.h | 1 + 2 files changed, 17

[RFC 4/6] dma-buf/fence: add fence_collection_put()

2016-03-23 Thread Gustavo Padovan
From: Gustavo Padovan Put fence_collection data. For that calls fence_put() on all fences and the user put callback. Signed-off-by: Gustavo Padovan --- drivers/dma-buf/fence.c | 17 + include/linux/fence.h |

Re: [lustre-devel] [PATCH] Revert "Staging: lustre: o2iblnd: Use sizeof type *pointer instead of sizeof type."

2016-03-23 Thread Joe Perches
On Wed, 2016-03-23 at 18:31 +, Simmons, James A. wrote: > > On Wed, Mar 23, 2016 at 05:39:36AM +, Dilger, Andreas wrote: > > > On 2016/03/22, 19:49, "lustre-devel on behalf of Greg Kroah-Hartman" > > > > > gre...@linuxfoundation.org>

[PATCH] regulator: twl: Enable regulators over the powerbus as well

2016-03-23 Thread Ivaylo Dimitrov
Assigning a device group to a regulator does not change its state. To change the state of a regulator a message over the powerbus is required. Also, the check for the current state of a regulator should not count on a device group being assigned, but on the current resource state. Signed-off-by:

[PATCH v3 1/2] drm/dp_helper: add workarounds from intel_dp_dpcd_read_wake()

2016-03-23 Thread Lyude
Some sinks need some time during the process of resuming the system from sleep before they're ready to handle transactions. While it would be nice if they responded with NACKs in these scenarios, this isn't always the case as a few sinks will just timeout on all of the transactions they receive.

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Tobias Jakobi
Hello Javier, I think the G2D and probably also the GSC v4l drivers should be left off, since they use the same resources as their DRM counterparts. With best wishes, Tobias Javier Martinez Canillas wrote: > There are a bunch of media platform drivers under drivers/media/platform/ > that are

[PATCH v3 2/4] perf config: Let show_config() work with perf_config_set

2016-03-23 Thread Taeung Song
Current show_config() has a problem when user or system config files have same config variables i.e. # cat ~/.perfconfig [top] children = false when $(sysconfdir) is /usr/local/etc # cat /usr/local/etc/perfconfig [top] children = true Before:

[PATCH v3 4/4] perf config: Initialize perf_config_set with all default configs

2016-03-23 Thread Taeung Song
To avoid duplicated config variables and use perf_config_set classifying between standard perf config variables and unknown or new config variables other than them, initialize perf_config_set with all default configs. And this will be needed when showing all configs with default value or checking

[PATCH net-next] hv_netvsc: Fix the order of num_sc_offered decrement

2016-03-23 Thread Haiyang Zhang
Reorder the code in netvsc_sc_open(), so num_sc_offered is only decremented after vmbus_open() is called. This avoid pontential race of removing device before all channels are setup. Signed-off-by: Haiyang Zhang Reviewed-by: K. Y. Srinivasan ---

Re: [PATCH v6] acpi: Issue _OSC call for native thermal interrupt handling

2016-03-23 Thread Srinivas Pandruvada
On Wed, 2016-03-23 at 12:43 -0400, Linda Knippers wrote: > I raised a general concern on a previous patch so I found a 1P server > with Skylake and HWP to try.  This doesn't qualify as a tested-by > since all I did was apply the patch and boot the server but hey, it > booted. Thanks. > > I do

Re: [PATCH] unicore32: mm: Add missing parameter to arch_vma_access_permitted

2016-03-23 Thread Guenter Roeck
On Mon, Mar 21, 2016 at 07:47:29PM +0800, Xuetao Guan wrote: > > unicore32 fails to compile with the following errors. > > > > mm/memory.c: In function 鈥榑_handle_mm_fault鈥: > > mm/memory.c:3381: error: > > too many arguments to function 鈥榓rch_vma_access_permitted鈥 > > mm/gup.c: In function

Re: [PATCH 04/12] ARM: dts: dragonboard-600c: add board support with serial

2016-03-23 Thread Srinivas Kandagatla
On 23/03/16 20:07, Stephen Boyd wrote: On 03/23/2016 12:47 PM, Srinivas Kandagatla wrote: diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts new file mode 100644 index 000..e96aab6 --- /dev/null +++

Re: [PATCH 0/6] of: Implement iterator for phandles

2016-03-23 Thread Rob Herring
On Wed, Mar 23, 2016 at 6:54 AM, Joerg Roedel wrote: > Hi Rob, > > On Tue, Mar 22, 2016 at 01:45:41PM -0500, Rob Herring wrote: >> On Tue, Mar 22, 2016 at 12:58 PM, Joerg Roedel wrote: >> > Please review. Patches are based on v4.5. >> >> Other than my one

[PATCH] f2fs: give RO message when recovering superblock

2016-03-23 Thread Jaegeuk Kim
When one of superblocks is missing, f2fs recovers it with the valid one. But, even if f2fs is mounted as RO, we'd better notify that too. Signed-off-by: Jaegeuk Kim --- fs/f2fs/super.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/super.c

[PATCH v3 5/7] x86/mtrr: Fix PAT init handling when MTRR is disabled

2016-03-23 Thread Toshi Kani
get_mtrr_state() calls pat_init() on BSP even if MTRR is disabled. This results in calling pat_init() on BSP only since APs do not call pat_init() when MTRR is disabled. This inconsistency between BSP and APs leads to undefined behavior. Make BSP's calling condition to pat_init() consistent with

[PATCH v3 1/7] x86/mm/pat: Add support of non-default PAT MSR setting

2016-03-23 Thread Toshi Kani
In preparation for fixing a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to support a case that PAT MSR is initialized with a non-default value. When pat_init() is called and PAT is disabled, it initializes PAT table with the BIOS default

[PATCH v3 0/7] Enhance PAT init to fix Xorg crashes

2016-03-23 Thread Toshi Kani
A Xorg failure on qemu32 was reported as a regression [1] caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")'. This patch-set fixes the regression. Negative effects of this regression were two failures [2] in Xorg on QEMU with QEMU CPU model "qemu32" (-cpu qemu32),

[PATCH v3 3/7] x86/mm/pat: Replace cpu_has_pat with boot_cpu_has

2016-03-23 Thread Toshi Kani
Borislav Petkov wrote: > Please use on init paths boot_cpu_has(X86_FEATURE_PAT) and on fast > paths static_cpu_has(X86_FEATURE_PAT). No more of that cpu_has_XXX > ugliness. Replace the use of cpu_has_pat on init paths with boot_cpu_has(). Suggested-by: Borislav Petkov

Re: [PATCH 00/11] mtd: nand_bbt: introduce independent nand BBT

2016-03-23 Thread Ezequiel Garcia
Hello, On 13 March 2016 at 23:47, Peter Pan wrote: > Sorry for send the v3 out late. I went through a busy time in the past > two month. > > Currently nand_bbt.c is tied with struct nand_chip, and it makes other > NAND family chips hard to use nand_bbt.c. Maybe it's the

Re: drivers/target/iscsi/iscsi_target.o: warning: objtool: iscsit_handle_task_mgt_cmd()+0xbcb: function has unreachable instruction

2016-03-23 Thread Josh Poimboeuf
On Wed, Mar 23, 2016 at 07:15:08PM +0800, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: a24e3d414e59ac76566dedcad1ed1d319a93ec14 > commit: d4883d5d6b146fd65f762c462b2c6d4a327c7d50 objtool: Enable stack > metadata

Re: UFS V11 patch-set

2016-03-23 Thread Martin K. Petersen
> "Joao" == Joao Pinto writes: Joao, Joao> Isn't it possible to be merged into a ufs-dwc branch in the SCSI Joao> Git tree that could be pulled later, like Bjorn did in the PCIe Joao> RC? I just started 4.7/scsi-queue so now is a good time to resubmit. Thanks! --

[PATCH 21/23] perf tools: Unexport some methods unused outside strbuf.c

2016-03-23 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Jiri Olsa Cc: Namhyung Kim Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-nq1wvtky4mpu0nupjyar7...@git.kernel.org Signed-off-by: Arnaldo

[PATCH v2] sparc/PCI: Fix for panic while enabling SR-IOV

2016-03-23 Thread Babu Moger
We noticed this panic while enabling SR-IOV in sparc. mlx4_core: Mellanox ConnectX core driver v2.2-1 (Jan 1 2015) mlx4_core: Initializing 0007:01:00.0 mlx4_core 0007:01:00.0: Enabling SR-IOV with 5 VFs mlx4_core: Initializing 0007:01:00.1 Unable to handle kernel NULL pointer dereference

Re: [RFC PATCH] ARM: exynos_defconfig: Enable Samsung media platform drivers as modules

2016-03-23 Thread Javier Martinez Canillas
Hello Tobias, Thanks for the feedback. On 03/23/2016 04:32 PM, Tobias Jakobi wrote: > Hello Javier, > > I think the G2D and probably also the GSC v4l drivers should be left > off, since they use the same resources as their DRM counterparts. > I left out the drivers/media/platform/s5p-tv/

RE: [PATCH 0/5] Drivers: hv: vmbus

2016-03-23 Thread KY Srinivasan
> -Original Message- > From: K. Y. Srinivasan [mailto:k...@microsoft.com] > Sent: Friday, March 18, 2016 6:14 PM > To: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com

[PATCH 09/12] ARM: dts: dragonboard-600c: add on board sata support.

2016-03-23 Thread Srinivas Kandagatla
This patch enables sata and regulators required to get on board sata working. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH 06/12] ARM: dts: dragonboard-600c: Add eMMC and SD card support

2016-03-23 Thread Srinivas Kandagatla
This patch adds eMMC and SD card support with card detect and adding required regulators. Signed-off-by: Srinivas Kandagatla --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 41 ++ 1 file changed, 41 insertions(+) diff --git

  1   2   3   4   5   6   7   8   9   10   >