[PATCH v6 2/3] gpio: Cygnus: add GPIO driver

2014-12-15 Thread Ray Jui
This GPIO driver supports all 3 GPIO controllers in the Broadcom Cygnus SoC. The 3 GPIO controllers are 1) the ASIU GPIO controller, 2) the chipCommonG GPIO controller, and 3) the ALWAYS-ON GPIO controller Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- drivers/gpio/Kconfig |

[PATCH v6 0/3] Add gpio support to Broadcom Cygnus SoC

2014-12-15 Thread Ray Jui
This patchset contains the initial GPIO support for the Broadcom Cygnus SoC. Cygnus has 3 GPIO controllers: 1) the ASIU GPIO; 2) the chipCommonG GPIO; and 3) the ALWAYS-ON GPIO. All 3 types of GPIO controllers are supported by the same Cygnus GPIO driver Changes from v5: - Get rid of DT property

Re: [RFC PATCH 2/2] iommu: rockchip: Handle system-wide and runtime PM

2014-12-15 Thread Tomasz Figa
On Tue, Dec 16, 2014 at 4:53 AM, Laurent Pinchart wrote: > Hi Tomasz, > > On Monday 15 December 2014 11:39:01 Tomasz Figa wrote: >> On Sat, Dec 13, 2014 at 5:47 AM, Laurent Pinchart wrote: >> > On Friday 12 December 2014 13:15:51 Tomasz Figa wrote: >> >> On Fri, Dec 12, 2014 at 5:48 AM, Rafael J.

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Linus Torvalds
On Mon, Dec 15, 2014 at 5:50 PM, Dave Airlie wrote: > > Now you might complain that printing anything in this case is bad, I don't mind it if it's *one* line, and if people realize that the commentary in the commit in question was pure and utter shit. Because talking about how it's going to

[PATCH] perf tool: Fix use after free in filename__read_build_id

2014-12-15 Thread Mitchell Krome
In filename__read_build_id, phdr points to memory in buf, which gets realloced before a call to fseek that uses phdr->p_offset. This change stores the value of p_offset before buf is realloced, so the fseek can use the value safely. Signed-off-by: Mitchell Krome ---

Re: [PATCH 3.17 000/122] 3.17.5-stable review

2014-12-15 Thread Guenter Roeck
On 12/05/2014 07:44 PM, Greg Kroah-Hartman wrote: On Fri, Dec 05, 2014 at 07:30:48PM -0800, Guenter Roeck wrote: On 12/05/2014 02:42 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.17.5 release. There are 122 patches in this series, all will be posted as a

Re: [PATCH 5/6] dt-bindings: Add documentation for Rockchip hdmi-audio

2014-12-15 Thread Kuankuan.Yang
Hi Mark : Got it, it will be good to use simple-card. i will try it in next version. Best Regards. 在 2014年12月16日 00:18, Mark Brown 写道: On Mon, Dec 15, 2014 at 09:10:26PM +0800, Kuankuan.Yang wrote: Hi Mark & Russell: Please don't top post, that way people have some context for what you're

[PATCH] perf: fix building warning on ARM 32.

2014-12-15 Thread Wang Nan
Commit 85c116a6c introduces asprintf() call and matches '%ld' to a u64 argument, which is incorrect on ARM. CC /home/wn/util/srcline.o util/srcline.c: In function 'get_srcline': util/srcline.c:297:6: error: format '%ld' expects argument of type 'long int', but argument 4 has type

RE: [PATCH] scsi:storvsc enable reading from VPD pages on SPC-2

2014-12-15 Thread Long Li
Thanks Martin for the explanation. I'll send out another patch. > -Original Message- > From: Martin K. Petersen [mailto:martin.peter...@oracle.com] > Sent: Thursday, December 11, 2014 7:04 PM > To: Long Li > Cc: Martin K. Petersen; KY Srinivasan; Haiyang Zhang; >

[PATCH 1/3] usb: host: f_usb20ho: add support for Fujitsu ehci/ohci USB 2.0 host controller

2014-12-15 Thread Sneeker Yeh
This patch adds support for EHCI compliant Host controller found on Fujitsu Socs. Signed-off-by: Sneeker Yeh --- .../devicetree/bindings/usb/fujitsu-ehci.txt | 22 ++ drivers/usb/host/Kconfig | 11 + drivers/usb/host/Makefile |1 +

[PATCH 3/3] usb: dwc3: add a quirk for device disconnection issue in Synopsis dwc3 core

2014-12-15 Thread Sneeker Yeh
Synopsis DesignWare USB3 IP Core integrated with a config-free phy needs special handling during device disconnection to avoid the host controller dying. This quirk makes sure PORT_CSC is cleared after the disable slot command when usb device is disconnected from internal root hub, otherwise,

[PATCH 2/3] usb: dwc3: add Fujitsu Specific Glue layer

2014-12-15 Thread Sneeker Yeh
This patch adds support for Synopsis DesignWare USB3 IP Core found on Fujitsu Socs. Signed-off-by: Sneeker Yeh --- .../devicetree/bindings/usb/fujitsu-dwc3.txt | 25 +++ drivers/usb/dwc3/Kconfig | 11 ++ drivers/usb/dwc3/Makefile |

[PATCH 0/3] Add support for Fujitsu USB host controller

2014-12-15 Thread Sneeker Yeh
These patches add support for EHCI and XHCI compliant Host controller found on Fujitsu Socs, and are based on http://www.spinics.net/lists/arm-kernel/msg385573.html First patch is EHCI platform glue driver. Patch 2 introduces Fujitsu Specific Glue layer in Synopsis DesignWare USB3 IP driver.

Re: [CFT] Can I get some Tested-By's on this series?

2014-12-15 Thread Andy Lutomirski
On Wed, Dec 10, 2014 at 8:39 AM, Eric W. Biederman wrote: > > Will people please test these patches with their container project? > > These changes break container userspace (hopefully in a minimal way) if > I could have that confirmed by testing I would really appreciate it. I > really don't

Re: [PATCH (resend)] mailbox: Add Altera mailbox driver

2014-12-15 Thread Ley Foon Tan
On Mon, Dec 15, 2014 at 10:22 PM, Dinh Nguyen wrote: > > > On 12/15/14, 12:22 AM, Ley Foon Tan wrote: >> On Fri, Dec 12, 2014 at 10:38 PM, Dinh Nguyen wrote: >> + +#include +#include +#include +#include +#include +#include +#include +#include

Re: [PATCH v6] Thermal: introduce INT3406 thermal driver

2014-12-15 Thread Aaron Lu
On 13/12/14 02:18, Olof Johansson wrote: > Hi, > > > > On Thu, Dec 11, 2014 at 12:38 AM, Aaron Lu wrote: >> INT3406 ACPI device object resembles an ACPI video output device, but its >> _BCM is said to be deprecated and should not be used. So we will make >> use of the raw interface to do the

Re: [PATCH RESEND v2] mfd: syscon: add child device support

2014-12-15 Thread Flora Fu
Hi, The patch set is used to implement reset controller in http://lists.infradead.org/pipermail/linux-arm-kernel/2014-November/299141.html Tested-by: Flora Fu Thanks, Flora On Mon, 2014-12-15 at 09:58 +, Lee Jones wrote: > On Mon, 15 Dec 2014, Philipp Zabel wrote: > > Am Montag, den

Re: linux-next: build failure after merge of the infiniband tree

2014-12-15 Thread Roland Dreier
On Mon, Dec 15, 2014 at 5:47 PM, Stephen Rothwell wrote: > Hi all, > > After merging the infiniband tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/infiniband/hw/mlx5/main.c: In function 'mlx5_ib_query_device': > drivers/infiniband/hw/mlx5/main.c:248:34:

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Dave Airlie
On 16 December 2014 at 11:03, Linus Torvalds wrote: > On Mon, Dec 15, 2014 at 4:48 PM, Dave Airlie wrote: >> >> I'd be inclined to just revert this for now, it is annoying we let >> userspace away with this, but we probably need to find a better >> way to enforce it, since the cat is out of the

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Rob Clark
On Mon, Dec 15, 2014 at 7:48 PM, Dave Airlie wrote: > On 16 December 2014 at 10:35, Linus Torvalds > wrote: >> On Sun, Dec 14, 2014 at 11:17 PM, Dave Airlie wrote: >>> >>> i915: >>> Initial Skylake (SKL) support >>> gen3/4 reset work >>> start of dri1/ums removal >>>

linux-next: build failure after merge of the infiniband tree

2014-12-15 Thread Stephen Rothwell
clared (first use in this function) if (dev->caps.gen.flags & MLX5_DEV_CAP_FLAG_ON_DMND_PG) ^ Really? Code added half way though the merge window not even build tested? I have used the infiniband tree from next-20141215 for today. -- Cheers, Stephen Rothw

Re: [LKP] [userns] BUG: unable to handle kernel NULL pointer dereference at (null)

2014-12-15 Thread Huang Ying
On Mon, 2014-12-15 at 11:31 -0600, Eric W. Biederman wrote: > Huang Ying writes: > > > FYI, we noticed the below changes on > > > > git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git > > for-testing > > commit bbea5f5532501fdd67f46442ba7b1122d7ff3123 > > ("userns: Add a

Re: [PATCH 0/5] Fix Intel IRQ remapping initialization order

2014-12-15 Thread Jiang Liu
On 2014/12/16 3:54, Thomas Gleixner wrote: > On Mon, 15 Dec 2014, Jiang Liu wrote: >> On 2014/12/15 23:13, Joerg Roedel wrote: >>> Hi, >>> >>> here is a patch-set against tip/x86/apic to fix an initialization order >>> problem with the IRQ remapping code. The problem is in the ordering of >>>

Re: [PATCH v6 1/2] Input: add regulator haptic driver

2014-12-15 Thread Dmitry Torokhov
On Tue, Dec 16, 2014 at 10:09:25AM +0900, Jaewon Kim wrote: > Hi Dmitry, > > 2014년 12월 14일 04:56에 Dmitry Torokhov 이(가) 쓴 글: > >Hi Jaewon, > > > >On Fri, Dec 12, 2014 at 07:32:28PM +0900, Jaewon Kim wrote: ... > >>+static int __maybe_unused regulator_haptic_suspend(struct device *dev) > >>+{ > >>+

linux-next: manual merge of the infiniband tree with Linus' tree

2014-12-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the infiniband tree got a conflict in drivers/infiniband/hw/mlx5/mr.c between commit 479163f46082 ("mlx5: don't duplicate kvfree()") from Linus' tree and commit 89c925949c1f ("IB/mlx5: Implement on demand paging by adding support for MMU notifiers") from the

RE: [PATCH v15 00/12] input: cyapa: instruction of cyapa patches

2014-12-15 Thread Dudley Du
Jeremiah, No problem. :-) Thank you very much for your help and so much time on review these patches. I will fix this issue as soon as possible. Thanks, Dudley > -Original Message- > From: linux-input-ow...@vger.kernel.org > [mailto:linux-input-ow...@vger.kernel.org] On Behalf Of

Re: [RFC PATCHv3 1/7] devfreq: event: Add new devfreq_event class to provide basic data for devfreq governor

2014-12-15 Thread Chanwoo Choi
Hi Krzysztof, On 12/15/2014 11:53 PM, Krzysztof Kozlowski wrote: > On pią, 2014-12-12 at 17:27 +0900, Chanwoo Choi wrote: >> This patch add new devfreq_event class for devfreq_event device which provide >> raw data (e.g., memory bus utilization/GPU utilization). This raw data from >>

Re: [RFC PATCHv3 2/7] devfreq: event: Add the list of supported devfreq-event type

2014-12-15 Thread Chanwoo Choi
Hi Krzysztof, On 12/15/2014 11:53 PM, Krzysztof Kozlowski wrote: > On pią, 2014-12-12 at 17:27 +0900, Chanwoo Choi wrote: >> This patch adds the list of supported devfreq-event type as following. >> Each devfreq-event device driver would support the various devfreq-event type >> for devfreq

Re: [PATCH v3 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Andrew Bresticker
Doug, On Mon, Dec 15, 2014 at 4:22 PM, Doug Anderson wrote: > We've introduced a new helper in the MMC core: > mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new > helper has some advantages: > > 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match >VQMMC

Re: [PATCH v6 1/2] Input: add regulator haptic driver

2014-12-15 Thread Jaewon Kim
Hi Dmitry, 2014년 12월 14일 04:56에 Dmitry Torokhov 이(가) 쓴 글: Hi Jaewon, On Fri, Dec 12, 2014 at 07:32:28PM +0900, Jaewon Kim wrote: This patch adds support for haptic driver controlled by voltage of regulator. And this driver support for Force Feedback interface from input framework

mmotm 2014-12-15-17-05 uploaded

2014-12-15 Thread akpm
The mm-of-the-moment snapshot 2014-12-15-17-05 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Linus Torvalds
On Mon, Dec 15, 2014 at 4:48 PM, Dave Airlie wrote: > > I'd be inclined to just revert this for now, it is annoying we let > userspace away with this, but we probably need to find a better > way to enforce it, since the cat is out of the bag. .. why did that commit ever even get far enough to

[PATCH] cpufreq: exynos5440: protect call to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov --- Again, not tested... drivers/cpufreq/exynos5440-cpufreq.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/cpufreq/exynos5440-cpufreq.c b/drivers/cpufreq/exynos5440-cpufreq.c

[alsa][intel-hda] Dell M6800 - Realtek ALC3226 - Headphone Microphone not detected/working

2014-12-15 Thread Shawn Starr
Hello ALSA/Kernel devs, I have a Dell Precision M6800 with latest BIOS here is output from the HDA driver [ 20.783635] snd_hda_intel :00:03.0: enabling device ( -> 0002) [ 20.783804] snd_hda_intel :00:1b.0: irq 34 for MSI/MSI-X [ 20.783911] snd_hda_intel :01:00.1: Handle

RE: [E1000-devel] [PATCH] ixgbe, ixgbevf: Add new mbox API to enable MC promiscuous mode

2014-12-15 Thread Hiroshi Shimamoto
> > Subject: Re: [E1000-devel] [PATCH] ixgbe, ixgbevf: Add new mbox API to > > enable MC promiscuous mode > > > > On 11/27/2014 02:39 AM, Hiroshi Shimamoto wrote: > > > From: Hiroshi Shimamoto > > > > > > The limitation of the number of multicast address for VF is not enough > > > for the large

[PATCH 1/3] HID: logitech-hidpp: detect HID++ 2.0 errors too

2014-12-15 Thread Peter Wu
Devices speaking HID++ 2.0 report a different error code (0xff). Detect these errors too to avoid 5 second delays when the device reports an error. Caught by... well, a bug in the QEMU emulation of this receiver. Renamed fap to rap for HID++ 1.0 errors because it is more logical, it has no

[PATCH 0/3] HID: logitech-{dj,hidpp}: more reliability fixes

2014-12-15 Thread Peter Wu
Hi Jiri, Here are more fixes intended for the 3.19 tree after a review. Two bugfixes. one which was mentioned in a mail with Benjamin ("avoid unintended fall-through") and a fix to avoid a possible 5 second delay for HID++ 2.0 errors. I haven't encountered a case where the hidpp module generates

[PATCH 2/3] HID: logitech-{dj,hidpp}: check report length

2014-12-15 Thread Peter Wu
Malicious USB devices can send bogus reports smaller than the expected buffer size. Ensure that the length is valid to avoid reading out of bounds. For the old WTP, I do not have a HID descriptor so just check for the minimum length in hidpp_raw_event (this can be changed to an inequality later).

[PATCH] cpufreq: imx6: prorect calls to dev_pm_opp_get_opp_count with RCU lock

2014-12-15 Thread Dmitry Torokhov
dev_pm_opp_get_opp_count() must be called with RCU lock held. Signed-off-by: Dmitry Torokhov --- Not tested at all... drivers/cpufreq/imx6q-cpufreq.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/cpufreq/imx6q-cpufreq.c b/drivers/cpufreq/imx6q-cpufreq.c index

Re: [PATCH] checkpatch giving bogus advice (was staging: goldfish: Fix minor coding style)

2014-12-15 Thread Joe Perches
On Mon, 2014-12-15 at 14:59 +0300, Dan Carpenter wrote: > I prefer !foo because it is more common in the kernel and I think it's > easier to read but I don't feel strongly about this. Me too. But I do prefer consistency. fyi: for variants of: "if (!foo)" vs "if (foo == NULL)"

[PATCH 3/3] HID: logitech-hidpp: avoid unintended fall-through

2014-12-15 Thread Peter Wu
Add a return to avoid a fall-through. Introduced in commit 57ac86cf52e903d9e3e0f12b34c814cce6b65550 ("HID: logitech-hidpp: add support of the first Logitech Wireless Touchpad"). Signed-off-by: Peter Wu --- drivers/hid/hid-logitech-hidpp.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [RFC PATCH] sg3_utils: Added hybrid information log utility

2014-12-15 Thread Phillip Susi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 11/25/2014 02:13 PM, Akers, Jason B wrote: > Hi Phillip, It turns out that this patch was based on an old > github repository that doesn't appear to be updated. Doug Gilbert > reached out after the initial RFC and directed us to his page >

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Dave Airlie
On 16 December 2014 at 10:35, Linus Torvalds wrote: > On Sun, Dec 14, 2014 at 11:17 PM, Dave Airlie wrote: >> >> i915: >> Initial Skylake (SKL) support >> gen3/4 reset work >> start of dri1/ums removal >> infoframe tracking >> fixes for lots of things. > >

Re: [PATCH 1/2] powercap/rapl: add ids for future xeon cpus

2014-12-15 Thread Guenter Roeck
On Mon, Dec 15, 2014 at 10:14:15AM -0800, Jacob Pan wrote: > Enable RAPL driver on Xeon cpu id 0x56. > > Signed-off-by: Jacob Pan > --- > drivers/powercap/intel_rapl.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/powercap/intel_rapl.c b/drivers/powercap/intel_rapl.c > index

[PATCH 2/4] mmc: sunxi: Correcting SDXC_HARDWARE_RESET bit

2014-12-15 Thread David Lanzendörfer
Fixing the register name in sunxi_mmc_reset_host since the SDXC_HARDWARE_RESET bit is actually located within REG_GCTRL and not REG_CMDR as it was pointed out by Allwinner. Signed-off-by: David Lanzendörfer Reported-by: 李想 --- drivers/mmc/host/sunxi-mmc.c |2 +- 1 file changed, 1

[PATCH 3/4] mmc: sunxi: Reset behavior fix

2014-12-15 Thread David Lanzendörfer
When there is only one DES available the DMA performs a FIFO reset and waits until the reinitialization has been completed. Disabling the SDXC_IDMAC_DES0_DIC bit prevents the DMA from sending an interrupt after it has finished this reinitialization. The flags SDXC_IDMAC_DES0_FD and

[PATCH 1/4] mmc: sunxi: Lock fix

2014-12-15 Thread David Lanzendörfer
1) Adding a comment in order to clarify the choice of the locks within sunxi_mmc_handle_manual_stop 2) As 李想 has pointed out the wait_dma variable was not accessed within the spin lock block in sunxi_mmc_request and so (even if it should never happend) it would have

[PATCH 4/4] mmc: sunxi: Removing unused code

2014-12-15 Thread David Lanzendörfer
Removing a relict from reverse engineering of the Android driver code in sunxi_mmc_clk_set_rate. Signed-off-by: David Lanzendörfer Reported-by: 李想 --- drivers/mmc/host/sunxi-mmc.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/mmc/host/sunxi-mmc.c

[PATCH 0/4] mmc: sunxi: General fixup

2014-12-15 Thread David Lanzendörfer
Hello This patchset was inspired questions from 李想 of Allwinner and incorporates as well suggestions from Hans related to spin locks. For example have not all attributes of the shared host object been protected by the spin lock, this has been changed. Also some register names and reset behavior

Re: [PATCH 1/2] mm/zsmalloc: adjust order of functions

2014-12-15 Thread Minchan Kim
Hello Ganesh, On Sat, Dec 13, 2014 at 09:43:23PM +0800, Ganesh Mahendran wrote: > Currently functions in zsmalloc.c does not arranged in a readable > and reasonable sequence. With the more and more functions added, > we may meet below inconvenience. For example: > > Current functions: > void

[PATCH] PM / OPP: add some lockdep annotations

2014-12-15 Thread Dmitry Torokhov
Certain OPP APIs need to be called under RCU lock; let's add a few rcu_lockdep_assert() calls to warn about potential misuse. Signed-off-by: Dmitry Torokhov --- drivers/base/power/opp.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/base/power/opp.c

Re: [git pull] drm for 3.19-rc1

2014-12-15 Thread Linus Torvalds
On Sun, Dec 14, 2014 at 11:17 PM, Dave Airlie wrote: > > i915: > Initial Skylake (SKL) support > gen3/4 reset work > start of dri1/ums removal > infoframe tracking > fixes for lots of things. So I'm not sure how happy I am about this. It seems to work, but

Re: [PATCH v2] VERIFY_OCTAL_PERMISSIONS: Move to where it belongs

2014-12-15 Thread Stephen Rothwell
Hi George, On 15 Dec 2014 19:14:53 -0500 "George Spelvin" wrote: > > Stephen Rothwell wrote: > > Please do *not* mix changes up like this. Split this out into a > > separate patch, please (1 logical change per patch). > > Um... I thought I was doing that. More particularly, the task of >

Re: [PATCH v2 2/4] PCI: iproc: Add Broadcom iProc PCIe driver

2014-12-15 Thread Ray Jui
On 12/15/2014 1:37 PM, Arnd Bergmann wrote: On Monday 15 December 2014 11:16:31 Ray Jui wrote: On 12/12/2014 9:21 AM, Arnd Bergmann wrote: On Friday 12 December 2014 09:08:48 Ray Jui wrote: One way to solve this would be by turning the driver into a library the same way as the pcie-dw

[PATCH v3 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
We've introduced a new helper in the MMC core: mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new helper has some advantages: 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match VQMMC and VMMC when the signal voltage is 3.3V. This ensures max

[PATCH v3 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Doug Anderson
This adds logic to the MMC core to set VQMMC. This is expected to be called by MMC drivers like dw_mmc as part of (or instead of) their start_signal_voltage_switch() callback. A few notes: * When setting the signal voltage to 3.3V we do our best to make VQMMC and VMMC match. It's been

[PATCH v3 3/3] ARM: dts: Specify VMMC and VQMMC on rk3288-evb

2014-12-15 Thread Doug Anderson
Specifying these rails should eventually let us do UHS. Signed-off-by: Doug Anderson --- Changes in v3: None Changes in v2: - Fix subject line arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi

Re: [PATCH v2] VERIFY_OCTAL_PERMISSIONS: Move to where it belongs

2014-12-15 Thread George Spelvin
Stephen Rothwell wrote: > Please do *not* mix changes up like this. Split this out into a > separate patch, please (1 logical change per patch). Um... I thought I was doing that. More particularly, the task of untangling header file dependencies eseemed sufficiently cohesive that it could be

[PATCH v2] ASoC: Intel: fix possible acpi enumeration panic

2014-12-15 Thread Kevin Strasser
A crash can occur on some platforms where adsp is enumerated but codec is not matched. Define codec_id as a pointer intead of an array so that it gets initialized to NULL for the terminating element of sst_acpi_bytcr[] and sst_acpi_chv[]. Signed-off-by: Kevin Strasser ---

[PATCH] cpufreq-dt: defer probing if OPP table is not ready

2014-12-15 Thread Dmitry Torokhov
cpufreq-dt driver supports mode when OPP table is provided by platform code and not device tree. However on certain platforms code that fills OPP table may run after cpufreq driver tries to initialize, so let's report -EPROBE_DEFER if we do not find any entires in OPP table for the CPU.

Re: [PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
Andrew, On Mon, Dec 15, 2014 at 3:44 PM, Andrew Bresticker wrote: >> - if (!IS_ERR(mmc->supply.vqmmc)) { >> - ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, >> max_uv); >> - >> - if (ret) { >> - dev_dbg(>class_dev, >> -

Re: [PATCH v5 1/3] gpio: Cygnus: define Broadcom Cygnus GPIO binding

2014-12-15 Thread Ray Jui
On 12/15/2014 1:57 PM, Arnd Bergmann wrote: On Monday 15 December 2014 13:35:47 Ray Jui wrote: Like I said previously, dynamic GPIO allocation works fine in the kernel, as long as all of our GPIO clients in the kernel use gpiod based API, which is what we will enforce going forward. The only

Re: [PATCH] staging: rtl8723au: os_dep: usb_intf.c: Fix for possible null pointer dereference

2014-12-15 Thread Larry Finger
On 12/15/2014 05:01 PM, Rickard Strandqvist wrote: Hi No the rtw_hw_resume23a() is not used anywhere. I also do a check of all functions that are not used, but not in the drivers/staging, I suspected that these might be under development and used in the future. What do you want to do, who

Re: [PATCH] Staging: rtl8723au: core: rtw_ap: checkpatch.pl fixes

2014-12-15 Thread Greg KH
On Mon, Dec 15, 2014 at 06:26:09PM -0500, Joe Borg wrote: > Fixing errors found with checkpatch.pl. What exact errors? Please be specific here and describe what you are doing. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message

Re: [PATCH] staging: lustre: lustre: obdclass: lprocfs_status.c: Fix for possible null pointer dereference

2014-12-15 Thread Joe Perches
On Mon, 2014-12-15 at 23:23 +0100, Rickard Strandqvist wrote: > Hi Joe Hello Rickard > No, it does not look like end can be NULL then. > Then remove the end != NULL instead? > ... > if (end != NULL && *end == '.') { Up to you. > However, I am hesitant to the tolower() I think double case

[git pull] vfs.git pile 2

2014-12-15 Thread Al Viro
Next pile (and there'll be one or two more). The large piece in this one is getting rid of /proc/*/ns/* weirdness; among other things, it allows to (finally) make nameidata completely opaque outside of fs/namei.c, making for easier further cleanups in there. I have _not_ included removal of

[PATCH v10] iopoll: Introduce memory-mapped IO polling macros

2014-12-15 Thread Mitchel Humpherys
From: Matt Wagantall It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition. Introduce a family of convenience macros that do this. Tight-looping, sleeping, and timing out can all be accomplished using these macros. Cc: Thierry Reding Cc: Will

Re: frequent lockups in 3.18rc4

2014-12-15 Thread Linus Torvalds
On Mon, Dec 15, 2014 at 10:21 AM, Linus Torvalds wrote: > > So let's just fix it. Here's a completely untested patch. So after looking at this more, I'm actually really convinced that this was a pretty nasty bug. I'm *not* convinced that it's necessarily *your* bug, but I still think it could

Re: [nohz] 2a16fc93d2c: kernel lockup on idle injection

2014-12-15 Thread Frederic Weisbecker
On Mon, Dec 15, 2014 at 03:02:17PM +0530, Viresh Kumar wrote: > On 15 December 2014 at 12:55, Preeti U Murthy > wrote: > > Hi Viresh, > > > > Let me explain why I think this is happening. > > > > 1. tick_nohz_irq_enter/exit() both get called *only if the cpu is idle* > > and receives an

Re: [PATCH v9] iopoll: Introduce memory-mapped IO polling macros

2014-12-15 Thread Mitchel Humpherys
On Mon, Dec 15 2014 at 03:31:20 PM, Mitchel Humpherys wrote: > From: Matt Wagantall > > It is sometimes necessary to poll a memory-mapped register until its value > satisfies some condition. Introduce a family of convenience macros that do > this. Tight-looping, sleeping, and timing out can all

Re: [PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Andrew Bresticker
Hi Doug, On Mon, Dec 15, 2014 at 3:25 PM, Doug Anderson wrote: > We've introduced a new helper in the MMC core: > mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new > helper has some advantages: > > 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match >VQMMC

Re: [PATCH v2 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Andrew Bresticker
Hi Doug, On Mon, Dec 15, 2014 at 3:25 PM, Doug Anderson wrote: > This adds logic to the MMC core to set VQMMC. This is expected to be > called by MMC drivers like dw_mmc as part of (or instead of) their > start_signal_voltage_switch() callback. > > A few notes: > > * When setting the signal

Re: [PATCH 7/7] CXL: Unmap MMIO regions when detaching a context

2014-12-15 Thread Michael Ellerman
On Mon, 2014-12-15 at 14:32 +1100, Ian Munsie wrote: > Excerpts from Ian Munsie's message of 2014-12-08 19:18:01 +1100: > > From: Ian Munsie > > > > If we need to force detach a context (e.g. due to EEH or simply force > > unbinding the driver) we should prevent the userspace contexts from > >

[PATCH v9] iopoll: Introduce memory-mapped IO polling macros

2014-12-15 Thread Mitchel Humpherys
From: Matt Wagantall It is sometimes necessary to poll a memory-mapped register until its value satisfies some condition. Introduce a family of convenience macros that do this. Tight-looping, sleeping, and timing out can all be accomplished using these macros. Cc: Thierry Reding Cc: Will

[PATCH v2 2/3] mmc: dw_mmc: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch

2014-12-15 Thread Doug Anderson
We've introduced a new helper in the MMC core: mmc_regulator_set_vqmmc(). Let's use this in dw_mmc. Using this new helper has some advantages: 1. We get the mmc_regulator_set_vqmmc() behavior of trying to match VQMMC and VMMC when the signal voltage is 3.3V. This ensures max

[PATCH v2 1/3] mmc: core: Add mmc_regulator_set_vqmmc()

2014-12-15 Thread Doug Anderson
This adds logic to the MMC core to set VQMMC. This is expected to be called by MMC drivers like dw_mmc as part of (or instead of) their start_signal_voltage_switch() callback. A few notes: * When setting the signal voltage to 3.3V we do our best to make VQMMC and VMMC match. It's been

[PATCH v2 3/3] ARM: dts: Specify VMMC and VQMMC on rk3288-evb

2014-12-15 Thread Doug Anderson
Specifying these rails should eventually let us do UHS. Signed-off-by: Doug Anderson --- Changes in v2: - Fix subject line arch/arm/boot/dts/rk3288-evb.dtsi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-evb.dtsi b/arch/arm/boot/dts/rk3288-evb.dtsi index

Re: [alsa-devel] [PATCH] ASoC: Intel: fix possible acpi enumeration panic

2014-12-15 Thread Kevin Strasser
On Mon, Dec 15, 2014 at 05:06:45PM +, Mark Brown wrote: > Please fix your mailer to word wrap comfortably under 80 colums so that your > mails are easily legible. Understood > > > This changes the check from verifying if a codec_id is present to > > > verifying if the first character in the

Re: [PATCH] arch: arm: mach-msm: smd.c: Remove some unused functions

2014-12-15 Thread Rickard Strandqvist
Hi My script looks for the same function name, so if they then would be named exactly the same, they would come up. But I can not even find drivers/staging/dream/ or is this really new code? Kind regards Rickard Strandqvist 2014-12-09 15:46 GMT+01:00 : > > Seems ok to me. These files, and

Re: [PATCH v4 6/6] iio: imu: kmx61: Add support for any motion trigger

2014-12-15 Thread Hartmut Knaack
Daniel Baluta schrieb am 03.12.2014 um 14:31: > We use WUFE (Wake Up from Sleep Engine) and BTSE (Back to Sleep Engine) > to detect general motion input. > A few recommendations, issues and questions inline. > Signed-off-by: Daniel Baluta > --- > drivers/iio/imu/kmx61.c | 433 >

Re: [PATCH] ioc3: fix incorrect use of htons/ntohs

2014-12-15 Thread Ben Hutchings
On Mon, 2014-12-15 at 19:14 +0100, Ralf Baechle wrote: > On Mon, Dec 01, 2014 at 04:09:36AM +, Ben Hutchings wrote: > > > > /* Same as tx - compute csum of pseudo header */ > > > csum = hwsum + > > > -(ih->tot_len - (ih->ihl << 2)) + > > > -htons((uint16_t)ih->protocol) +

Re: [PATCH v2] VERIFY_OCTAL_PERMISSIONS: Move to where it belongs

2014-12-15 Thread Stephen Rothwell
Hi George, On Mon, 15 Dec 2014 14:26:15 +1030 Rusty Russell wrote: > > George Spelvin writes: > > It's the only user of in kernel.h, so that reduces > > the compile-time cost of #include > > > > Only one user has to change: . The > > there is needed for one function prototype that passes

Re: [PATCH] staging: lustre: lustre: osc: lproc_osc.c: Fix for possible null pointer dereference

2014-12-15 Thread Rickard Strandqvist
Hi Dan Quite right! Had to try it. Do nothing then? But you must agree that it is still ugly and confusing code. Kind regards Rickard Strandqvist 2014-12-15 11:25 GMT+01:00 Dan Carpenter : > On Sun, Dec 14, 2014 at 11:37:18PM +0100, Rickard Strandqvist wrote: >> There is otherwise a risk of a

Re: [PATCH] staging: rtl8723au: os_dep: usb_intf.c: Fix for possible null pointer dereference

2014-12-15 Thread Rickard Strandqvist
Hi No the rtw_hw_resume23a() is not used anywhere. I also do a check of all functions that are not used, but not in the drivers/staging, I suspected that these might be under development and used in the future. What do you want to do, who decides? Kind regards Rickard Strandqvist 2014-12-15

Re: [perf tool] cgroup support broken on Debian?

2014-12-15 Thread Stephane Eranian
Vince, On Mon, Dec 15, 2014 at 11:01 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Dec 15, 2014 at 04:07:46PM -0500, Vince Weaver escreveu: >> Hello >> >> has anyone tested the perf tool cgroup support recently? >> >> I was trying to get it working with a command like >> sudo perf stat -a

Re: [PATCH RFC] Docs: Modernize SubmittingPatches

2014-12-15 Thread Corey Minyard
No comments besides the ones Randy already mentioned. Thanks, -corey On 12/15/2014 09:52 AM, Jonathan Corbet wrote: > The SubmittingPatches file still shows a lot of its roots from the era when > we all sent stuff straight to Linus and hoped for the best. I've gone in > and thrashed it up to

Re: [PATCH] PM QoS: Add debugfs support to view the list of constraints

2014-12-15 Thread Kevin Hilman
Dave Gerlach writes: > From: Nishanth Menon > > PM QoS requests are notoriously hard to debug and made even > more so due to their highly dynamic nature. Having visibility > into the internal data representation per constraint allows > us to have much better appreciation of potential issues or

Re: [PATCH 0/5] ARM: at91: fix irq_pm_install_action WARNING

2014-12-15 Thread Rafael J. Wysocki
On Monday, December 15, 2014 11:20:17 PM Rafael J. Wysocki wrote: > On Monday, December 15, 2014 05:15:47 PM Boris Brezillon wrote: > > Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON > > test which triggers a WARNING backtrace on at91 platforms. > > Pretty much as

Re: [PATCH] clk: samsung: Fix Exynos 5420 pinctrl setup and clock disable failure due to domain being gated

2014-12-15 Thread Kevin Hilman
Kevin Hilman writes: > Sylwester Nawrocki writes: > >> On 09/12/14 13:59, Krzysztof Kozlowski wrote: >>> On pią, 2014-12-05 at 15:15 +0100, Krzysztof Kozlowski wrote: > Audio subsystem clocks are located in separate block. On Exynos 5420 if > clock for this block (from main clock

Re: [PATCH] staging: lustre: lustre: obdclass: lprocfs_status.c: Fix for possible null pointer dereference

2014-12-15 Thread Rickard Strandqvist
Hi Joe No, it does not look like end can be NULL then. Then remove the end != NULL instead? ... if (end != NULL && *end == '.') { However, I am hesitant to the tolower() I think double case is faster...? Kind regards Rickard Strandqvist 2014-12-15 2:51 GMT+01:00 Joe Perches : > On Sun,

Re: [GIT PULL] at91: fixes for 3.19 #1

2014-12-15 Thread Kevin Hilman
Nicolas Ferre writes: > Arnd, Olof, Kevin, > > I'm sending today a "fixes" branch which somehow continues the cleanup with > only code removal. I was waiting for the arm-soc *and* pinctrl material to > reach Linus T.'s tree before sending this pull-request. In fact this sequence > was needed for

[PATCH v4 3/3] vt: fix console lock vs. kernfs s_active lock order

2014-12-15 Thread Imre Deak
Currently there is a lock order problem between the console lock and the kernfs s_active lock of the console driver's bind sysfs entry. When writing to the sysfs entry the lock order is first s_active then console lock, when unregistering the console driver via do_unregister_con_driver() the order

[PATCH v4 1/3] vt: fix check for system/busy console drivers when unregistering them

2014-12-15 Thread Imre Deak
The default console driver (conswitchp) and busy drivers bound to a console (as reported by con_is_bound()) shouldn't be unregistered. System console drivers (without the CON_DRIVER_FLAG_MODULE flag) can be unregistered, provided they are neither default nor busy. The current code checks for the

[PATCH v4 2/3] vt: fix locking around vt_bind/vt_unbind

2014-12-15 Thread Imre Deak
Currently vt_bind and vt_unbind access at least the con_driver object and registered_con_driver array without holding the console lock. Fix this by locking around the whole function in each case. Signed-off-by: Imre Deak Reviewed-by: Peter Hurley --- drivers/tty/vt/vt.c | 11 +-- 1

Re: [perf tool] cgroup support broken on Debian?

2014-12-15 Thread Arnaldo Carvalho de Melo
Em Mon, Dec 15, 2014 at 04:07:46PM -0500, Vince Weaver escreveu: > Hello > > has anyone tested the perf tool cgroup support recently? > > I was trying to get it working with a command like > sudo perf stat -a -e cycles:u,cycles:u,cycles:u -G systemd -- sleep 1 > > and it just failed by

Re: [PATCH 2/8] swap: lock i_mutex for swap_writepage direct_IO

2014-12-15 Thread Omar Sandoval
On Mon, Dec 15, 2014 at 08:56:15AM -0800, Christoph Hellwig wrote: > On Mon, Dec 15, 2014 at 05:27:05PM +0100, Jan Kara wrote: > > On Sun 14-12-14 21:26:56, Omar Sandoval wrote: > > > The generic write code locks i_mutex for a direct_IO. Swap-over-NFS > > > doesn't grab the mutex because

Re: [PATCH 1/4] regulator: core: Support trying to get close to a certain voltage

2014-12-15 Thread Doug Anderson
Mark, On Fri, Dec 12, 2014 at 4:59 AM, Mark Brown wrote: >> > There's also the potential >> > performance considerations for the DVS type applications now I think >> > about it. > >> Iterating through voltages is really that slow? If so, perhaps we >> could add some caching to keep track of

Re: [PATCH 13/14] MIPS: OCTEON: Add register definitions for OCTEON III reset unit.

2014-12-15 Thread Aaro Koskinen
Hi, On Mon, Dec 15, 2014 at 01:31:28PM -0800, David Daney wrote: > On 12/15/2014 01:09 PM, Aaro Koskinen wrote: > >Hi, > > > >On Mon, Dec 15, 2014 at 09:03:19PM +0300, Aleksey Makarov wrote: > >>From: David Daney > >> > >>Needed by follow-on patches. > > > >Looks like only one of the unions was

Re: [PATCH 0/5] ARM: at91: fix irq_pm_install_action WARNING

2014-12-15 Thread Rafael J. Wysocki
On Monday, December 15, 2014 05:15:47 PM Boris Brezillon wrote: > Commit cab303be91dc47942bc25de33dc1140123540800 [1] introduced a WARN_ON > test which triggers a WARNING backtrace on at91 platforms. Pretty much as intended. > While this WARN_ON is absolutely necessary to warn users that they

Re: [PATCH v5 1/3] gpio: Cygnus: define Broadcom Cygnus GPIO binding

2014-12-15 Thread Arnd Bergmann
On Monday 15 December 2014 13:35:47 Ray Jui wrote: > > Like I said previously, dynamic GPIO allocation works fine in the > kernel, as long as all of our GPIO clients in the kernel use gpiod based > API, which is what we will enforce going forward. The only problem is > with some of our

<    1   2   3   4   5   6   7   8   9   10   >