Re: [PATCH] [RFC] CMA: clear buffer-head lru before page migration

2014-07-13 Thread Joonsoo Kim
On Tue, Jul 08, 2014 at 06:46:31PM +0200, Michal Nazarewicz wrote: > On Mon, Jul 07 2014, Andrew Morton wrote: > > What I proposed is that CMA call invalidate_bh_lrus() right at the > > outset. Something along the lines of > > > > --- a/mm/page_alloc.c~a > > +++ a/mm/page_alloc.c > > @@ -6329,6 +

Re: drm: i915: "plane B assertion failure, should be off on pipe B but is still active"

2014-07-13 Thread Daniel Vetter
On Sun, Jul 13, 2014 at 10:32:41PM +0200, Paul Bolle wrote: > Paul Bolle schreef op wo 02-07-2014 om 10:53 [+0200]: > > On Tue, 2014-07-01 at 12:17 +0300, Jani Nikula wrote: > > > This does not ring any bells to me (but that doesn't prove anything). A > > > bisect result would be awesome. > > The

Re: [PATCH] xillybus: place 'else' on same line as '}'

2014-07-13 Thread Eli Billauer
Hi, Thanks for this. And since I looked at the part in Codingstyle that deals with if-else, I found another few mistakes regarding braces around a single statement. The rules say, it turns out, that if one of the clauses in an if-else is longer than one statement, both clauses should be wrapp

Re: [PATCH V2 0/9] drivers/net: remove unnecessary break after goto

2014-07-13 Thread David Miller
From: Fabian Frederick Date: Sat, 12 Jul 2014 20:09:39 +0200 > Small patchset addressing break redundancy on drivers/net branch > (suggested by Joe Perches). > > V2: cc to maintainers of each section. Series applied to net-next, thanks. -- To unsubscribe from this list: send the line "unsubscr

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Thierry Reding
On Sun, Jul 13, 2014 at 10:43:41AM +0100, Will Deacon wrote: > On Sat, Jul 12, 2014 at 01:57:31PM +0100, Rob Clark wrote: > > On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann wrote: > > > On Saturday 12 July 2014, Rob Clark wrote: > > >> >> Was there actually a good reason for having the device link

Re: [PATCH -mm v5 12/13] mm: /proc/pid/clear_refs: avoid split_huge_page()

2014-07-13 Thread Cyrill Gorcunov
On Fri, Jul 11, 2014 at 02:35:48PM -0400, Naoya Horiguchi wrote: > From: "Kirill A. Shutemov" > > Currently pagewalker splits all THP pages on any clear_refs request. It's > not necessary. We can handle this on PMD level. > > One side effect is that soft dirty will potentially see more dirty m

[PATCH v2] mpt3sas: delay scsi_add_host call to work with scsi-mq

2014-07-13 Thread Reddy, Sreekanth
In _scsih_probe, delay the call to scsi_add_host until the host has been fully set up. Otherwise, the default .can_queue value of 1 causes scsi-mq to set the block layer request queue size to its minimum size, resulting in awful performance. In _scsih_probe error handling, call mpt3sas_base_deta

[PATCH v2] mpt2sas: delay scsi_add_host call to work with scsi-mq

2014-07-13 Thread Reddy, Sreekanth
In _scsih_probe, delay the call to scsi_add_host until the host has been fully set up. Otherwise, the default .can_queue value of 1 causes scsi-mq to set the block layer request queue size to its minimum size, resulting in awful performance. In _scsih_probe error handling, call mpt3sas_base_deta

Re: [PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Viresh Kumar
On 14 July 2014 11:58, Nicholas Krause wrote: > This fixes the latency for the cpufreq policy to 1 million nanoseconds > that calls the function pxa_cpu_init for the member of the structure > called cpuinfo.transition_latency. > > Signed-off-by: Nicholas Krause > --- > drivers/cpufreq/pxa2xx-cpu

[PATCH net-next v2 4/6] ethernet: amd: fix comment styles

2014-07-13 Thread varkabhadram
From: Varka Bhadram This patch fixes the comment style issues Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c | 181 +-- 1 file changed, 86 insertions(+), 95 deletions(-) diff --git a/drivers/net/ethernet/amd/amd8111e.c b/drivers/net/ethe

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-07-13 Thread Mikko Perttunen
Ok, that's good, thanks. Mikko On 14/07/14 09:25, Hans de Goede wrote: Hi Miko, On 07/14/2014 08:21 AM, Mikko Perttunen wrote: Hi Hans, have you been able to take a look at this? Not yet, it is on my todo list I hope to get around to it today or tomorrow. Regards, Hans -- To unsubscribe

[PATCH net-next v2 6/6] ethernet: amd: fix 'foo* bar'

2014-07-13 Thread varkabhadram
From: Varka Bhadram This patch fix the 'foo*' bar with 'foo *bar' and (foo*) with (foo *). Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c | 76 ++- 1 file changed, 40 insertions(+), 36 deletions(-) diff --git a/drivers/net/ethernet/amd/a

[PATCH net-next v2 5/6] ethernet: amd: fix pci device ids

2014-07-13 Thread varkabhadram
From: Varka Bhadram Normally any device ids will be above the corresponding device driver structure. This patch moves the pci device ids and MODULE_DEVICE_TABLE() above the pci driver structure. Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c | 20 +++- 1

[PATCH net-next v2 2/6] ethernet: amd: use devm_ioremap()

2014-07-13 Thread varkabhadram
From: Varka Bhadram This patch replace ioremap() with the devm_ioremap() so that the resource will be freed automatically with the probe failed. Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dr

[PATCH net-next v2 1/6] ethernet: amd: move amd111e_remove_one after probe

2014-07-13 Thread varkabhadram
From: Varka Bhadram This patch moves the remove functionalities after the probe so that we can see the registered and released resources properly. Every driver follows the same concept. Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c | 25 + 1 fil

Re: [PATCH 08/10] mm/page_alloc: use get_onbuddy_migratetype() to get buddy list type

2014-07-13 Thread Joonsoo Kim
On Mon, Jul 07, 2014 at 05:57:49PM +0200, Vlastimil Babka wrote: > On 07/04/2014 09:57 AM, Joonsoo Kim wrote: > >When isolating free page, what we want to know is which list > >the page is linked. If it is linked in isolate migratetype buddy list, > >we can skip watermark check and freepage countin

[PATCH net-next v2 0/6] cleanup for AMD811E ethernet driver

2014-07-13 Thread varkabhadram
From: Varka Bhadram This series cleanup for AMD811E ethernet driver Varka Bhadram (6): ethernet: amd: move amd111e_remove_one after probe ethernet: amd: use devm_ioremap() ethernet: amd: dynamic debug fixes ethernet: amd: fix comment styles ethernet: amd: fix pci device ids ethernet:

[PATCH net-next v2 3/6] ethernet: amd: dynamic debug fixes

2014-07-13 Thread varkabhadram
From: Varka Bhadram This patch convert printk() to netdev_dbg/info/err or dev_info/err/dbg Signed-off-by: Varka Bhadram --- drivers/net/ethernet/amd/amd8111e.c | 58 --- 1 file changed, 26 insertions(+), 32 deletions(-) diff --git a/drivers/net/ethernet/amd/a

Re: [PATCH 1/1] script/kconfig: remove a warning for menucofig

2014-07-13 Thread Li, ZhenHua
Any update? On 07/01/2014 01:02 AM, Heinrich Schuchardt wrote: On 30.06.2014 05:16, Li, Zhen-Hua wrote: There is a warning when run "make menuconfig". scripts/kconfig/menu.c: In function ‘get_symbol_str’: scripts/kconfig/menu.c:591:18: warning: ‘jump’ may be used uninitialized in this functi

Re: [PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nick Krause
On Mon, Jul 14, 2014 at 2:10 AM, Viresh Kumar wrote: > On 14 July 2014 10:31, Nicholas Krause wrote: >> This fixes the latency for the cpufreq policy to 1 million nanoseconds >> that calls the function pxa_cpu_init for the member of the structure >> called cpuinfo.transition_latency. >> >> Signed

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-07-13 Thread Hans de Goede
Hi Miko, On 07/14/2014 08:21 AM, Mikko Perttunen wrote: > Hi Hans, have you been able to take a look at this? Not yet, it is on my todo list I hope to get around to it today or tomorrow. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Thierry Reding
On Sat, Jul 12, 2014 at 08:57:31AM -0400, Rob Clark wrote: > On Sat, Jul 12, 2014 at 8:22 AM, Arnd Bergmann wrote: [...] > > The way that Thierry's binding does that is the obvious solution to this, > > and it mirrors what we do in practically every other subsystem. I definitely > > want the SMMU

Re: [PATCH 05/10] mm/page_alloc: optimize and unify pageblock migratetype check in free path

2014-07-13 Thread Joonsoo Kim
On Mon, Jul 07, 2014 at 05:50:09PM +0200, Vlastimil Babka wrote: > On 07/04/2014 09:57 AM, Joonsoo Kim wrote: > >Currently, when we free the page from pcp list to buddy, we check > >pageblock of the page in order to isolate the page on isolated > >pageblock. Although this could rarely happen and to

Re: [PATCH v2 6/7] ata: Add support for the Tegra124 SATA controller

2014-07-13 Thread Mikko Perttunen
Hi Hans, have you been able to take a look at this? Thanks, Mikko On 08/07/14 16:22, Tejun Heo wrote: (cc'ing Hans) Hans, can you please review this patch? On Wed, Jun 18, 2014 at 05:23:25PM +0300, Mikko Perttunen wrote: +#define SATA_CONFIGURATION_0 0x180 +#define

Re: [PATCHv2 5/6] base: platform: name the device already during allocation

2014-07-13 Thread Kishon Vijay Abraham I
Greg, On Thursday 05 June 2014 06:22 PM, Heikki Krogerus wrote: > This allows resources such as GPIOs and clocks, which can be > matched based on the device name when requested, to be > assigned even when PLATFORM_DEVID_AUTO is used. Any comments on this patch? Thanks Kishon > > Signed-off-by:

Re: [PATCHv2 3/6] arm: omap3: twl: use the new lookup method with usb phy

2014-07-13 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 05 June 2014 06:22 PM, Heikki Krogerus wrote: > Provide complete association for the phy and it's user > (musb) with the new phy lookup method. I can take this patch with your Ack or if you want to take it Acked-by: Kishon Vijay Abraham I Thanks Kishon > > Signed-off-by: H

Re: [PATCH 5/7] Drivers: scsi: storvsc: Implement a timedout handler

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: On Azure, we have seen instances of unbounded I/O latencies. To deal with this issue, implement handler that can reset the timeout. Note that the host gaurantees that it will respond to each command that has been issued. Signed-off-by: K. Y. Srini

Re: [PATCH 7/7] drivers: scsi: storvsc: Correctly handle TEST_UNIT_READY failure

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: On some Windows hosts on FC SANs, TEST_UNIT_READY can return SRB_STATUS_ERROR. Correctly handle this. Note that there is sufficient sense information to support scsi error handling even in this case. In this version of the patch I have addressed co

Re: [PATCH 6/7] drivers: scsi: storvsc: Set srb_flags in all cases

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: Correctly set SRB flags for all valid I/O directions. Some IHV drivers on the Windows host require this. The host validates the command and SRB flags prior to passing the command down to native driver stack. Signed-off-by: K. Y. Srinivasan Cc: --

Re: [PATCH 03/10] mm/page_alloc: handle page on pcp correctly if it's pageblock is isolated

2014-07-13 Thread Joonsoo Kim
On Mon, Jul 07, 2014 at 05:19:48PM +0200, Vlastimil Babka wrote: > On 07/04/2014 09:57 AM, Joonsoo Kim wrote: > >If pageblock of page on pcp are isolated now, we should free it to isolate > >buddy list to prevent future allocation on it. But current code doesn't > >do this. > > > >Moreover, there i

Re: [PATCH 00/10] fix freepage count problems due to memory isolation

2014-07-13 Thread Joonsoo Kim
On Mon, Jul 07, 2014 at 04:33:09PM +0200, Vlastimil Babka wrote: > On 07/07/2014 06:49 AM, Joonsoo Kim wrote: > >Ccing Lisa, because there was bug report it may be related this > >topic last Saturday. > > > >http://www.spinics.net/lists/linux-mm/msg75741.html > > > >On Fri, Jul 04, 2014 at 05:33:27

Re: [PATCH V3 3/7] Drivers: scsi: storvsc: Filter commands based on the storage protocol version

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: Going forward it is possible that some of the commands that are not currently implemented will be implemented on future Windows hosts. Even if they are not implemented, we are told the host will corrrectly handle unsupported commands (by returning a

Re: [PATCH V3 4/7] Drivers: scsi: storvsc: Fix a bug in handling VMBUS protocol version

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: Based on the negotiated VMBUS protocol version, we adjust the size of the storage protocol messages. The two sizes we currently handle are pre-win8 and post-win8. In WS2012 R2, we are negotiating higher VMBUS protocol version than the win8 version.

Re: [PATCH v4] devicetree: Add generic IOMMU device tree bindings

2014-07-13 Thread Thierry Reding
On Sat, Jul 12, 2014 at 02:22:01PM +0200, Arnd Bergmann wrote: > On Saturday 12 July 2014, Rob Clark wrote: > > >> Was there actually a good reason for having the device link to the > > >> iommu rather than the other way around? How much would people hate it > > >> if I just ignore the generic bin

Re: [PATCH V3 1/7] Drivers: scsi: storvsc: Change the limits to reflect the values on the host

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: Hyper-V hosts can support multiple targets and multiple channels and larger number of LUNs per target. Update the code to reflect this. With this patch we can correctly enumerate all the paths in a multi-path storage environment. In this version

Re: [PATCH V3 2/7] Drivers: scsi: storvsc: Set cmd_per_lun to reflect value supported by the Host

2014-07-13 Thread Hannes Reinecke
On 07/12/2014 06:48 PM, K. Y. Srinivasan wrote: Set cmd_per_lun to reflect value supported by the Host. In this version of the patch I have addressed comments from Christoph Hellwig Signed-off-by: K. Y. Srinivasan Cc: --- drivers/scsi/storvsc_drv.c |2 +- 1 files changed, 1 insertions(

Re: [PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-13 Thread Boris BREZILLON
On Mon, 14 Jul 2014 11:08:14 +0800 Bo Shen wrote: > Correct the typo error for the second "uhphs_clk". > > Signed-off-by: Bo Shen Acked-by: Boris Brezillon sam9n12 dtsi has the same bug, I'll fix it And sorry for the mess when moving sam9n12 and sam9x5 to the CCF, I should have checked my c

Re: [PATCH v2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-13 Thread Viresh Kumar
On 12 July 2014 08:36, Saravana Kannan wrote: > On 07/10/2014 11:19 PM, Viresh Kumar wrote: > >> >> Please make sure you take care of these issues: >> - suspend/resume >> - hotplug >> - module insert/remove > > Ok, I was just at the current code. Does cpufreq_unregister_driver() even > really work

Re: [PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Viresh Kumar
On 14 July 2014 10:31, Nicholas Krause wrote: > This fixes the latency for the cpufreq policy to 1 million nanoseconds > that calls the function pxa_cpu_init for the member of the structure > called cpuinfo.transition_latency. > > Signed-off-by: Nicholas Krause > --- > drivers/cpufreq/pxa2xx-cpu

Re: [PATCH v2] cpufreq: Don't destroy/realloc policy/sysfs on hotplug/suspend

2014-07-13 Thread Viresh Kumar
On 12 July 2014 08:14, Saravana Kannan wrote: >>> I'm just always adding the real nodes to the first CPU in a cluster >>> independent of which CPU gets added first. Makes it easier to know which >>> ones to symlink. See comment next to policy->cpu for full context. >> >> >> Yeah, and that is the

Re: [PATCH v4 0/6] Add Keystone PCIe controller driver

2014-07-13 Thread Pratyush Anand
Oh.. I see my reply from gmail is not readable at all. (I forgot to switch to plain text :( ) Please ignore last mail I am replying again here. On Sat, Jul 12, 2014 at 04:36:29AM +0800, Murali Karicheri wrote: [...] > Murali Karicheri (6): > PCI: designware: add rd[wr]_other_conf API > PCI:

[PATCH v2] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-13 Thread Vidya Sagar
From: Vidya Sagar 'commit 1a680b7c3258 ("PCI: PCIe links may not get configured for ASPM under POWERSAVE mode")' moved pcie_aspm_powersave_config_link() out of pci_raw_set_power_state() to pci_set_power_state() which would enable ASPM. But, with 'commit db288c9c5f9d ("PCI / PM: restore the origi

Re: [PATCH v3 4/4] ARM: tegra: roth: add display DT node

2014-07-13 Thread Thierry Reding
On Sun, Jul 13, 2014 at 11:37:14AM +0900, Alexandre Courbot wrote: > On Fri, Jul 11, 2014 at 10:14 PM, Thierry Reding > wrote: > > On Tue, Jul 08, 2014 at 09:32:14PM +0900, Alexandre Courbot wrote: > >> Tegra DSI support has been fixed to support continuous clock behavior that > >> the panel used

Re: [PATCH] can: flexcan: add vf61x support for flexcan

2014-07-13 Thread Shawn Guo
On Fri, Jul 11, 2014 at 03:58:37PM +0200, Stefan Agner wrote: > >> @@ -362,7 +374,7 @@ > >> > >>esdhc1: esdhc@400b2000 { > >>compatible = "fsl,imx53-esdhc"; > >> - reg = <0x400b2000 0x4000>; > >> + reg

[PATCH 1/1] driver/tty: Fix a warning in check_tty_count

2014-07-13 Thread Li, Zhen-Hua
When there are to many open/close on a tty device in the same time, there may be a warning like: Warning: dev (ttyS0) tty->count(4) != #fd's(3) in tty_release_dev That's because tty->count and files in tty->tty_files are not synchronized in time. So I add a lock to avoid this. Signed-off-by: Li

Re: pull request: wireless-next 2014-07-11

2014-07-13 Thread David Miller
From: "John W. Linville" Date: Fri, 11 Jul 2014 16:06:50 -0400 > Please pull this batch of updates intended for the 3.17 stream... > > This is primarily a Bluetooth pull. Gustavo says: > > "A lot of patches to 3.17. The bulk of changes here are for LE support. > The 6loWPAN over Bluetooth now

Re: [PATCH] ASoC: omap-dmic: Use devm_clk_get

2014-07-13 Thread Peter Ujfalusi
On 07/11/2014 07:14 AM, Himangi Saraogi wrote: > This patch introduces the use of managed interfaces like devm_clk_get > and does away with the clk_puts in the probe and remove functions. A > label is also done away with. Acked-by: Peter Ujfalusi > > Signed-off-by: Himangi Saraogi > --- > This

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 11 July 2014 22:56, Arnd Bergmann wrote: > On Friday 11 July 2014, Jassi Brar wrote: >> + >> + This document aims to help developers write client and controller >> +drivers for the API. But before we start, let us note that the >> +client (especially) and controller drivers are likely going to

[PATCH] cpufreq: Fix latency for cpufreq_info

2014-07-13 Thread Nicholas Krause
This fixes the latency for the cpufreq policy to 1 million nanoseconds that calls the function pxa_cpu_init for the member of the structure called cpuinfo.transition_latency. Signed-off-by: Nicholas Krause --- drivers/cpufreq/pxa2xx-cpufreq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 12 July 2014 03:39, Markus Mayer wrote: > On 11 July 2014 02:35, Jassi Brar wrote: >> Introduce common framework for client/protocol drivers and >> controller drivers of Inter-Processor-Communication (IPC). >> >> Client driver developers should have a look at >> include/linux/mailbox_client.h

[PATCH V6] regulator: DA9211 : new regulator driver

2014-07-13 Thread James Ban
This is the driver for the Dialog DA9211 Multi-phase 12A DC-DC Buck Converter regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- This patch is relative to linux-next repository tag next-20140710. Changes in V6: - Removed an unnecessary log. Changes in V5: - U

Re: [RFC 0/7] hrtimer: drop active hrtimer checks after adding it

2014-07-13 Thread Viresh Kumar
Hi Thomas, On 10 July 2014 07:04, Frederic Weisbecker wrote: > On Wed, Jul 09, 2014 at 11:30:41PM +0200, Thomas Gleixner wrote: >> On Wed, 9 Jul 2014, Viresh Kumar wrote: >> >> So your patch series drops active hrtimer checks after adding it, >> according to your subject line. >> >> Quite useeul

[RFC PATCH 0/3] hw_random: support for delayed init randomness requests

2014-07-13 Thread Amit Shah
Hello, This series introduces a way to allow devices to contribute to initial system randomness after a certain delay. Specifically, the virtio-rng device can contribute initial randomness only after a successful probe(). A delayed workqueue item is queued in the system queue to fetch this rando

[RFC PATCH 1/3] hw_random: allow RNG devices to give early randomness after a delay

2014-07-13 Thread Amit Shah
Some RNG devices may not be ready to give early randomness at probe() time, and hence lose out on the opportunity to contribute to system randomness at boot- or device hotplug- time. This commit schedules a delayed work item for such devices, and fetches early randomness after a delay. Currently

[RFC PATCH 3/3] Revert "virtio: rng: ensure reads happen after successful probe"

2014-07-13 Thread Amit Shah
This reverts commit ceb5d72a2e27e95bc9570ce259c45b35f0e23462. This commit was added for -stable so systems with virtio-rng don't freeze at boot-time. With the addition of the previous commits that delay the request for initial randomness after probe() is successful, this is no longer needed. CC:

[RFC PATCH 2/3] virtio: rng: only accept delayed early randomness requests

2014-07-13 Thread Amit Shah
hw_random core can ask for initial randomness after a slight delay after probe() finishes, and we can contribute to system randomness at that point. Tell the hw_random core by setting the HWRNG_DELAY_READ_AT_INIT flag. CC: Kees Cook CC: Jason Cooper CC: Herbert Xu Signed-off-by: Amit Shah ---

Re: [PATCH v1] PCI: enable ASPM configuration in PCIE POWERSAVE mode

2014-07-13 Thread vidya sagar
On Sat, Jul 12, 2014 at 4:14 AM, Bjorn Helgaas wrote: > [updated Naga's email address] > > On Wed, Jul 09, 2014 at 11:50:01PM +0530, vidya sagar wrote: >> On Tue, Jul 8, 2014 at 2:42 AM, Bjorn Helgaas wrote: >> > On Mon, Jul 7, 2014 at 12:00 PM, Vidya Sagar wrote: >> >>> -Original Message---

[PATCH] ftrace: Do not copy old hash when resetting.

2014-07-13 Thread Wang Nan
If we are going to reset hash, we don't need to duplicate old hash and remove every entries right after allocation. Signed-off-by: Wang Nan Cc: Steven Rostedt Cc: Ingo Molnar --- kernel/trace/ftrace.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/kernel/trace/ftra

Re: [PATCHv8 2/2] mailbox: Introduce framework for mailbox

2014-07-13 Thread Jassi Brar
On 11 July 2014 17:16, Ashwin Chaugule wrote: > Hi Jassi, > > Other than a few nits, this looks good to me. > Thanks for the nits. I will club them together with other feedback on the patchset. > > Hopefully you've run this through checkpatch as well? Also, were you > able to sort out the process

Re: [PATCH] Cpufreq: ARM IMX6Q: Select PM_OPP

2014-07-13 Thread Viresh Kumar
On 14 July 2014 03:29, Nicolas Del Piano wrote: > PM_OPP is a library used by several of the existing cpufreq drivers. > ARM IMX6Q cpufreq driver uses this library for its functionality. > Thus, it should be selected in Kconfig. > > Reported-by: Ezequiel Garcia > Signed-off-by: Nicolas Del Piano

RE: [PATCH v6 2/6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
Hi Kukjin, On Thursday, July 10, 2014 7:04 PM, Kukjin wrote: > Pankaj Dubey wrote: > > > > Hi Kukjin, > > > Hi, > > > > > > > On 07/07/14 12:50, Pankaj Dubey wrote: > > > > As exynos_cpuidle_init and exynos_cpufreq_init function have just > > > > one lines of code for registering platform devices

[PATCH 1/1 V2] workqueue: unfold start_worker() into create_worker()

2014-07-13 Thread Lai Jiangshan
Simply unfold the code of start_worker() into create_worker() and remove the original start_worker() and create_and_start_worker(). The only trade-off is the introduced overhead that the pool->lock is released and re-grabbed after the newly worker is started. The overhead is acceptable since the m

[PATCH 0/1 V2] workqueue: manager cleanup

2014-07-13 Thread Lai Jiangshan
Hi, TJ, I dropped the patch1 & patch2 of the V1, only the patch3 is kept and re-based. The new patch depends on the patch of last night: "workqueue: remove the del_timer_sync()s in maybe_create_worker()". Thanks, Lai Lai Jiangshan (1): workqueue: unfold start_worker() into create_worker() ke

[RESPIN PATCH v6] ARM: EXYNOS: Move cpufreq and cpuidle device registration to init_machine

2014-07-13 Thread Pankaj Dubey
As exynos_cpuidle_init and exynos_cpufreq_init function have just one lines of code for registering platform devices. We can move these lines to exynos_dt_machine_init and delete exynos_cpuidle_init and exynos_cpufreq_init function. This will help in reducing lines of code in exynos.c, making it mo

[PATCH v2] sched/deadline: overrun could happen in start_hrtick_dl

2014-07-13 Thread xiaofeng.yan
It could be wrong for the precision of runtime and deadline when the precision is within microsecond level. For example: Task runtime deadline period P1 200us 500us 500us This case need enbale HRTICK feature by the next command PC#echo "HRTICK" > /sys/kernel/debug/sched_features PC#trace-cm

Fix mes in arch/cris/arch-v32/kernel/kgdb.c

2014-07-13 Thread Nick Krause
In the file arch/cris/arch-v32/kernel/kgdb.c , I am hitting a few fix mes that need to be fixed for kgdb support of this subsystem architecture of cris. Below this message are the lines of code and their respective Fix Me messages. When you around to it I would like to known how you would like thes

[PATCH net] mlx4: mark napi id for gro_skb

2014-07-13 Thread Jason Wang
Napi id was not marked for gro_skb, this will lead rx busy loop won't work correctly since they stack never try to call low latency receive method because of a zero socket napi id. Fix this by marking napi id for gro_skb. The transaction rate of 1 byte netperf tcp_rr gets about 50% increased (from

Re: [RFC PATCH 0/2] irqchip: GIC: check and clear GIC interupt active status

2014-07-13 Thread Liu hua
On 2014/7/11 20:35, Will Deacon wrote: > [adding Marc] > > On Fri, Jul 11, 2014 at 07:46:15AM +0100, Liu Hua wrote: >> For this version of GIC codes, kernel assumes that all the interrupt >> status of GIC is inactive. So the kernel does not check this when >> booting. >> >> This is no problem on

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-13 Thread KY Srinivasan
> -Original Message- > From: driverdev-devel-boun...@linuxdriverproject.org [mailto:driverdev- > devel-boun...@linuxdriverproject.org] On Behalf Of KY Srinivasan > Sent: Sunday, July 13, 2014 7:38 PM > To: Martin K. Petersen > Cc: linux-s...@vger.kernel.org; jasow...@redhat.com; linux- >

Re: [PATCH 2/2] staging: comedi: addi_apci_1564: use addi_watchdog module to init watchdog subdevice

2014-07-13 Thread Chase Southwood
On Sun, Jul 13, 2014 at 2:17 PM, Hartley Sweeten wrote: > On Saturday, July 12, 2014 3:44 PM, Chase Southwood wrote: >> Use the addi_watchdog module to provide support for the watchdog >> subdevice. >> >> Also, rearrange the subdevice init blocks so that the order makes sense. >> Digital input/out

[PATCH] ARM: at91: at91sam9x5: correct typo error for ohci clock

2014-07-13 Thread Bo Shen
Correct the typo error for the second "uhphs_clk". Signed-off-by: Bo Shen --- arch/arm/boot/dts/at91sam9x5.dtsi | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/at91sam9x5.dtsi b/arch/arm/boot/dts/at91sam9x5.dtsi index 2ebc421..727d3a4 100644 --- a/arch/ar

[PATCH] xillybus: place 'else' on same line as '}'

2014-07-13 Thread Jeremiah Mahler
Place 'else' on same line as closing brace '}' as per Documentation/CodingStyle. Fixes 1 error found by checkpatch.pl. Signed-off-by: Jeremiah Mahler --- drivers/staging/xillybus/xillybus_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/xillybus/xilly

RE: [PATCH 4/8] Drivers: scsi: storvsc: Filter WRITE_SAME_16

2014-07-13 Thread KY Srinivasan
> -Original Message- > From: KY Srinivasan > Sent: Sunday, July 13, 2014 11:50 AM > To: 'Martin K. Petersen' > Cc: h...@infradead.org; James Bottomley; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; a...@canonical.com; sta...@vger.kernel.org; > linux-s...@vger.kernel.org; o

Re: [RFC][PATCH 1/3] ftrace/x86: Add dynamic allocated trampoline for ftrace_ops

2014-07-13 Thread Masami Hiramatsu
(2014/07/04 5:07), Steven Rostedt wrote: > From: "Steven Rostedt (Red Hat)" > > The current method of handling multiple function callbacks is to register > a list function callback that calls all the other callbacks based on > their hash tables and compare it to the function that the callback was

Re: [PATCH 1/3] workqueue: remove the first check and the return value of maybe_create_worker()

2014-07-13 Thread Lai Jiangshan
On 07/11/2014 11:03 PM, Tejun Heo wrote: > On Fri, Jul 11, 2014 at 12:01:03AM +0800, Lai Jiangshan wrote: >> @@ -1887,17 +1887,11 @@ static void pool_mayday_timeout(unsigned long __pool) >> * spin_lock_irq(pool->lock) which may be released and regrabbed >> * multiple times. Does GFP_KERNEL all

Re: Re: [PATCH V8 2/2] serial/uart/8250: Add tunable RX interrupt trigger I/F of FIFO buffers

2014-07-13 Thread Yoshihiro YUNOMAE
(2014/07/13 6:22), Greg KH wrote: On Thu, Jul 10, 2014 at 04:16:37PM -0700, Greg Kroah-Hartman wrote: On Thu, Jul 10, 2014 at 03:31:57PM +0100, One Thousand Gnomes wrote: I really don't like the way that the tty core has been changed to handle multiple attribute groups, as I feel tty drivers sh

Re: [PATCH] drivers/base: redundant return value settings in try_to_bring_up_master()

2014-07-13 Thread Liu Ying
On 07/12/2014 08:58 AM, Greg KH wrote: On Tue, Jun 17, 2014 at 04:25:31PM +0800, Liu Ying wrote: Remove redundant return value settings 'ret = 0;' in the function try_to_bring_up_master(), since it has already been set to zero. Signed-off-by: Liu Ying --- drivers/base/component.c |2 --

Re: [PATCH 4/5] cgroup: distinguish the default and legacy hierarchies when handling cftypes

2014-07-13 Thread Li Zefan
> @@ -3085,8 +3091,37 @@ static int cgroup_add_cftypes(struct cgroup_subsys > *ss, struct cftype *cfts) > return ret; > } > > +/** > + * cgroup_add_dfl_cftypes - add an array of cftypes for default hierarchy > + * @ss: target cgroup subsystem > + * @cfts: zero-length name terminated array

Re: [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-13 Thread Alexandre Courbot
On Fri, Jul 11, 2014 at 7:54 PM, Peter De Schrijver wrote: > On Fri, Jul 11, 2014 at 03:49:06AM +0200, Alex Courbot wrote: >> On 07/10/2014 06:43 PM, Peter De Schrijver wrote: >> > On Thu, Jul 10, 2014 at 09:34:34AM +0200, Alexandre Courbot wrote: >> >> This series adds support for reclocking on G

Re: [PATCH 2/2] PCI/MSI: Remove arch_msi_check_device()

2014-07-13 Thread Yijing Wang
> /** > - * pci_msi_check_device - check whether MSI may be enabled on a device > + * msi_check_device - check whether MSI may be enabled on a device > * @dev: pointer to the pci_dev data structure of MSI device function > * @nvec: how many MSIs have been requested ? > - * @type: are we checki

Re: [Nouveau] [PATCH 0/3] drm/gk20a: support for reclocking

2014-07-13 Thread Alexandre Courbot
On Fri, Jul 11, 2014 at 10:38 AM, Alexandre Courbot wrote: > Hi Ben, > > > On 07/11/2014 10:07 AM, Ben Skeggs wrote: >> >> On Thu, Jul 10, 2014 at 5:34 PM, Alexandre Courbot >> wrote: >>> >>> This series adds support for reclocking on GK20A. The first two patches >>> touch >>> the clock subsystem

[tip:x86/apic] x86, vsmp: Remove is_vsmp_box() from apic_is_clustered_box()

2014-07-13 Thread tip-bot for Oren Twaig
Commit-ID: 411cf9ee2946492c0ac7eca48422fcf94a723ce5 Gitweb: http://git.kernel.org/tip/411cf9ee2946492c0ac7eca48422fcf94a723ce5 Author: Oren Twaig AuthorDate: Sun, 29 Jun 2014 13:01:08 +0300 Committer: H. Peter Anvin CommitDate: Sun, 13 Jul 2014 17:48:03 -0700 x86, vsmp: Remove is_vsmp_

Re: [PATCH 10/11] perf, tools, test: Add test case for alias and JSON parsing

2014-07-13 Thread Andi Kleen
On Sun, Jul 13, 2014 at 10:09:45PM +0200, Jiri Olsa wrote: > On Sun, Jul 13, 2014 at 01:49:59AM +0200, Andi Kleen wrote: > > > missing the tests/aliases.o file > > > > > > AR libperf.a > > > ar: tests/aliases.o: No such file or directory > > > > Fixed here (and in git) > > got it, would

Re: [RFC][PATCH 0/3] ftrace: Add dynamically allocated trampolines

2014-07-13 Thread Masami Hiramatsu
(2014/07/11 23:29), Josh Poimboeuf wrote: [...] > >>From 951d2aec17885a62905df6b910dc705d99c63993 Mon Sep 17 00:00:00 2001 > From: Josh Poimboeuf > Date: Fri, 11 Jul 2014 08:58:33 -0500 > Subject: [PATCH] x86/dumpstack: fix stack traces for generated code > > If a function in the stack trace is

Re: [PATCH] sched: select 'idle' cfs_rq per task-group to prevent tg-internal imbalance

2014-07-13 Thread Michael wang
On 07/12/2014 12:11 AM, Rik van Riel wrote: > -BEGIN PGP SIGNED MESSAGE- [snip] >> >> That's full wake balance.. if that was cheap, >> select_idle_sibling() would not exist. > > Full wake balance iterates over all the groups in the system, > select_idle_sibling only over one LLC domain. F

[PATCH] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
From: microcai I am using a USB keyborad that give me "usb_submit_urb(ctrl) failed: -1" error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyborad is usable right after plugin Signed-off-by: Wangzhao Cai --- drivers/hid/hid-ids.h

linux-next: manual merge of the mvebu tree with Linus' tree

2014-07-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the mvebu tree got a conflict in arch/arm/Kconfig between commit 19682f72f5db ("ARM: Remove ARCH_HAS_CPUFREQ config option") from Linus' tree and commit ba364fc752da ("ARM: Kirkwood: Remove mach-kirkwood") from the mvebu tree. I fixed it up (The latter just rem

Re: [PATCH 4/6 v2] autofs4: factor should_expire() out of autofs4_expire_indirect.

2014-07-13 Thread NeilBrown
Here is a revised version of this one patch. This one fixes a problem with refcounts on dentry and adds a comment to clarify the behaviour of should_expire(). thanks, NeilBrown From: NeilBrown Date: Tue, 8 Jul 2014 17:14:53 +1000 Subject: [PATCH] autofs4: factor should_expire() out of autofs4_e

Re: [PATCH v3] add quirks for 0x04d9:0xa096 hid keyborad device

2014-07-13 Thread microcai
I am using a USB keyboard that give me "usb_submit_urb(ctrl) failed: -1" error when I plugin it. and I need to wait for 10s for this device to be ready. by adding this quirks, the usb keyboard is usable right after plugin --- drivers/hid/hid-ids.h | 1 + drivers/hid/usbhid/hid-quirks.c

Fwd: PLEASE READ THE ATTACHED

2014-07-13 Thread From Col. Luthan Marcus
Please kindly read the attached and get back to me Dear Friend.docx Description: MS-Word 2007 document

Re: [PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Ok. I will do it. 4th could be the right one =p. Thanks for your time Cheers -- Lucas Tanure +55 (19) 988176559 On Sun, Jul 13, 2014 at 9:13 PM, Greg Kroah-Hartman wrote: > On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote: >> Kernel coding style. Remove useless else statement after

[PATCH v4] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Changes from v1 and v2: Fix warning for mixed declarations and code. Declaration of "struct binder_transaction *next" made outside of while. Changes from v3: Removed initialization to NULL for next variable. Signed-off-by: Lucas Tan

Re: [PATCH 2/6] samples: refactor Makefile

2014-07-13 Thread Stephen Rothwell
Hi Sam, On Sun, 13 Jul 2014 21:52:36 +0200 Sam Ravnborg wrote: > > On Sun, Jul 13, 2014 at 12:25:33PM -0700, Randy Dunlap wrote: > > On 07/13/14 11:42, Sam Ravnborg wrote: > > > Use one line per module/program in Makefile. > > > This style is easier to read/extend. > > > > > > Introduce inverse

Re: [PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Greg Kroah-Hartman
On Sun, Jul 13, 2014 at 08:25:13PM -0300, Lucas Tanure wrote: > Kernel coding style. Remove useless else statement after return. > Changes from v1 and v2: Fix warning for mixed declarations and code. > Declaration of "struct binder_transaction *next" made outside of while, > and initialized with NU

Re: [PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-13 Thread Chanwoo Choi
Dear Eduardo, Could you please review or pick this patch? Best Regards, Chanwoo Choi On 07/10/2014 12:36 PM, Amit Kachhap wrote: > On Wed, Jul 9, 2014 at 8:30 AM, Chanwoo Choi wrote: >> On 07/01/2014 09:33 AM, Chanwoo Choi wrote: >>> This patch add registers, bit fields and compatible strings f

Re: [PATCH] thermal: samsung: Add TMU support for Exynos3250 SoC

2014-07-13 Thread Chanwoo Choi
On 07/10/2014 12:36 PM, Amit Kachhap wrote: > On Wed, Jul 9, 2014 at 8:30 AM, Chanwoo Choi wrote: >> On 07/01/2014 09:33 AM, Chanwoo Choi wrote: >>> This patch add registers, bit fields and compatible strings for Exynos3250 >>> TMU >>> (Thermal Management Unit). Exynos3250 uses the Cortex-A7 dual

Re: sched, timers: use after free in __lock_task_sighand when exiting a process

2014-07-13 Thread Sasha Levin
On 07/13/2014 05:51 PM, Sasha Levin wrote: > Hi all, > > While fuzzing with trinity inside a KVM tools guest running the latest -next > kernel with the KASAN patchset, I've stumbled on the following spew: Alrighty, I don't think it has anything to do with timers: [ 876.319044]

[PATCH v3] staging: android: Clean up else statement from binder_send_failed_reply

2014-07-13 Thread Lucas Tanure
Kernel coding style. Remove useless else statement after return. Changes from v1 and v2: Fix warning for mixed declarations and code. Declaration of "struct binder_transaction *next" made outside of while, and initialized with NULL. Signed-off-by: Lucas Tanure --- drivers/staging/android/binder

Re: [PATCH] drivers: staging: lustre: Use 'force_die' instead of 'die' to avoid compiling issue

2014-07-13 Thread Chen Gang
On 07/14/2014 06:50 AM, Greg Kroah-Hartman wrote: > On Mon, Jul 14, 2014 at 06:38:24AM +0800, Chen Gang wrote: >> On 07/14/2014 06:31 AM, Chen Gang wrote: >>> On 07/14/2014 05:41 AM, Chen Gang wrote: On 07/14/2014 03:05 AM, Greg Kroah-Hartman wrote: > On Sun, Jul 13, 2014 at 10:50:55PM +08

  1   2   3   >