[PATCH v4 05/15] target-s390x: Define cpu model specific facility lists

2015-03-30 Thread Michael Mueller
This patch defines S390 cpu facilities and their presence at the different cpu model levels. Beside defining a base which facilities have to be requested per cpu model, these sets are associated to the defined cpu classes and used to calculate the list of supported cpu models in context of the

[PATCH] pinctrl: intel: Add Intel Sunrisepoint pin controller and GPIO support

2015-03-30 Thread Mika Westerberg
This driver supports pinctrl/GPIO hardware found on Intel Sunrisepoint (a Skylake PCH) providing users a pinctrl and GPIO interfaces (including GPIO interrupts). The driver is split into core and platform parts so that the same core driver can be reused in other drivers for other Intel GPIO

Re: [RFC] capabilities: Ambient capabilities

2015-03-30 Thread Andy Lutomirski
On Mar 30, 2015 7:55 AM, "Christoph Lameter" wrote: > > On Sat, 14 Mar 2015, Andrew G. Morgan wrote: > > > > > I thought I did. Please implement a lockable secure bit and I will > > Would this suffice? It puts the CAP_SETPCAP limitation back to how it > was in my earlier patch. > I really don't

[PATCH v4 14/15] target-s390x: Introduce facility test routine

2015-03-30 Thread Michael Mueller
The patch introduces routine s390_facility_test() which allows to verify a specific facility bit is set. Signed-off-by: Michael Mueller --- target-s390x/cpu-models.c | 29 + target-s390x/cpu-models.h | 1 + 2 files changed, 30 insertions(+) diff --git

[PATCH v4 15/15] target-s390x: Enable cpu model usage

2015-03-30 Thread Michael Mueller
This patch enables QEMU to instantiate S390 CPUs with cpu model types. Signed-off-by: Michael Mueller --- hw/s390x/s390-virtio.c | 12 +++- target-s390x/helper.c | 9 ++--- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/hw/s390x/s390-virtio.c

[PATCH v4 13/15] target-s390x: Extend QMP command query-cpu-definitions

2015-03-30 Thread Michael Mueller
This patch implements the QMP command 'query-cpu-definitions' in the S390 context. The command returns a list of cpu model names in the current host context. A consumer may successfully request each listed cpu model as long for a given accelerator and machine this model is runnable. request:

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-30 Thread Andy Lutomirski
On Mon, Mar 30, 2015 at 7:27 AM, Denys Vlasenko wrote: > On 03/26/2015 07:45 PM, Andy Lutomirski wrote: >> On Thu, Mar 26, 2015 at 5:42 AM, Denys Vlasenko wrote: >>> This change makes the check exact (no more false positives >>> on kernel addresses). >>> >>> It isn't really important to be fully

[PATCH v4 12/15] Add optional parameters to QMP command query-cpu-definitions

2015-03-30 Thread Michael Mueller
The patch adds optional parameters to the QMP command query-cpu-definitions. Thus the signature of routine arch_query_cpu_definitions needs to be changed for the stub function and all target implementations: target-arm target-i386 target-ppc target-s390 Signed-off-by: Michael Mueller ---

Slab infrastructure for bulk object allocation and freeing V2

2015-03-30 Thread Christoph Lameter
After all of the earlier discussions I thought it would be better to first get agreement on the basic way to allow implementation of the bulk alloc in the common slab code. So this is a revision of the initial proposal and it just covers the first patch. This patch adds the basic infrastructure

[PATCH v4 10/15] target-s390x: Prepare accelerator during cpu object realization

2015-03-30 Thread Michael Mueller
This patch implements routine s390_cpu_model_init(). It is called by the realize function during instantiation of an cpu object. Its task is to initialize the current accelerator with the properties of the selected processor model. Signed-off-by: Michael Mueller --- target-s390x/cpu-models.c |

[PATCH v4 11/15] target-s390x: New QMP command query-cpu-model

2015-03-30 Thread Michael Mueller
This patch implements a new QMP request named 'query-cpu-model'. It returns the cpu model of cpu 0 and its backing accelerator. request: {"execute" : "query-cpu-model" } answer: {"return" : {"name": "2827-ga2", "accel": "kvm" }} Alias names are resolved to their respective machine type and

[PATCH v4 01/15] Introduce stub routine cpu_desc_avail

2015-03-30 Thread Michael Mueller
This patch introduces the function cpu_desc_avail() which returns by default true if not architecture specific implemented. Its intention is to indicate if the cpu model description is available for display by list_cpus(). This change allows cpu model descriptions to become dynamically created by

[PATCH v4 03/15] target-s390x: Generate facility defines per cpu model

2015-03-30 Thread Michael Mueller
This patch introduces the helper "gen-facilities" which allows to generate facility list definitions and masks at compile time. Its flexibility is better and the error-proneness is lower when compared to static programming time added statements. The helper includes "target-s390x/cpu-facilities.h"

Re: [PATCH] x86/asm/entry/64: better check for canonical address

2015-03-30 Thread Denys Vlasenko
On 03/26/2015 07:45 PM, Andy Lutomirski wrote: > On Thu, Mar 26, 2015 at 5:42 AM, Denys Vlasenko wrote: >> This change makes the check exact (no more false positives >> on kernel addresses). >> >> It isn't really important to be fully correct here - >> almost all addresses we'll ever see will be

RE: [PATCH net-next 1/2] hv_netvsc: Cleanup the test for freeing skb when we use sendbuf mechanism

2015-03-30 Thread KY Srinivasan
> -Original Message- > From: Dan Carpenter [mailto:dan.carpen...@oracle.com] > Sent: Monday, March 30, 2015 2:03 AM > To: KY Srinivasan > Cc: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com;

Re: Re: Re: [PATCH] fix race condition between device_del and device_add

2015-03-30 Thread gre...@linuxfoundation.org
On Mon, Mar 30, 2015 at 02:02:27PM +, EunTaik Lee wrote: > > The problem was on 3.10.49. > > I carefully looked up the patches again and found out that there was > a patch on 3.18 that will solve the problem > > commite4a60d139060975eb956717e4f63ae348d4d8cc5 > sysfs: driver core:

Re: [patch 1/2] mm, doc: cleanup and clarify munmap behavior for hugetlb memory

2015-03-30 Thread Eric B Munson
On Sun, 29 Mar 2015, Hugh Dickins wrote: > On Thu, 26 Mar 2015, David Rientjes wrote: > > > munmap(2) of hugetlb memory requires a length that is hugepage aligned, > > otherwise it may fail. Add this to the documentation. > > Thanks for taking this on, David. But although munmap(2) is the one

Re: [PATCHv4 19/24] thp, mm: use migration entries to freeze page counts on split

2015-03-30 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > Currently, we rely on compound_lock() to get page counts stable on > splitting page refcounting. To get it work we also take the lock on > get_page() and put_page() which is hot path. > > This patch rework splitting code to setup migration entries to stabilaze >

Re: [PATCH] stm class: Adding master and channel parameter to ioctl function

2015-03-30 Thread Alexander Shishkin
Mathieu Poirier writes: > Hey Alex, Hi Mathieu, > Have a look at the following patch and see if you agree with my approach. If > so > simply add the code to a third version. Greg's comment about the two levels of ioctls got me thinking in the direction of adding callbacks to stm_data on

Re: pull request: linux-firmware: update cxgb4 firmware

2015-03-30 Thread Kyle McMartin
On Wed, Mar 25, 2015 at 02:16:02PM +0530, Hariprasad S wrote: > Hariprasad Shenai (1): > cxgb4: update firmware to revision 1.13.32.0 for T4 and T5 > > WHENCE | 8 > cxgb4/t4fw-1.12.25.0.bin | Bin 518656 -> 0 bytes > cxgb4/t4fw-1.13.32.0.bin | Bin 0 -> 533504

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-30 Thread Mika Westerberg
On Mon, Mar 30, 2015 at 04:52:49PM +0300, Octavian Purdila wrote: > What if we can do the pin configuration in gpiolib right after the > GPIO controller is initialized. I am thinking of searching the ACPI > namespace and looking for resources that have GpioInt entries for that > particular GPIO

Re: [V7 PATCH 1/3] ACPICA: Add ACPI _CLS processing

2015-03-30 Thread Suravee Suthikulanit
On 3/27/2015 12:51 PM, Moore, Robert wrote: + cls_objects = obj_desc->package.elements; + + if (obj_desc->common.type == ACPI_TYPE_PACKAGE && + obj_desc->package.count == 3 && + cls_objects[0]->common.type == ACPI_TYPE_INTEGER && +

Re: [Cluster-devel] [PATCH 1/1] gfs2: incorrect check for debugfs returns

2015-03-30 Thread Bob Peterson
- Original Message - > debugfs_create_dir and debugfs_create_file may return -ENODEV when debugfs > is not configured, so the return value should be checked against ERROR_VALUE > as well, otherwise the later dereference of the dentry pointer would crash > the kernel. > > Signed-off-by:

[PATCH] x86/asm/entry: clean up usage of TEST insns

2015-03-30 Thread Denys Vlasenko
After TEST insn, JE actually performs "jump if zero", let's use JZ mnemonic instead. No code changes, but less confusion. By the nature of TEST operation, it is often possible to test a narrower part of the operand: "testl $3, mem" -> "testb $3, mem", "testq $3, %rcx" -> "testb $3, %cl"

Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-30 Thread Michal Marek
On 2015-03-30 15:31, Ard Biesheuvel wrote: > On 30 March 2015 at 15:26, Russell King - ARM Linux > wrote: >> On Mon, Mar 30, 2015 at 02:38:35PM +0200, Michal Marek wrote: >>> Is this a limitation of a particular ARM ABI or a limitation of a state >>> of the art ARM linker or something else? >> >>

Re: [PATCHv4 18/24] thp, mm: split_huge_page(): caller need to lock page

2015-03-30 Thread Aneesh Kumar K.V
"Kirill A. Shutemov" writes: > We're going to use migration entries instead of compound_lock() to > stabilize page refcounts. Setup and remove migration entries require > page to be locked. > > Some of split_huge_page() callers already have the page locked. Let's > require everybody to lock the

Re: [RFC][PATCH 00/10] tracing: Use TRACE_DEFINE_ENUM() to show enum values

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 12:38:15 +0900 Masami Hiramatsu wrote: > (2015/03/28 6:37), Steven Rostedt wrote: > > As there are many tracepoints that use __print_symbolic() to translate > > numbers into ASCII strings, and several of these translate enums as > > well, it causes a problem for user space

Re: [PATCH 4/5] coresight-stm: adding driver for CoreSight STM component

2015-03-30 Thread Alexander Shishkin
Mathieu Poirier writes: > +static int stm_send(void *addr, const void *data, u32 size) > +{ > + u32 len = size; > + > + if (((unsigned long)data & 0x1) && (size >= 1)) { > + writeb_relaxed(*(u8 *)data, addr); > + data++; > + size--; > + } > +

[PATCH 3/5] ARM: mvebu: Allow using the GIC for wakeup in standby mode

2015-03-30 Thread Gregory CLEMENT
On the Armada 375/38x/39x SoCs, in standby mode the SoC stay powered and it is possible to wake-up from any interrupt sources. This patch adds flag to the GIC irqchip driver to let linux know this. Signed-off-by: Gregory CLEMENT --- arch/arm/mach-mvebu/board-v7.c | 7 +++ 1 file changed, 7

[PATCH 5/5] ARM: mvebu: Warn about the wake-ups sources not taken into account in suspend

2015-03-30 Thread Gregory CLEMENT
On the Armada 370/XP/38x/39x SoCs when the suspend to ram feature is supported, the SoC is shutdown and will be wake up by an external micro-controller, so there is no possibility to setup wake-up source from Linux. However, in standby mode, as the SoC stay powered and it is possible to wake-up

[PATCH 4/5] irqchip: armada-370-xp: Allow using wakeup source

2015-03-30 Thread Gregory CLEMENT
On the Armada 370/XP SoCs, in standby mode the SoC stay powered and it is possible to wake-up from any interrupt sources. This patch adds flag to the MPIC irqchip driver to let linux know this. Signed-off-by: Gregory CLEMENT --- drivers/irqchip/irq-armada-370-xp.c | 1 + 1 file changed, 1

[PATCH 2/5] ARM: mvebu: Add standby support

2015-03-30 Thread Gregory CLEMENT
Until now only one Armada XP based board supported suspend to ram. However most of the recent mvebu SoCs can support the standby mode. Unlike for the suspend to ram, nothing special have to be done for this SoC. This patch allow the system to use the standby mode on Armada 370, 38x, 39x and XP

[PATCH 0/5] Add standby support for the recent mvebu SoCs

2015-03-30 Thread Gregory CLEMENT
Hi, Until now only one Armada XP based board supported suspend to ram. This suspend to ram mode was unusual because it involved shutting down the SoC and relied on a PIC to wake up the system. However, most of the recent mvebu SoCs can support the standby mode. Unlike for the suspend to ram,

[PATCH 1/5] ARM: mvebu: Use __init for the PM initialization functions

2015-03-30 Thread Gregory CLEMENT
mvebu_pm_init and mvebu_armada_xp_gp_pm_init are only called during boot, so flag them with __init and save some memory. Signed-off-by: Gregory CLEMENT --- arch/arm/mach-mvebu/pm-board.c | 2 +- arch/arm/mach-mvebu/pm.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

Re: Re: Re: [PATCH] fix race condition between device_del and device_add

2015-03-30 Thread EunTaik Lee
The problem was on 3.10.49. I carefully looked up the patches again and found out that there was a patch on 3.18 that will solve the problem commit e4a60d139060975eb956717e4f63ae348d4d8cc5 sysfs: driver core: Fix glue dir race condition by gdp_mutex Sorry for bothering you. Thanks, Eun Taik

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 10:06:35PM +0900, Namhyung Kim escreveu: > On Mon, Mar 30, 2015 at 9:56 PM, Jiri Olsa wrote: > > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: > >> > @@ -380,10 +381,13 @@ static struct thread > >> > *__machine__findnew_thread(struct machine *machine, > >>

[PATCH 03/20] [SCSI] mpt3sas: Added module parameter 'unblock_io' to unblock IO's during disk addition

2015-03-30 Thread Sreekanth Reddy
During hot-plugging of a disk(having a flaky link), the disk addition stops and any further disk addition or removal doesn't happen on that controller. This is because, when driver receives DELAY_NOT_RESPONDING event for a disk while it is undergoing addition at the SCSI Transport layer, the

Re: [PATCH V5 1/6] perf, x86: use the PEBS auto reload mechanism when possible

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 02:06:07PM +0200, Peter Zijlstra wrote: > On Mon, Feb 23, 2015 at 09:25:51AM -0500, Kan Liang wrote: > > +++ b/arch/x86/kernel/cpu/perf_event_intel_ds.c > > @@ -673,6 +673,8 @@ void intel_pmu_pebs_enable(struct perf_event *event) > > struct hw_perf_event *hwc = >hw; > >

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

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 03:29:09PM +0200, Vincent Guittot wrote: > On 30 March 2015 at 14:24, Peter Zijlstra wrote: > > @@ -7647,6 +7648,8 @@ static void nohz_idle_balance(struct rq *this_rq, > > enum cpu_idle_type idle) > > break; > > > > rq =

[PATCH 05/20] [SCSI] mpt3sas: MPI 2.5 Rev I (2.5.4) specifications.

2015-03-30 Thread Sreekanth Reddy
Update MPI 2.5 Release: MPI 2.5 Rev I (2.5.4) specification and 2.00.33 header files Below is the change set from the MPI specification for I Rev 1) Added Base Enclosure Level bit to the Flags field of Manufacturing Page 7. 2) Updated description of the MaxTargetPortConnectTime field of SAS IO

[PATCH 07/20] [SCSI] mpt3sas: Bump mpt3sas Driver version to v5.100.00.00

2015-03-30 Thread Sreekanth Reddy
Bump mpt3sas Driver version to v5.100.00.00 Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index a182d26..29ecfd1 100644 ---

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-30 Thread Peter Zijlstra
On Mon, Mar 30, 2015 at 06:44:22PM +0530, Viresh Kumar wrote: > On 30 March 2015 at 18:17, Peter Zijlstra wrote: > > No, I means something else with that. We can remove the > > tvec_base::running_timer field. Everything that uses that can use > > tbase_running() AFAICT. > > Okay, there is one

[PATCH 10/20] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2015-03-30 Thread Sreekanth Reddy
Added the following Dell branding to the mpt3sas driver. "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Dell Branding String 0x10000x0097 0x1028 0x1F46DELL 12Gbps HBA Signed-off-by: Sreekanth Reddy ---

[PATCH 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-03-30 Thread Sreekanth Reddy
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be completed with DID_RESET host status. The definition of this log info value is "Virtual IO has failed and has to be retried". Firmware will provide this log info

Re: [PATCH] Bonding Overriding Configuration logic restored.

2015-03-30 Thread Andy Gospodarek
On Sun, Mar 29, 2015 at 02:20:25PM +0300, Anton Nayshtut wrote: > Before commit 3900f29021f0bc7fe9815aa32f1a993b7dfdd402 ("bonding: slight > optimizztion for bond_slave_override()") the override logic was to send > packets > with non-zero queue_id through the slave with corresponding queue_id,

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 03:20:59PM +0200, Jiri Olsa escreveu: > On Mon, Mar 30, 2015 at 10:07:08AM -0300, Arnaldo Carvalho de Melo wrote: > > Em Mon, Mar 30, 2015 at 02:56:31PM +0200, Jiri Olsa escreveu: > > > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: > > > > Hi Jiri, > > > >

[PATCH 12/20] [SCSI] mpt3sas: Bump mpt3sas driver version to v6.100.00.00

2015-03-30 Thread Sreekanth Reddy
Bump mpt3sas driver version to v6.100.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 8f99024..402c2ee 100644

[PATCH 18/20] [SCSI] mpt3sas: Call dma_mapping_error() API after mapping an address with dma_map_single() API

2015-03-30 Thread Sreekanth Reddy
Added dma_mapping_error() API after mapping an address with dma_map_single() API. Otherwise when CONFIG_DMA_API_DEBUG is enabled in the kernel, then it complains about mpt3sas driver not calling dma_mapping_error after mapping an address with dma_map_single Signed-off-by: Sreekanth Reddy ---

[PATCH 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-03-30 Thread Sreekanth Reddy
Added support for below customer specific brandings "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco Branding String 0x1000 0x97 0x1137 0x154 Cisco 9300-8i 12Gbps SAS HBA 0x1000 0x97 0x1137

[PATCH 11/20] [SCSI] mpt3sas: Add branding string support for OEM custom HBA

2015-03-30 Thread Sreekanth Reddy
Add the following OEM's branding to the mpt3sas driver. "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco Branding String 0x1000 0x97 SVID = 0x1137 0x014C Cisco 9300-8E 12G SAS HBA Signed-off-by: Sreekanth Reddy ---

[PATCH 13/20] [SCSI] mpt3sas: MPI 2.5 Rev K (2.5.6) specifications

2015-03-30 Thread Sreekanth Reddy
Below are the new changes to MPI 2.5 Rev K(2.5.6) specification and 2.00.35 header files 1) Added a minimum size requirement for target mode command buffers. 2) Added MinMSIxIndex and MaxMSIxIndex fields to CommandBufferPostBase Request. 3) For BIOS Page 1, added SSUTimeout field, and added

[PATCH 17/20] [SCSI] mpt3sas: Use alloc_ordered_workqueue() API instead of create_singlethread_workqueue() API

2015-03-30 Thread Sreekanth Reddy
Created a thread using alloc_ordered_workqueue() API in order to process the works from firmware Work-queue sequentially instead of create_singlethread_workqueue() API. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 7 ++- 1 file changed, 6 insertions(+), 1

[PATCH 15/20] [SCSI] mpt3sas: Return host busy error status to SML when DMA mapping of scatter gather list fails for a SCSI command

2015-03-30 Thread Sreekanth Reddy
scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA mapping of sg lists fails and zero if the sg list in the SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping failure case properly. So, Updated the code to return host busy error status to SCSI MID Layer (SML),

Re: [patch v11 13/23] ACPI / processor: Introduce phys_cpuid_t for CPU hardware ID

2015-03-30 Thread Catalin Marinas
On Fri, Mar 27, 2015 at 09:40:26PM +0800, Hanjun Guo wrote: > On 2015年03月26日 11:49, Hanjun Guo wrote: > >On 2015/3/26 1:21, Catalin Marinas wrote: > >>On Tue, Mar 24, 2015 at 10:02:46PM +0800, Hanjun Guo wrote: > >>>--- a/drivers/acpi/acpi_processor.c > >>>+++ b/drivers/acpi/acpi_processor.c >

[PATCH 20/20] [SCSI] mpt3sas : Bump mpt3sas driver version to 9.100.00.00

2015-03-30 Thread Sreekanth Reddy
Bump mpt3sas driver version to 9.100.00.00 Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 1fd1e7f..706f0a5 100644 ---

[PATCH 19/20] [SCSI] mpt3sas: When device is blocked followed by unblock fails, unfreeze the I/Os

2015-03-30 Thread Sreekanth Reddy
Issue: When the disks are getting discovered and assigned device handles by the kernel, a device block followed by an unblock (due to broadcast primitives) issued by the driver is interspersed by the kernel changing the state of the device. Therefore the unblock by the driver results in a no

[PATCH 01/20] [SCSI] mpt3sas: Added Combined Reply Queue feature to extend up-to 96 MSIX vector support

2015-03-30 Thread Sreekanth Reddy
In this patch, increased the number of MSIX vector support for SAS3 C0 HBAs to up-to 96. Following are changes that are done in this patch 1. Support this feature only for SAS3 C0 cards and also only when reply post free queue count is greater than 8. 2. Instead of using single

[PATCH 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-03-30 Thread Sreekanth Reddy
Removed the redundancy code while freeing the controller resources. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 57 + 1 file changed, 32 insertions(+), 25 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c

[PATCH 09/20] [SCSI] mpt3sas: MPI 2.5 Rev J (2.5.5) specification and 2.00.34 header files

2015-03-30 Thread Sreekanth Reddy
Following is the change set, 1. Added more defines for the BiosOptions field of MPI2_CONFIG_PAGE_BIOS_1. 2. Added MPI2_TOOLBOX_CLEAN_BIT26_PRODUCT_SPECIFIC definition. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpi/mpi2.h | 5 +++-- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h | 14

[PATCH 08/20] [SCSI] mpt3sas: Update MPI2 strings to MPI2.5

2015-03-30 Thread Sreekanth Reddy
Update MPI2 strings to MPI2.5. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 3 +-- drivers/scsi/mpt3sas/mpt3sas_base.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.c b/drivers/scsi/mpt3sas/mpt3sas_base.c

[PATCH 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-03-30 Thread Sreekanth Reddy
Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. This patch will make sure that 1.Driver to send IOC facts request message only if HBA is in operational or ready state. 2.If IOC is in fault state, a diagnostic reset

[PATCH 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-03-30 Thread Sreekanth Reddy
This Patch will provide more details of the devices such as slot number, enclosure logical id, enclosure level & connector name in the following scenarios, - When end device is added in the topology, - When the end device is removed from the setup, - When the SCSI mid layer issues TASK ABORT/

[PATCH 00/20] mpt3sas: driver update

2015-03-30 Thread Sreekanth Reddy
This patch set contains all the features and defect fixes from Phase4 to Phase8. Please review this patch set and consider these patches for next kernel release. Next time onwards we will make sure to post individual patches as and when we develop a feature & done basic testing instead of

Re: [PATCH V5 3/6] perf, x86: large PEBS interrupt threshold

2015-03-30 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 09:25:53AM -0500, Kan Liang wrote: > +/* > + * Flags PEBS can handle without an PMI. > + * > + * TID can only be handled by flushing at context switch. > + */ > +#define PEBS_FREERUNNING_FLAGS \ > + (PERF_SAMPLE_IP | PERF_SAMPLE_TID | PERF_SAMPLE_ADDR | \ > +

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-30 Thread Octavian Purdila
On Mon, Mar 30, 2015 at 4:33 PM, Mika Westerberg wrote: > On Mon, Mar 30, 2015 at 03:55:14PM +0300, Octavian Purdila wrote: >> On Mon, Mar 30, 2015 at 12:52 PM, Mika Westerberg >> wrote: >> > On Fri, Mar 27, 2015 at 11:36:25AM +0100, Linus Walleij wrote: >> >> On Fri, Mar 27, 2015 at 11:06 AM,

Re: [PATCH V5 5/6] perf, x86: drain PEBS buffer during context switch

2015-03-30 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 09:25:55AM -0500, Kan Liang wrote: > From: Yan, Zheng > > Flush the PEBS buffer during context switch if PEBS interrupt threshold > is larger than one. This allows perf to supply TID for sample outputs. > > Signed-off-by: Yan, Zheng > Signed-off-by: Kan Liang > --- >

Re: [RFC][PATCH 05/10] f2fs: Export the enums in the tracepoints to userspace

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 11:47:01 +0900 Namhyung Kim wrote: > > Cc: Namjae Jeon > > Cc: Pankaj Kumar > > Cc: Jaegeuk Kim > > AFAIK Jaegeuk's samsung email is not valid anymore.. > > $ grep -a Jaegeuk MAINTAINERS > M: Jaegeuk Kim > Thanks. That's what I get for using git blame instead of

Re: [RFC][PATCH 02/10] tracing: Allow for modules to export their trace enums as well

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 11:41:00 +0900 Namhyung Kim wrote: > > + * The trace_enum_maps are saved in an array whith two extra elements, > > s/whith/with/ Heh, thanks for catching that. > > > + * one at the beginning, and one at the end. The beginning item contains > > + * the count of the saved

Re: [PATCH V5 4/6] perf, x86: handle multiple records in PEBS buffer

2015-03-30 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 09:25:54AM -0500, Kan Liang wrote: > From: Yan, Zheng > > When PEBS interrupt threshold is larger than one, the PEBS buffer > may include multiple records for each PEBS event. This patch makes > the code first count how many records each PEBS event has, then > output the

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

2015-03-30 Thread Vincent Guittot
On 26 March 2015 at 14:02, Preeti U Murthy wrote: > When a CPU is kicked to do nohz idle balancing, it wakes up to do load > balancing on itself, followed by load balancing on behalf of idle CPUs. > But it may end up with load after the load balancing attempt on itself. > This aborts nohz idle

Re: [PATCH] sched/deadline: Use IPI to trigger DL task push migration instead of pulling

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 07:07:10 +0800 Wanpeng Li wrote: > +static int find_next_push_cpu(struct rq *rq) > +{ > + struct rq *next_rq; > + int cpu; > + > + while (1) { > + cpu = dlo_next_cpu(rq); > + if (cpu >= nr_cpu_ids) > + break; > +

Re: [PATCH] xen: vcpu_info reinit error after hold/release if VM has multi-cpu

2015-03-30 Thread Konrad Rzeszutek Wilk
On Mon, Mar 30, 2015 at 09:33:16PM +0800, Ouyang Zhaowei (Charles) wrote: > If the VM has multi-cpu the vcpu_info of cpu0 is the member of the structure > HYPERVISOR_shared_info, > and the others is not, but after hold/release the VM, the vcpu_info will be > reinitialized, What is

Re: [for-next][PATCH 1/4] ring-buffer: Replace this_cpu_*() with __this_cpu_*()

2015-03-30 Thread Steven Rostedt
On Mon, 30 Mar 2015 07:44:30 -0500 (CDT) Christoph Lameter wrote: > > > > > > or more compact > > > > > > unsigned int val = __this_cpu_read(current_context); > > > > > > __this_cpu_write(current_context, val & (val - 1)); > > > > Maybe I'll just use your compact version. > > Hmmm... It

[PATCH] xen: vcpu_info reinit error after hold/release if VM has multi-cpu

2015-03-30 Thread Ouyang Zhaowei (Charles)
If the VM has multi-cpu the vcpu_info of cpu0 is the member of the structure HYPERVISOR_shared_info, and the others is not, but after hold/release the VM, the vcpu_info will be reinitialized, the vcpu_info of all the vcpus will be considered as the member of HYPERVISOR_shared_info. This will

Re: [PATCH] IIO: Adds ACPI support for ST gyroscopes

2015-03-30 Thread Mika Westerberg
On Mon, Mar 30, 2015 at 03:55:14PM +0300, Octavian Purdila wrote: > On Mon, Mar 30, 2015 at 12:52 PM, Mika Westerberg > wrote: > > On Fri, Mar 27, 2015 at 11:36:25AM +0100, Linus Walleij wrote: > >> On Fri, Mar 27, 2015 at 11:06 AM, Mika Westerberg > >> wrote: > >> > On Thu, Mar 26, 2015 at

Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-30 Thread Ard Biesheuvel
On 30 March 2015 at 15:26, Russell King - ARM Linux wrote: > On Mon, Mar 30, 2015 at 02:38:35PM +0200, Michal Marek wrote: >> Is this a limitation of a particular ARM ABI or a limitation of a state >> of the art ARM linker or something else? > > It's a limitation of the ARM ISA. > > Normal

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

2015-03-30 Thread Vincent Guittot
On 30 March 2015 at 14:24, Peter Zijlstra wrote: > On Mon, Mar 30, 2015 at 01:03:03PM +0100, Morten Rasmussen wrote: >> On Mon, Mar 30, 2015 at 12:06:32PM +0100, Peter Zijlstra wrote: >> > On Fri, Mar 27, 2015 at 05:56:51PM +, Morten Rasmussen wrote: >> > >> > > I agree that it is hard to

[PATCH] wireless:wl1251: Fix typo in MODULE_DESCRIPTION in wl1251/main.c

2015-03-30 Thread Masanari Iida
This patch fix a spelling typo in MODULE_DESCRIPTION in wl1251/main.c Signed-off-by: Masanari Iida --- drivers/net/wireless/ti/wl1251/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ti/wl1251/main.c b/drivers/net/wireless/ti/wl1251/main.c index

Re: [RFC PATCH 2/2] Kbuild: avoid partial linking of drivers/built-in.o

2015-03-30 Thread Russell King - ARM Linux
On Mon, Mar 30, 2015 at 02:38:35PM +0200, Michal Marek wrote: > Is this a limitation of a particular ARM ABI or a limitation of a state > of the art ARM linker or something else? It's a limitation of the ARM ISA. Normal PC-relative branches, which are emitted by the C compiler, can branch +/-

Re: [PATCH] DTS/TX25: add missing indention

2015-03-30 Thread Juergen Borleis
Ups, sorry for the noise, please ignore. Already discussed elsewhere. jbe -- Pengutronix e.K.                              | Juergen Borleis             | Industrial Linux Solutions      | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 01:49:07PM +0200, Jiri Olsa escreveu: > On Mon, Mar 30, 2015 at 01:21:08PM +0200, Jiri Olsa wrote: > > > looks like race among __machine__findnew_thread and thread__put > > > over the machine->threads rb_tree insert/removal > > > is there a reason why thread__put does not

[PATCH 2/2] Kbuild: kallsyms: drop special handling of pre-3.0 GCC symbols

2015-03-30 Thread Ard Biesheuvel
Since we have required at least GCC v3.2 for some time now, we can drop the special handling of the 'gcc[0-9]_compiled.' label which is not emitted anymore since GCC v3.0. Signed-off-by: Ard Biesheuvel --- scripts/kallsyms.c | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kallsyms.c

[PATCH 1/2] Kbuild: kallsyms: ignore veneers emitted by the ARM linker

2015-03-30 Thread Ard Biesheuvel
When linking large kernels on ARM, the linker will insert veneers (i.e., PLT like stubs) when function symbols are out of reach for the ordinary relative branch/branch-and-link instructions. However, due to the fact that the kallsyms region sits in .rodata, which is between .text and .init.text,

[PATCH] DTS/TX25: add missing indention

2015-03-30 Thread Juergen Borleis
Signed-off-by: Juergen Borleis --- arch/arm/boot/dts/imx25-karo-tx25.dts | 84 + 1 file changed, 43 insertions(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/imx25-karo-tx25.dts b/arch/arm/boot/dts/imx25-karo-tx25.dts index 9b31faa96377..801c29e9c37c

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Jiri Olsa
On Mon, Mar 30, 2015 at 10:07:08AM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Mar 30, 2015 at 02:56:31PM +0200, Jiri Olsa escreveu: > > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: > > > Hi Jiri, > > > > > > On Mon, Mar 30, 2015 at 01:49:07PM +0200, Jiri Olsa wrote: > > > >

[PATCH 0/2] Kbuild: kallsyms: update suffix ignore logic

2015-03-30 Thread Ard Biesheuvel
Two patches that update the kallsyms ignore logic. Patch #1 adds logic to introduce symbols whose names end in (or equal) "_veneer". This prevent kallsyms generation errors on large ARM kernels where the emitted veneers will be different between the first and second pass, due to the fact that the

RE: [PATCH] dma: vdma: Fix compilation warnings

2015-03-30 Thread Appana Durga Kedareswara Rao
Hi Stephen, > -Original Message- > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > Sent: Monday, March 30, 2015 6:41 PM > To: Appana Durga Kedareswara Rao > Cc: vinod.k...@intel.com; linux-n...@vger.kernel.org; linux- > ker...@vger.kernel.org; Anirudha Sarangi > Subject: Re:

[PATCH v2] dma: vdma: Fix compilation warnings

2015-03-30 Thread Kedareswara rao Appana
This patch fixes the following compilation warnings. In file included from drivers/dma/xilinx/xilinx_vdma.c:26:0: include/linux/dmapool.h:18:4: warning: 'struct device' declared inside parameter list size_t size, size_t align, size_t allocation); ^ include/linux/dmapool.h:18:4: warning:

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 12:22:20PM +0200, Jiri Olsa escreveu: > On Mon, Mar 30, 2015 at 10:07:37AM +0200, Jiri Olsa wrote: > looks like race among __machine__findnew_thread and thread__put > over the machine->threads rb_tree insert/removal > > is there a reason why thread__put does not erase

[PATCH] genirq: provide dummy set_irq_wake()

2015-03-30 Thread Roger Quadros
Without this system suspend is broken on systems that have drivers calling enable/disable_irq_wake() for interrupts based off the dummy irq hook. (e.g. drivers/gpio/gpio-pcf857x.c) http://article.gmane.org/gmane.linux.kernel/1879035 Signed-off-by: Roger Quadros --- kernel/irq/dummychip.c | 6

Re: [RFC] vmstat: Avoid waking up idle-cpu to service shepherd work

2015-03-30 Thread Viresh Kumar
On 30 March 2015 at 18:17, Peter Zijlstra wrote: > No, I means something else with that. We can remove the > tvec_base::running_timer field. Everything that uses that can use > tbase_running() AFAICT. Okay, there is one instance which still needs it. migrate_timers():

Re: [PATCH] dma: vdma: Fix compilation warnings

2015-03-30 Thread Stephen Rothwell
Hi Appana, On Mon, 30 Mar 2015 11:40:02 + Appana Durga Kedareswara Rao wrote: > > > -Original Message- > > From: Stephen Rothwell [mailto:s...@canb.auug.org.au] > > Sent: Monday, March 30, 2015 3:06 PM > > To: Appana Durga Kedareswara Rao > > Cc: vinod.k...@intel.com;

Re: [PATCH v2 02/20] crypto: testmgr to use CRYPTO_ALG_INTERNAL

2015-03-30 Thread Herbert Xu
On Fri, Mar 27, 2015 at 11:50:42PM +0100, Stephan Mueller wrote: > If a cipher allocation fails with -ENOENT, the testmgr now retries > to allocate the cipher with CRYPTO_ALG_INTERNAL flag. > > As all ciphers, including the internal ciphers will be processed by > the testmgr, it needs to be able

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 12:22:20PM +0200, Jiri Olsa escreveu: > On Mon, Mar 30, 2015 at 10:07:37AM +0200, Jiri Olsa wrote: > > SNIP > > > > > > > 2 things: > > > 1. let run for a long time. go about using the server. do lots of builds, > > > etc. it takes time > > > > > > 2. use a box with a

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Arnaldo Carvalho de Melo
Em Mon, Mar 30, 2015 at 02:56:31PM +0200, Jiri Olsa escreveu: > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: > > Hi Jiri, > > > > On Mon, Mar 30, 2015 at 01:49:07PM +0200, Jiri Olsa wrote: > > > On Mon, Mar 30, 2015 at 01:21:08PM +0200, Jiri Olsa wrote: > > > > On Mon, Mar 30,

Re: [PATCH] debugfs: allow bad parent pointers to be passed in

2015-03-30 Thread Viresh Kumar
On 30 March 2015 at 18:29, Greg KH wrote: > If something went wrong with creating a debugfs file/symlink/directory, > that value could be passed down into debugfs again as a parent dentry. > To make caller code simpler, just error out if this happens, and don't > crash the kernel. > >

Re: [BUG] segfault in perf-top -- thread refcnt

2015-03-30 Thread Namhyung Kim
On Mon, Mar 30, 2015 at 9:56 PM, Jiri Olsa wrote: > On Mon, Mar 30, 2015 at 09:48:52PM +0900, Namhyung Kim wrote: >> Hi Jiri, >> >> On Mon, Mar 30, 2015 at 01:49:07PM +0200, Jiri Olsa wrote: >> > On Mon, Mar 30, 2015 at 01:21:08PM +0200, Jiri Olsa wrote: >> > > On Mon, Mar 30, 2015 at 12:22:20PM

Re: [PATCH] fix platform_no_drv_owner.cocci warnings

2015-03-30 Thread Thierry Reding
On Sun, Mar 29, 2015 at 03:49:20PM +0800, kbuild test robot wrote: > drivers/pinctrl/pinctrl-max77620.c:472:3-8: No need to set .owner here. The > core will do it. > > Remove .owner field if calls are used which set it automatically > > Generated by:

Re: [PATCH v2 0/4] x86: pmc_atom: Add Cherrytrail support

2015-03-30 Thread Shevchenko, Andriy
On Mon, 2015-02-23 at 14:45 +0200, Andy Shevchenko wrote: > On Tue, 2015-01-20 at 23:49 +0200, Andy Shevchenko wrote: > > This is the reworked patch series which had been sent earlier [1] to support > > Intel CherryTrail SoC. > > > > The patches were tested on both BayTrail and CherryTrail SoCs.

Re: [RFC PATCH] sched: Add cpu based entries to debugfs

2015-03-30 Thread David Ahern
On 3/29/15 9:08 PM, Mike Galbraith wrote: Oh, you can add /proc/sys/kernel/sched_domain diddling to the hotplug todo... which will either create read /sys, poke modify buttons over yonder in /proc situation, or have to duplicate that. -EPARSE. you mean the /proc/sys/kernel/sched_domain/

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