Re: [PATCH v3] Input: tsc2005 - Add support for tsc2004

2015-10-30 Thread Arnd Bergmann
On Thursday 29 October 2015 20:01:51 Michael Welling wrote: > On Fri, Oct 30, 2015 at 09:39:05AM +0900, Mark Brown wrote: > > On Thu, Oct 29, 2015 at 03:23:31PM -0700, Dmitry Torokhov wrote: > > > > > However, you have regmap in the driver core already. Mark, is it > > > possible to have regmap

Re: [lkp] [mm, page_alloc] 43993977ba: +88% OOM possibility

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 16:21:40, Huang, Ying wrote: > Michal Hocko writes: > > > On Wed 28-10-15 13:36:02, kernel test robot wrote: > >> FYI, we noticed the below changes on > >> > >> https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > >> commit

[PATCH 1/3] MAINTAINERS: Add an entry for the ATH79 GPIO driver

2015-10-30 Thread Alban Bedel
Add an entry for the ATH79 GPIO driver with myself as maintainer. Signed-off-by: Alban Bedel --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 9de185d..957b148 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1780,6 +1780,14 @@ S:

[PATCH 3/3] gpio: ath79: Make the driver removable

2015-10-30 Thread Alban Bedel
As we now allow the driver to be built as a module it should be removable. Signed-off-by: Alban Bedel --- drivers/gpio/gpio-ath79.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/gpio/gpio-ath79.c b/drivers/gpio/gpio-ath79.c index 3e71ced..6108dff 100644 ---

[PATCH 2/3] gpio: ath79: Move to the generic GPIO driver

2015-10-30 Thread Alban Bedel
Turn the ath79 driver into a true driver supporting multiple instances while dropping most of the code in favor of the generic MMIO GPIO driver. As the driver now depend on CONFIG_GPIO_GENERIC also add a Kconfig entry to make the driver optional. Signed-off-by: Alban Bedel ---

Re: [PATCH v4 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-10-30 Thread Jean-Francois Moine
On Tue, 27 Oct 2015 17:50:25 +0100 Jens Kuske wrote: > The Allwinner H3 is a home entertainment system oriented SoC with > four Cortex-A7 cores and a Mali-400MP2 GPU. > > Signed-off-by: Jens Kuske > --- > arch/arm/boot/dts/sun8i-h3.dtsi | 482 > > 1

Re: [PATCH v3 06/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-30 Thread kbuild test robot
Hi Huang, [auto build test WARNING on hwmon/hwmon-next -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Huang-Rui/hwmon-fam15h_power-Introduce-an-accumulated-power-reporting-algorithm/20151030-181426

Re: [PATCH v2] pwm-backlight: fix the panel power sequence

2015-10-30 Thread Philipp Zabel
Am Freitag, den 30.10.2015, 15:41 +0800 schrieb YH Huang: > > That won't work if the gpio is still configured as input. How about I > > add the GPIOD_ASIS change to my patch you remove that and the above from > > yours? > > I revise these two lines > if (pb->enable_gpio) >

[PATCH] Revert "h8300: clocksource"

2015-10-30 Thread Daniel Lezcano
This reverts commit 618b902d8c098f2fff188119da7b3184c4bc5483. The renesas architecture have been dropped and re-introduced two years after with a supposed improvement of the code. While looking at the timer drivers, I see it did not passed a correct code review process. No maintainters were in

Re: [PATCH 2/2] pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

2015-10-30 Thread Masahiro Yamada
Hi Linus. 2015-10-29 22:34 GMT+09:00 Linus Walleij : > On Tue, Oct 27, 2015 at 3:28 AM, Masahiro Yamada > wrote: > >> CONFIG_PINCTRL_UNIPHIER is more suitable than CONFIG_ARCH_UNIPHIER >> to guard the drivers/pinctrl/uniphier directory. >> >> The current CONFIG_PINCTRL_UNIPHIER_CORE is a bit

[PATCH v2] pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

2015-10-30 Thread Masahiro Yamada
CONFIG_PINCTRL_UNIPHIER is more suitable than CONFIG_ARCH_UNIPHIER to guard the drivers/pinctrl/uniphier directory. The current CONFIG_PINCTRL_UNIPHIER_CORE is a bit long (it would break the indentation in drivers/pinctrl/Makefile), so rename it into CONFIG_PINCTRL_UNIPHIER. Signed-off-by:

Re: [PATCH V2 1/2] x86/mcheck: Add Scalable MCA cpuid bit

2015-10-30 Thread Borislav Petkov
On Wed, Oct 28, 2015 at 02:03:29PM -0500, Aravind Gopalakrishnan wrote: > Scalable MCA (SMCA) is a new feature in AMD Fam17h > processors which indicates presence of MCA extensions. > > MCA extensions expands existing register space for the > MCE banks and also introduces a new MSR range to >

Re: [PATCH 2/2] dma: add Qualcomm Technologies HIDMA channel driver

2015-10-30 Thread Arnd Bergmann
On Thursday 29 October 2015 23:08:13 Sinan Kaya wrote: > This patch adds support for hidma engine. The driver > consists of two logical blocks. The DMA engine interface > and the low-level interface. This version of the driver > does not support virtualization on this release and only > memcpy

RE: [PATCH 12/31] perf probe: Reset args and nargs for probe_trace_event when failure

2015-10-30 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Wang Nan [mailto:wangn...@huawei.com] > >When failure occures in add_probe_trace_event(), args in >probe_trace_event is incomplete. Since information in it may be used >in futher, this patch frees the allocated memory and set it to NULL >to avoid dangling pointer. Sorry for replying late.

Re: [PATCH] clocksource: dw_apb_timer_of: support timer-based delay

2015-10-30 Thread Jisheng Zhang
Dear Daniel, On Fri, 30 Oct 2015 16:27:39 +0800 Jisheng Zhang wrote: > Implement an ARM delay timer to be used for udelay(). This allows us to > skip the delay loop calibration at boot on Marvell BG2, BG2Q, BG2CD > platforms. And after this patch, udelay() will be unaffected by CPU > frequency

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 18:41:30, KAMEZAWA Hiroyuki wrote: [...] > >>So, now, 0-order page allocation may fail in a OOM situation ? > > > >No they don't normally and this patch doesn't change the logic here. > > > > I understand your patch doesn't change the behavior. > Looking into

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 09:36:26, Michal Hocko wrote: > On Fri 30-10-15 12:10:15, Hillf Danton wrote: > [...] > > > + for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, > > > ac->high_zoneidx, ac->nodemask) { > > > + unsigned long free = zone_page_state(zone, NR_FREE_PAGES); > > > +

[PATCH v3 10/10] MAINTAINERS: change the maintainer of fam15h_power driver

2015-10-30 Thread Huang Rui
Andreas Herrmann won't take the maintainer of fam15h_power driver. I will take it and appreciate him for the great contributions on this driver. Signed-off-by: Huang Rui Acked-by: Andreas Herrmann Cc: Borislav Petkov Cc: Aravind Gopalakrishnan --- CREDITS | 8 MAINTAINERS | 4

[PATCH v3 09/10] hwmon: (fam15h_power) Add documentation for TDP and accumulated power algorithm

2015-10-30 Thread Huang Rui
This patch adds the description to explain the TDP reporting mechanism and accumulated power algorithm. Signed-off-by: Huang Rui Cc: Borislav Petkov Cc: Guenter Roeck Cc: Peter Zijlstra Cc: Ingo Molnar --- Documentation/hwmon/fam15h_power | 57 +++- 1

Re: [PATCH] gpio: zynq: Implement irq_(request|release)_resources

2015-10-30 Thread Thomas Gleixner
On Tue, 27 Oct 2015, Lars-Peter Clausen wrote: > On 10/27/2015 04:53 PM, Linus Walleij wrote: > > On Fri, Oct 23, 2015 at 3:36 PM, Soren Brinkmann > > wrote: > > > >> The driver uses runtime PM to leverage low power techniques. For > >> use-cases using GPIO as interrupt the device needs to be in

[PATCH v3 08/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-30 Thread Huang Rui
This patch introduces an algorithm that computes the average power by reading a delta value of “core power accumulator” register during measurement interval, and then dividing delta value by the length of the time interval. User is able to use power1_average entry to measure the processor power

[PATCH v3 07/10] hwmon: (fam15h_power) Add ptsc counter value for accumulated power

2015-10-30 Thread Huang Rui
PTSC is the performance timestamp counter value in a cpu core and the cores in one compute unit have the fixed frequency. So it picks up the performance timestamp counter value of the first core per compute unit to measure the interval for average power per compute unit. Signed-off-by: Huang Rui

[PATCH v3 06/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-30 Thread Huang Rui
This patch adds a member in fam15h_power_data which specifies the compute unit accumulated power. It adds do_read_registers_on_cu to do all the read to all MSRs and run it on one of the online cores on each compute unit with smp_call_function_many(). This behavior can decrease IPI numbers.

[PATCH v3 05/10] hwmon: (fam15h_power) Add CPU_SUP_AMD as the dependence

2015-10-30 Thread Huang Rui
This patch adds CONFIG_CPU_SUP_AMD as the dependence of fam15h_power driver. Because the following patch will use the interface from x86/kernel/cpu/amd.c. Otherwise, the below error might be encountered: All errors (new ones prefixed by >>): drivers/built-in.o: In function

[PATCH v3 04/10] x86, amd: add accessor for number of cores per compute unit

2015-10-30 Thread Huang Rui
Add an accessor function amd_get_cores_per_cu() which returns the number of cores per compute unit. In multiple CPUs, they always have the same number of cores per compute unit. In a subsequent patch, we will use this function in fam15h_power driver. Signed-off-by: Huang Rui Cc: Borislav Petkov

[PATCH v3 03/10] hwmon: (fam15h_power) Add max compute unit accumulated power

2015-10-30 Thread Huang Rui
This patch adds a member in fam15h_power_data which specifies the maximum accumulated power in a compute unit. Signed-off-by: Huang Rui Cc: Borislav Petkov Cc: Guenter Roeck Cc: Peter Zijlstra Cc: Ingo Molnar --- drivers/hwmon/fam15h_power.c | 12 1 file changed, 12

[PATCH v3 02/10] hwmon: (fam15h_power) Enable power1_input on AMD Carrizo

2015-10-30 Thread Huang Rui
This patch enables power1_input attribute for Carrizo platform. Signed-off-by: Huang Rui Cc: Borislav Petkov Cc: Guenter Roeck Cc: Peter Zijlstra Cc: Ingo Molnar --- drivers/hwmon/fam15h_power.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git

[PATCH v3 01/10] hwmon: (fam15h_power) Refactor attributes for dynamically added

2015-10-30 Thread Huang Rui
Attributes depend on the CPU model the driver gets loaded on. Therefore, add those attributes dynamically at init time. This is more flexible to control the different attributes on different platforms. Suggested-by: Borislav Petkov Signed-off-by: Huang Rui Cc: Guenter Roeck Cc: Peter Zijlstra

[PATCH v3 00/10] hwmon: (fam15h_power) Introduce an accumulated power reporting algorithm

2015-10-30 Thread Huang Rui
Hi all, This serial of patches introduces an accumulated power reporting algorithm. It will calculate the average power consumption for the processor. The cpu feature flag is CPUID.8000_0007H:EDX[12]. This algorithm is used to test the comparison of processor power consumption with between

Re: [PATCH v4 0/6] virtio core DMA API conversion

2015-10-30 Thread Christian Borntraeger
Am 30.10.2015 um 02:09 schrieb Andy Lutomirski: > This switches virtio to use the DMA API unconditionally. I'm sure > it breaks things, but it seems to work on x86 using virtio-pci, with > and without Xen, and using both the modern 1.0 variant and the > legacy variant. > > This appears to work

Re: [PULL] clockevents: fixes for 4.3-rc7

2015-10-30 Thread Daniel Lezcano
On 10/30/2015 10:43 AM, Thomas Gleixner wrote: On Wed, 28 Oct 2015, Daniel Lezcano wrote: this pull request contains a set of fixes for tip/timers/urgent: - Prevent ftrace recursion by adding the 'notrace' attribute to the sched_clock read callback (Jisheng Zhang). - Fix multiple shutdown

RE: [PATCH] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-10-30 Thread Yao Yuan
Hi Fabio Estevam, Thanks for your suggestion. We have an internal discussions for that. We think that: According to the initial commit message of regmap, it is targeting non-memory mapped buses. (regmap: Add generic non-memory mapped register access API) But in the imx2_wdt driver, it is used

Re: [RFD] Functional dependencies between devices

2015-10-30 Thread Linus Walleij
On Tue, Oct 27, 2015 at 4:24 PM, Rafael J. Wysocki wrote: > My idea is to represent a supplier-consumer dependency between devices (or > more precisely between device+driver combos) as a "link" object containing > pointers to the devices in question, a list node for each of them and some >

Re: [PULL] clockevents: fixes for 4.3-rc7

2015-10-30 Thread Thomas Gleixner
On Wed, 28 Oct 2015, Daniel Lezcano wrote: > this pull request contains a set of fixes for tip/timers/urgent: > > - Prevent ftrace recursion by adding the 'notrace' attribute to the > sched_clock read callback (Jisheng Zhang). > > - Fix multiple shutdown call issue (Magnus Damm). > > Beside

hitel

2015-10-30 Thread LADDER LOANS
-- Üdvözlet mindenkinek odakint, Ez Molly Logan -tól LADDER LOANS Cég székhelye UK. Bármit is van a cél, LADDER LOANS segíthet megvalósítani ezt a célt. Lehet, hogy a felújításokat, az autó meg kell, oly módon, hogy megszilárdítsa az adósságait, az ünnep már dolgozott olyan keményen,

Re: [PATCH] pinctrl-zynq: Initialize early

2015-10-30 Thread Linus Walleij
On Thu, Oct 22, 2015 at 1:30 PM, Mike Looijmans wrote: > Supplying pinmux configuration for e.g. gpio pins leads to deferred > probes because the pinctrl device is probed much later than gpio. > Move the init call to a much earlier stage so it probes before the > devices that may need it. > >

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Kamezawa Hiroyuki
On 2015/10/30 17:23, Michal Hocko wrote: On Fri 30-10-15 14:23:59, KAMEZAWA Hiroyuki wrote: On 2015/10/30 0:17, mho...@kernel.org wrote: [...] @@ -3135,13 +3145,56 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int order, if (gfp_mask & __GFP_NORETRY) goto

Re: [PATCH v2 UPDATE-2 3/3] ACPI/APEI/EINJ: Allow memory error injection to NVDIMM

2015-10-30 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 03:22:24PM -0600, Toshi Kani wrote: > @@ -545,10 +545,15 @@ static int einj_error_inject(u32 type, u32 flags, u64 > param1, u64 param2, > /* >* Disallow crazy address masks that give BIOS leeway to pick >* injection address almost anywhere. Insist on

Re: 4.0.8->4.1.3 : after resume from s2ram both internal and external display of a docked ThinkPad ate black

2015-10-30 Thread Toralf Förster
On 10/29/2015 10:49 PM, Pavel Machek wrote: > On Sun 2015-10-04 18:30:14, Toralf Förster wrote: >> On 08/04/2015 02:29 PM, Toralf Förster wrote: >>> On 08/02/2015 09:43 AM, Pavel Machek wrote: Any chance to bisect it? >>> Did it. >>> >>> FWIW: the mentioned commit was introduced between 3.18

Re: [PATCH 2/2] drivers:staging:gdm724x Fill all alignment should match open parentheses

2015-10-30 Thread Sudip Mukherjee
On Fri, Oct 30, 2015 at 09:59:19AM +0100, Bogicevic Sasa wrote: > On 10/30/2015, Sudip Mukherjee wrote: > >On Thu, Oct 29, 2015 at 09:15:01PM +0100, Bogicevic Sasa wrote: > >>This fixes all errors about alignment with open parentheses as well as > >>one spacing needed around "-" sign since the

Re: [PATCH 1/2] dma: add Qualcomm Technologies HIDMA management driver

2015-10-30 Thread Arnd Bergmann
On Thursday 29 October 2015 23:08:12 Sinan Kaya wrote: > diff --git a/Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt > b/Documentation/devicetree/bindings/dma/qcom_hidma_mgmt.txt > new file mode 100644 > index 000..81674ab > --- /dev/null > +++

Re: [PATCH] mfd: sec-core: Remove unused s2mpu02-rtc and s2mpu02-clk children

2015-10-30 Thread Lee Jones
On Fri, 30 Oct 2015, Krzysztof Kozlowski wrote: > The commit 54e8827d5f0e ("mfd: sec-core: Add support for S2MPU02 > device") added new MFD child devices for S2MPU02: RTC and clock > provider (the clock provider with new compatible). However support for > these devices was not added to existing

Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-30 Thread Alim Akhtar
Hi Krzysztof, On 10/30/2015 02:08 PM, Krzysztof Kozlowski wrote: On 30.10.2015 15:25, Alim Akhtar wrote: RTC found in s2mps15 is almost same as one found on s2mps13 with few differences in RTC_UPDATE register fields, like: 1> Bit[4] and Bit[1] are reversed - On s2mps13 WUDR ->

Re: [PATCH v5 1/4] dt-bindings: mfd: s2mps11: add documentation for s2mps15 PMIC

2015-10-30 Thread Alim Akhtar
On 10/30/2015 01:12 PM, Krzysztof Kozlowski wrote: On 30.10.2015 15:25, Alim Akhtar wrote: From: Thomas Abraham Add dt-binding documentation for s2mps15 PMIC device. The s2mps15 device is similar to s2mps11/14 PMIC device and has 27 LDO and 10 buck regulators. This also supports RTC and

Re: [PATCH v4 2/4] ARM: dts: Add SROMc to Exynos 5410

2015-10-30 Thread Pankaj Dubey
Hi Pavel, On Friday 30 October 2015 12:11 PM, Pavel Fedin wrote: Hello! -Original Message- From: linux-samsung-soc-ow...@vger.kernel.org [mailto:linux-samsung-soc-ow...@vger.kernel.org] On Behalf Of Pankaj Dubey Sent: Thursday, October 29, 2015 8:28 PM To: Pavel Fedin Cc:

Re: [PATCH 2/2] mm: kasan: unified support for SLUB and SLAB allocators

2015-10-30 Thread Andrey Ryabinin
On 10/28/2015 07:41 PM, Alexander Potapenko wrote: > With this patch kasan can be compiled with both SLAB and SLUB allocators, > using minimal dependencies on allocator internal structures and minimum > allocator-dependent code. > > Dependency from SLUB_DEBUG is also removed. The metadata storage

Re: [PATCH v10] gpio: Add GPIO support for the ACCES 104-IDIO-16

2015-10-30 Thread Linus Walleij
On Thu, Oct 29, 2015 at 9:22 AM, Mika Westerberg wrote: > x86 has I/O space regardless of ISA or PCI (even though most probably it > also has ISA and PCI). Looking at the drivers in question they seem to > be x86 drivers so maybe "depends on X86"? Yeah I see it now... x86 had these instructions

[tip:irq/core] Document that IRQ_NONE should be returned when IRQ not actually handled

2015-10-30 Thread tip-bot for David Woodhouse
Commit-ID: d9e4ad5badf4ccbfddee208c898fb8fd0c8836b1 Gitweb: http://git.kernel.org/tip/d9e4ad5badf4ccbfddee208c898fb8fd0c8836b1 Author: David Woodhouse AuthorDate: Wed, 28 Oct 2015 16:14:31 +0900 Committer: Thomas Gleixner CommitDate: Fri, 30 Oct 2015 10:13:26 +0100 Document that

Re: [PATCH 2/2] power: Add support for TI BQ24261 charger

2015-10-30 Thread Andy Shevchenko
On Thu, Oct 29, 2015 at 6:34 PM, Ramakrishna Pallala wrote: > Add new charger driver support for TI BQ24261 charger IC. > > TI BQ24261 charger driver relies on extcon notifications to get the > charger cable type and based on that it will set the charging parameters. > +/* > + *

[tip:perf/core] tools build: Fix libiberty feature detection

2015-10-30 Thread tip-bot for Rabin Vincent
Commit-ID: 3af6ed84eb43c587beb5f325e39e65d08c61 Gitweb: http://git.kernel.org/tip/3af6ed84eb43c587beb5f325e39e65d08c61 Author: Rabin Vincent AuthorDate: Thu, 29 Oct 2015 08:49:37 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:46:35 -0300 tools build:

[tip:perf/core] perf bpf: Attach eBPF filter to perf event

2015-10-30 Thread tip-bot for Wang Nan
Commit-ID: 1f45b1d49073541947193bd7dac9e904142576aa Gitweb: http://git.kernel.org/tip/1f45b1d49073541947193bd7dac9e904142576aa Author: Wang Nan AuthorDate: Wed, 14 Oct 2015 12:41:18 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:22 -0300 perf bpf: Attach

Re: [PATCH -rt] Revert "net: use synchronize_rcu_expedited()"

2015-10-30 Thread David Miller
From: Eric Dumazet Date: Tue, 27 Oct 2015 07:18:01 -0700 > On Tue, 2015-10-27 at 07:31 -0500, Josh Cartwright wrote: > >> Okay, yes, I like the first suggestion better as well, I've included a >> patch below that does just that. I hope you don't mind me turning it >> into a Suggested-by :). >>

[tip:perf/core] perf tools: Compile scriptlets to BPF objects when passing '.c' to --event

2015-10-30 Thread tip-bot for Wang Nan
Commit-ID: d509db0473e40134286271b1d1adadccf42ac467 Gitweb: http://git.kernel.org/tip/d509db0473e40134286271b1d1adadccf42ac467 Author: Wang Nan AuthorDate: Wed, 14 Oct 2015 12:41:20 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:23 -0300 perf tools:

[tip:perf/core] perf record: Add clang options for compiling BPF scripts

2015-10-30 Thread tip-bot for Wang Nan
Commit-ID: 71dc2326252ff1bcdddc05db03c0f831d16c9447 Gitweb: http://git.kernel.org/tip/71dc2326252ff1bcdddc05db03c0f831d16c9447 Author: Wang Nan AuthorDate: Wed, 14 Oct 2015 12:41:19 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:22 -0300 perf record: Add

[tip:perf/core] perf unwind: Pass symbol source to libunwind

2015-10-30 Thread tip-bot for Rabin Vincent
Commit-ID: 7ed4915ad60788d6b846e2cd034f49ee15698143 Gitweb: http://git.kernel.org/tip/7ed4915ad60788d6b846e2cd034f49ee15698143 Author: Rabin Vincent AuthorDate: Thu, 29 Oct 2015 08:49:36 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:48:38 -0300 perf unwind:

[tip:perf/core] perf script: Enable printing of branch stack

2015-10-30 Thread tip-bot for Stephane Eranian
Commit-ID: dc323ce8e72d6d1beb9af9bbd29c4d55ce3d7fb0 Gitweb: http://git.kernel.org/tip/dc323ce8e72d6d1beb9af9bbd29c4d55ce3d7fb0 Author: Stephane Eranian AuthorDate: Mon, 31 Aug 2015 18:41:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:20 -0300 perf

[tip:perf/core] perf trace: Add cmd string table to decode sys_bpf first arg

2015-10-30 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 729a78417a7b5c1f59e15d21a1900758375c4647 Gitweb: http://git.kernel.org/tip/729a78417a7b5c1f59e15d21a1900758375c4647 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 29 Oct 2015 11:48:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 11:48:18 -0300

[tip:perf/core] perf tools: Make sure fixdep is built before libbpf

2015-10-30 Thread tip-bot for Jiri Olsa
Commit-ID: 50f1e6d0431d3343cb506037c43ce623bd15581f Gitweb: http://git.kernel.org/tip/50f1e6d0431d3343cb506037c43ce623bd15581f Author: Jiri Olsa AuthorDate: Wed, 28 Oct 2015 21:44:50 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 29 Oct 2015 17:16:21 -0300 perf tools: Make

Re: [PATCH] mfd: sec-core: Remove unused s2mpu02-rtc and s2mpu02-clk children

2015-10-30 Thread Chanwoo Choi
Hi, On 2015년 10월 30일 16:51, Krzysztof Kozlowski wrote: > The commit 54e8827d5f0e ("mfd: sec-core: Add support for S2MPU02 > device") added new MFD child devices for S2MPU02: RTC and clock > provider (the clock provider with new compatible). However support for > these devices was not added to

Re: [PATCH -next] sparc: Populate 'device' for platform device devicetree nodes

2015-10-30 Thread David Miller
From: Guenter Roeck Date: Sun, 25 Oct 2015 17:26:38 -0700 > Since commit 61e82530d80f ("of/platform: Point to struct device from device > node"), the 'device' pointer in devicetree nodes for platform devices must > be set for of_find_device_by_node to succeed. This is not the case unless > the

Re: [GIT PULL 0/8] perf/core improvements and fixes

2015-10-30 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > This one gets us to pass .c files that gets built and > loaded, next step will be to be able to access function arguments, > for which there are patches available, but I'm still reviewing them. > > Please consider pulling, > > -

RE: [PATCH 0/4] PCI: rcar: Add support for ARM64 and multiple instances

2015-10-30 Thread Phil Edworthy
Hi Bjorn, On 30 October 2015 07:24, Phil wrote: > On 30 October 2015 07:19, Phil wrote > > On 29 October 2015 23:03, Bjorn wrote: > > > On Thu, Oct 29, 2015 at 07:48:00PM +0100, Wolfram Sang wrote: > > > > On Thu, Oct 29, 2015 at 04:44:06PM +, Phil Edworthy wrote: > > > > > Hi Wolfram, > > >

Re: [PATCH 2/2] drivers:staging:gdm724x Fill all alignment should match open parentheses

2015-10-30 Thread Bogicevic Sasa
On 10/30/2015, Sudip Mukherjee wrote: On Thu, Oct 29, 2015 at 09:15:01PM +0100, Bogicevic Sasa wrote: This fixes all errors about alignment with open parentheses as well as one spacing needed around "-" sign since the patch would not be valid if I left it there 1) That becomes two different

Re: [RESEND PATCH 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-10-30 Thread Stephan Mueller
Am Freitag, 30. Oktober 2015, 16:22:46 schrieb Zain Wang: Hi Zain, >Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher >mode. The names registered are: >ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) >You can alloc tags above in your case. > >And

Re: [RESEND PATCH 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-10-30 Thread LABBE Corentin
On Fri, Oct 30, 2015 at 04:22:46PM +0800, Zain Wang wrote: > Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher > mode. > The names registered are: > ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) > You can alloc tags above in your case. > > And other

Re: [RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Tina Ruchandani
> > Thanks for the conversion. Can you please check if other (scsi) drivers > have the same y2038 issues? A quick "git grep do_gettimeofday > drivers/scsi/ | wc -l" reveals 30 occurrences (of cause not all are > problematic). > Hi Johannes, Yes, there are quite a few occurrences of timeval

Re: [RESEND PATCH 2/4] clk: rockchip: set an id for crypto clk

2015-10-30 Thread Heiko Stuebner
Hi Zain, Am Freitag, 30. Oktober 2015, 16:22:47 schrieb Zain Wang: > set an id for crypto clk, so that it can be called in other part. > > Signed-off-by: Zain Wang > --- > drivers/clk/rockchip/clk-rk3288.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH 3/7] clocksource/drivers/st_lpc: Fix Kconfig dependency

2015-10-30 Thread Maxime Coquelin
Hi Daniel, On 10/29/2015 11:52 PM, Daniel Lezcano wrote: Change the Kconfig selection rule by letting the STI arch to select the timer. Signed-off-by: Daniel Lezcano --- arch/arm/mach-sti/Kconfig | 1 + drivers/clocksource/Kconfig | 1 - 2 files changed, 1 insertion(+), 1 deletion(-)

[PATCH] AFS: Correctly use 64-bit time for UUID

2015-10-30 Thread Tina Ruchandani
UUID calculation uses 'struct timespec' whose seconds will overflow in year 2038 and beyond for 32-bit systems. This patch removes the dependency on 'struct timespec' by using ktime_get_real(). While the patch does not fix a 'bug' as such, it is part of a larger effort to remove instances of

Re: [RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Johannes Thumshirn
Hi, On Fri, 2015-10-30 at 01:30 -0700, Tina Ruchandani wrote: > Function stex_gettime uses 'struct timeval' whose tv_sec value > will overflow on 32-bit systems in year 2038 and beyond. This patch > replaces the use of struct timeval and do_gettimeofday with > ktime_get_real_seconds, which

Re: [PATCH 3/3] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-30 Thread libin
on 2015/10/30 16:31, Li Bin wrote: > By now, the recordmcount only records the function that in > following sections: > .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ > .kprobes.text/.text.unlikely > > For the function that not in these sections, the call mcount > will be in place

Re: [PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread libin
on 2015/10/30 16:31, Li Bin wrote: > In nop_mcount, shdr->sh_offset and welp->r_offset should handle > endianness properly, otherwise it will trigger Segmentation fault > if the recordmcount main and file.o have different endianness. > For more information, please refer to

Re: [PATCH v2 3/5] crypto: AF_ALG -- add setpubkey setsockopt call

2015-10-30 Thread Stephan Mueller
Am Freitag, 30. Oktober 2015, 17:16:47 schrieb Marcel Holtmann: Hi Marcel, >Hi Stephan, > >> For supporting asymmetric ciphers, user space must be able to set the >> public key. The patch adds a new setsockopt call for setting the public >> key. >> >> Signed-off-by: Stephan Mueller >> --- >>

[RESEND PATCH 1/4] Crypto: Crypto driver support aes/des/des3 for rk3288

2015-10-30 Thread Zain Wang
Crypto driver support cbc/ecb two chainmode, and aes/des/des3 three cipher mode. The names registered are: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain

Re: [PATCH v5 4/4] drivers/rtc/rtc-s5m.c: add support for S2MPS15 RTC

2015-10-30 Thread Krzysztof Kozlowski
On 30.10.2015 15:25, Alim Akhtar wrote: > RTC found in s2mps15 is almost same as one found on s2mps13 > with few differences in RTC_UPDATE register fields, like: > 1> Bit[4] and Bit[1] are reversed >- On s2mps13 > WUDR -> bit[4], AUDR -> bit[1] >- On s2mps15 > WUDR ->

Re: [PATCH v9 1/8] phy: qcom-ufs: fix build error when the component is built as a module

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > Export the following functions in order to avoid build errors > when the component PHY_QCOM_UFS is compiled as a module: > > ERROR: "ufs_qcom_phy_disable_ref_clk" > [drivers/scsi/ufs/ufs-qcom.ko] undefined! > ERROR: "ufs_qcom_phy_enable_ref_clk"

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 14:48:40, KAMEZAWA Hiroyuki wrote: [...] > > @@ -3191,8 +3191,23 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > > order, > > */ > > if (__zone_watermark_ok(zone, order, min_wmark_pages(zone), > > ac->high_zoneidx,

Re: [RFC 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 12:18:50, Hillf Danton wrote: > > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -3191,8 +3191,23 @@ __alloc_pages_slowpath(gfp_t gfp_mask, unsigned int > > order, > > */ > > if (__zone_watermark_ok(zone, order, min_wmark_pages(zone), > >

Re: [PATCH v9 2/8] scsi: ufs-qcom: fix compilation warning if compiled as a module

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > This change fixes a compilation warning that happens if SCSI_UFS_QCOM > is compiled as a module. > Also this patch fixes an error happens when insmod the module: > "ufs_qcom: module license 'unspecified' taints kernel." > > Reviewed-by: Akinobu Mita >

Re: [RFC 1/3] mm, oom: refactor oom detection

2015-10-30 Thread Michal Hocko
On Fri 30-10-15 12:10:15, Hillf Danton wrote: [...] > > + for_each_zone_zonelist_nodemask(zone, z, ac->zonelist, > > ac->high_zoneidx, ac->nodemask) { > > + unsigned long free = zone_page_state(zone, NR_FREE_PAGES); > > + unsigned long reclaimable; > > + unsigned

[PATCH 0/3] recordmcount: bugfix and amend

2015-10-30 Thread Li Bin
Li Bin (3): recordmcount: fix endianness handling bug for nop_mcount recordmcount: x86: assign a meaningful value to rel_type_nop recordmcount: arm64: replace the ignored mcount call into nop scripts/recordmcount.c | 26 +- scripts/recordmcount.h | 5 +++-- 2 files

Re: [PATCHv12 26/37] mm: rework mapcount accounting to enable 4k mapping of THPs

2015-10-30 Thread Naoya Horiguchi
On Thu, Oct 29, 2015 at 11:50:47PM +0200, Kirill A. Shutemov wrote: ... > > Okay, the problem is that the page was freed under stable_page_flags(). > > Is the code performance sensitive? Can we get reference to the page before > touching it? If not, we can rewrite the helper like this: > >

[PATCH 2/3] recordmcount: x86: assign a meaningful value to rel_type_nop

2015-10-30 Thread Li Bin
Although, the default value of rel_type_nop is zero, and the value of R_386_NONE/R_X86_64_NONE is zero too, but it should be assigned a meaningful value explicitly, otherwise it looks confused. Assign R_386_NONE to rel_type_nop for 386, assign R_X86_64_NONE to rel_type_nop for x86_64.

Re: [PATCH v9 8/8] scsi: ufs-qcom: add QUniPro hardware support and power optimizations

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > New revisions of UFS host controller supports the new UniPro > hardware controller (referred as QUniPro). This patch adds > the support to enable this new UniPro controller hardware. > > This change also adds power optimization for bus scaling feature,

[PATCH 3/3] recordmcount: arm64: replace the ignored mcount call into nop

2015-10-30 Thread Li Bin
By now, the recordmcount only records the function that in following sections: .text/.ref.text/.sched.text/.spinlock.text/.irqentry.text/ .kprobes.text/.text.unlikely For the function that not in these sections, the call mcount will be in place and not be replaced when kernel boot up. And it will

[PATCH 1/3] recordmcount: fix endianness handling bug for nop_mcount

2015-10-30 Thread Li Bin
In nop_mcount, shdr->sh_offset and welp->r_offset should handle endianness properly, otherwise it will trigger Segmentation fault if the recordmcount main and file.o have different endianness. Cc: # 3.0+ Signed-off-by: Li Bin --- scripts/recordmcount.h | 5 +++-- 1 file changed, 3

Re: [PATCH v9 7/8] scsi: ufs-qcom: add debug prints for test bus

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > Adds support for configuring and reading the test bus and debug > registers. This change also adds another vops in order to print the > debug registers. > > Reviewed-by: Subhash Jadavani > Reviewed-by: Gilad Broner > Signed-off-by: Yaniv Gardi >

[PATCH] clocksource: dw_apb_timer_of: support timer-based delay

2015-10-30 Thread Jisheng Zhang
Implement an ARM delay timer to be used for udelay(). This allows us to skip the delay loop calibration at boot on Marvell BG2, BG2Q, BG2CD platforms. And after this patch, udelay() will be unaffected by CPU frequency changes. Signed-off-by: Jisheng Zhang --- drivers/clocksource/Kconfig

[RESEND PATCH v3] scsi: stex: Remove use of struct timeval

2015-10-30 Thread Tina Ruchandani
Function stex_gettime uses 'struct timeval' whose tv_sec value will overflow on 32-bit systems in year 2038 and beyond. This patch replaces the use of struct timeval and do_gettimeofday with ktime_get_real_seconds, which returns a 64-bit seconds value. Suggested-by: Arnd Bergmann Signed-off-by:

Re: [PATCH v9 6/8] scsi: ufs: make the UFS variant a platform device

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > This change turns the UFS variant (SCSI_UFS_QCOM) into a UFS > a platform device. > In order to do so a few additional changes are required: > 1. The ufshcd-pltfrm is no longer serves as a platform device. >Now it only serves as a group of platform

Re: [PATCH v4 2/6] clk: sunxi: Add H3 clocks support

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 17:50:22 Jens Kuske wrote: > + of_property_read_string_index(node, "clock-output-names", > + i, _name); > + > + if (index == 17 || (index >= 29 && index <= 31)) > + clk_parent =

Re: [PATCH] usb: dwc2: host: Fix remote wakeup when not in DWC2_L2

2015-10-30 Thread Herrero, Gregory
On Fri, Oct 30, 2015 at 03:21:29AM +, John Youn wrote: > On 10/29/2015 9:43 AM, Doug Anderson wrote: > > John, > > > > On Thu, Oct 22, 2015 at 1:05 PM, Douglas Anderson > > wrote: > >> In commit 734643dfbdde ("usb: dwc2: host: add flag to reflect bus > >> state") we changed

[PATCH 3/3][v3] Thermal: do thermal zone update after a cooling device registered

2015-10-30 Thread Chen Yu
When a new cooling device is registered, we need to update the thermal zone to set the new registered cooling device to a proper state. This fixes a problem that the system is cool, while the fan devices are left running on full speed after boot, if fan device is registered after thermal zone

[PATCH 2/3][v3] Thermal: handle thermal zone device properly during system sleep

2015-10-30 Thread Chen Yu
From: Zhang Rui Current thermal code does not handle system sleep well because 1. the cooling device cooling state may be changed during suspend 2. the previous temperature reading becomes invalid after resumed because it is got before system sleep 3. updating thermal zone device during

[PATCH 0/3][v3] Fix thermal problems during suspend/bootup

2015-10-30 Thread Chen Yu
This patch set fixes two problems when system is trying to suspend and boot up: 1.After system is woken up from suspend, the thermal framework uses the dirty 'cached' thermal variables before suspend, which might cause expected behavior. 2.If a cooling device is registered after the thermal

[PATCH 1/3][v3] Thermal: initialize thermal zone device correctly

2015-10-30 Thread Chen Yu
From: Zhang Rui After thermal zone device registered, as we have not read any temperature before, thus tz->temperature should not be 0, which actually means 0C, and thermal trend is not available. In this case, we need specially handling for the first thermal_zone_device_update(). Both thermal

Re: [PATCH v9 5/8] scsi: ufs: creates wrapper functions for vops

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > In order to simplify the code a set of wrapper functions is created > to test and call each of the variant operations. > > Reviewed-by: Akinobu Mita > Reviewed-by: Subhash Jadavani > Reviewed-by: Gilad Broner > Signed-off-by: Yaniv Gardi > > --- >

Re: [PATCH v9 4/8] scsi: ufs: add ufshcd_get_variant ufshcd_set_variant

2015-10-30 Thread Hannes Reinecke
On 10/28/2015 12:15 PM, Yaniv Gardi wrote: > This patch adds ufshcd_get_variant() and ufshcd_set_variant() > routines in order to get/set the variant specific data. > > Reviewed-by: Akinobu Mita > Reviewed-by: Subhash Jadavani > Reviewed-by: Gilad Broner > Signed-off-by: Yaniv Gardi >

Re: [PATCH v4 4/6] reset: sunxi: Add Allwinner H3 bus resets

2015-10-30 Thread Arnd Bergmann
On Tuesday 27 October 2015 17:50:24 Jens Kuske wrote: > > +static int sun8i_h3_bus_reset_xlate(struct reset_controller_dev *rcdev, > + const struct of_phandle_args *reset_spec) > +{ > + unsigned int index = reset_spec->args[0]; > + > + if (index < 96)

Re: [PATCH v5 5/5] clk: shmobile: r8a7795: Add new CPG/MSSR driver

2015-10-30 Thread Geert Uytterhoeven
On Thu, Oct 29, 2015 at 12:21 PM, Geert Uytterhoeven wrote: > Add a new R-Car H3 Clock Pulse Generator / Module Standby and Software > Reset driver, using the new CPG/MSSR driver core. > > Signed-off-by: Geert Uytterhoeven > --- > v5: > - Enter shmobile subdir if CONFIG_ARCH_RENESAS=y, BTW,

<    2   3   4   5   6   7   8   9   10   11   >