Re: [PATCH 30/37] ARM: dts: vf*-colibri: Correct license text

2017-01-02 Thread Stefan Agner
On 2016-12-14 15:57, Alexandre Belloni wrote: > The license test has been mangled at some point then copy pasted across > multiple files. Restore it to what it should be. > Note that this is not intended as a license change. Hm, I introduced the Licence change for the Vybrid device trees, and conf

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread Pali Rohár
On Monday 02 January 2017 15:36:38 Peter Ujfalusi wrote: > On 01/02/2017 02:58 PM, Pali Rohár wrote: > > On Monday 02 January 2017 14:53:44 Peter Ujfalusi wrote: > >> On 01/02/2017 10:51 AM, Pali Rohár wrote: > >>> On Monday 02 January 2017 10:34:34 Peter Ujfalusi wrote: > On 01/02/2017 12:36

[PATCH 0/3] crypto: picoxcell - Cleanups removing non-DT code

2017-01-02 Thread Javier Martinez Canillas
Hello, This small series contains a couple of cleanups that removes some driver's code that isn't needed due the driver being for a DT-only platform. The changes were suggested by Arnd Bergmann as a response to a previous patch: https://lkml.org/lkml/2017/1/2/342 Patch #1 allows the driver to be

[PATCH 2/3] crypto: picoxcell - Remove platform device ID table

2017-01-02 Thread Javier Martinez Canillas
This driver is only used in the picoxcell platform and this is DT-only. So only a OF device ID table is needed and there's no need to have a platform device ID table. This patch removes the unneeded table. Suggested-by: Arnd Bergmann Signed-off-by: Javier Martinez Canillas --- drivers/crypto/

Re: [3/5] pinctrl: core: Add generic pinctrl functions for managing groups

2017-01-02 Thread Tony Lindgren
* Gary Bisson [170102 08:21]: > Hi Tony, > > On Tue, Dec 27, 2016 at 09:20:01AM -0800, Tony Lindgren wrote: > > We can add generic helpers for function handling for cases where the pin > > controller driver does not need to use static arrays. > > > > Signed-off-by: Tony Lindgren > > Shouldn't

[PATCH 1/3] crypto: picoxcell - Allow driver to build COMPILE_TEST is enabled

2017-01-02 Thread Javier Martinez Canillas
Driver only has runtime but no build time dependency with ARCH_PICOXCELL. So it can be built for testing purposes if COMPILE_TEST option is enabled. This is useful to have more build coverage and make sure that the driver is not affected by changes that could cause build regressions. Suggested-by

[PATCH 3/3] crypto: picoxcell - Remove spacc_is_compatible() wrapper function

2017-01-02 Thread Javier Martinez Canillas
The function is used to check either the platform device ID name or the OF node's compatible (depending how the device was registered) to know which device type was registered. But the driver is for a DT-only platform and so there's no need for this level of indirection since the devices can only

[PATCH 17/22] power: supply: add battery driver for AXP20X and AXP22X PMICs

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. This patch adds the battery power supply driver to get various data from the PMIC, such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capacity (in percentage), voltage

Re: [PATCH 0/3] crypto: picoxcell - Cleanups removing non-DT code

2017-01-02 Thread Arnd Bergmann
On Monday, January 2, 2017 2:06:56 PM CET Javier Martinez Canillas wrote: > > This small series contains a couple of cleanups that removes some driver's > code > that isn't needed due the driver being for a DT-only platform. > > The changes were suggested by Arnd Bergmann as a response to a prev

Re: [PATCH perf/core] perf-probe: Fix to get correct modname from elf header

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Tue, Jan 03, 2017 at 12:20:49AM +0900, Masami Hiramatsu escreveu: > Since perf-probe supports cross-arch probe, it is possible to > analyze different arch kernel image which has different > bits-per-long. In that case, it fails to get module name > because perf probe uses MOD_NAME_OFFSET macro b

Re: [RFC PATCH] input: Add disable sysfs entry for every input device

2017-01-02 Thread Pali Rohár
On Monday 02 January 2017 16:27:05 Bastien Nocera wrote: > On Sun, 2016-12-25 at 11:04 +0100, Pali Rohár wrote: > > This patch allows user to disable events from any input device so > > events > > would not be delivered to userspace. > > > > Currently there is no way to disable particular input de

Re: LTP rwtest01 blocks on DAX mountpoint

2017-01-02 Thread Jan Kara
On Fri 30-12-16 17:33:53, Xiong Zhou wrote: > On Sat, Dec 24, 2016 at 07:07:14PM +0800, Xiong Zhou wrote: > > Hi lists, > > > > Since around 20161129 tag, LTP rwtest01 on dax mountpoint blocks > > on linux-next tree, now on Linus tree. > > > > In "normal", rwtest01 subcase ends in a few minutes,

Re: [PATCH v4 13/20] perf bench: New microbenchmark for userspace mutex performance

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Thu, Dec 29, 2016 at 11:13:39AM -0500, Waiman Long escreveu: > This microbenchmark simulates how the use of different futex types > can affect the actual performanace of userspace mutex locks. The > usage is: > > perf bench futex mutex Showing the tool output is preferred, trim it if

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Steve Grubb
On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > Generate audit records for SECCOMP_RET_ERRNO actions, which were > previously not audited. > > Additionally, include the errno value that will be set in the audit > message. > > Signed-off-by: Tyler Hicks > --- > include/linux/audit

Re: [PATCH v2] sched/rt: Disable RT_RUNTIME_SHARE by default

2017-01-02 Thread Daniel Bristot de Oliveira
On 11/16/2016 09:19 PM, Daniel Bristot de Oliveira wrote: > The RT_RUNTIME_SHARE sched feature enables the sharing of rt_runtime > between CPUs, allowing a CPU to run a real-time task up to 100% of the > time while leaving more space for non-real-time tasks to run on the CPU > that lend rt_runtime.

[PATCH 1/1] igb: Fix hw_dbg logging in igb_update_flash_i210

2017-01-02 Thread Peter Senna Tschudin
From: Hannu Lounento Fix an if statement with hw_dbg lines where the logic was inverted with regards to the corresponding return value used in the if statement. Signed-off-by: Hannu Lounento Signed-off-by: Peter Senna Tschudin --- drivers/net/ethernet/intel/igb/e1000_i210.c | 4 ++-- 1 file c

[PATCH 19/22] ARM: dtsi: axp209: add battery power supply subnode

2017-01-02 Thread Quentin Schulz
The X-Powers AXP209 PMIC exposes battery supply various data such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capacity (in percentage), voltage max and min limits, current voltage, and battery capacity (in Ah). This adds the battery power

[PATCH 0/2] Support auditing while still allowing a syscall

2017-01-02 Thread Tyler Hicks
Allow application authors to opt into auditing a syscall before allowing it. This differs slightly from SECCOMP_RET_ALLOW in that an audit message is generated for the syscall. It can be useful when initially setting up a seccomp sandbox for your application if you set the default action to audit

Re: [GIT PULL] ARM: exynos: Late mach/soc for v4.10

2017-01-02 Thread Sylwester Nawrocki
On 01/02/2017 04:56 PM, Krzysztof Kozlowski wrote: > On Mon, Jan 02, 2017 at 10:20:21AM +0100, Sylwester Nawrocki wrote: >> On 12/30/2016 04:53 PM, Krzysztof Kozlowski wrote: >>> Any comments on this? I guess it won't come as late-late-4.10, so can >>> you pull it for v4.11? >> Sylwester Naw

[PATCH 1/2] seccomp: Create an action to audit before allowing

2017-01-02 Thread Tyler Hicks
Add a new action, SECCOMP_RET_AUDIT, which is identical to SECCOMP_RET_ALLOW with the exception that an audit message is logged rather than quietly allowing the syscall. This can be very useful when initially developing a seccomp filter for an application because the list of syscalls needed, which

[PATCH 2/2] seccomp: Add tests for SECCOMP_RET_AUDIT

2017-01-02 Thread Tyler Hicks
Extend the kernel selftests for seccomp to test the newly added SECCOMP_RET_AUDIT action. The added tests follow the example of existing tests. Unfortunately, the tests are not capable of inspecting the audit log to verify that an audit message was emitted. Signed-off-by: Tyler Hicks --- tools/

Re: [RFC PATCH] input: Add disable sysfs entry for every input device

2017-01-02 Thread Pali Rohár
On Monday 02 January 2017 17:44:38 David Herrmann wrote: > Don't open the device, if you don't want events from it. Really. There are existing applications which are doing it. This advice is good but not for past. > I assume the reason behind this is that you don't know how to make > your user-s

Re: [PATCH v2 perf/core] perf script: fix a use after free crash.

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 02, 2017 at 12:15:14PM -0300, Arnaldo Carvalho de Melo escreveu: > Tried it again with what is in Linus' tree + your patch and got the same > problem: > > [acme@jouet linux]$ git remote -v | grep torvalds.*fetch > torvalds > git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/

Re: [PATCH] cpufreq: s3c64xx: remove incorrect __init annotation

2017-01-02 Thread Krzysztof Kozlowski
On Mon, Jan 02, 2017 at 12:39:03PM +0530, Viresh Kumar wrote: > On 16-12-16, 10:06, Arnd Bergmann wrote: > > s3c64xx_cpufreq_config_regulator is incorrectly annotated > > as __init, since the caller is also not init: > > > > WARNING: vmlinux.o(.text+0x92fe1c): Section mismatch in reference from th

Re: [GIT PULL] ARM: exynos: Late mach/soc for v4.10

2017-01-02 Thread Krzysztof Kozlowski
On Mon, Jan 02, 2017 at 06:25:44PM +0100, Sylwester Nawrocki wrote: > On 01/02/2017 04:56 PM, Krzysztof Kozlowski wrote: > > On Mon, Jan 02, 2017 at 10:20:21AM +0100, Sylwester Nawrocki wrote: > >> On 12/30/2016 04:53 PM, Krzysztof Kozlowski wrote: > >>> Any comments on this? I guess it won't come

Re: [PATCH v2 perf/core] perf script: fix a use after free crash.

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 02, 2017 at 02:35:30PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 02, 2017 at 12:15:14PM -0300, Arnaldo Carvalho de Melo escreveu: > > Tried it again with what is in Linus' tree + your patch and got the same > > problem: > > > > [acme@jouet linux]$ git remote -v | grep tor

Re: [PATCH] backlight: da9052: Fix module autoload

2017-01-02 Thread Jingoo Han
On Monday, January 2, 2017 11:03 AM, Javier Martinez Canillas wrote: > > The driver has a platform device ID table with multiple device entries, > each setting a different register address in its driver_data to control > the WLED brightness. > > But the driver doesn't export these as aliases with

[PATCH 18/22] mfd: axp20x: add MFD cells for AXP20X and AXP22X battery driver

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. This patch adds the AXP20X/AXP22X battery driver to the MFD cells of the AXP209, AXP221 and AXP223 MFD. Signed-off-by: Quentin Schulz --- drivers/mfd/axp20x.c | 9 + 1 file changed, 9 insertions(+) diff --git a/dr

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Tyler Hicks
On 2017-01-02 12:20:53, Steve Grubb wrote: > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > > Generate audit records for SECCOMP_RET_ERRNO actions, which were > > previously not audited. > > > > Additionally, include the errno value that will be set in the audit > > message. > > >

Re: [PATCH 0/3] crypto: picoxcell - Cleanups removing non-DT code

2017-01-02 Thread Javier Martinez Canillas
Hello Arnd, On 01/02/2017 02:10 PM, Arnd Bergmann wrote: > On Monday, January 2, 2017 2:06:56 PM CET Javier Martinez Canillas wrote: >> >> This small series contains a couple of cleanups that removes some driver's >> code >> that isn't needed due the driver being for a DT-only platform. >> >> The

Urgent Please;;

2017-01-02 Thread Dr. David White
Dear, With due respect to your person and much sincerity of purpose. I have a business proposal which I will like to handle with you and $14.5 Million USD is involve. But be rest assured that everything is legal and risk free as I have concluded all the arrangements and the legal papers that wil

[PATCH 20/22] ARM: dtsi: axp22x: add battery power supply subnode

2017-01-02 Thread Quentin Schulz
The X-Powers AXP22X PMIC exposes battery supply various data such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capacity (in percentage), voltage max limit, current voltage, and battery capacity (in Ah). This adds the battery power supply su

Re: [PATCH v2] drivers: remoteproc: constify rproc_ops structures

2017-01-02 Thread Bjorn Andersson
On Sun 01 Jan 02:43 PST 2017, Bhumika Goyal wrote: > Declare rproc_ops structures as const as they are only passed as an > argument to the function rproc_alloc. This argument is of type const, so > rproc_ops structures having this property can be declared const too. Thanks Bhumika, applied. Rega

Re: [PATCH] Update pptp handling to avoid null pointer deref. v2

2017-01-02 Thread David Miller
From: Ian Kumlien Date: Mon, 2 Jan 2017 09:18:35 +0100 > __skb_flow_dissect can be called with a skb or a data packet, either > can be NULL. All calls seems to have been moved to __skb_header_pointer > except the pptp handling which is still calling skb_header_pointer. ... > Fixes: ab10dccb1160

Re: [PATCH 2/9] ARM: dts: omap3: Add an empty chosen node to top level DTSI

2017-01-02 Thread Pali Rohár
On Monday 19 December 2016 15:44:34 Javier Martinez Canillas wrote: > Commit 008a2ebcd677 ("ARM: dts: omap3: Remove skeleton.dtsi usage") > removed the skeleton.dtsi usage since we want to get rid of it. > > But this can cause issues when booting a kernel with a boot-loader > that doesn't create a

Re: [PATCH] KVM: ioapic: fix NULL deref ioapic->lock

2017-01-02 Thread Paolo Bonzini
On 02/01/2017 11:17, Dmitry Vyukov wrote: > On Mon, Jan 2, 2017 at 11:09 AM, Paolo Bonzini wrote: >> >> >> >> On 01/01/2017 04:44, Wanpeng Li wrote: >>> From: Wanpeng Li >>> >>> This was reported by syzkaller: >>> >>> BUG: unable to handle kernel NULL pointer dereference at 01b0 >>>

Re: [PATCH v6 8/9] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-02 Thread Jonathan Cameron
On 02/01/17 16:01, Peter Rosin wrote: > On 2017-01-01 12:00, Jonathan Cameron wrote: >> On 30/11/16 08:17, Peter Rosin wrote: >>> Analog Devices ADG792A/G is a triple 4:1 mux. >>> >>> Signed-off-by: Peter Rosin >> Few comments inline. Worth adding anything about the gpio (output pins) to >> the b

[PATCH 1/2] auxdisplay: img-ascii-lcd: Add a sentinel entry to OF device ID table

2017-01-02 Thread Javier Martinez Canillas
The OF device ID table doesn't have a sentinel NULL entry and so it causes the following error: FATAL: drivers/auxdisplay/img-ascii-lcd: struct of_device_id is not terminated with a NULL entry! scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1 Make

[PATCH 2/2] auxdisplay: img-ascii-lcd: Fix module autoload

2017-01-02 Thread Javier Martinez Canillas
If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_DEVICE_TABLE() macro. Before this patch: $ modinfo drive

Re: [PATCH v6 9/9] misc: mux-adg792a: add mux controller driver for ADG792A/G

2017-01-02 Thread Jonathan Cameron
On 02/01/17 11:00, Peter Rosin wrote: > On 2017-01-01 12:24, Jonathan Cameron wrote: >> On 30/11/16 08:17, Peter Rosin wrote: >>> Analog Devices ADG792A/G is a triple 4:1 mux. >>> >>> Signed-off-by: Peter Rosin >> Looks pretty good. Some minor suggestions inline. >> >> This convinced me of two thi

Re: [v2,3/3] CLK: add more managed APIs

2017-01-02 Thread Guenter Roeck
On Wed, Nov 21, 2012 at 09:34:42PM -0800, Dmitry Torokhov wrote: > When converting a driver to managed resources it is desirable to be able to > manage all resources in the same fashion. This change allows managing clocks > in the same way we manage all other resources. > > This adds the following

Re: 4.10-rc1 on Nokia N900: regression, WARN_ON() omap_l3_smx.c

2017-01-02 Thread Tony Lindgren
* Pavel Machek [161229 15:14]: > Hi! > > I forgot I had v4.10-rc1 running, and now I got warning on all the > consoles (hand-copied). > > > Unhandled fault: external abort on non-linefetch (0x1028) at > 0xfa0ab060 > ... > Comm: kworker/0:0 Not tainted. > Workqueue: events musb_irq_work > ... >

Re: [PATCH v6 1/3] remoteproc: qcom: Compatible string based private resource initialization.

2017-01-02 Thread Bjorn Andersson
On Fri 30 Dec 05:54 PST 2016, Avaneesh Kumar Dwivedi wrote: > MSS rproc loader need chip specific resources initialization during probe > to load and boot modem firmware, this need compatible string based > differentiation in resources to be initialized. This patch add and provide > a template str

[PATCH 21/22] ARM: dts: sun8i: sina33: enable battery power supply subnode

2017-01-02 Thread Quentin Schulz
The Sinlinx SinA33 has an AXP223 PMIC and a battery connector, thus, we enable the battery power supply subnode in its Device Tree. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33

Re: [PATCH] hwmon: (lm90) fix temp1_max_alarm attribute

2017-01-02 Thread Guenter Roeck
On 01/02/2017 08:53 AM, Michael Walle wrote: Since commit commit eb1c8f4325d5 ("hwmon: (lm90) Convert to use new hwmon registration API") the temp1_max_alarm and temp1_crit_alarm attributes are mapped to the same alarm bit. Fix the typo. Fixes: eb1c8f4325d5 ("hwmon: (lm90) Convert to use new hwm

Re: [PATCH v4 13/20] perf bench: New microbenchmark for userspace mutex performance

2017-01-02 Thread Waiman Long
On 01/02/2017 12:16 PM, Arnaldo Carvalho de Melo wrote: > Em Thu, Dec 29, 2016 at 11:13:39AM -0500, Waiman Long escreveu: >> This microbenchmark simulates how the use of different futex types >> can affect the actual performanace of userspace mutex locks. The >> usage is: >> >> perf bench f

[PATCH 2/2] pinctrl: imx: use generic pinmux helpers for managing functions

2017-01-02 Thread Gary Bisson
Now using function_desc structure instead of imx_pmx_func. Also leveraging generic functions to retrieve functions count/name/groups. The imx_free_funcs function can be removed since it is now handled by the core driver during unregister. Signed-off-by: Gary Bisson --- drivers/pinctrl/freescal

[PATCH 0/2] pinctrl: imx: use generic pinctrl helpers

2017-01-02 Thread Gary Bisson
Hi all, This series is a follow-up to Linus suggestion to use the generic helpers introduced by Tony [1]. Mainly I've used the generic functions in pinctrl_ops and pinmux_ops and switched to the generic group/function_desc structures instead of the imx-specific one that didn't bring anything spec

[PATCH 1/2] pinctrl: imx: use generic pinctrl helpers for managing groups

2017-01-02 Thread Gary Bisson
Now using group_desc structure instead of imx_pin_group. Also leveraging generic functions to retrieve groups count/name/pins. The imx_free_pingroups function can be removed since it is now handled by the core driver during unregister. Finally the device tree parsing is moved after the pinctrl d

Re: [PATCH v2 4/6] staging: fbtft: propagate error code from kstrto*()

2017-01-02 Thread kbuild test robot
-work-with-DMA-enabled-SPI/20170102-201151 config: openrisc-allyesconfig (attached as .config) compiler: or32-linux-gcc (GCC) 4.5.1-or32-1.0rc1 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCH] pinctrl: qcom: msm8660: rename some SDC1->SDC4

2017-01-02 Thread Bjorn Andersson
On Mon 02 Jan 00:42 PST 2017, Linus Walleij wrote: > These four pins are for SDC4, not SDC1. They are grouped for > SDC4 later in the file so this must be a typo. > > Cc: Björn Andersson > Signed-off-by: Linus Walleij Reviewed-by: Bjorn Andersson Regards, Bjorn > --- > drivers/pinctrl/qcom

Re: [PATCH v6 6/8] IIO: add STM32 timer trigger driver

2017-01-02 Thread Jonathan Cameron
On 02/01/17 08:46, Benjamin Gaignard wrote: > 2016-12-30 22:12 GMT+01:00 Jonathan Cameron : >> On 09/12/16 14:15, Benjamin Gaignard wrote: >>> Timers IPs can be used to generate triggers for other IPs like >>> DAC, ADC or other timers. >>> Each trigger may result of timer internals signals like cou

Re: [PATCH v3 2/2] staging: iio: ad7606: move out of staging

2017-01-02 Thread Lars-Peter Clausen
On 12/30/2016 09:16 PM, Jonathan Cameron wrote: > On 11/12/16 02:47, Eva Rachel Retuya wrote: >> Move the ad7606 driver from staging/iio/adc to iio/adc. Also, update the >> corresponding Makefile and Kconfig associated with the change. >> >> Signed-off-by: Eva Rachel Retuya > Personally (and this

Re: [PATCH v2 2/6] staging: fbtft: do not override DMA coherent mask

2017-01-02 Thread Noralf Trønnes
Den 02.01.2017 12:35, skrev Andy Shevchenko: Usually it's not consumer's business to override resources passed from provider, in particularly DMA coherent mask. Signed-off-by: Andy Shevchenko --- drivers/staging/fbtft/fbtft-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/s

Re: [PATCH v2 3/5] arm64: dts: exynos5433: Add PPMU dt node

2017-01-02 Thread Krzysztof Kozlowski
On Thu, Dec 08, 2016 at 01:58:09PM +0900, Chanwoo Choi wrote: > This patch adds PPMU (Platform Performance Monitoring Unit) Device-tree node > to measure the utilization of each IP in Exynos SoC. > > - PPMU_D{0|1}_CPU are used to measure the utilization of MIF (Memory > Interface) > block with

Re: [PATCH v2 4/5] arm64: dts: exynos5433: Add bus dt node using VDD_INT for Exynos5433

2017-01-02 Thread Krzysztof Kozlowski
On Thu, Dec 08, 2016 at 01:58:10PM +0900, Chanwoo Choi wrote: > This patch adds the bus nodes using VDD_INT for Exynos5433 SoC. > Exynos5433 has the following AMBA AXI buses to translate data > between DRAM and sub-blocks. > > Following list specify the detailed correlation between sub-block and c

Re: Documentation: fix spelling mistakes of "Celcius" -- > "Celsius"

2017-01-02 Thread Guenter Roeck
On Wed, Dec 28, 2016 at 09:51:37PM +, Colin Ian King wrote: > From: Colin Ian King > > Signed-off-by: Colin Ian King Acked-by: Guenter Roeck > --- > Documentation/hwmon/ds1621| 8 > Documentation/thermal/nouveau_thermal | 2 +- > 2 files changed, 5 insertions(+), 5 d

Re: [PATCH v2 5/5] arm64: dts: exynos5433: Add support of bus frequency using VDD_INT on TM2

2017-01-02 Thread Krzysztof Kozlowski
On Thu, Dec 08, 2016 at 01:58:11PM +0900, Chanwoo Choi wrote: > This patch adds the bus Device-tree nodes for INT (Internal) block > to enable the bus frequency scaling. > > Signed-off-by: Chanwoo Choi > Reviewed-by: Krzysztof Kozlowski > --- > arch/arm64/boot/dts/exynos/exynos5433-tm2.dts | 70

[PATCH 22/22] ARM: sun5i: chip: enable battery power supply subnode

2017-01-02 Thread Quentin Schulz
The NextThing Co. CHIP has an AXP209 PMIC with battery connector. This enables the battery power supply subnode. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun5i-r8-chip.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts

Re: [PATCH v3 1/2] staging: iio: ad7606: replace range/range_available with corresponding scale

2017-01-02 Thread Lars-Peter Clausen
On 12/30/2016 08:59 PM, Jonathan Cameron wrote: > On 11/12/16 02:47, Eva Rachel Retuya wrote: >> Eliminate the non-standard attributes in_voltage_range and >> in_voltage_range_available. Implement in_voltage_scale_available in place >> of these attributes and update the SCALE accordingly. The array

Re: [PATCH 2/2] seccomp: Audit SECCOMP_RET_ERRNO actions with errno values

2017-01-02 Thread Steve Grubb
On Monday, January 2, 2017 5:42:47 PM EST Tyler Hicks wrote: > On 2017-01-02 12:20:53, Steve Grubb wrote: > > On Monday, January 2, 2017 4:53:10 PM EST Tyler Hicks wrote: > > > Generate audit records for SECCOMP_RET_ERRNO actions, which were > > > previously not audited. > > > > > > Additionally,

Re: [PATCH] jump label: pass kbuild_cflags when checking for asm goto support

2017-01-02 Thread Steven Rostedt
On Sun, 1 Jan 2017 15:05:45 -0800 David Lin wrote: > +Cc: Steven Rostedt > +Cc: Will Deacon > > On Fri, Dec 9, 2016 at 4:46 PM, David Lin wrote: > > Some versions of ARM GCC compiler such as Android toolchain throws > > in a '-fpic' flag by default. This causes the gcc-goto check script > > t

[PATCH] net: faraday: ftmac100: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/faraday/ftmac100.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/faraday

[PATCH 01/22] dt-bindings: iio: adc: add AXP20X/AXP22X ADC DT binding

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose the battery voltage, battery charge and discharge currents, AC-in and VBUS voltages and currents, 2 GPIOs muxable in ADC mode and PMIC temperature. This adds the device tree binding documentation for the X-Powers AXP20X and AXP22

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread Aaro Koskinen
Hi, On Mon, Jan 02, 2017 at 09:44:32AM +0100, Pali Rohár wrote: > On Monday 02 January 2017 10:23:23 Peter Ujfalusi wrote: > > GPIO_182 is to select where to route the MIC line from the jack for the > > ECI core to handle (when the TVOUT is disabled). > > Yes, already figured out from schematic.

[PATCH 14/22] dt-bindings: power: supply: add AXP20X/AXP22X battery DT binding

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs can have a battery as power supply. This patch adds the DT binding documentation for the battery power supply which gets various data from the PMIC, such as the battery status (charging, discharging, full, dead), current max limit, current current, battery capa

Re: [PATCH] DTS: MCCMON6: IMX: Provide support for iMX6Q based Liebherr mccmon6 board

2017-01-02 Thread Vladimir Zapolskiy
Hi Lukasz, please find some comments below as usual. On 01/02/2017 04:44 PM, Lukasz Majewski wrote: > Hi Vladimir, > > Thank you for review. Comments without my remarks have been applied > already. > >> Hello Lukasz, >> >> On 12/27/2016 01:19 AM, Lukasz Majewski wrote: >>> Signed-off-by: Lukasz

Re: [PATCH] dmaengine: omap-dma: Fix dynamic lch_map alocation

2017-01-02 Thread Aaro Koskinen
Hi, On Mon, Jan 02, 2017 at 12:07:37PM +0200, Peter Ujfalusi wrote: > The original patch did not done what it was supposed to be doing and even > worst it broke legacy boot (OMAP1). > > The lch_map size should be the number of available logical channels in sDMA > and the od->dma_requests should s

[PATCH 00/22] add support for AXP20X and AXP22X power supply drivers

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs have multiple ADCs. They expose information and data of the various power supplies they support such as ACIN, battery and VBUS. For example, they expose the current battery voltage, charge or discharge, as well as ACIN and VBUS current voltages and currents, int

[PATCH 13/22] ARM: sun5i: chip: enable ACIN power supply subnode

2017-01-02 Thread Quentin Schulz
The NextThing Co. CHIP has an AXP209 PMIC and can be power-supplied by ACIN via the CHG-IN pin. This enables the ACIN power supply subnode in the DT. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun5i-r8-chip.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/s

Re: [PATCH 12/15] hyperv: move VMBus connection ids to uapi

2017-01-02 Thread Stephen Hemminger
On Wed, 28 Dec 2016 20:09:44 +0300 Roman Kagan wrote: > On Wed, Dec 21, 2016 at 07:54:11PM +, KY Srinivasan wrote: > > > > > > > -Original Message- > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Wednesday, December 21, 2016 10:03 AM > > > To: Christo

Re: [PATCH v2 perf/core] perf script: fix a use after free crash.

2017-01-02 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 02, 2017 at 02:36:57PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Jan 02, 2017 at 02:35:30PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Jan 02, 2017 at 12:15:14PM -0300, Arnaldo Carvalho de Melo escreveu: > { > zfree(&iter->priv); > iter->he = NULL;

[PATCH 0/4] hv_util: adjust system time smoothly

2017-01-02 Thread Vitaly Kuznetsov
(First, I have to admit I'm not a timekeeping expert ...) With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time fr

[PATCH 1/4] timekeeping: export do_adjtimex() to modules

2017-01-02 Thread Vitaly Kuznetsov
While do_adjtimex() is available to userspace via adjtimex syscall it is not available to modules which may want to implement in-kernel 'NTP clients'. Hyper-V hv_utils is going to be the first one. Signed-off-by: Vitaly Kuznetsov --- kernel/time/timekeeping.c | 1 + 1 file changed, 1 insertion(+

[PATCH 3/4] hv_util: use do_adjtimex() to update system time

2017-01-02 Thread Vitaly Kuznetsov
With TimeSync version 4 protocol support we started updating system time continuously through the whole lifetime of Hyper-V guests. Every 5 seconds there is a time sample from the host which triggers do_settimeofday[64](). While the time from the host is very accurate such adjustments may cause iss

[PATCH 2/4] hv_util: switch to using timespec64

2017-01-02 Thread Vitaly Kuznetsov
do_settimeofday() is deprecated, use do_settimeofday64() instead. Signed-off-by: Vitaly Kuznetsov --- drivers/hv/hv_util.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/hv/hv_util.c b/drivers/hv/hv_util.c index e770774..94719eb 100644 --- a/drivers/hv/hv_util.

[PATCH net-next] bridge: multicast to unicast

2017-01-02 Thread Linus Lüssing
Implements an optional, per bridge port flag and feature to deliver multicast packets to any host on the according port via unicast individually. This is done by copying the packet per host and changing the multicast destination MAC to a unicast one accordingly. multicast-to-unicast works on top o

[PATCH 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-02 Thread Vitaly Kuznetsov
If we happen to receive interrupts during hv_set_host_time() execution our adjustments may get inaccurate. Make the whole function atomic. Unfortunately, we can's call do_settimeofday64() with interrupts disabled as some cross-CPU work is being done but this call happens very rarely. Signed-off-by

[PATCH 12/22] ARM: dts: sun8i: sina33: enable ACIN power supply subnode

2017-01-02 Thread Quentin Schulz
The Sinlinx SinA33 has an AXP223 PMIC and an ACIN connector, thus, we enable the ACIN power supply in its Device Tree. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 1 file changed, 4 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina

[PATCH] net: fealnx: use new api ethtool_{get|set}_link_ksettings

2017-01-02 Thread Philippe Reynes
The ethtool api {get|set}_settings is deprecated. We move this driver to new api {get|set}_link_ksettings. Signed-off-by: Philippe Reynes --- drivers/net/ethernet/fealnx.c | 14 -- 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/net/ethernet/fealnx.c b/driver

Re: [PATCH 4/4] hv_util: improve time adjustment accuracy by disabling interrupts

2017-01-02 Thread Stephen Hemminger
On Mon, 2 Jan 2017 20:41:14 +0100 Vitaly Kuznetsov wrote: > If we happen to receive interrupts during hv_set_host_time() execution > our adjustments may get inaccurate. Make the whole function atomic. > Unfortunately, we can's call do_settimeofday64() with interrupts > disabled as some cross-CPU

Re: [PATCH 0/7] hv: CPU onlining/offlining fixes and improvements

2017-01-02 Thread Vitaly Kuznetsov
Vitaly Kuznetsov writes: > Some time ago we forbade CPU offlining for Hyper-V and this was sufficient > if you boot with all CPUs onlined. Turns out, people may want to limit the > number online CPUs by passing 'maxcpus=' kernel parameter and we hit a > crash in Hyper-V code in this case. After s

Re: Nokia N900 sound driver and ECI GPIOs

2017-01-02 Thread Pali Rohár
On Monday 02 January 2017 19:49:45 Aaro Koskinen wrote: > Hi, > > On Mon, Jan 02, 2017 at 09:44:32AM +0100, Pali Rohár wrote: > > On Monday 02 January 2017 10:23:23 Peter Ujfalusi wrote: > > > GPIO_182 is to select where to route the MIC line from the jack > > > for the ECI core to handle (when th

[PATCH 11/22] ARM: dtsi: axp22x: add AC power supply subnode

2017-01-02 Thread Quentin Schulz
The X-Powers AXP22X PMIC exposes the status of AC power supply. This adds the AC power supply subnode for the AXP22X PMIC. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/axp22x.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/axp22x.dtsi b/arch/arm/boot/dts/a

Re: [PATCH 15/20] ARM/hw_breakpoint: Convert to hotplug state machine

2017-01-02 Thread Linus Walleij
On Mon, Jan 2, 2017 at 4:00 PM, Russell King - ARM Linux wrote: > On Mon, Jan 02, 2017 at 03:34:32PM +0100, Linus Walleij wrote: >> in the first line of arch_hw_breakpoint_init() in >> arch/arm/kernel/hw_breakpoint.c >> >> I suspect that is not an accepable solution ... >> >> It hangs at PC is at

[PATCH 02/22] mfd: axp20x: add ADC data regs to volatile regs for AXP22X

2017-01-02 Thread Quentin Schulz
The AXP22X PMICs have multiple ADCs, each one exposing data from the different power supplies connected to the PMIC. This adds the different ADC data registers to the volatile registers of the AXP22X PMIC. Signed-off-by: Quentin Schulz --- drivers/mfd/axp20x.c | 1 + 1 file changed, 1 insertion

[PATCH 09/22] mfd: axp20x: add AC power supply cells for AXP22X PMICs

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs expose the status of AC power supply. This adds the AC power supply driver to the MFD cells of the AXP22X PMICs. Signed-off-by: Quentin Schulz --- drivers/mfd/axp20x.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/axp20x.c b/dri

[GIT PULL] HID fixes for 4.10

2017-01-02 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive 4.10-rc fixes for HID subsystem: == - regression fix (caused by me applying a wrong version of patch) for sensor-hub driver, from Srinivas Pandruvada - hid-sony fixes (mostly re

Re: [PATCH 1/2] seccomp: Create an action to audit before allowing

2017-01-02 Thread kbuild test robot
Hi Tyler, [auto build test ERROR on linus/master] [also build test ERROR on v4.10-rc2 next-20161224] [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/Tyler-Hicks/seccomp-Create-an-action-to-audit-

[PATCH] ARM: multi_v7_defconfig: enable Qualcomm RPMCC

2017-01-02 Thread Andy Gross
This patch enables the Qualcomm RPM based Clock Controller present on A-family boards. Signed-off-by: Andy Gross --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index b01a438..4

[PATCH 10/22] ARM: dtsi: axp209: add AC power supply subnode

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X PMIC exposes the status of AC power supply, the current current and voltage supplied to the board by the AC power supply. This adds the AC power supply subnode for AXP20X PMIC. Signed-off-by: Quentin Schulz --- arch/arm/boot/dts/axp209.dtsi | 7 +++ 1 file changed, 7 ins

Re: pull-request: wireless-drivers-next 2017-01-02

2017-01-02 Thread David Miller
From: Kalle Valo Date: Mon, 02 Jan 2017 15:20:59 +0200 > first pull request for 4.11. The tree is based on 4.9 but that shouldn't > be a problem, at least my test pull to net-next worked ok. I'll fast > forward my trees after you have pulled this. > > Please let me know if you have any problems.

Re: [PATCH v6 8/9] dt-bindings: mux-adg792a: document devicetree bindings for ADG792A/G mux

2017-01-02 Thread Peter Rosin
On 2017-01-02 19:05, Jonathan Cameron wrote: > On 02/01/17 16:01, Peter Rosin wrote: >> On 2017-01-01 12:00, Jonathan Cameron wrote: >>> On 30/11/16 08:17, Peter Rosin wrote: Analog Devices ADG792A/G is a triple 4:1 mux. Signed-off-by: Peter Rosin >>> Few comments inline. Worth add

Re: [PATCH] char: lack of bool string made CONFIG_DEVPORT always on

2017-01-02 Thread Arnd Bergmann
On Tuesday, December 27, 2016 3:05:54 PM CET Max Bires wrote: > So this is fine as is then? Just making sure that outside of the > development tree being closed for now that this patch is good to go now > that space/tab formatting is fixed. Yes, the change is fine, please add my Acked-by: Arnd Be

[PATCH] USB: ohci-omap: defer probe if PHY is missing

2017-01-02 Thread Aaro Koskinen
Defer probe if PHY is missing. E.g. on Nokia 770 several modules needs to be loaded to get the PHY going and ohci-omap should wait for those. Signed-off-by: Aaro Koskinen --- drivers/usb/host/ohci-omap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-

Re: [PATCH RFC 1/4] tpm: migrate struct tpm_buf to struct tpm_chip

2017-01-02 Thread Jason Gunthorpe
On Mon, Jan 02, 2017 at 03:22:07PM +0200, Jarkko Sakkinen wrote: > Since there is only one thread using TPM chip at a time to transmit data > we can migrate struct tpm_buf to struct tpm_chip. This makes the use of > it more fail safe as the buffer is allocated from heap when the device > is created

[PATCH 08/22] power: supply: add AC power supply driver for AXP20X and AXP22X PMICs

2017-01-02 Thread Quentin Schulz
The X-Powers AXP20X and AXP22X PMICs expose the status of AC power supply. Moreover, the AXP20X can also expose the current current and voltage values of the AC power supply. This adds the driver which exposes the status of the AC power supply of the AXP20X and AXP22X PMICs. Signed-off-by: Quent

[PATCH] pca953x: Add optional reset gpio control

2017-01-02 Thread Steve Longerbeam
Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Steve Longerbeam (1): gpio: pca953x: Add optional reset gpio control Documentation/devicetree/bindings/gpio/gpio-pca953x.txt | 4 drivers/gpio/gpio-pca953x.c

[PATCH] gpio: pca953x: Add optional reset gpio control

2017-01-02 Thread Steve Longerbeam
Add optional reset-gpios pin control. If present, de-assert the specified reset gpio pin to bring the chip out of reset. Signed-off-by: Steve Longerbeam Cc: Linus Walleij Cc: Alexandre Courbot Cc: linux-g...@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- Documentation/devicetree/bindings

Re: [PATCH RFC 4/4] tpm: add the infrastructure for TPM space for TPM 2.0

2017-01-02 Thread Jason Gunthorpe
On Mon, Jan 02, 2017 at 03:22:10PM +0200, Jarkko Sakkinen wrote: > Added a ioctl for creating a TPM space. The space is isolated from the > other users of the TPM. Only a process holding the file with the handle > can access the objects and only objects that are created through that > file handle c

<    1   2   3   4   5   6   7   >