linux-next: manual merge of the battery tree with the arm-soc tree

2014-09-29 Thread Stephen Rothwell
Hi Sebastian, Today's linux-next merge of the battery tree got conflicts in drivers/power/reset/Kconfig and drivers/power/reset/Makefile between commit 0e545f57b708 (power: reset: driver for the Versatile syscon reboot) from the arm-soc tree and commit f0745f3696e8 (power: reset: Add restart

[PATCH 3/4] MAINTAINERS: Add new device driver entry for PEX pex8xxx

2014-09-29 Thread Rajat Jain
Signed-off-by: Rajat Jain rajatxj...@gmail.com Signed-off-by: Rajat Jain rajatj...@juniper.net Signed-off-by: Guenter Roeck gro...@juniper.net --- MAINTAINERS |7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..0ef7a92 100644 --- a/MAINTAINERS

[PATCH 2/4] pci/pex8xxx: Add sysfs interface for userspace access.

2014-09-29 Thread Rajat Jain
Add the sysfs ABI for the I2C interface the PLX pex8xxx PCIe switch. The ABI is documented, and a patch to Documentation accompanies this patch. Signed-off-by: Rajat Jain rajatxj...@gmail.com Signed-off-by: Rajat Jain rajatj...@juniper.net Signed-off-by: Guenter Roeck gro...@juniper.net ---

[PATCH 4/4] Documentation: Add documentation for the PCI switch PEX8xxx I2C driver

2014-09-29 Thread Rajat Jain
Signed-off-by: Rajat Jain rajatxj...@gmail.com Signed-off-by: Rajat Jain rajatj...@juniper.net Signed-off-by: Guenter Roeck gro...@juniper.net --- Documentation/PCI/pex8xxx_i2c.txt | 134 + 1 file changed, 134 insertions(+) create mode 100644

Re: [PATCH v3 3/5] mm/hugetlb: fix getting refcount 0 page in hugetlb_fault()

2014-09-29 Thread Hugh Dickins
On Mon, 15 Sep 2014, Naoya Horiguchi wrote: When running the test which causes the race as shown in the previous patch, we can hit the BUG get_page() on refcount 0 page in hugetlb_fault(). Two minor comments... @@ -3192,22 +3208,19 @@ int hugetlb_fault(struct mm_struct *mm, struct

[PATCH v3] mm: add mremap flag for preserving the old mapping

2014-09-29 Thread Daniel Micay
This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source location will fault and cause fresh pages to be mapped in. For consistency, the old_len = new_len case could decommit the pages instead of

Re: [PATCH 3/3] drivers/rtc/rtc-snvs: Add clock support

2014-09-29 Thread Sanchayan Maity
This patch adds clock enable and disable support for the SNVS peripheral which is required by the SNVS RTC. Signed-off-by: Sanchayan Maity maitysancha...@gmail.com --- drivers/rtc/rtc-snvs.c | 48 +++- 1 file changed, 39 insertions(+), 9

Re: [PATCH] Fix getsockopt(SO_PEERNAME) buffer size against potential future buffer overflow

2014-09-29 Thread David Miller
From: Samuel Thibault samuel.thiba...@ens-lyon.org Date: Sun, 28 Sep 2014 15:55:45 +0200 In net/core/sock.c's sock_getsockopt, the address buffer size is hardcoded to 128. It happens that sizeof(struct sockaddr_storage) is indeed 128, but that is just luck and would probably not get updated

Re: [PATCH 1/4] ARM: DT: apq8064: add rpm support

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 15:17 PDT 2014, Stephen Boyd wrote: On 09/29/14 02:14, Srinivas Kandagatla wrote: @@ -246,6 +247,24 @@ #reset-cells = 1; }; + apcs: syscon@2011000 { + compatible = syscon; + reg =

[PATCH v3 0/2] clocksource: Add BE APIs support.

2014-09-29 Thread Xiubo Li
Change in V3: - Provide a separate patch for using newer memory accessors. Change in V2: - Using ioread{16,32}[be]() instead of readl_relaxed(). - Add clocksource_mmio_readX_Y_be() supports only. Xiubo Li (2): clocksource: Update to the newer memory functions. clocksource: Add BE APIs

Re: [PULL for 3.18] overlay filesystem v24

2014-09-29 Thread J. R. Okajima
David Howells: Miklos Szeredi mik...@szeredi.hu wrote: I'd like to propose overlayfs for inclusion into 3.18. Al, would you mind giving it a review? Git tree is here: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs.current Tested-by: David

[PATCH v3 1/2] clocksource: Update to the newer memory functions.

2014-09-29 Thread Xiubo Li
Use ioread{16,32} instead of read{w,l}_relaxed. For read{w,l}_relaxed accessor, if one arch has its own defination, then used it. Or will use the generic one, which will be read as LE endian as default. For some ARCHes, such PowerPC, if using the clocksource mmio, the read{w,l}_relaxed will

[PATCH v3 2/2] clocksource: Add BE APIs support for clocksource counter reading.

2014-09-29 Thread Xiubo Li
Signed-off-by: Xiubo Li li.xi...@freescale.com --- drivers/clocksource/mmio.c | 20 include/linux/clocksource.h | 4 2 files changed, 24 insertions(+) diff --git a/drivers/clocksource/mmio.c b/drivers/clocksource/mmio.c index d3cbf70..d35a407 100644 ---

RE: [PATCH] regmap: fix possible ZERO_SIZE_PTR pointer dereferencing error.

2014-09-29 Thread li.xi...@freescale.com
Hi, diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index 455a877..3d93e38 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -1716,6 +1716,9 @@ out: Whatever you're using to generate the patches isn't annotating with the

Re: [PATCH 1/4] ARM: DT: apq8064: add rpm support

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 02:14 PDT 2014, Srinivas Kandagatla wrote: This patch adds rpm node to apq8064 dt as rpm would be used by other devices for regulator support. Signed-off-by: Srinivas Kandagatla srinivas.kandaga...@linaro.org --- arch/arm/boot/dts/qcom-apq8064.dtsi | 19 +++

Re: [PATCH 2/4] ARM: DT: apq8064: Add usb host support.

2014-09-29 Thread Bjorn Andersson
On Mon 29 Sep 02:15 PDT 2014, Srinivas Kandagatla wrote: This patch adds device tree nodes to support two usb hosts on APQ8064 SOC. Sorry for not looking at the entire series before answering patch 1. I still think you should add all the regulators in the first patch anyways. +++

Re: [PATCH net 1/1 V2] hyperv: Fix a bug in netvsc_start_xmit()

2014-09-29 Thread David Miller
From: K. Y. Srinivasan k...@microsoft.com Date: Sun, 28 Sep 2014 22:16:43 -0700 After the packet is successfully sent, we should not touch the skb as it may have been freed. This patch is based on the work done by Long Li lon...@microsoft.com. In this version of the patch I have fixed

Re: [PATCH] s390: remove unused Kconfig params

2014-09-29 Thread Michael Opdenacker
Hi Heiko, On 09/27/2014 09:57 AM, Heiko Carstens wrote: On Sat, Sep 27, 2014 at 08:25:30AM +0200, Michael Opdenacker wrote: Remove the below Kconfig parameters, which are no longer used anywhere in the source code and Makefiles: HAVE_MARCH_Z900_FEATURES HAVE_MARCH_Z990_FEATURES

Re: [PATCH v2 4/6] drivers: uio: Add X-Gene QMTM UIO driver

2014-09-29 Thread Guenter Roeck
On Tue, Sep 30, 2014 at 09:56:07AM +0530, Ankit Jindal wrote: The Applied Micro X-Gene SOC has on-chip QMTM (Queue manager and Traffic manager) which is hardware based Queue or Ring manager. This QMTM device can be used in conjunction with other devices such as DMA Engine, Ethernet, Security

Re: checkpatch: CHECK: No space is necessary after a cast

2014-09-29 Thread Kalle Valo
Joe Perches j...@perches.com writes: On Mon, 2014-09-29 at 14:49 +0300, Kalle Valo wrote: Hi Joe, I have a problem with checkpatch. On ath10k we have this function: static inline struct ath10k_skb_cb *ATH10K_SKB_CB(struct sk_buff *skb) { BUILD_BUG_ON(sizeof(struct ath10k_skb_cb)

Re: [PATCH 29/38] Introduce dev_printk_string() and dev_printk_header()

2014-09-29 Thread Hannes Reinecke
On 09/29/2014 06:58 PM, Greg Kroah-Hartman wrote: On Mon, Sep 29, 2014 at 01:58:58PM +0200, Hannes Reinecke wrote: Introducing dev_printk_string() and dev_printk_header() to allow using an external buffer for printing via dev_printk(). Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Cc:

Re: [PATCH v3] mm: add mremap flag for preserving the old mapping

2014-09-29 Thread Andy Lutomirski
On Mon, Sep 29, 2014 at 9:55 PM, Daniel Micay danielmi...@gmail.com wrote: This introduces the MREMAP_RETAIN flag for preserving the source mapping when MREMAP_MAYMOVE moves the pages to a new destination. Accesses to the source location will fault and cause fresh pages to be mapped in. For

Re: [PATCH 1/2] DT: add binding for mxs regulator

2014-09-29 Thread Stefan Wahren
Hi Mark, Am 28.09.2014 um 12:22 schrieb Mark Brown: On Sat, Sep 27, 2014 at 12:59:47AM +, Stefan Wahren wrote: This patch adds the Device tree bindings for the Freescale MXS on-chip regulators. Use subject lines matching the style for the subsystem. sorry i'm not sure what's wrong with

Re: [PATCH] drivers/usb/host/ehci-xilinx-of.c: Include linux/of_irq.h to avoid compiling error

2014-09-29 Thread Greg Kroah-Hartman
On Wed, Sep 24, 2014 at 11:41:55AM -0400, Alan Stern wrote: On Mon, 22 Sep 2014, Michal Simek wrote: Hi Alan and Greg, On 09/20/2014 06:19 AM, Chen Gang wrote: Hello Maintainers: Please help check this patch, when you have time. Thanks. On 09/08/2014 01:20 PM,

Re: [PATCH v5 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-29 Thread Greg KH
On Thu, Sep 25, 2014 at 10:50:22AM +0530, Vivek Gautam wrote: Hi Greg, On Mon, Sep 22, 2014 at 11:15 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on

Re: [PATCH] Drivers: Staging: Android: sw_sync: Fixed a blank line after declaration coding style issue on lines 100 and 159

2014-09-29 Thread Greg KH
On Sun, Sep 28, 2014 at 12:14:56PM +0100, Mike Roocroft wrote: Fixed a coding style issue Signed-off-by: Mike Roocroft mike.li...@btinternet.com --- drivers/staging/android/sw_sync.c | 2 ++ 1 file changed, 2 insertions(+) This patch was done already by someone else, please always use the

Re: [PATCH 2/2] Staging: android: sw_sync: fixed a coding style issues

2014-09-29 Thread Greg KH
On Fri, Sep 26, 2014 at 12:08:22AM +0100, Mike Roocroft wrote: Signed-off-by: Mike Roocroft mike.li...@btinternet.com What coding style issues? -- 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

[xen/spinlock] e0fc17a9363: +24.6% aim9.dir_rtns_1.ops_per_sec

2014-09-29 Thread Fengguang Wu
Hi Konrad, We are glad to find that your patch increases the aim9 test performance by up to +24.6%! e0fc17a936334c08b2729fff87168c03fdecf5b6 (xen/spinlock: Don't enable them unconditionally.) test case: brickland3/aim9/5s-all brickland3 is an Ivy Bridge-EX with 512G memory. c0914e61660fa7d

Re: [PATCH v5 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-29 Thread Vivek Gautam
On Mon, Sep 29, 2014 at 7:21 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Sep 25, 2014 at 10:50:22AM +0530, Vivek Gautam wrote: Hi Greg, On Mon, Sep 22, 2014 at 11:15 AM, Vivek Gautam gautam.vi...@samsung.com wrote: Now that we have completely moved from older USB-PHY drivers

[PATCH v5 RESEND 1/2] usb: host: ehci-exynos: Remove unnecessary usb-phy support

2014-09-29 Thread Vivek Gautam
Now that we have completely moved from older USB-PHY drivers to newer GENERIC-PHY drivers for PHYs available with USB controllers on Exynos series of SoCs, we can remove the support for the same in our host drivers too. We also defer the probe for our host in case we end up getting EPROBE_DEFER

Re: [PATCH 2/6] phy: improved lookup method

2014-09-29 Thread Kishon Vijay Abraham I
On Thursday 25 September 2014 12:30 PM, Heikki Krogerus wrote: Assume you have 2 phys in your system.. static struct phy_lookup usb_lookup = { .phy_name = phy-usb.0, .dev_id = usb.0, .con_id = usb, }; static struct phy_lookup sata_lookup = {

[PATCH 0/2 v2] SPI: spi-pxa2xx: Add support for Intel Quark X1000 SPI controller

2014-09-29 Thread Weike Chen
Hi, Intel Quark X1000 consists of two SPI controllers which can be PCI enumerated. SPI-PXA2XX PCI layer doesn't support it. Thus, we add support for Intel Quark X1000 SPI as well. --- v2: Split into two patches: one is for helper functions, and another is for quark supporting. [PATCH 1/2] *

[PATCH 2/2 v2] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-09-29 Thread Weike Chen
There are two SPI controllers exported by PCI subsystem for Intel Quark X1000. The SPI memory mapped I/O registers supported by Quark are different from the current implementation, and Quark only supports the registers of 'SSCR0', 'SSCR1', 'SSSR', 'SSDR', and 'DDS_RATE'. This patch is to enable

[PATCH 1/2 v2] SPI: spi-pxa2xx: Add helpers for regiseters' accessing

2014-09-29 Thread Weike Chen
Introduce helper functions to access the 'SSCR0' and 'SSCR1'. Signed-off-by: Weike Chen alvin.c...@intel.com --- drivers/spi/spi-pxa2xx.c | 108 -- 1 file changed, 85 insertions(+), 23 deletions(-) diff --git a/drivers/spi/spi-pxa2xx.c

Re: [PATCH v3] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-29 Thread Wim Van Sebroeck
Hi Beniamino, You have my Acked-by or Signbed-off-by on this one. I believe this goes via the mfd tree. Kind regards, Wim. This adds a driver for the watchdog timer available in Ricoh RN5T618 PMIC. The device supports a programmable expiration time of 1, 8, 32 or 128 seconds.

color box, display box, corrugated box, color card, blister card, color sleeve, hang tag, label

2014-09-29 Thread Jinghao Printing - CHINA
Hi, this is David Wu from Shanghai, China. We are a printing company, we can print color box, corrugated box, label, hang tag etc. Please let me know if you need these. I will send you the website then. Best regards, David Wu -- To unsubscribe from this list: send the line unsubscribe

Re: [PATCH 2/2] regulator: add mxs regulator driver

2014-09-29 Thread Stefan Wahren
Hi Mark, thanks for your comments. Now it looks to me, that i try to reinvent the wheel. I'm searching for a good regulator implementation example. Does it apply to ti-abb-regulator.c and twl-regulator.c? Am 28.09.2014 um 12:16 schrieb Mark Brown: On Sat, Sep 27, 2014 at 12:59:48AM +,

Re: [RFC/PATCH 1/5] mtd: ubi: Read disturb infrastructure

2014-09-29 Thread Jeremiah Mahler
Tanya, On Mon, Sep 29, 2014 at 07:46:34AM +0300, Tanya Brokhman wrote: Hi Jeremiah, On 9/28/2014 9:13 PM, Jeremiah Mahler wrote: Tanya, On Sun, Sep 28, 2014 at 09:37:00AM +0300, Tanya Brokhman wrote: The need for performing read disturb is determined according to new statistics

Re: [PATCH] drivers/usb/host/ehci-xilinx-of.c: Include linux/of_irq.h to avoid compiling error

2014-09-29 Thread Chen Gang
On 9/29/14 9:52, Greg Kroah-Hartman wrote: On Wed, Sep 24, 2014 at 11:41:55AM -0400, Alan Stern wrote: On Mon, 22 Sep 2014, Michal Simek wrote: Alan: Can you please add this patch to your queue? Greg: If Alan is not maintaining this part of kernel, is this patch in your queue? I have also

Re: [PATCH] perf tools: fix build breakage on arm and arm64 targets

2014-09-29 Thread Jean Pihet
Hi Will, On 26 September 2014 19:19, Sudeep Holla sudeep.ho...@arm.com wrote: On 26/09/14 18:01, Will Deacon wrote: Attempting to build the perf tool on arm or arm64 targets results in the following failure: arch/arm/util/unwind-libunwind.c: In function ‘libunwind__arch_reg_id’:

Re: [PATCH -mm 00/14] Per memcg slab shrinkers

2014-09-29 Thread Vladimir Davydov
ping On Sun, Sep 21, 2014 at 07:14:32PM +0400, Vladimir Davydov wrote: Hi, Kmem accounting of memcg is unusable now, because it lacks slab shrinker support. That means when we hit the limit we will get ENOMEM w/o any chance to recover. What we should do then is to call shrink_slab, which

Re: [PATCH] ACPI / i915: Update the condition to ignore firmware backlight change request

2014-09-29 Thread Daniel Vetter
On Fri, Sep 26, 2014 at 11:52:09PM +0200, Rafael J. Wysocki wrote: On Friday, September 26, 2014 10:30:08 AM Aaron Lu wrote: Some of the Thinkpads' firmware will issue a backlight change request through i915 operation region unconditionally on AC plug/unplug, the backlight level used is

Re: [PATCH 0/4] Simplify cpuset API and fix cpuset check in SL[AU]B

2014-09-29 Thread Zefan Li
On 2014/9/26 22:50, Vladimir Davydov wrote: Hi, SLAB and SLUB use hardwall cpuset check on fallback alloc, while the page allocator uses softwall check for all kernel allocations. This may result in falling into the page allocator even if there are free objects on other nodes. SLAB

Re: [PATCH v6 1/2] ASoC:codecs: Add a transmitter interface to the HDMI CODEC CODEC

2014-09-29 Thread Andrew Jackson
On 09/24/14 08:49, Jean-Francois Moine wrote: The audio constraints of the HDMI interface are defined by the EDID which is sent by the connected device. The HDMI transmitters may have one or many audio sources. This patch adds two functions to the HDMI CODEC: - it updates the audio

Re: [PATCHv3] pinctrl: baytrail: Clear DIRECT_IRQ bit

2014-09-29 Thread Mika Westerberg
On Fri, Sep 26, 2014 at 04:14:51PM +0200, Loic Poulain wrote: Direct irq en bit should be cleared for pads using io mode. If not, the io based irq will never be detected. However, this bit can sometimes be misconfigured (BIOS issue). Force clearing of this bit in io mode and trigger a WARN.

Re: [PATCH] mmc: atmel-mci: fix mismatched section on atmci_cleanup_slot

2014-09-29 Thread Ludovic Desroches
On Fri, Sep 26, 2014 at 09:34:58PM +0200, Arnd Bergmann wrote: As of 528bc7808f4e (mmc: atmel-mci: Release mmc resources on failure in probe), the atmci_probe() function calls atmci_cleanup_slot in the failure path. This causes a new warning whenever the driver is built: WARNING:

Re: [REGRESSION] [PATCH 1/3] mm/slab: use percpu allocator for cpu cache

2014-09-29 Thread Joonsoo Kim
On Sat, Sep 27, 2014 at 11:24:49PM -0700, Jeremiah Mahler wrote: On Thu, Aug 21, 2014 at 05:11:13PM +0900, Joonsoo Kim wrote: Because of chicken and egg problem, initializaion of SLAB is really complicated. We need to allocate cpu cache through SLAB to make the kmem_cache works, but, before

Re: [PATCH v3] zsmalloc: merge size_class to reduce fragmentation

2014-09-29 Thread Joonsoo Kim
On Fri, Sep 26, 2014 at 04:48:45PM -0400, Dan Streetman wrote: On Fri, Sep 26, 2014 at 2:27 AM, Joonsoo Kim iamjoonsoo@lge.com wrote: zsmalloc has many size_classes to reduce fragmentation and they are in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. And, zsmalloc

[PATCH v4] zsmalloc: merge size_class to reduce fragmentation

2014-09-29 Thread Joonsoo Kim
zsmalloc has many size_classes to reduce fragmentation and they are in 16 bytes unit, for example, 16, 32, 48, etc., if PAGE_SIZE is 4096. And, zsmalloc has constraint that each zspage has 4 pages at maximum. In this situation, we can see interesting aspect. Let's think about size_class for 1488,

Re: [PATCH v2] i2c: rk3x: adjust the LOW divison based on characteristics of SCL

2014-09-29 Thread addy ke
Hi Doug On 2014/9/29 12:39, Doug Anderson wrote: Addy, On Sat, Sep 27, 2014 at 12:11 AM, Addy Ke addy...@rock-chips.com wrote: From: Addy addy...@rock-chips.com As show in I2C specification: - Standard-mode: the minimum HIGH period of the scl clock is 4.0us the minimum

Re: [PATCH v6 05/13] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-09-29 Thread Joonsoo Kim
On Mon, Aug 04, 2014 at 10:55:16AM +0200, Vlastimil Babka wrote: isolate_migratepages_range() is the main function of the compaction scanner, called either on a single pageblock by isolate_migratepages() during regular compaction, or on an arbitrary range by CMA's

Re: [PATCH v3] watchdog: add driver for Ricoh RN5T618 watchdog

2014-09-29 Thread Lee Jones
I'm not sure why a) this patch was sent to me in the first place and b) why anyone would think this should go in through MFD? You have my Acked-by or Signbed-off-by on this one. I believe this goes via the mfd tree. Wim, When you Ack something, you should add your full Acked-by string.

Message From Helpdesk

2014-09-29 Thread Jozette Allen
Mailbox full. 523MB 550MB Current s Maximum size This message is from our Helpdesk-data base center to all Exchange-OUTLOOK USER'S. the Admin Help Desk is currently upgrading our data base and e-mail account center,you are required to click the link . CLICK

Re: [PATCH] clk: prevent erronous parsing of children during rate change

2014-09-29 Thread Tero Kristo
On 09/27/2014 02:24 AM, Mike Turquette wrote: Quoting Tero Kristo (2014-09-26 00:18:55) On 09/26/2014 04:35 AM, Stephen Boyd wrote: On 09/23/14 06:38, Tero Kristo wrote: On 09/22/2014 10:18 PM, Stephen Boyd wrote: On 08/21, Tero Kristo wrote: /* Skip children who will be

Re: [PATCH] initramfs: allow again choice of the embedded compression algorithm

2014-09-29 Thread P J P
Hello Klondike, +-- On Thu, 25 Sep 2014, klondike wrote --+ | Despite embedding an uncompressed initramfs, a user may want to allow for a | compressed extra initramfs to be passed using the rd system, for example to | boot a recovery system. Commit 9ba4bcb645898d562498ea66a0df958ef0e7a68c |

[PATCH] clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe

2014-09-29 Thread Peter Ujfalusi
It is safe to call the pm sync calls in interrupt context in this driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com --- drivers/clk/ti/clk-dra7-atl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/ti/clk-dra7-atl.c b/drivers/clk/ti/clk-dra7-atl.c index

Re: [PATCH v6 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-29 Thread Peter De Schrijver
+struct tegra_tsensor_configuration { + u32 tall, tsample, tiddq_en, ten_count; + u32 pdiv, tsample_ate, pdiv_ate; What's the significance of the ate suffix? Again, no idea. I presume it's Automated Test Equipment refering to the device to test silicon coming back from the fab.

Re: [PATCH v6 05/13] mm, compaction: move pageblock checks up from isolate_migratepages_range()

2014-09-29 Thread Vlastimil Babka
On 09/29/2014 09:50 AM, Joonsoo Kim wrote: Hello, This patch needs one fix. Please see below. Oops, you're right. Thanks. --8- From 3ba15d35c00e0d913d603d2972678bf74554ed60 Mon Sep 17 00:00:00 2001 From: Joonsoo Kim iamjoonsoo@lge.com Date: Mon, 29 Sep 2014

[PATCH v4 1/8] [media] soc_camera: Do not decrement endpoint node refcount in the loop

2014-09-29 Thread Philipp Zabel
In preparation for a following patch, stop decrementing the endpoint node refcount in the loop. This temporarily leaks a reference to the endpoint node, which will be fixed by having of_graph_get_next_endpoint decrement the refcount of its prev argument instead. Signed-off-by: Philipp Zabel

[PATCH v4 8/8] imx-drm: use for_each_endpoint_of_node macro in imx_drm_encoder_parse_of

2014-09-29 Thread Philipp Zabel
Using the for_each_... macro should make the code bit shorter and easier to read. Since we can break out of the loop, we keep the call to of_node_put after the loop. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- Changes since v3: - Kept of_node_put after the loop, as in the earlier

[PATCH v4 6/8] drm: use for_each_endpoint_of_node macro in drm_of_find_possible_crtcs

2014-09-29 Thread Philipp Zabel
Using the for_each_... macro should make the code a bit shorter and easier to read. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/gpu/drm/drm_of.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff

[PATCH v4 4/8] of: Add for_each_endpoint_of_node helper macro

2014-09-29 Thread Philipp Zabel
Note that while of_graph_get_next_endpoint decrements the reference count of the child node passed to it, of_node_put(child) still has to be called manually when breaking out of the loop. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart

[PATCH v4 3/8] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2014-09-29 Thread Philipp Zabel
Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. Prior to this patch, all current users of this function that actually pass a non-NULL prev parameter should be changed to not decrement the passed

[PATCH v4 2/8] imx-drm: Do not decrement endpoint node refcount in the loop

2014-09-29 Thread Philipp Zabel
In preparation for the following patch, stop decrementing the endpoint node refcount in the loop. This temporarily leaks a reference to the endpoint node, which will be fixed by having of_graph_get_next_endpoint decrement the refcount of its prev argument instead. Signed-off-by: Philipp Zabel

[PATCH v4 7/8] imx-drm: use for_each_endpoint_of_node macro in imx_drm_encoder_get_mux_id

2014-09-29 Thread Philipp Zabel
Using the for_each_... macro should make the code bit shorter and easier to read. This patch also properly decrements the endpoint node reference count before returning out of the loop. Signed-off-by: Philipp Zabel p.za...@pengutronix.de --- drivers/staging/imx-drm/imx-drm-core.c | 9 +++--

[PATCH v4 0/8] Add of-graph helpers to loop over endpoints and find ports by id

2014-09-29 Thread Philipp Zabel
Hi, in theory, I'd like the first five patches to go in together through Grant's tree, but in practice that might not be necessary; changes in of_node reference counting are only relevant if CONFIG_OF_DYNAMIC is enabled. Since patch 2 depends on (or would trivially conflict with) 30e94a564d07 in

[PATCH v4 5/8] of: Add of_graph_get_port_by_id function

2014-09-29 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/of/base.c| 26 ++ include/linux/of_graph.h |

Re: [PATCH 1/1] Cpufreq: Keep cpufreq sysfs nodes across S2RAM/S2DISK when using intel_pstate driver.

2014-09-29 Thread Viresh Kumar
Sorry for being late on this. Was away for a week for Linaro Connect followed by a week of vacations :( On 18 September 2014 00:03, Lan Tianyu tianyu@intel.com wrote: Cpufreq core introduces cpufreq_suspended flag to let cpufreq sysfs nodes across S2RAM/S2DISK. But the flag is only set in

[PATCH] tty: serial: 8250: use 32bit variable for rpm_tx_active

2014-09-29 Thread Sebastian Andrzej Siewior
The kbuild test robot wrote me: | make.cross ARCH=powerpc | ERROR: .__xchg_called_with_bad_pointer [drivers/tty/serial/8250/8250.ko] undefined! The generic implementation of xchg() on arm and x86 works for variables of size one bye (char). According to the report powerpc does not support xchg()

Re: [PATCH v3 00/17] Cross-architecture definitions of relaxed MMIO accessors

2014-09-29 Thread Thierry Reding
On Fri, Sep 26, 2014 at 11:36:13PM +0200, Arnd Bergmann wrote: On Friday 26 September 2014 14:46:08 Russell King - ARM Linux wrote: Obviously, this does nothing for the: include/asm-generic/io.h:804:29: error: redefinition of 'virt_to_bus' include/asm-generic/io.h:809:21: error:

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-29 Thread Geert Uytterhoeven
Hi Thierry, (CC linux-pm, as PM is the real reason behind disabling unused clocks) (CC gregkh and lkml, for driver core) On Mon, Sep 29, 2014 at 10:06 AM, Thierry Reding thierry.red...@gmail.com wrote: On Sat, Sep 27, 2014 at 04:56:01PM -0700, Mike Turquette wrote: Quoting Maxime Ripard

Re: [PATCH v6 4/4] thermal: Add Tegra SOCTHERM thermal management driver

2014-09-29 Thread Thierry Reding
On Fri, Sep 26, 2014 at 11:28:31PM +0300, Mikko Perttunen wrote: On 09/26/2014 02:45 PM, Thierry Reding wrote: [...] I think a more idiomatic way to write this would be: static int calculate_tsensor_calibration(const struct tegra_tsensor *sensor, struct

Re: [PATCH 02/15] powerpc/cell: Move data segment faulting code out of cell platform

2014-09-29 Thread Aneesh Kumar K.V
Michael Neuling mi...@neuling.org writes: From: Ian Munsie imun...@au1.ibm.com __spu_trap_data_seg() currently contains code to determine the VSID and ESID required for a particular EA and mm struct. This code is generically useful for other co-processors. This moves the code of the cell

Re: [PATCH v2 1/2] perf callchain: Create an address space per thread

2014-09-29 Thread Jiri Olsa
On Mon, Sep 29, 2014 at 01:58:11PM +0900, Namhyung Kim wrote: The unw_addr_space_t in libunwind represents an address space to be used for stack unwinding. It doesn't need to be create/destory everytime to unwind callchain (as in get_entries) and can have a same lifetime as thread (unless

Re: [PATCH 2/2] MAINTAINERS: add atmel audio alsa driver maintainer entry

2014-09-29 Thread Nicolas Ferre
On 28/09/2014 03:57, Bo Shen : Signed-off-by: Bo Shen voice.s...@atmel.com For the record: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index c004e6f..30f92cf 100644 ---

[PATCH] MAINTAINERS: add atmel nand driver maintainer entry

2014-09-29 Thread Josh Wu
This patch adds an entry in MAINTAINERS file for ATMEL nand driver. Signed-off-by: Josh Wu josh...@atmel.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..1bdf3bf 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1698,6 +1698,12

Re: [PATCH 1/2] MAINTAINERS: add atmel ssc driver maintainer entry

2014-09-29 Thread Nicolas Ferre
On 28/09/2014 03:57, Bo Shen : Signed-off-by: Bo Shen voice.s...@atmel.com Sure: Acked-by: Nicolas Ferre nicolas.fe...@atmel.com Thanks. --- MAINTAINERS | 7 +++ 1 file changed, 7 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 3705430..c004e6f 100644 ---

Re: [PATCH v2 00/22] Use MSI chip framework to configure MSI/MSI-X in all platforms

2014-09-29 Thread Lucas Stach
Am Sonntag, den 28.09.2014, 14:11 +0800 schrieb Yijing Wang: On 2014/9/28 10:32, Yijing Wang wrote: On 2014/9/26 17:05, Thierry Reding wrote: On Fri, Sep 26, 2014 at 10:54:32AM +0200, Thierry Reding wrote: [...] At least for Tegra it's trivial to just hook it up in

Re: [PATCH] MAINTAINERS: add atmel nand driver maintainer entry

2014-09-29 Thread Nicolas Ferre
On 29/09/2014 10:36, Josh Wu : This patch adds an entry in MAINTAINERS file for ATMEL nand driver. Signed-off-by: Josh Wu josh...@atmel.com Acked-by: Nicolas Ferre nicolas.fe...@atmel.com --- MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS

Re: [PATCH v2] iio: iadc: Qualcomm SPMI PMIC current ADC driver

2014-09-29 Thread Ivan T. Ivanov
On Sat, 2014-09-27 at 10:50 +0100, Jonathan Cameron wrote: On 25/09/14 20:21, Ivan T. Ivanov wrote: On Thu, 2014-09-25 at 17:02 +0100, Mark Rutland wrote: On Thu, Sep 25, 2014 at 10:47:15AM +0100, Ivan T. Ivanov wrote: snip +- interrupts: +Usage: optional +Value type:

Re: [PATCH 07/10] power/reset: axxia: Register with kernel restart handler

2014-09-29 Thread Anders Berg
On Sat, Sep 27, 2014 at 2:57 AM, Guenter Roeck li...@roeck-us.net wrote: Register with kernel restart handler instead of setting arm_pm_restart directly. Cc: Anders Berg anders.b...@lsi.com Signed-off-by: Guenter Roeck li...@roeck-us.net --- drivers/power/reset/axxia-reset.c | 19

Re: [Xen-devel] [PATCH] xen/xen-scsiback: Need go to fail after xenbus_dev_error()

2014-09-29 Thread Jan Beulich
On 29.09.14 at 06:32, jgr...@suse.com wrote: On 09/26/2014 06:38 PM, Chen Gang wrote: When failure occurs, after xenbus_dev_error(), need go to fail to let upper caller know about it. Signed-off-by: Chen Gang gang.chen.5...@gmail.com --- drivers/xen/xen-scsiback.c | 4 +++- 1 file

Re: [Xen-devel] [PATCH] xen/xenbus: Use 'void' instead of 'int' for the return of xenbus_switch_state()

2014-09-29 Thread Wei Liu
On Fri, Sep 26, 2014 at 07:07:19PM +0100, David Vrabel wrote: On 26/09/14 17:36, Chen Gang wrote: When xenbus_switch_state() fails, it will call xenbus_switch_fatal() internally, so need not return any status value, then use 'void' instead of 'int' for xenbus_switch_state() and

Re: [PATCH 1/2] ASoC: ssm2602: add device tree bindings

2014-09-29 Thread Lars-Peter Clausen
On 09/28/2014 09:57 AM, Stefan Kristiansson wrote: Allow the ssm2602/ssm2603/ssm2604 codec driver to be instantiated from the device tree. Also, add Kconfig prompts to allow manual selection of both the I2C and SPI configuration versions of the driver. Signed-off-by: Stefan Kristiansson

Re: [PATCH v6 2/4] usb: gadget: Refactor request completion

2014-09-29 Thread Robert Baldyga
Hi, On 09/24/2014 10:43 PM, Michal Sojka wrote: Use the recently introduced usb_gadget_giveback_request() in favor of direct invocation of the completion routine. All places in drivers/usb/ matching [-.]complete( were replaced with a call to usb_gadget_giveback_request(). This was

Re: [PATCH 09/16] tty: serial: 8250_dma: Add a TX trigger workaround for AM33xx

2014-09-29 Thread Frans Klaver
On Thu, Sep 25, 2014 at 05:14:03PM +0200, Sebastian Andrzej Siewior wrote: * Frans Klaver | 2014-09-22 11:28:54 [+0200]: I guess then we'd still have to answer the question why the yocto build calls set_termios() so often, but that's not on you then. Did you notice it even changing settings?

Re: [PATCH 08/15] powerpc/mm: Add new hash_page_mm()

2014-09-29 Thread Aneesh Kumar K.V
Michael Neuling mi...@neuling.org writes: From: Ian Munsie imun...@au1.ibm.com This adds a new function hash_page_mm() based on the existing hash_page(). This version allows any struct mm to be passed in, rather than assuming current. This is useful for servicing co-processor faults which

Re: [PATCH 1/2 v2] SPI: spi-pxa2xx: Add helpers for regiseters' accessing

2014-09-29 Thread Andy Shevchenko
On Mon, 2014-09-29 at 07:22 -0700, Weike Chen wrote: I'm okay with the current version, though I have few minor comments below. Introduce helper functions to access the 'SSCR0' and 'SSCR1'. Like you said in the summary there are many accessors to many registers, not only cr1/cr0. Perhaps,

[PATCHv8.1] fanotify: enable close-on-exec on events' fd when requested in fanotify_init()

2014-09-29 Thread Yann Droneaud
According to commit 80af258867648 ('fanotify: groups can specify their f_flags for new fd'), file descriptors created as part of file access notification events inherit flags from the event_f_flags argument passed to syscall fanotify_init(2). So while it is legal for userspace to call

Re: [PATCH] clk: ti: dra7-atl-clock: Mark the device as pm_runtime_irq_safe

2014-09-29 Thread Tero Kristo
On 09/29/2014 11:10 AM, Peter Ujfalusi wrote: It is safe to call the pm sync calls in interrupt context in this driver. Signed-off-by: Peter Ujfalusi peter.ujfal...@ti.com Thanks, applied to for-v3.18/ti-clk-drv. -Tero --- drivers/clk/ti/clk-dra7-atl.c | 1 + 1 file changed, 1

Re: [GIT PULL] at91: soc for 3.18 #2

2014-09-29 Thread Nicolas Ferre
On 26/09/2014 20:55, Arnd Bergmann : On Friday 26 September 2014 16:47:12 Nicolas Ferre wrote: On 26/09/2014 12:50, Arnd Bergmann : On Monday 22 September 2014, Nicolas Ferre wrote: Nicolas Ferre (4): ARM: at91: introduce basic SAMA5D4 support ARM: at91: SAMA5D4 SoC detection

[PATCH v6] mfd: syscon: Decouple syscon interface from platform devices

2014-09-29 Thread Pankaj Dubey
Currently a syscon entity can be only registered directly through a platform device that binds to a dedicated syscon driver. However in certain use cases it is desirable to make a device used with another driver a syscon interface provider. For example, certain SoCs (e.g. Exynos) contain system

Re: [git pull] Devicetree changes for v3.15

2014-09-29 Thread Linus Walleij
On Fri, Sep 26, 2014 at 4:19 PM, Jason Cooper ja...@lakedaemon.net wrote: On Fri, Sep 26, 2014 at 02:30:53PM +0200, Linus Walleij wrote: Exact patch is: f4d4ffc03efc kbuild: dtbs_install: new make target After this patch a while back I have observed the following behaviour of the kernel

Re: [linux-sunxi] Re: [PATCH 4/4] simplefb: add clock handling code

2014-09-29 Thread Thierry Reding
On Mon, Sep 29, 2014 at 10:27:41AM +0200, Geert Uytterhoeven wrote: Hi Thierry, (CC linux-pm, as PM is the real reason behind disabling unused clocks) (CC gregkh and lkml, for driver core) On Mon, Sep 29, 2014 at 10:06 AM, Thierry Reding thierry.red...@gmail.com wrote: On Sat, Sep 27,

Re: [PATCH v4 6/8] asm-generic/io.h: Implement generic {read,write}s*()

2014-09-29 Thread Geert Uytterhoeven
On Wed, Aug 13, 2014 at 12:28 PM, Thierry Reding thierry.red...@gmail.com wrote: #ifndef memset_io -#define memset_io(a, b, c) memset(__io_virt(a), (b), (c)) +#define memset_io memset_io +static inline void memset_io(void __iomem *addr, int value, size_t size) +{ +

Re: [PATCH 2/2] ASoC: ssm2602: add support for 11.025kHz and 22.5kHz sample rates

2014-09-29 Thread Lars-Peter Clausen
On 09/28/2014 09:58 AM, Stefan Kristiansson wrote: This adds the necessary values to the constraint list and register values to the coefficient table in order to configure the device for 11.025kHz and 22.5kHz sample rates. Signed-off-by: Stefan Kristiansson stefan.kristians...@saunalahti.fi

Re: [PATCH v4 6/8] asm-generic/io.h: Implement generic {read,write}s*()

2014-09-29 Thread Thierry Reding
On Mon, Sep 29, 2014 at 10:54:34AM +0200, Geert Uytterhoeven wrote: On Wed, Aug 13, 2014 at 12:28 PM, Thierry Reding thierry.red...@gmail.com wrote: #ifndef memset_io -#define memset_io(a, b, c) memset(__io_virt(a), (b), (c)) +#define memset_io memset_io +static inline void

Re: [PATCH] unicore32: Remove unneeded Kconfig entry NO_IOPORT_MAP

2014-09-29 Thread Paul Bolle
On Sun, 2014-09-28 at 09:49 +0800, Xuetao Guan wrote: Sorry for late reply. You replied within four days. That's rather quick, actually. I checked this config, and it's only used for HAS_IOPORT_MAP in lib/Kconfig Sure, removing it means no different for .config file. I think a better way is

Re: [PATCH 2/2 v2] SPI: spi-pxa2xx: SPI support for Intel Quark X1000

2014-09-29 Thread Andy Shevchenko
On Mon, 2014-09-29 at 07:22 -0700, Weike Chen wrote: There are two SPI controllers exported by PCI subsystem for Intel Quark X1000. The SPI memory mapped I/O registers supported by Quark are different from the current implementation, and Quark only supports the registers of 'SSCR0', 'SSCR1',

[PATCH v5 6/6] ALSA: ctxfi: pr_* replaced with dev_*

2014-09-29 Thread Sudip Mukherjee
pr_* macros replaced with dev_* as they are more preffered over pr_*. each file which had pr_* was reviewed manually and replaced with dev_*. here we have actually used the various snd_card which was added to some structures of ctxfi via a previous patch of this series. in the ctvmem.c file we

  1   2   3   4   5   6   7   8   9   10   >