回复: Re: [PATCH 1/1] __init setup_early_printk: missing initialization

2014-01-28 Thread 管雪涛
Thanks. Acked-by: Xuetao Guan g...@mprc.pku.edu.cn - Andrew Morton a...@linux-foundation.org 写道: On Mon, 27 Jan 2014 19:10:24 +0100 xypron.g...@gmx.de wrote: From: Heinrich Schuchardt xypron.g...@gmx.de If is based on uninitialized value keep_early. This leads to unpredictable

Re: [PATCH] x86: Plug racy xAPIC access of CPU hotplug code

2014-01-28 Thread Jan Kiszka
On 2014-01-27 21:22, Andi Kleen wrote: On Mon, Jan 27, 2014 at 08:14:06PM +0100, Jan Kiszka wrote: apic_icr_write and its users in smpboot.c were apparently written under the assumption that this code would only run during early boot. But nowadays we also execute it when onlining a CPU later

Re: [GIT PULL] x86/kaslr for v3.14

2014-01-28 Thread Richard Weinberger
Am 28.01.2014 07:28, schrieb Ingo Molnar: * Kees Cook keesc...@chromium.org wrote: On Mon, Jan 27, 2014 at 9:20 AM, Richard Weinberger rich...@nod.at wrote: Am 27.01.2014 18:05, schrieb Kees Cook: I would argue that decoding a non-panic oops on a running system is entirely possible as-is,

[PATCH v2 RESEND 2/2] mtd: Fix the behavior of otp write if there is not enough room for data

2014-01-28 Thread Christian Riesch
An OTP write shall write as much data as possible to the OTP memory and return the number of bytes that have actually been written. If no data could be written at all due to lack of OTP memory, return -ENOSPC. Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Artem Bityutskiy

[PATCH v2 RESEND 0/2] mtd: Harmonize implementations of OTP write and _get_{fact,user}_prot_info

2014-01-28 Thread Christian Riesch
Hi all, In the discussion on my patchset for the OTP support for drivers/mtd/chips/cfi_cmdset_0002.c [1-5], Artem requested two changes in the current code of the OTP write functions and the _get_{fact,user}_prot_info code. These two patches are an attempt to make the requested changes. The

[PATCH 07/14] NVMe: Make returning value consistent across all functions

2014-01-28 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index f03f123..e004c09 100644 --- a/drivers/block/nvme-core.c +++

[PATCH 13/14] NVMe: Factor out nvme_setup_interrupts()

2014-01-28 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 33 ++--- 1 files changed, 26 insertions(+), 7 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index 39868be..83d57b3 100644 ---

[PATCH 14/14] NVMe: Rework NVMe: Disable admin queue on init failure commit

2014-01-28 Thread Alexander Gordeev
This update partially reverts commit c5dc919 (NVMe: Disable admin queue on init failure) to roll back easy readable nvme_free_queues() function. Commit's c5dc919 functionality aimed to free admin queue IRQ on init failure is preserved. Signed-off-by: Alexander Gordeev agord...@redhat.com ---

[PATCH 01/14] NVMe: Fix setup of affinity hint for unallocated queues

2014-01-28 Thread Alexander Gordeev
IRQ affinity hints are attempted to setup for some or all queues which have not yet been allocated: either on device probe or resume. This update moves the setup after all queues are successfully created. Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 12

[PATCH 12/14] NVMe: Factor out nvme_init_interrupts()

2014-01-28 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 22 -- 1 files changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index 1e30c42..39868be 100644 --- a/drivers/block/nvme-core.c +++

[PATCH 09/14] NVMe: Access interrupt vectors using nvme_queue::cq_vector only

2014-01-28 Thread Alexander Gordeev
Minimize a poissible error when accessing dev-entry[] array entries using an arbitrary index rather than the legitimate nvme_queue::cq_vector value. This update also makes affinity hint setup conform to the rest of the code around. Signed-off-by: Alexander Gordeev agord...@redhat.com ---

Re: [PATCH] afs: proc cells and rootcell are writeable

2014-01-28 Thread Geert Uytterhoeven
On Sun, Jan 26, 2014 at 9:25 PM, Ingo Molnar mi...@kernel.org wrote: * Ingo Molnar mi...@kernel.org wrote: * Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Jan 26, 2014 at 4:27 AM, David Howells dhowe...@redhat.com wrote: - p = proc_create(cells, 0, proc_afs,

[PATCH 03/14] NVMe: Cleanup nvme_create_queue() and nvme_disable_queue()

2014-01-28 Thread Alexander Gordeev
A queue structure contains both a pointer to the device it belongs to and the queue ID - there is no need to drag these parameters around. Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 20 +++- 1 files changed, 11 insertions(+), 9

[PATCH 02/14] NVMe: Cleanup nvme_alloc_queue() and nvme_free_queue()

2014-01-28 Thread Alexander Gordeev
While nvme_alloc_queue() and nvme_free_queue() are logically counterparts, they are inconsistent with regard to how device queue_count is updated - it is increased within the former, but decreased outside of the latter. This update fixes the described inconsistency and also makes further

[PATCH 04/14] NVMe: Cleanup adapter_alloc_cq/sg() and adapter_delete_cq/sg()

2014-01-28 Thread Alexander Gordeev
A queue structure contains both a pointer to the device it belongs to and the queue ID - there is no need to drag these parameters around. Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 34 +++--- 1 files changed, 19

[PATCH 00/14] NVMe: Cleanup device initialization

2014-01-28 Thread Alexander Gordeev
Hi Keith, Matthew, Here are few fixes to the code that caught my eye. These are unrelated to the patch nvme: Use pci_enable_msi_range() and pci_enable_msix_range() I sent earlier, which still waits for your review. Thanks! Alexander Gordeev (14): NVMe: Fix setup of affinity hint for

[PATCH 05/14] NVMe: Get rid of superfluous qid parameter to nvme_init_queue()

2014-01-28 Thread Alexander Gordeev
Parameter qid is not only superfluous, but also confusing - it suggests nvme_init_queue() could reinit the queue with an ID other than index into device queues[] array. Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c |8 1 files changed, 4

[PATCH 06/14] NVMe: Get rid of superfluous dev parameter to queue_request_irq()

2014-01-28 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index 661277d..f03f123 100644 --- a/drivers/block/nvme-core.c +++

[PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800 Device Driver Support

2014-01-28 Thread liujunliang_ljl
From: Liu Junliang liujunliang_...@163.com Signed-off-by: Liu Junliang liujunliang_...@163.com --- drivers/net/usb/Kconfig | 16 + drivers/net/usb/Makefile |1 + drivers/net/usb/sr9800.c | 874 ++ drivers/net/usb/sr9800.h | 202 +++ 4

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-28 Thread Manish Badarkhe
Hi Heiko Thank you for your reply. On Tue, Jan 28, 2014 at 1:08 PM, Heiko Stübner he...@sntech.de wrote: On Tuesday, 28. January 2014 12:46:01 Manish Badarkhe wrote: Hi Dmitry, Thank you for your review. On Tue, Jan 28, 2014 at 12:03 PM, Dmitry Torokhov dmitry.torok...@gmail.com wrote:

Re: [PATCH] clk: divider: fix rate calculation for fractional rates

2014-01-28 Thread Tomi Valkeinen
Hi Mike, Russell, On 2013-11-06 18:19, Russell King - ARM Linux wrote: On Wed, Nov 06, 2013 at 01:48:44PM +0200, Tomi Valkeinen wrote: On 2013-11-06 13:15, Russell King - ARM Linux wrote: On Wed, Nov 06, 2013 at 01:06:48PM +0200, Tomi Valkeinen wrote: This means that the following code works

Re: [PATCH V2] cpuidle/governors: Fix logic in selection of idle states

2014-01-28 Thread Daniel Lezcano
On 01/24/2014 11:21 AM, Preeti U Murthy wrote: On 01/24/2014 02:38 PM, Daniel Lezcano wrote: On 01/23/2014 12:15 PM, Preeti U Murthy wrote: Hi Daniel, Thank you for the review. [ ... ] --- drivers/cpuidle/cpuidle.c | 15 + drivers/cpuidle/governors/ladder.c | 101

[PATCH] clk: si5351: fix non-DT build breakage

2014-01-28 Thread Sebastian Hesselbarth
Patch (clk: si5351: remove variant from platform_data) changed parameters passed to si5351_dt_parse. While it builds fine with CONFIG_OF, the non-DT stub of si5351_dt_parse has not been updated and fails to build there. Signed-off-by: Sebastian Hesselbarth sebastian.hesselba...@gmail.com

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-28 Thread Tomi Valkeinen
On 2014-01-28 09:50, Tomi Valkeinen wrote: On 2014-01-27 19:30, Ivaylo Dimitrov wrote: Hi Tomi, linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it gives the following warning: [0.623779] DSS: set fck to

Re: [PATCH] mm: numa: Initialse numa balancing after jump label initialisation

2014-01-28 Thread Mel Gorman
On Mon, Jan 27, 2014 at 02:43:36PM -0800, Andrew Morton wrote: On Mon, 27 Jan 2014 15:51:27 + Mel Gorman mgor...@suse.de wrote: The command line parsing takes place before jump labels are initialised which generates a warning if numa_balancing= is specified and CONFIG_JUMP_LABEL is

[PATCH v2 RESEND 1/2] mtd: Add a retlen parameter to _get_{fact,user}_prot_info

2014-01-28 Thread Christian Riesch
Signed-off-by: Christian Riesch christian.rie...@omicron.at Cc: Artem Bityutskiy artem.bityuts...@linux.intel.com Cc: Brian Norris computersforpe...@gmail.com --- drivers/mtd/chips/cfi_cmdset_0001.c | 31 +-- drivers/mtd/devices/mtd_dataflash.c |7 ---

[PATCH] gpio-intel-mid: fix the incorrect return of idle callback

2014-01-28 Thread xinhui.pan
From: xinhui.pan xinhuix@intel.com intel_gpio_runtime_idle should return correct error code if it do fail. make it more correct even though -EBUSY is the most possible return value. Signed-off-by: bo.he bo...@intel.com Signed-off-by: xinhui.pan xinhuix@intel.com ---

RE: [f2fs-dev] [PATCH] f2fs: use inode mutex to keep atomicity of f2fs_falloc

2014-01-28 Thread Chao Yu
Hi, -Original Message- From: Jaegeuk Kim [mailto:jaegeuk@samsung.com] Sent: Tuesday, January 28, 2014 2:00 PM To: Chao Yu Cc: linux-fsde...@vger.kernel.org; linux-kernel@vger.kernel.org; linux-f2fs-de...@lists.sourceforge.net Subject: Re: [f2fs-dev] [PATCH] f2fs: use inode

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-28 Thread Heiko Stübner
On Tuesday, 28. January 2014 14:16:39 Manish Badarkhe wrote: Hi Heiko Thank you for your reply. On Tue, Jan 28, 2014 at 1:08 PM, Heiko Stübner he...@sntech.de wrote: On Tuesday, 28. January 2014 12:46:01 Manish Badarkhe wrote: Hi Dmitry, Thank you for your review. On Tue, Jan

Re: [patch for-3.14] mm, mempolicy: fix mempolicy printing in numa_maps

2014-01-28 Thread Mel Gorman
On Mon, Jan 27, 2014 at 03:31:32PM -0800, David Rientjes wrote: On Mon, 27 Jan 2014, Mel Gorman wrote: diff --git a/mm/mempolicy.c b/mm/mempolicy.c index c2ccec0..c1a2573 100644 --- a/mm/mempolicy.c +++ b/mm/mempolicy.c @@ -120,6 +120,14 @@ static struct mempolicy default_policy = {

[PATCH 11/14] NVMe: Factor out nvme_init_bar()

2014-01-28 Thread Alexander Gordeev
Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 16 ++-- 1 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/block/nvme-core.c b/drivers/block/nvme-core.c index d81b4c4..1e30c42 100644 --- a/drivers/block/nvme-core.c +++

Re: [PATCH] USB2NET : SR9800 : One chip USB2.0 USB2NET SR9800 Device Driver Support

2014-01-28 Thread Joe Perches
On Tue, 2014-01-28 at 16:36 +0800, liujunliang_...@163.com wrote: From: Liu Junliang liujunliang_...@163.com trivial comments... diff --git a/drivers/net/usb/sr9800.c b/drivers/net/usb/sr9800.c [] +static int sr_rx_fixup(struct usbnet *dev, struct sk_buff *skb) +{ [] + if

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-28 Thread Manish Badarkhe
On Tue, Jan 28, 2014 at 2:25 PM, Heiko Stübner he...@sntech.de wrote: On Tuesday, 28. January 2014 14:16:39 Manish Badarkhe wrote: Hi Heiko Thank you for your reply. On Tue, Jan 28, 2014 at 1:08 PM, Heiko Stübner he...@sntech.de wrote: On Tuesday, 28. January 2014 12:46:01 Manish Badarkhe

[PATCH 1/2] numa, mem-hotplug: Initialize numa_kernel_nodes in numa_clear_kernel_node_hotplug().

2014-01-28 Thread Tang Chen
On-stack variable numa_kernel_nodes in numa_clear_kernel_node_hotplug() was not initialized. So we need to initialize it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Tested-by: Gu Zheng guz.f...@cn.fujitsu.com --- arch/x86/mm/numa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH 0/2] numa, mem-hotplug: Fix array out of boundary in numa initialization.

2014-01-28 Thread Tang Chen
Dave found a kernel crash problem during boot. This is a problem of array out of boundary. These two patches fix this problem. Since I am in a hurry, if the changelog is not good enough, I'll resend a new version tomorrow. Tang Chen (2): numa, mem-hotplug: Initialize numa_kernel_nodes in

[PATCH 2/2] numa, mem-hotplug: Fix array index overflow when synchronizing nid to memblock.reserved.

2014-01-28 Thread Tang Chen
The following path will cause array out of bound. memblock_add_region() will always set nid in memblock.reserved to MAX_NUMNODES. In numa_register_memblks(), after we set all nid to correct valus in memblock.reserved, we called setup_node_data(), and used memblock_alloc_nid() to allocate memory,

Re: WaitForMultipleObjects/etc. In Kernel

2014-01-28 Thread Clemens Ladisch
Network Nut wrote: 5. I can simulate system-global named mutex using shared-memory for underlying state of mutex (POCO NamedMutex) 6. I can get named semaphore using POSIX sem_create It seems that the remaining problem is to get named mutex and named semaphore to be accessible by

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-28 Thread Tomi Valkeinen
On 2014-01-27 20:41, Christoph Fritz wrote: On Mon, 2014-01-27 at 19:30 +0200, Ivaylo Dimitrov wrote: linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it gives the following warning: [0.623779] DSS: set fck

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Lars-Peter Clausen
On 01/28/2014 07:27 AM, Andy Gross wrote: Add device tree binding support for the QCOM BAM DMA driver. Signed-off-by: Andy Gross agr...@codeaurora.org --- .../devicetree/bindings/dma/qcom_bam_dma.txt | 52 1 file changed, 52 insertions(+) create mode 100644

Re: [PATCH] HID: i2c-hid: add runtime PM support

2014-01-28 Thread Mika Westerberg
On Mon, Jan 27, 2014 at 10:36:25PM -0500, Benjamin Tissoires wrote: On Tue, Jan 14, 2014 at 5:13 AM, Mika Westerberg mika.westerb...@linux.intel.com wrote: This patch adds runtime PM support for the HID over I2C driver. When the i2c-hid device is first opened we power it on and on the last

Re: [RFCv2,1/2] v4l2-controls.h: add addtional Flash fault bits

2014-01-28 Thread Sakari Ailus
Hi Daniel, On Tue, Jan 28, 2014 at 03:55:57PM +0900, Daniel Jeong wrote: Add additional FLASH Fault bits to dectect faults from chip. Some Flash drivers support UVLO, IVFM, NTC Trip faults. UVLO :Under Voltage Lock Out Threshold crossed IVFM :IVFM block reported and/or

Re: [PATCH 1/2] numa, mem-hotplug: Initialize numa_kernel_nodes in numa_clear_kernel_node_hotplug().

2014-01-28 Thread David Rientjes
On Tue, 28 Jan 2014, Tang Chen wrote: On-stack variable numa_kernel_nodes in numa_clear_kernel_node_hotplug() was not initialized. So we need to initialize it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Tested-by: Gu Zheng guz.f...@cn.fujitsu.com Reported-by: David Rientjes

Re: [git pull] Please pull powerpc.git next branch

2014-01-28 Thread Olaf Hering
On Tue, Jan 28, Benjamin Herrenschmidt wrote: So here's my next branch for powerpc. A bit late as I was on vacation This breaks booting on G5 11,2, the nouveau driver prints errors and as result the kernel hangs, fans kick in. This is what I did: # Rebase 54c0a4b..b2e448e onto 54c0a4b I will

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Arnd Bergmann
On Tuesday 28 January 2014 10:05:35 Lars-Peter Clausen wrote: + +Clients must use the format described in the dma.txt file, using a three cell +specifier for each channel. + +The three cells in order are: + 1. A phandle pointing to the DMA controller + 2. The channel number +

[PATCH v5] spi: rspi: Add DT support

2014-01-28 Thread Geert Uytterhoeven
From: Geert Uytterhoeven geert+rene...@linux-m68k.org Signed-off-by: Geert Uytterhoeven geert+rene...@linux-m68k.org --- v5: - Define interrupts in terms of interrupt-names in bindings - No code changes v4: - Clarify SoCtype and interrupts - Add clock property - Add QSPI example - Add

[GIT PULL] s390 patches for the 3.14 merge window #2

2014-01-28 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: A new binary interface to be able to query and modify the LPAR scheduler weight and cap settings. Some improvements for the hvc

Re: [alsa-devel] [PATCH 4/4] ASoC: tda998x: adjust the audio hw parameters from EDID

2014-01-28 Thread Takashi Iwai
At Mon, 27 Jan 2014 20:54:37 +, Mark Brown wrote: On Mon, Jan 27, 2014 at 08:49:15PM +, Russell King - ARM Linux wrote: On Mon, Jan 27, 2014 at 08:44:41PM +, Mark Brown wrote: Can this parsing code be factored out - it (or large parts of it) should be usable by other HDMI

[PATCH 08/14] NVMe: nvme_dev_map() is a bad place to set admin queue IRQ number

2014-01-28 Thread Alexander Gordeev
Initialization of the admin queue interrupt number within nvme_dev_map() is confusing. Just keep nvme_dev_map() and nvme_dev_unmap() counterparts simple and let deal function nvme_configure_admin_queue() with the admin queue in full. Signed-off-by: Alexander Gordeev agord...@redhat.com ---

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-28 Thread Peter Zijlstra
On Fri, Jan 24, 2014 at 10:08:35AM +, Tommaso Cucinotta wrote: We should also again talk about what it would take to allow unprivileged access to SCHED_DEADLINE. The things I can remember are the obvious cap on utilization and a minimum period -- the latter so that we don't DoS the

[PATCH] Revert spidev: fix hang when transfer_one_message fails

2014-01-28 Thread Geert Uytterhoeven
From: Geert Uytterhoeven geert+rene...@linux-m68k.org This reverts commit e120cc0dcf2880a4c5c0a6cb27b655600a1cfa1d. It causes a NULL pointer dereference with drivers using the generic spi_transfer_one_message(), which always calls spi_finalize_current_message(), which zeroes master-cur_msg.

Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread Ian Campbell
On Tue, 2014-01-28 at 01:03 +, Julien Grall wrote: On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-28 Thread Christoph Fritz
On Tue, 2014-01-28 at 11:04 +0200, Tomi Valkeinen wrote: On 2014-01-27 20:41, Christoph Fritz wrote: On Mon, 2014-01-27 at 19:30 +0200, Ivaylo Dimitrov wrote: linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise though). I booted the kernel with qemu and it

Re: [PATCH] cpuset: update MAINTAINERS entry

2014-01-28 Thread Tejun Heo
On Mon, Jan 27, 2014 at 10:33:40PM -0800, David Rientjes wrote: It seems like Tejun would obviously be a maintainer as well? No, I'm not. Li has final say on what goes in for cpuset and they may even go through other trees. Thanks. -- tejun -- To unsubscribe from this list: send the line

Re: [RFC] x86: Disable traditional FPU instructions too

2014-01-28 Thread Michal Hocko
[CCing Ralf for MIPS.] On Mon 27-01-14 17:45:44, Borislav Petkov wrote: On Mon, Jan 27, 2014 at 08:41:09AM -0800, H. Peter Anvin wrote: I don't think it'd hurt... although I think the above pretty much requires that the code contain actual floating-point types to ever be generated. Yes,

Hi

2014-01-28 Thread 3rl32mawpx
Diploma? http://ow.ly/t16ME -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH] acpi-cpufreq: De-register cpu notifier and free struct msr on error.

2014-01-28 Thread Lukasz Majewski
Hi Konrad, If cpufreq_register_driver() fails we would free the acpi driver related structures but not free the ones allocated by acpi_cpufreq_boost_init() function. This meant that as the driver error-ed out and a CPU online/offline event came we would crash and burn as one of the CPU

[PATCH 10/14] NVMe: Factor out nvme_set_queue_count()

2014-01-28 Thread Alexander Gordeev
Function nvme_setup_io_queues() is quite big - make it more readable by moving out a code with clearly distinguishable functionality. This update is the first in a series. Signed-off-by: Alexander Gordeev agord...@redhat.com --- drivers/block/nvme-core.c | 28 +--- 1

Re: [BISECTED] OMAP: DSS: clk rate mismatch

2014-01-28 Thread Tomi Valkeinen
On 2014-01-28 11:35, Christoph Fritz wrote: On Tue, 2014-01-28 at 11:04 +0200, Tomi Valkeinen wrote: On 2014-01-27 20:41, Christoph Fritz wrote: On Mon, 2014-01-27 at 19:30 +0200, Ivaylo Dimitrov wrote: linux-next-20140124 DSS is broken on N900 - display stays black (there is some noise

Re: [PATCH v2 4/9] ipr: Use pci_enable_msi_range() and pci_enable_msix_range()

2014-01-28 Thread Alexander Gordeev
On Fri, Jan 17, 2014 at 05:02:18PM +0100, Alexander Gordeev wrote: As result deprecation of MSI-X/MSI enablement functions pci_enable_msix() and pci_enable_msi_block() all drivers using these two interfaces need to be updated to use the new pci_enable_msi_range() and pci_enable_msix_range()

Re: [PATCH 5/9] numa,sched,mm: use active_nodes nodemask to limit numa migrations

2014-01-28 Thread Mel Gorman
On Mon, Jan 27, 2014 at 05:03:44PM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com Use the active_nodes nodemask to make smarter decisions on NUMA migrations. In order to maximize performance of workloads that do not fit in one NUMA node, we want to satisfy the following

Re: [PATCH 6/9] numa,sched: normalize faults_cpu stats and weigh by CPU use

2014-01-28 Thread Mel Gorman
On Mon, Jan 27, 2014 at 05:03:45PM -0500, r...@redhat.com wrote: From: Rik van Riel r...@redhat.com Tracing the code that decides the active nodes has made it abundantly clear that the naive implementation of the faults_from code has issues. Specifically, the garbage collector in some

[GIT PULL] arch/microblaze changes for 3.14

2014-01-28 Thread Michal Simek
Hi Linus, please pull these Microblaze patches to your tree. Thanks, Michal The following changes since commit d8ec26d7f8287f5788a494f56e8814210f0e64be: Linux 3.13 (2014-01-19 18:40:07 -0800) are available in the git repository at: git://git.monstr.eu/linux-2.6-microblaze.git

Re: [PATCH] sched/deadline: Add sched_dl documentation

2014-01-28 Thread Juri Lelli
On 01/27/2014 11:29 PM, Luca Abeni wrote: Hi Steven, On Mon, 27 Jan 2014 12:09:38 -0500 Steven Rostedt rost...@goodmis.org wrote: [...] Lets take a case where deadline == period. It seems that the above would be true any time there was any delay to starting the task or the task was

Re: How to identify 6to4 and 6in4 tunnels

2014-01-28 Thread zhuyj
On 01/28/2014 03:39 PM, zhuyj wrote: On 01/28/2014 03:32 PM, zhuyj wrote: On 01/27/2014 08:59 PM, Nicolas Dichtel wrote: Le 27/01/2014 11:39, zhuyj a écrit : Hi, Maintainers In our scene, we will create the 6in4/6to4 tunnel firstly and need to check the tunnel type, secondly, we will

Re: [RFCv2,1/2] v4l2-controls.h: add addtional Flash fault bits

2014-01-28 Thread Daniel Jeong
2014년 01월 28일 18:08, Sakari Ailus 쓴 글: Hi Daniel, On Tue, Jan 28, 2014 at 03:55:57PM +0900, Daniel Jeong wrote: Add additional FLASH Fault bits to dectect faults from chip. Some Flash drivers support UVLO, IVFM, NTC Trip faults. UVLO : Under Voltage Lock Out Threshold crossed IVFM : IVFM

Re: [RFC] x86: Disable traditional FPU instructions too

2014-01-28 Thread H. Peter Anvin
If that is intentional it needs a big huge freaking comment recording why it is not a bug. I would expect that to generate a FP multiply. On January 28, 2014 1:37:01 AM PST, Michal Hocko mho...@suse.cz wrote: [CCing Ralf for MIPS.] On Mon 27-01-14 17:45:44, Borislav Petkov wrote: On Mon, Jan

Re: [lm-sensors] lm90 driver no longer working on PCs in 3.13

2014-01-28 Thread Mark Brown
On Mon, Jan 27, 2014 at 06:33:44PM -0800, Guenter Roeck wrote: I confirmed that your two patches (regulator: core: Correct default return value for full constraints and ACPI: Flag use of ACPI and ACPI idioms for power supplies to regulator API) together fix the problem with the lm90 driver,

Re: [PATCH 2/2] x86, microcode: Add option to allow downgrading of microcode

2014-01-28 Thread Henrique de Moraes Holschuh
On Sat, 25 Jan 2014, Andi Kleen wrote: On Sat, Jan 25, 2014 at 02:35:58PM -0200, Henrique de Moraes Holschuh wrote: On Fri, 24 Jan 2014, Andi Kleen wrote: For testing purposes it can be useful to downgrade microcode. Normally the driver only allows upgrading. The code is not prepared

Re: [PATCH] clk: divider: fix rate calculation for fractional rates

2014-01-28 Thread Russell King - ARM Linux
On Tue, Jan 28, 2014 at 10:45:46AM +0200, Tomi Valkeinen wrote: Russell, I'd like to understand why you think the original example is bad: rate = clk_round_rate(clk, rate); clk_set_rate(clk, rate); It's needlessly wasteful. All the processing for setting the rate is repeated.

Re: [RFC] x86: Disable traditional FPU instructions too

2014-01-28 Thread Michal Hocko
On Tue 28-01-14 02:25:09, H. Peter Anvin wrote: If that is intentional it needs a big huge freaking comment recording why it is not a bug. Agreed. I would expect that to generate a FP multiply. Exactly! And actually the very same construct in a module provided to reproduce an issue was a

Re: [PATCH] xen/events: xen_evtchn_fifo_init can be called very late

2014-01-28 Thread David Vrabel
On 28/01/14 00:34, Julien Grall wrote: On ARM, xen_init_IRQ (which calls xen_evtchn_fifo_init) is called after all CPUs are online. It would mean that the notifier will never be called. Why does ARM call xen_init_IRQ() so late? Is it possible to call it earlier when only the boot CPU is

Re: [PATCH v2 -tip] sched/deadline: switched_to_dl() -- skip if task is current

2014-01-28 Thread Juri Lelli
On 01/28/2014 08:26 AM, Kirill Tkhai wrote: v2: Changed comment When p is current and it's not of dl class, then there are no other dl taks in the rq. If we had had pushable tasks in some other rq, ^ tasks they would have been pushed earlier. So, skip p == rq-curr case. [This is

Re: [Xen-devel] [V0 PATCH] pvh: Disable PSE feature for now

2014-01-28 Thread Jan Beulich
On 28.01.14 at 03:18, Mukesh Rathor mukesh.rat...@oracle.com wrote: Until now, xen did not expose PSE to pvh guest, but a patch was submitted to xen list to enable bunch of features for a pvh guest. PSE has not been looked into for PVH, so until we can do that and test it to make sure it

Re: [PATCH] clk: divider: fix rate calculation for fractional rates

2014-01-28 Thread Tomi Valkeinen
On 2014-01-28 12:32, Russell King - ARM Linux wrote: Why I'm asking this is that for me (and probably for others also if you've seen it used in the kernel code) it feels natural to have code like: rate = clk_round_rate(clk, rate); /* Verify the rounded rate here to see it's

Re: [PATCH V2] regulator: fixed: update to devm_* API

2014-01-28 Thread Mark Brown
On Tue, Jan 28, 2014 at 02:31:32PM +0530, Manish Badarkhe wrote: On Tue, Jan 28, 2014 at 2:25 PM, Heiko Stübner he...@sntech.de wrote: I don't have a strong opinion on this and others are most likely more qualified to have a definitive answer, I just found it strange to exchange one

Re: [PATCH] xen/gnttab: Use phys_addr_t to describe the grant frame base address

2014-01-28 Thread David Vrabel
On 28/01/14 01:03, Julien Grall wrote: On ARM, address size can be 32 bits or 64 bits (if CONFIG_ARCH_PHYS_ADDR_T_64BIT is enabled). We can't assume that the grant frame base address will always fits in an unsigned long. Use phys_addr_t instead of unsigned long as argument for

[PATCH] mmc: core: Prevent unexpected SD Clock gating during Signal Voltage Switch Procedure

2014-01-28 Thread Vincent Yang
When switching the signal voltage from 3.3V to 1.8V, there should be only one SD Clock gating and un-gating operation. Between them the SD host controller should switch signal level to 1.8V. However, sometimes there is an additional gating and un-gating operation immediately after CMD11. This

Re: [PATCH V2 0/2] time/cpuidle: Support in tick broadcast framework in absence of external clock device

2014-01-28 Thread Preeti U Murthy
Hi Thomas, I realized that the below patch is also required for this patchset. This patch apart, I noticed that there is also one corner case which we will need to handle. The BROADCAST_ON notifications in periodic mode (oneshot mode is a nop). We will need to fail the BROADCAST_ON

Re: fanotify use after free.

2014-01-28 Thread Jiri Kosina
On Tue, 28 Jan 2014, Jan Kara wrote: Hum, still no luck with reproduction (either on physical machine or with KVM). Anyway, I've looked at the code again and the previous patch had a stupid bug (passing different pointer to fsnotify_destroy_event() than we should have), plus also the

Re: [alsa-devel] [PATCH 4/4] ASoC: tda998x: adjust the audio hw parameters from EDID

2014-01-28 Thread Mark Brown
On Tue, Jan 28, 2014 at 10:23:57AM +0100, Takashi Iwai wrote: Mark Brown wrote: On Mon, Jan 27, 2014 at 08:49:15PM +, Russell King - ARM Linux wrote: Yes, preferably as a generic ALSA helper rather than an ASoC helper - I don't see any need for this to be ASoC specific (I have a pure

Re: fanotify use after free.

2014-01-28 Thread Jiri Kosina
On Tue, 28 Jan 2014, Jan Kara wrote: 2b:* 4d 8b 64 c6 08 mov0x8(%r14,%rax,8),%r12 -- trapping instruction R14 is 0x6b6b6b6b6b6b6c03, which looks like a use-after-free. Yup. But I'm somewhat puzzled by the trace. We crash when calling fsnotify_destroy_event()

[PATCH v11] clk: add MOXA ART SoCs clock driver

2014-01-28 Thread Jonas Jensen
clock-specifier to DT binding description 2. remove local variable rate 3. add local variable parent_name 4. use clk_register_fixed_factor() instead of clk_register_fixed_rate() 5. remove flag CLK_IS_ROOT Applies to next-20140128 .../bindings/clock/moxa,moxart-clock.txt

Re: [PATCH V2] cpuidle/governors: Fix logic in selection of idle states

2014-01-28 Thread Preeti U Murthy
Hi Daniel, On 01/28/2014 02:16 PM, Daniel Lezcano wrote: On 01/24/2014 11:21 AM, Preeti U Murthy wrote: On 01/24/2014 02:38 PM, Daniel Lezcano wrote: On 01/23/2014 12:15 PM, Preeti U Murthy wrote: Hi Daniel, Thank you for the review. [ ... ] --- drivers/cpuidle/cpuidle.c

Re: [alsa-devel] [PATCH 4/4] ASoC: tda998x: adjust the audio hw parameters from EDID

2014-01-28 Thread Takashi Iwai
At Tue, 28 Jan 2014 11:00:51 +, Mark Brown wrote: On Tue, Jan 28, 2014 at 10:23:57AM +0100, Takashi Iwai wrote: Mark Brown wrote: On Mon, Jan 27, 2014 at 08:49:15PM +, Russell King - ARM Linux wrote: Yes, preferably as a generic ALSA helper rather than an ASoC helper - I

Re: [PATCH] mmc: core: Prevent unexpected SD Clock gating during Signal Voltage Switch Procedure

2014-01-28 Thread Ulf Hansson
On 28 January 2014 11:50, Vincent Yang vincent.yang.fuji...@gmail.com wrote: When switching the signal voltage from 3.3V to 1.8V, there should be only one SD Clock gating and un-gating operation. Between them the SD host controller should switch signal level to 1.8V. However, sometimes there

[PATCH] mm: readahead: fix do_readahead for no readpage(s)

2014-01-28 Thread Mark Rutland
Commit 63d0f0a3c7e1 (mm/readahead.c:do_readhead(): don't check for -readpage) unintentionally made do_readahead return 0 for all valid files regardless of whether readahead was supported, rather than the expected -EINVAL. This gets forwarded on to userspace, and results in sys_readahead appearing

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Russell King - ARM Linux
On Tue, Jan 28, 2014 at 10:16:53AM +0100, Arnd Bergmann wrote: On Tuesday 28 January 2014 10:05:35 Lars-Peter Clausen wrote: Why does the direction needs to be specified in specifier? I see two options, either the direction per is fixed in hardware. In that case the DMA controller node

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Vinod Koul
On Tue, Jan 28, 2014 at 11:17:57AM +, Russell King - ARM Linux wrote: On Tue, Jan 28, 2014 at 10:16:53AM +0100, Arnd Bergmann wrote: On Tuesday 28 January 2014 10:05:35 Lars-Peter Clausen wrote: Why does the direction needs to be specified in specifier? I see two options, either the

Re: [PATCH 1/2] numa, mem-hotplug: Initialize numa_kernel_nodes in numa_clear_kernel_node_hotplug().

2014-01-28 Thread Ingo Molnar
* David Rientjes rient...@google.com wrote: On Tue, 28 Jan 2014, Tang Chen wrote: On-stack variable numa_kernel_nodes in numa_clear_kernel_node_hotplug() was not initialized. So we need to initialize it. Signed-off-by: Tang Chen tangc...@cn.fujitsu.com Tested-by: Gu Zheng

Re: [PATCH V3] max8925_power: Use IS_ENABLED(CONFIG_OF) for DT code.

2014-01-28 Thread Tomasz Figa
Hi, On 27.01.2014 19:37, Manish Badarkhe wrote: Instead of #ifdef CONFIG_OF use IS_ENABLED(CONFIG_OF) option for DT code to avoid if-deffery in code. Signed-off-by: Manish Badarkhe badarkhe.man...@gmail.com --- :100644 100644 b4513f2... 3e54476... M drivers/power/max8925_power.c

Re: [PATCH] mm: readahead: fix do_readahead for no readpage(s)

2014-01-28 Thread Kirill A. Shutemov
On Tue, Jan 28, 2014 at 11:14:19AM +, Mark Rutland wrote: Commit 63d0f0a3c7e1 (mm/readahead.c:do_readhead(): don't check for -readpage) unintentionally made do_readahead return 0 for all valid files regardless of whether readahead was supported, rather than the expected -EINVAL. This gets

Re: [PATCH] x86: Plug racy xAPIC access of CPU hotplug code

2014-01-28 Thread Ingo Molnar
* Jan Kiszka jan.kis...@siemens.com wrote: On 2014-01-27 21:22, Andi Kleen wrote: On Mon, Jan 27, 2014 at 08:14:06PM +0100, Jan Kiszka wrote: apic_icr_write and its users in smpboot.c were apparently written under the assumption that this code would only run during early boot. But

Re: [PATCH v2] x86, tsc: Add missing Baytrail frequency to the table

2014-01-28 Thread Mika Westerberg
On Mon, Jan 27, 2014 at 12:20:02PM +0200, Mika Westerberg wrote: On Sat, Jan 25, 2014 at 01:09:23AM -0800, Bin Gao wrote: diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c index a3acbac2ee72$ --- a/arch/x86/kernel/tsc.c +++ b/arch/x86/kernel/tsc.c @@ -655,10 +655,11 @@

Re: [PATCH] for_each macros correctness

2014-01-28 Thread Heiko Carstens
On Sun, Jan 26, 2014 at 08:54:18AM -0200, Jose Alonso wrote: I observed that there are for_each macros that do an extra memory access beyond the defined area. Normally this does not cause problems. But, this can cause exceptions. For example: if the area is allocated at the end of a page

Re: Large pastes into readline enabled programs causes breakage from v2.6.31 onwards

2014-01-28 Thread Pavel Machek
Hi! How is this different from the unpatched kernel? In the unpatched kernel, if you happen on reader side to enable icanon while n_tty received all but VEOF (is this possible at all?), then the buffer will be flushed, and the remaining VEOF will get you a nice EOF. So, in the unpatched

Re: [PATCH] afs: proc cells and rootcell are writeable

2014-01-28 Thread Ingo Molnar
* Geert Uytterhoeven ge...@linux-m68k.org wrote: On Sun, Jan 26, 2014 at 9:25 PM, Ingo Molnar mi...@kernel.org wrote: * Ingo Molnar mi...@kernel.org wrote: * Linus Torvalds torva...@linux-foundation.org wrote: On Sun, Jan 26, 2014 at 4:27 AM, David Howells dhowe...@redhat.com wrote:

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Arnd Bergmann
On Tuesday 28 January 2014 17:02:42 Vinod Koul wrote: On Tue, Jan 28, 2014 at 11:17:57AM +, Russell King - ARM Linux wrote: On Tue, Jan 28, 2014 at 10:16:53AM +0100, Arnd Bergmann wrote: On Tuesday 28 January 2014 10:05:35 Lars-Peter Clausen wrote: Why does the direction needs to be

Re: [Patch v3 2/2] dmaengine: qcom_bam_dma: Add device tree binding

2014-01-28 Thread Arnd Bergmann
On Tuesday 28 January 2014 13:05:10 Arnd Bergmann wrote: On Tuesday 28 January 2014 17:02:42 Vinod Koul wrote: On Tue, Jan 28, 2014 at 11:17:57AM +, Russell King - ARM Linux wrote: On Tue, Jan 28, 2014 at 10:16:53AM +0100, Arnd Bergmann wrote: On Tuesday 28 January 2014 10:05:35

Re: [PATCH] x86: Plug racy xAPIC access of CPU hotplug code

2014-01-28 Thread Jan Kiszka
On 2014-01-28 12:55, Ingo Molnar wrote: * Jan Kiszka jan.kis...@siemens.com wrote: On 2014-01-27 21:22, Andi Kleen wrote: On Mon, Jan 27, 2014 at 08:14:06PM +0100, Jan Kiszka wrote: apic_icr_write and its users in smpboot.c were apparently written under the assumption that this code would

Re: [PATCH 0/3] perf-bench: introduce futex microbenchmarks

2014-01-28 Thread Arnaldo Carvalho de Melo
Em Mon, Jan 27, 2014 at 08:12:42PM -0800, Davidlohr Bueso escreveu: On Fri, 2014-01-24 at 10:13 -0800, Darren Hart wrote: I agree that we should take whatever makes sense for perf out of futex-test and merge it with perf. It will see greater use and receive more review and improvements than

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