Re: [PATCH v2] module: LLVMLinux: Remove unused function warning from __param_check macro

2014-03-07 Thread Behan Webster
On 03/07/14 18:17, Joe Perches wrote: On Fri, 2014-03-07 at 18:10 -0800, beh...@converseincode.com wrote: This code makes a compile time type check that is optimized away. Clang complains that it generates an unused function. [] diff --git a/include/linux/moduleparam.h

Re: [PATCH v2] mac80211: LLVMLinux: Remove VLAIS usage from mac80211

2014-03-07 Thread Joe Perches
On Fri, 2014-03-07 at 18:15 -0800, Behan Webster wrote: On 03/07/14 17:56, Joe Perches wrote: On Fri, 2014-03-07 at 17:26 -0800, beh...@converseincode.com wrote: From: Jan-Simon Möller dl...@gmx.de Replaced the use of a Variable Length Array In Struct (VLAIS) with a C99 compliant

Re: [PATCH] Revert driver core: synchronize device shutdown

2014-03-07 Thread Arjan van de Ven
AFAICT the synchronization does nothing useful and is just a remnant of a patch series where the real meat didn't get applied. But of course it would be great if Shaohua could confirm my understanding. Shaohua's email address seems to now bounce :( Arjan, any thoughts? if there are no

Re: [systemd-devel] Suspending access to opened/active /dev/nodes during application runtime

2014-03-07 Thread Lennart Poettering
On Fri, 07.03.14 21:51, Lukasz Pawelczyk (hav...@gmail.com) wrote: Problem: Has anyone thought about a mechanism to limit/remove an access to a device during an application runtime? Meaning we have an application that has an open file descriptor to some /dev/node and depending on

Re: [PATCH 00/12] Thunderbolt hotplug support for Apple hardware (testers needed)

2014-03-07 Thread Matthew Garrett
Ok, can you try this one? diff --git a/drivers/acpi/acpica/utosi.c b/drivers/acpi/acpica/utosi.c index 8856bd3..202b4da 100644 --- a/drivers/acpi/acpica/utosi.c +++ b/drivers/acpi/acpica/utosi.c @@ -62,6 +62,7 @@ ACPI_MODULE_NAME(utosi) static struct acpi_interface_info

Re: [GIT PULL] x86 fixes for v3.14-rc6

2014-03-07 Thread Linus Torvalds
Oww, oww, oww. DAMMIT. On Fri, Mar 7, 2014 at 3:25 PM, H. Peter Anvin h...@linux.intel.com wrote: A small collection of minor fixes. The FPU stuff is still pending, I fear. I haven't heard anything from Suresh so I suspect I'm going to have to dig into the init specifics myself and fix up

[GIT PULL] clk: fixes for 3.14, part 2

2014-03-07 Thread Mike Turquette
The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169: Linux 3.14-rc5 (2014-03-02 18:56:16 -0800) are available in the git repository at: git://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-07 Thread Steve Grubb
On Friday, March 07, 2014 07:48:01 PM David Miller wrote: From: Eric Paris epa...@redhat.com Date: Fri, 07 Mar 2014 17:52:02 -0500 Audit is non-tolerant to failure and loss. Netlink is not a loss-less transport. Perhaps. But in all our testing over the years its been very good. -Steve

Re: [GIT PULL] x86 fixes for v3.14-rc6

2014-03-07 Thread H. Peter Anvin
Bloody hell. Friday afternoon malfunction (thought I checked the output and apparently missed.) On March 7, 2014 7:03:09 PM PST, Linus Torvalds torva...@linux-foundation.org wrote: Oww, oww, oww. DAMMIT. On Fri, Mar 7, 2014 at 3:25 PM, H. Peter Anvin h...@linux.intel.com wrote: A small

Re: [GIT PULL] x86 fixes for v3.14-rc6

2014-03-07 Thread H. Peter Anvin
And yes, of course the change from hardcoded 2 to X86_TRAP_NMI was an afterthought. On March 7, 2014 7:03:09 PM PST, Linus Torvalds torva...@linux-foundation.org wrote: Oww, oww, oww. DAMMIT. On Fri, Mar 7, 2014 at 3:25 PM, H. Peter Anvin h...@linux.intel.com wrote: A small collection of

[PATCH] mm: Fix Coding style

2014-03-07 Thread Choi Gi-yong
Signed-off-by: Choi Gi-yong y...@gnoy.org --- mm/percpu.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index 036cfe0..6528ffa 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -72,7 +72,7 @@ #include asm/cacheflush.h #include

[PATCH 2/2] mm: Changed pr_warning() to pr_warn()

2014-03-07 Thread Choi Gi-yong
Signed-off-by: Choi Gi-yong y...@gnoy.org --- mm/percpu.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mm/percpu.c b/mm/percpu.c index 6528ffa..dca284f 100644 --- a/mm/percpu.c +++ b/mm/percpu.c @@ -813,7 +813,7 @@ fail_unlock: fail_unlock_mutex:

[PATCH v2 1/2] regulator: pbias: Fix is_enabled callback implementation

2014-03-07 Thread Axel Lin
The is_enabled implementation is wrong in some cases: e.g. for pbias_mmc_omap5: enable_mask is : BIT(27) | BIT(25) | BIT(26) However, pbias_regulator_enable() only sets BIT(27) | BIT(26) bits. So is_enabled callback will always return false in this case. Fix the logic to compare the register value

Re: [PATCH] mm: Fix Coding style

2014-03-07 Thread Joe Perches
On Sat, 2014-03-08 at 12:46 +0900, Choi Gi-yong wrote: [] diff --git a/mm/percpu.c b/mm/percpu.c Please run your suggested patches through checkpatch. @@ -715,7 +715,7 @@ static void __percpu *pcpu_alloc(size_t size, size_t align, bool reserved) if (unlikely(!size || size

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-07 Thread Eric Paris
On Fri, 2014-03-07 at 19:48 -0500, David Miller wrote: From: Eric Paris epa...@redhat.com Date: Fri, 07 Mar 2014 17:52:02 -0500 Audit is non-tolerant to failure and loss. Netlink is not a loss-less transport. I'm happy to accept that (and know it to be true). How can I better architect

[PATCH v2 2/2] regulator: pbias: Convert to use regmap helper functions

2014-03-07 Thread Axel Lin
This patch converts this driver to use the regmap helper functions provided by regulator core. Signed-off-by: Axel Lin axel@ingics.com Acked-by: Balaji T K balaj...@ti.com --- v2: Add Balaji's Ack. drivers/regulator/pbias-regulator.c | 74 ++--- 1 file

Re: [PATCH 2/2] mm: Changed pr_warning() to pr_warn()

2014-03-07 Thread Joe Perches
On Sat, 2014-03-08 at 12:51 +0900, Choi Gi-yong wrote: diff --git a/mm/percpu.c b/mm/percpu.c [] @@ -813,7 +813,7 @@ fail_unlock: fail_unlock_mutex: mutex_unlock(pcpu_alloc_mutex); if (warn_limit) { - pr_warning(PERCPU: allocation failed, size=%zu align=%zu, +

[PATCH] pstore: clarify clearing of _read_cnt in ramoops_context

2014-03-07 Thread Liu Shuo
On Fri 7.Mar'14 at 16:23:29 -0800, Kees Cook wrote: On Fri, Mar 7, 2014 at 1:25 PM, Andrew Morton a...@linux-foundation.org wrote: On Fri, 7 Mar 2014 10:58:43 +0800 Liu ShuoX shuox@intel.com wrote: ftrace_read_cnt need to be reset in open to support mutli times getting the records.

RE: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-07 Thread KY Srinivasan
-Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Saturday, March 8, 2014 3:18 AM To: KY Srinivasan Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; jasow...@redhat.com Subject: Re:

Re: [PATCH] EDAC: remove deprecated IRQF_DISABLED

2014-03-07 Thread Michael Opdenacker
On 03/05/2014 07:49 AM, Borislav Petkov wrote: On Wed, Mar 05, 2014 at 06:04:37AM +0100, Michael Opdenacker wrote: My patch still applies to 3.14-rc5, which means that mpc85xx_edac is still there. I'd like to get rid of this patch for good ;) Something like that, right:

Re: [GIT PULL] x86 fixes for v3.14-rc6

2014-03-07 Thread George Spelvin
The FPU stuff is still pending, I fear. I haven't heard anything from Suresh so I suspect I'm going to have to dig into the init specifics myself and fix up the patchset. As I mentioned a couple of weeks ago in the [PATCH] Make math_state_restore() save and restore the interrupt flag thread,

[PATCH] [RESEND] score: remove unused CPU_SCORE7 Kconfig parameter

2014-03-07 Thread Michael Opdenacker
This removes the CPU_SCORE7 Kconfig parameter, which is no longer used anywhere in the source code and Makefiles. Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- arch/score/Kconfig | 6 -- 1 file changed, 6 deletions(-) diff --git a/arch/score/Kconfig

Re: [PATCH v4 1/3] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-07 Thread Grant Likely
On Wed, 26 Feb 2014 16:24:57 +0100, Philipp Zabel p.za...@pengutronix.de wrote: Hi Grant, Am Mittwoch, den 26.02.2014, 11:37 + schrieb Grant Likely: [...] drivers/media/v4l2-core/v4l2-of.c | 117 -- drivers/of/Makefile

Re: [PATCH v6 2/8] Documentation: of: Document graph bindings

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:36 +0100, Philipp Zabel p.za...@pengutronix.de wrote: The device tree graph bindings as used by V4L2 and documented in Documentation/device-tree/bindings/media/video-interfaces.txt contain generic parts that are not media specific but could be useful for any

Re: [GIT PULL] Move device tree graph parsing helpers to drivers/of

2014-03-07 Thread Grant Likely
On Thu, 06 Mar 2014 18:13:20 +0100, Philipp Zabel p.za...@pengutronix.de wrote: Hi Mauro, Russell, I have temporarily removed the simplified bindings at Sylwester's request and updated the branch with the acks. The following changes since commit 0414855fdc4a40da05221fc6062cccbc0c30f169:

Re: [PATCH v6 0/8] Move device tree graph parsing helpers to drivers/of

2014-03-07 Thread Grant Likely
On Thu, 6 Mar 2014 15:50:18 +, Russell King - ARM Linux li...@arm.linux.org.uk wrote: On Thu, Mar 06, 2014 at 04:39:39PM +0100, Philipp Zabel wrote: Am Donnerstag, den 06.03.2014, 15:24 + schrieb Russell King - ARM Linux: On Wed, Mar 05, 2014 at 10:20:34AM +0100, Philipp Zabel

Re: [PATCH v6 3/8] of: Warn if of_graph_get_next_endpoint is called with the root node

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:37 +0100, Philipp Zabel p.za...@pengutronix.de wrote: If of_graph_get_next_endpoint is given a parentless node instead of an endpoint node, it is clearly a bug. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Grant Likely grant.lik...@linaro.org ---

Re: [PATCH v6 3/6] pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:54 +, Liviu Dudau liviu.du...@arm.com wrote: Before commit 7b5436635800 the pci_host_bridge was created before the root bus. As that commit has added a needless dependency on the bus for pci_alloc_host_bridge() the creation order has been changed for no good

[PATCH] [RESEND][SCSI] ips: remove unused defines

2014-03-07 Thread Michael Opdenacker
This patch removes unused defines from drivers/scsi/ips.h - the min() macro is not used - the __iomem define is no longer needed to compile ips.c without warnings Signed-off-by: Michael Opdenacker michael.opdenac...@free-electrons.com --- drivers/scsi/ips.h | 8 1 file changed, 8

Re: [PATCH v6 5/8] [media] of: move common endpoint parsing to drivers/of

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:39 +0100, Philipp Zabel p.za...@pengutronix.de wrote: This patch adds a new struct of_endpoint which is then embedded in struct v4l2_of_endpoint and contains the endpoint properties that are not V4L2 (or even media) specific: the port number, endpoint id, local device

Re: [PATCH v6 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:53 +, Liviu Dudau liviu.du...@arm.com wrote: The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo port

Re: [PATCH v6 1/6] pci: Introduce pci_register_io_range() helper function.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:52 +, Liviu Dudau liviu.du...@arm.com wrote: Some architectures do not share x86 simple view of the I/O space and instead use a range of addresses that map to external devices. For PCI, these ranges can be expressed by OF bindings in a device tree file.

Re: [PATCH v6 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:55 +, Liviu Dudau liviu.du...@arm.com wrote: Make it easier to discover the domain number of a bus by storing the number in pci_host_bridge for the root bus. Several architectures have their own way of storing this information, so it makes sense to try to unify

Re: [PATCH v6 1/8] [media] of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:35 +0100, Philipp Zabel p.za...@pengutronix.de wrote: This patch moves the parsing helpers used to parse connected graphs in the device tree, like the video interface bindings documented in Documentation/devicetree/bindings/media/video-interfaces.txt, from

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-07 Thread Grant Likely
On Wed, 26 Feb 2014 15:48:49 +0100, Philipp Zabel p.za...@pengutronix.de wrote: Hi Grant, thank you for the comments. Hi Philipp, I've got lots of comments and quesitons below, but I must say thank you for doing this. It is a helpful description. Am Mittwoch, den 26.02.2014, 11:01 +

Re: [PATCH v2 4/4] pci: Add support for creating a generic host_bridge from device tree

2014-03-07 Thread Grant Likely
On Thu, 27 Feb 2014 14:38:32 +0100, Arnd Bergmann a...@arndb.de wrote: On Thursday 27 February 2014 13:06:42 Liviu Dudau wrote: Several platforms use a rather generic version of parsing the device tree to find the host bridge ranges. Move the common code into the generic PCI code and use it

Re: [PATCH v6 4/8] of: Reduce indentation in of_graph_get_next_endpoint

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:38 +0100, Philipp Zabel p.za...@pengutronix.de wrote: A 'return endpoint;' at the end of the (!prev) case allows to reduce the indentation level of the (prev) case. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Grant Likely grant.lik...@linaro.org

Re: [PATCH v6 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 11:48:57 +, Liviu Dudau liviu.du...@arm.com wrote: Several platforms use a rather generic version of parsing the device tree to find the host bridge ranges. Move the common code into the generic PCI code and use it to create a pci_host_bridge structure that can be used

Re: [PATCH v6 0/8] Move device tree graph parsing helpers to drivers/of

2014-03-07 Thread Grant Likely
On Thu, 06 Mar 2014 12:17:21 -0300, Mauro Carvalho Chehab m.che...@samsung.com wrote: Em Thu, 06 Mar 2014 14:16:57 + Russell King - ARM Linux li...@arm.linux.org.uk escreveu: On Wed, Mar 05, 2014 at 03:42:34PM +0100, Philipp Zabel wrote: Am Mittwoch, den 05.03.2014, 13:35 +0200

Re: [PATCH v4 3/3] Documentation: of: Document graph bindings

2014-03-07 Thread Grant Likely
On Wed, 26 Feb 2014 15:14:17 +0200, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 25/02/14 16:58, Philipp Zabel wrote: +Optional endpoint properties + + +- remote-endpoint: phandle to an 'endpoint' subnode of a remote device node. Why is that

Re: [PATCH v6 6/8] of: Implement simplified graph binding for single port devices

2014-03-07 Thread Grant Likely
On Wed, 5 Mar 2014 10:20:40 +0100, Philipp Zabel p.za...@pengutronix.de wrote: For simple devices with only one port, it can be made implicit. The endpoint node can be a direct child of the device node. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Ergh... I think this is too loosely

Re: [PATCH] MAINTAINERS: add maintainers for arm64 acpi

2014-03-07 Thread Grant Likely
On Tue, 4 Mar 2014 23:50:44 +, Catalin Marinas catalin.mari...@arm.com wrote: On Tue, Mar 04, 2014 at 07:03:18PM +, Graeme Gregory wrote: On Tue, Mar 04, 2014 at 10:23:16AM +, Catalin Marinas wrote: On Tue, Mar 04, 2014 at 02:15:45AM +, Graeme Gregory wrote: +ACPI ARM64

Re: [RFC PATCH] [media]: of: move graph helpers from drivers/media/v4l2-core to drivers/of

2014-03-07 Thread Grant Likely
On Thu, 27 Feb 2014 10:36:36 +0200, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 26/02/14 16:48, Philipp Zabel wrote: I would like the document to acknowledge the difference from the phandle+args pattern used elsewhere and a description of when it would be appropriate to use this

Re: [PATCH v4 3/3] Documentation: of: Document graph bindings

2014-03-07 Thread Grant Likely
On Wed, 26 Feb 2014 16:50:52 +0200, Tomi Valkeinen tomi.valkei...@ti.com wrote: On 26/02/14 16:57, Philipp Zabel wrote: Hi Tomi, Am Mittwoch, den 26.02.2014, 15:14 +0200 schrieb Tomi Valkeinen: On 25/02/14 16:58, Philipp Zabel wrote: +Optional endpoint properties

Re: [PATCH] Make math_state_restore() save and restore the interrupt flag

2014-03-07 Thread Suresh Siddha
On Fri, Mar 7, 2014 at 3:18 PM, H. Peter Anvin h...@zytor.com wrote: Hi Suresh, Any thoughts on this? hi Peter, Can you please pickup the second short patch (https://lkml.org/lkml/2014/2/3/21) which actually fixes the reported problem at hand. And tested and acked by all the problem

Re: [PATCH] [RESEND] score: remove unused CPU_SCORE7 Kconfig parameter

2014-03-07 Thread Lennox Wu
HI Michael, According to my record, I had told you we have another processor(2013/11/4), hence, we need the parameter. We just wirte it done first. Do you remember it? Best, Lennox 2014-03-08 13:26 GMT+08:00 Michael Opdenacker michael.opdenac...@free-electrons.com: This removes the CPU_SCORE7

Re: [RFC][PATCH] audit: Simplify by assuming the callers socket buffer is large enough

2014-03-07 Thread David Miller
From: Steve Grubb sgr...@redhat.com Date: Fri, 07 Mar 2014 22:27:28 -0500 On Friday, March 07, 2014 07:48:01 PM David Miller wrote: From: Eric Paris epa...@redhat.com Date: Fri, 07 Mar 2014 17:52:02 -0500 Audit is non-tolerant to failure and loss. Netlink is not a loss-less transport.

Re: [PATCH V2 1/6] Drivers: net: hyperv: Enable scatter gather I/O

2014-03-07 Thread David Miller
From: KY Srinivasan k...@microsoft.com Date: Sat, 8 Mar 2014 04:12:01 + -Original Message- From: David Miller [mailto:da...@davemloft.net] Sent: Saturday, March 8, 2014 3:18 AM To: KY Srinivasan Cc: net...@vger.kernel.org; linux-kernel@vger.kernel.org;

[perf_swevent_init] BUG: unable to handle kernel paging request at b1793514

2014-03-07 Thread Fengguang Wu
Perhaps a related BUG. Here are 3 different back traces: [ 15.385846] sock: process `trinity-main' is using obsolete setsockopt SO_BSDCOMPAT [ 16.681572] BUG: unable to handle kernel paging request at b1793514 [ 16.681595] IP: [c1098ff8] atomic_inc+0x3/0x8 [ 16.681600] *pdpt =

Re: [PATCH v10 2/4] phy: core: Add devm_of_phy_get to phy-core

2014-03-07 Thread Kishon Vijay Abraham I
Tobias, On Saturday 08 March 2014 01:04 AM, Tobias Jakobi wrote: Kamil Debski wrote: Adding devm_of_phy_get will allow to get phys by supplying a pointer to the struct device_node instead of struct device. Signed-off-by: Kamil Debski k.deb...@samsung.com --- drivers/phy/phy-core.c | 31

Re: perf samples too long without perf running (?!?)

2014-03-07 Thread Mike Galbraith
On Fri, 2014-03-07 at 17:57 -0800, Andy Lutomirski wrote: On recent (3.13) kernels, I'm frequently getting messages like: perf samples too long (2503 2500), lowering kernel.perf_event_max_sample_rate to 5 a few seconds to minutes after bootup. As far as I know, I'm not using perf.

[PATCH] staging: frontier: fix memory leak in usb_alphatrack_probe()

2014-03-07 Thread Daeseok Youn
oldi_buffer and write_buffer need to free when usb_alphatrack_delete() is called. Signed-off-by: Daeseok Youn --- drivers/staging/frontier/alphatrack.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/staging/frontier/alphatrack.c

Re: [PATCH] [staging][r8188eu]: memory leak in rtw_free_cmd_obj if command is (_Set_Drv_Extra)

2014-03-07 Thread Dan Carpenter
On Fri, Mar 07, 2014 at 03:01:34PM -0500, Wang, Xiaoming wrote: > pcmd->parmbuf->pbuf has been allocated if command is > GEN_CMD_CODE(_Set_Drv_Extra), > and it enqueued by rtw_enqueue_cmd. rtw_cmd_thread dequeue pcmd by > rtw_dequeue_cmd. > The memory leak happened on this branch "if( _FAIL ==

Re: [PATCH] [RFC] Taint the kernel for unsafe module options

2014-03-07 Thread Daniel Vetter
On Fri, Mar 7, 2014 at 4:28 AM, Rusty Russell wrote: >>> If this is a good idea, you can write a macro module_param_unsafe_named >>> which is a general wrapper. >> >> For this to work I need to somehow store the safe default value somewhere. >> since with bools or strings there really isn't such

FlexCAN on i.MX28 interrupt flooding retrying send

2014-03-07 Thread Stanislav Meduna
Hi, I am using a FlexCAN CAN controller on a Freescale i.MX28 platform [1]. If a packet is being sent when the bus is disconnected, I am getting an interrupt flooed that basically kills the machine. This is _not_ the same problem as [2] - my kernel already has the fix. The first interrupt comes

[PATCH] x86, calgary: use 8M TCE table size by default

2014-03-07 Thread WANG Chao
kexec-tools wants to pass kdump kernel needed memmap via E820 directly, instead of memmap=exactmap. That'll make saved_max_pfn totally useless. Muli suggest to hard code TCE table size to max (8M) so that kdump kernel could use this default size and kexec-tools doesn't need to pass saved_max_pfn

Re: [PATCH] staging: frontier: fix memory leak in usb_alphatrack_probe()

2014-03-07 Thread Dan Carpenter
On Fri, Mar 07, 2014 at 05:02:25PM +0900, Daeseok Youn wrote: > > oldi_buffer and write_buffer need to free when usb_alphatrack_delete() > is called. > > Signed-off-by: Daeseok Youn > --- > drivers/staging/frontier/alphatrack.c |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > >

Re: [RFC] drm: add kernel-log renderer

2014-03-07 Thread David Herrmann
Hi >> I don't think it makes sense to modify drm_log_ensure_size(). I mean, >> the worst that can happen is that the *text*-backlog is twice as big >> as required. But if you have a high-dpi display, you already require >> like 10x as much space for each framebuffer than for the entire >>

Re: [PATCH 1/1] Drivers: hv: vmbus: Include the limit on the number of pfns we can handle

2014-03-07 Thread Dan Carpenter
On Thu, Mar 06, 2014 at 11:15:08PM -0800, K. Y. Srinivasan wrote: > Increase the maximum number of pfns we can handle is a single vmbus packet. ^^ in > What are the user visible effects of this patch? regards, dan carpenter -- To unsubscribe

Re: FlexCAN on i.MX28 interrupt flooding retrying send

2014-03-07 Thread Marc Kleine-Budde
Adding the linux-can mailinglist to Cc. Marc On 03/07/2014 09:08 AM, Stanislav Meduna wrote: > Hi, > > I am using a FlexCAN CAN controller on a Freescale i.MX28 platform [1]. > If a packet is being sent when the bus is disconnected, I am getting > an interrupt flooed that basically kills the

Re: [PATCH] staging: frontier: fix memory leak in usb_alphatrack_probe()

2014-03-07 Thread DaeSeok Youn
OK. I will remove that comment and send again. Thanks. Daeseok Youn. 2014-03-07 17:14 GMT+09:00 Dan Carpenter : > On Fri, Mar 07, 2014 at 05:02:25PM +0900, Daeseok Youn wrote: >> >> oldi_buffer and write_buffer need to free when usb_alphatrack_delete() >> is called. >> >> Signed-off-by: Daeseok

Re: performance regression due to commit e82e0561("mm: vmscan: obey proportional scanning requirements for kswapd")

2014-03-07 Thread Yuanhan Liu
ping... On Tue, Feb 18, 2014 at 04:01:22PM +0800, Yuanhan Liu wrote: > Hi, > > Commit e82e0561("mm: vmscan: obey proportional scanning requirements for > kswapd") caused a big performance regression(73%) for vm-scalability/ > lru-file-readonce testcase on a system with 256G memory without swap.

[PATCH v2] staging: frontier: fix memory leak in usb_alphatrack_probe()

2014-03-07 Thread Daeseok Youn
oldi_buffer and write_buffer need to free when usb_alphatrack_delete() is called. Signed-off-by: Daeseok Youn --- v2: remove the unneeded comment. drivers/staging/frontier/alphatrack.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git

Re: [PATCH v4] phy: omap-control: update dra7 and am437 usb2 Documentation bindings

2014-03-07 Thread Kishon Vijay Abraham I
On Friday 07 March 2014 01:55 PM, Kishon Vijay Abraham I wrote: From: Felipe Balbi From: Roger Quadros There seems to be some problem with this patch. Pls ignore this. Thanks Kishon The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Acked-by:

Re: [PATCH 5/5] Staging: comedi: addi-data: tidy up counter register map defines in hwdrv_apci1564.c

2014-03-07 Thread Chase Southwood
>On Thursday, March 6, 2014 11:59 AM, Hartley Sweeten > wrote: >>On Thursday, March 06, 2014 12:26 AM, Chase Southwood wrote: >> >>This patch for hwdrv_apci1564.c fixes the register map defines for the >>digital input registers such that they are all the real offsets to each >>register, rather

[PATCH v4] phy: omap-control: update dra7 and am437 usb2 bindings

2014-03-07 Thread Kishon Vijay Abraham I
From: Roger Quadros The dra7-usb2 and am437-usb2 bindings have not yet been used. Change them to be more elegant. Signed-off-by: Roger Quadros Signed-off-by: Kishon Vijay Abraham I --- Changes from v3: Changed the compatible value to that suggested by Tony. ti,control-phy-usb2-dra7 and

Re: [PATCH 0/5] Add STiH407 SoC and reference board support

2014-03-07 Thread Maxime Coquelin
Hi Linus On 03/07/2014 04:11 AM, Linus Walleij wrote: On Fri, Feb 28, 2014 at 8:17 PM, Maxime COQUELIN wrote: This series adds basic support to the STMicroelectronics STiH407 SoC and its B2120 reference board. The STiH407 is a dual-core ARM Cortex-A9 CPU aimed at STB market. Giuseppe

Re: [PATCH 3/5] pinctrl: st: Enhance the controller to manage unavailable registers

2014-03-07 Thread Maxime Coquelin
On 03/07/2014 04:10 AM, Linus Walleij wrote: On Fri, Feb 28, 2014 at 8:17 PM, Maxime COQUELIN wrote: From: Giuseppe Cavallaro This patch adds a new logic inside the st pinctrl to manage an unsupported scenario: some sysconfig are not available! This is the case of STiH407 where, although

Re: [PATCH] drm/fb-helper: Do the mode_set.connectors ZERO_SIZE_PTR check

2014-03-07 Thread Jani Nikula
On Thu, 06 Mar 2014, Xiubo Li wrote: > Since we cannot make sure the 'max_conn_count' will always be none > zero from the users, and then if max_conn_count equals to zero, the > kcalloc() will return ZERO_SIZE_PTR, which equals to ((void *)16). > > So this patch fix this via doing the zero

[PATCH v2 3/5] Staging: comedi: addi-data: tidy up watchdog register

2014-03-07 Thread Chase Southwood
This patch for fixes the register map defines for the watchdog registers such that they are all the real offsets to each register, rather than a mix of real offsets and adders to those offsets. Signed-off-by: Chase Southwood --- 2: Simplified commit message, fixed indentation and whitespace

[PATCH v2 1/5] Staging: comedi: addi-data: tidy up digital input register map defines in hwdrv_apci1564.c

2014-03-07 Thread Chase Southwood
This patch fixes the register map defines for the digital input registers such that they are all the real offsets to each register, rather than a mix of real offsets and adders to those offsets. Further, some of the old defines were being used incorrectly in the i_APCI1564_Reset() function. Upon

[PATCH v2 2/5] Staging: comedi: addi-data: tidy up digital output register map defines in hwdrv_apci1564.c

2014-03-07 Thread Chase Southwood
This patch fixes the register map defines for the digital output registers such that they are all the real offsets to each register, rather than a mix of real offsets and adders to those offsets. Further, some of the old defines were being used incorrectly in the i_APCI1564_Reset() function.

[PATCH v2 4/5] Staging: comedi: addi-data: tidy up timer register map defines in hwdrv_apci1564.c

2014-03-07 Thread Chase Southwood
This patch for fixes the register map defines for the timer registers such that they are all the real offsets to each register, rather than a mix of real offsets and adders to those offsets. Signed-off-by: Chase Southwood --- 2: Simplified commit message, fixed indentation and whitespace

[PATCH v2 5/5] Staging: comedi: addi-data: tidy up counter register map defines in hwdrv_apci1564.c

2014-03-07 Thread Chase Southwood
This patch fixes the register map defines for the counter registers such that they are all the real offsets to each register, rather than a mix of real offsets and adders to those offsets. Signed-off-by: Chase Southwood --- 2: Simplified commit message, fixed indentation and whitespace damage.

Re: [PATCH v4 1/4] pci: APM X-Gene PCIe controller driver

2014-03-07 Thread Jingoo Han
On Thursday, March 06, 2014 3:06 PM, Tanmay Inamdar wrote: > Hi Tanmay Inamdar, I added some minor comments. :-) > This patch adds the AppliedMicro X-Gene SOC PCIe controller driver. > X-Gene PCIe controller supports maxmum upto 8 lanes and GEN3 speed. Would you fix the followings?

Re: FlexCAN on i.MX28 interrupt flooding retrying send

2014-03-07 Thread Matthias Klein
Hello Stanislav, I made a similar observation on an i.MX537 with the 3.12.12-rt19 kernel: I see the same interrupt flooed when the bus is disconnected. What do you mean with "kills the machine"? I have a high interrupt load, but the machine is still responsive. Best regards, Matthias

Re: [PATCH 4/4] x86: Fix order of warning messages when ftrace modifies code

2014-03-07 Thread Petr Mládek
On Thu 06-03-14 18:19:53, Steven Rostedt wrote: > > I'm digging through older email, and notice you dropped this patch > from your last series. It is a rather trivial patch, and I don't really > care if it gets applied or not. But was there a reason to drop it? Or > do you not care either? I

Re: FlexCAN on i.MX28 interrupt flooding retrying send

2014-03-07 Thread Marc Kleine-Budde
On 03/07/2014 09:08 AM, Stanislav Meduna wrote: > Hi, > > I am using a FlexCAN CAN controller on a Freescale i.MX28 platform [1]. > If a packet is being sent when the bus is disconnected, I am getting > an interrupt flooed that basically kills the machine. > > This is _not_ the same problem as

Re: FlexCAN on i.MX28 interrupt flooding retrying send

2014-03-07 Thread Wolfgang Grandegger
On 03/07/2014 09:16 AM, Marc Kleine-Budde wrote: > Adding the linux-can mailinglist to Cc. > > Marc > > On 03/07/2014 09:08 AM, Stanislav Meduna wrote: >> Hi, >> >> I am using a FlexCAN CAN controller on a Freescale i.MX28 platform [1]. >> If a packet is being sent when the bus is disconnected,

RE: [PATCH 1/1] Drivers: hv: vmbus: Include the limit on the number of pfns we can handle

2014-03-07 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Friday, March 7, 2014 1:46 PM > To: KY Srinivasan > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > jasow...@redhat.com

[V5 2/4] perf, tool: Conditional branch filter 'cond' added to perf record

2014-03-07 Thread Anshuman Khandual
Adding perf record support for new branch stack filter criteria PERF_SAMPLE_BRANCH_COND. Signed-off-by: Anshuman Khandual Reviewed-by: Stephane Eranian --- tools/perf/builtin-record.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c

[V5 1/4] perf: Add PERF_SAMPLE_BRANCH_COND

2014-03-07 Thread Anshuman Khandual
This patch introduces new branch filter PERF_SAMPLE_BRANCH_COND which will extend the existing perf ABI. Various architectures can provide this functionality with either with HW filtering support (if present) or with SW filtering of captured branch instructions. Signed-off-by: Anshuman Khandual

[V5 0/4] perf: New conditional branch filter

2014-03-07 Thread Anshuman Khandual
Hello Arnaldo, I had posted the V5 version of PowerPC SW branch filter enablement patchset last month. Please find the patchset here at https://lkml.org/lkml/2014/2/5/79 These following patches (2,4,5,6 patches from the original V5 version patchset) are the ones which change

[V5 4/4] perf, documentation: Description for conditional branch filter

2014-03-07 Thread Anshuman Khandual
Adding documentation support for conditional branch filter. Signed-off-by: Anshuman Khandual Reviewed-by: Stephane Eranian --- tools/perf/Documentation/perf-record.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/perf/Documentation/perf-record.txt

[V5 3/4] x86, perf: Add conditional branch filtering support

2014-03-07 Thread Anshuman Khandual
This patch adds conditional branch filtering support, enabling it for PERF_SAMPLE_BRANCH_COND in perf branch stack sampling framework by utilizing an available software filter X86_BR_JCC. Signed-off-by: Anshuman Khandual Reviewed-by: Stephane Eranian ---

Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000

2014-03-07 Thread Fengguang Wu
Hi Stefani, On Fri, Mar 07, 2014 at 09:47:14AM +0100, Stefani Seibold wrote: > Hi Fengguang, > > i was now able to bring up the kernel on my KVM with some minior > changes. I kick out the PARIDE, switched to IDE and activated the VT > support. With this modifications the kernel boot and i get no

[PATCH v2 0/5] Add USB nodes for am43xx epos and gp evm

2014-03-07 Thread George Cherian
The patch series adds USB dt nodes for am43xx epos and gp evm Boot tested with Benoit's for_3.15 + following patches https://patchwork.kernel.org/patch/3600821/ https://patchwork.kernel.org/patch/3600831/ https://patchwork.kernel.org/patch/3600851/ https://patchwork.kernel.org/patch/3600841/

[PATCH v2 5/5] ARM: dts: am43x-epos-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am43x-epos-evm Signed-off-by: George Cherian --- arch/arm/boot/dts/am43x-epos-evm.dts | 27 +++ 1 file changed, 27 insertions(+) diff --git

Re: [PATCH] tools/net/Makefile: Define PACKAGE to fix bfd build problems

2014-03-07 Thread Markos Chandras
On 03/06/2014 05:54 PM, David Miller wrote: From: Markos Chandras Date: Thu, 6 Mar 2014 09:15:54 + Fixes the following build problem with binutils-2.24 gcc -Wall -O2 -c -o bpf_jit_disasm.o bpf_jit_disasm.c In file included from bpf_jit_disasm.c:25:0: /usr/include/bfd.h:35:2: error:

[PATCH v2 3/5] ARM: dts: AM4372: Add USB nodes

2014-03-07 Thread George Cherian
Add nodes for 2 instances each of - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for AM43xx. Signed-off-by: George Cherian --- arch/arm/boot/dts/am4372.dtsi | 95 +++ 1 file changed, 95

[PATCH v2 4/5] ARM: dts: am437x-gp-evm: Enable USB

2014-03-07 Thread George Cherian
Enable - ocp2scp - USB PHY control module - USB PHY - dwc3_omap - USB for am437x-gp-evm Signed-off-by: George Cherian --- arch/arm/boot/dts/am437x-gp-evm.dts | 28 1 file changed, 28 insertions(+) diff --git

Re: [PATCH] spi/s3c64xx: Update DT binding documentation to match code

2014-03-07 Thread Charles Keepax
On Fri, Mar 07, 2014 at 10:48:41AM +0800, Mark Brown wrote: > On Thu, Mar 06, 2014 at 05:05:39PM +, Charles Keepax wrote: > > > The following patch added support for spi controllers with a dedicated > > chip select pin: > > > > commit 3146beec21b64f4551fcf0ac148381d54dc41b1b > > spi:

[PATCH v2 1/5] doc: Add "ti,am437x-dwc3" comaptible for dwc3 glue

2014-03-07 Thread George Cherian
Add the compatible "ti,am437x-dwc3" for dwc3 glue driver. Signed-off-by: George Cherian --- Documentation/devicetree/bindings/usb/omap-usb.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/usb/omap-usb.txt

[PATCH v2 2/5] ARM: dts: am43xx clock data

2014-03-07 Thread George Cherian
Add USB reference clock data Signed-off-by: George Cherian --- arch/arm/boot/dts/am43xx-clocks.dtsi | 17 + 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/am43xx-clocks.dtsi b/arch/arm/boot/dts/am43xx-clocks.dtsi index 142009c..506d036 100644 ---

Re: [PATCH 1/1] Drivers: hv: vmbus: Include the limit on the number of pfns we can handle

2014-03-07 Thread Dan Carpenter
On Fri, Mar 07, 2014 at 09:07:42AM +, KY Srinivasan wrote: > > > > -Original Message- > > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > > Sent: Friday, March 7, 2014 1:46 PM > > To: KY Srinivasan > > Cc: gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > >

Re: [PATCH] zram: propagate error to user

2014-03-07 Thread Sergey Senozhatsky
On (03/07/14 10:56), Minchan Kim wrote: > When we initialized zcomp with single, we couldn't change > max_comp_streams without zram reset but current interface doesn't > show any error to user and even it changes max_comp_streams's value > without any effect so it would make user very confusing. >

Re: [PATCH] checkpatch: net and drivers/net: Warn on missing blank line after variable declaration

2014-03-07 Thread Joe Perches
On Fri, 2014-03-07 at 10:54 +0300, Dan Carpenter wrote: > How many warnings does this generate does this generate when you run it > across the whole tree? A lot. Check back with me after the week or so it'll take to run on this little netboook. Try this with both patches applied if you want to

Re: [PATCH V1 2/2] rtc: da9063: RTC driver

2014-03-07 Thread Alessandro Zummo
On Thu, 6 Mar 2014 16:40:02 + "Opensource [Steve Twiss]" wrote: > Change History: > > Changes made to this driver since previous RFC V1 > Comments by Alessandro Zummo > - http://www.kernelhub.org/?p=2=426327 > - Use return PTR_ERR(rtc->rtc_dev); instead of goto err; return err. > - Request

Re: [PATCH] ath6kl: sdio: fix system panic when doing wifi stress test

2014-03-07 Thread Steffen Trumtrar
Hi! On Fri, Nov 29, 2013 at 06:02:11AM +, Hui Liu wrote: > > -Original Message- > > From: Kalle Valo [mailto:kv...@qca.qualcomm.com] > > Sent: Tuesday, November 26, 2013 6:40 PM > > To: Liu Hui-R64343 > > Cc: linux-arm-ker...@lists.infradead.org; linvi...@tuxdriver.com; linux- > >

[RESEND] [PATCH] xhci: Switch Intel Lynx Point ports to EHCI on shutdown.

2014-03-07 Thread Denis Turischev
The same issue like with Panther Point chipsets. If the USB ports are switched to xHCI on shutdown, the xHCI host will send a spurious interrupt, which will wake the system. Some BIOS have work around for this, but not all. One example is Compulab's mini-desktop, the Intense-PC2. The bug can be

<    3   4   5   6   7   8   9   10   11   12   >