[PATCH] clk: st: Terminate of match table

2014-05-23 Thread Stephen Boyd
Failure to terminate this match table can lead to boot failures depending on where the compiler places the match table. Cc: Gabriel FERNANDEZ Signed-off-by: Stephen Boyd --- drivers/clk/st/clkgen-pll.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/clk/st/clkgen-pll.c b/drivers/clk

Re: [PATCH V5 3/4] x86/PCI: Stop enabling ECS for AMD CPUs after Fam16h

2014-05-23 Thread Suravee Suthikulanit
On 5/22/2014 9:54 PM, Bjorn Helgaas wrote: I've been poking around for recent dmesg logs that contain "PCI: Using configuration type 1 for extended access", and there are quite a few. In most cases there*is* an MCFG table, but apparently we decide not to use it for some reason (unfortunately we

[PATCH] pinctrl: msm: Add missing sdc1 and sdc3 groups for apq8064

2014-05-23 Thread Bjorn Andersson
Signed-off-by: Bjorn Andersson --- drivers/pinctrl/pinctrl-apq8064.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-apq8064.c b/drivers/pinctrl/pinctrl-apq8064.c index 23c4c21..3adf9fd 100644 --- a/drivers/pinctrl/pinctrl-apq806

Re: [PATCH v2 1/5] clk: bcm281xx: add an initialized flag

2014-05-23 Thread Mike Turquette
Quoting Alex Elder (2014-05-20 05:52:38) > Add a flag that tracks whether a clock has already been initialized. > This will be used by the next patch to avoid initializing a clock > more than once when it's listed as a prerequisite. > > Signed-off-by: Alex Elder > --- > drivers/clk/bcm/clk-kona.

Re: slab_common: fix the check for duplicate slab names

2014-05-23 Thread Mike Snitzer
On Fri, May 23 2014 at 5:28pm -0400, Pekka Enberg wrote: > On 05/23/2014 11:16 PM, Mike Snitzer wrote: > >On Tue, Mar 25 2014 at 2:07pm -0400, > >Christoph Lameter wrote: > > > >>On Tue, 25 Mar 2014, Mike Snitzer wrote: > >> > >>>This patch still isn't upstream. Who should be shepherding it t

Re: mm: NULL ptr deref in remove_migration_pte

2014-05-23 Thread Sasha Levin
Ping? On 05/05/2014 11:51 AM, Sasha Levin wrote: > Did anyone have a chance to look at it? I still see it in -next. > > > Thanks, > Sasha > > On 04/16/2014 10:59 AM, Sasha Levin wrote: >> Hi all, >> >> While fuzzing with trinity inside a KVM tools guest running latest -next >> kernel I've stumb

[PATCH v3 1/2] irqchip: add Broadcom Set Top Box Level-2 interrupt controller

2014-05-23 Thread Florian Fainelli
This patch adds support for the Level-2 interrupt controller hardware found in Broadcom Set Top Box System-on-a-Chip devices. This interrupt controller is implemented using the generic IRQ chip driver with separate enable and disable registers. Signed-off-by: Brian Norris Signed-off-by: Florian F

[PATCH v3 2/2] Documentation: add Broadcom STB Level-2 interrupt controller binding

2014-05-23 Thread Florian Fainelli
This patch adds the Device Tree binding document for the Broadcom Set-top-box Level 2 interrupt controller hardware. Signed-off-by: Brian Norris Signed-off-by: Florian Fainelli --- No changes in v2 or v3, respin .../bindings/interrupt-controller/brcm,l2-intc.txt | 29 ++ 1

[PATCH v3 0/2] irqchip: Broadcom Set Top Box Level-2 interrupt controller

2014-05-23 Thread Florian Fainelli
Hi Thomas, Jason, This patch set adds an irqchip driver for the Broadcom Set Top Box Level-2 interrupt controller hardware, as well as a corresponding Device Tree binding document. Thanks! Florian Fainelli (2): irqchip: add Broadcom Set Top Box Level-2 interrupt controller Documentation: add

Re: [PATCH v2 2/5] clk: bcm281xx: implement prerequisite clocks

2014-05-23 Thread Mike Turquette
Quoting Alex Elder (2014-05-20 05:52:39) > @@ -743,11 +746,16 @@ struct clk *kona_clk_setup(struct kona_clk *bcm_clk) > clk = clk_register(NULL, &bcm_clk->hw); > if (IS_ERR(clk)) { > pr_err("%s: error registering clock %s (%ld)\n", __func__, > -

Re: [PATCH] clk: bcm/kona: implement determine_rate()

2014-05-23 Thread Mike Turquette
Quoting Alex Elder (2014-05-23 16:24:31) > On 05/23/2014 06:18 PM, Mike Turquette wrote: > > Quoting Alex Elder (2014-05-20 06:24:57) > >> Implement the clk->determine_rate method for Broadcom Kona peripheral > >> clocks. This allows a peripheral clock to be re-parented in order to > >> satisfy a

[PATCH] spi: Set cs-gpios to output direction

2014-05-23 Thread Stephen Boyd
Some gpios used for cs-gpios may not be configured for output by default. In these cases gpio_set_value() won't have any effect and so the chip select line won't toggle. Request the cs-gpios and set them to output direction once we know if the chip select is default high or default low. Cc: Linus

Re: [RFC PATCH 2/3] CMA: aggressively allocate the pages on cma reserved memory when not used

2014-05-23 Thread Laura Abbott
On 5/12/2014 10:04 AM, Laura Abbott wrote: > > I'm going to see about running this through tests internally for comparison. > Hopefully I'll get useful results in a day or so. > > Thanks, > Laura > We ran some tests internally and found that for our purposes these patches made the benchmarks wo

Re: [PATCH net] bridge: notify user space of fdb port change

2014-05-23 Thread Jon Maxwell
> I have no more comments except for style problems (bracket position, > indentation, type mismatch). > thank you for rewriting :) np, yes this is a draft but I will make sure complies with checkpatch.pl before submitting it. Regards Jon > > Thanks, > Toshiaki Makita > > > > > $ diff -Naur

[PATCH] x86/mce: Fix incorrect comment in do_machine_check()

2014-05-23 Thread Chen Yucong
In do_machine_check function, we can find the following code segment: * ... */* mce_clear_state will clear *final, save locally for use later */ *m = *final; * *if (!no_way_out) *mce_clear_state(toclear); * ... But the reality is that mce_clear_

[V1 PATCH] dom0 pvh linux support

2014-05-23 Thread Mukesh Rathor
Hi, Attached please find patch for linux to support toolstack on pvh dom0. thanks, Mukesh -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please r

[V1 PATCH] dom0 pvh: map foreign pfns in our p2m for toolstack

2014-05-23 Thread Mukesh Rathor
When running as dom0 in pvh mode, foreign pfns that are accessed must be added to our p2m which is managed by xen. This is done via XENMEM_add_to_physmap_range hypercall. This is needed for toolstack building guests and mapping guest memory, xentrace mapping xen pages, etc.. Signed-off-by: Mukesh

[PATCH] staging: lustre: Fixed warnings about using 0 as NULL ptr

2014-05-23 Thread Greg DeAngelis
Fixed a bunch of warnings pointed out by sparse about using 0 to represent a NULL pointer. Signed-off-by: Greg DeAngelis --- drivers/staging/lustre/lustre/mgc/lproc_mgc.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/staging/lustre/lustre/

[PATCH] regulator: core: Use map_voltage_linear_range by default for list_voltage_linear_range

2014-05-23 Thread Axel Lin
Use map_voltage_linear_range() if list_voltage_linear_range() is in use and nothing is set. Signed-off-by: Axel Lin --- drivers/regulator/core.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index b97ffd2..7399cbf 100644 --- a/drivers

Re: [PATCH net-next 2/4] bridge: adhere to querier election mechanism specified by RFCs

2014-05-23 Thread David Miller
From: Linus Lüssing Date: Wed, 21 May 2014 10:59:00 +0200 > + if (saddr <= br->ip4_querier.addr.u.ip4) > + goto update; It is clear to me that you should be making these comparisons in cpu endianness. Otherwise the code will handle the same situations differently on big-endian v

Re: [PATCH v5 04/49] media: davinci: vpif_display: release buffers in case start_streaming() call back fails

2014-05-23 Thread Prabhakar Lad
Hi Hans, Thanks for the review. On Fri, May 23, 2014 at 2:05 PM, Hans Verkuil wrote: > On 05/16/2014 03:33 PM, Lad, Prabhakar wrote: >> From: "Lad, Prabhakar" >> >> this patch adds support to release the buffer by calling >> vb2_buffer_done(), with state marked as VB2_BUF_STATE_QUEUED >> if sta

[PATCH RESEND] staging: slicoss: clean up use of dev_err

2014-05-23 Thread David Matlack
First, don't print pci device information or driver prefixes, this is already printed by dev_err. Next, don't report error messages via dev_err when the failing function already reports all errors via dev_err. Signed-off-by: David Matlack --- drivers/staging/slicoss/slicoss.c | 28 +-

[PATCH RESEND] staging: slicoss: remove private netdev list

2014-05-23 Thread David Matlack
Remove the private linked list of netdev structs. This list isn't being used anyway. This patch has no noticable effect. Signed-off-by: David Matlack --- drivers/staging/slicoss/slic.h| 1 - drivers/staging/slicoss/slicoss.c | 4 2 files changed, 5 deletions(-) diff --git a/drivers/st

Re: [PATCH v2 2/2] of: Stop naming platform_device using dcr address

2014-05-23 Thread Benjamin Herrenschmidt
On Fri, 2014-05-23 at 08:36 +0900, Grant Likely wrote: > There is now a way to ensure all platform devices get a unique name when > populated from the device tree, and the DCR_NATIVE code path is broken > anyway. PowerPC Cell (PS3) is the only platform that actually uses this > path. Most likely n

Re: [PATCH v5 00/49] DaVinci: vpif: upgrade with v4l helpers and v4l compliance fixes

2014-05-23 Thread Prabhakar Lad
Hi Hans, Thanks for the review from 2 patches to 50 :) On Fri, May 23, 2014 at 2:00 PM, Hans Verkuil wrote: > Hi Prabhakar, > > Thanks for this patch series, it looks good to me and I'll make a pull > request for this. > Thanks. > I did find a few issues, but they are all pre-existing problems,

Re: [PATCH v5 41/49] media: davinci: vpif_capture: drop unneeded module params

2014-05-23 Thread Prabhakar Lad
Hi Mauro, On Sat, May 24, 2014 at 4:08 AM, Mauro Carvalho Chehab wrote: > Em Fri, 16 May 2014 19:03:47 +0530 > "Lad, Prabhakar" escreveu: > >> From: "Lad, Prabhakar" >> >> Signed-off-by: Lad, Prabhakar > > -ENOPATCHDESCRIPTION > > Why to remove those parameters? Please _ALWAYS_ describe yo

Re: linux-next: manual merge of the net-next tree with the net tree

2014-05-23 Thread David Miller
From: Stephen Rothwell Date: Fri, 23 May 2014 13:46:02 +1000 > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/bonding/bond_alb.c between commit d0c21d43a5a1 ("bonding: > Send ALB learning packets using the right source") from the net tree > and commit 8557cd74ca8a (

[PATCH] staging: Convert __FUNCTION__ to __func__

2014-05-23 Thread Joe Perches
Use the normal mechanism for emitting a function name. Signed-off-by: Joe Perches --- drivers/staging/bcm/Qos.c | 14 - drivers/staging/keucr/scsiglue.c | 2 +- drivers/staging/octeon-usb/octeon-hcd.c| 2 +- drivers/staging/rtl8192

[PATCH] Staging: Silicom: bpctl_mod.c & bypass.c: Fixed a lot of checkpatch.pl warnings

2014-05-23 Thread Chaitanya Hazarey
Added a blank line after declarations in many places to fix the following warning issued by checkpatch.pl: WARNING: Missing a blank line after declarations Thanks Greg K-H and Dan for the patience. Hope it works this time, I did apply it against staging and it was ok. Signed-off-by: Chaitanya

Re: [PATCH] Staging: Silicom: Bypasslib: Fixed a couple of checkpatch.pl warnings

2014-05-23 Thread Chaitanya Hazarey
Hey Dan, Thanks for your patience, I have resubmitted via a new email. Hope that works. Thanks, Chaitanya On Fri, May 23, 2014 at 3:54 PM, Dan Carpenter wrote: > On Fri, May 23, 2014 at 02:39:43PM -0700, Chaitanya Hazarey wrote: >> Added a blank line after declarations to fix the following war

Re: [PATCH] Staging: Silicom: bpctl_mod.c: Fixed a lot of checkpatch.pl warnings

2014-05-23 Thread Chaitanya Hazarey
Thanks Greg for looking into it, I have resubmitted using a new email, hope that works out. Thanks, Chaitanya On Fri, May 23, 2014 at 3:26 PM, Greg KH wrote: > On Fri, May 23, 2014 at 02:47:10PM -0700, Chaitanya Hazarey wrote: >> Added a blank line after declarations in many places to fix the

Re: [PATCH] Staging: Silicom: bpctl_mod.c: Fixed a lot of checkpatch.pl warnings

2014-05-23 Thread Chaitanya Hazarey
Forgot to add - what went wrong - I had deleted some whitespaces which made the git apply mad. Thanks, Chaitanya On Fri, May 23, 2014 at 10:32 PM, Chaitanya Hazarey wrote: > Thanks Greg for looking into it, > > I have resubmitted using a new email, hope that works out. > > Thanks, > > Chaitanya

[PATCH] rtlwifi: rtl8192cu: remove check for CONFIG_AUTOSUSPEND

2014-05-23 Thread Paul Bolle
A check for CONFIG_AUTOSUSPEND was included in this driver when it was added in v2.6.39. But that Kconfig symbol doesn't exist. Remove that check and the single line it hides. Signed-off-by: Paul Bolle --- Compile tested. It's hard to say whether or not the intention was to allow enabling usb's

[PATCH 1/1] lib/bug.c: convert printk to pr_foo()

2014-05-23 Thread Fabian Frederick
-Coalesce formats -"WARNING:" prefix unchanged to keep bug format. -printk(KERN_DEFAULT not converted. Cc: Jeremy Fitzhardinge Cc: Andrew Morton Signed-off-by: Fabian Frederick --- lib/bug.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/lib/bug.c b/lib

[PATCH] pcmcia: m32r: remove check for CONFIG_M32RPCC_SLOT2

2014-05-23 Thread Paul Bolle
This driver contains a check for CONFIG_M32RPCC_SLOT2 ever since it was added in v2.6.10 it. But there's no matching Kconfig symbol. Remove that check. But leave the second call of add_pcc_socket() if-zeroed out. The code clearly is written to be able handle two sockets. It's just not clear if it i

Re: [PATCH 1/1] lib/bug.c: convert printk to pr_foo()

2014-05-23 Thread Joe Perches
On Sat, 2014-05-24 at 08:18 +0200, Fabian Frederick wrote: > -Coalesce formats > -"WARNING:" prefix unchanged to keep bug format. > -printk(KERN_DEFAULT not converted. Hello Fabian. For these conversions where there is a specific desire to _NOT_ have a prefix, can you please add a new #define to

Re: [PATCH 1/5] phy: add support for USB cluster on the Armada 375 SoC

2014-05-23 Thread Thomas Petazzoni
Gregory, Kishon, On Fri, 23 May 2014 23:50:54 +0200, Gregory CLEMENT wrote: > >> +MODULE_DESCRIPTION("Armada 375 USB cluster driver"); > >> +MODULE_AUTHOR("Gregory CLEMENT "); > >> +MODULE_LICENSE("GPL"); > > > > GPL v2? > > See the header, I chose "GNU General Public License version 2 or later

Re: [PATCH 02/10] xhci: 'noxhci_port_switch' kernel parameter

2014-05-23 Thread Holger Hans Peter Freyther
On Tue, May 20, 2014 at 03:40:16PM -0700, Dan Williams wrote: Dear Dan, > Sorry, I don't think it is fair to users to force them to re-compile > their kernel to get their device to work. Granted, I'm new to USB > development, but the rate of reports of endpoint devices that mess up > and require

<    3   4   5   6   7   8