[RFC PATCH 0/3] workqueue: Control cpu affinity of !WQ_SYSFS unbound workqueues

2014-03-14 Thread Frederic Weisbecker
There are several types of workqueues. Some of them are bound to specific CPUs, some others are unbound and can be executed on any CPU. A tiny subset of the unbound workqueues have a sysfs representation in /sys/devices/virtual/workqueue/ and have a cpumask file than can be used to tweak their

Re: [PATCH v2] kbuild: enable use of password-protected signing keys

2014-03-14 Thread Michal Marek
On 2014-02-14 00:00, Emily Maier wrote: > Currently, the module signing script assumes that the private key is > not password-protected. This patch makes it somewhat more secure by > checking of a password file ("signing_key.pass") exists and passing it > to OpenSSL if so. I doubt that this

[PATCH] pci: Allow hotplug service drivers to operate in polling mode

2014-03-14 Thread Rajat Jain
Today the PCIe port bus driver disables the Hot-plug service if the port device does not have the capability to generate interrupts. However, drivers may have a polling method that can be used in this case. In case of pciehp, user must be able to use the "pciehp_poll_mode" parameter to use polling

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Brown
On Fri, Mar 14, 2014 at 04:14:03PM +, Mark Rutland wrote: > On Fri, Mar 14, 2014 at 08:55:26AM +, Steffen Trumtrar wrote: > > +Optional properties: > > +- num-chipselects : The number of chipselects. > If this is optional, when wuold I need to set this? What's the default > assumption?

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread One Thousand Gnomes
> The command line problem here is a total red herring. If you've got a > measured kernel, you have a measured command line. (If not, you don't That would be the sensible approach, but it has some quite drastic ramifications. > have a measured kernel.) Dealing with the command line has nothing

Re: [PATCH] gpio: gpio-dwapb size-cells should be two

2014-03-14 Thread Linus Walleij
On Fri, Mar 14, 2014 at 5:08 PM, Alan Tull wrote: > From: Alan Tull > > Fix size-cells to show use of OF_GPIO_ACTIVE_LOW flag. > > Signed-off-by: Alan Tull OK patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Brown
On Fri, Mar 14, 2014 at 04:14:03PM +, Mark Rutland wrote: > > +Synopsys DesignWare SPI master controller. > > + > > +Required properties: > > +- compatible : "snps,dw-spi-mmio" > Is there not a better name than "dw-spi-mmio"? > What's the full name of the device, as on a datasheet? Is there

Re: [PATCH v3 5/5] gpio / ACPI: Add support for ACPI GPIO operation regions

2014-03-14 Thread Linus Walleij
On Fri, Mar 14, 2014 at 4:58 PM, Mika Westerberg wrote: > GPIO operation regions is a new feature introduced in ACPI 5.0 > specification. This feature adds a way for platform ASL code to call back > to OS GPIO driver and toggle GPIO pins. OK this version of the patch applied! Yours, Linus

Re: [PATCH 1/2] perf, x86: Disallow setting undefined bits for PEBS events

2014-03-14 Thread Peter Zijlstra
On Fri, Mar 14, 2014 at 06:54:39AM -0700, Andi Kleen wrote: > On Fri, Mar 14, 2014 at 09:13:38AM +0100, Peter Zijlstra wrote: > > On Thu, Mar 13, 2014 at 02:22:12PM -0700, Andi Kleen wrote: > > > From: Andi Kleen > > > > > > The SDM forbids setting various event qualifiers with PEBS > > >

[PATCH 9/9][SCSI]mpt3sas: Bump mpt3sas driver version to v04.100.00.00

2014-03-14 Thread Reddy, Sreekanth
Bump mpt3sas driver version to 04.100.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 8fb2a38..09545fc

Re: [PATCH v11 20/27] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-03-14 Thread Tomasz Figa
Hi KyongHo, On 14.03.2014 06:10, Cho KyongHo wrote: Some master device descriptor like fimc-is which is an abstraction of very complex H/W may have multiple System MMUs. For those devices, the design of the link between System MMU and its master H/W is needed to be reconsidered. A link

[PATCH] staging: comedi: fix memory leak

2014-03-14 Thread Levente Kurusa
Call kfree() on bdev. The variable is otherwise leaked. Signed-off-by: Levente Kurusa --- drivers/staging/comedi/drivers/comedi_bond.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/comedi/drivers/comedi_bond.c b/drivers/staging/comedi/drivers/comedi_bond.c index

Re: [PATCH] perf/x86/intel: Use rdmsrl_safe when initializing RAPL PMU.

2014-03-14 Thread Andi Kleen
> The Intel ISR section for RDMSR seems to say: "Specifying a reserved > or unimplemented > MSR address in ECX will also cause a general protection exception". > > From a guest's perspective, MSR_RAPL_POWER_UNIT is unimplemented; kvm matches > this behavior. MSRs are model specific and defined

[PATCH 7/9][SCSI]mpt3sas: Added OEM branding Strings

2014-03-14 Thread Reddy, Sreekanth
Added following branding Strings for Intel custom HBAs support. Driver String: Vendor ID Device ID SubSystemVendor ID SubSystemDevice ID Intel(R) Integrated RAID Module RMS3JC080 0x1000 0x0097 0x8086

[PATCH 8/9][SCSI]mpt3sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-03-14 Thread Reddy, Sreekanth
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply

[GIT PULL] ACPI and power management fixes for v3.14-rc7

2014-03-14 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.14-rc7 to receive ACPI and power management fixes for v3.14-rc7 with top-most commit d5af40d6b34d9d1ba39a27f657948cbce4e0b0e7 Merge branches 'pnp', 'acpi-init',

[PATCH 6/9][SCSI]mpt3sas: Copyright in driver sources is updated for year the 2014

2014-03-14 Thread Reddy, Sreekanth
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/Kconfig|2 +- drivers/scsi/mpt3sas/mpi/mpi2.h |2 +- drivers/scsi/mpt3sas/mpi/mpi2_cnfg.h|2 +- drivers/scsi/mpt3sas/mpi/mpi2_init.h

[PATCH 5/9][SCSI]mpt3sas: MPI2.5 Rev H (2.5.3) specifications

2014-03-14 Thread Reddy, Sreekanth
Below is the change set in MPI2.5 Rev H specification and 2.00.32 header files 1) Added reserved fields to IO Unit Page 7 for future use. 2) Added optional functionality to IOCInit Request so that the host may specify a separate base address for each Reply Descriptor Post Queue. IOC support

[PATCH 4/9][SCSI]mpt3sas: Bump mpt3sas driver version to v03.100.00.00

2014-03-14 Thread Reddy, Sreekanth
Bump mpt3sas driver version to 03.100.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 3007521..0f7add9

Re: mm: mmap_sem lock assertion failure in __mlock_vma_pages_range

2014-03-14 Thread Sasha Levin
On 03/13/2014 04:57 PM, Hugh Dickins wrote: On Thu, 13 Mar 2014, Davidlohr Bueso wrote: On Tue, 2014-03-11 at 18:20 -0400, Sasha Levin wrote: On 03/11/2014 05:45 PM, Davidlohr Bueso wrote: On Tue, 2014-03-11 at 17:02 -0400, Sasha Levin wrote: On 03/11/2014 04:47 PM, Davidlohr Bueso wrote:

Re: [PATCH v6 6/7] arm64: ftrace: Add CALLER_ADDRx macros

2014-03-14 Thread AKASHI Takahiro
On 03/14/2014 07:09 PM, Will Deacon wrote: On Fri, Mar 14, 2014 at 03:00:14AM +, AKASHI Takahiro wrote: On 03/14/2014 12:54 AM, Will Deacon wrote: On Thu, Mar 13, 2014 at 10:13:49AM +, AKASHI Takahiro wrote: CALLER_ADDRx returns caller's address at specified level in call stacks. They

[PATCH 2/9][SCSI]mpt3sas: MPI2.5 Rev G (2.5.2) specifications

2014-03-14 Thread Reddy, Sreekanth
Below is the change set in MPI2.5 Rev G specification and 2.00.31 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. 3) Added Allow Protection Information bit for IR Volume Create. Signed-off-by: Sreekanth

[PATCH 3/9][SCSI]mpt3sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-03-14 Thread Reddy, Sreekanth
Added code to send an SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends an

Re: [PATCH] spi: dw-mmio: add oftree support

2014-03-14 Thread Mark Rutland
On Fri, Mar 14, 2014 at 08:55:26AM +, Steffen Trumtrar wrote: > Allow probing the dw-mmio from devicetree. > > Signed-off-by: Steffen Trumtrar > --- > This was tested on Socfpga and v3.14-rc6 > > .../devicetree/bindings/spi/spi-dw-mmio.txt| 25 > ++ >

[PATCH 1/9][SCSI]mpt3sas: Added new driver module Parameter disable_eedp to Disable EEDP Support

2014-03-14 Thread Reddy, Sreekanth
A new mpt3sas driver module parameter 'disable_eedp' is added to Disable EEDP support. By default DIF support is enabled in the driver and this module parameter would allow users to turn it off. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt3sas/mpt3sas_base.c | 38

Re: [PATCH v6 4/7] arm64: Add ftrace support

2014-03-14 Thread AKASHI Takahiro
On 03/14/2014 07:07 PM, Will Deacon wrote: On Fri, Mar 14, 2014 at 04:45:13AM +, AKASHI Takahiro wrote: On 03/14/2014 02:08 AM, Will Deacon wrote: On Thu, Mar 13, 2014 at 10:13:47AM +, AKASHI Takahiro wrote: This patch implements arm64 specific part to support function tracers, such

Re: [PATCH V2] perf: Speed up thread map generation

2014-03-14 Thread Jiri Olsa
On Fri, Mar 14, 2014 at 10:43:44AM -0400, Don Zickus wrote: > When trying to capture perf data on a system running spejbb2013, > perf hung for about 15 minutes. This is because it took that > long to gather about 10,000 thread maps and process them. > > I don't think a user wants to wait that

[PATCH][SCSI]mpt3sas: Description Patch

2014-03-14 Thread Reddy, Sreekanth
Please consider this patch set for next kernel release. Signed-off-by: Sreekanth Reddy --- [PATCH 1/9][SCSI]mpt3sas: Added new driver module Parameter disable_eedp to Disable EEDP Support. [PATCH 2/9][SCSI]mpt3sas: MPI2.5 Rev G (2.5.2) specifications. [PATCH 3/9][SCSI]mpt3sas: Clear PFA Status

Re: ACPICA 20140214 auto-serialize weirds my machine...

2014-03-14 Thread Rafael J. Wysocki
On 3/14/2014 5:05 PM, Valdis Kletnieks wrote: Surprisingly enough, this hasn't seemed to have bitten many Linux people yet, Google only finds a BSD thread (where the same ACPICA code is in use): http://comments.gmane.org/gmane.os.dragonfly-bsd.user/1817 I found this, but haven't tried it yet:

Re: [PATCH v11 19/27] iommu/exynos: add support for power management subsystems.

2014-03-14 Thread Tomasz Figa
Hi KyongHo, On 14.03.2014 06:10, Cho KyongHo wrote: This adds support for Suspend to RAM and Runtime Power Management. Since System MMU is located in the same local power domain of its master H/W, System MMU must be initialized before it is working if its power domain was ever turned off. TLB

Re: [patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Rik van Riel
On 03/14/2014 11:35 AM, Johannes Weiner wrote: > Page reclaim force-scans / swaps anonymous pages when file cache drops > below the high watermark of a zone in order to prevent what little > cache remains from thrashing. > > However, on bigger machines the high watermark value can be quite >

ACPICA 20140214 auto-serialize weirds my machine...

2014-03-14 Thread Valdis Kletnieks
Surprisingly enough, this hasn't seemed to have bitten many Linux people yet, Google only finds a BSD thread (where the same ACPICA code is in use): http://comments.gmane.org/gmane.os.dragonfly-bsd.user/1817 I found this, but haven't tried it yet: commit 5f1cb4a92e4c4aabd139ff9ca1e11c0e2db2ac59

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Matthew Garrett
On Fri, 2014-03-14 at 08:54 -0700, Kees Cook wrote: > All the more reason to ignore command line at this point. For Chrome > OS, it's part of our boot state, so we don't care about it. For > generic Secure Boot, we can add checks for dangerous stuff as we go > forward. That's why I like this

[PATCH v3 5/5] gpio / ACPI: Add support for ACPI GPIO operation regions

2014-03-14 Thread Mika Westerberg
GPIO operation regions is a new feature introduced in ACPI 5.0 specification. This feature adds a way for platform ASL code to call back to OS GPIO driver and toggle GPIO pins. An example ASL code from Lenovo Miix 2 tablet with only relevant part listed: Device (\_SB.GPO0) { Name (AVBL,

[PATCH v7 0/6] Support for creating generic host_bridge from device tree

2014-03-14 Thread Liviu Dudau
I'm dropping the RFC tag now as I have the feeling that we are starting to have something in a good shape that can be pushed for more testing in near future. This is v7 of my attempt to add support for a generic pci_host_bridge controller created from a description passed in the device tree.

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Kees Cook
On Fri, Mar 14, 2014 at 8:46 AM, Matthew Garrett wrote: > On Fri, 2014-03-14 at 08:23 -0700, Kees Cook wrote: > >> The command line problem here is a total red herring. If you've got a >> measured kernel, you have a measured command line. (If not, you don't >> have a measured kernel.) Dealing

[PATCH 06/11][SCSI]mpt2sas: Bump mpt2sas driver version to 17.100.00.00

2014-03-14 Thread Reddy, Sreekanth
Bump mpt2sas driver version to 17.100.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_base.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 80d26c1..0a6747a

Re: [RFC 4/5] clocksource: omap-timer: Introduce clocksource driver for OMAP SoCs

2014-03-14 Thread Tony Lindgren
* Joel Fernandes [140313 16:52]: > On 03/13/2014 03:48 PM, Tony Lindgren wrote: > > * Joel Fernandes [140313 13:43]: > >> We introduce functions to initialize clocksource and clockevent, use > >> CLOCKSOURCE_OF_DECLARE to declare the clocksource, and handle the > >> clocksource > >> selection

[PATCH 11/11][SCSI]mpt2sas: Bump mpt2sas driver version to 18.100.00.00

2014-03-14 Thread Reddy, Sreekanth
Bump mpt2sas driver version to 18.100.00.00. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_base.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 6dbbaba..cc49cbf

[PATCH 10/11][SCSI]mpt2sas: Added module parameter 'unblock_io' to unblock IO's during disk addition

2014-03-14 Thread Reddy, Sreekanth
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 for a disk when it is undergoing addition in the SCSI Mid layer, the driver would

[PATCH 03/11][SCSI]mpt2sas: MPI2 Rev Y (2.00.17) and Rev Z (2.00.18) specifications

2014-03-14 Thread Reddy, Sreekanth
Below is the change set in MPI2 Rev Y specification and in 2.00.17 header files 1) Added SCSIStatusQualifier to SCSI IO Error Reply message. 2) Added ATA Security Freeze Lock to IO Unit Page 1 Flags field. Below is the change set in MPI2 Rev Z specification and in 2.00.19 header files 1) Added

Re: [PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-14 Thread Roger Quadros
On 03/14/2014 04:54 PM, Kishon Vijay Abraham I wrote: > > > On Friday 14 March 2014 05:41 PM, Roger Quadros wrote: >> On 03/14/2014 12:38 PM, Kishon Vijay Abraham I wrote: >>> Hi Roger, >>> >>> On Friday 07 March 2014 06:39 PM, Roger Quadros wrote: Add nodes for the Super Speed USB

[PATCH 04/11][SCSI]mpt2sas: Copyright in driver sources is updated for year the 2014

2014-03-14 Thread Reddy, Sreekanth
Copyright in driver sources is updated for year the 2014. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/Kconfig |2 +- drivers/scsi/mpt2sas/mpt2sas_base.c |2 +- drivers/scsi/mpt2sas/mpt2sas_base.h |2 +- drivers/scsi/mpt2sas/mpt2sas_config.c|

[PATCH v7 2/3] arm64: Extend the PCI I/O space to 16MB

2014-03-14 Thread Liviu Dudau
From: Catalin Marinas The patch moves the PCI I/O space (currently at 64K) before the earlyprintk mapping and extends it to 16MB. Signed-off-by: Catalin Marinas --- Documentation/arm64/memory.txt | 16 ++-- arch/arm64/include/asm/io.h| 2 +- 2 files changed, 11 insertions(+),

[PATCH 09/11][SCSI]mpt2sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state

2014-03-14 Thread Reddy, Sreekanth
The driver would send IOC facts only if HBA is in operational or ready state. If it is in fault state, a diagnostic reset would be issued. It would wait for 10 seconds to exit out of reset state. If the HBA continues to be in reset state, then the HBA wouldn't be claimed by the driver.

Re: [Regression, bisected 9e30cc] "sysfs, kernfs: no need to kern_mount() sysfs from sysfs_init()" prevents system from booting correctly

2014-03-14 Thread Alexandre Demers
Hello Tejun, Since it takes a while before the system begins to display errors, I'll have to test it and report it later today when I'll get back from work. Now, about the userland part, this seems a broad question... I'm using Arch Linux 64bit (updated mostly on a daily basis). But I suspect

[PATCH 08/11][SCSI]mpt2sas: Added Reply Descriptor Post Queue (RDPQ) Array support

2014-03-14 Thread Reddy, Sreekanth
Up to now, Driver allocates a single contiguous block of memory pool for all reply queues and passes down a single address in the ReplyDescriptorPostQueueAddress field of the IOC Init Request Message to the firmware. When firmware receives this address, it will program each of the Reply

Re: Zynq macb

2014-03-14 Thread Sören Brinkmann
On Fri, 2014-03-14 at 06:37AM +0100, Michal Simek wrote: > On 03/13/2014 11:33 PM, Sören Brinkmann wrote: > > On Thu, 2014-03-13 at 03:16PM -0700, Sören Brinkmann wrote: > >> Hi Nicolas, > >> > >> I did some testing on the current linux-next tree and ran iperf on Zynq. > >> It seems that network

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Matthew Garrett
On Fri, 2014-03-14 at 08:23 -0700, Kees Cook wrote: > The command line problem here is a total red herring. If you've got a > measured kernel, you have a measured command line. (If not, you don't > have a measured kernel.) Dealing with the command line has nothing to > do with enforcing the

[git pull] device mapper fixes to include in 3.14

2014-03-14 Thread Mike Snitzer
The following changes since commit cebc2de44d3bce53e46476e774126c298ca2c8a9: dm space map metadata: fix refcount decrement below 0 which caused corruption (2014-03-07 12:02:47 -0500) are available in the git repository at:

[PATCH 07/11][SCSI]mpt2sas: For >2TB volumes, DirectDrive support sends I/Os with LBA bit 31 to IR FW instead of DirectDrive

2014-03-14 Thread Reddy, Sreekanth
There was a down casting of the volume max LBA from a U64 to a U32, which is taken out and now the max LBA is set appropriately to U64. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_scsih.c | 14 ++ 1 files changed, 10 insertions(+), 4 deletions(-) diff --git

[PATCH 05/11][SCSI]mpt2sas: Clear PFA Status on SGPIO when PFA Drive is Removed or Replaced

2014-03-14 Thread Reddy, Sreekanth
Added code to send a SEP message that turns off the Predictive Failure LED when a drive is removed (if Predictive Failure LED was turned on). Added a new flag 'pfa_led_on' per device that tracks the status of Predictive Failure LED. When the drive is removed, this flag is checked and sends the

[PATCH v7 4/6] pci: Introduce a domain number for pci_host_bridge.

2014-03-14 Thread Liviu Dudau
Make it easier to discover the domain number of a bus by storing the number in pci_host_bridge for the root bus. Several architectures have their own way of storing this information, so it makes sense to try to unify the code. While at this, add a new function that creates a root bus in a given

[PATCH 01/11][SCSI]mpt2sas: Added driver module parameter max_msix_vectors

2014-03-14 Thread Reddy, Sreekanth
Added driver module parameter max_msix_vectors. Using this module parameter the maximum number of MSI-X vectors could be set. The number of MSI-X vectors used would be the minimum of MSI-X vectors supported by the HBA, the number of CPU cores and the value set to max_msix_vectors module

[PATCH v7 5/6] pci: Export find_pci_host_bridge() function.

2014-03-14 Thread Liviu Dudau
This is a useful function and we should make it visible outside the generic PCI code. Export it as a GPL symbol. Signed-off-by: Liviu Dudau Tested-by: Tanmay Inamdar --- drivers/pci/host-bridge.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/pci/host-bridge.c

[PATCH v7 3/3] arm64: Add architecture support for PCI

2014-03-14 Thread Liviu Dudau
Use the generic host bridge functions to provide support for PCI Express on arm64. There is no support for ISA memory. Signed-off-by: Liviu Dudau Tested-by: Tanmay Inamdar --- arch/arm64/Kconfig| 19 +++- arch/arm64/include/asm/Kbuild | 1 + arch/arm64/include/asm/io.h | 3

[PATCH v7 0/3] Add support for PCI in AArch64

2014-03-14 Thread Liviu Dudau
Hi, This patch adds support for PCI to AArch64. It is based on my v7 patch that adds support for creating generic host bridge structure from device tree. With that in place, I was able to boot a platform that has PCIe host bridge support and use a PCIe network card. I have dropped the RFC tag

[PATCH v7 1/3] Fix ioport_map() for !CONFIG_GENERIC_IOMAP cases.

2014-03-14 Thread Liviu Dudau
The inline version of ioport_map() that gets used when !CONFIG_GENERIC_IOMAP is wrong. It returns a mapped (i.e. virtual) address that can start from zero and completely ignores the PCI_IOBASE and IO_SPACE_LIMIT that most architectures that use !CONFIG_GENERIC_MAP define. Signed-off-by: Liviu

Re: [PATCH] pinctrl: msm: Fix compile error in msm_config_reg()

2014-03-14 Thread Linus Walleij
On Fri, Mar 14, 2014 at 4:06 PM, Georgi Djakov wrote: > Fix the following compilation error in msm_config_reg(): > > drivers/pinctrl/pinctrl-msm.c: In function 'msm_config_reg': > drivers/pinctrl/pinctrl-msm.c:218:4: error: 'reg' undeclared (first use in > this > function) > > Error is caused

Re: [PATCH 2/5] perf tools: Factor machine__find_thread to take tid argument

2014-03-14 Thread Adrian Hunter
On 14/03/2014 4:15 p.m., Arnaldo Carvalho de Melo wrote: Em Fri, Mar 14, 2014 at 03:00:03PM +0100, Jiri Olsa escreveu: Forcing the code to always search thread by pid/tid pair. The PID value will be needed in future to determine the process thread leader for map groups sharing. This one

[PATCH 02/11][SCSI]mpt2sas: Added new driver module Parameter disable_eedp to Disable EEDP Support

2014-03-14 Thread Reddy, Sreekanth
A new mpt2sas driver module parameter 'disable_eedp' is added to Disable EEDP support. By default DIF support is enabled in the driver and this module parameter would allow users to turn it off. Signed-off-by: Sreekanth Reddy --- drivers/scsi/mpt2sas/mpt2sas_base.c |9 --

[PATCH][SCSI]mpt2sas: Description Patch

2014-03-14 Thread Reddy, Sreekanth
Please consider this patch set for next kernel release. Signed-off-by: Sreekanth Reddy --- [PATCH 01/11][SCSI]mpt2sas: Added driver module parameter max_msix_vectors. [PATCH 02/11][SCSI]mpt2sas: Added new driver module Parameter disable_eedp to Disable EEDP Support. [PATCH

Re: [PATCH v10 net-next 1/3] filter: add Extended BPF interpreter and converter

2014-03-14 Thread Alexei Starovoitov
On Fri, Mar 14, 2014 at 5:58 AM, Pablo Neira Ayuso wrote: > On Wed, Mar 12, 2014 at 02:43:32PM -0700, Alexei Starovoitov wrote: >> diff --git a/include/linux/filter.h b/include/linux/filter.h >> index e568c8ef896b..6e6aab5e062b 100644 >> --- a/include/linux/filter.h >> +++

[PATCH v7 2/6] pci: OF: Fix the conversion of IO ranges into IO resources.

2014-03-14 Thread Liviu Dudau
The ranges property for a host bridge controller in DT describes the mapping between the PCI bus address and the CPU physical address. The resources framework however expects that the IO resources start at a pseudo "port" address 0 (zero) and have a maximum size of IO_SPACE_LIMIT. The conversion

[PATCH v7 3/6] pci: Create pci_host_bridge before its associated bus in pci_create_root_bus.

2014-03-14 Thread Liviu Dudau
Before commit 7b5436635800 the pci_host_bridge was created before the root bus. As that commit has added a needless dependency on the bus for pci_alloc_host_bridge() the creation order has been changed for no good reason. Revert the order of creation as we are going to depend on the

[patch] mm: vmscan: do not swap anon pages just because free+file is low

2014-03-14 Thread Johannes Weiner
Page reclaim force-scans / swaps anonymous pages when file cache drops below the high watermark of a zone in order to prevent what little cache remains from thrashing. However, on bigger machines the high watermark value can be quite large and when the workload is dominated by a static

Re: [PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of data integrity write

2014-03-14 Thread Roman Peniaev
On Fri, Mar 14, 2014 at 11:11 PM, Tejun Heo wrote: > Hello, > > On Fri, Mar 14, 2014 at 11:07:04PM +0900, Roman Peniaev wrote: >> Seems the following message should be better: >> When data inegrity operation (sync, fsync, fdatasync calls) happens >> writeback control is set to WB_SYNC_ALL. >> In

[PATCH v7 6/6] pci: Add support for creating a generic host_bridge from device tree

2014-03-14 Thread Liviu Dudau
Several platforms use a rather generic version of parsing the device tree to find the host bridge ranges. Move the common code into the generic PCI code and use it to create a pci_host_bridge structure that can be used by arch code. Based on early attempts by Andrew Murray to unify the code. Used

[PATCH v7 1/6] pci: Introduce pci_register_io_range() helper function.

2014-03-14 Thread Liviu Dudau
Some architectures do not share x86 simple view of the PCI I/O space and instead use a range of addresses that map to bus addresses. For some architectures these ranges will be expressed by OF bindings in a device tree file. Introduce a pci_register_io_range() helper function that can be used by

[v2 PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of WB_SYNC_ALL

2014-03-14 Thread Roman Pen
When data integrity operation happens (sync, fsync, fdatasync calls) writeback control is set to WB_SYNC_ALL. In that case all write requests are marked with WRITE_SYNC (WRITE | REQ_SYNC | REQ_NOIDLE) indicating that caller is waiting for completion and block layer or block device should

[0/4] uapi header fixes for musl libc

2014-03-14 Thread David Heidelberger
The patch series enables support for the uapi headers to cooperate with musl libc. -- 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

Re: [PATCH RFC 0/9] socket filtering using nf_tables

2014-03-14 Thread Alexei Starovoitov
On Thu, Mar 13, 2014 at 5:29 AM, Pablo Neira Ayuso wrote: > On Wed, Mar 12, 2014 at 08:29:07PM -0700, Alexei Starovoitov wrote: >> On Wed, Mar 12, 2014 at 2:15 AM, Pablo Neira Ayuso >> wrote: > [...] It seems you're assuming that ebpf inherited all the shortcomings of bpf and making conclusion

Re: [PATCH v11 13/27] iommu/exynos: support for device tree

2014-03-14 Thread Sachin Kamat
Hi KyongHo, On 14 March 2014 10:39, Cho KyongHo wrote: > This commit adds device tree support for System MMU. > > Signed-off-by: Cho KyongHo > --- > drivers/iommu/Kconfig|5 ++--- > drivers/iommu/exynos-iommu.c | 21 + > 2 files changed, 19 insertions(+), 7

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-14 Thread Josh Cartwright
On Fri, Mar 14, 2014 at 03:12:26PM +0200, Ohad Ben-Cohen wrote: > On Sun, Mar 2, 2014 at 10:19 PM, Bjorn Andersson wrote: > > When introducing the ability to reference a hwspin lock via a phandle > > in device tree it makes a big difference to be able to differ between > > the case of

Re: [PATCH 1/5] drivers: input: keyboard: st-keyscan: add keyscan driver

2014-03-14 Thread Dmitry Torokhov
On Fri, Mar 14, 2014 at 11:13:17AM +0100, Gabriel Fernandez wrote: > Hi Lee, > > On 03/10/2014 12:48 PM, Lee Jones wrote: > >Hi Gabi, > > > >Sorry for the delay. It was a hectic week last week. > > > >As promised: > > > >>This patch adds ST Keyscan driver to use the keypad hw a subset > >>of ST

Re: Trusted kernel patchset for Secure Boot lockdown

2014-03-14 Thread Kees Cook
On Fri, Mar 14, 2014 at 5:51 AM, Matthew Garrett wrote: > On Fri, 2014-03-14 at 12:22 +, One Thousand Gnomes wrote: >> > Have you actually looked at these patches? I've looked at every case of >> > RAWIO in the kernel. For cases that are hardware specific and tied to >> > fairly old hardware,

Re: [PATCH 3/3] ath10k: add firmware files

2014-03-14 Thread Arend van Spriel
On 03/14/14 13:47, Dave Taht wrote: On Fri, Mar 14, 2014 at 5:36 AM, Luis R. Rodriguez wrote: On Fri, Mar 14, 2014 at 1:45 AM, Kalle Valo wrote: +FOR ANY DIRECT DAMAGES ARISING UNDER OR RESULTING FROM +THIS AGREEMENT OR IN CONNECTION WITH ANY USE OF THE SOFTWARE SHALL NOT +EXCEED A TOTAL

[PATCH 1/4] glibc specific inclusion of sysinfo.h in kernel.h

2014-03-14 Thread David Heidelberger
including sysinfo.h from kernel.h makes no sense whatsoever, but removing it breaks glibc's userspace header, which includes kernel.h instead of sysinfo.h from their sys/sysinfo.h. this seems to be a historical mistake. on musl, including any header that uses kernel.h directly or indirectly plus

[PATCH 4/4] libc-compat.h: prevent redefinition of struct ethhdr

2014-03-14 Thread David Heidelberger
Signed-off-by: John Spencer Tested-by: David Heidelberger --- include/uapi/linux/if_ether.h| 4 +++- include/uapi/linux/libc-compat.h | 6 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/include/uapi/linux/if_ether.h b/include/uapi/linux/if_ether.h index

[PATCH 2/4] if_bridge.h: needs struct in6_addr

2014-03-14 Thread David Heidelberger
Signed-off-by: John Spencer Tested-by: David Heidelberger --- include/uapi/linux/if_bridge.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/if_bridge.h b/include/uapi/linux/if_bridge.h index 39f621a..da17e45 100644 --- a/include/uapi/linux/if_bridge.h +++

Re: [PATCH v11 10/27] iommu/exynos: use managed device helper functions

2014-03-14 Thread Sachin Kamat
Hi KyongHo, On 14 March 2014 10:35, Cho KyongHo wrote: > This patch uses managed device helper functions in the probe(). > > Signed-off-by: Cho KyongHo > --- [snip] > + data->clk = devm_clk_get(dev, "sysmmu"); > + if (IS_ERR(data->clk)) { > + dev_info(dev, "No gate

[PATCH 3/4] libc-compat.h: fix some issues arising from in6.h

2014-03-14 Thread David Heidelberger
namely redefinition of some structs provided by netinet/in.h. Signed-off-by: John Spencer Tested-by: David Heidelberger --- include/uapi/linux/libc-compat.h | 25 - 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/include/uapi/linux/libc-compat.h

Re: [PATCH] perf/x86/intel: Use rdmsrl_safe when initializing RAPL PMU.

2014-03-14 Thread Venkatesh Srinivas
On Fri, Mar 14, 2014 at 6:56 AM, Andi Kleen wrote: > On Fri, Mar 14, 2014 at 09:44:29AM +0100, Peter Zijlstra wrote: >> On Thu, Mar 13, 2014 at 12:36:26PM -0700, Venkatesh Srinivas wrote: >> > CPUs which should support the RAPL counters according to >> > Family/Model/Stepping may still issue #GP

Re: [RFC 3/6] mm: support madvise(MADV_FREE)

2014-03-14 Thread Minchan Kim
On Fri, Mar 14, 2014 at 03:33:11PM +0200, Kirill A. Shutemov wrote: > On Fri, Mar 14, 2014 at 03:37:47PM +0900, Minchan Kim wrote: > > diff --git a/include/linux/mm.h b/include/linux/mm.h > > index c1b7414c7bef..9b048cabce27 100644 > > --- a/include/linux/mm.h > > +++ b/include/linux/mm.h > > @@

Re: [RESEND v2 PATCH 1/2] aio, memory-hotplug: Fix confliction when migrating and accessing ring pages.

2014-03-14 Thread Benjamin LaHaise
Hi Gu, On Fri, Mar 14, 2014 at 06:25:16PM +0800, Gu Zheng wrote: > Hi Ben, > On 03/13/2014 06:17 AM, Benjamin LaHaise wrote: > > > Hello Tang, > > > > On Wed, Mar 12, 2014 at 01:25:26PM +0800, Tang Chen wrote: > > ... ... > > > >>> Another spot is in > >>> aio_read_events_ring() where head

Re: is printk() safe within a timekeeper_seq write section?

2014-03-14 Thread Jan Kara
On Wed 12-03-14 16:06:17, Peter Zijlstra wrote: > On Wed, Mar 12, 2014 at 03:34:56PM +0100, Jan Kara wrote: > > On Wed 12-03-14 07:46:45, Peter Zijlstra wrote: > > > On Tue, Mar 11, 2014 at 10:32:26PM +0100, Thomas Gleixner wrote: > > > > > Peter/Thomas: Any thoughts on the deferred printk buffer?

Re: [PATCH 0/2] Add exit_prepare callback to the cpufreq_driver interface.

2014-03-14 Thread Dirk Brandewie
On 03/13/2014 09:59 PM, Viresh Kumar wrote: On Thu, Mar 13, 2014 at 11:06 PM, wrote: From: Dirk Brandewie Some drivers (intel_pstate) need to modify state on a core before it is completely offline. The ->exit() callback is executed during the CPU_POST_DEAD phase of the cpu offline process

Re: [PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of data integrity write

2014-03-14 Thread Jan Kara
On Fri 14-03-14 10:54:30, Tejun Heo wrote: > On Fri, Mar 14, 2014 at 03:52:15PM +0100, Jan Kara wrote: > > Well, for ext2, you can use ext4 kernel driver which takes care of > > REQ_FLUSH properly. For fat, you'll need to fix the fs... > > This is a bit surprising tho. Were we always like

[PATCH] pinctrl: msm: Fix compile error in msm_config_reg()

2014-03-14 Thread Georgi Djakov
Fix the following compilation error in msm_config_reg(): drivers/pinctrl/pinctrl-msm.c: In function 'msm_config_reg': drivers/pinctrl/pinctrl-msm.c:218:4: error: 'reg' undeclared (first use in this function) Error is caused by the mix of these two commits:

Re: [PATCH 2/2] PWM: atmel: correct CDTY calculation

2014-03-14 Thread Nicolas Ferre
On 14/03/2014 15:19, Alexandre Belloni : >>From the datasheet, the actual duty cycle is: > (period - (1/clk) * CDTY)/period > > This actually correct the polarity of the PWM and solves the issue that > pwm-leds > exhibits: when setting a duty cycle of 0 and then disabling a channel, the > level

Re: [PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of data integrity write

2014-03-14 Thread Tejun Heo
On Fri, Mar 14, 2014 at 03:52:15PM +0100, Jan Kara wrote: > Well, for ext2, you can use ext4 kernel driver which takes care of > REQ_FLUSH properly. For fat, you'll need to fix the fs... This is a bit surprising tho. Were we always like this? We never had even stupid "flush down everything

[RFC PATCH v5] Tracepoint: register/unregister struct tracepoint

2014-03-14 Thread Mathieu Desnoyers
Register/unregister tracepoint probes with struct tracepoint pointer rather than tracepoint name. This change, which vastly simplifies tracepoint.c, has been proposed by Steven Rostedt. >From this point on, the tracers need to pass a struct tracepoint pointer to probe register/unregister. A

Re: pppd service crash in linux-3.13.6

2014-03-14 Thread Peter Hurley
On 03/14/2014 10:19 AM, Peter Hurley wrote: Plus, proc_exit_connector() uses netlink which uses user_ns. Actually, I think this can be safely ignored since if the netlink socket was tied to a user_ns which has just been freed in exit_task_namespace() then the socket could not be open in

[RFC 0/5] perf tools: Share map groups within process

2014-03-14 Thread Jiri Olsa
hi, this patchset moves thread's map_groups to be dynamically allocated and shared within process threads. The main benefit would be to be able to look up memory map from any thread that belongs to the process. This implementes one of the solution ideas for issue described by Don in following

Re: [PATCH 7/8] ARM: dts: dra7: Add USB related nodes

2014-03-14 Thread Kishon Vijay Abraham I
On Friday 14 March 2014 05:41 PM, Roger Quadros wrote: On 03/14/2014 12:38 PM, Kishon Vijay Abraham I wrote: Hi Roger, On Friday 07 March 2014 06:39 PM, Roger Quadros wrote: Add nodes for the Super Speed USB controllers, omap-control-usb, USB2 PHY and USB3 PHY devices. Remove ocp2scp1

Re: [PATCH 1/2] PWM: atmel: Fix polarity handling

2014-03-14 Thread Nicolas Ferre
On 14/03/2014 15:19, Alexandre Belloni : > When atmel_pwm_config() calculates and then sets the prescaler, it is > overwriting the channel's CMR register so we are losing the CPOL > configuration. > > As atmel_pwm_config() is always called before enabling a channel, inverting > the > polarity

Re: [PATCH 1/1] fs/mpage.c: forgotten WRITE_SYNC in case of data integrity write

2014-03-14 Thread Jan Kara
On Fri 14-03-14 23:23:45, Roman Peniaev wrote: > On Fri, Mar 14, 2014 at 11:15 PM, Jan Kara wrote: > > On Fri 14-03-14 10:11:43, Tejun Heo wrote: > >> > Also, could you please help me do understand how can I guarantee > >> > integrity in case of block device with big volatile > >> > cache and

Re: [PATCH] HID: hid-lg4ff: Support new version of G27

2014-03-14 Thread Jiri Kosina
On Thu, 13 Mar 2014, Simon Wood wrote: > It has been reported that there is a new hardware version of the G27 > in the 'wild'. This patch add's this new revision so that it can be > sent the command to switch to native mode. > > Reported-by: "Ivan Baldo" > Tested-by: "evilcow" > Signed-off-by:

[PATCH V2] perf: Speed up thread map generation

2014-03-14 Thread Don Zickus
When trying to capture perf data on a system running spejbb2013, perf hung for about 15 minutes. This is because it took that long to gather about 10,000 thread maps and process them. I don't think a user wants to wait that long. Instead, recognize that thread maps are roughly equivalent to pid

Re: [PATCH] pinctrl: msm: fix up out-of-order merge conflict

2014-03-14 Thread Bjorn Andersson
On Thu, Mar 13, 2014 at 11:57 PM, Linus Walleij wrote: > Commit 051a58b4622f0e1b732acb750097c64bc00ddb93 > "pinctrl: msm: Simplify msm_config_reg() and callers" > removed the local "reg" variable in the msm_config_reg() > function, but the earlier > commit ed118a5fd951bd2def8249ee251842c4f81fe4bd

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