Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Linus Torvalds
On Thu, Sep 17, 2015 at 10:40 PM, Dave Chinner wrote: > > Ok, makes sense - the plug is not being flushed as we switch away, > but Chris' patch makes it do that. Yup. And I actually think Chris' patch is better than the one I sent out (but maybe the scheduler people should

Re: [PATCH] fs-writeback: drop wb->list_lock during blk_finish_plug()

2015-09-18 Thread Linus Torvalds
Gaah, my mailer autocompleted Jens' email with an old one.. Sorry for the repeat email with the correct address. On Thu, Sep 17, 2015 at 11:04 PM, Linus Torvalds wrote: > On Thu, Sep 17, 2015 at 10:40 PM, Dave Chinner wrote: >> >> PS: just

Re: [PATCH] phy: rcar-gen3-usb2: Add R-Car Gen3 USB2 PHY driver

2015-09-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 25 August 2015 02:40 PM, Yoshihiro Shimoda wrote: > This patch adds support for R-Car generation 3 USB2 PHY driver. > This SoC has 3 EHCI/OHCI channels, and the channel 0 is shared > with the HSUSB (USB2.0 peripheral) device. >From the description it looks like it's a single PHY

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

2015-09-18 Thread Greg Thelen
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 compile seems entirely I/O

RE: [PATCH] [v4] PM / hibernate: Fix hibernation panic caused by inconsistent e820 map

2015-09-18 Thread Chen, Yu C
Hi, Pavel, > -Original Message- > From: Pavel Machek [mailto:pa...@ucw.cz] > Sent: Friday, September 18, 2015 1:47 PM > To: Chen, Yu C > Cc: r...@rjwysocki.net; Brown, Len; linux...@vger.kernel.org; linux- > ker...@vger.kernel.org; Zhang, Rui; j...@suse.com; > joeyli.ker...@gmail.com;

[PATCH] staging: rtl8188eu: Introduce monitor interface for IEEE 802.11 frames

2015-09-18 Thread Jakub Sitnicki
This adds support for monitoring IEEE 802.11 Data and Management frames received or transmitted by a RTL8188EU-based device handled by this driver. The monitor interface is not enabled by default and will be registered only if monitor_enable module parameter is set to 1. When enabled it will

[PATCH] Monitor interface for rtl8188eu

2015-09-18 Thread Jakub Sitnicki
Hello, This was previously posted as a RFC[1] to linux-wireless. Following Larry Finger's suggestion[2] I'm resending it as a proposed patch. This patch is intended as a debugging aid for people working on the rtl8188eu driver. I started working on it because debug logs from rtl8188eu driver

Re: [PATCH] perf tools: session: avoid infinite loop

2015-09-18 Thread Adrian Hunter
On 17/09/15 18:41, Mark Rutland wrote: > Hi, > > On Wed, Sep 16, 2015 at 09:54:54PM +0100, Arnaldo Carvalho de Melo wrote: >> Em Wed, Sep 16, 2015 at 06:18:49PM +0100, Mark Rutland escreveu: >>> This has been observed to result in an exit-time hang when counting >>> rare/unschedulable events with

Re: [PATCH v3 1/2] dt-bindings: Add Broadcom Cygnus PCIe PHY binding

2015-09-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 15 September 2015 11:26 PM, Ray Jui wrote: > Add DT binding for Broadcom Cygnus PCIe PHYs DT binding documentation. -Kishon > > Signed-off-by: Ray Jui > Reviewed-by: Arun Parameswaran > Reviewed-by: JD (Jiandong) Zheng

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

2015-09-18 Thread 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, which is > the same level where most usb-drivers will

Re: ATL1E 0000:02:00.0: swiotlb buffer is full (sz: 529461 bytes)

2015-09-18 Thread Markus Trippelsdorf
On 2015.09.12 at 08:51 +0200, Markus Trippelsdorf wrote: > With the current Linus git tree I get an occasional swiotlb allocation > error during network setup at boot-time: > > ATL1E :02:00.0: swiotlb buffer is full (sz: 529461 bytes) > swiotlb: coherent allocation failed for device

Re: [PATCH v3 2/2] phy: cygnus: pcie: Add Cygnus PCIe PHY support

2015-09-18 Thread Kishon Vijay Abraham I
Hi, On Tuesday 15 September 2015 11:26 PM, Ray Jui wrote: > This patch adds the PCIe PHY support for the Broadcom PCIe RC interface > on Cygnus > > Signed-off-by: Ray Jui > Reviewed-by: Arun Parameswaran > Reviewed-by: JD (Jiandong) Zheng

Re: [PATCH v4 0/4] PCI: st: provide support for dw pcie

2015-09-18 Thread Gabriel Fernandez
No problem Thanks Gabriel On 17 September 2015 at 16:59, Bjorn Helgaas wrote: > Hi Gabriel, > > On Thu, Aug 27, 2015 at 02:34:13PM +0200, Gabriel Fernandez wrote: >> >> This patchset is based on v4.2-rc1 and is based on >> [PATCH v8 0/6] PCI: hisi: Add PCIe host support

[PATCH v3] netlink: Fix autobind race condition that leads to zero port ID

2015-09-18 Thread Herbert Xu
On Thu, Sep 17, 2015 at 07:30:34AM -0400, Tejun Heo wrote: > > Maybe add that this led to a deadlock and add a Link tag to this > thread? I'll add a note about the deadlock but I don't like Link tags because websites die and you can always just google the patch subject. > > + nlk_sk(sk)->bound

Re: [PATCH 11/12] mm, page_alloc: Reserve pageblocks for high-order atomic allocations on demand

2015-09-18 Thread Joonsoo Kim
On Wed, Sep 09, 2015 at 01:32:39PM +0100, Mel Gorman wrote: > On Tue, Sep 08, 2015 at 05:01:06PM +0900, Joonsoo Kim wrote: > > 2015-08-24 21:29 GMT+09:00 Mel Gorman : > > > > > > > > > +/* > > > + * Reserve a pageblock for exclusive use of high-order atomic > > >

Re: [PATCH 07/12] mm, page_alloc: Distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd

2015-09-18 Thread Joonsoo Kim
On Wed, Sep 09, 2015 at 01:22:03PM +0100, Mel Gorman wrote: > On Tue, Sep 08, 2015 at 03:49:58PM +0900, Joonsoo Kim wrote: > > 2015-08-24 21:09 GMT+09:00 Mel Gorman : > > > __GFP_WAIT has been used to identify atomic context in callers that hold > > > spinlocks or are

Re: [PATCH v8 3/5] usb: phy: add usb3.0 phy driver for mt65xx SoCs

2015-09-18 Thread Kishon Vijay Abraham I
Hi, On Wednesday 16 September 2015 12:14 PM, Chunfeng Yun wrote: > support usb3.0 phy of mt65xx SoCs few nitpicks: change $subject. This driver is no longer in usb directory. It can be just "phy: add usb3.0 phy driver for mt65xx SoCs". > > Signed-off-by: Chunfeng Yun

Re: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-18 Thread Alex Williamson
On Fri, 2015-09-18 at 16:58 +0200, Paolo Bonzini wrote: > > On 18/09/2015 16:29, Feng Wu wrote: > > VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. > > With VT-d Posted-Interrupts enabled, external interrupts from > > direct-assigned devices can be delivered to guests

Re: [PATCH 02/26] clk: Replace __clk_get_num_parents with clk_hw_get_num_parents()

2015-09-18 Thread Scott Wood
On Fri, 2015-09-18 at 08:56 -0700, Stephen Boyd wrote: > On 09/17, Scott Wood wrote: > > On Fri, 2015-07-31 at 10:03 -0700, Stephen Boyd wrote: > > > Mostly converted with the following semantic patch: > > > > > > @@ > > > struct clk_hw *E; > > > @@ > > > > > > -__clk_get_num_parents(E->clk) > >

Re: [PATCH] irq_remapping: move structs outside #ifdef

2015-09-18 Thread Thomas Gleixner
On Fri, 18 Sep 2015, Paolo Bonzini wrote: > This is friendlier to clients of the code, who are going to prepare > vcpu_data structs unconditionally, even if CONFIG_IRQ_REMAP is not > defined. > > Signed-off-by: Paolo Bonzini Reviewed-by: Thomas Gleixner

[PATCH] omapdss: acx565akm: Fix module autoload for OF platform driver

2015-09-18 Thread Luis de Bethencourt
This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt --- Hello, This patch adds the missing MODULE_DEVICE_TABLE() for OF to export that information so

Re: [PATCH] KVM: x86: trap AMD MSRs for the TSeg base and mask

2015-09-18 Thread Borislav Petkov
On Fri, Sep 18, 2015 at 05:34:24PM +0200, Paolo Bonzini wrote: > These have roughly the same purpose as the SMRR, which we do not need > to implement in KVM. However, Linux accesses MSR_K8_TSEG_ADDR at > boot, which causes problems when running a Xen dom0 under KVM. > Just return 0, meaning that

Re: [PATCH 4/7] tty: serial: msm: Add msm prefix to all driver functions

2015-09-18 Thread Stephen Boyd
On 09/12, Ivan T. Ivanov wrote: > Make function naming consistent across this driver. > No functional changes. > > Signed-off-by: Ivan T. Ivanov > --- Reviewed-by: Stephen Boyd It would be nice to rename msm_irq to something like msm_uart_irq too.

Re: [PATCH 3/7] tty: serial: msm: Fix command Stale Event Enable definition

2015-09-18 Thread Stephen Boyd
On 09/12, Ivan T. Ivanov wrote: > Stale Event Enable command should be 5 not 8, fix this. > > Signed-off-by: Ivan T. Ivanov > --- > drivers/tty/serial/msm_serial.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/tty/serial/msm_serial.h

Re: [PATCH] perf record: adding dummy event before mapping

2015-09-18 Thread Mathieu Poirier
On 18 September 2015 at 14:49, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 18, 2015 at 02:42:04PM -0600, Mathieu Poirier escreveu: >> The parameters of function 'perf_evsel__open()' in >> 'record_open()' have been changed to use the evsel's cpus and >> threads rather than the

[PATCH v2] ASoC: fsl-asoc-card: add AC'97 support

2015-09-18 Thread Maciej S. Szmigiero
Add AC'97 support to fsl-asoc-card using generic ASoC AC'97 CODEC. The SSI controller will silently enable any TX AC'97 slots that have their bits set in SLOTREQ received from CODEC and then will redirect some of playback samples there. That's why it is important to make sure that any of CODEC

Re: [PATCH v2 2/9] mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h

2015-09-18 Thread Tyler Baker
Hi, On 25 August 2015 at 18:27, Dan Williams wrote: > From: Christoph Hellwig > > Three architectures already define these, and we'll need them genericly > soon. > > Signed-off-by: Christoph Hellwig > Signed-off-by: Dan Williams

Re: [PATCH v3 2/2] phy: cygnus: pcie: Add Cygnus PCIe PHY support

2015-09-18 Thread Ray Jui
On 9/17/2015 11:22 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 15 September 2015 11:26 PM, Ray Jui wrote: >> This patch adds the PCIe PHY support for the Broadcom PCIe RC interface >> on Cygnus >> >> Signed-off-by: Ray Jui >> Reviewed-by: Arun Parameswaran

Re: [Ksummit-discuss] 2038 Kernel Summit Discussion Fodder

2015-09-18 Thread H. Peter Anvin
On 08/13/2014 01:06 PM, Arnd Bergmann wrote: > On Wednesday 13 August 2014 03:06:53 Ben Hutchings wrote: >>> On the kernel side, it also adds more complexity, where we have to add >>> even more complex compat support for 64bit systems to handle all the >>> various 32bit applications possible. >>

[PATCH v4 1/2] dt-bindings: Add Cygnus PCIe PHY binding doc

2015-09-18 Thread Ray Jui
Add DT binding document for Broadcom Cygnus PCIe PHYs Signed-off-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Scott Branden ---

[PATCH v4 2/2] phy: cygnus: pcie: Add Cygnus PCIe PHY support

2015-09-18 Thread Ray Jui
This patch adds the PCIe PHY support for the Broadcom PCIe RC interface on Cygnus Signed-off-by: Ray Jui Reviewed-by: Arun Parameswaran Reviewed-by: JD (Jiandong) Zheng Reviewed-by: Scott Branden ---

[PATCH v4 0/2] Add Cygnus PCIe Serdes/PHY support

2015-09-18 Thread Ray Jui
This patch series adds support for the Cygnus PCIe PHY This patch series is based on Linux v4.3-rc1 and is avaliable in: https://github.com/Broadcom/cygnus-linux/tree/cygnus-pcie-phy-v4 Changes from v3: - Modify the driver to use child node to represent each PCIe PHY - Update device tree

[PATCH v2 2/5] PM / OPP: Support adjusting OPP voltages at runtime

2015-09-18 Thread Stephen Boyd
On some SoCs the Adaptive Voltage Scaling (AVS) technique is employed to optimize the operating voltage of a device. At a given frequency, the hardware monitors dynamic factors and either makes a suggestion for how much to adjust a voltage for the current frequency, or it automatically adjusts the

Re: [PATCH 2/3] PCI: Add quirks for devices found on Cavium ThunderX SoCs.

2015-09-18 Thread Arnd Bergmann
On Friday 18 September 2015 10:00:32 David Daney wrote: > On 09/18/2015 12:19 AM, Arnd Bergmann wrote: > > On Thursday 17 September 2015 15:41:33 David Daney wrote: > >> From: David Daney > >> > >> The on-chip devices all have fixed bars. So, fix them up. > >> > >>

Re: [RESEND PATCH 1/1] ASoC: fsl_ssi: Fix checking of dai format for AC97 mode

2015-09-18 Thread undefined
Adam Thomson wrote: Current code incorrectly treats dai format for AC97 as bit mask whereas it's actually an integer value. This causes DAI formats other than AC97 (e.g. DSP_B) to trigger AC97 related code, which is incorrect and breaks functionality. This patch fixes the code to correctly

[PATCH v2 0/5] Support CPR on MSM8916

2015-09-18 Thread Stephen Boyd
This patch series adds support for CPR on MSM8916. The first patch exposes a corner voting API to the CPR driver so that we can change the corner for the MX regulator. If possible I would like to make this patch prettier, but I don't have any great ideas right now. The next patch adds support to

[PATCH v2 5/5] power: avs: Add support for CPR (Core Power Reduction)

2015-09-18 Thread Stephen Boyd
CPR (Core Power Reduction) is a technology that reduces core power on a CPU or other device. It reads voltage settings in efuse from product test process as initial settings and populates OPPs for the device being "monitored". Each OPP corresponds to a "corner" that has a range of valid voltages

[PATCH v2 1/5] regulator: smd: Add floor and corner operations

2015-09-18 Thread Stephen Boyd
From: Andy Gross This patch addes the Qualcomm specific functions for setting the floor and corner voltages on the regulators. Signed-off-by: Andy Gross [georgi.dja...@linaro.org: Make work with struct regulator] Signed-off-by: Georgi Djakov

[PATCH v2 4/5] cpufreq-dt: Handle OPP voltage adjust events

2015-09-18 Thread Stephen Boyd
On some SoCs the Adaptive Voltage Scaling (AVS) technique is employed to optimize the operating voltage of a device. At a given frequency, the hardware monitors dynamic factors and either makes a suggestion for how much to adjust a voltage for the current frequency, or it automatically adjusts the

[PATCH v2 3/5] OPP: Allow notifiers to call dev_pm_opp_get_{voltage,freq} RCU-free

2015-09-18 Thread Stephen Boyd
We pass the dev_pm_opp structure to OPP notifiers but the users of the notifier need to surround calls to dev_pm_opp_get_*() with RCU read locks to avoid lockdep warnings. The notifier is already called with the dev_opp's srcu lock held, so it should be safe to assume the devm_pm_opp structure is

Re: [PATCH v8 2/2] ARM: imx: support suspend states on imx7D

2015-09-18 Thread Shawn Guo
On Fri, Sep 18, 2015 at 02:38:39PM +, Shenwei Wang wrote: > > > > -Original Message- > > From: Shawn Guo [mailto:shawn...@kernel.org] > > Sent: 2015年9月18日 9:15 > > To: Wang Shenwei-B38339 > > Cc: ja...@lakedaemon.net; Huang Yongcai-B20788; > > linux-kernel@vger.kernel.org;

Re: Docs-next tree move

2015-09-18 Thread Stephen Rothwell
Hi Jon, On Fri, 18 Sep 2015 10:58:10 -0600 Jonathan Corbet wrote: > > So I've been waiting patiently for years, but it seems that the 2.6.x days > just aren't coming back. So I'm moving the docs tree to a repo that > doesn't seem quite so dated. At your convenience, could you

[PATCH] hid-core: Avoid uninitialized buffer access

2015-09-18 Thread Darren Hart
From: Richard Purdie hid_connect adds various strings to the buffer but they're all conditional. You can find circumstances where nothing would be written to it but the kernel will still print the supposedly empty buffer with printk. This leads to corruption

Re: [PATCH v3 1/2] dt-bindings: Add Broadcom Cygnus PCIe PHY binding

2015-09-18 Thread Ray Jui
On 9/17/2015 11:17 PM, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 15 September 2015 11:26 PM, Ray Jui wrote: >> Add DT binding for Broadcom Cygnus PCIe PHYs > > DT binding documentation. > > -Kishon > Yes will fix the commit message. >> >> Signed-off-by: Ray Jui

Re: [PATCH v2 2/9] mm: move __phys_to_pfn and __pfn_to_phys to asm/generic/memory_model.h

2015-09-18 Thread Dan Williams
On Fri, Sep 18, 2015 at 4:42 PM, Tyler Baker wrote: > Hi, > > On 25 August 2015 at 18:27, Dan Williams wrote: >> From: Christoph Hellwig >> >> Three architectures already define these, and we'll need them genericly >> soon. >> >>

[PATCH] [media] c8sectpfe: Fix uninitialized return in load_c8sectpfe_fw_step1()

2015-09-18 Thread Christian Engelmayer
In case of failure loading the firmware, function load_c8sectpfe_fw_step1() uses the uninitialized variable ret as return value instead of the retrieved error value. Make sure the result is deterministic. Detected by Coverity CID 1324230. Signed-off-by: Christian Engelmayer ---

Re: [PATCH 2/4] tty: serial: cpm_uart: Fix module autoload for OF platform driver

2015-09-18 Thread Timur Tabi
Luis de Bethencourt wrote: This platform driver has a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt Acked-by: Timur Tabi -- To unsubscribe from this list:

Re: [PATCH 2/3] PCI: Add quirks for devices found on Cavium ThunderX SoCs.

2015-09-18 Thread David Daney
On 09/18/2015 12:45 PM, Arnd Bergmann wrote: On Friday 18 September 2015 10:00:32 David Daney wrote: On 09/18/2015 12:19 AM, Arnd Bergmann wrote: On Thursday 17 September 2015 15:41:33 David Daney wrote: From: David Daney The on-chip devices all have fixed bars. So,

Re: [PATCH 12/12] mm, page_alloc: Only enforce watermarks for order-0 allocations

2015-09-18 Thread Joonsoo Kim
On Wed, Sep 09, 2015 at 01:39:01PM +0100, Mel Gorman wrote: > On Tue, Sep 08, 2015 at 05:26:13PM +0900, Joonsoo Kim wrote: > > 2015-08-24 21:30 GMT+09:00 Mel Gorman : > > > The primary purpose of watermarks is to ensure that reclaim can always > > > make forward

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

2015-09-18 Thread Inha Song
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: ASRC underclocked [ 42.828281] s3c64xx_spi_runtime_suspend -> suspend

Re: [PATCH v2] clk:mxs: Fix bug on frequency divider

2015-09-18 Thread Stefan Wahren
+Shawn's new address +linux-arm-kernel > On drivers/clk/mxs/clk-frac.c, the function clk_frac_round_rate returned a bad > result. The division before multiplication computes a wrong value ; the > calculation is inverted to fix the problem. The second issue is that the exact > rate have decimals

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

2015-09-18 Thread Huang Shijie
On Fri, Sep 18, 2015 at 02:58:52PM +0800, Bayi Cheng wrote: > 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 + >

[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

[PATCH 1/4] ARM: dts: sun8i: Add PWM controller node for A23/A33

2015-09-18 Thread Chen-Yu Tsai
A23/A33 have a PWM controller that is compatible to the one on the A20. Add a device node for it. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi

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

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

[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

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

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

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

  1   2   3   4   5   6   7   8   9   10   >