Re: [PATCH net-next 06/24] rxrpc: Dup the main conn list for the proc interface

2016-07-05 Thread David Miller
From: David Howells Date: Tue, 05 Jul 2016 14:12:54 +0100 > The main connection list is used for two independent purposes: primarily it > is used to find connections to reap and secondarily it is used to list > connections in procfs. > > Split the procfs list out from the reap list. This allows

Re: dccp: potential deadlock in dccp_v4_ctl_send_reset

2016-07-05 Thread Cong Wang
On Tue, Jul 5, 2016 at 4:59 AM, Dmitry Vyukov wrote: > other info that might help us debug this: > Possible unsafe locking scenario: > >CPU0 > > lock(slock-AF_INET); > > lock(slock-AF_INET); > > *** DEADLOCK *** > > 1 lock held by syz-executor/354: > #0: (sk_lock-A

RE: [PATCH v23 08/22] richacl: Compute maximum file masks from an acl

2016-07-05 Thread Frank Filz
> > + * Note: functions like richacl_allowed_to_who(), > > +richacl_group_class_allowed(), > > + * and richacl_compute_max_masks() iterate through the entire acl in > > +reverse > > + * order as an optimization. > > + * > > + * In the standard algorithm, aces are considered in forward order. > > +W

Re: [PATCH net-next 05/24] rxrpc: Provide more refcount helper functions

2016-07-05 Thread David Miller
From: David Howells Date: Tue, 05 Jul 2016 14:12:47 +0100 > Provide refcount helper functions for connections so that the code doesn't > touch conn->usage directly. > > Also provide queueing helper functions so that the queueing of local and > connection objects can be fixed later. > > Signed-o

[PATCH v4 3/4] ASoC: samsung: Add DT bindings documentation for TM2 sound subsystem

2016-07-05 Thread Sylwester Nawrocki
This patch adds DT binding documentation for Exnos5433 based TM2 and TM2E boards sound subsystem. Signed-off-by: Sylwester Nawrocki Acked-by: Rob Herring --- Changes since v2: - none. Changes since initial version: - dropped clocks, clock-names properties, instead properties from the CODEC

[PATCH v4 4/4] ASoC: samsung: Add machine driver for Exynos5433 based TM2 board

2016-07-05 Thread Sylwester Nawrocki
This patch adds the sound machine driver for TM2 and TM2E board. Speaker and headphone playback, Main Mic capture, Bluetooth, Voice call and external accessory are supported. Signed-off-by: Inha Song [k.kozlowski: rebased on 4.1] Signed-off-by: Krzysztof Kozlowski [s.nawrocki: rebased to 4.7, ad

[PATCH v4 2/4] mfd: Add Samsung Exynos Low Power Audio Subsystem driver

2016-07-05 Thread Sylwester Nawrocki
This patch adds common driver for the Top block of the Samsung Exynos SoC Low Power Audio Subsystem. This is a minimal driver which prepares resources for IP blocks like I2S, audio DMA and UART and exposes a regmap for the Top block registers. Also system power ops are added to ensure the Audio Sub

[PATCH v4 1/4] mfd: Add DT bindings documentation for Samsung Exynos LPASS

2016-07-05 Thread Sylwester Nawrocki
This patch adds documentation of the DT bindings for the Samsung Exynos SoC Low Power Audio Subsystem. Signed-off-by: Sylwester Nawrocki --- There were few rather significant additions since v3 and I had to drop tags: Acked-by: Rob Herring Acked-by: Krzysztof Kozlowski Changes since v3: -

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Marc Zyngier
On 05/07/16 17:59, Sebastian Frias wrote: > Hi Marc, > > On 07/05/2016 06:48 PM, Marc Zyngier wrote: >>> I already did something like that, you can see it here: >>> >>> https://marc.info/?l=linux-kernel&m=146592235919308&w=2 >>> >>> the problem with that code is that it cannot handle more than 24

[PATCH v4 0/4] ASoC: samsung: Sound support for Exynos5433 TM2(E) boards

2016-07-05 Thread Sylwester Nawrocki
This patch series adds a MFD driver for Samsung Exynos5433 SoC Low Power Audio Subsystem and an ASoC machine driver for Exynos5433 based TM2/TM2E boards. The changes since v3 are listed in individual patches, the main change was rewriting LPASS driver as a MFD driver. It seems much better now as t

Re: [PATCH] GPIO_KEYS: If devm_add_action() fails, we are explicitly calling the cleanup to freethe resources allocated. Use the helper devm_add_action_or_reset() and return directly in case of error,

2016-07-05 Thread Bjorn Andersson
On Tue 05 Jul 09:18 PDT 2016, Arvind Yadav wrote: Your subject line should be a short and descriptive summary, followed by an empty line and then potentially a longer description motivating your patch. Please read section #14 of Documentation/SubmittingPatches. > Signed-off-by: Arvind Yadav > -

Fast Loans

2016-07-05 Thread Financial Service
Apply for a loan at 3% reply to this Email for more Info

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Sebastian Frias
Hi Marc, On 07/05/2016 06:48 PM, Marc Zyngier wrote: >> I already did something like that, you can see it here: >> >> https://marc.info/?l=linux-kernel&m=146592235919308&w=2 >> >> the problem with that code is that it cannot handle more than 24 IRQs (the >> number of outputs of the router), becaus

Re: [PATCH v2] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-05 Thread Juri Lelli
On 05/07/16 12:47, Steven Rostedt wrote: > On Tue, 5 Jul 2016 15:39:33 +0100 > Juri Lelli wrote: > > return; > > > > > > > > /* > > > > +* Use the scheduling parameters of the top pi-waiter task, > > > > +* if we have one from which we can inherit a deadlin

Re: [PATCH 1/5] security, overlayfs: provide copy up security hook for unioned files

2016-07-05 Thread kbuild test robot
Hi, [auto build test ERROR on miklos-vfs/overlayfs-next] [also build test ERROR on v4.7-rc6 next-20160705] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Vivek-Goyal/Overlayfs-SELinux-Support

Re: [PATCH v2 1/8] mm/zsmalloc: modify zs compact trace interface

2016-07-05 Thread Steven Rostedt
On Mon, 4 Jul 2016 14:49:52 +0800 Ganesh Mahendran wrote: > This patch changes trace_zsmalloc_compact_start[end] to > trace_zs_compact_start[end] to keep function naming consistent > with others in zsmalloc > > Also this patch remove pages_total_compacted information which > may not really need

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Marc Zyngier
On 05/07/16 17:38, Sebastian Frias wrote: > Hi Jason, > > On 07/05/2016 05:53 PM, Jason Cooper wrote: >>> >>> Thanks for your comments. >>> So, aside from some naming issues, do you think the driver is ok? >> >> Well, it's going to be few days before I can really dig in to this. >> Until then, wha

Re: [PATCH v2] sched/deadline: remove useless param from setup_new_dl_entity

2016-07-05 Thread Steven Rostedt
On Tue, 5 Jul 2016 15:39:33 +0100 Juri Lelli wrote: return; > > > > > > /* > > > + * Use the scheduling parameters of the top pi-waiter task, > > > + * if we have one from which we can inherit a deadline. > > > + */ > > > + if (pi_task && dl_se->dl_boosted && dl_prio(pi_tas

[PATCH v3 1/4] sched,time: count actually elapsed irq & softirq time

2016-07-05 Thread Rik van Riel
On Tue, 5 Jul 2016 14:40:34 +0200 Frederic Weisbecker wrote: > ... Thanks for the review Frederic. Here is a fixed version of patch 1, the other three still seem to apply cleanly. ---8<--- Subject: sched,time: count actually elapsed irq & softirq time Currently, if there was any irq or softir

Re: [RFC] [PATCH v2 1/3] scatterlist: Add support to clone scatterlist

2016-07-05 Thread Andy Shevchenko
On Tue, Jul 5, 2016 at 5:49 PM, Mark Brown wrote: > On Mon, Jun 27, 2016 at 09:54:07AM -0500, Franklin S Cooper Jr wrote: >> Occasionally there are times you need to tweak a chained S/G list while >> maintaining the original list. This function will duplicate the passed >> in chained S/G list and

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-05 Thread Oleg Drokin
On Jul 5, 2016, at 9:51 AM, Al Viro wrote: > On Tue, Jul 05, 2016 at 01:31:10PM +0100, Al Viro wrote: >> On Tue, Jul 05, 2016 at 02:22:48AM -0400, Oleg Drokin wrote: >> + if (!(open_flags & O_CREAT) && !d_unhashed(dentry)) { >> >> s/d_unhashed/d_in_lookup/ in that. >> >>> So we come raci

[PATCH 1/3] dt/bindings: Add bindings for JC-42.4 compatible temperature sensors

2016-07-05 Thread Guenter Roeck
Provide generic bindings for all Jedec JC-42.4 compatible temperature sensor chips. Signed-off-by: Guenter Roeck --- Documentation/devicetree/bindings/hwmon/jc42.txt | 42 1 file changed, 42 insertions(+) create mode 100644 Documentation/devicetree/bindings/hwmon/jc42.t

[PATCH 2/3] hwmon: (jc42) Add support for generic JC-42.4 devicetree binding

2016-07-05 Thread Guenter Roeck
With this change, JC-42.4 compatible temperature sensors can be configured in devicetree by providing a generic "jedec,jc-42.4-temp" binding. Signed-off-by: Guenter Roeck --- drivers/hwmon/jc42.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/hwmon/jc42.c b/drivers/hwmon

[PATCH 3/3] ARM: dts: lpc4350-hitex-eval: Fix binding for SE97

2016-07-05 Thread Guenter Roeck
The 'compatible = "nxp,jc42"' binding only happened to work because the Linux driver is named jc42. The driver now supports generic bindings for JC-42 compatible chips, so use the generic binding instead. Cc: Ariel D'Alessandro Cc: Joachim Eastwood Signed-off-by: Guenter Roeck --- arch/arm/boo

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Sebastian Frias
Hi Jason, On 07/05/2016 05:53 PM, Jason Cooper wrote: >> >> Thanks for your comments. >> So, aside from some naming issues, do you think the driver is ok? > > Well, it's going to be few days before I can really dig in to this. > Until then, what I can say I see is that it looks like you're using

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-07-05 Thread Josh Boyer
On Wed, Jun 22, 2016 at 11:57 AM, Quinn Tran wrote: > Johannes, Martin, > > Based on the screen shot/call trace, it looks like this adapter is not using > MSIX. It defaulted back to MSI or INTx interrupt. The code made an > assumption of MSIX is available. There is no point in go through t

Re: [RFC PATCH] dt/bindings: Add bindings for JC-42.4 compatible temperature sensors

2016-07-05 Thread Guenter Roeck
On 07/05/2016 08:48 AM, Rob Herring wrote: On Sat, Jul 02, 2016 at 10:05:42AM -0700, Guenter Roeck wrote: Provide generic bindings for all Jedec JC-42.4 compatible temperature sensor chips. Signed-off-by: Guenter Roeck --- RFC to address: - Is "jc-42-4" ok to use for JC-42.4 ? - JC42.4 really

[PATCH v5 8/8] clk: fixed-rate: Convert into a module platform driver

2016-07-05 Thread Ricardo Ribalda Delgado
Adds support for fixed-rate clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-rate.c | 69 +--- 1 file

[PATCH] GPIO_KEYS: If devm_add_action() fails, we are explicitly calling the cleanup to freethe resources allocated. Use the helper devm_add_action_or_reset() and return directly in case of error, sin

2016-07-05 Thread Arvind Yadav
Signed-off-by: Arvind Yadav --- drivers/input/keyboard/gpio_keys.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/input/keyboard/gpio_keys.c b/drivers/input/keyboard/gpio_keys.c index 2909365..a2fa3bb 100644 --- a/drivers/input/keyboard/gpio_keys.c +++ b/drivers/in

[PATCH v5 3/8] clk: npx: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via lpc18xx_creg_clk_init and then continues the initialization on lpc18xx_creg_clk_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/nxp/clk-lpc18xx-creg.c | 3 ++- 1 file c

[PATCH v5 2/8] clk: axis: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via of_artpec6_clkctrl_setup and then continues the initialization on artpec6_clkctrl_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/axis/clk-artpec6.c | 4 ++-- 1 file ch

[PATCH v5 4/8] clk: sunxi: mod0: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via sun4i_a10_mod0_setup and then continues the initialization on sun4i_a10_mod0_clk_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/sunxi/clk-mod0.c | 3 ++- 1 file change

[PATCH v5 5/8] clk: sunxi: apb0: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via sun8i_a23_apb0_setup and then continues the initialization on sun8i_a23_apb0_clk_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/sunxi/clk-sun8i-apb0.c | 4 ++-- 1 file

[PATCH v5 5/8] clk: sunxi: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via sun8i_a23_apb0_setup and then continues the initialization on sun8i_a23_apb0_clk_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/sunxi/clk-sun8i-apb0.c | 4 ++-- 1 file

[PATCH v5 1/8] clk: core: New macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This will be used by drivers that requires initialization at of_clk_init() time and also during platform device probing. Signed-off-by: Ricardo Ribalda Delgado --- include/linux/clk-provider.h | 12 1 file changed, 12 insertions(+) diff --git a/include/linux/clk-provider.h b/includ

[PATCH v5 0/8] clk: Don't duplicate initialization on platform_dev

2016-07-05 Thread Ricardo Ribalda Delgado
Clock providers can be probed as a normal platform device, or via of_clk_init() before the rest of the platform devices are initialized using the CLK_OF_DECLARE() macro. If a driver required both initialization methodologies, the core would call both probe/init functions. This changeset prevent t

[PATCH v5 6/8] clk: core: Avoid double initialization of clocks

2016-07-05 Thread Ricardo Ribalda Delgado
Some clock providers can be initialized via of_clk_init() and also via platform device probe. Avoid double initialization of them by setting the OF_POPULATED flag. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/clk/cl

Re: [RESEND PATCH] thermal: helpers: Check return value of get_temp

2016-07-05 Thread Rhyland Klein
On 6/6/2016 12:53 PM, Rhyland Klein wrote: > Check the return value of get_temp, which can fail. If it does, then > unlock and return the error code. > > Signed-off-by: Rhyland Klein > --- > drivers/thermal/thermal_helpers.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/t

[PATCH v5 7/8] clk: fixed-factor: Convert into a module platform driver

2016-07-05 Thread Ricardo Ribalda Delgado
Adds support for fixed-factor clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/clk-fixed-factor.c | 72 +++--- 1 fi

[PATCH v5 4/8] clk: sunxi: Use new macro CLK_OF_DECLARE_DRIVER

2016-07-05 Thread Ricardo Ribalda Delgado
This driver initializes a clock provider via sun4i_a10_mod0_setup and then continues the initialization on sun4i_a10_mod0_clk_probe. Use the new macro to notify the clk subsystem about this behaviour. Signed-off-by: Ricardo Ribalda Delgado --- drivers/clk/sunxi/clk-mod0.c | 3 ++- 1 file change

Re: [PATCH 27/27] HID: wacom: leds: handle Cintiq 24HD leds buttons

2016-07-05 Thread kbuild test robot
Hi, [auto build test ERROR on hid/for-next] [also build test ERROR on v4.7-rc6 next-20160705] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Benjamin-Tissoires/HID-wacom-cleanup-EKR-LED

Re: [PATCH 7/7] gpu: drm: vc4_hdmi: add missing of_node_put after calling of_parse_phandle

2016-07-05 Thread Eric Anholt
Peter Chen writes: > of_node_put needs to be called when the device node which is got > from of_parse_phandle has finished using. > > Cc: Eric Anholt > Signed-off-by: Peter Chen > --- > drivers/gpu/drm/vc4/vc4_hdmi.c | 13 +++-- > 1 file changed, 7 insertions(+), 6 deletions(-) > > dif

Re: [PATCH 1/2] pcie/designware: Keep viewport fixed for IO transaction if num_viewport > 2

2016-07-05 Thread Rob Herring
On Mon, Jul 04, 2016 at 09:44:42PM +0530, Pratyush Anand wrote: > From: Pratyush Anand > > Most of the platform have 3 or more viewports. We do not need to share > viewport for such platform between IO and CFG. Assign viewport 2 to IO > transactions in such cases. > > Signed-off-by: Pratyush Ana

[PATCH v3 1/2] clk: samsung: cpu: Prepare for addition for Exynos7 CPU clocks

2016-07-05 Thread Abhilash Kesavan
Exynos7 has the same CPU clock registers layout as that present in Exynos5433 except for the bits in the MUX_STAT* registers. Add a new CLK_CPU_HAS_MODIFIED_MUX_STAT flag to handle this change. Signed-off-by: Abhilash Kesavan --- drivers/clk/samsung/clk-cpu.c | 10 -- drivers/clk/samsung

[PATCH v3 2/2] clk: samsung: exynos7: Add clocks for atlas block

2016-07-05 Thread Abhilash Kesavan
CMU_ATLAS generates all the necessary clocks for the Cortex-A57 block. Enable clock support for this block, which includes: - addition of mux/divider/gate/pll clocks - addition of CPU clocks configuration data - instantiation of the atlas CPU clock Signed-off-by: Abhilash K

[PATCH v3 0/2] Add CPU clock support for Exynos7

2016-07-05 Thread Abhilash Kesavan
This patch set adds the atlas clock hierarchy on Exynos7. It also modifies the existing cpu clock infrastructure to handle exynos7 differences. These patches are a pre-requisite for enabling CPUFreq on Exynos7. This patchset has been tested on next-20160704. The opp device tree changes, cpufreq-dt

[PATCH 2/2] soc: samsung: Add support for Exynos7 PMU

2016-07-05 Thread Abhilash Kesavan
Add initial PMU settings for exynos7. This is required for future suspend-to-ram and cpuidle support. Signed-off-by: Eunseok Choi Signed-off-by: Abhilash Kesavan --- drivers/soc/samsung/Kconfig | 2 +- drivers/soc/samsung/Makefile| 3 +- drivers/soc/samsung/e

[PATCH 0/2] Add PMU support for Exynos7

2016-07-05 Thread Abhilash Kesavan
Add support for the Power Management Unit on Exynos7. These patches have been tested on an Exynos7 espresso board (next-20160704). Abhilash Kesavan (2): soc: samsung: Change type of PMU configuration register value to u32 soc: samsung: Add support for Exynos7 PMU drivers/soc/samsung/Makefile

[PATCH 1/2] soc: samsung: Change type of PMU configuration register value to u32

2016-07-05 Thread Abhilash Kesavan
Exynos7 has certain PMU registers that needs to be configured with u32 values. Signed-off-by: Abhilash Kesavan --- drivers/soc/samsung/exynos-pmu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/samsung/exynos-pmu.h b/drivers/soc/samsung/exynos-pmu.h index a469e3

Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc

2016-07-05 Thread Florian Fainelli
On 07/05/2016 08:56 AM, Mason wrote: > On 05/07/2016 17:28, Florian Fainelli wrote: > >> nb8800.c does not currently show suspend/resume hooks implemented, are >> you positive that when you suspend, you properly tear down all HW, stop >> transmit queues, etc. and do the opposite upon resumption? >

Re: [RFC] mips: Add MXU context switching support

2016-07-05 Thread Andy Lutomirski
On Jul 5, 2016 5:35 AM, "Paul Burton" wrote: > > Hi PrasannaKumar, > > > On 25/06/16 13:14, PrasannaKumar Muralidharan wrote: >> >> From: PrasannaKumar Muralidharan >> >> This patch adds support for context switching Xburst MXU registers. The >> registers are named xr0 to xr16. xr16 is the contro

Re: [PATCH 2/4] dt-bindings: Document the STM32 reset bindings

2016-07-05 Thread Rob Herring
On Mon, Jul 04, 2016 at 03:47:30PM +0200, gabriel.fernan...@st.com wrote: > From: Maxime Coquelin > > This adds documentation of device tree bindings for the > STM32 reset controller. > > Signed-off-by: Maxime Coquelin > --- > .../devicetree/bindings/reset/st,stm32-rcc.txt | 50 >

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Jason Cooper
Hi Mason, On Tue, Jul 05, 2016 at 05:07:09PM +0200, Mason wrote: > Jason Cooper wrote: > > Sebastian Frias wrote: > >> Mason wrote: > >>> Sebastian Frias wrote: > >>> > .../sigma,smp87xx-irqrouter.txt| 69 +++ > >>> > >>> In the *actual* submission, we can't use a wildcar

[PATCH v1 0/2] Input: synaptics-rmi4 - F34 device reflash support

2016-07-05 Thread Nick Dyer
Hi Andrew/Chris- Please find attached patches to add firmware update via the F34 function to the RMI4 driver. I've now resolved all issues that I was aware of in my testing, would appreciate any input. Git tree here: https://github.com/ndyer/linux/commits/synaptics-fw-update-2016-07-05 best reg

[PATCH v1 2/2] Input: synaptics-rmi4 - add support for F34 device reflash

2016-07-05 Thread Nick Dyer
Signed-off-by: Nick Dyer --- drivers/input/rmi4/Kconfig | 11 ++ drivers/input/rmi4/Makefile | 1 + drivers/input/rmi4/rmi_bus.c| 3 + drivers/input/rmi4/rmi_driver.c | 146 +- drivers/input/rmi4/rmi_driver.h | 6 + drivers/input/rmi4/rmi_f01.c| 6 + drivers/

[PATCH v1 1/2] Input: synaptics-rmi4 - factor out functions from probe

2016-07-05 Thread Nick Dyer
--- drivers/input/rmi4/rmi_driver.c | 139 +--- 1 file changed, 86 insertions(+), 53 deletions(-) diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c index faa295e..543cf7a 100644 --- a/drivers/input/rmi4/rmi_driver.c +++ b/drivers/in

Re: [PATCH 26/27] HID: wacom: leds: handle the switch of the LEDs directly in the kernel

2016-07-05 Thread kbuild test robot
Hi, [auto build test ERROR on hid/for-next] [also build test ERROR on v4.7-rc6 next-20160705] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Benjamin-Tissoires/HID-wacom-cleanup-EKR-LED

Re: usb: memory allocation WARNING in hcd_buffer_alloc

2016-07-05 Thread Dmitry Vyukov
On Tue, Jul 5, 2016 at 5:42 PM, Alan Stern wrote: > On Tue, 5 Jul 2016, Dmitry Vyukov wrote: > >> Hello, >> >> The following program trigger the following WARNING: >> >> [ cut here ] >> WARNING: CPU: 0 PID: 6263 at mm/page_alloc.c:3584[< inline >] >> __alloc_pages_s

Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc

2016-07-05 Thread Mason
On 05/07/2016 17:28, Florian Fainelli wrote: > nb8800.c does not currently show suspend/resume hooks implemented, are > you positive that when you suspend, you properly tear down all HW, stop > transmit queues, etc. and do the opposite upon resumption? I am currently testing the error path for my

Re: [PATCH v23 11/22] vfs: Cache base_acl objects in inodes

2016-07-05 Thread Jeff Layton
On Thu, 2016-06-30 at 15:47 +0200, Andreas Gruenbacher wrote: > POSIX ACLs and richacls are both objects allocated by kmalloc() with a > reference count which are freed by kfree_rcu().  An inode can either > cache an access and a default POSIX ACL, or a richacl (richacls do not > have default acls)

[PATCH 2/5] security,overlayfs: Provide security hook for copy up of xattrs for overlay file

2016-07-05 Thread Vivek Goyal
Provide a security hook which is called when xattrs of a file are being copied up. This hook is called once for each xattr and one can either accept or reject xattr. If 0 is returned, xattr will be copied up, if 1 is returned, xattr will not be copied up and if negative error code is returned, copy

[PATCH 3/5] selinux: Pass security pointer to determine_inode_label()

2016-07-05 Thread Vivek Goyal
Right now selinux_determine_inode_label() works on security pointer of current task. Soon I need this to work on a security pointer retrieved from a set of creds. So start passing in a pointer and caller can decide where to fetch security pointer from. Signed-off-by: Vivek Goyal --- security/sel

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Jason Cooper
Hey Sebastian, On Tue, Jul 05, 2016 at 05:18:42PM +0200, Sebastian Frias wrote: > On 07/05/2016 04:41 PM, Jason Cooper wrote: > > On Tue, Jul 05, 2016 at 02:30:12PM +0200, Sebastian Frias wrote: > >> On 07/04/2016 02:11 PM, Mason wrote: > > ... > .../sigma,smp87xx-irqrouter.txt

[PATCH 5/5] overlayfs: Use vfs_getxattr_noperm() for real inode

2016-07-05 Thread Vivek Goyal
ovl_getxattr() currently uses vfs_getxattr() on realinode. This fails if mounter does not have DAC/MAC permission to access getxattr. Specifically this becomes a problem when selinux is trying to initialize overlay inode and does ->getxattr(overlay_inode). A task might trigger initialization of ov

[PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm - Acked

2016-07-05 Thread Casey Schaufler
Subject: [PATCH v5 1/3] LSM: Add /sys/kernel/security/lsm I got tired of having to find indirect ways to determine what security modules are active on a system. I have added /sys/kernel/security/lsm, which contains a comma separated list of the active security modules. No more groping around in /

[PATCH v5 3/3] LSM: Add context interface for proc attrs - Acked

2016-07-05 Thread Casey Schaufler
Subject: [PATCH v5 3/3] LSM: Add context interface for proc attrs The /proc/.../attr/current interface is used by all three Linux security modules (SELinux, Smack and AppArmor) to report and modify the process security attribute. This is all fine when there is exactly one of these modules active a

[PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr - Acked

2016-07-05 Thread Casey Schaufler
Subject: [PATCH v5 2/3] LSM: module hierarchy in /proc/.../attr Back in 2007 I made what turned out to be a rather serious mistake in the implementation of the Smack security module. The SELinux module used an interface in /proc to manipulate the security context on processes. Rather than use a si

[PATCH v5 0/3] LSM: security module information improvements - Acked

2016-07-05 Thread Casey Schaufler
Subject: [PATCH v5 0/3] LSM: security module information improvements I have added Acks. James, would you like me to add this to the Smack tree? Changes from v4: Use kasprintf instead of kzalloc() ... sprintf in more places. More in the documentation. Separate module infor

Re: [PATCH v6 12/22] sh: Add PCI host bridge driver for SH7751

2016-07-05 Thread Rob Herring
On Mon, Jul 04, 2016 at 01:46:32AM +0900, Yoshinori Sato wrote: > This is an alternative SH7751 PCI driver. > Existing driver (arch/sh/drivers/pci/pci-sh7751) uses SH specific interface. > But this driver uses common PCI interface. It is more modern and generic. > > Signed-off-by: Yoshinori Sato

[PATCH 1/5] security, overlayfs: provide copy up security hook for unioned files

2016-07-05 Thread Vivek Goyal
Provide a security hook to label new file correctly when a file is copied up from lower layer to upper layer of a overlay/union mount. This hook can prepare and switch to a new set of creds which are suitable for new file creation during copy up. Caller should revert to old creds after file creati

[PATCH 0/5][RFC] Overlayfs SELinux Support

2016-07-05 Thread Vivek Goyal
Hi, Following are RFC patches to support SELinux with overlayfs. I started with David Howells's latest posting on this topic and started modifying patches. These patches apply on top of overlayfs-next branch of miklos vfs git tree. git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git ov

[PATCH 4/5] overlayfs: Correctly label newly created file over whiteout

2016-07-05 Thread Vivek Goyal
During a new file creation, we have switched to mounter's creds for actual file creation. Also if there is a whiteout present, then file will be created in work/ dir and then renamed in upper. In none of the cases file will be labeled as we want it to be. Newly created file's labels should be such

Re: [RFC PATCH] dt/bindings: Add bindings for JC-42.4 compatible temperature sensors

2016-07-05 Thread Rob Herring
On Sat, Jul 02, 2016 at 10:05:42AM -0700, Guenter Roeck wrote: > Provide generic bindings for all Jedec JC-42.4 compatible temperature > sensor chips. > > Signed-off-by: Guenter Roeck > --- > RFC to address: > - Is "jc-42-4" ok to use for JC-42.4 ? > - JC42.4 really specifies an SPD EEPROM with i

Re: [Xen-devel] [PATCH linux 2/8] xen: introduce xen_vcpu_id mapping

2016-07-05 Thread Jan Beulich
>>> On 05.07.16 at 17:34, wrote: > On Thu, Jun 30, 2016 at 03:10:11AM -0600, Jan Beulich wrote: >> >>> On 29.06.16 at 18:27, wrote: >> > On 29/06/16 17:19, Vitaly Kuznetsov wrote: >> >> To explain better what I'm trying to suggest here please take a look at >> >> the attached patch. If we can gua

Re: usb: memory allocation WARNING in hcd_buffer_alloc

2016-07-05 Thread Alan Stern
On Tue, 5 Jul 2016, Dmitry Vyukov wrote: > Hello, > > The following program trigger the following WARNING: > > [ cut here ] > WARNING: CPU: 0 PID: 6263 at mm/page_alloc.c:3584[< inline >] > __alloc_pages_slowpath mm/page_alloc.c:3584 > WARNING: CPU: 0 PID: 6263 at

Re: [PATCH v2] ARM: at91: Document new TCB bindings

2016-07-05 Thread Rob Herring
On Mon, Jul 4, 2016 at 8:10 AM, Boris Brezillon wrote: > On Thu, 30 Jun 2016 20:27:43 -0500 > Rob Herring wrote: > >> On Mon, Jun 27, 2016 at 05:05:01PM +0200, Alexandre Belloni wrote: >> > The current binding for the TCB is not flexible enough for some use cases >> > and prevents proper utilizat

Re: [PATCH v9 1/2] i2c: i801: add support of Host Notify

2016-07-05 Thread Wolfram Sang
On Fri, Jun 24, 2016 at 04:39:49PM +0200, Benjamin Tissoires wrote: > The i801 chip can handle the Host Notify feature since ICH 3 as mentioned > in > http://www.intel.com/content/dam/doc/datasheet/82801ca-io-controller-hub-3-datasheet.pdf > > Enable the functionality unconditionally and propagat

Re: [PATCH v23 10/22] posix_acl: Improve xattr fixup code

2016-07-05 Thread Jeff Layton
On Thu, 2016-06-30 at 15:47 +0200, Andreas Gruenbacher wrote: > Both XATTR_NAME_POSIX_ACL_ACCESS and XATTR_NAME_POSIX_ACL_DEFAULT have > the same XATTR_SYSTEM_PREFIX prefix; don't check for the same prefix > repeatedly. > > Signed-off-by: Andreas Gruenbacher > Reviewed-by: Steve French > --- >  

Re: [Xen-devel] [PATCH linux 2/8] xen: introduce xen_vcpu_id mapping

2016-07-05 Thread Konrad Rzeszutek Wilk
On Thu, Jun 30, 2016 at 03:10:11AM -0600, Jan Beulich wrote: > >>> On 29.06.16 at 18:27, wrote: > > On 29/06/16 17:19, Vitaly Kuznetsov wrote: > >> To explain better what I'm trying to suggest here please take a look at > >> the attached patch. If we can guarantee long term that ACPI id always > >

Re: [PATCH 3/3] xen: support runqueue steal time on xen

2016-07-05 Thread Stefano Stabellini
On Wed, 22 Jun 2016, Juergen Gross wrote: > Up to now reading the stolen time of a remote cpu was not possible in a > performant way under Xen. This made support of runqueue steal time via > paravirt_steal_rq_enabled impossible. > > With the addition of an appropriate hypervisor interface this is

[tip:timers/core] tick/broadcast-hrtimer: Set name of the ce_broadcast_hrtimer

2016-07-05 Thread tip-bot for Jisheng Zhang
Commit-ID: 5130213721d01b6632c255d4295a8102cbb58379 Gitweb: http://git.kernel.org/tip/5130213721d01b6632c255d4295a8102cbb58379 Author: Jisheng Zhang AuthorDate: Tue, 5 Jul 2016 16:57:51 +0800 Committer: Thomas Gleixner CommitDate: Tue, 5 Jul 2016 17:02:19 +0200 tick/broadcast-hrtimer:

Re: WARNING: CPU: 0 PID: 0 at net/ipv4/af_inet.c:155 inet_sock_destruct+0x1c4/0x1dc

2016-07-05 Thread Florian Fainelli
Le 05/07/2016 07:50, Mason a écrit : > On 05/07/2016 15:33, Mason wrote: > >> I was testing suspend/resume sequences where the suspend operation >> fails and returns without having suspended the platform. >> >> # echo mem > /sys/power/state >> [ 90.322264] PM: Syncing filesystems ... done. >> [

Re: [PATCH] gpio: of: Allow overriding the device node

2016-07-05 Thread Linus Walleij
On Tue, Jul 5, 2016 at 2:11 PM, Thierry Reding wrote: > From: Thierry Reding > > When registering a GPIO chip, drivers can override the device tree node > associated with the chip by setting the chip's ->of_node field. If set, > this field is supposed to take precedence over the ->parent->of_nod

Re: [PATCH -next] tracing: Using for_each_set_bit to simplify the code

2016-07-05 Thread Steven Rostedt
On Mon, 4 Jul 2016 15:10:04 + weiyj...@163.com wrote: > From: Wei Yongjun > > Using for_each_set_bit() to simplify the code. > > Signed-off-by: Wei Yongjun > --- Thanks, Applied to my queue. -- Steve

Re: [PATCH] i2c: tegra: Correct error path in probe

2016-07-05 Thread Wolfram Sang
On Tue, Jun 14, 2016 at 09:26:46PM +0100, Jon Hunter wrote: > Commit 497fbe24987b ("i2c: tegra: enable multi master mode for tegra210") > enables the Tegra I2C 'div_clk' for adapters using the multi-master mode > during the device probe. Although the probe error path was updated to > disable the cl

Re: [PATCH 1/3] includes: dt-bindings: Add STM32F746 pinctrl DT bindings

2016-07-05 Thread Alexandre Torgue
Hi Linus, On 07/05/2016 04:59 PM, Linus Walleij wrote: On Tue, Jul 5, 2016 at 3:40 PM, Alexandre TORGUE wrote: Signed-off-by: Maxime Coquelin Signed-off-by: Alexandre TORGUE The patch was a bit liberal with newlines so I cut some whitespace while applying. Sorry for that and thanks for

Re: [RFC] mips: Add MXU context switching support

2016-07-05 Thread PrasannaKumar Muralidharan
On 5 July 2016 at 15:04, Paul Burton wrote: > Hi PrasannaKumar, > > On 25/06/16 13:14, PrasannaKumar Muralidharan wrote: >> >> From: PrasannaKumar Muralidharan >> >> This patch adds support for context switching Xburst MXU registers. The >> registers are named xr0 to xr16. xr16 is the control reg

Re: [PATCH 14/27] HID: wacom: EKR: add a worker to add/remove resources on addition/removal

2016-07-05 Thread kbuild test robot
Hi, [auto build test WARNING on hid/for-next] [also build test WARNING on v4.7-rc6 next-20160705] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Benjamin-Tissoires/HID-wacom-cleanup-EKR-LED

Re: More parallel atomic_open/d_splice_alias fun with NFS and possibly more FSes.

2016-07-05 Thread Oleg Drokin
On Jul 5, 2016, at 9:51 AM, Al Viro wrote: > On Tue, Jul 05, 2016 at 01:31:10PM +0100, Al Viro wrote: >> On Tue, Jul 05, 2016 at 02:22:48AM -0400, Oleg Drokin wrote: >> + if (!(open_flags & O_CREAT) && !d_unhashed(dentry)) { >> >> s/d_unhashed/d_in_lookup/ in that. >> >>> So we come raci

Care

2016-07-05 Thread officeoffice...@ono.com
My name is Mrs Kanya Arthit,I have been suffering from ovarian cancer disease and the doctor says that i have just few period to live. I have 1.4 Million US Dollars in a bank in Burkina Faso which i want to entrust into your hands to use in helping the orphanage home in your country,but you mu

Re: [RFC PATCH] tracing: add sched_prio_update

2016-07-05 Thread Steven Rostedt
On Mon, 4 Jul 2016 15:46:04 -0400 Julien Desfossez wrote: > diff --git a/include/trace/events/sched.h b/include/trace/events/sched.h > index 9b90c57..fcb0f29 100644 > --- a/include/trace/events/sched.h > +++ b/include/trace/events/sched.h > @@ -8,6 +8,34 @@ > #include > #include > > +#def

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Sebastian Frias
Hi Jason, On 07/05/2016 04:41 PM, Jason Cooper wrote: > Hey Sebastian, Mason, > > * Please fix mailer to wrap text at a sane length. I've re-wrapped and > trimmed. > > On Tue, Jul 05, 2016 at 02:30:12PM +0200, Sebastian Frias wrote: >> On 07/04/2016 02:11 PM, Mason wrote: > ... .../sigma,

Re: [PATCH] crypto: bfin_crc: Simplify use of devm_ioremap_resource

2016-07-05 Thread Herbert Xu
On Mon, Jul 04, 2016 at 06:30:21PM +0530, Amitoj Kaur Chawla wrote: > Remove unneeded error handling on the result of a call to > platform_get_resource when the value is passed to > devm_ioremap_resource. > > The Coccinelle semantic patch that makes this change is as follows: > > // > @@ > expre

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-05 Thread Neo Jia
On Tue, Jul 05, 2016 at 05:02:46PM +0800, Xiao Guangrong wrote: > > > > >It is physically contiguous but it is done during the runtime, physically > >contiguous doesn't mean > >static partition at boot time. And only during runtime, the proper HW > >resource will be requested therefore > >the ri

Re: [PATCH v2 1/1] platform/x86/intel_pmc_core: Convert to DEFINE_DEBUGFS_ATTRIBUTE

2016-07-05 Thread Andy Shevchenko
On Tue, 2016-07-05 at 19:10 +0530, Rajneesh Bhardwaj wrote: > On Mon, Jul 04, 2016 at 03:39:48PM +0300, Andy Shevchenko wrote: > > This patch does the following: > > - refactors code to use recently introduced > > DEFINE_DEBUGFS_ATTRIBUTE() macro > > - makes absence of DEBUG_FS non-fatal error > >

Re: [PATCH 1/3] xen: update xen headers

2016-07-05 Thread Stefano Stabellini
On Wed, 22 Jun 2016, Juergen Gross wrote: > Update some Xen headers to be able to use new functionality. > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Stabellini > include/xen/interface/vcpu.h | 24 +++- > include/xen/interface/xen.h | 17 - > 2 f

Re: [RFC PATCH v1] irqchip: add support for SMP irq router

2016-07-05 Thread Mason
Jason Cooper wrote: > Sebastian Frias wrote: > >> Mason wrote: >> >>> Sebastian Frias wrote: >>> .../sigma,smp87xx-irqrouter.txt| 69 +++ >>> >>> In the *actual* submission, we can't use a wildcard like smp87xx >>> we'll have to use an actual part number. >> >> Are you su

Re: [PATCH] [media] rc: ir-spi: add support for IR LEDs connected with SPI

2016-07-05 Thread Andi Shyti
Hi Rob, > > The ir-spi is a simple device driver which supports the > > connection between an IR LED and the MOSI line of an SPI device. > > Please split the binding from the driver. OK! > > +Device tree bindings for IR LED connected through SPI bus which is used as > > +remote controller. > >

Re: [PATCH 3/3] Documentation: dt: Add new compatible to STM32 pinctrl driver bindings

2016-07-05 Thread Linus Walleij
On Tue, Jul 5, 2016 at 3:40 PM, Alexandre TORGUE wrote: > Signed-off-by: Alexandre TORGUE Patch applied. Yours, Linus Walleij

Re: [PATCH 2/3] arm/xen: add support for vm_assist hypercall

2016-07-05 Thread Stefano Stabellini
On Wed, 22 Jun 2016, Juergen Gross wrote: > Add support for the Xen HYPERVISOR_vm_assist hypercall. > > Signed-off-by: Juergen Gross Reviewed-by: Stefano Stabellini > arch/arm/include/asm/xen/hypercall.h | 1 + > arch/arm/xen/enlighten.c | 1 + > arch/arm/xen/hypercall.S

<    1   2   3   4   5   6   7   8   >