Re: linux-next: build failure after merge of the net-next tree

2015-06-24 Thread David Miller
From: Stephen Rothwell s...@canb.auug.org.au Date: Wed, 24 Jun 2015 17:37:10 +1000 I have applied this patch for today: From: Stephen Rothwell s...@canb.auug.org.au Date: Wed, 24 Jun 2015 17:29:51 +1000 Subject: [PATCH] drivers: net: xgene: fix for ACPI support without ACPI

Re: [PATCH 5/8] pinctrl: qcom: spmi-mpp: Add support for setting analog output level

2015-06-24 Thread Ivan T. Ivanov
Hi Bjorn, On Wed, 2015-06-17 at 23:47 -0700, Bjorn Andersson wrote: When the MPP is configured for analog output the output level is selected by the AOUT_CTL register, this patch makes it possible to control this. snip } @@ -748,6 +765,10 @@ static int pmic_mpp_populate(struct

Re: [PATCH 2/2] PM / Domains: Avoid infinite loops in attach/detach code

2015-06-24 Thread Geert Uytterhoeven
On Wed, Jun 24, 2015 at 10:33 AM, Ulf Hansson ulf.hans...@linaro.org wrote: [...] @@ -2183,6 +2191,7 @@ int genpd_dev_pm_attach(struct device *dev) { struct of_phandle_args pd_args; struct generic_pm_domain *pd; + unsigned int i; int ret; if

Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support

2015-06-24 Thread Maxime Ripard
Hi, On Tue, Jun 23, 2015 at 07:14:57PM +0530, Sanchayan Maity wrote: +static struct nvmem_config ocotp_config = { + .name = soc_id, +}; + +static struct nvmem_config rom_config = { + .name = rom_rev, +}; Srinivas, shouldn't we use the DT to setup these names, just like

Re: [PATCH 1/2] dt-bindings: mediatek: Add MT8173 cpufreq driver binding

2015-06-24 Thread Pi-Cheng Chen
On Wed, Jun 24, 2015 at 9:06 AM, Viresh Kumar viresh.ku...@linaro.org wrote: Adding Mike's new email address.. On 23-06-15, 23:31, Pi-Cheng Chen wrote: On Mon, Jun 8, 2015 at 8:29 PM, Pi-Cheng Chen pi-cheng.c...@linaro.org wrote: This patch adds device tree binding document for MT8173

Re: Uses of Linux backports in the industry

2015-06-24 Thread Enrico Weigelt, metux IT consult
Am 29.05.2015 um 19:36 schrieb Theodore Ts'o: Yes, it's ugly, but there still are some SOC and drivers that aren't available on newer kernels. Why so, exactly ? cu -- Enrico Weigelt, metux IT consult +49-151-27565287 MELAG Medizintechnik oHG Sitz Berlin Registergericht AG Charlottenburg

Re: [Bugfix v2] PCI, ACPI: Fix regressions caused by resource_size_t overflow with 32bit kernel

2015-06-24 Thread Boszormenyi Zoltan
2015-06-24 10:30 keltezéssel, Ingo Molnar írta: * Jiang Liu jiang@linux.intel.com wrote: Since commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation), x86 PCI ACPI host bridge driver validates ACPI resources by first converting an ACPI

Re: [PATCH] staging: sm750fb: use tabs for indentation

2015-06-24 Thread Dan Carpenter
On Mon, Jun 22, 2015 at 11:30:30AM -0700, Juston Li wrote: On Mon, Jun 22, 2015 at 10:46 AM, Dan Carpenter dan.carpen...@oracle.com wrote: On Fri, Jun 19, 2015 at 05:50:50PM -0700, Juston Li wrote: void sii164ClearInterrupt(void) { -unsigned char detectReg; + unsigned char

[PATCH 3/4] soc: Mediatek: Add SCPSYS power domain driver

2015-06-24 Thread Sascha Hauer
This adds a power domain driver for the Mediatek SCPSYS unit. The System Control Processor System (SCPSYS) has several power management related tasks in the system. The tasks include thermal measurement, dynamic voltage frequency scaling (DVFS), interrupt filter and lowlevel sleep control. The

[PATCH 2/4] dt-bindings: soc: Add documentation for the MediaTek SCPSYS unit

2015-06-24 Thread Sascha Hauer
This adds documentation for the MediaTek SCPSYS unit found in MT8173 SoCs. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- .../devicetree/bindings/soc/mediatek/scpsys.txt| 41 ++ 1 file changed, 41 insertions(+) create mode 100644

[PATCH v6] Mediatek SCPSYS power domain support

2015-06-24 Thread Sascha Hauer
Just a small update to this series with a memory corruption bug fixed. This series adds support for the MediaTek SCPSYS unit. The SCPSYS unit handles several power management related tasks such as thermal measurement, DVFS, interrupt filter and low level sleep control. The initial support only

[PATCH] sched: update blocked load of idle cpus

2015-06-24 Thread Vincent Guittot
The load and the util of idle cpus must be updated periodically in order to decay the blocked part. If CONFIG_FAIR_GROUP_SCHED is not set, the load and util of idle cpus are not decayed and stay at the values set before becoming idle. Signed-off-by: Vincent Guittot vincent.guit...@linaro.org ---

[PATCH v2] gpio/xilinx: Use correct address when setting initial values.

2015-06-24 Thread Raphaël Teysseyre
xgpio_save_regs() is used in this driver to setup the initial values of the registers in the hardware. The relevant registers at that time are: 0x0 - channel 0 data (32 bits, one for each GPIO on this channel). 0x4 - channel 0 tri, controls in/out status for each GPIO of this channel. 0x8 -

linux-next: build failure after merge of the net-next tree

2015-06-24 Thread Stephen Rothwell
Hi all, After merging the net-next tree, today's linux-next build (KCONFIG_NAME) failed like this: drivers/net/ethernet/apm/xgene/xgene_enet_main.c: In function 'xgene_get_port_id_acpi': drivers/net/ethernet/apm/xgene/xgene_enet_main.c:880:2: error: implicit declaration of function

Re: [PATCH] crypto-jitterentropy: Delete unnecessary checks before the function call kzfree

2015-06-24 Thread Stephan Mueller
Am Mittwoch, 24. Juni 2015, 10:48:19 schrieb Dan Carpenter: Hi Dan, The other NULL assignment isn't useful either. Also If entropy_collector is NULL then we would oops calling kzfree(entropy_collector-mem); ^^ Dereference. I don't understand the patch that you sent.

Re: [PATCH 6/9] arm: twr-k70f120m: clock source drivers for Kinetis SoC

2015-06-24 Thread Thomas Gleixner
On Tue, 23 Jun 2015, Paul Osmialowski wrote: +/* + * Clock event device set mode function + */ +static void kinetis_clockevent_tmr_set_mode( + enum clock_event_mode mode, struct clock_event_device *clk) +{ + struct kinetis_clock_event_ddata *pit = + container_of(clk,

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-06-24 Thread James Liao
Hi Heiko, On Mon, 2015-06-22 at 14:53 +0200, Heiko Stübner wrote: Hi James, Am Montag, 22. Juni 2015, 11:38:37 schrieb James Liao: On Fri, 2015-06-19 at 13:36 +0200, Heiko Stuebner wrote: Some clocks such as clkph_mck_o, we don't really care where they come from and what frequencies

[PATCH v2] stmmac: troubleshoot unexpected bits in des0 des1

2015-06-24 Thread Alexey Brodkin
Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in des0/des1 fields while it is perfectly possible to get unexpected bits set because of the following factors: [1] On driver probe underlying memory allocated with dma_alloc_coherent()

[PATCH 2/2] advansys: Make sure ret and share_irq are initialized

2015-06-24 Thread Geert Uytterhoeven
If CONFIG_PCI=n: drivers/scsi/advansys.c: In function ‘advansys_board_found’: drivers/scsi/advansys.c:11037: warning: ‘ret’ is used uninitialized in this function drivers/scsi/advansys.c:10929: warning: ‘share_irq’ may be used uninitialized in this function If CONFIG_PCI=n, ret and

Re: [Bugfix v2] PCI, ACPI: Fix regressions caused by resource_size_t overflow with 32bit kernel

2015-06-24 Thread Ingo Molnar
* Jiang Liu jiang@linux.intel.com wrote: Since commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation), x86 PCI ACPI host bridge driver validates ACPI resources by first converting an ACPI resource to a 'struct resource' structure and

[GIT PULL] Backlight for v4.2

2015-06-24 Thread Lee Jones
Hi Linus, The following changes since commit 5ebe6afaf0057ac3eaeb98defd5456894b446d22: Linux 4.1-rc2 (2015-05-03 19:22:23 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/backlight.git tags/backlight-for-linus-4.2 for you to fetch changes

Re: [PATCH 0/8] Qualcomm PMIC pinctrl additions

2015-06-24 Thread Ivan T. Ivanov
On Wed, 2015-06-17 at 23:47 -0700, Bjorn Andersson wrote: This series starts out by fixing various issues found in the pm8941 mpp driver. While doing this work, and trying to use the mpp driver from device tree it, it became obvious that the current binding is not fit for neither the

[PATCH 1/2] advansys: Do not byteswap sense_len on big endian

2015-06-24 Thread Geert Uytterhoeven
On big endian (e.g. m68k): drivers/scsi/advansys.c: In function ‘adv_build_req’: drivers/scsi/advansys.c:7806: warning: large integer implicitly truncated to unsigned type Indeed, adv_scsi_req_q.sense_len is uchar, not __le32, and must never be byteswapped. Fixes: 811ddc057aac7228

Re: [alsa-devel] [V2 PATCH] ALSA: hda - Enable mute/mic-mute LEDs for more Thinkpads with Conexant codec

2015-06-24 Thread Hui Wang
On 06/24/2015 01:37 PM, Jan Kiszka wrote: On 2015-05-23 18:22, Jan Kiszka wrote: On 2015-05-23 18:06, Raymond Yau wrote: 2015-5-23 下午4:50 於 Jan Kiszka jan.kis...@web.de 寫道: Most Thinkpad Edge series laptops use conexant codec, so far although snip Is there anything I can debug or any

Re: [RFC][PATCH 00/13] percpu rwsem -v2

2015-06-24 Thread Ingo Molnar
* Peter Zijlstra pet...@infradead.org wrote: On Tue, Jun 23, 2015 at 07:50:12PM +0200, Peter Zijlstra wrote: On Tue, Jun 23, 2015 at 04:56:39PM +0200, Daniel Wagner wrote: flock02 mean variance sigmamax min

Re: [v4 01/16] KVM: Extend struct pi_desc for VT-d Posted-Interrupts

2015-06-24 Thread Paolo Bonzini
On 24/06/2015 07:42, Wu, Feng wrote: Do you mean we don't use bitfields at all, or the following format is acceptable, in which, we use bitfileds as less as possible? union { struct { u16 on : 1, /* bit 256 - Outstanding Notification */ sn

Re: [PATCH 1/3] iio: adc: hi-843x: Holt HI-8435/8436/8437 descrete ADC

2015-06-24 Thread Vladimir Barinov
On 21.06.2015 17:14, Jonathan Cameron wrote: I'd call this a threshold detector. The device seems to have two comparators for each channel, one for the lower threshold, one for the upper threshold. If the voltage level goes above the upper threshold a FF is set, if it goes below the lower

Re: kexec crash kernel running with watchdog enabled

2015-06-24 Thread Masami Hiramatsu
Hi, On 2015/06/23 23:05, dwal...@fifo99.com wrote: Hi, There was a commit in kernel/panic.c which altered when the kexec crash kernel is executed, commit f06e5153f4ae2e2f3b0300f0e260e40cb7fefd45 Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com Date: Fri Jun 6 14:37:07 2014

[PATCH 1/1] usb: usleep_range is preferred over udelay where wakeup is flexible

2015-06-24 Thread Sunny Kumar
According to Documentation/timers/timers-howto.txt udelay() is only called once from a place where sleeping is allowed. We can replace it with a call to usleep_range() with a reasonable upper limit. Signed-off-by: Sunny Kumar sunny.kumar@gmail.com --- drivers/usb/storage/transport.c | 2 +-

Re: [PATCH] fs: heap/bss calculation ignore special section.

2015-06-24 Thread Noam Camus
Andreas Dilger suggested that my previous email may be discarded due to my Sender Policy Framework (SPF) . So I email this from different location, just in case. Noam From: Noam Camus Sent: Tuesday, June 9, 2015 3:32 PM To: linux-fsde...@vger.kernel.org;

Re: [GIT PULL] EDAC updates for 4.2

2015-06-24 Thread Borislav Petkov
On Tue, Jun 23, 2015 at 03:49:50PM -0700, Linus Torvalds wrote: On Mon, Jun 22, 2015 at 2:11 AM, Borislav Petkov b...@suse.de wrote: Important: Please merge this stuff *after* you have merged the tip pile because it depends on it. What does this mean? It means that it depends on

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Viresh Kumar
On 24-06-15, 16:44, Pi-Cheng Chen wrote: One reason to put those initialization and resource allocation in probe is that it's easier to handle the return value -PROBE_DEFER from clock and regulator framework when trying to get clocks and regulators consumed by cpufreq driver. This is the

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Pi-Cheng Chen
On Wed, Jun 24, 2015 at 4:56 PM, Viresh Kumar viresh.ku...@linaro.org wrote: On 24-06-15, 16:44, Pi-Cheng Chen wrote: One reason to put those initialization and resource allocation in probe is that it's easier to handle the return value -PROBE_DEFER from clock and regulator framework when

Re: [PATCH 3/3] net: dsa: mv88e6352: add support for port_vlan_dump

2015-06-24 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Tue, 23 Jun 2015 17:46:10 -0400 Add support for dumping the VLAN Table Unit entries by pointing to the port_vlan_dump function implemented for mv88e6xxx. Signed-off-by: Vivien Didelot vivien.dide...@savoirfairelinux.com There is

Re: Uses of Linux backports in the industry

2015-06-24 Thread Enrico Weigelt, metux IT consult
Am 29.05.2015 um 17:01 schrieb Richard Weinberger: Hi, On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult weig...@melag.de wrote: Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez: Actually, I really wonder why folks are sticking to ancient kernels on newer hardware.

Re: [RFC][PATCH 00/13] percpu rwsem -v2

2015-06-24 Thread Daniel Wagner
On 06/24/2015 10:46 AM, Ingo Molnar wrote: So I'd suggest to first compare preemption behavior: does the workload context-switch heavily, and is it the exact same context switching rate and are the points of preemption the same as well between the two kernels? If I read this correctly, the

Re: Uses of Linux backports in the industry

2015-06-24 Thread Richard Weinberger
Am 24.06.2015 um 11:09 schrieb Enrico Weigelt, metux IT consult: Am 29.05.2015 um 17:01 schrieb Richard Weinberger: Hi, On Fri, May 29, 2015 at 4:53 PM, Enrico Weigelt, metux IT consult weig...@melag.de wrote: Am 29.05.2015 um 04:54 schrieb Luis R. Rodriguez: Actually, I really wonder

Re: [RFC] virtio_net: Adding tx_timeout function.

2015-06-24 Thread Michael S. Tsirkin
On Tue, Jun 23, 2015 at 10:44:29PM -0300, Julio Faracco wrote: virtio_net paravirtualized driver does not have a tx_timeout() function to guarantee that the driver will recover properly after receiving a timeout during a transmission of a packet. This patch add this feature and throw a timeout

Re: [PATCH] net: dsa: add support for switchdev VLAN objects

2015-06-24 Thread Jiri Pirko
Tue, Jun 23, 2015 at 07:18:49PM CEST, vivien.dide...@savoirfairelinux.com wrote: This patch adds the glue between DSA and switchdev operations to add, delete and dump SWITCHDEV_OBJ_PORT_VLAN objects. This is a first step to link the bridge vlan command with hardware entries for DSA compatible

Re: [PATCH] i2c: designware: use enable on resume instead initialization

2015-06-24 Thread christian . ruppert
Dear Lucas, Lucas De Marchi lucas.de.mar...@gmail.com wrote on 23.06.2015 19:02:03: On Tue, Jun 23, 2015 at 1:45 PM, christian.rupp...@alitech.com wrote: Hello, Christian Ruppert/ALi_GVA/ALi wrote on 10.06.2015 17:05:16: [...] The result is not very encouraging: Out of five (identical)

Re: [PATCH] added device tree support to gpio-generic driver

2015-06-24 Thread Romain Baeriswyl
--- Your patch is missing a detailed commit message. .../devicetree/bindings/gpio/gpio-generic.txt | 19 + drivers/gpio/gpio-generic.c| 81 ++- 2 files changed, 78 insertions(+), 22 deletions(-) create mode 100644

Re: [PATCH 02/10] x86/intel_cqm: Modify hot cpu notification handling

2015-06-24 Thread Thomas Gleixner
On Tue, 23 Jun 2015, Vikas Shivappa wrote: This patch modifies hot cpu notification handling in Intel cache monitoring: - to add a new cpu to the cqm_cpumask(which has one cpu per package) during cpu start, it uses the existing package-core map instead of looping through all cpus in

linux-next: Tree for Jun 24

2015-06-24 Thread Stephen Rothwell
Hi all, Changes since 20150623: The drm tree inherited the build failure from the drm-exynos tree for which I applied a supplied patch. The net-next tree gained a build failure for which I applied a patch. The modules tree gained a build failure so I used the version from next-20150623. The

Re: [Bugfix v2] PCI, ACPI: Fix regressions caused by resource_size_t overflow with 32bit kernel

2015-06-24 Thread Boszormenyi Zoltan
2015-06-24 09:43 keltezéssel, Jiang Liu írta: Since commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation), x86 PCI ACPI host bridge driver validates ACPI resources by first converting an ACPI resource to a 'struct resource' structure and then

Re: [PATCH] net: dsa: add support for switchdev VLAN objects

2015-06-24 Thread David Miller
From: Vivien Didelot vivien.dide...@savoirfairelinux.com Date: Tue, 23 Jun 2015 13:18:49 -0400 This patch adds the glue between DSA and switchdev operations to add, delete and dump SWITCHDEV_OBJ_PORT_VLAN objects. This is a first step to link the bridge vlan command with hardware entries

Re: [PATCH v2] stmmac: troubleshoot unexpected bits in des0 des1

2015-06-24 Thread Alexey Brodkin
Hi David, On Wed, 2015-06-24 at 01:44 -0700, David Miller wrote: From: Alexey Brodkin alexey.brod...@synopsys.com Date: Wed, 24 Jun 2015 11:07:26 +0300 - priv-dma_tx = dma_alloc_coherent(priv-device, txsize * + priv-dma_tx = dma_zalloc_coherent(priv-device,

[PATCH v2 0/2] Implement sample time consideration for Vybrid's ADC

2015-06-24 Thread Sanchayan Maity
Hello, This patchset adds a dt binding for specifying sample time for the vybrid adc driver and takes this into account for sampling frequency calculation and related configuration in the driver. The patchset is based on top of Stefan's patches here

Re: [PATCH 2/2] cpufreq: mediatek: Add MT8173 cpufreq driver

2015-06-24 Thread Pi-Cheng Chen
Hi Viresh, On Wed, Jun 24, 2015 at 8:57 AM, Viresh Kumar viresh.ku...@linaro.org wrote: On 23-06-15, 23:25, Pi-Cheng Chen wrote: On Mon, Jun 22, 2015 at 7:45 PM, Viresh Kumar viresh.ku...@linaro.org wrote: +static struct mtk_cpu_dvfs_info *mtk_cpu_dvfs_info_get(int cpu) A very bad name

Re: [PATCH] random: add random_initialized command line param

2015-06-24 Thread Pavel Machek
On Tue 2015-06-23 23:47:33, Stephan Mueller wrote: Am Dienstag, 23. Juni 2015, 22:44:11 schrieb Pavel Machek: Hi Pavel, On Mon 2015-05-18 18:25:25, Stephan Mueller wrote: Make the threshold at which the output entropy pools are considered to be initialized configurable via a kernel

Re: [PATCH 1/4] blk-mq: fix sysfs registration/unregistration race

2015-06-24 Thread Ming Lei
On Sun, Jun 21, 2015 at 9:52 PM, Akinobu Mita akinobu.m...@gmail.com wrote: There is a race between cpu hotplug handling and adding/deleting gendisk for blk-mq, where both are trying to register and unregister the same sysfs entries. Yes, it is one issue. cpu hotplug handling for blk-mq

[PATCH-v3 0/3] mfd: 88pm800: Add Device tree support

2015-06-24 Thread Vaibhav Hiremath
This patch-series adds support for Device tree to 88PM800 mfd driver. It also enabled configuration of irq clear method through DT. Testing:: - Boot tested on PXA1928 based platform. - probe of mfd, rtc and regulator function passing successfully. - Basic read operations on registers V2 = V3

[PATCH-v3 1/3] mfd: 88pm800: Add device tree support

2015-06-24 Thread Vaibhav Hiremath
Add DT support to the 88pm800 driver, along with compatible field for it's sub-devices (rtc, onkey and regulator) Signed-off-by: Chao Xie chao@marvell.com Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org --- drivers/mfd/88pm800.c | 25 + 1 file changed, 25

Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support

2015-06-24 Thread Srinivas Kandagatla
On 24/06/15 06:19, maitysancha...@gmail.com wrote: I just tested it without the select REGMAP_MMIO and it works just fine. You just got lucky in this case, as REGMAP_MMIO is getting selected somewhere else. Drivers should directly select the dependecies. In this case this driver actually

Re: [PATCH 0/2] FTDI CBUS GPIO support

2015-06-24 Thread Johan Hovold
On Wed, Jun 24, 2015 at 12:08:50AM +0200, Stefan Agner wrote: On 2015-06-23 11:22, Johan Hovold wrote: On Mon, Jun 22, 2015 at 10:11:35PM +0200, Stefan Agner wrote: On 2015-06-22 19:26, Johan Hovold wrote: Instead, hang the gpio chip directly off the usb interface (not the port), add

Re: [PATCH] net: switchdev: ignore unsupported bridge flags

2015-06-24 Thread David Miller
From: Jiri Pirko j...@resnulli.us Date: Tue, 23 Jun 2015 17:09:20 +0200 Tue, Jun 23, 2015 at 04:26:04PM CEST, vivien.dide...@savoirfairelinux.com wrote: switchdev_port_bridge_getlink() queries SWITCHDEV_ATTR_PORT_BRIDGE_FLAGS attributes, but a driver doesn't need to implement this in order to

Re: Write throughput impaired by touching dirty_ratio

2015-06-24 Thread Vlastimil Babka
[add some CC's] On 06/19/2015 05:16 PM, Mark Hills wrote: I noticed that any change to vm.dirty_ratio causes write throuput to plummet -- to around 5Mbyte/sec. system bootup, kernel 4.0.5 # dd if=/dev/zero of=/path/to/file bs=1M # sysctl vm.dirty_ratio vm.dirty_ratio = 20

[PATCH v2 2/2] ARM: dts: vfxxx: Add property for minimum sample time

2015-06-24 Thread Sanchayan Maity
Add a device tree property which allows to specify the minimum sample time which can be used to calculate the actual ADC cycles required depending on the hardware. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- arch/arm/boot/dts/vfxxx.dtsi | 2 ++ 1 file changed, 2 insertions(+)

[PATCH v2 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-24 Thread Sanchayan Maity
The driver currently does not take into account the minimum sample time as per the Figure 6-8 Chapter 9.1.1 12-bit ADC electrical characteristics. We set a static amount of cycles instead of considering the sample time as a given value, which depends on hardware characteristics. Determine

Re: [PATCH v2] leds: fix brightness changing when software blinking is active

2015-06-24 Thread Pavel Machek
On Tue 2015-06-23 19:59:27, Stas Sergeev wrote: 02.05.2015 17:59, Pavel Machek пишет: On Thu 2015-05-14 18:24:02, Stas Sergeev wrote: The following sequence: echo timer /sys/class/leds/name/trigger echo 1 /sys/class/leds/name/brightness should change the ON brightness for blinking.

Re: [RFC PATCH v6 2/2] nvmem: Add Vybrid OCOTP and OCROM support

2015-06-24 Thread Srinivas Kandagatla
On 24/06/15 09:35, Maxime Ripard wrote: Hi, On Tue, Jun 23, 2015 at 07:14:57PM +0530, Sanchayan Maity wrote: +static struct nvmem_config ocotp_config = { + .name = soc_id, +}; + +static struct nvmem_config rom_config = { + .name = rom_rev, +}; Srinivas, shouldn't we use the DT

[PATCH 4/4] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-24 Thread Sascha Hauer
This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi

[PATCH 1/4] soc: mediatek: Add infracfg misc driver support

2015-06-24 Thread Sascha Hauer
This adds support for some miscellaneous bits of the infracfg controller. The mtk_infracfg_set/clear_bus_protection functions are necessary for the scpsys power domain driver to handle the bus protection bits which are contained in the infacfg register space. Signed-off-by: Sascha Hauer

Re: [PATCH v2 7/7]powerpc/powernv: nest pmu cpumask and cpu hotplug support

2015-06-24 Thread Madhavan Srinivasan
On Monday 22 June 2015 02:45 PM, Madhavan Srinivasan wrote: On Tuesday 16 June 2015 11:58 AM, Preeti U Murthy wrote: On 06/11/2015 10:47 AM, Madhavan Srinivasan wrote: Adds cpumask attribute to be used by each nest pmu since nest units are per-chip. Only one cpu (first online cpu) from each

Re: [PATCH][SCSI] hptiop: Support HighPoint RR36xx HBAs and Support SAS tape and SAS media changer

2015-06-24 Thread Hannes Reinecke
On 06/24/2015 05:41 AM, linux wrote: Support HighPoint RR36xx HBAs which are based on Marvell Frey. Support SAS tape and SAS media changer. Signed-off-by: HighPoint Linux Team li...@highpoint-tech.com Reviewed-by: Hannes Reinecke h...@suse.de Cheers, Hannes -- Dr. Hannes Reinecke

Re: [PATCHv2] mmc:Add pointer cast to uintptr_t for slave_id_rx and tx in the function, sh_mmcif_request_dma_one

2015-06-24 Thread Arnd Bergmann
On Tuesday 23 June 2015 17:54:33 Joe Perches wrote: On Tue, 2015-06-23 at 20:44 -0400, nick wrote: On 2015-06-23 08:40 PM, Joe Perches wrote: On Wed, 2015-06-24 at 00:24 +, Kuninori Morimoto wrote: It's far more common (~10:1) in the kernel to cast using (type *)(unsigned

Re: [PATCH 16/36] HMM: add special swap filetype for memory migrated to HMM device memory.

2015-06-24 Thread Haggai Eran
On 21/05/2015 22:31, j.gli...@gmail.com wrote: From: Jerome Glisse jgli...@redhat.com When migrating anonymous memory from system memory to device memory CPU pte are replaced with special HMM swap entry so that page fault, get user page (gup), fork, ... are properly redirected to HMM

Re: kdbus: to merge or not to merge?

2015-06-24 Thread Ingo Molnar
* Linus Torvalds torva...@linux-foundation.org wrote: On Mon, Jun 22, 2015 at 11:06 PM, Andy Lutomirski l...@amacapital.net wrote: Can you opine as to whether you think that kdbus should be merged? I don't mean whether you'd accept a pull request that Greg may or may not send during

Re: [PATCH 09/10] x86/intel_rdt: Hot cpu support for Cache Allocation

2015-06-24 Thread Thomas Gleixner
On Tue, 23 Jun 2015, Vikas Shivappa wrote: +/* + * cbm_update_msrs() - Updates all the existing IA32_L3_MASK_n MSRs + * which are one per CLOSid except IA32_L3_MASK_0 on the current package. + */ +static inline void cbm_update_msrs(void) +{ + int maxid =

Re: [PATCH 2/2] power_supply: Add support for TI BQ25890 charger chip

2015-06-24 Thread Pavel Machek
On Wed 2015-06-24 10:32:54, Laurentiu Palcu wrote: On Sat, May 02, 2015 at 04:59:34PM +0200, Pavel Machek wrote: Should this link More details about the chip can be found here: http://www.ti.com/product/bq25890 @@ -0,0 +1,998 @@ +/* + * TI BQ25890 charger driver +

Re: [PATCH v2] stmmac: troubleshoot unexpected bits in des0 des1

2015-06-24 Thread David Miller
From: Alexey Brodkin alexey.brod...@synopsys.com Date: Wed, 24 Jun 2015 11:07:26 +0300 - priv-dma_tx = dma_alloc_coherent(priv-device, txsize * + priv-dma_tx = dma_zalloc_coherent(priv-device, txsize * sizeof(struct

[PATCH v3] stmmac: troubleshoot unexpected bits in des0 des1

2015-06-24 Thread Alexey Brodkin
Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in des0/des1 fields while it is perfectly possible to get unexpected bits set because of the following factors: [1] On driver probe underlying memory allocated with dma_alloc_coherent()

Re: [GIT PULL] EDAC updates for 4.2

2015-06-24 Thread Borislav Petkov
On Wed, Jun 24, 2015 at 10:50:38AM +0200, Thomas Gleixner wrote: One of the solution I use for cross tree dependencies is: - Apply the commits which create a dependency to a seperate branch - Let the depending tree pull that branch - Merge the branch into the proper tip/

Re: [PATCH v3] stmmac: troubleshoot unexpected bits in des0 des1

2015-06-24 Thread David Miller
From: Alexey Brodkin alexey.brod...@synopsys.com Date: Wed, 24 Jun 2015 11:47:41 +0300 Current implementation of descriptor init procedure only takes care about setting/clearing ownership flag in des0/des1 fields while it is perfectly possible to get unexpected bits set because of the

[PATCH-v3 3/3] mfd: devicetree: bindings: Add new 88pm800 mfd binding

2015-06-24 Thread Vaibhav Hiremath
With addition of DT support to 88pm800 mfd driver, this patch adds new DT binding documentation along with respective properties. Signed-off-by: Vaibhav Hiremath vaibhav.hirem...@linaro.org Acked-by: Rob Herring r...@kernel.org --- Documentation/devicetree/bindings/mfd/88pm800.txt | 60

[PATCH-v3 2/3] mfd: 88pm800: Allow configuration of interrupt clear method

2015-06-24 Thread Vaibhav Hiremath
As per the spec, bit 1 (INT_CLEAR_MODE) of reg addr 0xe (page 0) controls the method of clearing interrupt status of 88pm800 family of devices; 0: clear on read 1: clear on write This patch allows to configure this field, through DT. Also, as suggested by Lee Jones renaming DT property and

[PATCH] cgroup: return -ESRCH if no tasks get migrated

2015-06-24 Thread Sheng Yong
When we migrate a task from one cgroup to another, if the task is exiting or is just forked and not ready, the task will not be migrated. In this case, it would be better for cgroup_migrate() to return -ESRCH rather than 0. This behavour is changed since commit 081aa458c (cgroup: consolidate

Re: [PATCH] virtio-pci: alloc only resources actually used.

2015-06-24 Thread Michael S. Tsirkin
On Wed, Jun 24, 2015 at 07:54:15AM +0200, Gerd Hoffmann wrote: Move resource allocation from common code to legacy and modern code. Only request resources actually used, i.e. bar0 in legacy mode and the bar(s) specified by capabilities in modern mode. Signed-off-by: Gerd Hoffmann

[RFC][PATCH 1/1] staging:vt6655: Remove checks around dev_kfree_skb

2015-06-24 Thread Maninder Singh
dev_kfree_skb checks for NULL pointer itself. Signed-off-by: Maninder Singh maninder...@samsung.com Reviewed-by: Akhilesh Kumar akhiles...@samsung.com --- drivers/staging/vt6655/device_main.c |6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git

Re: [git pull] IOMMU Updates for Linux v4.2

2015-06-24 Thread Joerg Roedel
On Tue, Jun 23, 2015 at 06:47:15PM -0700, Linus Torvalds wrote: Hmm. My resolution doesn't look the same at all, but that could easily be due to trivial differences. I tried to make as much sense of the merge as possible, so I think my merge is fine, but it's also entirely possible I screwed

[PATCH] regulator: s2mps11: Added shutdown function to poweroff Odroid-XU3

2015-06-24 Thread Anand Moon
Added .shutdown function to s2mps11 to help poweroff the board succefully. The device drivers set the register to turn off the PMIC. Signed-off-by: Anand Moon linux.am...@gmail.com --- Changes fixes the poweroff root@odroidxu3:~# poweroff Broadcast message from root@odroidxu3

Re: [PATCH RESEND] nohz: Affining unpinned timers

2015-06-24 Thread Preeti U Murthy
On 06/23/2015 02:01 PM, Vatika Harlalka wrote: The problem addressed in this patch is about affining unpinned timers. Adaptive or Full Dynticks CPUs should not be disturbed by unnecessary jitter due to firing of such timers on them. This patch will affine timers to online CPUs which are not

Re: [PATCH 2/2] power_supply: Add support for TI BQ25890 charger chip

2015-06-24 Thread Laurentiu Palcu
On Sat, May 02, 2015 at 04:59:34PM +0200, Pavel Machek wrote: Should this link More details about the chip can be found here: http://www.ti.com/product/bq25890 @@ -0,0 +1,998 @@ +/* + * TI BQ25890 charger driver + * + * Copyright (C) 2015 Intel Corporation + * + * This

Re: [PATCH 7/8] cpufreq: st: Provide runtime initialised driver for ST's platforms

2015-06-24 Thread Lee Jones
On Tue, 23 Jun 2015, Paul Bolle wrote: On Tue, 2015-06-23 at 09:28 +0100, Lee Jones wrote: BTW, do you have a script that does this now, or are you still hand-rolling these? There was a script detecting Kconfig problems that is basically retired. (The messages I sent were always manually

[Bugfix v2] PCI, ACPI: Fix regressions caused by resource_size_t overflow with 32bit kernel

2015-06-24 Thread Jiang Liu
Since commit 593669c2ac0f (x86/PCI/ACPI: Use common ACPI resource interfaces to simplify implementation), x86 PCI ACPI host bridge driver validates ACPI resources by first converting an ACPI resource to a 'struct resource' structure and then applying checks against the converted resource

Re: [PATCH] regulator: s2mps11: Added shutdown function to poweroff Odroid-XU3

2015-06-24 Thread Krzysztof Kozlowski
2015-06-24 16:16 GMT+09:00 Anand Moon linux.am...@gmail.com: Added .shutdown function to s2mps11 to help poweroff the board succefully. s/succefully/successfully/ The device drivers set the register to turn off the PMIC. Driver or drivers? Signed-off-by: Anand Moon linux.am...@gmail.com

Re: [GIT PULL] EDAC updates for 4.2

2015-06-24 Thread Ingo Molnar
* Borislav Petkov b...@suse.de wrote: If it doesn't work or compile without the tip pile, then I'm not pulling it at all, since that means that any problems are not bisectable. Ok, how would you prefer this solved - should I merge the relevant tip branches into it? So the broken

Re: [RESEND PATCH V2 1/3] Add mmap flag to request pages are locked after page fault

2015-06-24 Thread Michal Hocko
On Mon 22-06-15 10:18:06, Eric B Munson wrote: On Mon, 22 Jun 2015, Michal Hocko wrote: On Fri 19-06-15 12:43:33, Eric B Munson wrote: [...] Are you objecting to the addition of the VMA flag VM_LOCKONFAULT, or the new MAP_LOCKONFAULT flag (or both)? I thought the MAP_FAULTPOPULATE

[char-misc-next 7/9] mei: support polling for event notification

2015-06-24 Thread Tomas Winkler
Polling on priority events is translated on waiting for event notification. One need to enable notification prior for calling select or poll system call otherwise process will not wait. Signed-off-by: Tomas Winkler tomas.wink...@intel.com Signed-off-by: Alexander Usyskin

[char-misc-next 9/9] mei: bus: add and call callback on notify event

2015-06-24 Thread Tomas Winkler
From: Alexander Usyskin alexander.usys...@intel.com Enable drivers on mei client bus to subscribe to asynchronous event notifications. Introduce events_mask to the existing callback infrastructure so it is possible to handle both RX and event notification. Signed-off-by: Alexander Usyskin

[char-misc-next 8/9] mei: implement fasync for event notification

2015-06-24 Thread Tomas Winkler
A process can be informed about client notification also via SIGIO with POLL_PRI event. Signed-off-by: Tomas Winkler tomas.wink...@intel.com --- drivers/misc/mei/client.c | 28 drivers/misc/mei/client.h | 1 + drivers/misc/mei/hbm.c | 7 ++-

[char-misc-next 6/9] mei: add async event notification ioctls

2015-06-24 Thread Tomas Winkler
Add ioctl IOCTL_MEI_NOTIFY_SET for enabling and disabling async event notification. Add ioctl IOCTL_MEI_NOTIFY_GET for receiving and acking an event notification. Signed-off-by: Tomas Winkler tomas.wink...@intel.com Signed-off-by: Alexander Usyskin alexander.usys...@intel.com ---

[char-misc-next 3/9] mei: enable async event notifications only from hbm version 2.0

2015-06-24 Thread Tomas Winkler
Only FW version 2.0 and newer support the async event notification. For backward compatibility block the feature if the FW version is older then 2.0 Signed-off-by: Tomas Winkler tomas.wink...@intel.com Signed-off-by: Alexander Usyskin alexander.usys...@intel.com --- drivers/misc/mei/debugfs.c |

[char-misc-next 2/9] mei: implement async notification hbm messages

2015-06-24 Thread Tomas Winkler
Implement sending and reception handlers for the async event notification hbm commands. Add client notification book keeping data required for the messages notify_en to indicate whether notification is enabled notify_ev to indicate whether an event is pending Signed-off-by: Tomas Winkler

[char-misc-next 5/9] mei: add a handler that waits for notification on event

2015-06-24 Thread Tomas Winkler
mei_cl_notify_get is to be called by a host client to wait, receive, and ack the event notification. Signed-off-by: Tomas Winkler tomas.wink...@intel.com Signed-off-by: Alexander Usyskin alexander.usys...@intel.com --- drivers/misc/mei/client.c | 51

[char-misc-next 4/9] mei: add mei_cl_notify_request command

2015-06-24 Thread Tomas Winkler
Add per client notification request infrastructure that allows client to enable or disable async event notification. Signed-off-by: Tomas Winkler tomas.wink...@intel.com Signed-off-by: Alexander Usyskin alexander.usys...@intel.com --- drivers/misc/mei/client.c| 143

Re: [PATCH] crypto-jitterentropy: Delete unnecessary checks before the function call kzfree

2015-06-24 Thread Dan Carpenter
Ah. I should have read the whole thread. I sort of assumed we were just adding abstractions for the fun of it (because I have worked in staging for too long). regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to

[GIT PULL] UDF fixes and cleanups for 4.2-rc1

2015-06-24 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus The pull contains some small fixes and improvements in error handling for UDF. Bundled is also one ext3 coding style fix and a fix in quota documentation. Top of the tree is

Re: [PATCH] regulator: s2mps11: Fix GPIO suspend enable shift wrapping bug

2015-06-24 Thread Mark Brown
On Wed, Jun 24, 2015 at 01:02:28PM +0900, Krzysztof Kozlowski wrote: 2015-05-28 23:44 GMT+09:00 Mark Brown broo...@kernel.org: On Wed, May 27, 2015 at 12:22:08PM +0900, Krzysztof Kozlowski wrote: Status of enabling suspend mode for regulator was stored in bitmap-like long integer.

Re: [RFC][PATCH 12/13] stop_machine: Remove lglock

2015-06-24 Thread Peter Zijlstra
On Tue, Jun 23, 2015 at 07:23:44PM -0700, Paul E. McKenney wrote: And here is an untested patch that applies the gist of your approach, the series of stop_one_cpu() calls, but without undoing the rest. I forged your Signed-off-by, please let me know if that doesn't work for you. There are a

Re: [PATCH 2/2] PM / Domains: Avoid infinite loops in attach/detach code

2015-06-24 Thread Ulf Hansson
[...] @@ -2183,6 +2191,7 @@ int genpd_dev_pm_attach(struct device *dev) { struct of_phandle_args pd_args; struct generic_pm_domain *pd; + unsigned int i; int ret; if (!dev-of_node) @@ -2218,10 +2227,13 @@ int genpd_dev_pm_attach(struct device *dev)

  1   2   3   4   5   6   7   8   9   10   >