[RFT PATCH v2 0/3] drm/exynos: Fix build breakage on !DRM_EXYNOS_FIMD

2015-05-06 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski k.kozlowsk...@gmail.com Hi, This is second try to fix the build breakage introduced in 1c363c7cccf6 (drm/exynos: Enable DP clock to fix display on Exynos5250 and other). The fix is not trivial so I am kindly asking for testing on Chromebook and other DP-enabled boards

[RFT PATCH v2 2/3] drm/exynos: Constify exynos_drm_crtc_ops

2015-05-06 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski k.kozlowsk...@gmail.com The Exynos DRM code does not modify the ops provided by CRTC driver in exynos_drm_crtc_create() call. Signed-off-by: Krzysztof Kozlowski k.kozlowsk...@gmail.com --- Changes since v1: New patch. --- drivers/gpu/drm/exynos/exynos7_drm_decon.c | 2

[PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-06 Thread Zach Brown
Add the O_NOMTIME flag which prevents mtime from being updated which can greatly reduce the IO overhead of writes to allocated and initialized regions of files. ceph servers can have loads where they perform O_DIRECT overwrites of allocated file data and then sync to make sure that the O_DIRECT

Re: [PATCH] iio: hid-sensors: Fix memory leak on failure path in hid_prox_probe()

2015-05-06 Thread Fabio Estevam
On Wed, May 6, 2015 at 6:48 PM, Alexey Khoroshilov khoroshi...@ispras.ru wrote: If prox_parse_report() fails, memory allocated for channels is not deallocated, since it is still in local variable channels while kfree() is called with indio_dev-channels. Found by Linux Driver Verification

Re: [PATCH v2 1/3] power: validate wakeup source before activating it.

2015-05-06 Thread Rafael J. Wysocki
On Wednesday, May 06, 2015 03:11:48 PM Jin Qian wrote: Hi Rafael, I kept braces since checkpatch.pl didn't report error or warning. The if condition has two lines, a brace make the statement more clear I think. Well, you don't have to break the if line. :-) As per CodingStyle, the braces

Re: [PATCH RFC] vfs: add a O_NOMTIME flag

2015-05-06 Thread Trond Myklebust
Hi Zach, On Wed, May 6, 2015 at 6:00 PM, Zach Brown z...@redhat.com wrote: Add the O_NOMTIME flag which prevents mtime from being updated which can greatly reduce the IO overhead of writes to allocated and initialized regions of files. ceph servers can have loads where they perform O_DIRECT

Re: [PATCH] iio: hid-sensors: Fix memory leak on failure path in hid_prox_probe()

2015-05-06 Thread Alexey Khoroshilov
On 07.05.2015 01:00, Fabio Estevam wrote: On Wed, May 6, 2015 at 6:48 PM, Alexey Khoroshilov khoroshi...@ispras.ru wrote: If prox_parse_report() fails, memory allocated for channels is not deallocated, since it is still in local variable channels while kfree() is called with

Re: kernel = 4.0: crashes when using traceroute6 with isatap

2015-05-06 Thread Eric Dumazet
On Thu, 2015-05-07 at 00:04 +0200, Wolfgang Walter wrote: Am Mittwoch, 6. Mai 2015, 12:10:00 schrieb Eric Dumazet: On Wed, 2015-05-06 at 11:15 -0700, Cong Wang wrote: (Cc'ing netdev.) On Sat, May 2, 2015 at 5:29 AM, Wolfgang Walter li...@stwm.de wrote: Am Samstag, 2. Mai 2015,

LPC 2015 Boot, Init, and Config microconf RFC and Invitation

2015-05-06 Thread Mehaffey, John
The Boot, Init, and Config microconference is inviting interested parties to comment on proposed topics and show their interest in attending. Proposed topics are at http://wiki.linuxplumbersconf.org/2015:boot_init_and_config, and include containers, tinification, systemd tuning, k/dbus, early

Re: [PATCH 02/11] arm/mach-keystone: remove legacy __cpuinit sections that crept in

2015-05-06 Thread Paul Gortmaker
[Re: [PATCH 02/11] arm/mach-keystone: remove legacy __cpuinit sections that crept in] On 06/05/2015 (Wed 10:10) santosh shilimkar wrote: On 5/6/2015 3:37 AM, Russell King - ARM Linux wrote: On Mon, Apr 27, 2015 at 06:47:51PM -0400, Paul Gortmaker wrote: We removed __cpuinit support (leaving

Re: [PATCH 0/3] Find mirrored memory, use for boot time allocations

2015-05-06 Thread Andrew Morton
On Mon, 4 May 2015 13:52:23 -0700 Tony Luck tony.l...@intel.com wrote: UEFI published the spec that descibes the attribute bit we need to find out which memory ranges are mirrored. So time to post the real version of this series. Can we please have an explanation for why we're doing this?

Re: [PATCH 1/3] mm/memblock: Add extra flag to memblock to allow selection of memory based on attribute

2015-05-06 Thread Andrew Morton
On Wed, 29 Apr 2015 11:31:24 -0700 Tony Luck tony.l...@intel.com wrote: No functional changes ... --- a/include/linux/memblock.h +++ b/include/linux/memblock.h @@ -61,7 +61,7 @@ extern bool movable_node_enabled; phys_addr_t memblock_find_in_range_node(phys_addr_t size, phys_addr_t

[PATCH 7/7] Drivers: hv: vmbus: distribute subchannels among all vcpus

2015-05-06 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com Primary channels are distributed evenly across all vcpus we have. When the host asks us to create subchannels it usually makes us num_cpus-1 offers and we are supposed to distribute the work evenly among the channel itself and all its subchannels. Make

[PATCH 4/7] Drivers: hv: vmbus: briefly comment num_sc and next_oc

2015-05-06 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com] next_oc and num_sc fields of struct vmbus_channel deserve a description. Move them closer to sc_list as these fields are related to it. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com ---

[PATCH 1/7] Drivers: hv: vmbus: do cleanup on all vmbus_open() failure paths

2015-05-06 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com In case there was an error reported in the response to the CHANNELMSG_OPENCHANNEL call we need to do the cleanup as a vmbus_open() user won't be doing it after receiving an error. The cleanup should be done on all failure paths. We also need to avoid

[PATCH 3/7] Drivers: hv: vmbus: unify calls to percpu_channel_enq()

2015-05-06 Thread K. Y. Srinivasan
From: Vitaly Kuznetsov vkuzn...@redhat.com Remove some code duplication, no functional change intended. Signed-off-by: Vitaly Kuznetsov vkuzn...@redhat.com Signed-off-by: K. Y. Srinivasan k...@microsoft.com --- drivers/hv/channel_mgmt.c | 51 +++- 1

[PATCH v3] spi: omap2-mcspi: Add support for GPIO chipselects

2015-05-06 Thread Michael Welling
This patch allows for GPIOs specified in the devicetree to be used as SPI chipselects on TI OMAP2 SoCs. Tested on the AM3354. Signed-off-by: Michael Welling mwell...@ieee.org --- v3: Switches driver to use transfer_one instead of transfer_one_message allowing the spi core to handle toggling GPIO

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-06 Thread Dan Williams
On Wed, May 6, 2015 at 3:10 PM, Linus Torvalds torva...@linux-foundation.org wrote: On Wed, May 6, 2015 at 1:04 PM, Dan Williams dan.j.willi...@intel.com wrote: The motivation for this change is persistent memory and the desire to use it not only via the pmem driver, but also as a memory

Re: [PATCH v2] input: goodix: Check the 'buffer status' bit before reading data

2015-05-06 Thread Dmitry Torokhov
On Fri, May 01, 2015 at 04:13:55PM +0200, Bastien Nocera wrote: On Fri, 2015-05-01 at 14:40 +0200, Paul Cercueil wrote: The MSB of the first byte read via I2C at the coordinates address indicates whether the data is valid or ready (called buffer status in the datasheets) when an

Re: [PATCH 1/1] mfd: max77686: Remove unused struct max77686_opmode_data

2015-05-06 Thread Krzysztof Kozlowski
On 07.05.2015 02:07, Javier Martinez Canillas wrote: The defined struct max77686_opmode_data isn't used neither by the max77686 mfd driver nor the drivers for its sub-devices. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Reviewed-by: Krzysztof Kozlowski

Re: [V2 PATCH 3/5] device property: Introduces device_dma_is_coherent()

2015-05-06 Thread Rafael J. Wysocki
On Thu, May 7, 2015 at 1:52 AM, Suravee Suthikulanit suravee.suthikulpa...@amd.com wrote: Rafael, Any comments on this patch? Well, as long as acpi_dma_is_coherent() does the right thing on all architectures, I have no objections. Thanks, Rafael On 5/5/2015 10:12 AM, Suravee Suthikulpanit

[PATCH v2 06/10] scatterlist: support page-less (__pfn_t only) entries

2015-05-06 Thread Dan Williams
From: Matthew Wilcox wi...@linux.intel.com Given that an offset will never be more than PAGE_SIZE, steal the unused bits of the offset to implement a flags field. Move the existing this is a sg_chain() entry flag to the new flags field, and add a new flag (SG_FLAGS_PAGE) to indicate that there

[PATCH v2 08/10] x86: support kmap_atomic_pfn_t() for persistent memory

2015-05-06 Thread Dan Williams
It would be unfortunate if the kmap infrastructure escaped its current 32-bit/HIGHMEM bonds and leaked into 64-bit code. Instead, if the user has enabled CONFIG_PMEM_IO we direct the kmap_atomic_pfn_t() implementation to scan a list of pre-mapped persistent memory address ranges inserted by the

[PATCH v2 09/10] dax: convert to __pfn_t

2015-05-06 Thread Dan Williams
The primary source for non-page-backed page-frames to enter the system is via the pmem driver's -direct_access() method. The pfns returned by the top-level bdev_direct_access() may be passed to any other subsystem in the kernel and those sub-systems either need to assume that the pfn is page

[PATCH v2 10/10] block: base support for pfn i/o

2015-05-06 Thread Dan Williams
Allow block device drivers to opt-in to receiving bio(s) where the bio_vec(s) point to memory that is not backed by struct page entries. When a driver opts in it asserts that it will use the __pfn_t versions of the dma_map/kmap/scatterlist apis in its bio submission path. Cc: Tejun Heo

[PATCH v2 05/10] scatterlist: use sg_phys()

2015-05-06 Thread Dan Williams
Coccinelle cleanup to replace open coded sg to physical address translations. This is in preparation for introducing scatterlists that reference pfn(s) without a backing struct page. // sg_phys.cocci: convert usage page_to_phys(sg_page(sg)) to sg_phys(sg) // usage: make coccicheck

Re: [PATCH v18 for v4.1-rc2 1/3] sys_membarrier(): system-wide memory barrier (generic, x86)

2015-05-06 Thread josh
On Wed, May 06, 2015 at 03:21:06PM -0400, Mathieu Desnoyers wrote: Here is an implementation of a new system call, sys_membarrier(), which executes a memory barrier on all threads running on the system. It is implemented by calling synchronize_sched(). It can be used to distribute the cost of

Re: [PATCH v4 5/7] selftest/x86: have no dependency on all when cross building

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:51 PM, Tyler Baker wrote: If the CROSS_COMPILE is set remove all's dependency on all_32 and all_64. Cc: Andy Lutomirski l...@amacapital.net Acked-by: Andy Lutomirski l...@kernel.org Signed-off-by: Tyler Baker tyler.ba...@linaro.org --- I will wait on this patch and other

Re: [PATCH v4 7/7] selftests/exec: do not install subdir as it is already created

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:52 PM, Tyler Baker wrote: Remove subdir from DEPS as it is already created at runtime. Without this, make install fails. Acked-by: Michael Ellerman m...@ellerman.id.au Signed-off-by: Tyler Baker tyler.ba...@linaro.org --- tools/testing/selftests/exec/Makefile | 2 +- 1

Re: [PATCH v4 6/7] selftests/x86: install tests

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:51 PM, Tyler Baker wrote: Include lib.mk and set TEST_PROGS where appropriate. Cc: Andy Lutomirski l...@amacapital.net Signed-off-by: Tyler Baker tyler.ba...@linaro.org --- tools/testing/selftests/x86/Makefile | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH v18 for v4.1-rc2 1/3] sys_membarrier(): system-wide memory barrier (generic, x86)

2015-05-06 Thread Mathieu Desnoyers
- Original Message - - Original Message - On Wed, May 06, 2015 at 03:21:06PM -0400, Mathieu Desnoyers wrote: [...] Reviewed-by: Josh Triplett j...@joshtriplett.org Thanks! But also, the snip and changes since should not be in the commit message, while this list

Re: [Openipmi-developer] Shutdown behavior with IPMI enabled

2015-05-06 Thread Mandeep Sandhu
Certainly, it should just immediately power the system off. There is a soft shutdown option if you want a graceful shutdown. The spec says: 0 - power down. Force system into soft off (S4/S45) state. This is for ‘emergency’ management power down actions. The command does not

[BUG] ThinkPad T520 overheating with P-State driver

2015-05-06 Thread Martin Steigerwald
Hello Kristen, hello, Laptop overheats with Intel P-State driver like follows: [ 6743.833543] CPU0: Package temperature above threshold, cpu clock throttled (total events = 1) [ 6743.833545] CPU1: Package temperature above threshold, cpu clock throttled (total events = 1) [ 6743.833567] CPU2:

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread Richard Weinberger
Am 06.05.2015 um 22:34 schrieb linuxcbon linuxcbon: On Wed, May 6, 2015 at 7:53 PM, David Lang da...@lang.hm wrote: It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will (or should) do it for you. David Lang When I boot the kernel without modules, I

Re: [PATCH 5/6] ARM: dts: sunxi: Add Allwinner H3 DTSI

2015-05-06 Thread Jens Kuske
Hi, On 06/05/15 14:19, Maxime Ripard wrote: On Wed, May 06, 2015 at 11:31:32AM +0200, Jens Kuske wrote: The Allwinner H3 is a home entertainment system oriented SoC with four Cortex-A7 cores and a Mali-400MP2 GPU. Signed-off-by: Jens Kuske jensku...@gmail.com ---

[PATCH V4 net-next 1/1] hv_netvsc: Use the xmit_more skb flag to optimize signaling the host

2015-05-06 Thread K. Y. Srinivasan
Based on the information given to this driver (via the xmit_more skb flag), we can defer signaling the host if more packets are on the way. This will help make the host more efficient since it can potentially process a larger batch of packets. Implement this optimization. Signed-off-by: K. Y.

Re: [PATCH v2] tools lib traceevent: install libtraceevent.a into libdir.

2015-05-06 Thread Arnaldo Carvalho de Melo
Em Wed, May 06, 2015 at 10:29:15PM +0200, Jiri Olsa escreveu: On Wed, May 06, 2015 at 10:00:20AM +, Wang Nan wrote: ... ./tree/usr/local/lib64/libtraceevent.so Signed-off-by: Wang Nan wangn...@huawei.com Acked-by: Jiri Olsa jo...@kernel.org CC-ing Steven Applying to my

Re: [PATCH v3 00/10] mtd: nand: add Broadcom NAND controller support

2015-05-06 Thread Florian Fainelli
On 06/05/15 10:59, Brian Norris wrote: Hi, This is version 3 of support for the Broadcom BCM7xxx Set-Top Box NAND controller. This controller has been used in a variety of Broadcom SoCs. This series now adds support for a few new chips: BCM63138, and the iProc chip family. These add an

[PATCH v2 6/7] staging: fsl-mc: Add locking to serialize mc_send_command() calls

2015-05-06 Thread J. German Rivera
Add a locking mechanism to serialize mc_send_command() calls that use the same fsl_mc_io object (same MC portal). When the fsl_mc_io object is created the owner needs to know in which type of context the fsl_mc_io object is going to be used. A flag passed-in to fsl_create_mc_io() will indicate

[PATCH v2 4/7] staging: fsl-mc: Upgraded MC bus driver to match MC fw 7.0.0

2015-05-06 Thread J. German Rivera
- Migrated MC bus driver to use DPRC API 0.6. - Changed IRQ setup infrastructure to be able to program MSIs for MC objects in an object-independent way. Signed-off-by: J. German Rivera german.riv...@freescale.com --- Changes in v2: - Addressed comments from Dan Carpenter: * Added #ifdef

[PATCH v2 0/7] staging: fsl-mc: New functionality to the MC bus driver

2015-05-06 Thread J. German Rivera
This patch series includes new functionality for the Freescale fsl-mc bus driver. Patch 1: MC bus IRQ support Patch 2: add device binding path 'driver_override' Patch 3: Propagate driver_override for a child DPRC's children Patch 4: Upgraded MC bus driver to match MC fw 7.0.0 Patch 5: Allow the

[PATCH v2 3/7] staging: fsl-mc: Propagate driver_override for a child DPRC's children

2015-05-06 Thread J. German Rivera
When a child DPRC is bound to the vfio_fsl_mc driver via driver_override, its own children should not be bound to corresponding host kernel drivers, but instead should be bound to the vfio_fsl_mc driver as well. Currently, when a child container is scanned by the vfio_fsl_mc driver, child devices

[PATCH v2 7/7] staging: fsl-mc: Use DPMCP IRQ and completion var to wait for MC

2015-05-06 Thread J. German Rivera
- Refactored fsl_mc_io object to have a DPMCP object attached to it - Created DPMCP object for DPRC's built-in portal, so that waiting on MC command completions for MC commands sent on the DPRC's built-in portal can be done using a DPMCP interrupt and a Linux completion variable. For most

[PATCH v2 5/7] staging: fsl-mc: Allow the MC bus driver to run without GIC support

2015-05-06 Thread J. German Rivera
If the lpi-parent property is not present in the fsl,qoriq-mc node of the device tree, the MC bus driver will assume that the GIC is not supported. This change is made in order to be able to use the MC bus driver in a KVM VM, without having GIC-ITS support in guests. Added function

[PATCH] iio: hid-sensors: Fix memory leak on failure path in hid_prox_probe()

2015-05-06 Thread Alexey Khoroshilov
If prox_parse_report() fails, memory allocated for channels is not deallocated, since it is still in local variable channels while kfree() is called with indio_dev-channels. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov khoroshi...@ispras.ru ---

Re: [PATCH man-pages] pty.7: clarify asynchronous nature of PTY IO.

2015-05-06 Thread Michael Kerrisk (man-pages)
On 6 May 2015 at 15:36, Peter Hurley pe...@hurleysoftware.com wrote: On 05/06/2015 08:26 AM, Michael Kerrisk (man-pages) wrote: On 05/06/2015 12:59 AM, NeilBrown wrote: Peter: does this seem reasonable and accurate to you? I've got the patch sitting in a branch, in case Peter has suggestions

Re: [PATCH] clk: tegra: Update struct tegra_clk_pll_params kerneldoc

2015-05-06 Thread Rhyland Klein
On 5/6/2015 9:43 AM, Thierry Reding wrote: From: Thierry Reding tred...@nvidia.com Benson Leung pointed out that the kerneldoc for this structure has become stale. Update the field descriptions to match the structure content. Reported-by: Benson Leung ble...@chromium.org Signed-off-by:

[PATCH v3 06/12] KVM: arm64: guest debug, add SW break point support

2015-05-06 Thread Alex Bennée
This adds support for SW breakpoints inserted by userspace. We do this by trapping all guest software debug exceptions to the hypervisor (MDCR_EL2.TDE). The exit handler sets an exit reason of KVM_EXIT_DEBUG with the kvm_debug_exit_arch structure holding the exception syndrome information. It

[PATCH v3 05/12] KVM: arm: introduce kvm_arm_init/setup/clear_debug

2015-05-06 Thread Alex Bennée
This is a precursor for later patches which will need to do more to setup debug state before entering the hyp.S switch code. The existing functionality for setting mdcr_el2 has been moved out of hyp.S and now uses the value kept in vcpu-arch.mdcr_el2. As the assembler used to previously mask and

[PATCH v3 01/12] KVM: add comments for kvm_debug_exit_arch struct

2015-05-06 Thread Alex Bennée
Bring into line with the comments for the other structures and their KVM_EXIT_* cases. Also update api.txt to reflect use in kvm_run documentation. Signed-off-by: Alex Bennée alex.ben...@linaro.org Reviewed-by: David Hildenbrand d...@linux.vnet.ibm.com Reviewed-by: Andrew Jones drjo...@redhat.com

[PATCH v3 04/12] KVM: arm: guest debug, add stub KVM_SET_GUEST_DEBUG ioctl

2015-05-06 Thread Alex Bennée
This commit adds a stub function to support the KVM_SET_GUEST_DEBUG ioctl. Any unsupported flag will return -EINVAL. For now, only KVM_GUESTDBG_ENABLE is supported, although it won't have any effects. Signed-off-by: Alex Bennée alex.ben...@linaro.org. --- v2 - simplified form of the ioctl

[PATCH 05/19] y2038: make linux/compat_time.h usable on 32-bit

2015-05-06 Thread Arnd Bergmann
This adds the necessary type definitions to allow using the linux/compat_time.h header file on 32-bit architectures without adding an asm/compat.h header in each architecture. The types we define here are used in the compat system call definitions of some system calls that also pass a time_t in

[PATCH 16/19] y2038: use __kernel_timespec in sys_rt_sigtimedwait

2015-05-06 Thread Arnd Bergmann
This is a straightforward conversion of the native and compat sys_rt_sigtimedwait functions to use __kernel_timespec, so 32-bit user space can pass a 64-bit time_t into the native syscall and use the compat syscall for the traditional 32-bit time_t. Signed-off-by: Arnd Bergmann a...@arndb.de ---

[PATCH 14/19] y2038: use __kernel_timespec for sys_mq_timed{send,receive}

2015-05-06 Thread Arnd Bergmann
This performs a complete conversion of the ipc/mqueue code to use 64-bit time_t both internally and on the user-facing side of 32-bit architectures that use CONFIG_COMPAT_TIME. For compatibility with existing user space, these now use compat_sys_mq_timed{send,receive}. Signed-off-by: Arnd

Re: [RFC V2] init: support device of major:minor:offset format

2015-05-06 Thread Geert Uytterhoeven
On Wed, May 6, 2015 at 2:24 AM, Chen Yu yu.c.c...@intel.com wrote: Distribution like Ubuntu uses klibc rather than uswsusp to resume system from hibernation, which will treat swap partition/file in the form of major:minor:offset. For example, 8:3:0 represents a swap partition in klibc, and

[PATCH v2] iio: mcp320x: Fix occasional incorrect readings

2015-05-06 Thread Michael Welling
Without the cacheline alignment, the readings will occasionally incorrectly return 0. Signed-off-by: Michael Welling mwell...@ieee.org --- v2: Moved buffers to the end of the mcp320x struct per suggestion to keep them on their own cacheline. drivers/iio/adc/mcp320x.c |6 +++--- 1 file

[PATCH 1/1] mfd: max77686: Remove unused struct max77686_opmode_data

2015-05-06 Thread Javier Martinez Canillas
The defined struct max77686_opmode_data isn't used neither by the max77686 mfd driver nor the drivers for its sub-devices. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk --- include/linux/mfd/max77686.h | 5 - 1 file changed, 5 deletions(-) diff --git

Re: [PATCH v5 3/4] iio: trigger: Introduce IIO hrtimer based trigger

2015-05-06 Thread Jonathan Cameron
On 06/05/15 17:25, Daniel Baluta wrote: On 05/05/2015 04:51 PM, Jonathan Cameron wrote: On 4 May 2015 20:54:08 GMT+01:00, Lars-Peter Clausen l...@metafoo.de wrote: On 05/04/2015 12:50 PM, Daniel Baluta wrote: [...] +IIO_HRTIMER_INFO_ATTR(sampling_frequency, S_IRUGO | S_IWUSR, +

[PATCH v2 01/10] arch: introduce __pfn_t for persistent memory i/o

2015-05-06 Thread Dan Williams
Introduce a type that encapsulates a page-frame-number that is optionally backed by memmap (struct page). This type will be used in place of 'struct page *' instances in contexts where persistent memory is being referenced (scatterlists for drivers, biovecs for the block layer, etc). The

[PATCH v2 03/10] block: convert .bv_page to .bv_pfn bio_vec

2015-05-06 Thread Dan Williams
Carry an __pfn_t in a bio_vec rather than a 'struct page *' in support of allowing a bio to reference unmapped (not struct page backed) persistent memory. This also fixes up the macros and static initializers that we were not automatically converted by the Coccinelle script that introduced the

[PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-06 Thread Dan Williams
Changes since v1 [1]: 1/ added include/asm-generic/pfn.h for the __pfn_t definition and helpers. 2/ added kmap_atomic_pfn_t() 3/ rebased on v4.1-rc2 [1]: http://marc.info/?l=linux-kernelm=142653770511970w=2 --- A lead in note, this looks scarier than it is. Most of the code thrash is

Re: simple framebuffer slower by factor of 20, on socfpga (arm) platform

2015-05-06 Thread Nicolas Pitre
On Wed, 6 May 2015, Russell King - ARM Linux wrote: On Tue, Apr 28, 2015 at 11:28:53AM -0400, Nicolas Pitre wrote: On Tue, 28 Apr 2015, Russell King - ARM Linux wrote: On Fri, Apr 24, 2015 at 03:46:56PM +0200, Geert Uytterhoeven wrote: So please optimize ARM's _memcpy_fromio(),

[PATCH v2 1/4] ASoC: Add gtm601 codec driver

2015-05-06 Thread Marek Belisko
This driver add PCM interface to a GTM601 UMTS modem chip. There is no configuration interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- sound/soc/codecs/Kconfig | 4 ++ sound/soc/codecs/Makefile | 2 + sound/soc/codecs/gtm601.c | 98 +++

[PATCH v2 2/4] Documentation: devicetree: sound: Add documentation for gtm601 codec

2015-05-06 Thread Marek Belisko
Add small documentation for gtm601 UMTS modem audio interface. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/sound/gtm601.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/gtm601.txt

[PATCH v2 3/4] Documentation: vendor-prefixes: Add option prefix

2015-05-06 Thread Marek Belisko
Add option to vendor-prefixes file which will be used for Option NV company. Signed-off-by: Marek Belisko ma...@goldelico.com --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt

Re: [PATCH v18 for v4.1-rc2 1/3] sys_membarrier(): system-wide memory barrier (generic, x86)

2015-05-06 Thread Linus Torvalds
On Wed, May 6, 2015 at 1:33 PM, Mathieu Desnoyers mathieu.desnoy...@efficios.com wrote: Will try moving those parts under a --- in the commit message, and hope it does what I intend. Yeah, that should do it for anybody who then uses git am to apply the patches you send out. It's kind of hacky,

[PATCH v2 0/4] ASoC: Add gtm601 simple codec

2015-05-06 Thread Marek Belisko
Following patch series add support for gtm601 PCM audio. gtm601 is UMTS modem which provide I2S interface for rx/tx data. Codec is connected to cpu in master mode (rate is fixed 8kHz). changes from v1: - fix license mismatch - sort Kconfig and Makefiles additions - remove misleading comment

[PATCH] staging: comedi: drivers: das16m1.c: checkpatch error fix

2015-05-06 Thread Jaime Arrocha
Errors found by checkpatch.pl. ERROR: code indent should use tabs where possible /drivers/staging/comedi/drivers/das16m1.c:49 /drivers/staging/comedi/drivers/das16m1.c:50 Signed-off-by: Jaime Arrocha j...@kerneldev.net --- drivers/staging/comedi/drivers/das16m1.c |4 ++-- 1 file changed, 2

Re: [PATCH 1/9] KVM: MMU: fix decoding cache type from MTRR

2015-05-06 Thread David Matlack
On Thu, Apr 30, 2015 at 3:24 AM, guangrong.x...@linux.intel.com wrote: From: Xiao Guangrong guangrong.x...@linux.intel.com There are some bugs in current get_mtrr_type(); 1: bit 2 of mtrr_state-enabled is corresponding bit 11 of IA32_MTRR_DEF_TYPE bit 1, not bit 2. (code is correct though)

Re: [RFC][PATCH v2] ktime: Fix ktime_divns to do signed division

2015-05-06 Thread John Stultz
On Wed, May 6, 2015 at 1:11 PM, Nicolas Pitre nicolas.pi...@linaro.org wrote: On Wed, 6 May 2015, John Stultz wrote: It was noted that the 32bit implementation of ktime_divns() was doing unsigned division and didn't properly handle negative values. This patch fixes the problem by checking

Re: [RFC][PATCH v2] ktime: Fix ktime_divns to do signed division

2015-05-06 Thread Nicolas Pitre
On Wed, 6 May 2015, John Stultz wrote: It was noted that the 32bit implementation of ktime_divns() was doing unsigned division and didn't properly handle negative values. This patch fixes the problem by checking and preserving the sign bit, and then reapplying it if appropriate after the

Re: [PATCH v4 1/7] selftests: copy TEST_DIRS to INSTALL_PATH

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:49 PM, Tyler Baker wrote: Loop over all TEST_DIRS and recursively copy them to the INSTALL_PATH. Tests such as ftrace require a directory and all of it's contents to execute the test properly, thus these directories and files need to be copied when we perform an install.

Re: [PATCH v4 2/7] selftests/ftrace: install test.d

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:50 PM, Tyler Baker wrote: The ftrace test requires the directory test.d and all of it's contents to be present during execution. Use TEST_DIRS to ensure this is copied to the INSTALL_PATH. Acked-by: Michael Ellerman m...@ellerman.id.au Signed-off-by: Tyler Baker

Re: [PATCH v18 for v4.1-rc2 1/3] sys_membarrier(): system-wide memory barrier (generic, x86)

2015-05-06 Thread Mathieu Desnoyers
- Original Message - On Wed, May 06, 2015 at 03:21:06PM -0400, Mathieu Desnoyers wrote: Here is an implementation of a new system call, sys_membarrier(), which executes a memory barrier on all threads running on the system. It is implemented by calling synchronize_sched(). It can be

Re: [PATCH] x86: Deinline cpuid_eax and friends

2015-05-06 Thread H. Peter Anvin
On 05/06/2015 12:09 PM, Denys Vlasenko wrote: How on Earth does it make 44 bytes? Is this due to paravirt_fail? No, just this construct unsigned int eax, ebx, ecx, edx; cpuid(op, eax, ebx, ecx, edx); is not really that cheap to set up. You need to allocate variables

Re: [PATCH v2 00/10] evacuate struct page from the block layer, introduce __pfn_t

2015-05-06 Thread Al Viro
On Wed, May 06, 2015 at 04:04:53PM -0400, Dan Williams wrote: Changes since v1 [1]: 1/ added include/asm-generic/pfn.h for the __pfn_t definition and helpers. 2/ added kmap_atomic_pfn_t() 3/ rebased on v4.1-rc2 [1]: http://marc.info/?l=linux-kernelm=142653770511970w=2 --- A lead

[PATCH v2 1/7] staging: fsl-mc: MC bus IRQ support

2015-05-06 Thread J. German Rivera
All the IRQs for DPAA2 objects in the same DPRC must use the ICID of that DPRC, as their device Id in the GIC-ITS. Thus, all these IRQs must share the same ITT table in GIC. As a result, a pool of IRQs with the same device Id must be preallocated per DPRC (fsl-mc bus instance). So, the fsl-mc bus

[PATCH v2 2/7] staging: fsl_-mc: add device binding path 'driver_override'

2015-05-06 Thread J. German Rivera
From: Bharat Bhushan bharat.bhus...@freescale.com This patch is required for vfio-fsl-mc meta driver to successfully bind layerscape container devices for device passthrough. This patch adds a mechanism to allow a layerscape device to specify a driver rather than a layerscape driver provide a

Re: [PATCH v2] selftests/mount: output WARN messages when mount test skipped

2015-05-06 Thread Shuah Khan
On 04/02/2015 07:39 PM, Zhang Zhen wrote: Without this patch, if /proc/self/uid_map is not exist, the mount test case will skipped and no any prompting. After applied this patch, the case will prompt why it skipped. Just as follows: root@kernel-host:/opt/kernel make -C

Re: [PATCH v4 4/7] selftest/x86: build both bitnesses

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:51 PM, Tyler Baker wrote: Using uname with the processor flag option in some cases can yield 'unknown' so lets use the machine flag option as it is deterministic. Add a dependency for all_32 when building on a x86 64 bit host so that both bitnesses are built in this case.

Re: [Linux-nvdimm] [PATCH v2 08/10] x86: support kmap_atomic_pfn_t() for persistent memory

2015-05-06 Thread Dan Williams
On Wed, May 6, 2015 at 1:05 PM, Dan Williams dan.j.willi...@intel.com wrote: It would be unfortunate if the kmap infrastructure escaped its current 32-bit/HIGHMEM bonds and leaked into 64-bit code. Instead, if the user has enabled CONFIG_PMEM_IO we direct the kmap_atomic_pfn_t()

Re: [PATCH v2] tools lib traceevent: install libtraceevent.a into libdir.

2015-05-06 Thread Jiri Olsa
On Wed, May 06, 2015 at 10:00:20AM +, Wang Nan wrote: Before this patch, 'make install' installs libraries into bindir: $ make install DESTDIR=./tree INSTALL trace_plugins INSTALL libtraceevent.a INSTALL libtraceevent.so $ find ./tree ./tree/ ./tree/usr

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread linuxcbon linuxcbon
On Wed, May 6, 2015 at 7:53 PM, David Lang da...@lang.hm wrote: It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will (or should) do it for you. David Lang When I boot the kernel without modules, I don't have anything working except minimal video. I

Re: [PATCH] powerpc/dts: Add 1588 timer node for eTSEC

2015-05-06 Thread Scott Wood
On Wed, 2015-05-06 at 17:40 +0800, Yangbo Lu wrote: Add 1588 timer node in files: arch/powerpc/boot/dts/bsc9131rdb.dtsi arch/powerpc/boot/dts/bsc9132qds.dtsi arch/powerpc/boot/dts/p1010rdb.dtsi arch/powerpc/boot/dts/p1020rdb-pd.dts arch/powerpc/boot/dts/p1021rdb-pc.dtsi

Re: [PATCH v3 06/10] mtd: brcmstb_nand: add SoC-specific support

2015-05-06 Thread Brian Norris
On Wed, May 06, 2015 at 09:12:43PM +0200, Arnd Bergmann wrote: On Wednesday 06 May 2015 10:59:50 Brian Norris wrote: + /* +* Some SoCs integrate this controller (e.g., its interrupt bits) in +* interesting ways +*/ + if (of_property_read_bool(dn,

Re: how to have the kernel do udev's job and autoload the right modules ?

2015-05-06 Thread David Lang
On Wed, 6 May 2015, linuxcbon linuxcbon wrote: On Wed, May 6, 2015 at 7:53 PM, David Lang da...@lang.hm wrote: It's perfectly legitimate to not want to use udev, but that doesn't mean that the kernel will (or should) do it for you. David Lang When I boot the kernel without modules, I don't

Re: [PATCH v3 03/10] mtd: nand: add NAND driver for Broadcom STB NAND controller

2015-05-06 Thread Brian Norris
On Wed, May 06, 2015 at 09:17:36PM +0200, Arnd Bergmann wrote: On Wednesday 06 May 2015 10:59:47 Brian Norris wrote: + +static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) +{ + return __raw_readl(ctrl-nand_base + offs); +} + +static inline void

Re: [PATCH v3 03/10] mtd: nand: add NAND driver for Broadcom STB NAND controller

2015-05-06 Thread Ray Jui
On 5/6/2015 2:05 PM, Brian Norris wrote: On Wed, May 06, 2015 at 09:17:36PM +0200, Arnd Bergmann wrote: On Wednesday 06 May 2015 10:59:47 Brian Norris wrote: + +static inline u32 nand_readreg(struct brcmnand_controller *ctrl, u32 offs) +{ + return __raw_readl(ctrl-nand_base + offs);

Re: [PATCH 8/9] KVM: MMU: fix MTRR update

2015-05-06 Thread David Matlack
On Thu, Apr 30, 2015 at 3:24 AM, guangrong.x...@linux.intel.com wrote: From: Xiao Guangrong guangrong.x...@linux.intel.com Currently, whenever guest MTRR registers are changed kvm_mmu_reset_context is called to switch to the new root shadow page table, however, it's useless since: 1) the

Why isn't IRQ shared for i2c-ocore

2015-05-06 Thread York Sun
Lee, I have a follow up question regarding interrupt. I see many I2C bus drivers request interrupt with flag = 0. Why not using IRQF_SHARED? I understand the performance concern. If there is any other reason, I want to know about it before I go too far on my driver. York -- To unsubscribe from

Re: [PATCH V1 5/6] watchdog: da9062: DA9062 watchdog driver

2015-05-06 Thread Guenter Roeck
On Wed, May 06, 2015 at 04:30:50PM +, Opensource [Steve Twiss] wrote: On 06 May 2015 17:02 Guenter Roeck wrote: On Wed, May 06, 2015 at 02:54:37PM +, Opensource [Steve Twiss] wrote: On 18 April 2015 16:53 Guenter Roeck wrote: Hi Guenter, Thanks for your comments.

[PATCH v2 07/10] x86: support dma_map_pfn()

2015-05-06 Thread Dan Williams
Fix up x86 dma_map_ops to allow pfn-only mappings. As long as a dma_map_sg() implementation uses the generic sg_phys() helpers it can support scatterlists that use __pfn_t instead of struct page. Signed-off-by: Dan Williams dan.j.willi...@intel.com --- arch/x86/Kconfig |

[PATCH v2 02/10] block: add helpers for accessing a bio_vec page

2015-05-06 Thread Dan Williams
In preparation for converting struct bio_vec to carry a __pfn_t instead of struct page. This change is prompted by the desire to add in-kernel DMA support (O_DIRECT, hierarchical storage, RDMA, etc) for persistent memory which lacks struct page coverage. Alternatives: 1/ Provide struct page

[PATCH v2 04/10] dma-mapping: allow archs to optionally specify a -map_pfn() operation

2015-05-06 Thread Dan Williams
This is in support of enabling block device drivers to perform DMA to/from persistent memory which may not have a backing struct page entry. Signed-off-by: Dan Williams dan.j.willi...@intel.com --- arch/Kconfig |3 +++ include/asm-generic/dma-mapping-common.h |

Re: [PATCH v4 3/7] selftests/kdbus: install kdbus-test

2015-05-06 Thread Shuah Khan
On 04/21/2015 04:50 PM, Tyler Baker wrote: Set TEST_PROGS so that kdbus-test is installed. Cc: Greg Kroah-Hartman gre...@linuxfoundation.org Acked-by: Michael Ellerman m...@ellerman.id.au Signed-off-by: Tyler Baker tyler.ba...@linaro.org --- tools/testing/selftests/kdbus/Makefile | 2 ++

Re: [PATCH v2] mmc: sdhci-esdhc-imx: fix abort due to missing runtime PM

2015-05-06 Thread Stefan Agner
On 2015-05-06 14:07, Ulf Hansson wrote: On 30 March 2015 at 13:37, Stefan Agner ste...@agner.ch wrote: When entering suspend while the device is in runtime PM, the sdhci_(suspend|resume)_host function are called with disabled clocks. Since this functions access the SDHC host registers, this

[PATCH v2 4/4] ARM: dts: omap3-gta04: Add GSM audio support

2015-05-06 Thread Marek Belisko
Add voice audio card which is used for telephony on gta04 board. gtm601 codec is UMTS modem with pcm interface which get samples from microphone and provide data from other party side. Used simple audio card to describe audio card. Signed-off-by: Marek Belisko ma...@goldelico.com ---

Re: [PATCH] staging: fbtft: force cast to non-__iomem pointer

2015-05-06 Thread Garret Kelly
Can't we fix this properly, to use the correct type of pointer instead for non-__iomem allocations? You mean making an alternate screen_base pointer inside fb_info that isn't __iomem? There are already a bunch of framebuffer drivers that (ab)use screen_base to store non-__iomem pointers, so

Re: [PATCH v2 1/3] power: validate wakeup source before activating it.

2015-05-06 Thread Rafael J. Wysocki
On Wednesday, May 06, 2015 11:51:07 AM Jin Qian wrote: A rogue wakeup source not registered in wakeup_sources list is not visible from wakeup_sources_stats_show. Check if the wakeup source is registered properly by looking at the timer struct. Signed-off-by: Jin Qian jinq...@android.com ---

[RFC][PATCH 1/2] syscalls.h: Make SyS_foo() declaration static

2015-05-06 Thread Steven Rostedt
From: Steven Rostedt (Red Hat) rost...@goodmis.org Nothing should call the syscall wrapper alias (SyS_foo) directly. It is only used to force the system call to sign extend its arguments. See commit 1a94bc34768e System call wrapper infrastructure. By declaring it static, we can also remove the

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