Re: [PATCH 3/4] input: Add new sun4i-keypad driver

2015-09-18 Thread Maxime Ripard
Hi Yassin, On Fri, Sep 18, 2015 at 10:19:55AM +1000, Yassin Jaffer wrote: > Hi Maxime > > I appreciate your time and efforts . > > Do you need that rate to be enforced, or is it some leftover from the > > allwinner BSP? > > > I've found that clock rate works fine with the default denounce and

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 11:27:40 Hans Verkuil wrote: > Ah, OK. Got it. > > I think this is dependent on the upcoming media workshop next month. If we > decide to redesign v4l2_buffer anyway, then we can avoid timeval completely. > And the only place where we would need to convert it in the com

Re: [PATCH] ARM: pxa: add wm9713 codec

2015-09-18 Thread Robert Jarzmik
Igor Grinberg writes: > Hi Robert, > > On 09/16/15 22:42, Robert Jarzmik wrote: >> The mioa701 is using the wm9713 for audio, battery and touchscreen. Add >> the missing audio part, which disappeared. >> >> Signed-off-by: Robert Jarzmik > > The subject is a bit misleading.. > I think it is wort

Re: [PATCH 2/5] ARM: sun5i: Add R8 DTSI

2015-09-18 Thread Chen-Yu Tsai
Hi, On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard wrote: > The R8 is very close to the A13, but it still has a few differences, > notably a composite output, which the A13 lacks. > > Add a DTSI based on the A13's to hold those differences. > > Signed-off-by: Maxime Ripard > --- > arch/arm/boot

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 10:28:20AM +0100, Will Deacon wrote: > > #define atomic_read_ctrl(v) READ_ONCE_CTRL(&(v)->counter) > > Funnily enough, I had this exact same discussion off-list yesterday > afternoon, since I wrote some code relying on a ctrl dependency from > an atomic_read to an atomic_xc

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 10:57:32AM +0200, Peter Zijlstra wrote: > diff --git a/arch/metag/include/asm/atomic_lnkget.h > b/arch/metag/include/asm/atomic_lnkget.h > index 21c4c268b86c..1bd21c933435 100644 > --- a/arch/metag/include/asm/atomic_lnkget.h > +++ b/arch/metag/include/asm/atomic_lnkget.h >

Re: First kernel patch (optimization)

2015-09-18 Thread Raymond Jennings
On 09/18/15 00:42, Greg KH wrote: On Thu, Sep 17, 2015 at 11:12:51PM -0400, Theodore Ts'o wrote: On Wed, Sep 16, 2015 at 01:26:51PM -0400, Josh Boyer wrote: That isn't true. It helps the submitter understand the workflow and expectations. What you meant to say is that it doesn't help you. Th

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Hans Verkuil
On 09/18/15 11:09, Arnd Bergmann wrote: > On Friday 18 September 2015 10:05:06 Hans Verkuil wrote: >> On 09/17/15 23:19, Arnd Bergmann wrote: >>> The v4l2 API uses a 'struct timeval' to communicate time stamps to user >>> space. This is broken on 32-bit architectures as soon as we have a C library

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Will Deacon
On Fri, Sep 18, 2015 at 10:06:46AM +0100, Dmitry Vyukov wrote: > On Fri, Sep 18, 2015 at 10:51 AM, Peter Zijlstra wrote: > > As an alternative patch, could we not do: > > > > void put_pid(struct pid *pid) > > { > > struct pid_namespace *ns; > > > > if (!pid) > >

[PATCH] sched: access local runqueue directly in single_task_running

2015-09-18 Thread Dominik Dingel
Commit 2ee507c47293 ("sched: Add function single_task_running to let a task check if it is the only task running on a cpu") referenced the current runqueue with the smp_processor_id. When CONFIG_DEBUG_PREEMPT is enabled, that is only allowed if preemption is disabled or the currrent task is bound

Re: problem with "serial" driver in kernel 3.16.0

2015-09-18 Thread Wolfgang Wilhelm
Thankyou very much for your quick answers. I searched now in the linux sources for the problem and I think I could find it in the file linux-source-3.16/drivers/tty/serial/8250/8250_pci.c There is a function serial_pci_guessboard and a blacklist including the vendor- and device-ids of 3 softmodems

Re: [PATCH v2 8/9] [media] handle 64-bit time_t in v4l2_buffer

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 09:18:45 Hans Verkuil wrote: > Hi Arnd, > > Thanks once again for working on this! Unfortunately, this approach won't > work, see my comments below. > > BTW, I would expect to see compile errors when compiling for 32 bit. Did > you try that? I only tested on 32-bit, b

Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting

2015-09-18 Thread Kohji Okuno
From: Thomas Gleixner Date: Fri, 18 Sep 2015 11:04:23 +0200 > That's weird. The flow is: > > interrupt() > mask() > ret = primary_handler() > if (ret == WAKE_THREAD) > wake_thread() > else > unmask() > > thread_handler() > > unmask() > > So if an interrupt is triggered

Re: [PATCH 00/22] arm64: Consolidate CPU feature handling

2015-09-18 Thread Suzuki K. Poulose
On 16/09/15 15:20, Suzuki K. Poulose wrote: From: "Suzuki K. Poulose" This is an updated reincarnation of my "arm64: Expose CPU feature registers" series [1], which does much more. The series is also available here : git://linux-arm.org/linux-skp.git cpu-ftr/v1-4.3-rc1 Thanks Suzuki -- T

[PATCH v2 2/2] ARM: irqchip: mxs: add Alpascale ASM9260 support

2015-09-18 Thread Oleksij Rempel
From: Oleksij Rempel Freescale iMX23/iMX28 and Alphascale ASM9260 have similar interrupt collectors. It makes easy to reuse irq-mxs code for ASM9260. Differences between this devices are fallowing: - different register offsets - different count of intterupt lines per register - ASM9260 don't prov

[PATCH v2 0/2] changelog

2015-09-18 Thread Oleksij Rempel
v2: - move some parts from patch 2 to 1 - make separate irq_chip for ICOLL and ASM9260 Oleksij Rempel (2): ARM: irqchip: mxs: prepare driver for HW with different offsets ARM: irqchip: mxs: add Alpascale ASM9260 support drivers/irqchip/Kconfig| 5 + drivers/irqchip/Mak

[PATCH v2 1/2] ARM: irqchip: mxs: prepare driver for HW with different offsets

2015-09-18 Thread Oleksij Rempel
Some HW has similar functionality but different register offsets. Make sure we can change offsets dynamically. Signed-off-by: Oleksij Rempel --- drivers/irqchip/irq-mxs.c | 83 ++- 1 file changed, 67 insertions(+), 16 deletions(-) diff --git a/drivers

Re: [PATCHSET] cgroup: use static_keys for subsystem enabled and on_dfl tests

2015-09-18 Thread Zefan Li
On 2015/9/16 9:51, Tejun Heo wrote: cgroup_subsys->disabled and cgroup_on_dfl() tests are likely to be used in hot paths and seldom change. The former is set once during boot and the latter only when a controller is migrated between the default hierarchy and traditional ones. This patchset make

Re: [PATCH v2 2/2] of: changesets: Introduce changeset helper methods

2015-09-18 Thread Pantelis Antoniou
Hi Rob, > On Sep 17, 2015, at 17:13 , Rob Herring wrote: > > On 09/16/2015 11:11 AM, Pantelis Antoniou wrote: >> Changesets are very powerful, but the lack of a helper API >> makes using them cumbersome. Introduce a simple copy based >> API that makes things considerably easier. >> >> To wit, a

Re: [PATCH] fixup! audit: try harder to send to auditd upon netlink failure

2015-09-18 Thread Steve Grubb
On Fri, 18 Sep 2015 03:52:43 -0400 Richard Guy Briggs wrote: > A bug was introduced by "audit: try harder to send to auditd upon > netlink failure", caused by incomplete code and a function that > expects a string and does not accept a format plus arguments. Create > a temporary string variable

[PATCH v2 1/1] fs/proc/array.c: set overflow flag in case of error

2015-09-18 Thread Andy Shevchenko
For now in task_name() we ignore the return code of string_escape_str() call. This is not good if buffer suddenly becomes not big enough. Do the proper error handling there. Signed-off-by: Andy Shevchenko --- fs/proc/array.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 10:05:06 Hans Verkuil wrote: > On 09/17/15 23:19, Arnd Bergmann wrote: > > The v4l2 API uses a 'struct timeval' to communicate time stamps to user > > space. This is broken on 32-bit architectures as soon as we have a C library > > that defines time_t as 64 bit, which th

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Russell King - ARM Linux
On Fri, Sep 18, 2015 at 09:55:24AM +0200, Daniel Lezcano wrote: > On 09/17/2015 12:19 PM, Caesar Wang wrote: > > > > > >在 2015年09月17日 18:06, Daniel Lezcano 写道: > >>On 09/17/2015 11:28 AM, Caesar Wang wrote: > >>>Hi Daniel, > >>> > >>> > >>>在 2015年09月17日 17:11, Daniel Lezcano 写道: > > Hi Cae

[PATCH] iommu-common: fix return type of iommu_tbl_range_alloc()

2015-09-18 Thread Andre Przywara
Though iommu_tbl_range_alloc() is only used by Sparc code, the function itself lives in lib/iommu-common.c and is thus included in other architecture's code as well. When compiled on a 32-bit architecture using 64-bit DMA addresses (ARM with LPAE), there is a compiler warning about a type mismatch

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Dmitry Vyukov
On Fri, Sep 18, 2015 at 10:51 AM, Peter Zijlstra wrote: > On Thu, Sep 17, 2015 at 08:09:19PM +0200, Oleg Nesterov wrote: >> On 09/17, Dmitry Vyukov wrote: >> > >> > I can update the patch description, but let me explain it here first. >> >> Yes thanks. >> >> > Here is the essence of what happens:

Re: [PATCH] genirq: Fix bad IRQ_ONSHOT in forced IRQ setting

2015-09-18 Thread Thomas Gleixner
On Fri, 18 Sep 2015, Kohji Okuno wrote: > From: Thomas Gleixner > Date: Thu, 17 Sep 2015 23:10:02 +0200 > > On Thu, 17 Sep 2015, Kohji Okuno wrote: > >> > >> When 1st sdio IRQ is happend, sdhci_irq() returns IRQ_WAKE_THREAD. > >> After this, sdhci_irq() is not called in case of threadirqs. > > >

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Fri, Sep 18, 2015 at 10:51:56AM +0200, Peter Zijlstra wrote: > That would upgrade the atomic_read() path to a full READ_ONCE_CTRL(), > and thereby avoid any of the kmem_cache_free() stores from leaking out. That said, on my TODO list is an item to review all atomic_{read,set}() implementation t

Re: [PATCH 0/5] ARM: sunxi: Introduce CHIP support

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 10:48:45 Maxime Ripard wrote: > > Here is a serie introducing the support for the Allwinner R8 and the > Nextthing's CHIP. > > Support is almost complete for the CHIP itself, the only missing part > for now is the WiFi chip that needs to be powered through two combined

checkpatch: should it count the number of ^---$?

2015-09-18 Thread Peter Senna Tschudin
Now with the correct E-mail for lkml... I sent a patch* that broke some script handling the patch because the commit message has a line that was exactly ---. Should checkpatch count the number of lines with something like ^---$ and warn if this number is greater than 1? Thank you! Peter * https

Re: [PATCH] iommu-common: only compile lib/iommu_common.c for Sparc64

2015-09-18 Thread Andre Przywara
Hi David, On 17/09/15 19:38, David Miller wrote: > From: Andre Przywara > Date: Thu, 17 Sep 2015 09:40:27 +0100 > >> It seems the types used in this file are not really correct, but a >> fix isn't trivial. So for the time being restrict this code to be >> compiled only when we actually need it.

Re: [PATCH] ARM: pxa: add wm9713 codec

2015-09-18 Thread Igor Grinberg
Hi Robert, On 09/16/15 22:42, Robert Jarzmik wrote: > The mioa701 is using the wm9713 for audio, battery and touchscreen. Add > the missing audio part, which disappeared. > > Signed-off-by: Robert Jarzmik The subject is a bit misleading.. I think it is worth specifying mioa701 in subject.. > -

[tip:sched/core] sched/numa: Limit the amount of virtual memory scanned in task_numa_work()

2015-09-18 Thread tip-bot for Rik van Riel
Commit-ID: 4620f8c1fda2af4ccbd11e194e2dd785f7d7f279 Gitweb: http://git.kernel.org/tip/4620f8c1fda2af4ccbd11e194e2dd785f7d7f279 Author: Rik van Riel AuthorDate: Fri, 11 Sep 2015 09:00:27 -0400 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:23:14 +0200 sched/numa: Limit the amoun

Re: [PATCH 0/4] sched fixes and clean-ups

2015-09-18 Thread Juri Lelli
Hi Peter, On 02/09/15 11:01, Juri Lelli wrote: > Hi all, > > while trying to come up with 01/04, I collected the following set of fixes. > > Patches 02-04/04 are simple refactoring of code and clean-ups. > Patch 01/04 is instead my attempt to fix a problem highlighted some time > back by Wanpeng

[PATCH 0/5] ARM: sunxi: Introduce CHIP support

2015-09-18 Thread Maxime Ripard
Hi, Here is a serie introducing the support for the Allwinner R8 and the Nextthing's CHIP. Support is almost complete for the CHIP itself, the only missing part for now is the WiFi chip that needs to be powered through two combined regulators (AXP209's LDO3 and LDO4). The audio codec is also miss

Re: [PATCH 1/1] PCI/MSI: X-Gene: Remove msi_controller assignment in X-Gene PCIe driver

2015-09-18 Thread Marc Zyngier
On Wed, 16 Sep 2015 17:31:40 -0700 Duc Dang wrote: > With commit 8d63bc7beaee ("PCI/MSI: pci-xgene-msi: Get rid of > struct msi_controller"), it is no longer required to assign > msi_controller for X-Gene PCIe host bridge to support MSI. This > patch removes this unnecessary code and also helps a

[PATCH v3] QEMU fw_cfg DMA interface documentation

2015-09-18 Thread Marc Marí
Add fw_cfg DMA interface specfication in the fw_cfg documentation. Signed-off-by: Marc Marí --- Documentation/devicetree/bindings/arm/fw-cfg.txt | 49 +++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/arm/fw-cfg.txt b/Docume

[PATCH 2/5] ARM: sun5i: Add R8 DTSI

2015-09-18 Thread Maxime Ripard
The R8 is very close to the A13, but it still has a few differences, notably a composite output, which the A13 lacks. Add a DTSI based on the A13's to hold those differences. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-r8.dtsi | 61 + 1 file

QEMU fw_cfg DMA interface

2015-09-18 Thread Marc Marí
Implementation of the FW CFG DMA interface. When running a Linux guest on top of QEMU, using the -kernel options, this is the timing improvement for x86: QEMU commit 16a1b6e and SeaBIOS commit e4d2b8c QEMU startup time: .080 BIOS startup time: .060 Kernel setup time: .586 Total time: .726 QEMU w

[PATCH 3/5] ARM: sun5i: dt: Move uart3 pinctrl node to common DTSI

2015-09-18 Thread Maxime Ripard
The uart3 pins are shared between the A10s and A13, move the pinctrl node to the common DTSI to avoid duplication. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i-a10s.dtsi | 7 --- arch/arm/boot/dts/sun5i.dtsi | 7 +++ 2 files changed, 7 insertions(+), 7 deletions(-) diff

[tip:sched/core] sched/fair: Polish comments for LOAD_AVG_MAX

2015-09-18 Thread tip-bot for Leo Yan
Commit-ID: 84fb5a182d39221b89f205365386df243135d622 Gitweb: http://git.kernel.org/tip/84fb5a182d39221b89f205365386df243135d622 Author: Leo Yan AuthorDate: Tue, 15 Sep 2015 18:57:37 +0800 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:23:15 +0200 sched/fair: Polish comments for

Re: [PATCH 1/2] mfd: Fixup clients of multi_reg_write/register_patch

2015-09-18 Thread Charles Keepax
On Fri, Sep 18, 2015 at 01:50:15PM +1000, Stephen Rothwell wrote: > Hi all, > > On Mon, 20 Jul 2015 11:59:35 +1000 Stephen Rothwell > wrote: > > > > On Fri, 17 Jul 2015 15:09:26 +0100 Nariman Poushin > > wrote: > > > > > > Introduced by: > > > commit 8019ff6cfc04 > > > ("regmap: Use reg_sequen

Re: [PATCH] kernel: fix data race in put_pid

2015-09-18 Thread Peter Zijlstra
On Thu, Sep 17, 2015 at 08:09:19PM +0200, Oleg Nesterov wrote: > On 09/17, Dmitry Vyukov wrote: > > > > I can update the patch description, but let me explain it here first. > > Yes thanks. > > > Here is the essence of what happens: > > Aha, so you really meant that 2 put_pid's can race with eac

Re: [PATCH 2/2] irqchip/gicv3-its: Handle OF device tree "msi-map" properties.

2015-09-18 Thread Marc Zyngier
On Thu, 17 Sep 2015 11:00:59 -0700 David Daney wrote: Hi David, > From: David Daney > > Search up the device hierarchy to find devices with a "msi-map" > property, if found apply the mapping to the GIC device id. > > Signed-off-by: David Daney > --- > drivers/irqchip/irq-gic-v3-its-pci-msi.

[tip:locking/core] locking/osq: Relax atomic semantics

2015-09-18 Thread tip-bot for Davidlohr Bueso
Commit-ID: c55a6ffa6285e29f874ed403979472631ec70bff Gitweb: http://git.kernel.org/tip/c55a6ffa6285e29f874ed403979472631ec70bff Author: Davidlohr Bueso AuthorDate: Mon, 14 Sep 2015 00:37:24 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:27:29 +0200 locking/osq: Relax atomi

[PATCH 3/3] f2fs: disallow switch extent_cache option dynamically

2015-09-18 Thread Chao Yu
Swith extent_cache option dynamically when remount may casue consistency issue between extent cache and dnode page. Fix in this patch to avoid that condition. Signed-off-by: Chao Yu --- fs/f2fs/super.c | 9 + 1 file changed, 9 insertions(+) diff --git a/fs/f2fs/super.c b/fs/f2fs/super.c

[PATCH 2/3] f2fs: use correct flag in f2fs_map_blocks()

2015-09-18 Thread Chao Yu
We introduce F2FS_GET_BLOCK_READ in commit e2b4e2bc8865 ("f2fs: fix incorrect mapping for bmap"), but forget to use this flag in the right place, fix it. Signed-off-by: Chao Yu --- fs/f2fs/data.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/data.c b/fs/f2fs/data.

[PATCH] Staging: android: Fix 80 character length

2015-09-18 Thread Punit Vara
This patch is to the Kconfig file which fixes up lines which exceeded the standard 80 character limitation. This file also fixes up 3 warnings regarding paragraph. Signed-off-by: Punit Vara --- drivers/staging/android/Kconfig | 28 1 file cha

[PATCH 1/3] f2fs: introduce __try_update_largest_extent

2015-09-18 Thread Chao Yu
This patch adds a new helper __try_update_largest_extent for cleanup. Signed-off-by: Chao Yu --- fs/f2fs/extent_cache.c | 14 +- fs/f2fs/f2fs.h | 7 +++ 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/fs/f2fs/extent_cache.c b/fs/f2fs/extent_cache.c index

[PATCH v1 2/3] arm64: Enable the timer on Rockchip architecture

2015-09-18 Thread Caesar Wang
On the RK3368 SoC, support the APB timers for rockchip platform. Signed-off-by: Caesar Wang --- Changes in v1: None arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 23800a1..0dae08d 100644 --- a/a

[PATCH v2 1/7] f2fs: reorganize f2fs_map_blocks

2015-09-18 Thread Chao Yu
In this patch, we try to reorganize f2fs_map_blocks to make block mapping flow more clear by using following structure: /* check status of mapping */ if (unmapped) { /* blkaddr == NULL_ADDR || blkaddr == NEW_ADDR */ if (create) { /* write path, handle dio write ca

[tip:x86/asm] x86/asm/entry/32, selftests: Add 'test_syscall_vdso ' test

2015-09-18 Thread tip-bot for Denys Vlasenko
Commit-ID: c25be94f2870bf75552a41ad8b15f756e19ffb1d Gitweb: http://git.kernel.org/tip/c25be94f2870bf75552a41ad8b15f756e19ffb1d Author: Denys Vlasenko AuthorDate: Wed, 16 Sep 2015 20:23:29 +0200 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:40:48 +0200 x86/asm/entry/32, selftes

[PATCH v1 3/3] arm64: dts: rockchip: Add the needed timer for RK3368 SoC

2015-09-18 Thread Caesar Wang
There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. Signed-off-by: Caesar Wang --- Changes in v1: - As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the 'rockchip,rk3288-timer' is working for R

[PATCH 1/1] fs/seq_file: use seq_* helpers in seq_hex_dump()

2015-09-18 Thread Andy Shevchenko
This improves code readability. Signed-off-by: Andy Shevchenko --- fs/seq_file.c | 15 +++ 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/fs/seq_file.c b/fs/seq_file.c index 6f0c3d7..ade4ea2 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -752,6 +752,8 @@ void seq_he

[PATCH v1 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Caesar Wang
Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform, There are some failure with build up on timer driver for rockchip. logs: ... drivers/clocksource/rockchip_timer.c:156:13: error: 'NO_IRQ' undeclared /tmp/ccdAnNy5.s:47: Error: missing immediate expression at operand 1 -- `dsb` ... The pro

[PATCH v1 0/3] Support the timer on RK3368 SoC

2015-09-18 Thread Caesar Wang
Timer0~11 count up from zero to a programmed value and generate an interrupt when the count reaches the programmed value. TIMER0, TIMER1, TIMER2, Timer3, TIMER4 and TIMER5 are in the CPU subsystem, using timer ch0 ~ ch5 respectively. The timer clock is 24MHz OSC. This series are found on RK3368 S

[tip:locking/core] locking/pvqspinlock: Kick the PV CPU unconditionally when _Q_SLOW_VAL

2015-09-18 Thread tip-bot for Waiman Long
Commit-ID: 93edc8bd7750ff3cae088bfca453ea73dc9004a4 Gitweb: http://git.kernel.org/tip/93edc8bd7750ff3cae088bfca453ea73dc9004a4 Author: Waiman Long AuthorDate: Fri, 11 Sep 2015 14:37:34 -0400 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:27:29 +0200 locking/pvqspinlock: Kick th

[tip:locking/core] locking/qrwlock: Rename ->lock to ->wait_lock

2015-09-18 Thread tip-bot for Davidlohr Bueso
Commit-ID: 6e1e5196975fb7ecc501b3fe1075b77aea2b7839 Gitweb: http://git.kernel.org/tip/6e1e5196975fb7ecc501b3fe1075b77aea2b7839 Author: Davidlohr Bueso AuthorDate: Mon, 14 Sep 2015 00:37:22 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:27:29 +0200 locking/qrwlock: Rename

RE: [PATCH 5/7] f2fs: enhance multithread dio write performance

2015-09-18 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Friday, September 18, 2015 1:49 AM > To: Chao Yu > Cc: linux-f2fs-de...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 5/7] f2fs: enhance multithread dio write performance >

[tip:locking/core] locking/Documentation/lockstat: Fix typo - lokcing -> locking

2015-09-18 Thread tip-bot for Stephen Boyd
Commit-ID: e58cdf585a38412f9f56c512d20e8e12637d9892 Gitweb: http://git.kernel.org/tip/e58cdf585a38412f9f56c512d20e8e12637d9892 Author: Stephen Boyd AuthorDate: Wed, 9 Sep 2015 16:46:38 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:27:28 +0200 locking/Documentation/lockst

[PATCH 5/5] ARM: sun5i: Add C.H.I.P DTS

2015-09-18 Thread Maxime Ripard
The C.H.I.P. is a small SBC with an Allwinner R8, 8GB of NAND, 512MB of RAM, USB host and OTG, a wifi / bluetooth combo chip, an audio/video jack and two connectors to plug additional boards on top of it. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/Makefile | 3 +- arch/arm/boo

[tip:perf/core] perf/x86/intel: Fix static checker warning in lbr enable

2015-09-18 Thread tip-bot for Kan Liang
Commit-ID: 96f3eda67fcf2598e9d2794398e0e7ab35138ea6 Gitweb: http://git.kernel.org/tip/96f3eda67fcf2598e9d2794398e0e7ab35138ea6 Author: Kan Liang AuthorDate: Mon, 14 Sep 2015 10:14:07 -0400 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:24:57 +0200 perf/x86/intel: Fix static che

[PATCH 4/5] ARM: sun5i: dt: Add UART3 CTS and RTS pins

2015-09-18 Thread Maxime Ripard
Add a separate pinctrl node for the UART3 CTS and RTS pins shared between the A10s and A13. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun5i.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/sun5i.dtsi b/arch/arm/boot/dts/sun5i.dtsi index 433c83a321ca..7d3

[tip:sched/core] sched/fair: Remove unnecessary parameter for group_classify()

2015-09-18 Thread tip-bot for Leo Yan
Commit-ID: 79a89f92cbe31ba6bc50caf211a7ac4d97d0f35f Gitweb: http://git.kernel.org/tip/79a89f92cbe31ba6bc50caf211a7ac4d97d0f35f Author: Leo Yan AuthorDate: Tue, 15 Sep 2015 18:56:45 +0800 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:23:16 +0200 sched/fair: Remove unnecessary p

[PATCH 1/5] ARM: sunxi: Add R8 support

2015-09-18 Thread Maxime Ripard
The R8 is a new Allwinner SoC based on the A13. While both are very similar, there's still a few differences. Introduce a new compatible to deal with them. Signed-off-by: Maxime Ripard --- arch/arm/mach-sunxi/sunxi.c | 3 ++- drivers/clk/sunxi/clk-sunxi.c | 1 + 2 files changed, 3 insertions(+

Re: [alsa-devel] [PATCH] mfd: arizona: Call the runtime PM function if the state is runtime resumed

2015-09-18 Thread Charles Keepax
On Fri, Sep 18, 2015 at 03:49:03PM +0900, Inha Song wrote: > Hi, > > I just change dev_err() to dev_info() in arizona-core. > > > root@localhost:~# aplay test.wav > [ 42.731358] arizona spi1.0: Leaving AoD mode > > [ 42.823514] s3c64xx_spi_runtime_resume > [ 42.828270] arizona spi1.0:

[tip:sched/core] sched/core: Make policy-testing consistent

2015-09-18 Thread tip-bot for Henrik Austad
Commit-ID: 20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Gitweb: http://git.kernel.org/tip/20f9cd2acb1d74a8bf4b4087267f586e6ecdbc03 Author: Henrik Austad AuthorDate: Wed, 9 Sep 2015 17:00:41 +0200 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:23:13 +0200 sched/core: Make policy-tes

[tip:perf/core] perf/x86/intel: Fix Skylake FRONTEND MSR extrareg mask

2015-09-18 Thread tip-bot for Andi Kleen
Commit-ID: dfe1f3cb312624928052413928d88b0ee3492216 Gitweb: http://git.kernel.org/tip/dfe1f3cb312624928052413928d88b0ee3492216 Author: Andi Kleen AuthorDate: Wed, 9 Sep 2015 14:54:00 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:20:23 +0200 perf/x86/intel: Fix Skylake FR

[tip:perf/core] perf/x86/intel: Make the CYCLE_ACTIVITY.* constraint on Broadwell more specific

2015-09-18 Thread tip-bot for Andi Kleen
Commit-ID: 5e176213a6b2bc5146820c79542d37290434a3c4 Gitweb: http://git.kernel.org/tip/5e176213a6b2bc5146820c79542d37290434a3c4 Author: Andi Kleen AuthorDate: Mon, 14 Sep 2015 14:47:02 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:20:21 +0200 perf/x86/intel: Make the CYCL

[tip:perf/core] perf/x86/intel/pebs: Add PEBS frontend profiling for Skylake

2015-09-18 Thread tip-bot for Andi Kleen
Commit-ID: d0dc8494cd6904f8ad035d9ad97f313948f35d0c Gitweb: http://git.kernel.org/tip/d0dc8494cd6904f8ad035d9ad97f313948f35d0c Author: Andi Kleen AuthorDate: Wed, 9 Sep 2015 14:53:59 -0700 Committer: Ingo Molnar CommitDate: Fri, 18 Sep 2015 09:20:22 +0200 perf/x86/intel/pebs: Add PEBS

[PATCH] drm/amdgpu: fix memory leak

2015-09-18 Thread Sudip Mukherjee
If amdgpu_ib_get() fails we returned the error code but we missed freeing ib. Signed-off-by: Sudip Mukherjee --- drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdg

Re: [PATCH 6/7] arm64: Make the kernel page dump utility aware of the CONT bit

2015-09-18 Thread Huang Shijie
On Wed, Sep 16, 2015 at 02:03:05PM -0500, Jeremy Linton wrote: > The kernel page dump utility needs to be aware of the CONT bit before > it will break up pages ranges for display. > > Signed-off-by: Jeremy Linton > --- > arch/arm64/mm/dump.c | 18 +- > 1 file changed, 17 insertio

Re: [PATCH v4 5/5] irqchip, gicv3-its: Workaround for Cavium ThunderX errata 22375, 24313

2015-09-18 Thread Robert Richter
On 07.09.15 17:32:25, Marc Zyngier wrote: > On 14/08/15 19:28, Robert Richter wrote: > > + if (its->flags & ITS_FLAGS_CAVIUM_THUNDERX) { > > + /* > > +* erratum 22375: only alloc 8MB table size > > +* erratum 24313: ignore memory access type > > +*/

Re: 4.3-rc1 dirty page count underflow (cgroup-related?)

2015-09-18 Thread Greg Thelen
Greg Thelen wrote: > Dave Hansen wrote: > >> I've been seeing some strange behavior with 4.3-rc1 kernels on my Ubuntu >> 14.04.3 system. The system will run fine for a few hours, but suddenly >> start becoming horribly I/O bound. A compile of perf for instance takes >> 20-30 minutes and the com

[PATCH v1 1/1] fs/proc/array.c: set overflow flag in case of error

2015-09-18 Thread Andy Shevchenko
For now in task_name() we ignore the return code of string_escape_str() call. This is not good if buffer suddenly becomes not big enough. Do the proper error handling there. Signed-off-by: Andy Shevchenko --- fs/proc/array.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --

[PATCH v2 1/1] seq_file: re-use string_escape_str()

2015-09-18 Thread Andy Shevchenko
strint_escape_str() escapes input string by given criteria. In case of seq_escape() the criteria is to convert some characters to their octal representation. Signed-off-by: Andy Shevchenko --- fs/seq_file.c | 25 ++--- 1 file changed, 6 insertions(+), 19 deletions(-) diff --

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Caesar Wang
Hi Daniel, 在 2015年09月18日 15:55, Daniel Lezcano 写道: On 09/17/2015 12:19 PM, Caesar Wang wrote: 在 2015年09月17日 18:06, Daniel Lezcano 写道: On 09/17/2015 11:28 AM, Caesar Wang wrote: Hi Daniel, 在 2015年09月17日 17:11, Daniel Lezcano 写道: Hi Caesar, On 09/17/2015 09:51 AM, Caesar Wang wrote: Bu

Re: [RFC v4 17/25] powerpc, fbdev: Use arch_nvram_ops methods instead of nvram_read_byte() and nvram_write_byte()

2015-09-18 Thread Finn Thain
Hi Ben, On Thu, 16 Jul 2015, I wrote: > On Wed, 15 Jul 2015, I wrote: > > > On Tue, 14 Jul 2015, Benjamin Herrenschmidt wrote: > > > > > Maybe we should have a dedicated accessor for "mac_xpram" ... > > > ... > > The arch_nvram_ops methods don't deal with structures like partitions ... Inst

Re: [PATCH 3.12 00/33] 3.12.48-stable review

2015-09-18 Thread Jiri Slaby
On 09/15/2015, 06:27 PM, Guenter Roeck wrote: > Build results: > total: 123 pass: 123 fail: 0 > Qemu test results: > total: 76 pass: 76 fail: 0 > > Details are available at http://server.roeck-us.net:8010/builders. Thanks. -- js suse labs -- To unsubscribe from this list: send the line

Re: [PATCH 3.12 00/33] 3.12.48-stable review

2015-09-18 Thread Jiri Slaby
On 09/15/2015, 06:12 PM, Shuah Khan wrote: > On 09/15/2015 08:22 AM, Jiri Slaby wrote: >> This is the start of the stable review cycle for the 3.12.48 release. >> There are 33 patches in this series, all will be posted as a response >> to this one. If anyone has any issues with these being applied

Re: [PATCH v2 7/9] [media] v4l2: introduce v4l2_timeval

2015-09-18 Thread Hans Verkuil
On 09/17/15 23:19, Arnd Bergmann wrote: > The v4l2 API uses a 'struct timeval' to communicate time stamps to user > space. This is broken on 32-bit architectures as soon as we have a C library > that defines time_t as 64 bit, which then changes the structure layout of > struct v4l2_buffer. > > Sin

Re: [PATCH 1/2] zbud: allow PAGE_SIZE allocations

2015-09-18 Thread Vitaly Wool
> I don't know how zsmalloc handles uncompressible PAGE_SIZE allocations, but > I wouldn't expect it to be any more clever than this? So why duplicate the > functionality in zswap and zbud? This could be handled e.g. at the zpool > level? Or maybe just in zram, as IIRC in zswap (frontswap) it's val

[PATCH] ARM: sunxi: Add sun[89]i to MAINTAINERS entry

2015-09-18 Thread Chen-Yu Tsai
Newer Allwinner SoCs fall under sun8i or sun9i families. Update the MAINTAINERS entry to include them. Signed-off-by: Chen-Yu Tsai --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 7ba7ab749c85..2e436a937c96 100644 --- a/MAINTAINE

[PATCH 2/2] audit: log failed attempts to change audit_pid configuration

2015-09-18 Thread Richard Guy Briggs
Failed attempts to change the audit_pid configuration are not presently logged. One case is an attempt to starve an old auditd by starting up a new auditd when the old one is still alive and active. The other case is an attempt to orphan a new auditd when an old auditd shuts down. Log both as AU

[PATCH 1/2] audit: stop an old auditd being starved out by a new auditd

2015-09-18 Thread Richard Guy Briggs
Nothing prevents a new auditd starting up and replacing a valid audit_pid when an old auditd is still running, effectively starving out the old auditd since audit_pid no longer points to the old valid auditd. If no message to auditd has been attempted since auditd died unnaturally or got killed, a

Re: single_task_running() vs. preemption warnings (was Re: [PATCH] kvm: fix preemption warnings in kvm_vcpu_block)

2015-09-18 Thread Peter Zijlstra
On Thu, Sep 17, 2015 at 01:32:55PM -0700, Tim Chen wrote: > I have no objection to change single_task_running to use > raw_smp_processor_id. The worker in mcryptd is bound to > the cpu so it has no migration/preemption issue. So it shouldn't care > which smp_processor_id version is being used. Y

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Daniel Lezcano
On 09/17/2015 12:19 PM, Caesar Wang wrote: 在 2015年09月17日 18:06, Daniel Lezcano 写道: On 09/17/2015 11:28 AM, Caesar Wang wrote: Hi Daniel, 在 2015年09月17日 17:11, Daniel Lezcano 写道: Hi Caesar, On 09/17/2015 09:51 AM, Caesar Wang wrote: Build the arm64 SoCs (e.g.: RK3368) on Rockchip platfor

[PATCH] fixup! audit: try harder to send to auditd upon netlink failure

2015-09-18 Thread Richard Guy Briggs
A bug was introduced by "audit: try harder to send to auditd upon netlink failure", caused by incomplete code and a function that expects a string and does not accept a format plus arguments. Create a temporary string variable to assemble the output text. It could be merged as a fixup if it is no

Re: [PATCH 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-18 Thread Daniel Lezcano
On 09/17/2015 11:13 PM, Russell King - ARM Linux wrote: On Thu, Sep 17, 2015 at 12:57:53PM +0200, Daniel Lezcano wrote: Hi Thomas, there is one thing I don't understand. If the IRQ0 is invalid, irq_of_parse_and_map returning zero means an error and from what you said it is ok. But I see the N

[PATCH] pramdisk: new block disk driver to perform persistent storage

2015-09-18 Thread Lin Yongting
In embed devices, user space applications will use reserved memory (i.e. persistent memory) to store business data, the data is kept in this memory region after system rebooting or panic. pramdisk is a block disk driver based on Persistent memory, it provide file system interface for application t

Re: [PATCH] arm/ls1021a: Add Sleep feature for ls1021

2015-09-18 Thread Lorenzo Pieralisi
On Fri, Sep 18, 2015 at 03:37:15AM +0100, Wang Dongsheng wrote: [...] > > > How about PSCI 1.0 support, could you share some information about it? > > > > Lorenzo has implemented basic PSCI 1.0 support [1,2], and Sudeep has been > > working on SYSTEM_SUSPEND [3], though I'm not immediately aware

[PATCH] mips: vmcore: forced convert 'hdr' in elf_check_arch()

2015-09-18 Thread yanjiang.jin
From: Yanjiang Jin elf_check_arch() will be called both in parse_crash_elf64_headers() and parse_crash_elf32_headers(). But in these two functions, the type of the parameter ehdr is different: Elf32_Ehdr and Elf64_Ehdr. Function parse_crash_elf_headers() reads e_ident[EI_CLASS] then decides to c

[V2 PATCH] mips: vmcore: forced convert 'hdr' in elf_check_arch()

2015-09-18 Thread yanjiang.jin
From: Yanjiang Jin V1->V2: According to Minfei's suggestion, coverting in the Macro rather than in vmcore.c. Already verified this patch on a MIPS64 cavium octeon board: CN78XX. This patch is to eliminate the compile warning only, has no side effect in run-time. Yanjiang Jin (1): mips: vmco

Re: First kernel patch (optimization)

2015-09-18 Thread Greg KH
On Thu, Sep 17, 2015 at 11:12:51PM -0400, Theodore Ts'o wrote: > On Wed, Sep 16, 2015 at 01:26:51PM -0400, Josh Boyer wrote: > > > > That isn't true. It helps the submitter understand the workflow and > > expectations. What you meant to say is that it doesn't help you. > > > The problem is tha

Re: [PATCH] mm: memcontrol: fix order calculation in try_charge()

2015-09-18 Thread Johannes Weiner
On Tue, Sep 15, 2015 at 02:05:57PM +0200, Jerome Marchand wrote: > Since commit <6539cc05386> (mm: memcontrol: fold mem_cgroup_do_charge()), > the order to pass to mem_cgroup_oom() is calculated by passing the number > of pages to get_order() instead of the expected size in bytes. AFAICT, > it onl

RE: [PATCH v4] ARM: configs: Add Freescale LS1021A defconfig

2015-09-18 Thread Huan Wang
> On Thu, Sep 17, 2015 at 05:03:34PM +0800, Alison Wang wrote: > > Add Freescale LS1021A initial defconfig file. > > The LS1021A SoC is a dual-core Cortex-A7 based processor. > > > > LS1021A has some special configurations against imx_v6_v7_defconfig > > and multi_v7_defconfig, such as CONFIG_ARM_L

[PATCH 4/4] ARM: dts: sun8i: Add pwm-backlight device for A23/A33 Q8 format tablets

2015-09-18 Thread Chen-Yu Tsai
The LCD backlight on the A23/A33 Q8 format tablets is enabled with a GPIO controlled regulator, and brightness controlled with the SoC's PWM controller. The backlight is powered from the AXP223 PMIC's DC1SW output, which is not supported yet. A proper bootloader is required to enable it. The brig

[PATCH 2/4] ARM: dts: sun8i: Add PWM channel 0 pinmux setting for A23/A33

2015-09-18 Thread Chen-Yu Tsai
The PWM controller has 2 outputs, with one usable pin for each. Add a pinmux setting for the first channel. This is often used for backlight dimming on tablets. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/a

[PATCH 0/4] ARM: dts: sun8i: Add pwm-backlight device for A23/A33 Q8 format tablets

2015-09-18 Thread Chen-Yu Tsai
Hi Maxime, This series adds support for the PWM controlled backlight on the A23/A33 Q8 tablets. The A23/A33 SoCs have the same PWM controller as the A20, and the tablets use it to dim the LCD backlight. The patches are pretty self-explaining. Hans, could you test this on your TZX 723Q4? It's FEX

Re: [PATCH 2/2] x86/math-emu: Remove define layer for undocumented opcodes

2015-09-18 Thread Ingo Molnar
* Denys Vlasenko wrote: > No code changes. > > Signed-off-by: Denys Vlasenko > CC: Ingo Molnar > CC: Borislav Petkov > CC: "H. Peter Anvin" > CC: Andy Lutomirski > CC: Kees Cook > CC: x...@kernel.org > CC: linux-kernel@vger.kernel.org > --- > arch/x86/math-emu/fpu_entry.c | 29 +-

[PATCH 3/4] ARM: dts: sun8i: Enable PWM controller on A23/A33 Q8 format tablets

2015-09-18 Thread Chen-Yu Tsai
A23/A33 based Q8 format tablets use channel 0 of the PWM controller for backlight dimming. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-q8-common.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-q8-common.dtsi b/arch/arm/boot/dts/sun8i-q8-common.

<    3   4   5   6   7   8   9   >