Re: [PATCH v10 05/11] drm: bridge/dw_hdmi:split some phy configuration to platform driver

2014-11-14 Thread Zubair Lutfullah Kakakhel
Hi Andy, Nice work on this patch series. Its getting better and better :). On 14/11/14 03:27, Andy Yan wrote: hdmi phy clock symbol and transmission termination value can adjust platform specific to get the best SI ^Is this signal integrity?

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Zubair Lutfullah Kakakhel
Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip RK3288 hdmi is compatible with dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v10: - add more display mode support mpll configuration for rk3288 Changes in v9: - move some phy configuration to platform

Re: [RFC Patch] gpio: add GPIO hogging mechanism

2014-11-14 Thread Maxime Ripard
On Fri, Nov 14, 2014 at 10:19:47AM +0100, Linus Walleij wrote: On Wed, Oct 29, 2014 at 8:09 AM, Alexandre Courbot gnu...@gmail.com wrote: On Wed, Oct 22, 2014 at 5:09 AM, Benoit Parrot bpar...@ti.com wrote: + line_b: line_b { + line_b { +

Re: [Cocci] spatch for trivial pointer comparison style?

2014-11-14 Thread Julia Lawall
On Fri, 14 Nov 2014, SF Markus Elfring wrote: I don't think that the change is desirable in all cases. There are functions like kmalloc where NULL means failure and !p seems like the reasonable choice. But there maybe other cases where NULL is somehow a meaningful value. How do you

Re: [PATCH v5 1/4] mm/page_alloc: fix incorrect isolation behavior by rechecking migratetype

2014-11-14 Thread Mel Gorman
diff --git a/include/linux/mmzone.h b/include/linux/mmzone.h index 4593567..3d090af 100644 --- a/include/linux/mmzone.h +++ b/include/linux/mmzone.h @@ -431,6 +431,15 @@ struct zone { */ int nr_migrate_reserve_block; +#ifdef

Re: [RFC PATCH] x86, entry: Switch stacks on a paranoid entry from userspace

2014-11-14 Thread Borislav Petkov
On Wed, Nov 12, 2014 at 07:03:21PM -0800, Andy Lutomirski wrote: printk seems to work just fine in do_machine_check. That must be pure luck. Has anything changed which I missed to make printk NMI-safe? -- Regards/Gruss, Boris. Sent from a fat crate under my desk. Formatting is fine. -- --

[PATCH] [media] Add RGB444_1X12 and RGB565_1X16 media bus formats

2014-11-14 Thread Boris Brezillon
Add RGB444_1X12 and RGB565_1X16 format definitions and update the documentation. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com Acked-by: Mauro Carvalho Chehab mche...@osg.samsung.com --- Documentation/DocBook/media/v4l/subdev-formats.xml | 40 ++

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Andy Yan
On 2014年11月14日 18:23, Zubair Lutfullah Kakakhel wrote: Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip RK3288 hdmi is compatible with dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v10: - add more display mode support mpll configuration for rk3288 Changes in

[PATCH v2 1/3] ALSA: ice1712: remove unneeded return statement

2014-11-14 Thread Sudip Mukherjee
the functions: snd_ice1712_akm4xxx_build_controls snd_ice1712_build_pro_mixer snd_ctl_add snd_ak4114_build prodigy192_ak4114_init snd_ak4113_build are all returning either 0 or a negetive error value. so we can easily remove the check for a negative

[PATCH v2 2/3] ALSA: ice1712: consider error value

2014-11-14 Thread Sudip Mukherjee
earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function, and revo_init is checking the return value. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- sound/pci/ice1712/revo.c | 2 +-

[PATCH v2 3/3] ALSA: ice1712: remove unused variable

2014-11-14 Thread Sudip Mukherjee
buf_size was initialized with snd_pcm_lib_buffer_bytes, but never used. and so it is safe to be deleted. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- sound/pci/ice1712/ice1712.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sound/pci/ice1712/ice1712.c

Re: [PATCH v2 2/3] ALSA: ice1712: consider error value

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 16:09:06 +0530, Sudip Mukherjee wrote: earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function, and revo_init is checking the return value. It's not enough only to

RE: [PATCH 1/3] arch: Introduce load_acquire() and store_release()

2014-11-14 Thread David Laight
From: Alexander Duyck It is common for device drivers to make use of acquire/release semantics when dealing with descriptors stored in device memory. On reviewing the documentation and code for smp_load_acquire() and smp_store_release() as well as reviewing an IBM website that goes over the

Re: [PATCH 5/8] thermal:cpu cooling:tegra: Provide deferred probing for tegra driver

2014-11-14 Thread Mikko Perttunen
Tested-by: Mikko Perttunen mikko.perttu...@kapsi.fi One potential issue I can see is that if the cpufreq driver fails to probe then you'll never get the thermal driver either. For example, Tegra124 currently has no cpufreq driver, so if CONFIG_CPU_THERMAL was enabled, then the soctherm driver

Re: [PATCH v2 1/3] ALSA: ice1712: remove unneeded return statement

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 16:09:05 +0530, Sudip Mukherjee wrote: the functions: snd_ice1712_akm4xxx_build_controls snd_ice1712_build_pro_mixer snd_ctl_add snd_ak4114_build prodigy192_ak4114_init snd_ak4113_build are all returning either 0 or a

[PATCH v4 1/6] ARM: zynq: Extract smp related functions out of common.h

2014-11-14 Thread Michal Simek
Create topic headers not to share all functions. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v4: - New patch in this series Changes in v3: None Changes in v2: None arch/arm/mach-zynq/common.c | 1 + arch/arm/mach-zynq/common.h | 10 --

[PATCH v4 6/6] ARM: zynq: DT: Add OCM controller node

2014-11-14 Thread Michal Simek
Add the on-chip-memory controller node to the Zynq devicetree. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v4: - Use memory-controller@... instead of ocmc@... Changes in v3: - Extract from OCM driver Changes in v2: None arch/arm/boot/dts/zynq-7000.dtsi | 7 +++ 1

[PATCH v4 4/6] ARM: zynq: Extend SLCR driver to read OCM configuration

2014-11-14 Thread Michal Simek
Get OCM configuration from SLCR. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v4: - slcr.h has moved to soc/include/ folder. Move definition there too. Changes in v3: None Changes in v2: None arch/arm/mach-zynq/slcr.c | 15 +++ include/soc/zynq/slcr.h | 1

[PATCH v4 5/6] ARM: zynq: Add OCM controller driver

2014-11-14 Thread Michal Simek
The driver provide memory allocator which can be used by others drivers to allocate memory inside OCM. All location for 64kB blocks are supported and driver is trying to allocate the largest continuous block of memory. Checking mpcore addressing filterring is not done here but could be added in

Re: [PATCH v10 05/11] drm: bridge/dw_hdmi:split some phy configuration to platform driver

2014-11-14 Thread Andy Yan
Hi ZubairLK: Thanks for your review. On 2014年11月14日 18:19, Zubair Lutfullah Kakakhel wrote: Hi Andy, Nice work on this patch series. Its getting better and better :). On 14/11/14 03:27, Andy Yan wrote: hdmi phy clock symbol and transmission termination value can adjust platform specific to

Re: [PATCH 3.16.y-ckt 009/170] NFS: Fix /proc/fs/nfsfs/servers and /proc/fs/nfsfs/volumes

2014-11-14 Thread Luis Henriques
On Fri, Nov 14, 2014 at 06:36:25AM +, Ben Hutchings wrote: On Tue, 2014-11-11 at 11:06 +, Luis Henriques wrote: 3.16.7-ckt1 -stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman ebied...@xmission.com commit

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Zubair Lutfullah Kakakhel
On 14/11/14 10:37, Andy Yan wrote: On 2014年11月14日 18:23, Zubair Lutfullah Kakakhel wrote: Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip RK3288 hdmi is compatible with dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com --- Changes in v10: - add more display mode support

Re: [PATCH v2 3/3] ALSA: ice1712: remove unused variable

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 16:09:07 +0530, Sudip Mukherjee wrote: buf_size was initialized with snd_pcm_lib_buffer_bytes, but never used. and so it is safe to be deleted. Signed-off-by: Sudip Mukherjee su...@vectorindia.org Thanks, applied. Takashi --- sound/pci/ice1712/ice1712.c | 3 +--

[PATCH v4 3/6] ARM: zynq: Move slcr.h and smp.h to generic location

2014-11-14 Thread Michal Simek
include/soc/zynq/ is the right location for this header to be able to share information from this header with other drivers which require it. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v4: - Move only slcr.h and smp.h and keep common.h in platform which is not needed by

[PATCH v4 2/6] ARM: zynq: Extract slcr related functions out of common.h

2014-11-14 Thread Michal Simek
Create topic headers not to share all functions. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v4: - New patch in this series Changes in v3: None Changes in v2: None arch/arm/mach-zynq/common.c | 1 + arch/arm/mach-zynq/common.h | 9 -

[PATCH v4 0/6] Xilinx Zynq OCM support

2014-11-14 Thread Michal Simek
Hi, this is the next attepmt to add support for On Chip Memory configuration via On Chip Memory Controller. OCM can be divided into 4 independend blocks and placed to two locations which this driver detects. For everybody on-chip SRAM driver mmio-sram is missing parity IRQ handling not sure how

Re: [PATCH v10 05/11] drm: bridge/dw_hdmi:split some phy configuration to platform driver

2014-11-14 Thread Zubair Lutfullah Kakakhel
On 14/11/14 10:53, Andy Yan wrote: Hi ZubairLK: Thanks for your review. On 2014年11月14日 18:19, Zubair Lutfullah Kakakhel wrote: Hi Andy, Nice work on this patch series. Its getting better and better :). On 14/11/14 03:27, Andy Yan wrote: hdmi phy clock symbol and transmission

Re: [PATCH v2 1/2] spi: add support for DLN-2 USB-SPI adapter

2014-11-14 Thread Johan Havold
On Thu, Nov 13, 2014 at 05:17:21PM +0200, Laurentiu Palcu wrote: Hi Johan, On Thu, Nov 13, 2014 at 01:27:28PM +0100, Johan Havold wrote: On Wed, Nov 12, 2014 at 03:38:09PM +0200, Laurentiu Palcu wrote: +struct dln2_spi { + struct platform_device *pdev; + struct spi_master *master;

Re: [PATCH v2] kvm: memslots: replace heap sort with insertion sort

2014-11-14 Thread Igor Mammedov
On Fri, 14 Nov 2014 10:57:10 +0100 Paolo Bonzini pbonz...@redhat.com wrote: On 14/11/2014 00:00, Igor Mammedov wrote: memslots is a sorted array, when slot changes in it with current heapsort it would take O(n log n) time to update array, while using insertion sort like algorithm on

Re: [PATCH v2 2/3] ALSA: ice1712: consider error value

2014-11-14 Thread Sudip Mukherjee
On Fri, Nov 14, 2014 at 11:43:31AM +0100, Takashi Iwai wrote: At Fri, 14 Nov 2014 16:09:06 +0530, Sudip Mukherjee wrote: earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function,

Re: [PATCH RESEND 3.18-rc3 v2 0/2] trace: kdb: Bug fixes for ftdump

2014-11-14 Thread Daniel Thompson
On 14/11/14 02:16, Steven Rostedt wrote: On Mon, 10 Nov 2014 09:41:32 + Daniel Thompson daniel.thomp...@linaro.org wrote: On 06/11/14 13:27, Steven Rostedt wrote: On Thu, 6 Nov 2014 12:41:54 + Daniel Thompson daniel.thomp...@linaro.org wrote: This patchset makes it possible to

Re: [PATCH v2 2/3] ALSA: ice1712: consider error value

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 16:29:15 +0530, Sudip Mukherjee wrote: On Fri, Nov 14, 2014 at 11:43:31AM +0100, Takashi Iwai wrote: At Fri, 14 Nov 2014 16:09:06 +0530, Sudip Mukherjee wrote: earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are

Re: [PATCH v2 13/14] ARM: STi: DT: STiH410: Add usb2 picophy dt nodes

2014-11-14 Thread Arnd Bergmann
On Friday 14 November 2014 09:56:21 Peter Griffin wrote: I'll appologize in advance as I'm not sure I've understood you correctly, definately your answer has given me a bunch more questions to clarify my understanding... In the case of this particular node, then both reg properties refer

Re: [PATCH v10 05/11] drm: bridge/dw_hdmi:split some phy configuration to platform driver

2014-11-14 Thread Andy Yan
On 2014年11月14日 18:55, Zubair Lutfullah Kakakhel wrote: On 14/11/14 10:53, Andy Yan wrote: Hi ZubairLK: Thanks for your review. On 2014年11月14日 18:19, Zubair Lutfullah Kakakhel wrote: Hi Andy, Nice work on this patch series. Its getting better and better :). On 14/11/14 03:27, Andy Yan

Re: [PATCH] solo6x10: just pass frame motion flag from hardware, drop additional handling as complicated and unstable

2014-11-14 Thread Hans Verkuil
Hi Andrew, FYI: I need to test this myself and understand it better, so it will take some time before I get to this. It is in my TODO list, so it won't be forgotten. Regards, Hans On 11/05/2014 09:11 PM, Andrey Utkin wrote: Dropping code (introduced in

[GIT PULL] at91: fixes for 3.18 #2

2014-11-14 Thread Nicolas Ferre
Arnd, Olof, Kevin, I don't have more for the moment, so here is trivial at91 material for 3.18. Thanks, best regards, The following changes since commit 106c67af2fb938880edbf43b49dabbd8d2534839: ARM: at91/dt: sam9263: fix PLLB frequencies (2014-10-22 10:08:22 +0200) are available in the git

[PATCH 3/3] kvm: simplify update_memslots invocation

2014-11-14 Thread Paolo Bonzini
The update_memslots invocation is only needed in one case. Make the code clearer by moving it to __kvm_set_memory_region, and removing the wrapper around insert_memslot. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- virt/kvm/kvm_main.c | 20 ++-- 1 file changed, 6

[PATCH 1/3] kvm: memslots: track id_to_index changes during the insertion sort

2014-11-14 Thread Paolo Bonzini
This completes the optimization from the previous patch, by removing the KVM_MEM_SLOTS_NUM-iteration loop from insert_memslot. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- virt/kvm/kvm_main.c | 39 +++ 1 file changed, 19 insertions(+), 20 deletions(-)

[PATCH 0/3] KVM: simplification to the memslots code

2014-11-14 Thread Paolo Bonzini
Hi Igor and Takuya, here are a few small patches that simplify __kvm_set_memory_region and associated code. Can you please review them? Thanks, Paolo Paolo Bonzini (3): kvm: memslots: track id_to_index changes during the insertion sort kvm: commonize allocation of the new memory slots

[PATCH 2/3] kvm: commonize allocation of the new memory slots

2014-11-14 Thread Paolo Bonzini
The two kmemdup invocations can be unified. I find that the new placement of the comment makes it easier to see what happens. Signed-off-by: Paolo Bonzini pbonz...@redhat.com --- virt/kvm/kvm_main.c | 28 +++- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git

Re: [PATCH v10 05/11] drm: bridge/dw_hdmi:split some phy configuration to platform driver

2014-11-14 Thread Zubair Lutfullah Kakakhel
On 14/11/14 11:08, Andy Yan wrote: On 2014年11月14日 18:55, Zubair Lutfullah Kakakhel wrote: On 14/11/14 10:53, Andy Yan wrote: Hi ZubairLK: Thanks for your review. On 2014年11月14日 18:19, Zubair Lutfullah Kakakhel wrote: Hi Andy, Nice work on this patch series. Its getting better and

Re: [PATCH v6 0/6] ARM: mediatek: Add support for interrupt polarity

2014-11-14 Thread Matthias Brugger
2014-11-13 16:37 GMT+01:00 Yingjoe Chen yingjoe.c...@mediatek.com: This series is 6th version of interrupt polarity support for MediaTek SoCs. This is based on tip/irq/irqdomain[1] and my mediatek SoC basic support[2]. In this version, I added a minor fix to irqdomain as first patch. Patch 3,

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Andy Yan
On 2014年11月14日 18:53, Zubair Lutfullah Kakakhel wrote: On 14/11/14 10:37, Andy Yan wrote: On 2014年11月14日 18:23, Zubair Lutfullah Kakakhel wrote: Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip RK3288 hdmi is compatible with dw_hdmi Signed-off-by: Andy Yan andy@rock-chips.com ---

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Zubair Lutfullah Kakakhel
On 14/11/14 11:13, Andy Yan wrote: On 2014年11月14日 18:53, Zubair Lutfullah Kakakhel wrote: On 14/11/14 10:37, Andy Yan wrote: On 2014年11月14日 18:23, Zubair Lutfullah Kakakhel wrote: Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip RK3288 hdmi is compatible with dw_hdmi

Re: [Xen-devel] [PATCH V3 2/8] xen: Delay remapping memory of pv-domain

2014-11-14 Thread David Vrabel
On 14/11/14 04:53, Juergen Gross wrote: Using BUG() instead would make the code less complex. Do you really think xen_update_mem_tables() would ever fail in a sane system? - set_phys_to_machine() would fail only on a memory shortage. Just going on without adding more memory wouldn't lead

Re: [PATCH] rtc: Disable EFI rtc for x86

2014-11-14 Thread Pali Rohár
On Monday 10 November 2014 17:45:06 Austin S Hemmelgarn wrote: On 2014-11-10 11:23, Pali Rohár wrote: On Monday 10 November 2014 12:22:13 Matt Fleming wrote: On Sun, 2014-11-09 at 19:22 +0100, Borislav Petkov wrote: On Sun, Nov 09, 2014 at 06:37:46PM +0100, Pali Rohár wrote: this patch

Re: [PATCH 19/22] dt/bindings: add micrel,rmii_ref_clk_sel_25_mhz to eth-phy binding

2014-11-14 Thread Johan Hovold
On Thu, Nov 13, 2014 at 09:09:27AM +0100, Sascha Hauer wrote: On Wed, Nov 12, 2014 at 10:19:20AM +0100, Johan Hovold wrote: On Wed, Nov 12, 2014 at 08:01:27AM +0100, Sascha Hauer wrote: On Tue, Nov 11, 2014 at 07:18:25PM +0100, Johan Hovold wrote: On Tue, Nov 11, 2014 at 05:57:42PM

[PATCH 3.18-rc3 v3 2/2] trace: kdb: Fix kernel livelock with empty buffers

2014-11-14 Thread Daniel Thompson
Currently kdb's ftdump command will livelock by constantly printk'ing the empty string at KERN_EMERG level if it run when the ftrace system is not in use. This occurs because trace_empty() never returns false when the ring buffers are left at the start of a non-consuming read [launched by

Re: [PATCH v10 11/11] drm: bridge/dw_hdmi: add rockchip rk3288 support

2014-11-14 Thread Andy Yan
On 2014年11月14日 19:16, Zubair Lutfullah Kakakhel wrote: On 14/11/14 11:13, Andy Yan wrote: On 2014年11月14日 18:53, Zubair Lutfullah Kakakhel wrote: On 14/11/14 10:37, Andy Yan wrote: On 2014年11月14日 18:23, Zubair Lutfullah Kakakhel wrote: Hi Andy On 14/11/14 03:31, Andy Yan wrote: Rockchip

[PATCH 3.18-rc3 v3 0/2] trace: kdb: Bug fixes for ftdump

2014-11-14 Thread Daniel Thompson
This patchset makes it possible to use kdb's ftdump command without panicing, crashing or livelocking. The ftdump command cannot be used at all without these changes. IIRC this patches are still pending Jason's ack. v3: * Remove lines leading with --- from the patch comments, now it it -~-

[PATCH 3.18-rc3 v3 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Daniel Thompson
Currently kdb's ftdump command unconditionally crashes due to a null pointer de-reference whenever the command is run. This in turn causes the kernel to panic. The abridged stacktrace (gathered with ARCH=arm) is: -~- cut here -~- [c09535ac] (panic) from [c02132dc] (die+0x264/0x440) [c02132dc]

Re: [PATCH v3 4/4] input: alps: Fix trackstick detection

2014-11-14 Thread Pali Rohár
On Sunday 09 November 2014 12:30:03 Pali Rohár wrote: On Sunday 09 November 2014 09:05:04 Dmitry Torokhov wrote: Hi Pali, On Sun, Nov 02, 2014 at 12:25:10AM +0100, Pali Rohár wrote: int alps_detect(struct psmouse *psmouse, bool set_properties) { - struct alps_data dummy;

Re: [PATCH 5/8] thermal:cpu cooling:tegra: Provide deferred probing for tegra driver

2014-11-14 Thread Lukasz Majewski
Hi Mikko, Tested-by: Mikko Perttunen mikko.perttu...@kapsi.fi Thanks for testing. One potential issue I can see is that if the cpufreq driver fails to probe then you'll never get the thermal driver either. For example, Tegra124 currently has no cpufreq driver, so if CONFIG_CPU_THERMAL

Re: [PATCH V5 1/4] of: Add vendor prefix for MIPS Technologies, Inc.

2014-11-14 Thread Ralf Baechle
On Wed, Nov 12, 2014 at 11:43:36AM -0800, Andrew Bresticker wrote: Add the vendor prefix mti for MIPS Technologies, Inc. Signed-off-by: Andrew Bresticker abres...@chromium.org Acked-by: Arnd Bergmann a...@arndb.de --- I'll update the users of the mips prefix to use mti instead once this

Re: [RFC][PATCH 02/23 v4] tracing: Add trace_seq_has_overflowed() and trace_handle_return()

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:12:46, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Adding a trace_seq_has_overflowed() which returns true if the trace_seq had too much written into it allows us to simplify the code. Instead of checking the return value of every call to

[PATCH v3] ALSA: ice1712: consider error value

2014-11-14 Thread Sudip Mukherjee
earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function, and revo_init is checking the return value. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- change in v3: spec-ak4114 is now

[git pull] FireWire fix

2014-11-14 Thread Stefan Richter
Linus, please pull from the tag firewire-fix at git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394.git firewire-fix to receive an IEEE 1394 (FireWire) subsystem fix: The character device file interface for raw 1394 I/O took uninitialized kernel stack as substitute for missing

WSMP(Wave Short Message Protocol) Stack Implementation

2014-11-14 Thread vamsi
Hi , I am planing to develop WSMP (Wave Short Message Protocol) protocol in transport layer.Any suggestions will be appreciated, My idea is given below WSMP(Wave Short Message Protocol ie. 1609.3 published by the IEEE Vehicular Society) is a part of the DSRC(Dedicated Short Range

Re: [PATCH V5 2/4] of: Add binding document for MIPS GIC

2014-11-14 Thread Ralf Baechle
On Wed, Nov 12, 2014 at 11:43:37AM -0800, Andrew Bresticker wrote: Patches 2-4 queud for 3.19. Thanks, Ralf -- 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

Re: [PATCH v3] ALSA: ice1712: consider error value

2014-11-14 Thread Takashi Iwai
At Fri, 14 Nov 2014 16:56:49 +0530, Sudip Mukherjee wrote: earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function, and revo_init is checking the return value. Signed-off-by: Sudip

[RESENT PATCH] dma-mapping: Add BUG_ON for uninitialized dma_ops

2014-11-14 Thread Michal Simek
Check that dma_ops are initialized correctly. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Functions dma_mmap_attrs(), dma_get_sgtable_attrs() already have this checking. The whole discussion was originally here: https://lkml.org/lkml/2013/6/3/255 We have middle solution where some

Re: [PATCH 1/1] Prevent the ipmi_bt_sm driver from attempting to send larger messages than hardware accept

2014-11-14 Thread Dmitry Rakhchev
Hello Corey, On Wednesday, November 12, 2014 09:05:00 AM Corey Minyard wrote: This is probably a good idea, but I would expect that the BMC would respond with a Request data field length limit exceeded. (C8h) completion code in this case instead of being silent. Though as far as I can tell

[PATCH v5 3/3] ARM: tegra: Add thermal reset (thermtrip) support to PMC

2014-11-14 Thread Mikko Perttunen
From: Mikko Perttunen mperttu...@nvidia.com This adds a device tree controlled option to enable PMC-based thermal reset in overheating situations. Thermtrip is supported on Tegra30, Tegra114 and Tegra124. The thermal reset only works when the thermal sensors are calibrated, so a soctherm driver

[PATCH v5 2/3] ARM: tegra: Add PMC thermtrip programming to Jetson TK1 device tree

2014-11-14 Thread Mikko Perttunen
From: Mikko Perttunen mperttu...@nvidia.com This adds the required information to reset the board during an overheating situation to the Jetson TK1 device tree. The thermal reset is handled by the PMC by sending an I2C message to the PMIC. The entries specify the I2C message to be sent.

[PATCH v5 1/3] of: Add descriptions of thermtrip properties to Tegra PMC bindings

2014-11-14 Thread Mikko Perttunen
From: Mikko Perttunen mperttu...@nvidia.com Hardware-triggered thermal reset requires configuring the I2C reset procedure. This configuration is read from the device tree, so document the relevant properties in the binding documentation. Signed-off-by: Mikko Perttunen mperttu...@nvidia.com ---

Re: FW: [RFC 0/5] perf tools: Add perf data CTF conversion

2014-11-14 Thread Jiri Olsa
adding Matthew Khouzam to the loop jirka On Thu, Nov 13, 2014 at 08:24:48PM +0100, Sebastian Andrzej Siewior wrote: I try to get through my ctf mailbox and I hoped I can finish it today but I don't make it completely… On 11/06/2014 04:25 AM, Alexandre Montplaisir wrote: mvn clean install.

[PATCH v5 0/3] Thermal reset support in PMC

2014-11-14 Thread Mikko Perttunen
Hi, this series adds support for hardware-triggered thermal reset to the PMC driver. Namely, it adds device tree properties for specifying the I2C command to be sent when thermtrip is triggered. The soctherm driver has now been acked and will be taken into 3.19, so we can move forward with this.

Re: [Xen-devel] [PATCH V3 7/8] xen: switch to linear virtual mapped sparse p2m list

2014-11-14 Thread David Vrabel
On 13/11/14 09:21, Juergen Gross wrote: On 11/11/2014 06:47 PM, David Vrabel wrote: Can you please test this with the following guests/scenarios. * 64 bit dom0 with PCI devices with high MMIO BARs. I'm not sure I have a machine available with this configuration. We have a bunch of them in

[PATCH] ARM: exynos_defconfig: Use 16 minors per MMC block device

2014-11-14 Thread Krzysztof Kozlowski
16 minors per MMC block device are required to boot Rinato (Gear 2) board because up to 15 partitions are used. With default 8 minors booting failed with: [1.329092] mmcblk0: mmc0:0001 F5X5MA 3.64 GiB [1.329448] mmcblk0boot0: mmc0:0001 F5X5MA partition 1 4.00 MiB [1.329627]

Re: [RFC][PATCH 02/23 v4] tracing: Add trace_seq_has_overflowed() and trace_handle_return()

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 12:25:23 +0100 Petr Mladek pmla...@suse.cz wrote: On Thu 2014-11-13 20:12:46, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Adding a trace_seq_has_overflowed() which returns true if the trace_seq had too much written into it allows us to

Re: [PATCH RESEND 3.18-rc3 v2 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 09:08:21 + Daniel Thompson daniel.thomp...@linaro.org wrote: On 14/11/14 02:26, Steven Rostedt wrote: On Thu, 6 Nov 2014 12:41:55 + Daniel Thompson daniel.thomp...@linaro.org wrote: Currently kdb's ftdump command unconditionally crashes due to a null

Re: [PATCH v9 05/13] arm: introduce is_device_dma_coherent

2014-11-14 Thread Stefano Stabellini
Russell, this patch needs your feedback. - Stefano On Wed, 12 Nov 2014, Stefano Stabellini wrote: Introduce a boolean flag and an accessor function to check whether a device is dma_coherent. Set the flag from set_arch_dma_coherent_ops. Signed-off-by: Stefano Stabellini

Re: [PATCH v2 net-next 1/7] bpf: add 'flags' attribute to BPF_MAP_UPDATE_ELEM command

2014-11-14 Thread Hannes Frederic Sowa
On Do, 2014-11-13 at 17:36 -0800, Alexei Starovoitov wrote: the current meaning of BPF_MAP_UPDATE_ELEM syscall command is: either update existing map element or create a new one. Initially the plan was to add a new command to handle the case of 'create new element if it didn't exist', but

Re: [Patch V1 0/6] Refine generic/PCI MSI irqodmian interfaces

2014-11-14 Thread Thomas Gleixner
On Fri, 14 Nov 2014, Jiang Liu wrote: On 2014/11/14 9:31, Thomas Gleixner wrote: On Fri, 14 Nov 2014, Yijing Wang wrote: Could you please use a mail client which does proper line wraps or configure yours to do so? Associate the irq domain and PCI bus is not necessary, because all

Re: [PATCH RESEND 3.18-rc3 v2 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Daniel Thompson
On 14/11/14 11:59, Steven Rostedt wrote: On Fri, 14 Nov 2014 09:08:21 + Daniel Thompson daniel.thomp...@linaro.org wrote: On 14/11/14 02:26, Steven Rostedt wrote: On Thu, 6 Nov 2014 12:41:55 + Daniel Thompson daniel.thomp...@linaro.org wrote: Currently kdb's ftdump command

[PATCH] platform: x86: dell-laptop: Add support for keyboard backlight

2014-11-14 Thread Pali Rohár
This patch adds support for configuring keyboard backlight settings on supported Dell laptops. It exports kernel leds interface and uses Dell SMBIOS tokens or keyboard class interface. With this patch it is possible to set: * keyboard backlight level * timeout after which will be backlight

Re: linux-next: ath9k: build failure, ath_cmn_process_fft() redefinition

2014-11-14 Thread Oleksij Rempel
Thank you, fixes are queued for review. Am 14.11.2014 um 01:07 schrieb Jeremiah Mahler: In version 20141113 of the linux-next kernel, if it is compiled with CONFIG_ATH9K_DEBUGFS unset, an error about ath_cmn_process_fft() being redefined will be produced. make ... LD [M]

Re: [PATCH RESEND 3.18-rc3 v2 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 12:13:51 + Daniel Thompson daniel.thomp...@linaro.org wrote: BTW I did check on kernel.org before punting them back on the list: https://git.kernel.org/cgit/linux/kernel/git/rostedt/linux-trace.git/log/?h=for-next Am I looking in the wrong place or are they not aimed

Re: [PATCH] DMA: Fix allocation size for PL330 data buffer depth.

2014-11-14 Thread Liviu Dudau
On Wed, Nov 12, 2014 at 09:39:52AM +, Vinod Koul wrote: On Thu, Nov 06, 2014 at 05:20:12PM +, Liviu Dudau wrote: The datasheet for PL330 says that the data buffer value in the CRD register is 10bits wide. However, the value stored is minus one, which the driver corrects for. Maximum

Re: [PATCH RESEND 3.18-rc3 v2 1/2] trace: kdb: Fix kernel panic during ftdump

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 07:31:46 -0500 Steven Rostedt rost...@goodmis.org wrote: On Fri, 14 Nov 2014 12:13:51 + Daniel Thompson daniel.thomp...@linaro.org wrote: BTW I did check on kernel.org before punting them back on the list:

Re: [PATCH v3 10/11] perf/x86/intel: Perform rotation on Intel CQM RMIDs

2014-11-14 Thread Matt Fleming
On Fri, 07 Nov, at 01:38:36PM, Peter Zijlstra wrote: For optional goodness: if (nr_limbo max_scan_size) break; Which will limit the number of RMIDs you'll scan from the IPI, and thereby limit the time taken there. To limit the amount of magic

[PATCH 3.18-rc3 v8 4/4] arm: smp: Handle ipi_cpu_backtrace() using FIQ (if available)

2014-11-14 Thread Daniel Thompson
Previous changes have introduced both a replacement default FIQ handler and an implementation of arch_trigger_all_cpu_backtrace for ARM but these are currently independent of each other. This patch plumbs together these features making it possible, on platforms that support it, to trigger

Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO

2014-11-14 Thread Petr Tesarik
On Fri, 14 Nov 2014 18:54:23 +0900 (JST) HATAYAMA Daisuke d.hatay...@jp.fujitsu.com wrote: From: Petr Tesarik ptesa...@suse.cz Subject: Re: [PATCH] kdump, x86: report actual value of phys_base in VMCOREINFO Date: Fri, 14 Nov 2014 09:31:45 +0100 On Fri, 14 Nov 2014 10:42:35 +0900 (JST)

[PATCH 3.18-rc3 v8 0/4] arm: Implement arch_trigger_all_cpu_backtrace

2014-11-14 Thread Daniel Thompson
Hi Thomas, Hi Jason, [Today I was *planning* to ask if patches 1 2 are OK for the irqchip tree. However just to be on the safe side I ran some build tests and they picked up something I overlooked last time. So instead of a poke I've put out a new patchset instead. Just to be sure I ran

[PATCH 3.18-rc3 v8 1/4] irqchip: gic: Make gic_raise_softirq() FIQ-safe

2014-11-14 Thread Daniel Thompson
Currently calling printk() from a FIQ can result in deadlock on irq_controller_lock within gic_raise_softirq(). This occurs because printk(), which is otherwise structured to survive calls from FIQ/NMI, calls this function to raise an IPI when it needs to wake_up_klogd(). This patch fixes the

[PATCH 3.18-rc3 v8 3/4] ARM: add basic support for on-demand backtrace of other CPUs

2014-11-14 Thread Daniel Thompson
Add basic infrastructure for triggering a backtrace of other CPUs via an IPI, preferably at FIQ level. It is intended that this shall be used for cases where we have detected that something has already failed in the kernel. Signed-off-by: Russell King rmk+ker...@arm.linux.org.uk Signed-off-by:

[PATCH 3.18-rc3 v8 2/4] irqchip: gic: Introduce plumbing for IPI FIQ

2014-11-14 Thread Daniel Thompson
Currently it is not possible to exploit FIQ for systems with a GIC, even if the systems are otherwise capable of it. This patch makes it possible for IPIs to be delivered using FIQ. To do so it modifies the register state so that normal interrupts are placed in group 1 and specific IPIs are

Re: [RFC][PATCH 06/23 v4] tracing: Have function_graph use trace_seq_has_overflowed()

2014-11-14 Thread Petr Mladek
On Thu 2014-11-13 20:12:50, Steven Rostedt wrote: From: Steven Rostedt (Red Hat) rost...@goodmis.org Instead of doing individual checks all over the place that makes the code very messy. Just check trace_seq_has_overflowed() at the end or in strategic places. This makes the code much

[PATCH v4] ALSA: ice1712: consider error value

2014-11-14 Thread Sudip Mukherjee
earlier we were ignoring the return value of snd_ak4114_create and always returning 0. now we are returning the actual status. revo_init is calling this function, and revo_init is checking the return value. Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- change in v3: spec-ak4114 is now

Re: [Xen-devel] [PATCH V3 7/8] xen: switch to linear virtual mapped sparse p2m list

2014-11-14 Thread Juergen Gross
On 11/14/2014 12:58 PM, David Vrabel wrote: On 13/11/14 09:21, Juergen Gross wrote: On 11/11/2014 06:47 PM, David Vrabel wrote: Can you please test this with the following guests/scenarios. * 64 bit dom0 with PCI devices with high MMIO BARs. I'm not sure I have a machine available with

[PATCH v2 2/2] UBSan: run-time undefined behavior sanity checker

2014-11-14 Thread Andrey Ryabinin
UBSan uses compile-time instrumentation to catch undefined behavior (UB). Compiler inserts code that perform certain kinds of checks before operations that could cause UB. If check fails (i.e. UB detected) __ubsan_handle_* function called to print error message. So the most of the work is done by

[PATCH v2 0/2] UBSan: run-time undefined behavior sanity checker

2014-11-14 Thread Andrey Ryabinin
Next spin of UBSan and there are two patches from now. Two there should be; no more, no less. One to embody the UBSan, the other to not deadlock it. Patches on top of v3.18-rc4. As usual they are available in git: git://github.com/aryabinin/linux ubsan/v2 Changes since v1: -

[PATCH v2 1/2] kernel: printk: specify alignment for struct printk_log

2014-11-14 Thread Andrey Ryabinin
On architectures that have support for efficient unaligned access struct printk_log has 4-byte alignment. Specify alignment attribute in type declaration. The whole point of this patch is to fix deadlock which happening when UBSan detects unaligned access in printk() thus UBSan recursively calls

Re: [RFC][PATCH 06/23 v4] tracing: Have function_graph use trace_seq_has_overflowed()

2014-11-14 Thread Steven Rostedt
On Fri, 14 Nov 2014 13:41:26 +0100 Petr Mladek pmla...@suse.cz wrote: -static enum print_line_t +static void print_graph_irq(struct trace_iterator *iter, unsigned long addr, enum trace_type type, int cpu, pid_t pid, u32 flags) { - int ret; struct trace_seq *s

read performance is too low compared to write - /dev/sda1

2014-11-14 Thread Jagan Teki
Hi, I'm doing a performance testing on my bench ARM box. 1. dd test: I have validate the read and write by mounting /dev/sda1 with ext4 filesystem, able to get the good performance numbers where read is high compared to write 2. robocopy test: - mkfs.ext4 /dev/sda1 - mount

Re: [PATCH v7 1/3] ARM: mediatek: Add basic support for mt6592

2014-11-14 Thread Matthias Brugger
2014-11-14 6:14 GMT+01:00 Howard Chen ibanezc...@gmail.com: * A dtsi for boards based on Mediatek MT6592 SoCs * Compatible string in arch/arm/mach-mediatek/mediatek.c Signed-off-by: Howard Chen ibanezc...@gmail.com I applied the whole series [0]. Thanks. [0]

[PATCH] zsmalloc: fix zs_init cpu notifier error handling

2014-11-14 Thread Sergey Senozhatsky
Mahendran Ganesh reported that zpool-enabled zsmalloc should not call zpool_unregister_driver() from zs_init() if cpu notifier registration has failed, because error handling is performed before we register the driver via zpool_register_driver() call. Factor out cpu notifier registration and

Re: [PATCH 2/3] mm/zsmalloc: add __init/__exit to zs_init/zs_exit

2014-11-14 Thread Sergey Senozhatsky
On (11/13/14 21:37), Mahendran Ganesh wrote: After patch [1], the zs_exit is only called in module exit. So add __init/__exit to zs_init/zs_exit. [1] mm/zsmalloc: avoid unregister a NOT-registered zsmalloc zpool driver Signed-off-by: Mahendran Ganesh opensource.gan...@gmail.com makes

Re: [LKP] [sched] 9597d64116d: -16.1% hackbench.throughput

2014-11-14 Thread Vincent Guittot
On 14 November 2014 04:35, Yuanhan Liu yuanhan@linux.intel.com wrote: On Wed, Nov 12, 2014 at 03:44:34PM +0100, Vincent Guittot wrote: On 10 November 2014 06:54, l...@01.org wrote: FYI, we noticed the below changes on https://git.linaro.org/people/mturquette/linux.git eas-next

[PATCH] mmc: dw_mmc: add quirk for data over interrupt timeout

2014-11-14 Thread Addy Ke
From: Addy addy...@rock-chips.com This patch add a new quirk to notify the driver to teminate current transfer and report a data timeout to the core, if data over interrupt does NOT come within the given time. dw_mmc call mmc_request_done func to finish transfer depends on data over interrupt.

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