[PATCH v3 3/8] clk: qcom: Add support for regmap divider clocks

2015-01-19 Thread Stephen Boyd
From: Josh Cartwright Add support for dividers that use regmap instead of readl/writel. Signed-off-by: Josh Cartwright Signed-off-by: Rajendra Nayak [sb...@codeaurora.org: Switch to using generic divider code, drop enable/disable, reword commit text] Signed-off-by: Stephen Boyd --- drivers/c

Re: [PATCH v2] perf: perl: force to use stdbool.

2015-01-19 Thread Wang Nan
On 2015/1/19 22:26, Namhyung Kim wrote: > On Mon, Jan 19, 2015 at 08:43:17PM +0800, Wang Nan wrote: >> When building perf for arm64 I hit a warning (and be treated as an >> error) like below: >> >> aarch64-oe-linux-gcc -o .../util/scripting-engines/trace-event-python.o -c >> -Wbad-function-cast \

[PATCH v3 7/8] clk: qcom: Add MSM8960/APQ8064 LPASS clock controller (LCC) driver

2015-01-19 Thread Stephen Boyd
Add an LCC driver for MSM8960/APQ8064 that supports the i2s, slimbus, and pcm clocks. Change-Id: I2549b821f7bf467c1bd80d4827a1a7621e725659 Signed-off-by: Stephen Boyd --- drivers/clk/qcom/Kconfig | 9 + drivers/clk/qcom/Makefile| 1 + drivers/clk/qcom/

[PATCH v3 5/8] dt-bindings: Add #defines for IPQ806x lpass clock control

2015-01-19 Thread Stephen Boyd
From: Rajendra Nayak Add defines to make more human readable numbers for the lpass clock controller found on IPQ806x SoCs. Also remove the PLL4 define in gcc to avoid #define conflicts because that clock doesn't exist in gcc, instead it lives in lcc. Signed-off-by: Rajendra Nayak [sb...@codeaur

Re: [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-19 Thread ethan zhao
On 2015/1/20 5:10, Dev, Vasu wrote: -Original Message- From: ethan zhao [mailto:ethan.z...@oracle.com] Sent: Friday, January 16, 2015 7:01 PM To: Kirsher, Jeffrey T Cc: Dev, Vasu; Ethan Zhao; Ronciak, John; Brandeburg, Jesse; Allan, Bruce W; Wyborny, Carolyn; Skidmore, Donald C; Rose, Gr

[PATCH v3 1/8] clk: Add __clk_mux_determine_rate_closest

2015-01-19 Thread Stephen Boyd
Some clock drivers want to find the closest rate on the input of a mux instead of a rate that's less than or equal to the desired rate. Add a generic mux function to support this. Signed-off-by: Stephen Boyd --- drivers/clk/clk.c| 47 +++- incl

[PATCH v3 2/8] clk: divider: Make generic for usage elsewhere

2015-01-19 Thread Stephen Boyd
Some devices don't use mmio to interact with dividers. Split out the logic from the register read/write parts so that we can reuse the division logic elsewhere. Signed-off-by: Stephen Boyd --- drivers/clk/clk-divider.c| 212 ++- include/linux/clk-provi

[PATCH v3 4/8] clk: qcom: Add simple regmap based muxes

2015-01-19 Thread Stephen Boyd
Add support for muxes that use regmap instead of readl/writel directly. We don't support as many features as clk-mux.c, but this is good enough to support getting and setting parents. Adding a table based lookup can be added in the future if needed. Signed-off-by: Stephen Boyd --- drivers/clk/qc

[PATCH v3 0/8] qcom audio clock control drivers

2015-01-19 Thread Stephen Boyd
This patchset adds support for the low power audio subsystem (LPASS) clock controller hardware. I split out the #define patch for IPQ so that it can go through the clock tree and the arm-soc tree in parallel if desired. Changes since v2: * Rebased onto v3.19-rc2 * One fix to a clock parent name

Re: [PATCH mtd] mtd:devices: Add Altera EPCQ Driver

2015-01-19 Thread Viet Nga Dao
On Thu, Jan 15, 2015 at 5:27 PM, Viet Nga Dao wrote: > On Tue, Jan 13, 2015 at 11:33 AM, Brian Norris > wrote: >> On Thu, Dec 18, 2014 at 12:23:16AM -0800, vn...@altera.com wrote: >>> From: Viet Nga Dao >>> >>> Altera EPCQ Controller is a soft IP which enables access to Altera EPCQ and >>> EPCS

[PATCH v3] perf: perl: force to use stdbool.

2015-01-19 Thread Wang Nan
When building perf for arm64 I hit a warning (and be treated as an error) like below: aarch64-oe-linux-gcc -o .../scripts/perl/Perf-Trace-Util/Context.o -c -Wbad-function-cast \ ... scripts/perl/Perf-Trace-Util/Context.c In file included from .../usr/lib64/perl/5.14.3/CORE/perl.h:2464

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-19 Thread Alexandre Courbot
On Sun, Jan 18, 2015 at 8:39 PM, Ricardo Ribalda Delgado wrote: > This way we do not need to transverse the device tree manually. ... and this makes things much more legible. Acked-by: Alexandre Courbot -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] ARM: tegra20: Store CPU "resettable" status in IRAM

2015-01-19 Thread Alexandre Courbot
On Mon, Jan 19, 2015 at 11:12 PM, Thierry Reding wrote: > On Thu, Jan 15, 2015 at 01:58:57PM +0300, Dmitry Osipenko wrote: >> Commit 7232398abc6a ("ARM: tegra: Convert PMC to a driver") changed >> tegra_resume() >> location storing from late to early and, as a result, broke suspend on >> Tegra20

Re: module: fix module_refcount() return when running in a module exit routine

2015-01-19 Thread Rusty Russell
James Bottomley writes: > On Mon, 2015-01-19 at 16:21 +1030, Rusty Russell wrote: >> Masami Hiramatsu writes: >> > (2015/01/19 1:55), James Bottomley wrote: >> >> From: James Bottomley >> >> >> >> After e513cc1 module: Remove stop_machine from module unloading, >> >> module_refcount() is return

Re: [RFC/PATCH] init/main.c: Simplify initcall_blacklisted()

2015-01-19 Thread Rusty Russell
Oleg Nesterov writes: > On 01/17, Rasmus Villemoes wrote: >> >> Using kasprintf to get the function name makes us look up the name >> twice, along with all the vsnprintf overhead of parsing the format >> string etc. It also means there is an allocation failure case to deal >> with. Since symbol_st

[PATCH -tip] locking/mutex: Explicitly mark task as running after wakeup

2015-01-19 Thread Davidlohr Bueso
By the time we wake up and get the lock after being asleep in the slowpath, we better be running. As good practice, be explicit about this and avoid any mischief. Signed-off-by: Davidlohr Bueso --- kernel/locking/mutex.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/locking/mutex.

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-19 Thread Greg Kroah-Hartman
On Tue, Jan 20, 2015 at 12:38:12AM +0100, Johannes Stezenbach wrote: > On Tue, Jan 20, 2015 at 04:31:55AM +0800, Greg Kroah-Hartman wrote: > > On Mon, Jan 19, 2015 at 09:19:06PM +0100, Johannes Stezenbach wrote: > > > These two statements somehow contradict. From my admittedly very > > > limited ex

[PATCH] spmi: pmic_arb: add support for hw version 2

2015-01-19 Thread Gilad Avidov
Qualcomm PMIC Arbiter version-2 changes from version-1 are: - Some diffrent register offsets. - New channel register space, one per PMIC peripheral (ppid). All tx tarffic uses these channels. - New observer register space. All rx trafic uses this space. - Diffrent command format for spmi command

[GIT] Networking

2015-01-19 Thread David Miller
1) Socket addresses returned in the error queue need to be fully initialized before being passed on to userspace, fix from Willem de Bruijn. 2) Interrupt handling fixes to davinci_emac driver from Tony Lindgren. 3) Fix races between receive packet steering and cpu hotplug, from Eric

Re: [PATCH 2/2] ASoC: atmel_ssc_dai: remove clock pin comments

2015-01-19 Thread Bo Shen
Hi Peter, On 01/19/2015 09:54 PM, Peter Rosin wrote: As the clock can be get from TK/RK pin, so remove the comments. Signed-off-by: Bo Shen --- sound/soc/atmel/atmel_ssc_dai.c | 4 1 file changed, 4 deletions(-) diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_d

Re: 3.18 regression: Error while assigning device slot ID, USB3 devices not detected

2015-01-19 Thread Robert Hancock
On Mon, Jan 19, 2015 at 9:40 AM, Josh Boyer wrote: > On Mon, Jan 19, 2015 at 9:57 AM, Mathias Nyman > wrote: >> On 19.01.2015 15:47, Josh Boyer wrote: >>> On Mon, Jan 19, 2015 at 8:33 AM, Greg KH wrote: On Mon, Jan 19, 2015 at 08:28:19AM -0500, Josh Boyer wrote: > On Sun, Jan 18, 2015 a

Crypto Fixes for 3.19

2015-01-19 Thread Herbert Xu
Hi Linus: This push fixes a regression that arose from the change to add a crypto prefix to module names which was done to prevent the loading of arbitrary modules through the Crypto API. In particular, a number of modules were missing the crypto prefix which meant that they could no longer be au

[GIT PULL rcu/next] RCU commits for 3.20

2015-01-19 Thread Paul E. McKenney
Hello, Ingo, The changes in this series include: 1. Documentation updates. These were posted to LKML at https://lkml.org/lkml/2015/1/7/496. 2. Miscellaneous fixes. These were posted to LKML at https://lkml.org/lkml/2015/1/7/507. 3. Preemptible-RCU fixes, includi

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-01-19 Thread Benjamin Tissoires
On Mon, Jan 19, 2015 at 7:13 PM, Dmitry Torokhov wrote: > On Mon, Jan 19, 2015 at 04:08:19PM -0500, Benjamin Tissoires wrote: >> On Fri, Dec 19, 2014 at 4:06 AM, Henrik Rydberg wrote: >> > My ISP finally gave up on the old mail address, so I am moving things >> > over to bitmath.org instead. Also

Re: [PATCH v4 2/5] ARM:sunxi:drivers:input Add support for A10/A20 PS2

2015-01-19 Thread Dmitry Torokhov
On Mon, Jan 19, 2015 at 11:37:38AM +0530, Vishnu Patekar wrote: > Hello Dmitry, > > Thank you for review comments. Please see in-lined. > > On Sun, Jan 18, 2015 at 3:55 AM, Dmitry Torokhov > wrote: > > Hi Vishnu, > > > > On Fri, Jan 16, 2015 at 07:33:38PM +0530, Vishnu Patekar wrote: > >> Signed

Re: Linux 3.19-rc3

2015-01-19 Thread Paul E. McKenney
On Tue, Jan 06, 2015 at 12:47:53PM -0800, Paul E. McKenney wrote: > On Tue, Jan 06, 2015 at 02:57:37PM -0500, Peter Hurley wrote: [ . . . ] > David Miller's call, actually. > > But the rule is that if it is an atomic read-modify-write operation and it > returns a value, then the operation itself

Payment

2015-01-19 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH] drm/radeon: remove unreachable code

2015-01-19 Thread Nicholas Mc Guire
On Mon, 19 Jan 2015, Deucher, Alexander wrote: > > -Original Message- > > From: Nicholas Mc Guire [mailto:der.h...@hofr.at] > > Sent: Monday, January 19, 2015 8:11 AM > > To: Deucher, Alexander > > Cc: Koenig, Christian; David Airlie; dri-de...@lists.freedesktop.org; linux- > > ker...@vger

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-01-19 Thread Dmitry Torokhov
On Mon, Jan 19, 2015 at 04:08:19PM -0500, Benjamin Tissoires wrote: > On Fri, Dec 19, 2014 at 4:06 AM, Henrik Rydberg wrote: > > My ISP finally gave up on the old mail address, so I am moving things > > over to bitmath.org instead. Also change the status fields to better > > reflect reality. > > >

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

2015-01-19 Thread Stephen Rothwell
Hi Tony, Today's linux-next merge of the omap tree got a conflict in arch/arm/boot/dts/Makefile between commit cb612390e546 ("ARM: dts: Only build dtb if associated Arch and/or SoC is enabled") from the arm-soc tree and commit ac7452cee743 ("ARM: dts: Add minimal support for dm8168-evm") from the

Re: [PATCH 2/3] sysfs: Only accept read/write permissions for file attributes

2015-01-19 Thread Vivien Didelot
Hi Guenter, > For sysfs file attributes, only read and write permisssions make sense. Minor typo, there's an extra 's' to permissions. > Mask provided attribute permissions accordingly and send a warning > to the console if invalid permission bits are set. > > Cc: Vivien Didelot > Signed-off-b

[PATCHv3 1/2] usb: ehci-platform: add support for multiple phys per controller

2015-01-19 Thread arun.ramamurthy
From: Arun Ramamurthy Added support for cases where one controller is connected to multiple phys. Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Scott Branden --- drivers/usb/host/ehci-platform.c | 82 +--- 1 fil

[PATCHv3 0/2] Added Multiple Phy support for ehci and ohci drivers

2015-01-19 Thread arun.ramamurthy
From: Arun Ramamurthy Broadcom has a chip where one ehci and ohci controller are connected to three separate phys. This patch allows each phy to be controlled separately. Changes in v2: - removed x character mistakenly introduced by manual edit of diff file Changes in v3: - Addressed Alan Ster

[PATCHv3 2/2] usb: ohci-platform: add support for multiple phys per controller

2015-01-19 Thread arun.ramamurthy
From: Arun Ramamurthy Added support for cases where one controller is connected to multiple phys Signed-off-by: Arun Ramamurthy Reviewed-by: Ray Jui Reviewed-by: Scott Branden Tested-by: Scott Branden --- drivers/usb/host/ohci-platform.c | 82 +--- 1 file

Re: [PATCH v9 3/3] clk: Add floor and ceiling constraints to clock rates

2015-01-19 Thread Stephen Boyd
On 01/19, Tomeu Vizoso wrote: > Adds a way for clock consumers to set maximum and minimum rates. This can be > used for thermal drivers to set ceiling rates, or by misc. drivers to set > floor rates to assure a minimum performance level. > > Changes the signature of the determine_rate callback by

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-19 Thread Johannes Stezenbach
On Tue, Jan 20, 2015 at 04:31:55AM +0800, Greg Kroah-Hartman wrote: > On Mon, Jan 19, 2015 at 09:19:06PM +0100, Johannes Stezenbach wrote: > > These two statements somehow contradict. From my admittedly very > > limited experience, I never used D-Bus because it did not > > fit my usage scenarios: I

Re: [PATCH v6 5/7] sched/fair: fix idle balance when remaining tasks are all non-CFS tasks

2015-01-19 Thread Wanpeng Li
On Mon, Jan 19, 2015 at 01:45:28PM +0100, Peter Zijlstra wrote: >On Wed, Nov 26, 2014 at 08:44:05AM +0800, Wanpeng Li wrote: >> The overload indicator is used for knowing when we can totally avoid load >> balancing to a cpu that is about to go idle. We can avoid load balancing >> when no cpu has cf

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-19 Thread Ricardo Ribalda Delgado
Hello Peter I thought the logic behind the original driver was: 1) Create gpiochip so it can be used by other modules/userland 2) if there is also a irq available for it, create a irqdomain. otherwise continue. I can change the code so it does not continue, and exit cleanly if the irqdomain fail

Re: [PATCH v6 5/7] sched/fair: fix idle balance when remaining tasks are all non-CFS tasks

2015-01-19 Thread Wanpeng Li
On Mon, Jan 19, 2015 at 09:48:45AM -0800, Tim Chen wrote: >On Mon, 2015-01-19 at 13:45 +0100, Peter Zijlstra wrote: >> On Wed, Nov 26, 2014 at 08:44:05AM +0800, Wanpeng Li wrote: >> > The overload indicator is used for knowing when we can totally avoid load >> > balancing to a cpu that is about to

[PATCH 3/3] ARM: dts: meson: add DTS file for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
Add a DTS file for MINIX NEO-X8, a Meson8-based digital media player. Signed-off-by: Beniamino Galvani --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/meson8-minix-neo-x8.dts | 128 ++ 2 files changed, 129 insertions(+) create mode 100644 arc

[PATCH 1/3] of: Add vendor prefix for MINIX

2015-01-19 Thread Beniamino Galvani
Add MINIX Technology Limited to the list of device tree vendor prefixes. The company manufactures digital media players and mini-ITX motherboards. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Docume

[PATCH 0/3] ARM: meson: add support for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
This series adds support for MINIX NEO-X8, a digital media player based on a Amlogic S802 (Meson8) SoC. It depends on the pinctrl support for Meson8 submitted here: https://lkml.org/lkml/2015/1/17/87 Beniamino Galvani (3): of: Add vendor prefix for MINIX of: Define board compatible for MINI

[PATCH 2/3] of: Define board compatible for MINIX NEO-X8

2015-01-19 Thread Beniamino Galvani
Document the board compatible property for MINIX NEO-X8, a Meson8-based digital media player. While at it, move the other existing Meson board compatible to amlogic.txt. Signed-off-by: Beniamino Galvani --- Documentation/devicetree/bindings/arm/amlogic.txt | 4 Documentation/devicetree/bi

Re: [PATCH 1/2] IPVS: add wlib & wlip schedulers

2015-01-19 Thread Julian Anastasov
Hello, On Sat, 17 Jan 2015, Chris Caputo wrote: > From: Chris Caputo > > IPVS wlib (Weighted Least Incoming Byterate) and wlip (Weighted Least > Incoming > Packetrate) schedulers, updated for 3.19-rc4. The IPVS estimator uses 2-second timer to update the stats, isn't that a

Payment

2015-01-19 Thread Finance Department
Dear Recipient, You have been awarded the sum of 8,000,000.00 (Eight Million Pounds sterling) with reference number 77100146 by office of the ministry of finance UK.Send us your personal details to deliver your funds. Gloria Peter -- To unsubscribe from this list: send the line "unsubscribe li

Re: [PATCH 8/8] gpio/mpc8xxx: Use of_mm_gpiochip_remove

2015-01-19 Thread Ricardo Ribalda Delgado
Hello Peter > > > -hwirq = irq_of_parse_and_map(np, 0); > > -if (hwirq == NO_IRQ) > > +mpc8xxx_gc->irqn = irq_of_parse_and_map(np, 0); > > +if (mpc8xxx_gc->irqn == NO_IRQ) > > return 0; > > > With this return 0 converted to do of_mm_gpiochip_remove(): Are you su

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Russell King - ARM Linux
On Tue, Jan 20, 2015 at 03:01:42AM +0800, Greg Kroah-Hartman wrote: > On Mon, Jan 19, 2015 at 07:55:56PM +0100, Wolfram Sang wrote: > > diff --git a/drivers/i2c/i2c-core.c b/drivers/i2c/i2c-core.c > > index 39d25a8cb1ad..15cc5902cf89 100644 > > --- a/drivers/i2c/i2c-core.c > > +++ b/drivers/i2c/i2c

Re: [PATCH v3 2/8] mfd: Add atmel-st driver

2015-01-19 Thread Alexandre Belloni
Hi Lee, On 19/01/2015 at 09:42:24 +, Lee Jones wrote : > On Mon, 12 Jan 2015, Alexandre Belloni wrote: > > > The Atmel System Timer IP available on the at91rm9200 exposes both a timer > > and a > > watchdog. > > > > Signed-off-by: Alexandre Belloni > > Acked-by: Boris Brezillon > > --- >

Re: [PATCH 8/8] gpio/mpc8xxx: Use of_mm_gpiochip_remove

2015-01-19 Thread Peter Korsgaard
> "Ricardo" == Ricardo Ribalda Delgado writes: > Since d621e8bae5ac9c67 (Create of_mm_gpiochip_remove), there is a > counterpart for of_mm_gpiochip_add. > This patch implements the remove function of the driver making use of > it. > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: P

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-19 Thread Peter Korsgaard
> "Ricardo" == Ricardo Ribalda Delgado writes: > This way we do not need to transverse the device tree manually. > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Grant Likely > Cc: Rob Herring > Cc: Peter Korsgaard > Cc: devicet...@vger.kernel.org > Signed-off-by: Ricardo Ribald

Re: [PATCH v2 0/4] toshiba_acpi: Add support for USB Sleep functions

2015-01-19 Thread Darren Hart
On Sun, Jan 18, 2015 at 06:30:21PM -0700, Azael Avalos wrote: > The following patches add support to several USB Sleep functions > found on newer Toshiba laptops, allowing to use the USB ports while > the laptop is asleep or turned off. > > Changes since v1: > - Changed accepted parameters on firs

Re: [PATCH 7/8] gpio/mpc8xxx: Convert to platform device interface.

2015-01-19 Thread Peter Korsgaard
> "Ricardo" == Ricardo Ribalda Delgado writes: > This way we do not need to transverse the device tree manually. > Cc: Linus Walleij > Cc: Alexandre Courbot > Cc: Grant Likely > Cc: Rob Herring > Cc: Peter Korsgaard > Cc: devicet...@vger.kernel.org > Signed-off-by: Ricardo Ribald

Re: [PATCH][v3.2] Revert: x86, 64bit, mm: Mark data/bss/brk to nx

2015-01-19 Thread Steven Rostedt
On Mon, 19 Jan 2015 22:07:11 + Ben Hutchings wrote: > Yes, I know this needs fixing. It also broke suspend/resume on SMP > machines since that involves offlining and onlining CPUs 1-n. OK, as long as you know. Also, have you seen my other patch? http://marc.info/?l=linux-kernel&m=14215090

Re: [PATCH v3 00/16] virtio-pci: towards virtio 1.0 guest support

2015-01-19 Thread Michael S. Tsirkin
On Mon, Jan 19, 2015 at 12:07:00PM +0100, Gerd Hoffmann wrote: > Hi, > > > BTW: is there a tool (or pciutils patch) which can decode the virtio > > capabilities? > > Searched for a patch today, and all google found me was this mail asking > for one :-o > > So I went ahead and coded one up. At

[PATCH] mmc: sdhci: Don't signal the sdio irq if it's not setup

2015-01-19 Thread Sjoerd Simons
With 3.14.29 (and older kernels) some of my I.mx6 Sabrelite boards were crashing with the following oops: sdhci: Secure Digital Host Controller Interface driver sdhci: Copyright(c) Pierre Ossman sdhci-pltfm: SDHCI platform and OF driver helper sdhci-esdhc-imx 2198000.usdhc: could not get u

Re: [PATCH][v3.2] Revert: x86, 64bit, mm: Mark data/bss/brk to nx

2015-01-19 Thread Ben Hutchings
On Mon, 2015-01-19 at 16:49 -0500, Steven Rostedt wrote: > Testing v3.2-rt I found that after merging the latest v3.2 stable tree, > hotplug stopped working. I tested the latest v3.2 stable, and it was > not working there either. I bisected it down to: > > commit e105c8187b7101e8a8a54ac0218c9d9c94

[PATCH] s390: char: Free memory on error path.

2015-01-19 Thread Christophe Jaillet
Free allocated page in case of error returned by hmcdrv_ftp_startup. Signed-off-by: Christophe Jaillet --- drivers/s390/char/hmcdrv_ftp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/s390/char/hmcdrv_ftp.c b/drivers/s390/char/hmcdrv_ftp.c index 4bd6332..f6e00af

Re: [PATCH 1/3] ARM: Marvell: Remove init cpus function

2015-01-19 Thread Daniel Lezcano
On 01/19/2015 10:30 PM, Andrew Lunn wrote: On Mon, Jan 19, 2015 at 05:52:59PM +0100, Daniel Lezcano wrote: With the next patches, the init cpus function will be changed to be factored out. The function 'armada_xp_smp_init_cpus' does nothing more than a sanity check after the DT has been parsed.

Re: [PATCH] MTD: Deletion of checks before the function call "iounmap"

2015-01-19 Thread SF Markus Elfring
> Now, have *you* learned anything from this approach? Yes, of course. ;-) How would we like to tackle any corresponding software development challenges? Regards, Markus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel

Re: [PATCH] ethernet: atheros: Add nss-gmac driver

2015-01-19 Thread wstephen
> On Thursday 15 January 2015 08:12:51 wstep...@codeaurora.org wrote: >> >> The nss-gmac driver is for the internal GMAC IP in the Qualcomm IPQ806x >> SoC. There are 2 ARM cores and 2 NSS cores inside the IPQ806x SoC. The >> main purpose of these NSS cores is to offload the networking stack from >>

[PATCH v7 3/3] ARM: dts: add I2C device nodes for Broadcom Cygnus

2015-01-19 Thread Ray Jui
Add I2C device nodes and its properties in bcm-cygnus.dtsi but keep them disabled there. Individual I2C devices can be enabled in board specific dts file when I2C slave devices are enabled in the future Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- arch/arm/boot/dts/bcm-cygnus.dtsi |

[PATCH v7 1/3] i2c: iProc: define Broadcom iProc I2C binding

2015-01-19 Thread Ray Jui
Document the I2C device tree binding for Broadcom iProc family of SoCs Signed-off-by: Ray Jui Reviewed-by: Scott Branden --- .../devicetree/bindings/i2c/brcm,iproc-i2c.txt | 37 1 file changed, 37 insertions(+) create mode 100644 Documentation/devicetree/bindings/i2c

[PATCH v7 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-19 Thread Ray Jui
Add initial support to the Broadcom iProc I2C controller found in the iProc family of SoCs. The iProc I2C controller has separate internal TX and RX FIFOs, each has a size of 64 bytes. The iProc I2C controller supports two bus speeds including standard mode (100kHz) and fast mode (400kHz) Signed-

[PATCH v7 0/3] Add I2C support to Broadcom iProc

2015-01-19 Thread Ray Jui
This patchset contains the initial I2C support for Broadcom iProc family of SoCs. The iProc I2C controller has separate internal TX and RX FIFOs, each has a size of 64 bytes. The iProc I2C controller supports two bus speeds including standard mode (100 kHz) and fast mode (400 kHz) Changes from v6

[PATCH][v3.2] Revert: x86, 64bit, mm: Mark data/bss/brk to nx

2015-01-19 Thread Steven Rostedt
Testing v3.2-rt I found that after merging the latest v3.2 stable tree, hotplug stopped working. I tested the latest v3.2 stable, and it was not working there either. I bisected it down to: commit e105c8187b7101e8a8a54ac0218c9d9c9463c636 Author: Yinghai Lu Date: Thu Jan 24 12:20:13 2013 -0800

[PATCH 0/3] sysfs: Refine is_visible API

2015-01-19 Thread Guenter Roeck
Up to now, is_visible can only be used to either remove visibility of a file entirely or to add permissions, but not to reduce permissions. This makes it impossible, for example, to use DEVICE_ATTR_RW to define file attributes and reduce permissions to read-only. This behavior is undesirable and u

[PATCH 2/3] sysfs: Only accept read/write permissions for file attributes

2015-01-19 Thread Guenter Roeck
For sysfs file attributes, only read and write permisssions make sense. Mask provided attribute permissions accordingly and send a warning to the console if invalid permission bits are set. Cc: Vivien Didelot Signed-off-by: Guenter Roeck --- fs/sysfs/group.c | 6 ++ 1 file changed, 6 insert

[PATCH 3/3] sysfs: Document struct attribute_group

2015-01-19 Thread Guenter Roeck
Document variables defined in struct attribute_group to ensure correct usage. Signed-off-by: Guenter Roeck --- include/linux/sysfs.h | 15 +++ 1 file changed, 15 insertions(+) diff --git a/include/linux/sysfs.h b/include/linux/sysfs.h index ddad161..99382c0 100644 --- a/include/linu

[PATCH 1/3] sysfs: Use only return value from is_visible for the file mode

2015-01-19 Thread Guenter Roeck
Up to now, is_visible can only be used to either remove visibility of a file entirely or to add permissions, but not to reduce permissions. This makes it impossible, for example, to use DEVICE_ATTR_RW to define file attributes and reduce permissions to read-only. This behavior is undesirable and u

Re: [PATCH 3.19-rc2 v15 5/8] arm: omap1: Migrate debug_ll macros to use 8250.S

2015-01-19 Thread Tony Lindgren
* Daniel Thompson [150105 04:49]: > The omap1's debug-macro.S is similar to the generic 8250 code. Compared to > the 8520 code the omap1 macro automatically determines what UART to use > based on breadcrumbs left by the bootloader and automatically copes with > the eccentric register layout on OMA

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-19 Thread Tony Lindgren
* Tony Lindgren [150119 13:35]: > * Nishanth Menon [150102 09:55]: > > On 01/02/2015 11:38 AM, Tony Lindgren wrote: > > > * Nishanth Menon [150102 09:20]: > > >> Hi, > > >> > > >> OMAP4 and AM437x ROM code provides services to program PL310's latency > > >> registers and AM437x provides service

Re: [PATCH] bluetooth: Add hci_h4p driver

2015-01-19 Thread Marcel Holtmann
Hi Pavel, > Add HCI driver for H4 with Nokia extensions. This device is used on > Nokia N900 cell phone. > > Older version of this driver lived in staging, before being reverted > in a4102f90e87cfaa3fdbed6fdf469b23f0eeb4bfd . > > Signed-off-by: Pavel Machek > Thanks-to: Sebastian Reichel > Tha

Re: [PATCH 0/2] ARM: l2c: OMAP4/AM437x: Additional register programming support.

2015-01-19 Thread Tony Lindgren
* Nishanth Menon [150102 09:55]: > On 01/02/2015 11:38 AM, Tony Lindgren wrote: > > * Nishanth Menon [150102 09:20]: > >> Hi, > >> > >> OMAP4 and AM437x ROM code provides services to program PL310's latency > >> registers and AM437x provides service for programming Address filter > >> registers.

Re: [PATCH 1/3] ARM: Marvell: Remove init cpus function

2015-01-19 Thread Andrew Lunn
On Mon, Jan 19, 2015 at 05:52:59PM +0100, Daniel Lezcano wrote: > With the next patches, the init cpus function will be changed to be factored > out. > > The function 'armada_xp_smp_init_cpus' does nothing more than a sanity check > after the DT has been parsed. Even if this code is valid, it does

Re: [PATCH v6 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-19 Thread Ray Jui
On 1/19/2015 11:44 AM, Russell King - ARM Linux wrote: > To see why atomic_t is pure obfuscation: > > typedef struct { > int counter; > } atomic_t; > > So, counter is a plain int. > > On Mon, Jan 19, 2015 at 11:23:47AM -0800, Ray Jui wrote: >> +static irqreturn_t bcm_iproc_i2c_isr(int

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Wolfram Sang
> > @@ -1184,8 +1183,7 @@ EXPORT_SYMBOL_GPL(i2c_new_dummy); > > > > static void i2c_adapter_dev_release(struct device *dev) > > { > > - struct i2c_adapter *adap = to_i2c_adapter(dev); > > - complete(&adap->dev_released); > > + /* empty, but the driver core insists we need a release functi

Re: [PATCH] [linux-next] ARM: mvebu: make DTS comments reflect DEBUG_LL changes

2015-01-19 Thread Andrew Lunn
DTS reflect those changes. > > Since we're touching this DTS add comments to show which blocks describe > UART0 and UART1. > > Signed-off-by: Paul Bolle Hi Paul Thanks for this. I have added it to mvebu/dt. Andrew > --- > Created on top of next-20150119. Unte

[PATCH] lib: find_*_bit reimplementation

2015-01-19 Thread Yury Norov
New implementation takes less space, and, I hope, easier to understand. Signed-off-by: Yury Norov --- lib/find_next_bit.c | 265 +++- 1 file changed, 73 insertions(+), 192 deletions(-) diff --git a/lib/find_next_bit.c b/lib/find_next_bit.c index 0

Re: [PATCH v4 2/3] i2c: iproc: Add Broadcom iProc I2C Driver

2015-01-19 Thread Ray Jui
On 1/19/2015 11:28 AM, Russell King - ARM Linux wrote: > On Sat, Jan 17, 2015 at 04:30:33PM -0800, Ray Jui wrote: >> >> >> On 1/17/2015 2:40 PM, Russell King - ARM Linux wrote: >>> On Sat, Jan 17, 2015 at 01:26:41PM -0800, Ray Jui wrote: time_left = wait_for_completion_timeout(&iproc_i2c-

Re: [PATCH v2] ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-01-19 Thread Marcel Holtmann
Hi Dmitry, > Add support of 13d3:3423 device. > > BugLink: https://bugs.launchpad.net/bugs/1411193 > > T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=01 Dev#= 5 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=13d3 ProdID=3423 Rev= 0.01 > C:* #Ifs= 2 Cfg#= 1 Atr=e0

Re: [PATCH] i2c: drop ancient protection against sysfs refcounting issues

2015-01-19 Thread Greg Kroah-Hartman
On Mon, Jan 19, 2015 at 07:55:56PM +0100, Wolfram Sang wrote: > Back in the days, sysfs seemed to have refcounting issues and subsystems > needed a completion to be safe. This is not the case anymore, so I2C can > get rid of this code. There is noone else besides I2C doing something > like this cur

Re: [PATCH v3 00/13] Add kdbus implementation

2015-01-19 Thread Greg Kroah-Hartman
On Mon, Jan 19, 2015 at 09:19:06PM +0100, Johannes Stezenbach wrote: > On Tue, Jan 20, 2015 at 02:38:06AM +0800, Greg Kroah-Hartman wrote: > > Yes, I do agree, there are lots of existing ipc solutions today that > > kdbus is not designed for, nor would it be good to use it for. The > > majority of

Re: [PATCH net 0/2] r8152: couldn't read OCP_SRAM_DATA

2015-01-19 Thread David Miller
From: Hayes Wang Date: Mon, 19 Jan 2015 17:02:44 +0800 > Read OCP_SRAM_DATA would read additional bytes and may let > the hw abnormal. Series applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More maj

Re: [PATCH net-next 1/7] r8152: adjust rx_bottom

2015-01-19 Thread David Miller
From: Scott Feldman Date: Mon, 19 Jan 2015 00:03:42 -0800 > On Sun, Jan 18, 2015 at 11:13 PM, Hayes Wang wrote: >> @@ -1746,7 +1746,18 @@ find_next_rx: >> } >> >> submit: >> - r8152_submit_rx(tp, agg, GFP_ATOMIC); >> + if (!ret) { >> +

Re: [PATCH] jbd2: complain about descriptor block checksum errors

2015-01-19 Thread Theodore Ts'o
On Thu, Jan 08, 2015 at 12:03:34PM -0800, Darrick J. Wong wrote: > We should complain in dmesg when journal recovery fails on account of > the descriptor block being corrupt, so that the diagnostic data can > be recovered. > > Signed-off-by: Darrick J. Wong Thanks, applied.

Re: [RFC 1/2] FS: mount_bdev from vfs instead of filesystem specific mount function.

2015-01-19 Thread Al Viro
On Mon, Jan 19, 2015 at 09:47:20PM +0100, Fabian Frederick wrote: > Currently, a lot of filesystem mounting functions feature in > file_system_type only to be called from vfs mount_fs and call mount_bdev. > > This patch adds fill_super function to that structure and lets vfs > call mount_bdev when

RE: [PATCH] i40e: don't enable and init FCOE by default when do PF reset

2015-01-19 Thread Dev, Vasu
> -Original Message- > From: ethan zhao [mailto:ethan.z...@oracle.com] > Sent: Friday, January 16, 2015 7:01 PM > To: Kirsher, Jeffrey T > Cc: Dev, Vasu; Ethan Zhao; Ronciak, John; Brandeburg, Jesse; Allan, Bruce W; > Wyborny, Carolyn; Skidmore, Donald C; Rose, Gregory V; Vick, Matthew; > W

Re: [PATCH] MAINTAINERS: Update rydberg's addresses

2015-01-19 Thread Benjamin Tissoires
On Fri, Dec 19, 2014 at 4:06 AM, Henrik Rydberg wrote: > My ISP finally gave up on the old mail address, so I am moving things > over to bitmath.org instead. Also change the status fields to better > reflect reality. > > Signed-off-by: Henrik Rydberg > --- Dmitry, it looks like this patch never

Re: [RFC 6/6] Input: mt: introduce dmax in in-kernel tracking

2015-01-19 Thread Benjamin Tissoires
On Mon, Jan 19, 2015 at 3:53 PM, Benjamin Tissoires wrote: > When tapping a clickpad with two fingers, there is a chance that the sensor > sees first only one finger, and at the next scan only the second one. > In this case, the sensors says that there has been only one finger > on the clickpad, w

Re: [PATCH v9 2/3] clk: Make clk API return per-user struct clk instances

2015-01-19 Thread Stephen Boyd
On 01/19, Tomeu Vizoso wrote: > diff --git a/drivers/clk/clk.c b/drivers/clk/clk.c > index 97f3425..f2a1ff3 100644 > --- a/drivers/clk/clk.c > +++ b/drivers/clk/clk.c > @@ -694,32 +751,32 @@ long __clk_mux_determine_rate(struct clk_hw *hw, > unsigned long rate, > unsign

[RFC 1/6] Input: mt: make input_mt_assign_slots() a little bit more readable

2015-01-19 Thread Benjamin Tissoires
Rename "nrc" into "n_elems" and explicitly name the number of rows and the number of columns. Signed-off-by: Benjamin Tissoires --- drivers/input/input-mt.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index fbe29

Re: ia64: use current->state helpers

2015-01-19 Thread Davidlohr Bueso
On Wed, 2015-01-14 at 23:50 -0800, Davidlohr Bueso wrote: > Call __set_current_state() instead of assigning the new state directly. > These interfaces also aid CONFIG_DEBUG_ATOMIC_SLEEP environments, keeping > track of who changed the state. ping? -- To unsubscribe from this list: send the line

[RFC 0/6] Input: mt: Document in-kernel tracking and solve jumping cursors issues

2015-01-19 Thread Benjamin Tissoires
Hi, Well, I am posting this as an RFC for 2 reasons: - I could not end up in a complete documentation on how the in-kernel tracking was working (patches 1/6 to 5/6) - I introduce a new input-mt API symbol, so I am pretty sure there will be some changes requested. (path 6/6) Anyway, this is th

[RFC 3/6] Input: mt: document input_mt_set_matrix()

2015-01-19 Thread Benjamin Tissoires
Document what the function is about. Signed-off-by: Benjamin Tissoires --- drivers/input/input-mt.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/input/input-mt.c b/drivers/input/input-mt.c index b269113..0b98ac7 100644 --- a/drivers/input/input-mt.c +++ b/drivers/

[RFC 6/6] Input: mt: introduce dmax in in-kernel tracking

2015-01-19 Thread Benjamin Tissoires
When tapping a clickpad with two fingers, there is a chance that the sensor sees first only one finger, and at the next scan only the second one. In this case, the sensors says that there has been only one finger on the clickpad, which moved really fast between two scans. We can try to counter thi

[RFC 5/6] Input: mt: document adjust_dual()

2015-01-19 Thread Benjamin Tissoires
adjust_dual() is really cryptic right now. To try to understand what the function does, replace the variable names with the following: f -> first p -> cur s -> stop c -> center Also add a partial doc that needs to be filled by someone who knows what the function is actually doing. Signed-off-by:

[RFC 4/6] Input: mt: document find_reduced_matrix()

2015-01-19 Thread Benjamin Tissoires
find_reduced_matrix() is really cryptic right now. To try to understand what the function does, replace the variable names with the following: nrc -> n_elems nr -> n_rows nc -> n_columns Also add a partial doc that needs to be filled by someone who knows what the function is actually doing. Signe

[RFC 2/6] Input: mt: Document input_mt_set_slots()

2015-01-19 Thread Benjamin Tissoires
Renamed "w" into "red_cost_matrix" for readability. Add docs and comments to detail what the code is expected to do. Signed-off-by: Benjamin Tissoires --- drivers/input/input-mt.c | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/drivers/input/input-mt.

Re: [PATCH tip 0/9] tracing: attach eBPF programs to tracepoints/syscalls/kprobe

2015-01-19 Thread Alexei Starovoitov
On Mon, Jan 19, 2015 at 1:52 AM, Masami Hiramatsu wrote: > If we can write the script as > > int bpf_prog4(s64 write_size) > { >... > } > > This will be much easier to play with. yes. that's the intent for user space to do. >> The example of this arbitrary pointer walking is tracex1_kern.c

[RFC 2/2] fs/affs/super.c: let vfs do mount_bdev

2015-01-19 Thread Fabian Frederick
share fill_super with vfs and remove local mount function. Signed-off-by: Fabian Frederick --- fs/affs/super.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/fs/affs/super.c b/fs/affs/super.c index ee8eca7..9f7bba9 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c @@

<    1   2   3   4   5   6   7   8   9   >