Re: [RFC/INCOMPLETE 00/13] x86: Rewrite exit-to-userspace code

2015-06-17 Thread Ingo Molnar
* Richard Weinberger richard.weinber...@gmail.com wrote: On Wed, Jun 17, 2015 at 11:48 AM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: This is incomplete, but it's finally good enough that I think it's time to get other opinions on it. It is a

[PATCH v2 1/2] clk: at91: cleanup PMC header file for PCR register fields

2015-06-17 Thread Nicolas Ferre
Add _MASK and _OFFSET values and cleanup register fields layout. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- drivers/clk/at91/clk-peripheral.c | 8 include/linux/clk/at91_pmc.h | 14 ++ 2 files changed, 10 insertions(+), 12 deletions(-) diff --git

[PATCH v2 2/2] clk: at91: modify PMC peripheral clock to deal with newer register layout

2015-06-17 Thread Nicolas Ferre
As some more information is added to the PCR register, we'd better use a copy of its content and modify just the peripheral-related bits. Implement a read-modify-write for the enable() and disable() callbacks. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- v2: - modify header file

Re: 4.1-rc7, thinkpad X60: platform mode hibernation does very wrongthing

2015-06-17 Thread Rafael J. Wysocki
On Wednesday, June 17, 2015 02:33:33 PM Pavel Machek wrote: Hi! On Wednesday, June 17, 2015 08:19:37 PM linus wrote: there might be something wrong with driver, can you provide serial log with no_console_suspend? or using rtctrace Who are you? The hibernation image is stored

Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-17 Thread Mark Brown
On Wed, Jun 17, 2015 at 05:08:03PM +0800, Eddie Huang wrote: Here comes the problem, although total length of tx, rx is the same, each entry in rx and tx scatterlist may not be the same (in the case data buffer allocate from vmalloc). Other vendor have dmaengine driver to send entry-by-entry

Re: [Resend PATCH v8 0/4] sched: Rewrite runnable load and utilization average tracking

2015-06-17 Thread Boqun Feng
Hi Yuyang, On Wed, Jun 17, 2015 at 11:11:01AM +0800, Yuyang Du wrote: Hi, The sched_debug is informative, lets first give it some analysis. The workload is 12 CPU hogging tasks (always runnable) and 1 dbench task doing fs ops (70% runnable) running at the same time. Actually, these 13

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 15:13, Michael S. Tsirkin wrote: Considering userspace can be malicious, I guess yes. I don't think it's a valid concern in this case, setting limit back from 509 to 64 will not help here in any way, userspace still can create as many vhost instances as it needs to

[PATCH v2 0/6] vhost: support upto 509 memory regions

2015-06-17 Thread Igor Mammedov
Ref to prefious version discussion: [PATCH 0/5] vhost: support upto 509 memory regions http://www.spinics.net/lists/kvm/msg117654.html Chagelog v1-v2: * fix spelling errors * move vhost: support upto 509 memory regions to the end of queue * move kvfree() form 1/6 to 2/6 where it belongs

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Pavel Machek
On Wed 2015-06-17 15:07:41, Christian König wrote: On 17.06.2015 14:49, Pavel Machek wrote: On Wed 2015-06-17 14:43:47, Pavel Machek wrote: Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console still works.) Maybe this is related? [ 5430.193071]

Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Miroslav Benes
On Wed, 17 Jun 2015, Li Bin wrote: On 2015/6/17 16:13, Miroslav Benes wrote: On Wed, 17 Jun 2015, Li Bin wrote: The list of applied patches can be obtained just by 'ls /sys/kernel/livepatch' and their state is in enabled attribute in each respective patch (no, you cannot obtain the

Re: [PATCH v2 1/2] i2c_imc: New driver for Intel's iMC, found on LGA2011 chips

2015-06-17 Thread Wolfram Sang
Having said that, I am still not convinced that the driver should be in the kernel to start with. Browsing through Intel's datasheets, the registers are supported in E5-2600 v1, v2, and v3. However, in v3 Intel added a note saying that the registers should not be accessed by the

Re: [PATCH v3 17/18] x86/kvm/tsc: Drop extra barrier and use rdtsc_ordered in kvmclock

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 09:47, Paolo Bonzini wrote: On 17/06/2015 02:36, Andy Lutomirski wrote: __pvclock_read_cycles had an unnecessary barrier. Get rid of that barrier and clean up the code by just using rdtsc_ordered(). Cc: Paolo Bonzini pbonz...@redhat.com Cc: Radim Krcmar

[PATCH v3] TCO watchdog pretimeout handler

2015-06-17 Thread Francois-Nicolas Muller
Use TCO watchdog first timeout (pretimeout) to dump CPU backtraces and ease debug of watchdog expiration causes. On Intel Cherrytrail, TCO logic generates a SMI, then SMI handler triggers a SCI to the kernel, on a specific GPE. The GPE handler dumps all CPU backtraces and calls panic (in order to

Re: [PATCH v3 00/18] x86/tsc: Clean up rdtsc helpers

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 13:11, Borislav Petkov wrote: peterz reminded me that I'm lazy actually and don't reply to each patch :) So, I like it, looks good, nice cleanup. It boots on my guest here - I haven't done any baremetal testing though. Let's give people some more time to look at it... Same

Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device

2015-06-17 Thread Rob Herring
On Wed, Jun 17, 2015 at 8:17 AM, Dov Levenglick d...@codeaurora.org wrote: On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick d...@codeaurora.org wrote: On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick d...@codeaurora.org wrote: On Sun, Jun 7, 2015 at 10:32 AM, yga...@codeaurora.org wrote:

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Christian König
On 17.06.2015 15:21, Pavel Machek wrote: On Wed 2015-06-17 15:07:41, Christian König wrote: On 17.06.2015 14:49, Pavel Machek wrote: On Wed 2015-06-17 14:43:47, Pavel Machek wrote: Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console still works.) Maybe

Re: [RESEND PATCH 2/2] pinctrl: introduce complex pin description

2015-06-17 Thread Ludovic Desroches
On Mon, Jun 15, 2015 at 10:01:29AM -0600, Stephen Warren wrote: On 06/10/2015 09:04 AM, Ludovic Desroches wrote: Using a string to describe a pin in the device tree can be not enough. Some controllers may need extra information to fully describe a pin. It concerns mainly controllers which have

Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device

2015-06-17 Thread Rob Herring
On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick d...@codeaurora.org wrote: On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick d...@codeaurora.org wrote: On Sun, Jun 7, 2015 at 10:32 AM, yga...@codeaurora.org wrote: 2015-06-05 5:53 GMT+09:00 yga...@codeaurora.org: [...] If ufshcd-pltfrm

Re: [PATCH] ARM: fix DEBUG_UART_PHYS/VIRT issue when modifying DEBUG_LL output

2015-06-17 Thread Thomas Petazzoni
Hello, On Tue, 13 Jan 2015 11:37:48 +0100, Boris Brezillon wrote: The DEBUG_UART_PHYS/VIRT value can only be automatically set once (automatically means set from the DEBUG_SOC_ID_UART_ID option), which prevents re-configuring the earlyprintk output for another platform once the DEBUG_LL

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 02:23:39PM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 13:51:56 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 01:48:03PM +0200, Igor Mammedov wrote: So far it's kernel limitation and this patch fixes crashes that users see now,

[PATCH] staging: wilc1000: remove WILC_WFIDrvHandle

2015-06-17 Thread Sudip Mukherjee
WILC_WFIDrvHandle was: typedef struct { s32 s32Dummy; } *WILC_WFIDrvHandle; which basically meant a pointer to an integer. so removed the typedef and replaced all WILC_WFIDrvHandle with int * Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- replacement was done by using sed,

[PATCH v2 2/6] vhost: extend memory regions allocation to vmalloc

2015-06-17 Thread Igor Mammedov
with large number of memory regions we could end up with high order allocations and kmalloc could fail if host is under memory pressure. Considering that memory regions array is used on hot path try harder to allocate using kmalloc and if it fails resort to vmalloc. It's still better than just

Re: [PATCH V2 1/6] SLIMbus: Device management on SLIMbus

2015-06-17 Thread Mark Brown
On Tue, Jun 16, 2015 at 07:45:59PM -0600, Sagar Dharia wrote: + if (status) { + slim_dev-driver = NULL; + } else if (driver-device_up) { + ctrl = slim_dev-ctrl; + queue_work(ctrl-wq, slim_dev-wd); + } Nothing ever cleans this work up if it

Re: 4.1-rc7, thinkpad X60: platform mode hibernation does very wrongthing

2015-06-17 Thread Pavel Machek
On Wed 2015-06-17 15:14:02, Rafael J. Wysocki wrote: On Wednesday, June 17, 2015 02:33:33 PM Pavel Machek wrote: Hi! On Wednesday, June 17, 2015 08:19:37 PM linus wrote: there might be something wrong with driver, can you provide serial log with no_console_suspend? or using

[PATCH v2 3/6] vhost: add per VQ memory region caching

2015-06-17 Thread Igor Mammedov
that brings down translate_desc() cost to around 210ns if accessed descriptors are from the same memory region. Signed-off-by: Igor Mammedov imamm...@redhat.com --- that's what netperf/iperf workloads were during testing. --- drivers/vhost/vhost.c | 16 +--- drivers/vhost/vhost.h |

Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device

2015-06-17 Thread Dov Levenglick
On Wed, Jun 17, 2015 at 2:42 AM, Dov Levenglick d...@codeaurora.org wrote: On Tue, Jun 9, 2015 at 12:53 AM, Dov Levenglick d...@codeaurora.org wrote: On Sun, Jun 7, 2015 at 10:32 AM, yga...@codeaurora.org wrote: 2015-06-05 5:53 GMT+09:00 yga...@codeaurora.org: [...] If ufshcd-pltfrm

Re: [PATCH] i2c: mv64xxx: remove unreachable signal case handling

2015-06-17 Thread Gregory CLEMENT
Hi Wolfram, Nicholas, On 17/06/2015 15:00, Wolfram Sang wrote: On Thu, Jun 11, 2015 at 05:27:33PM +0200, Nicholas Mc Guire wrote: 'commit d295a86eab20 (i2c: mv64xxx: work around signals causing I2C transactions to be aborted)' removed the wait_event_interruptible_timeout to prevent

Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n

2015-06-17 Thread Frans Klaver
On Wed, Jun 17, 2015 at 03:13:39PM +0200, Takashi Iwai wrote: At Wed, 17 Jun 2015 14:53:19 +0200, Frans Klaver wrote: When building with CONFIG_SND_HDA_I915=n, I get the following warning: sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’: sound/pci/hda/hda_intel.c:1882:2:

Re: [PATCH v3 02/18] x86/msr/kvm: Remove vget_cycles()

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 02:35, Andy Lutomirski wrote: The only caller was kvm's read_tsc. The only difference between vget_cycles and native_read_tsc was that vget_cycles returned zero instead of crashing on TSC-less systems. KVM's already checks vclock_mode before calling that function, so the

Re: [PATCH 1/8] ARC: perf: support RAW events

2015-06-17 Thread Peter Zijlstra
On Tue, Jun 16, 2015 at 11:45:52AM +, Alexey Brodkin wrote: First let me clarify a bit how we deal with hardware events in ARC cores. a) ARC core may have an arbitrary set of hardware events built-in. Upon creation of new ASIC project hardware engineer may select which events will be

[PATCH 00/13] Discover and probe dependencies

2015-06-17 Thread Tomeu Vizoso
Hi, this is another attempt at preventing deferred probe from obscuring why your devices aren't probing and from delaying to the end of the boot process the probe of the device you care the most. The major differences with my previous approach [0] are: * Dependencies are probed before the

[PATCH 09/13] gpu: host1x: implement class.get_dependencies()

2015-06-17 Thread Tomeu Vizoso
So others can find out dependencies of host1x clients, as specified in bindings/gpu/nvidia,tegra20-host1x.txt. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/gpu/host1x/dev.c | 47 +++ 1 file changed, 47 insertions(+) diff --git

[PATCH v2] ahci, msix: Fix build error for !PCI_MSI

2015-06-17 Thread Robert Richter
Tejun, Gerry, On 17.06.15 17:02:20, Jiang Liu wrote: On 2015/6/17 16:48, Robert Richter wrote: static struct msi_desc *msix_get_desc(struct pci_dev *dev, u16 entry) { +#ifdef CONFIG_PCI_MSI struct msi_desc *desc; list_for_each_entry(desc, dev-msi_list, list) {

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Paul Bolle
On Wed, 2015-06-17 at 15:21 +0200, Pavel Machek wrote: On Wed 2015-06-17 15:07:41, Christian König wrote: On 17.06.2015 14:49, Pavel Machek wrote: On Wed 2015-06-17 14:43:47, Pavel Machek wrote: Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console

Re: [PATCH RESEND] perf tools: Ignore .config-detected in .gitignore

2015-06-17 Thread Wangnan (F)
This patch has already acked-by Jiri Olsa on March, but I lost the original email on my local mailbox, so send it again. Thank you. On 2015/6/17 19:59, Wang Nan wrote: Commit fcfd6611fbccdbf2593bd949097a5c0e45cd96da (tools build: Add detected config support) dynamically creates

Re: [PATCH 4/8] ARCv2: perf: Support sampling events using overflow interrupts

2015-06-17 Thread Peter Zijlstra
On Wed, Jun 17, 2015 at 05:18:27PM +0530, Vineet Gupta wrote: Turns out that it is possible to implement NMI on ARCv2 in a pretty straightforward way. Our RTOS Guru, Chuck, told me off list, that instead of using CLRI / SETI, we can use SETI with different args which would keep the

Re: [RFC -v2] panic_on_oom_timeout

2015-06-17 Thread Michal Hocko
On Wed 17-06-15 21:31:21, Tetsuo Handa wrote: Michal Hocko wrote: [...] I think we can rely on timers. A downside would be that we cannot dump the full OOM report from the IRQ context because we rely on task_lock which is not IRQ safe. But I do not think we really need it. An OOM report

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Christian König
On 17.06.2015 14:49, Pavel Machek wrote: On Wed 2015-06-17 14:43:47, Pavel Machek wrote: Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console still works.) Maybe this is related? [ 5430.193071] radeon :01:00.0: putting AGP V2 device into 4x mode [

[PATCH 04/13] pinctrl: tegra: Only set the gpio range if needed

2015-06-17 Thread Tomeu Vizoso
If the gpio DT node has the gpio-ranges property, the range will be added by the gpio core and doesn't need to be added by the pinctrl driver. By having the gpio-ranges property, we have an explicit dependency from the gpio node to the pinctrl node and we can stop using the deprecated

[PATCH 01/13] gpiolib: Fix docs for gpiochip_add_pingroup_range

2015-06-17 Thread Tomeu Vizoso
gpiochip_add_pingroup_range() has a pctldev argument, not pinctrl. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/gpio/gpiolib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpiolib.c b/drivers/gpio/gpiolib.c index 957ede5..dc44350 100644

Re: [PATCH] i2c: mv64xxx: remove unreachable signal case handling

2015-06-17 Thread Nicholas Mc Guire
On Wed, 17 Jun 2015, Gregory CLEMENT wrote: Hi Wolfram, Nicholas, On 17/06/2015 15:00, Wolfram Sang wrote: On Thu, Jun 11, 2015 at 05:27:33PM +0200, Nicholas Mc Guire wrote: 'commit d295a86eab20 (i2c: mv64xxx: work around signals causing I2C transactions to be aborted)' removed the

[PATCH 12/13] device property: add fwnode_get_name()

2015-06-17 Thread Tomeu Vizoso
Getting a textual representation of a device node can be very useful for debugging. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/base/property.c | 15 +++ include/linux/property.h | 2 ++ 2 files changed, 17 insertions(+) diff --git a/drivers/base/property.c

4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Pavel Machek
Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console still works.) Maybe this is related? [ 5430.193071] radeon :01:00.0: putting AGP V2 device into 4x mode [ 5430.193107] radeon :01:00.0: GTT: 256M 0xD000 - 0xDFFF [ 5430.214670] radeon

Re: [PATCH v4 1/6] mtd: nand: vf610_nfc: Freescale NFC for VF610, MPC5125 and others

2015-06-17 Thread Stefan Agner
On 2015-06-09 22:07, Sebastian Andrzej Siewior wrote: On 2015-06-03 17:05:16 [+0200], Stefan Agner wrote: As Boris guessed correctly, the reason I used the raw variant was due to performance improvements due to the barrier. However, I will use yeah, do you have any numbers by chance? Just

Re: [alsa-devel][PATCH v2] ASoC: wm8960: add dapm kcontrols to select left/right ADC input source

2015-06-17 Thread Charles Keepax
On Wed, Jun 17, 2015 at 04:58:30PM +0800, Zidan Wang wrote: On Tue, Jun 16, 2015 at 01:18:39PM +0100, Charles Keepax wrote: On Tue, Jun 16, 2015 at 02:23:19PM +0800, Zidan Wang wrote: Add dapm kcontrols to select left/right ADC input source, one to select the left ADC input source and one

[PATCH v7 05/14] crypto: marvell/CESA: add TDMA support

2015-06-17 Thread Boris Brezillon
The CESA IP supports CPU offload through a dedicated DMA engine (TDMA) which can control the crypto block. When you use this mode, all the required data (operation metadata and payload data) are transferred using DMA, and the results are retrieved through DMA when possible (hash results are not

[PATCH 11/13] device property: add fwnode_get_parent()

2015-06-17 Thread Tomeu Vizoso
So we can query the parent of a fwnode without having to resort to API that is specific to a firmware data format. Also adds a acpi_get_parent_dev() function to retrieve the parent of an acpi_device. acpi_get_parent() already existed but it works with acpi_handles. The interface covers both ACPI

[PATCH 13/13] driver-core: probe dependencies before probing

2015-06-17 Thread Tomeu Vizoso
Before actually probing a device, find out what dependencies it has and do our best to ensure that they are available at this point. This is accomplished by finding out what platform devices need to be probed so the dependencies are available. If any dependencies are still unavailable after that

[PATCH 10/13] driver-core: add for_each_class()

2015-06-17 Thread Tomeu Vizoso
The purpose of this function is to allow other parts of the driver core to iterate over the currently registered classes. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/base/base.h | 2 ++ drivers/base/class.c | 16 2 files changed, 18 insertions(+) diff

[PATCH 05/13] driver core: fix docbook for device_private.device

2015-06-17 Thread Tomeu Vizoso
This field refers to the public device struct, not to classes. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/base/base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/base/base.h b/drivers/base/base.h index fd3347d..29c985e 100644 ---

Re: [RFC] panic_on_oom_timeout

2015-06-17 Thread Michal Hocko
On Wed 17-06-15 21:16:37, Tetsuo Handa wrote: Michal Hocko wrote a few minutes ago: Subject: [RFC -v2] panic_on_oom_timeout Oops, we raced... Michal Hocko wrote: On Tue 16-06-15 22:14:28, Tetsuo Handa wrote: [...] Since memcg OOM is less critical than system OOM because administrator

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-06-17 Thread Ludovic Desroches
Hi Stephen, On Mon, Jun 15, 2015 at 09:58:05AM -0600, Stephen Warren wrote: On 06/10/2015 09:04 AM, Ludovic Desroches wrote: When having a controller which allows per pin muxing, declaring with which groups a function can be used is a useless constraint since groups are something virtual.

[GIT PULL] tracing: Have filter check for balanced ops

2015-06-17 Thread Steven Rostedt
Linus, Vince Weaver reported a warning when he added perf event filters into his fuzzer tests. There's a missing check of balanced operations when parenthesis are used, and this triggers a WARN_ON() and when reading the failure, the filter reports no failure occurred. The operands were not

Re: 4.1-rc7: Xorg broken after resume on thinkpad T40p, radeon problem?

2015-06-17 Thread Pavel Machek
On Wed 2015-06-17 14:43:47, Pavel Machek wrote: Hi! Video is broken on thinkpad T40p after resume from suspend. (In X only, text console still works.) Maybe this is related? [ 5430.193071] radeon :01:00.0: putting AGP V2 device into 4x mode [ 5430.193107] radeon :01:00.0: GTT:

[PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n

2015-06-17 Thread Frans Klaver
When building with CONFIG_SND_HDA_I915=n, I get the following warning: sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’: sound/pci/hda/hda_intel.c:1882:2: warning: label ‘skip_i915’ defined but not used [-Wunused-label] skip_i915: ^ Fix this by using 'if (IS_ENABLED())' rather

Re: [PATCH] i2c: mv64xxx: remove unreachable signal case handling

2015-06-17 Thread Wolfram Sang
On Thu, Jun 11, 2015 at 05:27:33PM +0200, Nicholas Mc Guire wrote: 'commit d295a86eab20 (i2c: mv64xxx: work around signals causing I2C transactions to be aborted)' removed the wait_event_interruptible_timeout to prevent half/mixed i2c messages from being sent/received but forgot to drop the

Re: [PATCH V2 2/6] of/slimbus: OF helper for SLIMbus

2015-06-17 Thread Mark Brown
On Tue, Jun 16, 2015 at 07:46:00PM -0600, Sagar Dharia wrote: OF helper routine scans the SLIMbus DeviceTree, allocates resources, and creates slim_devices according to the hierarchy. You've not CCed any of the DT maintainers on this, for a completely new bus it seems like we really ought to

Re: [PATCH] sound: hda_intel: fix warning if SND_HDA_I915=n

2015-06-17 Thread Takashi Iwai
At Wed, 17 Jun 2015 14:53:19 +0200, Frans Klaver wrote: When building with CONFIG_SND_HDA_I915=n, I get the following warning: sound/pci/hda/hda_intel.c: In function ‘azx_probe_continue’: sound/pci/hda/hda_intel.c:1882:2: warning: label ‘skip_i915’ defined but not used [-Wunused-label]

[PATCH v2 5/6] vhost: add 'translation_cache' module parameter

2015-06-17 Thread Igor Mammedov
by default translation of virtqueue descriptors is done with caching enabled, but caching will add only extra cost in cases of trashing workload where majority descriptors are translated to different memory regions. So add an option to allow exclude cache miss cost for such cases. Performance

[PATCH v2 1/6] vhost: use binary search instead of linear in find_region()

2015-06-17 Thread Igor Mammedov
For default region layouts performance stays the same as linear search i.e. it takes around 210ns average for translate_desc() that inlines find_region(). But it scales better with larger amount of regions, 235ns BS vs 300ns LS with 55 memory regions and it will be about the same values when

[PATCH v2 6/6] vhost: support upto 509 memory regions

2015-06-17 Thread Igor Mammedov
since commit 1d4e7e3 kvm: x86: increase user memory slots to 509 it became possible to use a bigger amount of memory slots, which is used by memory hotplug for registering hotplugged memory. However QEMU crashes if it's used with more than ~60 pc-dimm devices and vhost-net since host kernel in

[PATCH v2 4/6] vhost: translate_desc: optimization for desc.len region size

2015-06-17 Thread Igor Mammedov
when translating descriptors they are typically less than memory region that holds them and translated into 1 iov entry, so it's not nessesary to check remaining length twice and calculate used length and next address in such cases. replace a remaining length and 'size' increment branches with a

[PATCH] clk: at91: add generated clock driver

2015-06-17 Thread Nicolas Ferre
Add a new type of clocks that can be provided to a peripheral. In addition to the peripheral clock, this new clock that can use several input clocks as parents can generate divided rates. This would allow a peripheral to have finer grained clocks for generating a baud rate, clocking an

Re: [RFC -v2] panic_on_oom_timeout

2015-06-17 Thread Michal Hocko
On Wed 17-06-15 14:51:27, Michal Hocko wrote: [...] The important thing is to decide what is the reasonable way forward. We have two two implementations of panic based timeout. So we should decide And the most obvious question, of course. - Should we add a panic timeout at all? - Should be

[PATCH] clk: at91: trivial: typo in peripheral clock description

2015-06-17 Thread Nicolas Ferre
Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com --- Documentation/devicetree/bindings/clock/at91-clock.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/clock/at91-clock.txt b/Documentation/devicetree/bindings/clock/at91-clock.txt

RE: [PATCH v2] spi: img-spfi: Same Edge bit set to double supported transfer speed

2015-06-17 Thread Sifan Naeem
Hi Jonas, -Original Message- From: Jonas Gorski [mailto:j...@openwrt.org] Sent: 17 June 2015 13:12 To: Sifan Naeem Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Andrew Bresticker Subject: Re: [PATCH v2] spi: img-spfi: Same Edge bit set to double supported

Re: [4.1-rc7] btrfs related VM_BUG_ON in filemap.c

2015-06-17 Thread Dave Jones
On Tue, Jun 16, 2015 at 01:19:20PM -0400, Chris Mason wrote: On 06/16/2015 01:14 PM, David Sterba wrote: On Wed, Jun 10, 2015 at 01:43:31PM -0400, Chris Mason wrote: On 06/10/2015 09:40 AM, Dave Jones wrote: Found this on serial console this morning. The machine had rebooted itself

[PATCH 08/13] gpio: sysfs: implement class.get_dependencies()

2015-06-17 Thread Tomeu Vizoso
So the GPIO subsystem can be queried about the dependencies of nodes that consume GPIOs, as specified in bindings/gpio/gpio.txt. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/gpio/gpiolib-sysfs.c | 81 1 file changed, 81

[PATCH 02/13] driver-core: defer all probes until late_initcall

2015-06-17 Thread Tomeu Vizoso
To decrease the chances of devices deferring their probes because of dependencies not having probed yet because of their drivers not having registered yet, delay all probing until the late initcall level. This will allow us to avoid deferred probes completely later by probing dependencies on

[PATCH 06/13] of/platform: Set fwnode field for new devices

2015-06-17 Thread Tomeu Vizoso
When allocating a new platform device, set the fwnode field in the struct device to point to the device_node. Signed-off-by: Tomeu Vizoso tomeu.viz...@collabora.com --- drivers/of/platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/of/platform.c b/drivers/of/platform.c index

[PATCH 07/13] driver-core: Add class.get_dependencies() callback

2015-06-17 Thread Tomeu Vizoso
Classes can implement this callback to provide a list of dependencies for a firmware node. These dependencies can be used to probe devices in order and to give proper warnings when dependencies cannot be fulfilled. This functionality is implemented in a class callback because subsystems implement

Re: [PATCH v4 0/8] Support for Open-Channel SSDs

2015-06-17 Thread Christoph Hellwig
On Sat, Jun 13, 2015 at 06:17:11PM +0200, Matias Bjorling wrote: Note that for NVMe it might still make sense to implement this using blk-mq and a struct request, but those should be internal similar to how NVMe implements admin commands. How about handling I/O merges? In the case where a

Re: [PATCH V2 4/6] slim: qcom: Add Qualcomm Slimbus controller driver

2015-06-17 Thread Mark Brown
On Tue, Jun 16, 2015 at 07:46:02PM -0600, Sagar Dharia wrote: + - dmaengine, and pipes used to communicate between controller and memory if + sps-BAM HW is used This needs more detail. + */ + mb(); + if (notify_rx) +

Re: [RFC/INCOMPLETE 01/13] context_tracking: Add context_tracking_assert_state

2015-06-17 Thread Andy Lutomirski
On Wed, Jun 17, 2015 at 2:41 AM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: This will let us sprinkle sanity checks around the kernel without making too much of a mess. Signed-off-by: Andy Lutomirski l...@kernel.org --- include/linux/context_tracking.h |

Re: Panic when cpu hot-remove

2015-06-17 Thread Alex Williamson
On Wed, 2015-06-17 at 13:52 +0200, Joerg Roedeljoro wrote: On Wed, Jun 17, 2015 at 10:42:49AM +, 范冬冬 wrote: Hi maintainer, We found a problem that a panic happen when cpu was hot-removed. We also trace the problem according to the calltrace information. An endless loop happen

Re: [PATCH] selftests/kdbus: handle cap_get_proc() error properly

2015-06-17 Thread Greg Kroah-Hartman
On Wed, Jun 17, 2015 at 05:18:13PM +0300, Sergei Zviagintsev wrote: Fix typo in checking error value of cap_get_proc(): cap - caps Signed-off-by: Sergei Zviagintsev ser...@s15v.net --- tools/testing/selftests/kdbus/kdbus-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) You

[PATCH] selftests/kdbus: drop duplicated code from __kdbus_msg_send()

2015-06-17 Thread Sergei Zviagintsev
Set value of `size' in one step instead of four. Signed-off-by: Sergei Zviagintsev ser...@s15v.net --- tools/testing/selftests/kdbus/kdbus-util.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/testing/selftests/kdbus/kdbus-util.c

[PATCH] selftests/kdbus: remove useless initializations from kdbus_clone_userns_test()

2015-06-17 Thread Sergei Zviagintsev
Do not initialize efd, unpriv_conn_id, userns_conn_id and monitor. These vars are assigned to values later in code while initial values are never used. Signed-off-by: Sergei Zviagintsev ser...@s15v.net --- tools/testing/selftests/kdbus/test-metadata-ns.c | 9 +++-- 1 file changed, 3

Re: [RFC/INCOMPLETE 00/13] x86: Rewrite exit-to-userspace code

2015-06-17 Thread Andy Lutomirski
On Wed, Jun 17, 2015 at 3:32 AM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: The main things that are missing are that I haven't done the 32-bit parts (anyone want to help?) and therefore I haven't deleted the old C code. I also think this may break UML

[PATCH v2 3/7] xen/grant-table: Remove unused macro SPP

2015-06-17 Thread Julien Grall
SPP was used by the grant table v2 code which has been removed in commit 438b33c7145ca8a5131a30c36d8f59bce119a19a xen/grant-table: remove support for V2 tables. Signed-off-by: Julien Grall julien.gr...@citrix.com Reviewed-by: David Vrabel david.vra...@citrix.com Cc: Konrad Rzeszutek Wilk

[PATCH v2 5/7] block/xen-blkfront: Remove unused macro MAXIMUM_OUTSTANDING_BLOCK_REQS

2015-06-17 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Signed-off-by: Julien Grall julien.gr...@citrix.com Acked-by: Roger Pau Monné roger@citrix.com Cc: Konrad Rzeszutek Wilk konrad.w...@oracle.com Cc: Boris Ostrovsky boris.ostrov...@oracle.com Cc: David Vrabel david.vra...@citrix.com --- Changes

[PATCH v2 4/7] arm/xen: Drop duplicate define mfn_to_virt

2015-06-17 Thread Julien Grall
From: Julien Grall julien.gr...@linaro.org Signed-off-by: Julien Grall julien.gr...@citrix.com Cc: Stefano Stabellini stefano.stabell...@eu.citrix.com --- arch/arm/include/asm/xen/page.h | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/include/asm/xen/page.h

[PATCH v2 2/7] xen/xenbus: client: Fix call of virt_to_mfn in xenbus_grant_ring

2015-06-17 Thread Julien Grall
virt_to_mfn should take a void* rather an unsigned long. While it doesn't really matter now, it would throw a compiler warning later when virt_to_mfn will enforce the type. At the same time, avoid to compute new virtual address every time in the loop and directly increment the parameter as we

[PATCH v2 0/7] xen: Clean up

2015-06-17 Thread Julien Grall
Hi, Thoses patches was originally part of the Xen 64KB series [1]. Although, I think they can go without waiting the rest of the 64KB series. Patch #1-#4 should go through the Xen tree, even though patch #1 touches multiple part. Patch #5-#7 should go through the Block tree. Regards, [1]

Re: [PATCH] clk: at91: trivial: typo in peripheral clock description

2015-06-17 Thread Boris Brezillon
On Wed, 17 Jun 2015 15:22:51 +0200 Nicolas Ferre nicolas.fe...@atmel.com wrote: Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/clock/at91-clock.txt | 2 +- 1 file changed, 1

Re: [PATCH 01/19] memcg: make mem_cgroup_read_{stat|event}() iterate possible cpus instead of online

2015-06-17 Thread Michal Hocko
On Fri 22-05-15 18:23:18, Tejun Heo wrote: cpu_possible_mask represents the CPUs which are actually possible during that boot instance. For systems which don't support CPU hotplug, this will match cpu_online_mask exactly in most cases. Even for systems which support CPU hotplug, the number

[PATCH] perf tools: Move libtraceevent dynamic list to separated LDFLAGS variable

2015-06-17 Thread Wang Nan
Commit e3d09ec8126fe2c9a3ade661e2126e215ca27a80 (tools lib traceevent: Export dynamic symbols used by traceevent plugins) adds libtraceevent dynamic list directly into LDFLAGS, which makes all targets depend on that list through LDFLAGS. This is not good since some of targets like libgtk.so

[PATCH] Documentation: filesystems: updated struct inode_operations documentation in vfs.txt

2015-06-17 Thread Thomas de Beauchene
Updated struct inode_operations documentation in vfs.txt to match current implementation Signed-off-by: Thomas de Beauchene chauv...@epitech.eu --- Documentation/filesystems/vfs.txt | 30 +++--- 1 file changed, 19 insertions(+), 11 deletions(-) diff --git

Re: [v3.16.y-ckt][v3.18.y][v3.19.y-ckt][v4.0.y][PATCH 0/1][Hyper-V] Add support for VMBus panic notifier handler

2015-06-17 Thread Luis Henriques
On Tue, Jun 16, 2015 at 04:22:11PM -0400, Joseph Salisbury wrote: Hello, Please consider including upstream commits 96c1d0581d00f7abe033350edb021a9d947d8d81 and 5ef5b6927f14f29cacd78fa1fb861661a5367f13 in the next v3.16.y-ckt, v3.18.y, v3.19.y-ckt and v4.0.y releases. They were

Re: [RFC -v2] panic_on_oom_timeout

2015-06-17 Thread Tetsuo Handa
Michal Hocko wrote: + if (sysctl_panic_on_oom_timeout) { + if (sysctl_panic_on_oom 1) { + pr_warn(panic_on_oom_timeout is ignored for panic_on_oom=2\n); + } else { + /* + * Only schedule the delayed

[PATCH v3] watchdog: bcm2835: Fix poweroff behaviour

2015-06-17 Thread Noralf Trønnes
Currently poweroff/halt results in a reboot on the Raspberry Pi. The firmware uses the RSTS register to know which partiton to boot from. The partiton value is spread into bits 0, 2, 4, 6, 8, 10. Partiton 63 is a special partition used by the firmware to indicate halt. The firmware made this

Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-17 Thread Eddie Huang
On Wed, 2015-06-17 at 13:47 +0100, Mark Brown wrote: On Wed, Jun 17, 2015 at 05:08:03PM +0800, Eddie Huang wrote: Here comes the problem, although total length of tx, rx is the same, each entry in rx and tx scatterlist may not be the same (in the case data buffer allocate from vmalloc).

Re: [PATCH 1/8] ARC: perf: support RAW events

2015-06-17 Thread Vineet Gupta
On Wednesday 17 June 2015 07:03 PM, Peter Zijlstra wrote: But in case of raw events we need to set a counter with index of a particular event. For example we need to count myevnt0 events. For this we need first to find-out what's an index in events list of myevnt0 event and then set event

Re: [PATCH v7 0/7] arm64: Add kernel probes (kprobes) support

2015-06-17 Thread Masami Hiramatsu
Hi David, At first, thank you for updating this series! :) On 2015/06/16 4:07, David Long wrote: From: David A. Long dave.l...@linaro.org This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, first seen in October 2013. This version attempts to address concerns raised

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 03:20:44PM +0200, Paolo Bonzini wrote: On 17/06/2015 15:13, Michael S. Tsirkin wrote: Considering userspace can be malicious, I guess yes. I don't think it's a valid concern in this case, setting limit back from 509 to 64 will not help here in any way,

Re: [PATCH v2] futex: lower the lock contention on the HB lock during wake up

2015-06-17 Thread Mike Galbraith
On Wed, 2015-06-17 at 16:28 +0200, Sebastian Andrzej Siewior wrote: On 06/17/2015 04:17 PM, Mike Galbraith wrote: On Wed, 2015-06-17 at 10:33 +0200, Sebastian Andrzej Siewior wrote: wake_futex_pi() wakes the task before releasing the hash bucket lock (HB). The first thing the woken up task

Re: [PATCH v2] spi: img-spfi: Same Edge bit set to double supported transfer speed

2015-06-17 Thread Jonas Gorski
Hi, On Wed, Jun 17, 2015 at 3:36 PM, Sifan Naeem sifan.na...@imgtec.com wrote: Hi Jonas, -Original Message- From: Jonas Gorski [mailto:j...@openwrt.org] Sent: 17 June 2015 13:12 To: Sifan Naeem Cc: Mark Brown; linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; Andrew

Re: [PATCH v2 4/4] scsi: ufs: probe and init of variant driver from the platform device

2015-06-17 Thread Dov Levenglick
On Wed, 2015-06-17 at 14:21 +, Dov Levenglick wrote: Hi James, Rob raises a point that we don't agree with. On the other hand, we are not capable of convincing him in the validity of our approach - we are at an impasse. I would like to point out that our approach was reviewed by Paul

Re: [PATCH v2 1/2] clk: at91: cleanup PMC header file for PCR register fields

2015-06-17 Thread Boris Brezillon
On Wed, 17 Jun 2015 14:40:38 +0200 Nicolas Ferre nicolas.fe...@atmel.com wrote: Add _MASK and _OFFSET values and cleanup register fields layout. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Acked-by: Boris Brezillon boris.brezil...@free-electrons.com ---

[PATCH v2 1/7] xen: Include xen/page.h rather than asm/xen/page.h

2015-06-17 Thread Julien Grall
Using xen/page.h will be necessary later for using common xen page helpers. As xen/page.h already include asm/xen/page.h, always use the later. Signed-off-by: Julien Grall julien.gr...@citrix.com Reviewed-by: David Vrabel david.vra...@citrix.com Cc: Stefano Stabellini

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