[PATCH_V2 0/5] drm: jz4780: Add drm driver for Ingenic JZ4780

2015-03-09 Thread Zubair Lutfullah Kakakhel
Hi, Here we have 5 patches that add a DRM driver for the LCD controller in the Ingenic JZ4780 SoC. The HDMI Controller in the JZ4780 is by Synopsys and the dw_hdmi driver is used. These patches are based on 4.0-rc3 V1 -> V2 Fixed module licenses Fix in makefile and #include drm_flip_work Rebase

[PATCH 3/3] arm-cci: Reject groups spanning multiple HW PMUs

2015-03-09 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Invalidate an event if the group has a hardware event from a different PMU as we cannot schedule all of them in the same context. The perf core code won't check the group consistency until after pmu_event_init(). Signed-off-by: Suzuki K. Poulose --- drivers/bus/arm-cc

RE: [RFC 3/4] power_supply: Introduce charger control interface

2015-03-09 Thread Tc, Jenny
Hi, > > +struct power_supply_charger { > > + int (*get_property)(struct power_supply_charger *psyc, > > + enum psy_charger_control_property pspc, > > + union power_supply_propval *val); > > The charging framework can simply call the same get_property

[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which may

[PATCH 1/3] arm/pmu: Reject groups spanning multiple hardware PMUs

2015-03-09 Thread Suzuki K. Poulose
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which may

[PATCH_V2 1/5] dt-bindings: video: Add Ingenic jz4780-drm binding

2015-03-09 Thread Zubair Lutfullah Kakakhel
This patch adds a display susbsytem for the Ingenic JZ4780 SoC Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Rebased to 4.0-rc3 --- .../devicetree/bindings/video/ingenic-jz4780-drm.txt| 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicet

[PATCH_V2 4/5] dt-bindings: video: Add jz4780-hdmi binding

2015-03-09 Thread Zubair Lutfullah Kakakhel
Add DT bindings for the hdmi driver for the Ingenic JZ4780 SoC. Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Rebased to 4.0-rc3 --- .../bindings/video/ingenic-jz4780-hdmi.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devic

[PATCH_V2 3/5] drm: jz4780: Add DRM driver for Ingenic JZ4780

2015-03-09 Thread Zubair Lutfullah Kakakhel
Add drm driver for the Ingenic JZ4780 SoC. Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Fixed Module_License macro Fix in makefile and a #include drm_flip_work Rebased to 4.0-rc3 Removed you should have received a copy of license etc. --- drivers/gpu/drm/Kconfig | 2 +

Re: [PATCH 1/5] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-03-09 Thread Stefan Agner
On 2015-03-09 10:58, Sascha Hauer wrote: > On Fri, Mar 06, 2015 at 02:31:51PM +0100, Stefan Agner wrote: >> On 2015-03-06 07:15, Sascha Hauer wrote: >> > Hi Stefan, >> > >> > On Thu, Mar 05, 2015 at 12:10:20AM +0100, Stefan Agner wrote: >> >> + >> >> +static int vf610_nfc_probe_dt(struct device *de

[PATCH_V2 5/5] drm: bridge/dw_hdmi: Add jz4780 support

2015-03-09 Thread Zubair Lutfullah Kakakhel
Ingenic JZ4780 hdmi is compatible with dw_hdmi. Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Fixed license macro Rebased to 4.0-rc3 --- drivers/gpu/drm/jz4780/Kconfig | 10 ++ drivers/gpu/drm/jz4780/Makefile | 1 + drivers/gpu/drm/jz4780/dw_hdmi-jz4780.c | 235

[PATCH_V2 2/5] dt-bindings: video: Add jz4780-lcd binding

2015-03-09 Thread Zubair Lutfullah Kakakhel
Add DT bindings for the LCD controller on the jz4780 SoC Signed-off-by: Zubair Lutfullah Kakakhel --- V1 -> V2 Rebased to 4.0-rc3 --- .../bindings/video/ingenic-jz4780-lcd.txt | 39 ++ 1 file changed, 39 insertions(+) create mode 100644 Documentation/devicetree/bi

Re: [PATCH 0/3] [4.0] arm/arm64: Do not group hardware events from different PMUs

2015-03-09 Thread Suzuki K. Poulose
On 09/03/15 12:43, a wrote: From: "Suzuki K. Poulose" This is a collection of fixes which denies grouping hardware events from different PMUs. They also fix crashes triggered by perf_fuzzer on Linux-4.0-rc2. Pawel, Similar fix is required in ARM CCN PMU driver. I didn't find it straight forwa

[PATCH 2/3] arm64/pmu: Reject groups spanning multiple HW PMUs

2015-03-09 Thread a
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which may

[PATCH 0/3] [4.0] arm/arm64: Do not group hardware events from different PMUs

2015-03-09 Thread a
From: "Suzuki K. Poulose" This is a collection of fixes which denies grouping hardware events from different PMUs. They also fix crashes triggered by perf_fuzzer on Linux-4.0-rc2. Pawel, Similar fix is required in ARM CCN PMU driver. I didn't find it straight forward to fix it there. Could you

[PATCH 1/3] arm/pmu: Reject groups spanning multiple hardware PMUs

2015-03-09 Thread a
From: "Suzuki K. Poulose" Don't allow grouping hardware events from different PMUs (eg. CCI + CPU). Fixes a crash triggered by perf_fuzzer on Linux-4.0-rc2, with CCI PMU turned on. The validate_event(), after certain checks, assumes that the given hardware pmu event belongs to armpmu, which may

[PATCH 3/3] arm-cci: Reject groups spanning multiple HW PMUs

2015-03-09 Thread a
From: "Suzuki K. Poulose" Invalidate an event if the group has a hardware event from a different PMU as we cannot schedule all of them in the same context. The perf core code won't check the group consistency until after pmu_event_init(). Signed-off-by: Suzuki K. Poulose --- drivers/bus/arm-cc

Re: [PATCH v2 4/4] staging: sm750fb: fix undeclared function

2015-03-09 Thread Dan Carpenter
On Mon, Mar 09, 2015 at 01:05:06PM +0530, Sudip Mukherjee wrote: > kbuild test robot reported that for microblaze-allyesconfig > chan_to_field() and lynxfb_ops_set_par() were not defined. These two > functions were defined under CONFIG_PM, so for any archtecture if > CONFIG_PM is not defined we wil

Re: [RFC 0/8] pmem: Submission of the Persistent memory block device

2015-03-09 Thread Boaz Harrosh
On 03/06/2015 08:37 PM, Ross Zwisler wrote: <> >> I maintain these patches on latest Kernels here: >> git://git.open-osd.org/pmem.git branch pmem >> >> Thanks for reviewing >> Boaz > > Hey Boaz, > > Regarding the PMEM series, my group has been working on an updated > version of this driver f

Re: [Patch v3 3/7] x86, kaslr: Add two functions which will be used later

2015-03-09 Thread Baoquan He
On 03/08/15 at 07:58pm, Alexander Kuleshov wrote: > Hello, > > May be necessary to add comments that they will be used later, to > prevent patches like 'removed unused..' Hi, Thanks for your comment. Do you mean adding comment above function definition, later remove the comment when call it

Re: [PATCH 1/5] can: kvaser_usb: Avoid double free on URB submission failures

2015-03-09 Thread Ahmed S. Darwish
Hi Marc, (Sorry for the late reply as I was out of town!) On Wed, Mar 04, 2015 at 10:15:45AM +0100, Marc Kleine-Budde wrote: > On 02/26/2015 04:20 PM, Ahmed S. Darwish wrote: > > From: Ahmed S. Darwish > > > > Upon a URB submission failure, the driver calls usb_free_urb() > > but then manually

Re: [PATCH/RFC v12 10/19] DT: Add documentation for the mfd Maxim max77693

2015-03-09 Thread Sakari Ailus
Hi Jacek, On Mon, Mar 09, 2015 at 01:19:32PM +0100, Jacek Anaszewski wrote: > Hi Sakari, > > Thanks for the review. > > On 03/09/2015 11:54 AM, Sakari Ailus wrote: > >Hi Jacek, > > > >On Wed, Mar 04, 2015 at 05:14:31PM +0100, Jacek Anaszewski wrote: > >>This patch adds device tree binding docume

Re: [PATCH v3 2/3] pci: iproc: Add Broadcom iProc PCIe support

2015-03-09 Thread Arnd Bergmann
On Friday 06 March 2015 10:00:34 Ray Jui wrote: > > > > Although I have not tested it, but to my best knowledge there shouldn't > be any technical issue by making the PCIe iProc driver a loadable module > and installing the module later after the kernel finishes booting. > > But I wonder why I h

Re: [PATCH] net: smc91x: improve neponset hack

2015-03-09 Thread Russell King - ARM Linux
On Mon, Mar 09, 2015 at 12:20:12PM +, Russell King - ARM Linux wrote: > On Fri, Feb 20, 2015 at 04:47:06PM +0100, Arnd Bergmann wrote: > > On Thursday 19 February 2015 00:35:49 Russell King - ARM Linux wrote: > > > On Wed, Feb 18, 2015 at 08:47:30PM +0100, Arnd Bergmann wrote: > > > > The smc91

Re: [PATCH 3/5] dt-bindings: mediatek: Add smi dts binding

2015-03-09 Thread Yong Wu
Dear Sergei, Thanks very much for suggestion. I will fix them in the next version. On Fri, 2015-03-06 at 17:48 +0300, Sergei Shtylyov wrote: > Hello. > > On 3/6/2015 1:48 PM, yong...@mediatek.com wrote: > > > From: Yong Wu > > > This patch add smi binding document. > > > Signe

Re: [ALSA/hda] kernel BUG at drivers/base/driver.c:152!

2015-03-09 Thread Takashi Iwai
At Sat, 7 Mar 2015 18:58:44 +0800, Fengguang Wu wrote: > > Greetings, > > 0day kernel testing robot got the below dmesg and the first bad commit is > > git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git topic/hda-regmap > > commit 3103d80b8a89f1797e87d7265f9b389a0db4ccd8 > Author:

RE: [RFC 1/4] power_supply: Introduce charging object table

2015-03-09 Thread Tc, Jenny
Hi, > > +#define PSY_MAX_BAT_NAME_LEN 8 > > +#define PSY_MAX_TEMP_ZONE 6 > > + > > +struct psy_charging_obj { > > This is not just about charging data, but also about the batteries > thermal limits, technology and full capacity, so how about > > struct psy_battery_information { Ok, Agree. > >

Re: [PATCH_V3] ASoC: jz4740: Add jz4780 support

2015-03-09 Thread Lars-Peter Clausen
On 03/09/2015 01:11 PM, Zubair Lutfullah Kakakhel wrote: The jz4780 and jz4740 have very similar i2s blocks. The slight difference is in Rx/Tx fifos. And the bitclocks for input/output are different. This patch adds jz4780 support to the driver Signed-off-by: Zubair Lutfullah Kakakhel Acked

Re: [PATCH 1/8] pmem: Initial version of persistent memory driver

2015-03-09 Thread Boaz Harrosh
On 03/06/2015 01:03 AM, Andy Lutomirski wrote: <> > > I think it would be nice to have control over the caching mode. > Depending on the application, WT or UC could make more sense. > Patches are welcome. say map=sss@aaa:WT,sss@aaa:CA, ... But for us, with direct_access(), all benchmark

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-09 Thread Yong Wu
Dear Mitchel, Thanks very much for your review. On Fri, 2015-03-06 at 09:15 -0800, Mitchel Humpherys wrote: > On Fri, Mar 06 2015 at 02:48:17 AM, wrote: > > From: Yong Wu > > > > This patch adds support for mediatek m4u (MultiMedia Memory Management > > Unit). > > Currently this only suppo

[PATCH v3 1/4] i2c: mux-pinctrl: Rework to honor disabled child nodes

2015-03-09 Thread Sebastian Hesselbarth
I2C mux pinctrl driver currently determines the number of sub-busses by counting available pinctrl-names. Unfortunately, this requires each incarnation of the devicetree node with different available sub-busses to be rewritten. This patch reworks i2c-mux-pinctrl driver to count the number of avail

Re: [PATCH] net: smc91x: improve neponset hack

2015-03-09 Thread Russell King - ARM Linux
On Fri, Feb 20, 2015 at 04:47:06PM +0100, Arnd Bergmann wrote: > On Thursday 19 February 2015 00:35:49 Russell King - ARM Linux wrote: > > On Wed, Feb 18, 2015 at 08:47:30PM +0100, Arnd Bergmann wrote: > > > The smc91x driver tries to support multiple platforms at compile > > > time, but they are m

Re: [PATCH/RFC v12 10/19] DT: Add documentation for the mfd Maxim max77693

2015-03-09 Thread Jacek Anaszewski
Hi Sakari, Thanks for the review. On 03/09/2015 11:54 AM, Sakari Ailus wrote: Hi Jacek, On Wed, Mar 04, 2015 at 05:14:31PM +0100, Jacek Anaszewski wrote: This patch adds device tree binding documentation for the flash cell of the Maxim max77693 multifunctional device. Signed-off-by: Jacek An

Re: [PATCH 5/5] dts: mt8173: Add iommu/smi nodes for mt8173

2015-03-09 Thread Yong Wu
Dear Daniel, Thanks very much. I will fix this in next version. On Sat, 2015-03-07 at 23:20 +0800, Daniel Kurtz wrote: > Hi Yong, > > On Fri, Mar 6, 2015 at 6:48 PM, wrote: > > From: Yong Wu > > > > This patch add the iommu/larbs nodes for mt8173 > > > > Signed-off-by: Yong Wu > > --- >

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-03-09 Thread Rob Clark
On Mon, Mar 9, 2015 at 4:54 AM, Archit Taneja wrote: > > > On 03/09/2015 01:14 PM, Daniel Vetter wrote: >> >> On Mon, Mar 09, 2015 at 11:27:06AM +0530, Archit Taneja wrote: >>> >>> On 03/05/2015 09:14 PM, Daniel Vetter wrote: On Thu, Mar 05, 2015 at 07:10:44AM -0500, Rob Clark wrote: >>>

[GIT PULL] cgroup fixes for v4.0-rc3

2015-03-09 Thread Tejun Heo
Hello, Linus. The cgroup iteration update two years ago and the recent cpuset restructuring introduced regressions in subset of cpuset configurations. Three patches to fix them. All are marked for -stable. Thanks. The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539:

Re: [PATCH 05/11] perf data: Add tracepoint events fields CTF conversion support

2015-03-09 Thread Jiri Olsa
On Mon, Mar 02, 2015 at 12:32:20PM -0300, Arnaldo Carvalho de Melo wrote: SNIP > > > > > > Can you try to reproduce this? The ctf-data/metadata file is below: > > > > hum, i just tried and can't reproduce this one.. anychance of mixed > > babeltrace installations? How did you install babeltrace

Re: [PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-09 Thread Krzysztof Kozlowski
On pon, 2015-03-09 at 20:46 +0900, Beomho Seo wrote: > On 03/09/2015 08:02 PM, Krzysztof Kozlowski wrote: > > 2015-03-09 1:35 GMT+01:00 Beomho Seo : > >> On 03/08/2015 05:13 AM, Sebastian Reichel wrote: > >>> On Mon, Mar 02, 2015 at 07:10:35PM +0900, Jaewon Kim wrote: > From: Beomho Seo > >>>

[PATCH_V3] ASoC: jz4740: Add jz4780 support

2015-03-09 Thread Zubair Lutfullah Kakakhel
The jz4780 and jz4740 have very similar i2s blocks. The slight difference is in Rx/Tx fifos. And the bitclocks for input/output are different. This patch adds jz4780 support to the driver Signed-off-by: Zubair Lutfullah Kakakhel --- Patch based on 4.0-rc3 Tested on the MIPS Creator CI20. V2 -

Re: [RFC PATCH] spi: Ensure that CS line is in non-active state after setup

2015-03-09 Thread Andy Shevchenko
On Mon, Mar 9, 2015 at 9:11 AM, Ivan T. Ivanov wrote: > > On Sun, 2015-03-08 at 20:01 +, Mark Brown wrote: >> On Fri, Mar 06, 2015 at 05:45:15PM +0200, Ivan T. Ivanov wrote: >> >> > if (spi->master->setup) >> > status = spi->master->setup(spi); >> > + else >> > +

Re: [PATCH v2 1/4] staging: sm750fb: wrong type for print

2015-03-09 Thread Sudip Mukherjee
On Mon, Mar 09, 2015 at 02:53:37PM +0300, Dan Carpenter wrote: > On Mon, Mar 09, 2015 at 01:05:03PM +0530, Sudip Mukherjee wrote: > > > > V2: Giedrius commented resource_size_t can be either u64 or u32 > > depending on if CONFIG_PHYS_ADDR_T_64BIT. based on his comments i > > should have kept the d

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-09 Thread Yong Wu
Dear Will, On Fri, 2015-03-06 at 10:58 +, Will Deacon wrote: > On Fri, Mar 06, 2015 at 10:48:17AM +, yong...@mediatek.com wrote: > > From: Yong Wu > > > > This patch adds support for mediatek m4u (MultiMedia Memory Management > > Unit). > > Currently this only supports m4u gen 2 with 2

Re: [PATCH v2 1/3] devicetree: bindings: Document qcom,msm-id and qcom,board-id

2015-03-09 Thread Arnd Bergmann
On Friday 06 March 2015 14:37:52 Kumar Gala wrote: > On Mar 6, 2015, at 1:15 PM, Olof Johansson wrote: > > > On Fri, Mar 6, 2015 at 8:08 AM, Kumar Gala wrote: > >> > >> On Mar 5, 2015, at 7:59 PM, Olof Johansson wrote: > >> > >>> On Thu, Mar 5, 2015 at 12:23 PM, Kumar Gala wrote: > > >

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-09 Thread Boaz Harrosh
On 03/06/2015 01:09 AM, Andy Lutomirski wrote: <> > > I will be shocked if a standard of this form ever appears. Modern > systems *don't have e820*. The BIOSes that are using this type 12 > hack are awful throwbacks. So far the systems we have, with DDR4 NvDIMM(s) (Actual chips arriving soon) s

[PATCH] rds: avoid potential stack overflow

2015-03-09 Thread Arnd Bergmann
The rds_iw_add_conn function stores a large 'struct rds_sock' object on the stack in order to pass a pair of addresses. This happens to just fit withint the 1024 byte stack size warning limit on x86, but just exceed that limit on ARM, which gives us this warning: net/rds/iw_rdma.c:200:1: warning:

Re: [PATCH] capabilities: Ambient capability set V2

2015-03-09 Thread Christoph Lameter
On Sat, 7 Mar 2015, Serge E. Hallyn wrote: > > The ancestor here is ambient_test and when it is run pI will not be set > > despite the cap setting. > > ambient_test is supposed to set it. I thought the setcap +i would do it. So the setcap and setting of the file inheritance bits has no effect on

[PATCH v1 2/2] perf tools: report PERF_FLAG_FD_CLOEXEC probing error once

2015-03-09 Thread Yann Droneaud
In case of failure, unrelated to PERF_FLAG_FD_CLOEXEC, perf_flag_probe() reports the error twice. For example: $ perf record ls Error: perf_event_open(..., PERF_FLAG_FD_CLOEXEC) failed with unexpected error 16 (Device or resource busy) perf_event_open(..., 0) failed unexpectedly with erro

Re: [patch v2] mm, hugetlb: abort __get_user_pages if current has been oom killed

2015-03-09 Thread Greg Thelen
On Mon, Mar 09 2015, David Rientjes wrote: > If __get_user_pages() is faulting a significant number of hugetlb pages, > usually as the result of mmap(MAP_LOCKED), it can potentially allocate a > very large amount of memory. > > If the process has been oom killed, this will cause a lot of memory t

Re: [x86/asm/entry] BUG: unable to handle kernel paging request

2015-03-09 Thread Denys Vlasenko
On Mon, Mar 9, 2015 at 12:46 PM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> >> */ >> >> unsigned longstack[64]; >> >> >> >> Last I checked, 0x100 != 64. Also, wow, this is kind of disgusting. :) >> > >> > >> > Seems to be unused: I commented it out on "defconfig" build

[PATCH v1 1/2] perf tools: shortcut PERF_FLAG_FD_CLOEXEC probing in case of EBUSY error

2015-03-09 Thread Yann Droneaud
This patch is a simplification of the logic introduced as part of commit 63914aca8f7e ("perf tools: Show better error message in case we fail to open counters due to EBUSY error"): if -EBUSY is reported by perf_event_open(), it will not be possible to probe PERF_FLAG_FD_CLOEXEC, so it's safe to lea

[PATCH v1 0/2] perf tool: improve error handling in perf_flag_probe()

2015-03-09 Thread Yann Droneaud
Hi, Following the EBUSY errors reported by Jiri Olsa [1], I've tryed to improve a bit the way perf_flag_probe() handle errors. In case EBUSY is returned by perf_event_open(), testing the function again without PERF_FLAG_FD_CLOEXEC is meaningless: EBUSY is not related to close-on-exec flag, so the

[GIT PULL] libata fixes for v4.0-rc3

2015-03-09 Thread Tejun Heo
Hello, Linus. Speed limiting fix for sata_fsl. Thanks. The following changes since commit a38ecbbd0be025a6ecbbfd22d2575a5b46317117: Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (2015-03-01 12:22:44 -0800) are available in the git repository a

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Yong Wu
Dear Paul, Thanks very much for your suggestion. On Fri, 2015-03-06 at 12:30 +0100, Paul Bolle wrote: > On Fri, 2015-03-06 at 18:48 +0800, yong...@mediatek.com wrote: > > --- a/drivers/soc/mediatek/Kconfig > > +++ b/drivers/soc/mediatek/Kconfig > > @@ -20,3 +20,10 @@ config MT8173_PMIC_WRAP

[PATCH_V2 0/2] mtd: nand: jz4780: Add nand and bch driver

2015-03-09 Thread Zubair Lutfullah Kakakhel
Hi, Two patches based on 4.0-rc3 that add NAND and BCH controller drivers for the Ingenic JZ4780 SoC. Core JZ4780 support is still in-flight. Review and feedback welcome. V1 - > V2 Fixed module license macros Rebase to 4.0-rc3 Thanks, ZubairLK Alex Smith (2): dt-bindings: binding for jz478

[GIT PULL] workqueue fixes for v4.0-rc3

2015-03-09 Thread Tejun Heo
Hello, Linus. One fix patch for a subtle livelock condition which can happen on PREEMPT_NONE kernels involving two racing cancel_work calls. Whoever comes in the second has to wait for the previous one to finish. This was implemented by making the later one block for the same condition that the

[PATCH_V2 1/2] dt-bindings: binding for jz4780-{nand,bch}

2015-03-09 Thread Zubair Lutfullah Kakakhel
From: Alex Smith Add DT bindings for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller, used by the jz4780_{nand,bch} drivers. Signed-off-by: Alex Smith Signed-off-by: Zubair Lutfullah Kakakhel --- V1 - > V2 Rebase to 4.0-rc3 --- .../bindings/mtd/ingen

[PATCH_V2 2/2] mtd: nand: jz4780: driver for NAND devices on JZ4780 SoCs

2015-03-09 Thread Zubair Lutfullah Kakakhel
From: Alex Smith Add a driver for NAND devices connected to the NEMC on JZ4780 SoCs, as well as the hardware BCH controller. DMA is not currently implemented. While older 47xx SoCs also have a BCH controller, they are incompatible with the one in the 4780 due to differing register/bit positions,

Re: [PATCH_V2] ASoC: jz4740: Add jz4780 support

2015-03-09 Thread Lars-Peter Clausen
On 03/09/2015 12:23 PM, Zubair Lutfullah Kakakhel wrote: [...] @@ -460,6 +499,9 @@ static int jz4740_i2s_dev_probe(struct platform_device *pdev) platform_set_drvdata(pdev, i2s); + if (i2s->version >= JZ_I2S_JZ4780) + jz4740_i2s_dai.symmetric_rates = 0; We shouldn'

Re: [PATCH v2 1/4] staging: sm750fb: wrong type for print

2015-03-09 Thread Dan Carpenter
On Mon, Mar 09, 2015 at 01:05:03PM +0530, Sudip Mukherjee wrote: > mention correct format specifier while printing. > fixes all the build warnings about incorrect argument type while > printing. > > Signed-off-by: Sudip Mukherjee > --- > > V2: Giedrius commented resource_size_t can be either u64

Re: RGB LED control (was Re: "advanced" LED controllers)

2015-03-09 Thread Måns Rullgård
Geert Uytterhoeven writes: > Hi Pavel, > > On Sun, Mar 8, 2015 at 9:57 PM, Pavel Machek wrote: >> Ok, so I played with RGB LED a bit, and we have quite a gap in >> documentation: what 50% brightness means is non-trivial and very >> important in case we want to do smooth blinking and color transi

Re: [PATCH] btrfs: fix size_t format string

2015-03-09 Thread David Sterba
On Mon, Mar 09, 2015 at 12:39:36PM +0100, Arnd Bergmann wrote: > This warning has been rather annoying because it shows up in every > 'allmodconfig' build. I assume others have reported it before, but > please apply some fix for it, ideally before 4.0. Sorry about that, we're aware of the warning

Re: [PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-09 Thread Beomho Seo
On 03/09/2015 08:02 PM, Krzysztof Kozlowski wrote: > 2015-03-09 1:35 GMT+01:00 Beomho Seo : >> On 03/08/2015 05:13 AM, Sebastian Reichel wrote: >>> On Mon, Mar 02, 2015 at 07:10:35PM +0900, Jaewon Kim wrote: From: Beomho Seo This patch adds device driver of max77843 charger. This dr

Re: [x86/asm/entry] BUG: unable to handle kernel paging request

2015-03-09 Thread Ingo Molnar
* Andy Lutomirski wrote: > >> */ > >> unsigned longstack[64]; > >> > >> Last I checked, 0x100 != 64. Also, wow, this is kind of disgusting. :) > > > > > > Seems to be unused: I commented it out on "defconfig" build > > and got no build errors. > > It's used. On 32-bit, NMIs d

Re: [RFC][PATCH 2/2] phy: miphy365x: Convert to use phy.h instead of phy-miphy365x.h

2015-03-09 Thread Kishon Vijay Abraham I
Hi, On Thursday 05 March 2015 07:27 AM, Axel Lin wrote: The defines in phy-miphy365x.h are all covered in phy.h: MIPHY_TYPE_SATA == PHY_TYPE_STA MIPHY_TYPE_PCIE == PHY_TYPE_PCIE MIPPHY_TYPE_USB == PHY_TYPE_USB2 So covert to use phy.h and then delete phy-miphy365x.h. Signed-off-by: Axel Lin -

Re: [PATCH v2 00/15] tracing: 'hist' triggers

2015-03-09 Thread He Kuang
hi, Tom On 2015/3/3 3:55, Tom Zanussi wrote: BTW, I've actually tried to play around with the BPF samples/, but it seems they're not actually hooked into the system i.e. the samples Makefile doesn't build them, and it even looks for tools/llvm that's not there. I got as far as getting the late

Re: [PATCH v3 5/9] mtd: pxa3xx_nand: add support for the Marvell Berlin nand controller

2015-03-09 Thread Ezequiel Garcia
On 03/08/2015 07:19 PM, Robert Jarzmik wrote: > Ezequiel Garcia writes: > >>> I think you'll kill the zylonite board, and I'll nack it if that's the >>> case. At >>> least that's what happened when I tried to use onfi default values last >>> time in >>> barebox development. >>> >>> I can test y

[PATCH] btrfs: fix size_t format string

2015-03-09 Thread Arnd Bergmann
This resolves a harmless gcc warning in btrfs_check_super_valid that results from a size_t value being printed as %lu: fs/btrfs/disk-io.c:3927:21: warning: format '%lu' expects argument of type 'long unsigned int', but argument 3 has type 'unsigned int' [-Wformat=] On all Linux systems, size_t i

Re: [PATCH 4/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-03-09 Thread Yong Wu
Dear Mark, Thanks very much for your review. I will fix them in the next verion. On Fri, 2015-03-06 at 11:21 +, Mark Rutland wrote: > On Fri, Mar 06, 2015 at 10:48:19AM +, yong...@mediatek.com wrote: > > From: Yong Wu > > > > This patch add mediatek iommu dts binding document.

Re: [PATCH 4/4] mm: numa: Slow PTE scan rate if migration failures occur

2015-03-09 Thread Dave Chinner
On Sun, Mar 08, 2015 at 11:35:59AM -0700, Linus Torvalds wrote: > On Sun, Mar 8, 2015 at 3:02 AM, Ingo Molnar wrote: > But: > > > As a second hack (not to be applied), could we change: > > > > #define _PAGE_BIT_PROTNONE _PAGE_BIT_GLOBAL > > > > to: > > > > #define _PAGE_BIT_PROTNONE (

Re: [PATCH 2/3] locking: ww_mutex: Allow to use rt_mutex instead of mutex for the baselock

2015-03-09 Thread Mike Galbraith
On Mon, 2015-03-09 at 12:07 +0100, Sebastian Andrzej Siewior wrote: > On 03/09/2015 11:51 AM, Mike Galbraith wrote: > > Why do both mutex and rtmutex then exist one might ask? ;-) No big deal > > either way though, it's not like it becomes immutable once applied. > > You don't choose rtmutex afai

Re: [PATCH] ASoC: wm5100: match wait_for_completion_timeout return type

2015-03-09 Thread Mark Brown
On Mon, Mar 09, 2015 at 07:22:26AM +0100, Nicholas Mc Guire wrote: > On Sun, 08 Mar 2015, Mark Brown wrote: > > You are sending these to a very large CC list many of whom have no > > obvious connection to the driver - please take care to ensure that the > > people you are sending patches to are li

Re: [RFC 2/4] power: core: Add generic interface to get battery specification.

2015-03-09 Thread jonghwa3 . lee
Hi, 2015년 03월 06일 20:16에 Oliver Neukum 이(가) 쓴 글: >> + >> +/* Check if same data is existed */ >> +list_for_each_entry(battery, &psy_battery_info_list, entry) >> +if (!strcmp(battery->info->name, info->name)) >> +return -EEXIST; >> + >> +battery = kzalloc(

Re: [patch v2] mm, hugetlb: abort __get_user_pages if current has been oom killed

2015-03-09 Thread Kirill A. Shutemov
On Mon, Mar 09, 2015 at 12:42:15AM -0700, David Rientjes wrote: > If __get_user_pages() is faulting a significant number of hugetlb pages, > usually as the result of mmap(MAP_LOCKED), it can potentially allocate a > very large amount of memory. > > If the process has been oom killed, this will cau

[PATCH_V2] ASoC: jz4740: Add jz4780 support

2015-03-09 Thread Zubair Lutfullah Kakakhel
The jz4780 and jz4740 have very similar i2s blocks. The slight difference is in Rx/Tx fifos. And the bitclocks for input/output are different. This patch adds jz4780 support to the driver Signed-off-by: Zubair Lutfullah Kakakhel --- Patch based on 4.0-rc3 Tested on the MIPS Creator CI20. V1 -

Re: [PATCH] Staging: dgnc: check kzalloc result

2015-03-09 Thread Dan Carpenter
On Sun, Mar 08, 2015 at 05:54:07PM +0100, Matteo Semenzato wrote: > From: Matteo Semenzato > > Return -ENOMEM if allocating brd->flipbuf fails. > > Signed-off-by: Matteo Semenzato > --- > drivers/staging/dgnc/dgnc_driver.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/drivers/s

Re: [PATCH v2] i2c: designware: Suppress error message if platform_get_irq() < 0

2015-03-09 Thread Mika Westerberg
On Mon, Mar 09, 2015 at 12:03:12PM +0300, Alexey Brodkin wrote: > As discussed here https://lkml.org/lkml/2015/3/3/568 and here > https://lkml.org/lkml/2015/3/3/453 we're looking forward for > implementing warnings and errors outputs right in platform_get_irq() > instead of having all kind of diffe

[PATCH v2] regmap: introduce regmap_name to fix syscon regmap trace events

2015-03-09 Thread Philipp Zabel
This patch fixes a NULL pointer dereference when enabling regmap event tracing in the presence of a syscon regmap, introduced by commit bdb0066df96e ("mfd: syscon: Decouple syscon interface from platform devices"). That patch introduced syscon regmaps that have their dev field set to NULL. The regm

[PATCH] kprobes/x86: Return correct length in __copy_instruction()

2015-03-09 Thread Eugene Shatokhin
On x86-64, __copy_instruction() always returns 0 (error) if the instruction uses %rip-relative addressing. This is because kernel_insn_init() is called the second time for 'insn' instance in such cases and sets all its fields to 0. Because of this, trying to place a Kprobe on such instruction will

Re: [PATCH 3/3] e820: Add the unknown-12 Memory type (DDR3-NvDIMM)

2015-03-09 Thread Boaz Harrosh
On 03/05/2015 10:56 PM, Dan Williams wrote: > On Thu, Mar 5, 2015 at 2:24 AM, Boaz Harrosh wrote: >> <> >> Now the ACPI comity, as far as I know, did not yet define a >> standard type for NvDIMM. Also, as far as I know any NvDIMM >> standard will only be defined for DDR4. So DDR3 NvDIMM is >> prob

Re: [PATCH] fs/pstore/ram.c: Fix the ramoops module parameters update

2015-03-09 Thread long.wanglong
On 2015/3/9 15:39, Wang Long wrote: cc: marco.storne...@gmail.com cc: anton.voront...@linaro.org cc: saly...@android.com cc: ser...@chromium.org > In the function ramoops_probe, the console_size, pmsg_size, > ftrace_size may be update because the value is not the power > of two. We should update t

Re: twl4030_charger: need changes to get probed?

2015-03-09 Thread Sebastian Reichel
Hi, On Mon, Mar 09, 2015 at 11:06:53AM +1100, NeilBrown wrote: > On Sat, 7 Mar 2015 22:01:02 +0100 Sebastian Reichel wrote: > > platform_driver_probe() does not support deferred probing. > > > > Neil, can you take this patch into your series for the next round? > > I could, but I do wonder if i

Re: [PATCH v4 8/9] clocksource: atmel-st: use syscon/regmap

2015-03-09 Thread Daniel Lezcano
On 03/06/2015 09:47 AM, Alexandre Belloni wrote: On 06/03/2015 at 09:43:02 +0100, Daniel Lezcano wrote : On 03/05/2015 04:49 PM, Alexandre Belloni wrote: The register range from the system timer is also used by the watchdog driver. Use a regmap to handle concurrent accesses. Signed-off-by: Ale

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-09 Thread Tomasz Figa
Hi, You can find part 2 of my comments inline. On Fri, Mar 6, 2015 at 7:48 PM, wrote: [snip] > +static irqreturn_t mtk_iommu_isr(int irq, void *dev_id) > +{ > + struct iommu_domain *domain = dev_id; > + struct mtk_iommu_domain *mtkdomain = domain->priv; > + struct mtk_iommu_

Re: [PATCH 1/1] perf annotate: Fix fallback to unparsed disassembler line

2015-03-09 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > [...] > > Further investigation is needed to figure out the nature of the > objdump output change so as to make the parser grok it. Btw., maybe someone finds this interesting: we could also (re-)use the in-kernel disassembler (on x86 and any other architec

Re: [PATCH 2/3] locking: ww_mutex: Allow to use rt_mutex instead of mutex for the baselock

2015-03-09 Thread Sebastian Andrzej Siewior
On 03/09/2015 11:51 AM, Mike Galbraith wrote: > Why do both mutex and rtmutex then exist one might ask? ;-) No big deal > either way though, it's not like it becomes immutable once applied. You don't choose rtmutex afaik. rtmutex is used by futex (only?) and one of the things it does is PI. On -R

[PATCH v2 3/3] NFC: nxp-nci_i2c: Add I2C support to NXP NCI driver

2015-03-09 Thread clement . perrochaud
From: Clément Perrochaud Add a module to the NXP-NCI driver to support NFC controllers with an I2C control interface, such as the NPC100. Signed-off-by: Clément Perrochaud --- .../devicetree/bindings/net/nfc/nxp-nci.txt| 35 ++ drivers/nfc/nxp-nci/Kconfig| 12

Re: Kprobes: pre-handler with interrupts enabled - is it possible?

2015-03-09 Thread Eugene Shatokhin
Hi, I am now working on an example to see if what I suggested earlier is possible. During this, I encountered a problem in Kprobes on x86 that prevents placing them on the insns with %rip-relative addressing. register_kprobe() returns -EINVAL in such cases because __copy_instruction() returns 0

Re: [PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-09 Thread Sascha Hauer
On Fri, Mar 06, 2015 at 06:48:16PM +0800, yong...@mediatek.com wrote: > From: Yong Wu > > This patch add SMI(Smart Multimedia Interface) driver. This driver is > responsible to enable/disable iommu and control the clocks of each > local arbiter. > > Signed-off-by: Yong Wu > --- > drivers/s

Re: [PATCH v7 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-03-09 Thread Krzysztof Kozlowski
2015-03-09 1:35 GMT+01:00 Beomho Seo : > On 03/08/2015 05:13 AM, Sebastian Reichel wrote: >> On Mon, Mar 02, 2015 at 07:10:35PM +0900, Jaewon Kim wrote: >>> From: Beomho Seo >>> >>> This patch adds device driver of max77843 charger. This driver provide >>> initialize each charging mode(e.g. fast c

[PATCH v2 2/3] NFC: nxp-nci: Add support for NXP NCI chips

2015-03-09 Thread clement . perrochaud
From: Clément Perrochaud Add support for NXP NCI NFC controllers such as the NPC100 or PN7150 families. Signed-off-by: Clément Perrochaud --- MAINTAINERS | 7 + drivers/nfc/Kconfig | 1 + drivers/nfc/Makefile | 1 + drivers/nfc

Re: Build regressions/improvements in v4.0-rc3

2015-03-09 Thread Geert Uytterhoeven
On Mon, Mar 9, 2015 at 11:50 AM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.0-rc3[1] to v4.0-rc2[3], the summaries are: > - build errors: +18/-7 + /home/kisskb/slave/src/arch/arm/mach-pxa/idp.c: error: 'SMC91X_NOWAIT' undeclared here (not in a function): => 85:47 + /home/kisskb/sl

Re: [PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY

2015-03-09 Thread Boaz Harrosh
On 03/05/2015 10:41 PM, Dan Williams wrote: > On Thu, Mar 5, 2015 at 2:20 AM, Boaz Harrosh wrote: >> >> There is something not very nice (Gentlemen nice) In current >> e820.c code. >> >> At Multiple places for example @memblock_x86_fill() it will >> add the different memory resources *except the E

Re: [PATCH/RFC v12 10/19] DT: Add documentation for the mfd Maxim max77693

2015-03-09 Thread Sakari Ailus
Hi Jacek, On Wed, Mar 04, 2015 at 05:14:31PM +0100, Jacek Anaszewski wrote: > This patch adds device tree binding documentation for > the flash cell of the Maxim max77693 multifunctional device. > > Signed-off-by: Jacek Anaszewski > Signed-off-by: Andrzej Hajda > Acked-by: Kyungmin Park > Cc:

Re: [PATCH 2/3] locking: ww_mutex: Allow to use rt_mutex instead of mutex for the baselock

2015-03-09 Thread Mike Galbraith
On Mon, 2015-03-09 at 11:00 +0100, Sebastian Andrzej Siewior wrote: > On 03/06/2015 06:50 PM, Mike Galbraith wrote: > > On Fri, 2015-03-06 at 13:36 +0100, Sebastian Andrzej Siewior wrote: > >> On 03/06/2015 01:16 PM, Maarten Lankhorst wrote: > >> > Okay so what I the point made here? It is onl

Build regressions/improvements in v4.0-rc3

2015-03-09 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.0-rc3[1] compared to v3.19[2]. Summarized: - build errors: +20/-10 - build warnings: +120/-186 JFYI, when comparing v4.0-rc3[1] to v4.0-rc2[3], the summaries are: - build errors: +18/-7 - build warnings: +72/-66 Note

Fwd: [PATCH] ipc: fix compat msgrcv with negative msgtyp

2015-03-09 Thread Masanari Iida
Greg, Somebody asking to backport following patch into 3.10.x stable tree. https://lkml.org/lkml/2015/3/7/316 The patch is identified as following commit ID in Linus's tree. commit e7ca2552369c1dfe0216c626baf82c3d83ec36bb Author: Mateusz Guzik Date: Mon Jan 27 17:07:11 2014 -0800 ipc: fix

Re: [PATCH] regmap: introduce regmap_name to fix syscon regmap trace events

2015-03-09 Thread Mark Brown
On Mon, Mar 09, 2015 at 10:48:22AM +0100, Philipp Zabel wrote: > Good point. As I see it I have three possiblities now: > a) Just #include "../../../drivers/base/regmap/internal.h" in >include/trace/events/regmap.h I think this is my preference - it looks ugly which means that it's not likel

Re: [PATCH 1/2] soc: mediatek: Add PMIC wrapper for MT8135 and MT8173 SoCs

2015-03-09 Thread Sascha Hauer
On Mon, Mar 09, 2015 at 09:53:31AM +0100, Matthias Brugger wrote: > 2015-02-22 13:02 GMT+01:00 Sascha Hauer : > > From: Flora Fu > > > > new file mode 100644 > > index 000..b91665a > > --- /dev/null > > +++ b/drivers/soc/mediatek/Kconfig > > @@ -0,0 +1,11 @@ > > +# > > +# MediaTek SoC drivers

[PATCH v2 0/3] NFC: nxp-nci: Add support for NXP-NCI NFC controllers

2015-03-09 Thread clement . perrochaud
From: Clément Perrochaud This patch brings support for the NXP-NCI NFC controllers family. It has been successfully tested on the following SoC boards: - BeagleBone - BeagleBone Black - Raspberry Pi B - Raspberry Pi B+ The submission is broken into three patches: - The first one adds firmw

[PATCH v2 1/3] NFC: nci: Add firmware download support

2015-03-09 Thread clement . perrochaud
From: Clément Perrochaud A simple forward for firmware download (i.e. sending a new firmware to the NFC adapter) from the NFC subsystem to the drivers. This feature is required to update the firmware of NXP-NCI NFC controllers but can be used by any NCI driver. This feature has been present in

Re: [PATCH 1/4] NFC: nci: Add FWDL support

2015-03-09 Thread Clément Perrochaud
On 01/30/2015 12:28 AM, Samuel Ortiz wrote: > - It really is not obvious that FWDL actually means firmware download > - A small commit message explaining why you need this (Mostly for the > NXP chipset for now) would be nice. Hi Samuel, Thank you for all your comments, I just sent an improved v

<    4   5   6   7   8   9   10   11   >