[PATCH v2] iio: adc: ltc2485: add support for Linear Technology LTC2485 ADC

2016-08-25 Thread Alison Schofield
Adds basic support for the LTC2485 ADC - a delta-sigma analog-to-digital converter with an I2C interface that operates in single shot conversion mode. The driver supports an on board 5V reference and the power-on default configuration which rejects both 50hz & 60hz line frequencies and operates

[PATCH] softirq: fix tasklet_kill() and its users

2016-08-25 Thread Santosh Shilimkar
Semantically the expectation from the tasklet init/kill API should be as below. tasklet_init() == Init and Enable scheduling tasklet_kill() == Disable scheduling and Destroy tasklet_init() API exibit above behavior but not the tasklet_kill(). The tasklet handler can still get scheduled and run

Partnership Cooperation

2016-08-25 Thread Sheikh Maktoum Hasher Al Maktoum
Dear Friend, Your contact details came to me by recommendation, I am interested in investing in your country and I believe you have the capabilities of providing the needed assistance, solutions and advise in actualizing this, Let me know if you are willing to understake this task for me so we

[PATCH] i2c: mux: mellanox: fix platform_no_drv_owner.cocci warnings

2016-08-25 Thread kbuild test robot
drivers/i2c/muxes/i2c-mux-mlxcpld.c:329:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Vadim Pasternak Signed-off-by: Fengguang Wu

[PATCH 1/2] pwm: sun4i: Add Allwinner H3 support

2016-08-25 Thread Milo Kim
According to the latest datasheet (v1.2), H3 has single PWM channel. H3 PWM controller has same register layout as sun4i driver, so it works by adding H3 specific data. And the second PWM channel is not supported, so the pinctrl function is removed. Datasheet:

[PATCH 2/2] ARM: dts: sun8i-h3: Add UART1 pinctrl

2016-08-25 Thread Milo Kim
In H3, PA5 can be used as PWM and UART0. If the PWM is used, the console UART should be moved to other port. This patch enables UART1 pinctrl to support this case. PA5: PWM PG6, PG7: debug console Cc: Chen-Yu Tsai Cc: Maxime Ripard

Re: [patch 2/2] i2c: mux: mellanox: add driver

2016-08-25 Thread kbuild test robot
Hi Vadim, [auto build test WARNING on wsa/i2c/for-next] [also build test WARNING on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

Re: [PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-25 Thread kbuild test robot
Hi Binoy, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record

Re: what is the purpose of SLAB and SLUB

2016-08-25 Thread Michal Hocko
On Wed 24-08-16 23:10:03, Christoph Lameter wrote: > On Tue, 23 Aug 2016, Andi Kleen wrote: > > > Why would you stop someone from working on SLAB if they want to? > > > > Forcibly enforcing a freeze on something can make sense if you're > > in charge of a team to conserve resources, but in Linux

Re: MAINTAINERS without commits in the last 3 years

2016-08-25 Thread Joe Perches
On Wed, 2016-08-24 at 17:17 -0700, Petr Vandrovec wrote: > Hi, Hi Petr. > I (p...@vandrovec.name) am "maintainer" of ncpfs.  As NetWare is dead for > decade or so, there are no new users, and so no new bugs are found, and no > new features needs to be added. And so no checkins are needed. No

Re: [PATCH 23/34] clk: pwm: Migrate to clk_hw based OF and registration APIs

2016-08-25 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Janusz Uzycki

Re: [PATCH 1/2] ARM: dts: sun8i: Add dts file for inet-d978_rev2 tablets

2016-08-25 Thread Maxime Ripard
On Thu, Aug 25, 2016 at 07:57:33AM +0800, Icenowy Zheng wrote: > > > 25.08.2016, 03:32, "Maxime Ripard" : > > Hi, > > > > On Tue, Aug 23, 2016 at 02:44:50PM +0800, Icenowy Zheng wrote: > >>  The inet-d978_rev2 is a pcb used in generic A33 based tablets. It

Re: [PATCH 09/10] reset: zynq: add driver Kconfig option

2016-08-25 Thread Masahiro Yamada
2016-08-25 16:23 GMT+09:00 Philipp Zabel : > Am Donnerstag, den 25.08.2016, 10:08 +0900 schrieb Masahiro Yamada: >> 2016-08-25 2:48 GMT+09:00 Masahiro Yamada : >> > 2016-08-24 22:29 GMT+09:00 Philipp Zabel : >> >>

Re: [PATCH v6 2/2] clocksource: add J-Core timer/clocksource driver

2016-08-25 Thread Thomas Gleixner
Rich, On Wed, 24 Aug 2016, Rich Felker wrote: > I don't think that's a correct characterization. Rather the percpu > infrastructure just means something completely different from what you > would expect it to mean. It has nothing to do with the hardware but > rather with kernel-internal choice of

[PATCH 2/2] MAINTAINERS: Add rockchip pcie driver entry

2016-08-25 Thread Shawn Lin
The pcie driver of Rockchip has no entry in the MAINTAINERS file, so add one. Signed-off-by: Shawn Lin --- MAINTAINERS | 9 + 1 file changed, 9 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 20bb1d0..c0e623f 100644 --- a/MAINTAINERS +++

Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger

2016-08-25 Thread Jacek Anaszewski
zOn 08/24/2016 07:52 PM, Rafał Miłecki wrote: From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the specified USB port. This can can useful for various home routers that have USB port(s) and a proper LED

Re: [PATCH v3] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-25 Thread Maxime Ripard
On Thu, Aug 25, 2016 at 02:26:59PM +0800, Chen-Yu Tsai wrote: > The bootloader (U-boot) sometimes uses this timer for various delays. > It uses it as a ongoing counter, and does comparisons on the current > counter value. The timer counter is never stopped. > > In some cases when the user

[PATCH 1/2] sparc: Use kmalloc_array() in three functions

2016-08-25 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 25 Aug 2016 09:52:44 +0200 * Multiplications for the size determination of memory allocations indicated that array data structures should be processed. Thus reuse the corresponding function "kmalloc_array". This issue was

Re: [PATCH 2/2] phy: rcar-gen3-usb2: Add a compatible string for r8a7796

2016-08-25 Thread Geert Uytterhoeven
On Wed, Aug 24, 2016 at 8:49 AM, Yoshihiro Shimoda wrote: > This driver can support for r8a7796 SoC. So, this patch adds it. > > Signed-off-by: Yoshihiro Shimoda Acked-by: Geert Uytterhoeven

[PATCH v12 2/7] x86, acpi, cpu-hotplug: Enable acpi to register all possible cpus at boot time.

2016-08-25 Thread Dou Liyang
From: Gu Zheng [Problem] cpuid <-> nodeid mapping is firstly established at boot time. And workqueue caches the mapping in wq_numa_possible_cpumask in wq_numa_init() at boot time. When doing node online/offline, cpuid <-> nodeid mapping is established/destroyed,

video-vga.c:undefined reference to `__gcov_init'

2016-08-25 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 4935e04ef431c7980ba6e8145ad4c697abccf6b9 commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files date: 1 year, 2 months ago config: x86_64-rhel_gcov

[PATCH v12 3/7] x86, acpi, cpu-hotplug: Introduce cpuid_to_apicid[] array to store persistent cpuid <-> apicid mapping.

2016-08-25 Thread Dou Liyang
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic

Re: [RFC PATCH 2/4] perf-probe: Add offline output directory option

2016-08-25 Thread Masami Hiramatsu
On Wed, 24 Aug 2016 09:58:45 -0300 Arnaldo Carvalho de Melo wrote: > Em Wed, Aug 24, 2016 at 02:58:12PM +0900, Masami Hiramatsu escreveu: > > Add offline output direcrtory option. This allows user to > > store probe event definition in offline output directory. > > In such

Re: [PATCH v2 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-25 Thread kbuild test robot
Hi Binoy, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

[PATCH v2 0/3] clk: samsung: exynos5420: Add clocks for CMU_CDREX domain

2016-08-25 Thread Chanwoo Choi
This patches add the clocks for CMU_CDREX (DRAM Express Controller) that generates the clocks for DRAM and NoC (Network on Chip) bus clock. [clk_summary on exynos5422-odroidxu3 board] fout_bpll 00 8 0 0 mout_bpll

Re: [PATCH] ARM: imx: add cpuidle support for i.mx6ul

2016-08-25 Thread Peter Chen
> > Signed-off-by: Anson Huang > --- > arch/arm/mach-imx/cpuidle-imx6sx.c | 10 ++ > arch/arm/mach-imx/mach-imx6ul.c| 3 +++ > 2 files changed, 13 insertions(+) > > diff --git a/arch/arm/mach-imx/cpuidle-imx6sx.c > b/arch/arm/mach-imx/cpuidle-imx6sx.c > index

Re: [PATCH v1 07/10] sched/fair: Remove useless 64-bit to 32-bit variable conversion

2016-08-25 Thread Vincent Guittot
On 10 August 2016 at 02:14, Yuyang Du wrote: > In __decay_sum(), the 64-bit to 32-bit variable conversion makes no > performance nor correctness use. Are you sure that there is no impact on 32bits system ? Even this will be mainly shift manipulation > > Minor cleanup and

Re: [PATCH 06/10] reset: socfpga: add driver Kconfig option

2016-08-25 Thread Philipp Zabel
Am Mittwoch, den 24.08.2016, 10:26 -0500 schrieb Dinh Nguyen: > Hi Philipp, > > just a minor nit: > > On 08/24/2016 08:28 AM, Philipp Zabel wrote: > > Visible only if COMPILE_TEST is enabled, this allows to include the > > driver in build tests. > > > > Cc: Dinh Nguyen

[PATCH v8 03/11] power: act8945a_charger: Remove "battery_temperature"

2016-08-25 Thread Wenyou Yang
Remove "battery_temperature" member, it is redundant, it is the hardware's responsibility to handle TH pin properly. It is unnecessary to use the dt property to check if there is a battery temperature monitor or not. Signed-off-by: Wenyou Yang --- Changes in v8: None

[PATCH v3 3/6] clk: sunxi-ng: mux: support fixed pre-dividers on multiple parents

2016-08-25 Thread Chen-Yu Tsai
Some clocks on the A31 have fixed pre-dividers on multiple parents. Add support for them. Signed-off-by: Chen-Yu Tsai --- Changes since v2: - Fixed up H3 changes for number of fixed pre-dividers. Changes since v1: - Add field for number of fixed pre-dividers. ---

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-25 Thread Shaun Tancheff
On Thu, Aug 25, 2016 at 1:23 AM, Tom Yan wrote: > You only fill the bytes that you want to to set explicitly: > > + put_unaligned_le16(0x0002, [0]); /* SCT_ACT_WRITE_SAME */ > + put_unaligned_le16(0x0101, [1]); /* WRITE PTRN FG */ > +

[PATCH 1/2] PCI: rockchip: fix broken ASPM due to incorrect L1PwrOnSc/Val

2016-08-25 Thread Shawn Lin
This is a bug of controller found recently which makes the default values of L1PwrOnSc and L1PwrOnVal unreliable when enabling ASPM. We could work around this by reading L1 substate control 2 register and then write back the value again. Signed-off-by: Shawn Lin ---

Re: [RFC][PATCH 3/3] locking/mutex: Add lock handoff to avoid starvation

2016-08-25 Thread Peter Zijlstra
On Wed, Aug 24, 2016 at 03:50:10PM -0400, Waiman Long wrote: > --- a/kernel/locking/mutex.c > +++ b/kernel/locking/mutex.c > @@ -97,6 +97,8 @@ static void __mutex_handoff(struct mutex *lock, struct > task_st > for (;;) { > unsigned long old, new; > > + if

Re: Capturing crash with 4.6.0 and above kernel does not work

2016-08-25 Thread Michal Hocko
[Let's add kdump people] On Wed 24-08-16 16:38:56, Himanshu Madhani wrote: > Hello list, > > I am wondering if anybody has issue capturing crash dump with the 4.6.0 and > above kenrel. > > I have a system, when booted in 4.5.7 kernel is able to capture crash dump. > However, when I boot this

[PATCH 0/2] sparc: Fine-tuning for three function implementations

2016-08-25 Thread SF Markus Elfring
From: Markus Elfring Date: Thu, 25 Aug 2016 10:05:45 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Use kmalloc_array() Delete an unnecessary initialisation in led_proc_write()

[PATCH 1/4] cpu: clean up register_cpu func

2016-08-25 Thread Alex Shi
This patch could reduce one branch in this function. Also make the code more readble. Signed-off-by: Alex Shi Acked-by: Daniel Lezcano To: linux-kernel@vger.kernel.org To: Greg Kroah-Hartman Cc:

[PATCH v12 7/7] acpi: Provide the interface to validate the proc_id

2016-08-25 Thread Dou Liyang
When we want to identify whether the proc_id is unreasonable or not, we can call the "acpi_processor_validate_proc_id" function. It will search in the duplicate IDs. If we find the proc_id in the IDs, we return true to the call function. Conversely, the false represents available. When we

[PATCH v12 4/7] x86, acpi, cpu-hotplug: Enable MADT APIs to return disabled apicid.

2016-08-25 Thread Dou Liyang
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic

[PATCH 3/4] cpuidle/menu: stop seeking deeper idle if current state is too deep

2016-08-25 Thread Alex Shi
The obsolete commit 71abbbf85 want to introduce a dynamic cstates, but it was removed for long time. Just left the nonsense deeper cstate checking. Since all target_residency and exit_latency are going longer in deeper idle state, no needs to waste some cpu cycle on useless seeking.

Re: [PATCH v6 3/4 RESEND] SCT Write Same / DSM Trim

2016-08-25 Thread Shaun Tancheff
On Thu, Aug 25, 2016 at 2:01 AM, Tom Yan wrote: > Really please just drop this patch. There is no rational reason for > you to associate the maximum payload size to the logical sector size. Been over this many, many times now. It has to do with the size of the buffer setup

[PATCH v12 5/7] x86, acpi, cpu-hotplug: Set persistent cpuid <-> nodeid mapping when booting.

2016-08-25 Thread Dou Liyang
From: Gu Zheng The whole patch-set aims at making cpuid <-> nodeid mapping persistent. So that, when node online/offline happens, cache based on cpuid <-> nodeid mapping such as wq_numa_possible_cpumask will not cause any problem. It contains 4 steps: 1. Enable apic

[PATCH 4/4] cpuidle/menu: add per cpu pm_qos_resume_latency consideration

2016-08-25 Thread Alex Shi
Kernel or user may have special requirement on cpu response time, like if a interrupt is pinned to a cpu, we don't want the cpu goes too deep sleep. This patch can prevent this thing happen by consider per cpu resume_latency setting in cpu sleep state selection in menu governor. The

Re: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific

2016-08-25 Thread kbuild test robot
nce) to record what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Josh-Poimboeuf/livepatch-module-make-TAINT_LIVEPATCH-module-specific/20160825-053847 base: ht

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-25 Thread Tom Yan
You only fill the bytes that you want to to set explicitly: + put_unaligned_le16(0x0002, [0]); /* SCT_ACT_WRITE_SAME */ + put_unaligned_le16(0x0101, [1]); /* WRITE PTRN FG */ + put_unaligned_le64(lba, [2]); + put_unaligned_le64(num, [6]); +

[PATCH v2 2/3] clk: samsung: exynos5420: Add clocks for CMU_CDREX domain

2016-08-25 Thread Chanwoo Choi
This patch adds the mux/divider clocks for CMU_CDREX (DRAM Express Controller) which generates the clocks for DRAM and NoC (Network on Chip) bus clock. But, there is differnet source of MUX_MX_MSPLL_CCORE between exynos5420 and exynos5422. So, each MUX_MX_MSPLL_CCORE uses the different parent

[PATCH v2 1/3] dt-bindings: Add the clock id for CMU_CDREX (DRAM Express Controller)

2016-08-25 Thread Chanwoo Choi
This patch adds the new clock id for CMU_CDRES (DRAM Express Controller) geneates the clocks for DRAM and NoC (Network on Chip) bus clock. Signed-off-by: Chanwoo Choi --- include/dt-bindings/clock/exynos5420.h | 11 ++- 1 file changed, 10 insertions(+), 1

Re: [PATCH v3 3/5] gpu: drm: exynos_hdmi: Move DDC logic into single function

2016-08-25 Thread Andrzej Hajda
On 08/24/2016 03:07 PM, Milo Kim wrote: > Paring DT properties and getting the I2C adapter in one function. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: David Airlie > Cc: Inki Dae > Cc: Joonyoung Shim

Re: [PATCH 2/2] sdhci-of-arasan: Add quirk and device tree parameter to fake CD bit

2016-08-25 Thread kbuild test robot
ord what (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Zach-Brown/sdhci-of-arasan-Add-quirk-and-device-tree-parameter-to-fake-CD-bit/20160825-072554 base: ht

Re: [PATCH v4 3/3] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2016-08-25 Thread Chen-Yu Tsai
On Thu, Aug 25, 2016 at 3:44 AM, Maxime Ripard wrote: > On Mon, Aug 22, 2016 at 11:29:59PM +0200, Rask Ingemann Lambertsen wrote: >> On Mon, Aug 22, 2016 at 08:57:45PM +0200, Maxime Ripard wrote: >> > Hi, >> > >> > On Sat, Aug 13, 2016 at 12:03:57AM +0200, Rask

[PATCH v3] clocksource: sun4i: Clear interrupts after stopping timer in probe function

2016-08-25 Thread Chen-Yu Tsai
The bootloader (U-boot) sometimes uses this timer for various delays. It uses it as a ongoing counter, and does comparisons on the current counter value. The timer counter is never stopped. In some cases when the user interacts with the bootloader, or lets it idle for some time before loading

[PATCH v8 04/11] power: act8945a_charger: Improve

2016-08-25 Thread Wenyou Yang
When get the property, first check the charger state machine, then check the status bit to decide what value is assigned to the corresponding property. Retain the SUSCHG bit of REG 0x71 when configure the timers to avoid losting the charger suspending info after boot. Signed-off-by: Wenyou Yang

Re: [PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-25 Thread Philipp Zabel
Am Mittwoch, den 24.08.2016, 22:06 +0200 schrieb Arnd Bergmann: > On Thursday, August 25, 2016 3:18:55 AM CEST Masahiro Yamada wrote: > > Hi Arnd, > > > > > > 2016-08-25 0:51 GMT+09:00 Arnd Bergmann : > > > On Wednesday, August 24, 2016 3:28:53 PM CEST Philipp Zabel wrote: > > >>

Re: [PATCH 03/10] reset: lpc18xx: add driver Kconfig option

2016-08-25 Thread Philipp Zabel
Am Mittwoch, den 24.08.2016, 22:32 +0200 schrieb Joachim Eastwood: > Hi Philipp, > > On 24 August 2016 at 15:28, Philipp Zabel wrote: > > Visible only if COMPILE_TEST is enabled, this allows to include the > > driver in build tests. > > > > Cc: Joachim Eastwood

Re: [PATCH v3 5/5] gpu: drm: exynos_hdmi: Remove duplicate initialization of regulator bulk consumer

2016-08-25 Thread Andrzej Hajda
On 08/24/2016 03:07 PM, Milo Kim wrote: > The helper, devm_regulator_bulk_get() initializes the consumer as NULL, > so this code can be ignored. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: David Airlie > Cc: Inki Dae

[PATCH v8 05/11] power: act8945a_charger: Add status change update support

2016-08-25 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery

Re: [PATCH 19/34] clk: moxart: Migrate to clk_hw based OF and registration APIs

2016-08-25 Thread Stephen Boyd
On 06/01, Stephen Boyd wrote: > Now that we have clk_hw based provider APIs to register clks, we > can get rid of struct clk pointers while registering clks in > these drivers, allowing us to move closer to a clear split of > consumer and provider clk APIs. > > Cc: Jonas Jensen

Re: [PATCHv11 0/3] rdmacg: IB/core: rdma controller support

2016-08-25 Thread Christoph Hellwig
On Wed, Aug 24, 2016 at 05:17:47PM -0400, Tejun Heo wrote: > Looks good to me. I just have a nit in the documentation. Christoph, > what do you think? Looks reasonable from a quick look, but I didn't do a full review yet.

Re: [PATCH] nvme: Fix nvme_get/set_features() with a NULL result pointer

2016-08-25 Thread Andy Lutomirski
On Thu, Aug 25, 2016 at 12:38 AM, Christoph Hellwig wrote: > Ooops, yes. > > Are you looking into new nvme_set_features users? Another thing > we need to tackle is either replacing dma_addr argument with a > a real kernel pointer (or just kill it until users show up) I am, and I

Re: [PATCH] Make __xfs_xattr_put_listen preperly report errors.

2016-08-25 Thread Dave Chinner
On Wed, Aug 24, 2016 at 10:08:33AM +0200, Artem Savkov wrote: > On Wed, Aug 24, 2016 at 11:55:51AM +1000, Dave Chinner wrote: > > On Tue, Aug 23, 2016 at 05:54:13PM +0200, Artem Savkov wrote: > > > Commit "xfs: only return -errno or success from attr ->put_listent" > > > changes the > > > >

Re: [PATCH 01/10] reset: ath79: add driver Kconfig option

2016-08-25 Thread Philipp Zabel
Am Donnerstag, den 25.08.2016, 16:27 +0900 schrieb Masahiro Yamada: > 2016-08-25 16:22 GMT+09:00 Philipp Zabel : > > And the hi6220 > > driver, which doesn't have a user yet. > > It does. > > See arch/arm64/configs/defconfig My mistake, I missed that hi6220_reset_init is

[PATCH] kexec: Fix double-free when failing to relocate the purgatory.

2016-08-25 Thread Thiago Jung Bauermann
If kexec_apply_relocations fails, kexec_load_purgatory frees pi->sechdrs and pi->purgatory_buf. This is redundant, because in case of error kimage_file_prepare_segments calls kimage_file_post_load_cleanup, which will also free those buffers. This causes two warnings like the following, one for

Re: [PATCH v3] clk: let clk_disable() return immediately if clk is NULL

2016-08-25 Thread Geert Uytterhoeven
On Wed, Aug 24, 2016 at 7:26 PM, Masahiro Yamada wrote: > Many of clk_disable() implementations just return for NULL pointer, > but this check is missing from some. Let's make it tree-wide > consistent. It will allow clock consumers to call clk_disable() > without

Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger

2016-08-25 Thread Matthias Brugger
On 25/08/16 10:03, Jacek Anaszewski wrote: zOn 08/24/2016 07:52 PM, Rafał Miłecki wrote: From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the specified USB port. This can can useful for various home routers

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-08-25 Thread Hui Zhu
On Thu, Aug 25, 2016 at 2:09 PM, Sergey Senozhatsky wrote: > Hello, > > On (08/22/16 16:25), Hui Zhu wrote: >> >> Current ZRAM just can store all pages even if the compression rate >> of a page is really low. So the compression rate of ZRAM is out of >> control

Re: [PATCH v6 20/20] thermal/intel_powerclamp: Convert the kthread to kthread worker API

2016-08-25 Thread Sebastian Andrzej Siewior
On 2016-04-14 17:14:39 [+0200], Petr Mladek wrote: > Kthreads are currently implemented as an infinite loop. Each > has its own variant of checks for terminating, freezing, > awakening. In many cases it is unclear to say in which state > it is and sometimes it is done a wrong way. What is the

Re: linux-next: build warning after merge of the crypto tree

2016-08-25 Thread Herbert Xu
On Thu, Aug 25, 2016 at 08:20:10AM +0200, Martin Schwidefsky wrote: > On Thu, 25 Aug 2016 11:38:24 +1000 > Stephen Rothwell wrote: > > > Hi Herbert, > > > > After merging the crypto tree, today's linux-next build (powerpc > > ppc64_defconfig) produced this warning: > > >

Re: [PATCH] Input: elants_i2c - get product id on recovery mode for FW update

2016-08-25 Thread kbuild test robot
Hi Johnny, [auto build test ERROR on input/next] [also build test ERROR on v4.8-rc3 next-20160824] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what

Re: [RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-25 Thread Michal Marek
On 2016-08-25 09:43, Christoph Hellwig wrote: > The idea seems useful, but I reallt don't like the 'reverse-engineering' > approach. > > If we want to this properly from the ground up we should just split out > our CONFIG_ SYMBOLS into > > MODULE_* - builds exactly one module (tristate, or maybe

[PATCH v12 1/7] x86, memhp, numa: Online memory-less nodes at boot time.

2016-08-25 Thread Dou Liyang
From: Tang Chen For now, x86 does not support memory-less node. A node without memory will not be onlined, and the cpus on it will be mapped to the other online nodes with memory in init_cpu_to_node(). The reason of doing this is to ensure each cpu has mapped to a node

[PATCH] UFS: Date Segment only need for WRITE DESCRIPTOR

2016-08-25 Thread Zang Leigang
Some device may cause a compatibility issue while receiving a Query UPIU with Data Segment which does not expected. Signed-off-by: Zang Leigang --- drivers/scsi/ufs/ufshcd.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

[PATCH] powerpc: Remove suspect CONFIG_PPC_BOOK3E #ifdefs in nohash/64/pgtable.h

2016-08-25 Thread Rui Teng
There are three #ifdef CONFIG_PPC_BOOK3E sections in nohash/64/pgtable.h. And there should be no configurations possible which use nohash/64/pgtable.h but don't also enable CONFIG_PPC_BOOK3E. Suggested-by: Michael Ellerman Signed-off-by: Rui Teng

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-25 Thread Tom Yan
On 25 August 2016 at 05:28, Shaun Tancheff wrote: > On Wed, Aug 24, 2016 at 12:31 AM, Tom Yan wrote: >> On 24 August 2016 at 11:33, Martin K. Petersen >> wrote: "Tom" == Tom Yan writes: >>>

Re: Memory (skb) leak in kernel 4.8-rc2

2016-08-25 Thread Frederic Dalleau
Hi Larry, On 24/08/2016 22:02, Larry Finger wrote: On 08/21/2016 07:09 AM, Frederic Dalleau wrote: I am unable to unload module bluetooth to verify that the second leak is not a false positive; however, the one in btusb is a real memory leak. I have a patch on the grill. Any progress on

[PATCH] net: hns: dereference ppe_cb->ppe_common_cb if it is non-null

2016-08-25 Thread Colin King
From: Colin Ian King ppe_cb->ppe_common_cb is being dereferenced before a null check is being made on it. If ppe_cb->ppe_common_cb is null then we end up with a null pointer dereference when assigning dsaf_dev. Fix this by moving the initialisation of dsaf_dev once we

Re: [PATCH 1/1] sched: apply ifdef CONFIG_SMP to meaningful code only on SMP system

2016-08-25 Thread Byungchul Park
On Sun, Jul 05, 2015 at 06:43:31PM +0900, byungchul.p...@lge.com wrote: > From: Byungchul Park Hello, This patch was rejected and the next version having tried to apply what peterz recommanded, was almost ignored last year. But now, exactly same thing is already in the

Re: [PATCH] livepatch/module: make TAINT_LIVEPATCH module-specific

2016-08-25 Thread Josh Poimboeuf
On Wed, Aug 24, 2016 at 04:33:00PM -0500, Josh Poimboeuf wrote: > There's no reliable way to determine which module tainted the kernel > with CONFIG_LIVEPATCH. For example, /sys/module//taint > doesn't report it. Neither does the "mod -t" command in the crash tool. > > Make it crystal clear who

[PATCH v2 3/3] ARM: dts: Set the clock rate for DREX block 800Mhz on exynos5422-odroidxu3

2016-08-25 Thread Chanwoo Choi
This patch sets the clock rate for DREX (DRAM Express) block on exynos5422-odroidxu3 board. In the exynos5422 TRM, DRAM clocks use BPLL clock and CMU_CDREX generates the 800MHz DRAM clock. [clk_summary on exynos5422-odroidxu3 board] fout_bpll 00 8

[PATCH] ASoC: tegra_rt5640: Correct a copy and paste typo in the comments

2016-08-25 Thread Nicolin Chen
This patch corrects a copy and paste typo. Signed-off-by: Nicolin Chen --- sound/soc/tegra/tegra_rt5640.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c index 773daec..e5ef4e9 100644 ---

[PATCH v8 00/11] power: act8945a_charger: Improvements

2016-08-25 Thread Wenyou Yang
This patch series is to improve the implementation of act8945a-charger driver, such as regard the act8945-charger as a sub-device, improve the way to check the status, fix the power supply type property, add the status change update, and add more properties: capacity level property and max current

[PATCH v8 02/11] power: act8945a_charger: Achieve properties from its node

2016-08-25 Thread Wenyou Yang
Since the act8945a_charger is regarded as a sub-device, all properties will be assigned to its own device node. All properties can be achieved from its own node, instead of from its parent device. Signed-off-by: Wenyou Yang --- Changes in v8: None Changes in v7: None

[PATCH v8 01/11] mfd: act8945a: Add .of_compatible for act8945a-charger

2016-08-25 Thread Wenyou Yang
To regard the act8945a-charger as a sub-device, add .of_compatible for act8945a-charger cell. Signed-off-by: Wenyou Yang --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

Re: OOM detection regressions since 4.7

2016-08-25 Thread Olaf Hering
On Thu, Aug 25, Michal Hocko wrote: > Any luck with the testing of this patch? Not this week, sorry. Olaf signature.asc Description: PGP signature

[PATCH v3 5/6] clk: sunxi-ng: Add A31/A31s clocks

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

Re: OOM detection regressions since 4.7

2016-08-25 Thread Michal Hocko
On Tue 23-08-16 09:43:39, Michal Hocko wrote: > On Mon 22-08-16 15:05:17, Andrew Morton wrote: > > On Mon, 22 Aug 2016 15:42:28 +0200 Michal Hocko wrote: > > > > > Of course, if Linus/Andrew doesn't like to take those compaction > > > improvements this late then I will ask to

RE: [PATCH 1/7] aacraid: Use memdup_user() rather than duplicating its implementation

2016-08-25 Thread David Carroll
> > > > Hi Markus, > > > > Patch 2/7 should precede Patch 1/7, as falling into kfree() would not look > pretty. > > Do you eventually prefer that this source code adjustment should be combined > with the update suggestion "[2/7] aacraid: One function call less in > aac_send_raw_srb() after error

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-25 Thread Ralph Sennhauser
Hi Jason. On Wed, 24 Aug 2016 21:48:36 + Jason Cooper wrote: > All, > > On Wed, Aug 24, 2016 at 10:41:02PM +0200, Ralph Sennhauser wrote: > > On Wed, 24 Aug 2016 20:15:31 +0200 > > Thomas Petazzoni wrote: > > > On Wed, 24 Aug

Re: [PATCH] nvme: Fix nvme_get/set_features() with a NULL result pointer

2016-08-25 Thread Christoph Hellwig
Ooops, yes. Are you looking into new nvme_set_features users? Another thing we need to tackle is either replacing dma_addr argument with a a real kernel pointer (or just kill it until users show up)

Re: [PATCH] mm: clarify COMPACTION Kconfig text

2016-08-25 Thread Michal Hocko
On Wed 24-08-16 17:54:52, David Rientjes wrote: > On Tue, 23 Aug 2016, Michal Hocko wrote: > > > From: Michal Hocko > > > > The current wording of the COMPACTION Kconfig help text doesn't > > emphasise that disabling COMPACTION might cripple the page allocator > > which relies

[PATCH V4] leds: trigger: Introduce an USB port trigger

2016-08-25 Thread Rafał Miłecki
From: Rafał Miłecki This commit adds a new trigger responsible for turning on LED when USB device gets connected to the specified USB port. This can can useful for various home routers that have USB port(s) and a proper LED telling user a device is connected. The trigger gets

Re: Re: [GIT PULL] Changes for 4.8

2016-08-25 Thread Juergen Gross
On 27/07/16 08:41, Ingo Molnar wrote: > > * Juergen Gross wrote: > >> Hi Linus, >> >> please consider pulling a patch series for 4.8 from: >> >> https://github.com/jgross1/linux.git tags/for-linus-4-8 >> >> Unfortunately 2 of the 6 patches got no Acks as the maintainers

Re: MAINTAINERS without commits in the last 3 years

2016-08-25 Thread Joe Perches
On Wed, 2016-08-24 at 21:02 -0500, Linas Vepstas wrote: > I get these emails, but have not received any patches worth acking in 3+ > years.  Obviously, the code I am ostensibly maintaining has proven to be > absolutely perfect in every way :-) Hey Linas I guess you could change the S: status

Re: [PATCH 1/2] phy: rcar-gen3-usb2: revise the example of device tree doc

2016-08-25 Thread Geert Uytterhoeven
Hi Shimoda-san, On Wed, Aug 24, 2016 at 8:49 AM, Yoshihiro Shimoda wrote: > The clocks property should be set to , not _clks. > > Signed-off-by: Yoshihiro Shimoda Reviewed-by: Geert Uytterhoeven >

Re: [RFC PATCH 0/5] Add CONFIG symbol as module attribute

2016-08-25 Thread Johannes Berg
> The other nice thing is that we could probably fold most of the > Makefiles into Kconfig using that methods as well, by listing the > objectes required for a module, e.g. > > module NVME_TARGET > tristate "NVMe Target support" > depends on BLOCK > depends on CONFIGFS_FS >

Re: [PATCH] Make __xfs_xattr_put_listen preperly report errors.

2016-08-25 Thread Artem Savkov
h file or > directory) > 24833 llistxattr(0x, 0x7ffe312356a0, 20) = -1 EFAULT (Bad > address) > > I'm assuming from your description that it is the first one of these > that fails for you as it is the "buffer too small" test case. So, > not as

Re: [PATCH RFC V3.5] leds: trigger: Introduce an USB port trigger

2016-08-25 Thread Rafał Miłecki
On 25 August 2016 at 10:03, Jacek Anaszewski wrote: > On 08/24/2016 07:52 PM, Rafał Miłecki wrote: >> >> From: Rafał Miłecki >> >> This commit adds a new trigger responsible for turning on LED when USB >> device gets connected to the specified USB

Re: [RFC 0/4] ZRAM: make it just store the high compression rate page

2016-08-25 Thread Sergey Senozhatsky
Hello, On (08/22/16 16:25), Hui Zhu wrote: > > Current ZRAM just can store all pages even if the compression rate > of a page is really low. So the compression rate of ZRAM is out of > control when it is running. > In my part, I did some test and record with ZRAM. The compression rate > is

Re: [PATCH v2 0/3] *** Latency histograms - IRQSOFF,PREEMPTOFF ***

2016-08-25 Thread Binoy Jayan
On 25 August 2016 at 10:56, Daniel Wagner wrote: > Hi Binoy, > > On 08/24/2016 01:17 PM, Binoy Jayan wrote: >> >> Histogram output: >> cat /sys/kernel/debug/tracing/events/latency/latency_irqs/hist >> cat /sys/kernel/debug/tracing/events/latency/latency_preempt/hist >>

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

2016-08-25 Thread Ley Foon Tan
Altera PCIe IP can be configured as rootport or device and they might have same vendor ID. It will cause the system hang issue if Altera PCIe is in endpoint mode and work with other PCIe rootport that from other vendors. Moved retrain function to before pci_scan_root_bus and removed _FIXUP. Add

Re: MAINTAINERS without commits in the last 3 years

2016-08-25 Thread Ali Akcaagac
On Wed, 24 Aug 2016 16:33:45 -0700 Joe Perches wrote: > Many email addresses in MAINTAINERS no longer work so many > sections in MAINTAINERS could likely be considered either > obsolete or unmaintained. > ali...@web.de Hi Joe! Been using this email address as my main address

Re: [PATCH v3 2/2] powerpc/fadump: parse fadump reserve memory size based on memory range

2016-08-25 Thread Dave Young
On 08/10/16 at 03:35pm, Hari Bathini wrote: > When fadump is enabled, by default 5% of system RAM is reserved for > fadump kernel. While that works for most cases, it is not good enough > for every case. > > Currently, to override the default value, fadump supports specifying > memory to reserve

  1   2   3   4   5   6   7   8   9   10   >