Re: [tip:perf/timer] perf: Add per event clockid support

2015-03-27 Thread Peter Zijlstra
On Fri, Mar 27, 2015 at 09:31:45AM -0700, Stephane Eranian wrote: > On Fri, Mar 27, 2015 at 4:48 AM, tip-bot for Peter Zijlstra > > +static int perf_event_set_clock(struct perf_event *event, clockid_t clk_id) > > +{ > > + bool nmi_safe = false; > > + > > + switch (clk_id) { > > +

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-27 Thread Dave Hansen
On 03/27/2015 08:15 AM, Borislav Petkov wrote: > I'm not sure we want to export this to modules... and MPX cannot be > built as a module either. So why export it? The thing I was wrapping (get_xsave_addr()) was EXPORT_SYMBOL_GPL(). I assumed that it was exported for good reason and that my wrappe

[GIT PULL] qcom cleanup changes for 4.1

2015-03-27 Thread Kumar Gala
The following changes since commit 9eccca0843205f87c00404b663188b88eb248051: Linux 4.0-rc3 (2015-03-08 16:09:09 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/galak/linux-qcom.git tags/qcom-cleanup-for-4.1 for you to fetch changes up to 27842b

[PATCH] cpufreq: exynos: remove dead ->need_apll_change method

2015-03-27 Thread Bartlomiej Zolnierkiewicz
Commit 26ab1c62b6e1 ("cpufreq: exynos5250: Set APLL rate using CCF API") removed the last user of ->need_apll_change method. Remove it and then cleanup exynos_cpufreq_scale() accordingly. This patch was tested on Exynos4412 SoC based Trats2 board. There should be no functional changes caused by

Re: [tip:perf/timer] perf: Add per event clockid support

2015-03-27 Thread Stephane Eranian
On Fri, Mar 27, 2015 at 4:48 AM, tip-bot for Peter Zijlstra wrote: > Commit-ID: 34f439278cef7b1177f8ce24f9fc81dfc6221d3b > Gitweb: http://git.kernel.org/tip/34f439278cef7b1177f8ce24f9fc81dfc6221d3b > Author: Peter Zijlstra > AuthorDate: Fri, 20 Feb 2015 14:05:38 +0100 > Committer: Ingo

Re: [RFC PATCH 04/11] IB/Verbs: Use management helper cap_smi() for smi-check

2015-03-27 Thread Jason Gunthorpe
On Fri, Mar 27, 2015 at 04:44:43PM +0100, Michael Wang wrote: > > Introduce helper cap_smi() to help us check if the port of an > IB device support Subnet Management Interface. This and most of the others should be qualified with 'cap_ib_smi' since we already know we will need 'cap_opa_smi' somed

Re: [Gta04-owner] [PATCH 3/3] tty/slaves: add a driver to power on/off UART attached devices.

2015-03-27 Thread Sebastian Reichel
Hi, On Fri, Mar 27, 2015 at 10:22:11AM +0100, Dr. H. Nikolaus Schaller wrote: > > Coming back at my sentence: I asked about a non-trivial, non-bus > > connected HW, which has a DT binding. > > from omap3-beagle-xm.dts: > hsusb2_phy (connected through ULPI) > gpio-keys (it is not a trivial on/off)

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-27 Thread Andrew Morton
On Fri, 27 Mar 2015 08:58:54 -0700 Jeremy Allison wrote: > On Fri, Mar 27, 2015 at 02:01:59AM -0700, Andrew Morton wrote: > > On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig > > wrote: > > > > > On Fri, Mar 27, 2015 at 01:35:16AM -0700, Andrew Morton wrote: > > > > fincore() doesn't have

Re: [RFC PATCH 07/11] IB/Verbs: Use management helper has_mcast() and, cap_mcast() for mcast-check

2015-03-27 Thread Jason Gunthorpe
On Fri, Mar 27, 2015 at 04:46:57PM +0100, Michael Wang wrote: > > Introduce helper has_mcast() and cap_mcast() to help us check if an > IB device or it's port support Multicast. > > Cc: Jason Gunthorpe > Cc: Doug Ledford > Cc: Ira Weiny > Cc: Sean Hefty > Signed-off-by: Michael Wang > drive

[PATCH] clk: samsung: exynos4: Disable ARMCLK down feature on Exynos4210 SoC

2015-03-27 Thread Bartlomiej Zolnierkiewicz
Commit 42773b28e71d ("clk: samsung: exynos4: Enable ARMCLK down feature") enabled ARMCLK down feature on all Exynos4 SoCs. Unfortunately on Exynos4210 SoC ARMCLK down feature causes a lockup when ondemand cpufreq governor is used. Fix it by limiting ARMCLK down feature to Exynos4x12 SoCs. This pa

Re: [PATCH v2 0/2] iProc PCIe driver Kconfig changes

2015-03-27 Thread Ray Jui
Hi Bjorn, Do you think the following changes are okay? If so, could you pull them in? Thanks! Ray On 3/25/2015 12:08 AM, Ray Jui wrote: > This patch series contains two patches to address iProc PCIe Kconfig related > issues. The first patch adds more protection to PCIE_IPROC so it cannot be > a

Re: [PATCH V2] sched: Improve load balancing in the presence of idle CPUs

2015-03-27 Thread Preeti U Murthy
Hi Wanpeng, Jason, On 03/27/2015 10:37 AM, Jason Low wrote: > On Fri, 2015-03-27 at 10:12 +0800, Wanpeng Li wrote: >> Hi Preeti, >> On Thu, Mar 26, 2015 at 06:32:44PM +0530, Preeti U Murthy wrote: >>> >>> 1. An ILB CPU was chosen from the first numa domain to trigger nohz idle >>> load balancing [

Re: [PATCH 1/4] net/macb: only probe queues once and use stored values

2015-03-27 Thread Cyrille Pitchen
Hi Nicolas, There is a little mistake in this patch, which will prevent the GEM from working properly: Le 27/03/2015 16:34, Nicolas Ferre a écrit : > When merging at91_ether and macb driver during 421d9df0628b (net/macb: merge > at91_ether driver into macb driver) the probe function has been spl

[PATCH 2/2] docs/completion.txt: Various tweaks and corrections

2015-03-27 Thread Jonathan Corbet
>From 5fbce97c75f0ac713af4ac8563058e8a023f07b4 Mon Sep 17 00:00:00 2001 From: Jonathan Corbet Date: Fri, 27 Mar 2015 10:16:35 -0600 Subject: [PATCH 2/2] docs/completion.txt: Various tweaks and corrections Mostly language improvements to the new completions.txt document, but there is also a semant

Re: [PATCH 4/6] of: add API for changing parameters of fixed link

2015-03-27 Thread Florian Fainelli
2015-03-27 9:07 GMT-07:00 Stas Sergeev : > 27.03.2015 18:41, Florian Fainelli пишет: >> 2015-03-27 6:37 GMT-07:00 Stas Sergeev : >>> >>> The following API is added: >>> - of_phy_fixed_link_set_link() allows to set link state (up/down) >>> - of_phy_fixed_link_set_speed() allows to set link speed >>>

[PATCH 1/2] doc: completion: context, scope and language fixes

2015-03-27 Thread Jonathan Corbet
>From 486036741940254bb677810e30bdb5aab3191c5c Mon Sep 17 00:00:00 2001 From: Nicholas Mc Guire Date: Fri, 20 Feb 2015 12:28:48 -0500 Subject: [PATCH 1/2] doc: completion: context, scope and language fixes Fix for imprecise/wrong statements on context in which wait_for_completion*() can be called

Re: [PATCH] doc: completion: context, scope and language fixes

2015-03-27 Thread Jonathan Corbet
On Fri, 27 Mar 2015 12:10:42 +0100 Ingo Molnar wrote: > Mind sending me the final version, modified by you? OK, this is the current version. For completeness (so to speak) I'll send the patches as well. jon completions - wait for completion handling ==

Re: [PATCHSET 0/7] perf kmem: Implement page allocation analysis (v5)

2015-03-27 Thread Arnaldo Carvalho de Melo
Em Fri, Mar 27, 2015 at 11:08:00AM +0900, Namhyung Kim escreveu: > Hello, > > Currently perf kmem command only analyzes SLAB memory allocation. And > I'd like to introduce page allocation analysis also. Users can use > --slab and/or --page option to select it. If none of these options > are us

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-27 Thread Michael Wang
On 03/27/2015 05:13 PM, Jason Gunthorpe wrote: > On Fri, Mar 27, 2015 at 04:47:36PM +0100, Michael Wang wrote: >> Introduce helper has_iwarp() to help us check if an IB device >> support IWARP protocol. > Should probably be !has_rdma_read_sges() > > True if the device can handle more than one SGE e

Re: [PATCH V9 02/10] USB: f81232: implement RX bulk-in EP

2015-03-27 Thread Johan Hovold
On Tue, Mar 17, 2015 at 05:48:20PM +0800, Peter Hung wrote: > The F81232 bulk-in is RX data + LSR channel, data format is > [LSR+Data][LSR+Data]. , We had implemented in f81232_process_read_urb(). > > Signed-off-by: Peter Hung > static void f81232_process_read_urb(struct urb *urb) > { >

Re: [RFC PATCH 09/11] IB/Verbs: Use management helper has_ipoib() and, cap_ipoib() for ipoib-check

2015-03-27 Thread Michael Wang
On 03/27/2015 05:06 PM, Jason Gunthorpe wrote: > On Fri, Mar 27, 2015 at 04:48:22PM +0100, Michael Wang wrote: > >> diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c >> b/drivers/infiniband/ulp/ipoib/ipoib_main.c >> index 3341754..fcd7558 100644 >> +++ b/drivers/infiniband/ulp/ipoib/ipoib_mai

Re: [PATCH v2 0/5] Reenable might_sleep() checks for might_fault()

2015-03-27 Thread Peter Zijlstra
On Fri, Mar 27, 2015 at 04:40:50PM +0100, David Hildenbrand wrote: > e.g. futex_atomic_op_inuser(): easy to fix, add preempt_enable/disable > respectively. > > e.g. futex_atomic_cmpxchg_inatomic(): not so easy / nice to fix. > > The "inatomic" variants rely on the caller to make sure that preempt

Re: Missing videos on kernel.org/doc

2015-03-27 Thread Rob Landley
On 03/22/2015 06:42 AM, Wojciech Bober wrote: > Hi Rob, > > A few links give 404. The videos seem to be moved to youtube. Somebody really needs to do an updated version of http://www.slate.com/articles/technology/map_of_the_week/2013/03/google_reader_joins_graveyard_of_dead_google_products.html

Re: [PATCH v5] sched/rt: Use IPI to trigger RT task push migration instead of pulling

2015-03-27 Thread Steven Rostedt
On Thu, 26 Mar 2015 09:24:22 +0800 Wanpeng Li wrote: > Is there any one doing it currently? Otherwise, I can be the volunteer > for dealine part. ;) > You can try if you want. -- Steve -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majo

Re: [RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-27 Thread Jason Gunthorpe
On Fri, Mar 27, 2015 at 04:47:36PM +0100, Michael Wang wrote: > > Introduce helper has_iwarp() to help us check if an IB device > support IWARP protocol. Should probably be !has_rdma_read_sges() True if the device can handle more than one SGE entry on a RDMA READ work request. Jason -- To unsub

Re: [PATCH 1/7] tracing, mm: Record pfn instead of pointer to struct page

2015-03-27 Thread Steven Rostedt
On Fri, 27 Mar 2015 11:08:01 +0900 Namhyung Kim wrote: > The struct page is opaque for userspace tools, so it'd be better to save > pfn in order to identify page frames. > > The textual output of $debugfs/tracing/trace file remains unchanged and > only raw (binary) data format is changed - but t

RE: [PATCH v1] perf callchain: fix kernel symbol resolution by remembering the cpumode

2015-03-27 Thread Liang, Kan
> Commit 2e77784bb7d8 ("perf callchain: Move cpumode resolve code to > add_callchain_ip") promised "No change in behavior.". > > As this commit breaks callchains on s390x (symbols not getting resolved, > observed when profiling the kernel), this statement is wrong. The > cpumode must be kept whe

[RFT PATCHv2] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-03-27 Thread Krzysztof Kozlowski
After adding display power domain for Exynos5250 in commit 2d2c9a8d0a4f ("ARM: dts: add display power domain for exynos5250") the display on Chromebook Snow and others stopped working after boot. The reason for this suggested Andrzej Hajda: the DP clock was disabled. This clock is required by Disp

Re: [PATCH 4/6] of: add API for changing parameters of fixed link

2015-03-27 Thread Stas Sergeev
27.03.2015 18:41, Florian Fainelli пишет: > 2015-03-27 6:37 GMT-07:00 Stas Sergeev : >> >> The following API is added: >> - of_phy_fixed_link_set_link() allows to set link state (up/down) >> - of_phy_fixed_link_set_speed() allows to set link speed >> - of_phy_fixed_link_set_duplex() allows to enabl

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-27 Thread Jeremy Allison
On Fri, Mar 27, 2015 at 02:01:59AM -0700, Andrew Morton wrote: > On Fri, 27 Mar 2015 01:48:33 -0700 Christoph Hellwig > wrote: > > > On Fri, Mar 27, 2015 at 01:35:16AM -0700, Andrew Morton wrote: > > > fincore() doesn't have to be ugly. Please address the design issues I > > > raised. How is p

Re: [RFC PATCH 09/11] IB/Verbs: Use management helper has_ipoib() and, cap_ipoib() for ipoib-check

2015-03-27 Thread Jason Gunthorpe
On Fri, Mar 27, 2015 at 04:48:22PM +0100, Michael Wang wrote: > diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c > b/drivers/infiniband/ulp/ipoib/ipoib_main.c > index 3341754..fcd7558 100644 > +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c > @@ -1655,7 +1655,7 @@ static void ipoib_add_one(

Re: [PATCH] ring-buffer: More precise time stamps for nested writes

2015-03-27 Thread Steven Rostedt
On Fri, 27 Mar 2015 00:38:43 -0500 "Suresh E. Warrier" wrote: > > But for now, what can be done is to have > > a flag that is set that will implement this or not. Using > > static_branch() to implement it such that when its off it has no effect. > > > > Are you recommending that for now I use a

Good Day

2015-03-27 Thread sidenor
I Need Your Assistance For This Transaction Mr.Leung Cheung -- 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.o

[PATCH 2/2] Drivers: hv: hv_balloon: correctly handle num_pages>INT_MAX case

2015-03-27 Thread Vitaly Kuznetsov
balloon_wrk.num_pages is __u32 and it comes from host in struct dm_balloon where it is also __u32. We, however, use 'int' in balloon_up() and in case we happen to receive num_pages>INT_MAX request we'll end up allocating zero pages as 'num_pages < alloc_unit' check in alloc_balloon_pages() will pas

[PATCH 0/2] Drivers: hv: hv_balloon: two additional corner cases in balloon_up()

2015-03-27 Thread Vitaly Kuznetsov
PATCH 1/2 addresses a real issue introduced by the 'Drivers: hv: hv_balloon: refuse to balloon below the floor' fix, PATCH 2/2 addresses a currently impossible issue (as Hyper-V host never asks to balloon more than INT_MAX pages) and is rather a cleanup. The patch is supposed to be applied on top

Re: [PATCH 0/2 RESEND] IB/Verbs: Use helpers to refine the checking on transport and link layer

2015-03-27 Thread Michael Wang
On 03/27/2015 04:55 PM, Jason Gunthorpe wrote: > On Fri, Mar 27, 2015 at 10:52:10AM +0100, Michael Wang wrote: >> [snip] > So, in principle, testing the device should almost make sense. The > device is the container for things like PD's MR's and QP's and those > things can migrate between the port

[PATCH 1/2] Drivers: hv: hv_balloon: correctly handle val.freeram

2015-03-27 Thread Vitaly Kuznetsov
'Drivers: hv: hv_balloon: refuse to balloon below the floor' fix does not correctly handle the case when val.freeram < num_pages as val.freeram is __kernel_ulong_t and the 'val.freeram - num_pages' value will be a huge positive value instead of being negative. Usually host doesn't ask us to balloo

Re: [PATCH 0/9] libata sense code update

2015-03-27 Thread Tejun Heo
On Fri, Mar 27, 2015 at 04:46:29PM +0100, Hannes Reinecke wrote: > Hi all, > > with ACS-4 ATA drives inherited the possibility to return > SCSI sense codes, allowing for a more precise error handling. > Not to mention a nice alignment with the SCSI error handling. > This patchset implements both,

Re: [PATCH v10 08/11] sched: replace capacity_factor by usage

2015-03-27 Thread Vincent Guittot
On 27 March 2015 at 15:52, Xunlei Pang wrote: > Hi Vincent, > > On 27 February 2015 at 23:54, Vincent Guittot > wrote: >> /** >> @@ -6432,18 +6435,19 @@ static inline void update_sd_lb_stats(struct lb_env >> *env, struct sd_lb_stats *sd >> >> /* >> * In case the

Re: [RFCv3 PATCH 30/48] sched: Calculate energy consumption of sched_group

2015-03-27 Thread Morten Rasmussen
On Fri, Mar 20, 2015 at 06:40:39PM +, Sai Gurrappadi wrote: > On 02/04/2015 10:31 AM, Morten Rasmussen wrote: > > +/* > > + * sched_group_energy(): Returns absolute energy consumption of cpus > > belonging > > + * to the sched_group including shared resources shared only by members of > > the

[PATCH] staging: comedi: make comedi_internal.h self-reliant

2015-03-27 Thread Ian Abbott
Add `#include`s and declare incomplete types to "comedi_internal.h" so that .c files still compile when it is the first file included. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_internal.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/staging/comedi/com

Re: [PATCH v2 00/16] net: dsa: HW bridging, EEE support

2015-03-27 Thread Andrew Lunn
On Thu, Mar 26, 2015 at 06:36:27PM -0700, Guenter Roeck wrote: > Patch 1 to 7 of this series prepare the drivers using the mv88e6xxx code > for HW bridging support, without adding the code itself. For the most part > this factors out common port initialization code. There is no functional > change

[RFT PATCH] drm/exynos: Enable DP clock to fix display on Exynos5250 and other

2015-03-27 Thread Krzysztof Kozlowski
After adding display power domain for Exynos5250 in commit 2d2c9a8d0a4f ("ARM: dts: add display power domain for exynos5250") the display on Chromebook Snow and others stopped working after boot. The reason for this suggested Andrzej Hajda: the DP clock was disabled. This clock is required by Disp

Re: [PATCH] i2c: dln2: set the device tree node of the adapter

2015-03-27 Thread Wolfram Sang
On Fri, Mar 27, 2015 at 05:37:10PM +0200, Octavian Purdila wrote: > This patch makes sure the platform device tree node is inherited by > the adapter device. This allows the DLN2 bus to work with i2c devices > defined in the device tree. > > Signed-off-by: Octavian Purdila Applied to for-next, t

Re: [PATCH 0/2 RESEND] IB/Verbs: Use helpers to refine the checking on transport and link layer

2015-03-27 Thread Jason Gunthorpe
On Fri, Mar 27, 2015 at 10:52:10AM +0100, Michael Wang wrote: > Basically I found there are three kind of check in current > implementation: > > 1. check transport type of device only > I'd like to use helper has_XX(device) > which means some port of the device has XX capability. > > 2. c

[PATCH 2/9] libata: whitespace cleanup in ata_get_cmd_descript()

2015-03-27 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/ata/libata-eh.c | 50 - 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index d35d7a7..50ffd4e 100644 --- a/drivers/ata/libata-eh.c +++ b/dr

[PATCH 7/9] libata: Implement support for sense data reporting

2015-03-27 Thread Hannes Reinecke
ACS-4 defines a sense data reporting feature set. This patch implements support for it. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-core.c | 20 ++- drivers/ata/libata-eh.c | 86 +-- include/linux/ata.h | 18 ++ 3 file

[PATCH 6/9] libata: Implement NCQ autosense

2015-03-27 Thread Hannes Reinecke
Some newer devices support NCQ autosense (cf ACS-4), so we should be using it to retrieve the sense code and speed up recovery. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-eh.c | 18 ++ drivers/ata/libata-scsi.c | 9 +++-- drivers/ata/libata.h | 1 + includ

Re: [PATCH] i2c: davinci: fixup wait_for_completion_timeout handling

2015-03-27 Thread Wolfram Sang
On Tue, Mar 17, 2015 at 03:51:13AM -0400, Nicholas Mc Guire wrote: > wait_for_completion_timeout return 0 (timeout) or >=1 (completion) so the > check > for >= 0 is always true and can be dropped implying that r==-EREMOTEIO and > thus > the return of -EREMOTEIO can be done in the if (dev->buf_l

[RFC PATCH 11/11] IB/Verbs: Use management helper cap_eth() for eth-check

2015-03-27 Thread Michael Wang
TODO: We need to classify these check into the management helper. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c| 2 +- drivers/infiniband/core/sa_query.c | 2 +- drivers/infiniband/core/verbs.c

[PATCH 5/9] libata: use status bit definitions in ata_dump_status()

2015-03-27 Thread Hannes Reinecke
Use the bit definitions for better readability. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-scsi.c | 29 +++-- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 1f1cb69..f065cb1 100644 ---

[PATCH 4/9] ide,ata: Rename ATA_IDX to ATA_SENSE

2015-03-27 Thread Hannes Reinecke
ATA-8 defines bit 1 as 'ATA_SENSE', not 'ATA_IDX'. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-scsi.c | 2 +- drivers/ide/ide-lib.c | 4 ++-- drivers/ide/ide-probe.c | 2 +- include/linux/ata.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/a

[PATCH 7/9] libata: Implement support for sense data reporting

2015-03-27 Thread Hannes Reinecke
ACS-4 defines a sense data reporting feature set. This patch implements support for it. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-core.c | 20 ++- drivers/ata/libata-eh.c | 86 +-- include/linux/ata.h | 18 ++ 3 file

[RFC PATCH 10/11] IB/Verbs: Use management helper cap_ib() for ib-check

2015-03-27 Thread Michael Wang
TODO: We need to classify these check into the management helper. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 5 ++--- drivers/infiniband/hw/mlx4/mad.c | 4 ++-- drivers/infiniband/hw/mlx4/main.c

[PATCH 8/9] libata-eh: Set 'information' field for autosense

2015-03-27 Thread Hannes Reinecke
If NCQ autosense or the sense data reporting feature is enabled the LBA of the offending command should be stored in the sense data 'information' field. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-core.c | 4 ++-- drivers/ata/libata-eh.c | 3 +++ drivers/ata/libata-scsi.c | 12

[PATCH 9/9] libata: Add tracepoints

2015-03-27 Thread Hannes Reinecke
Add some tracepoints for ata_qc_issue, ata_qc_complete, and ata_eh_link_autopsy. Signed-off-by: Hannes Reinecke --- drivers/ata/Makefile | 3 +- drivers/ata/libata-core.c | 8 +- drivers/ata/libata-eh.c | 4 +- drivers/ata/libata-trace.c| 151 in

[RFC PATCH 09/11] IB/Verbs: Use management helper has_ipoib() and, cap_ipoib() for ipoib-check

2015-03-27 Thread Michael Wang
Introduce helper has_ipoib() and cap_ipoib() to help us check if an IB device or it's port support IP over Infiniband. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 6 +++--- include/rdma/ib_ver

[PATCH 3/9] libata: whitespace fixes in ata_to_sense_error()

2015-03-27 Thread Hannes Reinecke
Signed-off-by: Hannes Reinecke --- drivers/ata/libata-scsi.c | 61 +++ 1 file changed, 40 insertions(+), 21 deletions(-) diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index b061ba2..d2b6196 100644 --- a/drivers/ata/libata-scsi.c ++

[RFC PATCH 08/11] IB/Verbs: Use management helper has_iwarp() for, iwarp-check

2015-03-27 Thread Michael Wang
Introduce helper has_iwarp() to help us check if an IB device support IWARP protocol. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- include/rdma/ib_verbs.h | 13 + net/sunrpc/xprtrdma/svc_rdma_recvfrom.c | 2 +-

Re: [PATCH v4 1/4] mmc: dw_mmc: Don't try to enable the CD until we're sure we're not deferring

2015-03-27 Thread Doug Anderson
Jaehoon, On Thu, Mar 26, 2015 at 10:55 PM, Jaehoon Chung wrote: > Hi, Doug. > > This patch is not related with [patch 2/4~4/4]. > "[PATCH v4 2/4] mmc: core: Add mmc_regulator_set_vqmmc()" is discussing.. > So i think if you're ok, i will pick this one [PATCH v4 1/4]. how about? Please take it an

[PATCH 1/9] libata: use READ_LOG_DMA_EXT

2015-03-27 Thread Hannes Reinecke
If READ_LOG_DMA_EXT is supported we should try to use it for reading the log pages. Signed-off-by: Hannes Reinecke --- drivers/ata/libata-eh.c | 9 +++-- include/linux/ata.h | 7 +++ 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/ata/libata-eh.c b/drivers/ata

[PATCH 0/9] libata sense code update

2015-03-27 Thread Hannes Reinecke
Hi all, with ACS-4 ATA drives inherited the possibility to return SCSI sense codes, allowing for a more precise error handling. Not to mention a nice alignment with the SCSI error handling. This patchset implements both, support for NCQ Autosense and the sense data reporting feature set. Plus some

[RFC PATCH 07/11] IB/Verbs: Use management helper has_mcast() and, cap_mcast() for mcast-check

2015-03-27 Thread Michael Wang
Introduce helper has_mcast() and cap_mcast() to help us check if an IB device or it's port support Multicast. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 2 +- drivers/infiniband/core/multicast.c |

[RFC PATCH 06/11] IB/Verbs: Use management helper has_sa() and cap_sa(), for sa-check

2015-03-27 Thread Michael Wang
Introduce helper has_sa() and cap_sa() to help us check if an IB device or it's port support Subnet Administrator. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/sa_query.c | 12 ++-- include/rdma/ib_verbs.h

[RFC PATCH 05/11] IB/Verbs: Use management helper has_cm() for cm-check

2015-03-27 Thread Michael Wang
Introduce helper has_cm() to help us check if an IB device support Communication Manager. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cm.c | 2 +- drivers/infiniband/core/cma.c | 10 -- drivers/infiniban

Re: [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

2015-03-27 Thread Florian Fainelli
2015-03-27 7:20 GMT-07:00 Stas Sergeev : > 27.03.2015 16:59, Andrew Lunn пишет: >>> But there is no MDIO, because SGMII AFAIK doesn't need MDIO. >>> SGMII has in-band status, but for some reason it seems currently >>> linux is not ready for such setup - this is what my patch addresses. >> >> Hackin

[RFC PATCH 04/11] IB/Verbs: Use management helper cap_smi() for smi-check

2015-03-27 Thread Michael Wang
Introduce helper cap_smi() to help us check if the port of an IB device support Subnet Management Interface. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/agent.c | 2 +- drivers/infiniband/core/mad.c| 2 +-

[RFC PATCH 03/11] IB/Verbs: Use management helper has_mad() for mad-check

2015-03-27 Thread Michael Wang
Introduce helper has_mad() to help us check if an IB device support Management Datagrams. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/mad.c | 4 ++-- drivers/infiniband/core/user_mad.c | 2 +- include/rdma/

[RFC PATCH 02/11] IB/Verbs: Use management helper tech_iboe() for iboe-check

2015-03-27 Thread Michael Wang
Introduce helper tech_iboe() to help us check if the port of an IB device is using RoCE/IBoE technology. Cc: Jason Gunthorpe Cc: Doug Ledford Cc: Ira Weiny Cc: Sean Hefty Signed-off-by: Michael Wang --- drivers/infiniband/core/cma.c | 6 ++ include/rdma/ib_verbs.h | 16 ++

Re: [PATCH 4/6] of: add API for changing parameters of fixed link

2015-03-27 Thread Florian Fainelli
2015-03-27 6:37 GMT-07:00 Stas Sergeev : > > The following API is added: > - of_phy_fixed_link_set_link() allows to set link state (up/down) > - of_phy_fixed_link_set_speed() allows to set link speed > - of_phy_fixed_link_set_duplex() allows to enable/disable duplex > > This API is needed when the

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-27 Thread Guenter Roeck
On 03/27/2015 08:27 AM, Wolfram Sang wrote: On Fri, Mar 27, 2015 at 06:14:28AM -0700, Guenter Roeck wrote: On 03/27/2015 06:01 AM, Wolfram Sang wrote: On Fri, Mar 27, 2015 at 05:51:11AM -0700, Guenter Roeck wrote: On 03/27/2015 01:09 AM, Wolfram Sang wrote: just to give you an update: I do

[PATCH 01/11] IB/Verbs: Use helpers to check transport and link layer

2015-03-27 Thread Michael Wang
We have so much places to check transport type and link layer type, it's now make sense to introduce some helpers in order to refine the lengthy code. This patch will introduce helpers: rdma_transport_is_ib() rdma_transport_is_iwarp() rdma_port_ll_is_ib() rdma_port_ll_is_eth() and

Re: [PATCH v2 0/5] Reenable might_sleep() checks for might_fault()

2015-03-27 Thread David Hildenbrand
> On Thu, Feb 19, 2015 at 03:48:05PM +0100, David Hildenbrand wrote: > > Downside is that now that I have to touch all fault handlers, I have to go > > through all archs again. > > You should be able to borrow from the -rt patches there. They have all > that. > Hi Peter, I hadn't much time to w

[RFC PATCH 00/11] IB/Verbs: IB Management Helpers

2015-03-27 Thread Michael Wang
There are plenty of lengthy code to check the transport type of IB device, or the link layer type of it's port, but actually we are just speculating whether a particular management is supported by the device/port. Thus instead of inferring, we should have our own mechanism for IB management capab

Re: [PATCH v10 07/11] sched: get CPU's usage statistic

2015-03-27 Thread Vincent Guittot
On 27 March 2015 at 16:12, Xunlei Pang wrote: > Hi Vincent, > > On 27 February 2015 at 23:54, Vincent Guittot > wrote: >> Monitor the usage level of each group of each sched_domain level. The usage >> is >> the portion of cpu_capacity_orig that is currently used on a CPU or group of >> CPUs. We

[PATCH] i2c: dln2: set the device tree node of the adapter

2015-03-27 Thread Octavian Purdila
This patch makes sure the platform device tree node is inherited by the adapter device. This allows the DLN2 bus to work with i2c devices defined in the device tree. Signed-off-by: Octavian Purdila --- drivers/i2c/busses/i2c-dln2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/i2c/

Re: [RFC v2 0/5] arm64: kvm: reset hyp context for kexec

2015-03-27 Thread Marc Zyngier
On 27/03/15 15:31, Kyle McMartin wrote: > On Thu, Mar 26, 2015 at 05:25:21PM +0900, AKASHI Takahiro wrote: >> 1) Call kvm_cpu_reset() on non-boot cpus in reboot notifier >>We don't have to do so in kexec-specific case. But the current code runs >>the function on each cpu for safety since we

Re: [PATCH] i2c: cadence: Handling Slave monitor mode

2015-03-27 Thread Wolfram Sang
On Tue, Mar 17, 2015 at 09:48:15PM +0530, Nava kishore Manne wrote: > In slave monitor mode, the I2C interface is set up as a master and > continues to attempt a transfer to a particular slave until the > slave device responds with an ACK. > > Added this feature for zero length transfers enable th

[PATCH 4/4] net/macb: trivial: correct wording of for caps

2015-03-27 Thread Nicolas Ferre
As a non-native English speaker, I would correct "capacities" of the macb peripheral to "capabilities": correct me if I'm wrong! Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/caden

Re: [PATCH 04/16] page-flags: define PG_locked behavior on compound pages

2015-03-27 Thread Mateusz Krawczuk
Hi! This patch breaks build of linux next since 2015-03-25 on arm using exynos_defconfig with arm-linux-gnueabi-linaro_4.7.4-2014.04, arm-linux-gnueabi-linaro_4.8.3-2014.04 and arm-linux-gnueabi-4.7.3-12ubuntu1(from ubuntu 14.04 lts). Compiler shows this error message: mm/migrate.c: In funct

[PATCH 3/4] net/macb: fix capabilities configuration

2015-03-27 Thread Nicolas Ferre
Capabilities configuration by macb_configure_caps() was moved far too late by 421d9df0628b (net/macb: merge at91_ether driver into macb driver) which would lead to badly configured hardware. So, move this function to early probe and modify its prototype to re-gain its original behavior. DT data ret

[PATCH 2/4] net/macb: add comment in macb_probe_queues

2015-03-27 Thread Nicolas Ferre
As we access the MID register directly, we need to tell why we don't use the macb_is_gem() dedicated function. Signed-off-by: Nicolas Ferre --- drivers/net/ethernet/cadence/macb.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/cadence/macb.c b/d

[PATCH 1/4] net/macb: only probe queues once and use stored values

2015-03-27 Thread Nicolas Ferre
When merging at91_ether and macb driver during 421d9df0628b (net/macb: merge at91_ether driver into macb driver) the probe function has been split. The code dealing with initialization of queues is now moved in macb_init() which needs information computed in the parent macb_probe() function. So, ad

[PATCH 0/4] net/macb: fixes after big driver update

2015-03-27 Thread Nicolas Ferre
The recent modifications to the macb driver lead to issues with the probe function code flow. Here are some attempt to fix them. The series is written on top of net-next. Nicolas Ferre (4): net/macb: only probe queues once and use stored values net/macb: add comment in macb_probe_queues net/

Re: [RFC v2 0/5] arm64: kvm: reset hyp context for kexec

2015-03-27 Thread Kyle McMartin
On Thu, Mar 26, 2015 at 05:25:21PM +0900, AKASHI Takahiro wrote: > 1) Call kvm_cpu_reset() on non-boot cpus in reboot notifier >We don't have to do so in kexec-specific case. But the current code runs >the function on each cpu for safety since we use a general reboot hook. > 2) Flush D$ in

Re: [PATCH] sched/fair: Restore env status before goto redo in load_balance()

2015-03-27 Thread Peter Zijlstra
On Wed, Mar 18, 2015 at 02:31:02PM +0800, Xunlei Pang wrote: > From: Xunlei Pang > > In load_balance(), some members of lb_env will be assigned with > new values in LBF_DST_PINNED case. But lb_env::flags may still > retain LBF_ALL_PINNED if no proper tasks were found afterwards > due to another b

Re: [PATCH 1/1] perf/x86: filter branches for PEBS event

2015-03-27 Thread Stephane Eranian
On Fri, Mar 27, 2015 at 5:10 AM, Peter Zijlstra wrote: > On Thu, Mar 26, 2015 at 12:40:14PM -0700, Stephane Eranian wrote: >> You are addressing one of the problems of this routine. But I think >> there is a more serious issue which is not addressed here. The >> intel_shared_regs_constraints() ass

Re: [PATCH] i2c: i2c-mux-gpio: Change log level to debug for probe deferrals

2015-03-27 Thread Wolfram Sang
On Wed, Mar 25, 2015 at 06:43:51PM +0100, Ioan Nicu wrote: > Probe deferral is not an error case. It happens only when > the necessary dependencies are not there yet. > > The driver core is already printing a message when a driver > requests probe deferral, so this can be traced in the logs > with

Re: [PATCH RESEND v4 2/3] sched/rt: Fix wrong SMP scheduler behavior for equal prio cases

2015-03-27 Thread Steven Rostedt
On Mon, 9 Mar 2015 15:32:27 +0800 Xunlei Pang wrote: > From: Xunlei Pang > > Currently, SMP RT scheduler has some trouble in dealing with > equal prio cases. > > For example, in check_preempt_equal_prio(): > When RT1(current task) gets preempted by RT2, if there is a > migratable RT3 with sam

Re: [PATCH 12/15] VFS: Add owner-filesystem positive/negative dentry checks

2015-03-27 Thread Miklos Szeredi
On Fri, Mar 27, 2015 at 3:42 PM, David Howells wrote: > Miklos Szeredi wrote: > >> I think this is confusing as hell, there needs to be more consistency >> in the naming. E.g. d_backing_is_positive() vs. d_is_positive(). I >> know it's the other way round now, but only with a few users. > > Ye

Re: [PATCH] eeprom: at24: Add support for large EEPROMs connected to SMBus adapters

2015-03-27 Thread Wolfram Sang
On Fri, Mar 27, 2015 at 06:14:28AM -0700, Guenter Roeck wrote: > On 03/27/2015 06:01 AM, Wolfram Sang wrote: > >On Fri, Mar 27, 2015 at 05:51:11AM -0700, Guenter Roeck wrote: > >>On 03/27/2015 01:09 AM, Wolfram Sang wrote: > >>> > just to give you an update: I do have some code, but it is a bit

Re: [PATCH 09/17] x86: make is_64bit_mm() widely available

2015-03-27 Thread Borislav Petkov
On Thu, Mar 26, 2015 at 11:33:45AM -0700, Dave Hansen wrote: > > From: Dave Hansen > > The uprobes code has a nice helper, is_64bit_mm(), that consults both > the runtime and compile-time flags for 32-bit support. Instead of > reinventing the wheel, pull it in to an x86 header so we can use it

Re: [RFC PATCH 00/11] an introduction of library operating system for Linux (LibOS)

2015-03-27 Thread Antti Kantee
On 27/03/15 09:21, Richard Weinberger wrote: Am 27.03.2015 um 07:34 schrieb Hajime Tazaki: it (arch/lib) is a hardware-independent architecture which provides necessary features to the remainder of kernel code, isn't it ? The stuff in arch/ is the code to glue the kernel to a specific piece of

Re: [PATCH v7 0/5] vfs: Non-blockling buffered fs read (page cache only)

2015-03-27 Thread Milosz Tanski
On Thu, Mar 26, 2015 at 11:28 PM, Andrew Morton wrote: > On Mon, 16 Mar 2015 14:27:10 -0400 Milosz Tanski wrote: > >> This patchset introduces two new syscalls preadv2 and pwritev2. They are the >> same syscalls as preadv and pwrite but with a flag argument. Additionally, >> preadv2 implements an

Re: [PATCH 01/17] x86, fpu: wrap get_xsave_addr() to make it safer

2015-03-27 Thread Borislav Petkov
On Thu, Mar 26, 2015 at 11:33:34AM -0700, Dave Hansen wrote: > > From: Dave Hansen > > The MPX code appears to be saving off the FPU in an unsafe > way. It does not disable preemption or ensure that the > FPU state has been allocated. > > This patch introduces a new helper which will do both

Hitel ajánlat

2015-03-27 Thread LENDFAIR ASSETS LTD
Hyvää päivää herra / rouva:     Olen Alexander Grants, taloudellinen johtaja yksityinen laina virasto Active Financial Services, Iso-Britannia. Olen täällä esitellä lainaohjelman, joka auttaa parantamaan raha, taloudellinen tilanne ja vapauttaa sinut kaikista finanssikriisin / ongelma.   Tarjoam

Re: [PATCH 08/17] x86, mpx: boot-time disable

2015-03-27 Thread Dave Hansen
On 03/27/2015 08:07 AM, Borislav Petkov wrote: >> xtensions (MPX) disabled\n"); > WARNING: printk() should include KERN_ facility level > #52: FILE: arch/x86/kernel/cpu/common.c:186: > + printk("nompx: Intel Memory Protection Extensions (MPX) disabled\n"); > > checkpatch is sometimes right.

[PATCH] Documentation/kernel-parameters: Move "eagerfpu" to its right place

2015-03-27 Thread Borislav Petkov
From: Borislav Petkov We're at least trying to be alphabetically sorted. So move "eagerfpu=" in the vicinity of where it belongs at least. Signed-off-by: Borislav Petkov Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: x...@kernel.org --- Documentation/kernel-parameters.txt | 12 ++--

[PATCH 7/7] staging: comedi: comedi_fops: extend spin-lock scope in comedi_event()

2015-03-27 Thread Ian Abbott
`comedi_event()` is called from low-level drivers to handle comedi asynchronous command event flags. As a safety check, it checks the subdevice's "run" flags to make sure an asynchronous command is running. It can also change the run flags to mark the command as no longer running (possibly also ma

[PATCH 4/7] staging: comedi: comedi_fops: remove unnecessary s->async use

2015-03-27 Thread Ian Abbott
In places where the `s->async` value has been stored in a local variable, use the variable instead of repeating `s->async`. Signed-off-by: Ian Abbott --- drivers/staging/comedi/comedi_fops.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/comedi/com

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