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

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 + > drivers/mtd/spi-nor/mtk_quadspi.c | 483 >

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

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

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

[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: - patches set v6 include a new

[PATCH v10 2/5] genalloc:support allocating specific region

2015-09-18 Thread Zhao Qiang
Add new algo for genalloc, it reserve a specific region of memory matching the size requirement (no alignment constraint) Signed-off-by: Zhao Qiang --- Changes for v9: - reserve a specific region, if the return region - is not during the specific region, return fail. Changes for

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

2015-09-18 Thread Arnd Bergmann
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. > > Signed-off-by: David Daney > You should be able to just mark the BARs as fixed in DT and not need this hack. If that doesn't work with current

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

2015-09-18 Thread Hans Verkuil
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? On 09/17/2015 11:19 PM, Arnd Bergmann wrote: > This is the final change to enable user space

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

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 failure should *not*

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 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: Hi Jeremy, > 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,

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,

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

[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 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 d18ee42..385c2e4 100644 ---

[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

Re: [PATCH] Documentation: Remove misleading examples of the barriers in wake_*()

2015-09-18 Thread Peter Zijlstra
On Thu, Sep 17, 2015 at 07:01:11PM +0200, Oleg Nesterov wrote: > On 09/17, Peter Zijlstra wrote: > > > > Included in it are some of the details on this subject, because a wakeup > > has two prior states that are of importance, the tasks own prior state > > and the wakeup state, both should be

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 progress in PF_MEMALLOC context

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: 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 message - but it's then necessary to

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 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 in interrupts. They are

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 > > > allocations if > > > + * there

[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 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 for HiSilicon SoC Hip05

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 > Reviewed-by: Scott Branden > --- >

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 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 > Reviewed-by: Scott Branden > --- >

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

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

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] 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: [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 hit another "did this just get broken in 4.3-rc1"

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 take a look at the

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

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