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 ...

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:

[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

[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

[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

[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 +++

[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

[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

[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

[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

[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

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

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

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,

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

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

2015-09-18 Thread Hans Verkuil
On 09/18/15 11:26, Arnd Bergmann wrote: > 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.

[PATCH] nvmem: core: Handle shift bits in-place if cell->nbits is non-zero

2015-09-18 Thread Axel Lin
It's pointless to test (cell->bit_offset || cell->bit_offset). nvmem_shift_read_buffer_in_place() should be called when (cell->bit_offset || cell->nbits). Signed-off-by: Axel Lin --- drivers/nvmem/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v2 0/2] changelog

2015-09-18 Thread Marc Zyngier
On Fri, 18 Sep 2015 11:18:40 +0200 Oleksij Rempel wrote: Hi Oleksij, > 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:

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-18 Thread Vinson Lee
On Wed, Sep 16, 2015 at 3:45 PM, David Howells wrote: > David Howells wrote: > >> Hmmm... Tricky. I'll have to think about it. I'm using PKCS7_NOCERTS with >> PKCS7_sign_add_signer() (or the CMS equivalents) to leave the cert list out >> of >> the

Re: [PATCH 2/2] drivers: clk: st: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x

2015-09-18 Thread Maxime Coquelin
On 09/17/2015 08:51 PM, Stephen Boyd wrote: On 09/16, Gabriel Fernandez wrote: Use a generic name for this kind of PLL Correction in dts files are already done here: commit 5eb26c605909 ("ARM: STi: DT: Rename st_pll3200c32_407_c0_x into st_pll3200c32_cx_x") Signed-off-by: Gabriel Fernandez

Re: [RESEND PATCH 0/2] ST PLL fixes for 4.3-rc2

2015-09-18 Thread Maxime Coquelin
On 09/17/2015 08:14 PM, Stephen Boyd wrote: On 09/17, Maxime Coquelin wrote: On 09/17/2015 12:30 AM, Stephen Boyd wrote: On 09/16, Gabriel Fernandez wrote: This patch set fixes a kernel crash : [..] This kernel crash is due to a broken compatibility with this commit: commit 5eb26c605909

[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

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

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

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

[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

[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

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

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

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

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

[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: [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:

[PATCH 6/7] phy: fixed-phy: properly validate phy in fixed_phy_update_state()

2015-09-18 Thread Russell King
Validate that the phy_device passed into fixed_phy_update_state() is a fixed-phy device before walking the list of phys for a fixed phy at the same address. Signed-off-by: Russell King --- drivers/net/phy/fixed_phy.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/7] phy: add proper phy struct device refcounting

2015-09-18 Thread Russell King
Take a refcount on the phy struct device when the phy device is attached to a network device, and drop it after it's detached. This ensures that a refcount is held on the phy device while the device is being used by a network device, thereby preventing the phy_device from being unexpectedly

[PATCH 5/7] net: fix phy refcounting in a bunch of drivers

2015-09-18 Thread Russell King
of_phy_find_device() increments the phy struct device refcount, which we need to properly balance. Add code to network drivers using this function to ensure that the struct device refcount is correctly balanced. Signed-off-by: Russell King ---

[PATCH 7/7] phy: add phy_device_remove()

2015-09-18 Thread Russell King
Add a phy_device_remove() function to complement phy_device_register(), which undoes the effects of phy_device_register() by removing the phy device from visibility, but not freeing it. This allows these details to be moved out of the mdio bus code into the phy code where this action belongs.

Re: [PATCH 0/7] Phy and mdiobus fixes

2015-09-18 Thread Russell King - ARM Linux
Sorry guys, some of you will get the patches twice, as Sören's name in the header caused vger to reject all the patches. -- FTTC broadband for 0.8mile line: currently at 9.6Mbps down 400kbps up according to speedtest.net. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel"

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

2015-09-18 Thread Richard Guy Briggs
On 15/09/18, Steve Grubb wrote: > 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

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

2015-09-18 Thread Hans Verkuil
On 09/18/15 12:08, Arnd Bergmann wrote: > On Friday 18 September 2015 11:52:28 Hans Verkuil wrote: >> On 09/18/15 11:43, Arnd Bergmann wrote: >>> 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

Re: [PATCH V3] mmc: block: Add new ioctl to send multi commands

2015-09-18 Thread Jon Hunter
On 17/09/15 07:59, Ulf Hansson wrote: > [...] > + /* +* The caller must have CAP_SYS_RAWIO, and must be calling this on the +* whole block device, not on a partition. This prevents overspray +* between sibling partitions. +*/

RE: [PATCH] Added multiplier for APERF and MPERF counters

2015-09-18 Thread Anaczkowski, Lukasz
From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] Sent: Thursday, September 17, 2015 7:05 PM > Please *always* send PM-related patches to linux...@vger.kernel.org (CCed > now). Ok, thanks for noticing. I've addressed my patch based on output of ./scripts/get_maintainer.pl and gave me output

Re: [PATCH 1/2] x86/math-emu: Add support for FCMOVcc and F[U]COMI[P] insns

2015-09-18 Thread Ingo Molnar
* Denys Vlasenko wrote: > Run-tested by booting with "no387 nofxsr" and running test programs: > > # ./test_FCMOV > [RUN] Testing fcmovCC instructions > [OK] fcmovCC > # ./test_FCOMI > [RUN] Testing f[u]comi[p] instructions > [OK] f[u]comi[p] > > Signed-off-by: Denys

[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

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 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

[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

[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

[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

[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

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

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

[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

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

[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 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

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

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

2015-09-18 Thread Hans Verkuil
On 09/18/15 11:43, Arnd Bergmann wrote: > 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

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-18 Thread Boqun Feng
On Fri, Sep 18, 2015 at 07:49:56PM +1000, Michael Ellerman wrote: > On Fri, 2015-09-18 at 08:22 +0800, Boqun Feng wrote: > > Ping ;-) > > Hi Boqun, > Hello, > We keep track of patches in patchwork: > > http://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=67102 > Good to know

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

2015-09-18 Thread Thomas Gleixner
On Fri, 18 Sep 2015, Oleksij Rempel wrote: > Some HW has similar functionality but different register offsets. > Make sure we can change offsets dynamically. You forgot to mention the other preparatory changes. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe

[PATCH v2 0/3] Mediatek SPI-NOR flash driver

2015-09-18 Thread Bayi Cheng
The patch supports MediaTek's NOR flash controller. THe NOR flash controller is specifically for spi nor flash, and it is more stable and faster than SPI bus, the MTK NOR controller not only support single mode but also support dual mode and quad mode. This series is based on v4.3-rc1 and

[PATCH v2 3/3] arm64: dts: mt8173: Add nor flash node

2015-09-18 Thread Bayi Cheng
Add Mediatek nor flash node Signed-off-by: Bayi Cheng --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index

[PATCH v2 1/3] doc: dt: add documentation for Mediatek spi-nor controller

2015-09-18 Thread Bayi Cheng
Add device tree binding documentation for serial flash with Mediatek serial flash controller Signed-off-by: Bayi Cheng --- .../devicetree/bindings/mtd/mtk_quadspi.txt| 27 ++ 1 file changed, 27 insertions(+) create mode 100644

[PATCH v2 2/3] mtd: mtk-nor: mtk serial flash controller driver

2015-09-18 Thread Bayi Cheng
add spi nor flash driver for mediatek controller Signed-off-by: Bayi Cheng --- drivers/mtd/spi-nor/Kconfig | 7 + drivers/mtd/spi-nor/Makefile | 1 + drivers/mtd/spi-nor/mtk_quadspi.c | 483 ++ 3 files changed, 491

Re: [PATCH 16/16] phy: phy-core: fix initcall level

2015-09-18 Thread Alexander Holler
Am 18.09.2015 um 08:16 schrieb Kishon Vijay Abraham I: Hi, On Wednesday 26 August 2015 05:58 PM, Alexander Holler wrote: The phy-core has to be initialized before other dependent usb-drivers, otherwise a crash might occur. Currently phy_core_init() is called in the initcall-level device,

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

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

[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

[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.

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

[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

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 > > +*/

[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

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

[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

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

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: [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

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

2015-09-18 Thread Chen-Yu Tsai
On Fri, Sep 18, 2015 at 4:48 PM, Maxime Ripard wrote: > 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

Re: [PATCH] nvmem: core: Handle shift bits in-place if cell->nbits is non-zero

2015-09-18 Thread Srinivas Kandagatla
Hi Axel, Thanks for the patch Acked-by: Srinivas Kandagatla I remember fixing this sometime back which was reported by static checker reported by Dan Carpenter, I forgot to send it over to wider audience. Thanks for reminding. --srini On 18/09/15 10:50,

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

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 11:52:28 Hans Verkuil wrote: > On 09/18/15 11:43, Arnd Bergmann wrote: > > 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

[GIT PULL] Please pull powerpc/linux.git powerpc-4.3-2 tag

2015-09-18 Thread Michael Ellerman
Hi Linus, Please pull powerpc fixes for 4.3: The following changes since commit 7d9071a095023cd1db8fa18fa0d648dc1a5210e0: Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs (2015-09-05 20:34:28 -0700) are available in the git repository at:

Re: [PATCH v2 0/2] changelog

2015-09-18 Thread Thomas Gleixner
On Fri, 18 Sep 2015, Oleksij Rempel wrote: 'changelog' is not really a descriptive subject line for a cover letter. Thanks, tglx -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH 1/2] x86/msr: Carry on after a non-"safe" MSR access fails without !panic_on_oops

2015-09-18 Thread Ingo Molnar
* Andy Lutomirski wrote: > This demotes an OOPS and likely panic due to a failed non-"safe" MSR > access to a WARN_ON_ONCE and a return of poisoned values (in the > RDMSR case). We still write a pr_info entry unconditionally for > debugging. > > To be clear, this type of

[PATCH] ARM: pxa: Remove unused clock_enable field from struct pxa2xx_spi_master

2015-09-18 Thread Jarkko Nikula
Use for struct pxa2xx_spi_master clock_enable field was removed years ago from the pxa2xx-spi driver by the commit 2f1a74e5a2de ("[ARM] pxa: make pxa2xx_spi driver use ssp_request()/ssp_free()"). Therefore remove it from structure definition, documentation and from couple affected board files.

[PATCH v10 4/5] QE/CPM: move muram management functions to qe_common

2015-09-18 Thread Zhao Qiang
QE and CPM have the same muram, they use the same management functions. Now QE support both ARM and PowerPC, it is necessary to move QE to "driver/soc", so move the muram management functions from cpm_common to qe_common for preparing to move QE code to "driver/soc" Signed-off-by: Zhao Qiang

[PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-18 Thread Zhao Qiang
Use genalloc to manage CPM/QE muram instead of rheap. Signed-off-by: Zhao Qiang --- Changes for v9: - splitted from patch 3/5, modify cpm muram management functions. Changes for v10: - modify cpm muram first, then move to qe_common - modify

[PATCH v10 5/5] QE: Move QE from arch/powerpc to drivers/soc

2015-09-18 Thread Zhao Qiang
ls1 has qe and ls1 has arm cpu. move qe from arch/powerpc to drivers/soc/fsl to adapt to powerpc and arm Signed-off-by: Zhao Qiang --- Changes for v2: - move code to driver/soc Changes for v3: - change drivers/soc/qe to drivers/soc/fsl-qe Changes for v4:

[PATCH v10 1/5] genalloc:support memory-allocation with bytes-alignment to genalloc

2015-09-18 Thread Zhao Qiang
Bytes alignment is required to manage some special RAM, so add gen_pool_first_fit_align to genalloc, meanwhile add gen_pool_alloc_data to pass data to gen_pool_first_fit_align(modify gen_pool_alloc as a wrapper) Signed-off-by: Zhao Qiang --- Changes for v6: -

[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

[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

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

[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

[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 ---

[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

[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

[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

[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

Re: [PATCH] powerpc: Kconfig: remove BE-only platforms from LE kernel build

2015-09-18 Thread Michael Ellerman
On Fri, 2015-09-18 at 08:22 +0800, Boqun Feng wrote: > Ping ;-) Hi Boqun, We keep track of patches in patchwork: http://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=67102 So your patch won't be forgotten. I tend to start taking patches for next after rc2, which should come out

<    5   6   7   8   9   10   11   12   13   14   >