[PATCH v2 10/10] arm64: dts: Create SoC thermal zone for Juno

2015-08-03 Thread Punit Agrawal
Setup a thermal zone driven by the SoC temperature sensor on Juno r0. Create passive trip points and bind them to cpufreq cooling devices that support the power extensions. Signed-off-by: Punit Agrawal punit.agra...@arm.com Cc: Rob Herring robh...@kernel.org Cc: Mark Rutland mark.rutl...@arm.com

[PATCH v2 07/10] hwmon: Support sensors exported via ARM SCP interface

2015-08-03 Thread Punit Agrawal
Create a driver to add support for SoC sensors exported by the System Control Processor (SCP) via the System Control and Power Interface (SCPI). The supported sensor types is one of voltage, temperature, current, and power. The sensor labels and values provided by the SCP are exported via the

[PATCH v2 09/10] arm64: dts: Add sensor node to Juno dt

2015-08-03 Thread Punit Agrawal
The SCP firmware on Juno provides access to SoC sensors via the SCPI. Add the sensor nodes to the device tree to enable this support. Signed-off-by: Punit Agrawal punit.agra...@arm.com Cc: Rob Herring robh...@kernel.org Cc: Mark Rutland mark.rutl...@arm.com Cc: Liviu Dudau liviu.du...@arm.com Cc:

Re: [PATCH] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

2015-08-03 Thread Peter Meerwald
On Mon, 3 Aug 2015, Sanchayan Maity wrote: This patch adds support for IIO buffer to the Vybrid ADC driver. IIO triggered buffer infrastructure along with iio sysfs trigger is used to leverage continuous sampling support provided by the ADC block. comments below Signed-off-by: Sanchayan

[PATCH v2 06/10] firmware: arm_scpi: Extend to support sensors

2015-08-03 Thread Punit Agrawal
ARM System Control Processor (SCP) provides an API to query and use the sensors available in the system. Extend the SCPI driver to support sensor messages. Signed-off-by: Punit Agrawal punit.agra...@arm.com Cc: Sudeep Holla sudeep.ho...@arm.com --- drivers/firmware/arm_scpi.c | 60

[PATCH v2 05/10] Documentation: add DT bindings for ARM SCPI sensors

2015-08-03 Thread Punit Agrawal
The System Control Processor (SCP) provides access to SoC sensors via the System Control and Power Interface (SCPI) Message Protocol. Add bindings to allow probing of these sensors. Also support referencing of the sensors for setting up thermal zones via the thermal DT bindings. Signed-off-by:

[PATCH v2 02/10] cpufreq-dt: Supply power coefficient when registering cooling devices

2015-08-03 Thread Punit Agrawal
Support registering cooling devices with dynamic power coefficient where provided by the device tree. This allows OF registered cooling devices driver to be used with the power_allocator thermal governor. Signed-off-by: Punit Agrawal punit.agra...@arm.com Acked-by: Viresh Kumar

Re: [PATCH] iommu/omap: Fix debug_read_tlb() to use seq_printf()

2015-08-03 Thread Joerg Roedel
On Thu, Jul 23, 2015 at 02:26:19PM +0200, Salva Peiró wrote: The debug_read_tlb() uses the sprintf() functions directly on the buffer allocated by buf = kmalloc(count), without taking into account the size of the buffer, with the consequence corrupting the heap, depending on the count

[PATCH v2 01/10] devicetree: bindings: Add optional dynamic-power-coefficient property

2015-08-03 Thread Punit Agrawal
The dynamic power consumption of a device is proportional to the square of voltage (V) and the clock frequency (f). It can be expressed as Pdyn = dynamic-power-coefficient * V^2 * f. The dynamic-power-coefficient property represents an indicative running time dynamic power coefficient in

[PATCH v2 03/10] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-08-03 Thread Punit Agrawal
Register passive cooling devices when initialising cpufreq on big.LITTLE systems. If the device tree provides a dynamic power coefficient for the CPUs then the bound cooling device will support the extensions that allow it to be used with all the existing thermal governors including the power

[PATCH v2 04/10] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-08-03 Thread Punit Agrawal
thermal_zone_of_sensor_register is documented as returning a pointer to either a valid thermal_zone_device on success, or a corresponding ERR_PTR() value. In contrast, the function returns NULL when THERMAL_OF is configured off. Fix this. Signed-off-by: Punit Agrawal punit.agra...@arm.com Cc:

RE: [PATCH v3 4/6] power: da9150: Add DT bindings documentation for Fuel-Gauge

2015-08-03 Thread Opensource [Adam Thomson]
On July 24, 2015 23:01, Sebastian Reichel wrote: Hi, On Tue, Jul 07, 2015 at 05:34:21PM +0100, Adam Thomson wrote: diff --git a/Documentation/devicetree/bindings/power/da9150-fg.txt b/Documentation/devicetree/bindings/power/da9150-fg.txt new file mode 100644 index 000..c3c76eb

Re: [PATCH 2/6] test_bpf: allow tests to specify an skb fragment.

2015-08-03 Thread Daniel Borkmann
On 08/03/2015 04:02 PM, Nicolas Schichan wrote: This introduce a new test-aux flag (FLAG_SKB_FRAG) to tell the populate_skb() function to add a fragment to the test skb containing the data specified in test-frag_data). Signed-off-by: Nicolas Schichan nschic...@freebox.fr Acked-by: Alexei

[PATCH v3 0/7] KVM: arm/arm64: gsi routing support

2015-08-03 Thread Eric Auger
With the advent of GICv3 ITS in-kernel emulation, KVM GSI routing appears to be requested. More specifically MSI routing is needed. irqchip routing does not sound to be really useful on arm but usage of MSI routing also mandates to integrate irqchip routing. The initial implementation of irqfd on

[PATCH v3 4/7] KVM: arm/arm64: enable irqchip routing

2015-08-03 Thread Eric Auger
This patch adds compilation and link against irqchip. On ARM, irqchip routing is not really useful since there is a single irqchip. However main motivation behind using irqchip code is to enable MSI routing code. With the support of in-kernel GICv3 ITS emulation, it now seems to be a MUST HAVE

Re: [PATCH] scripts/kernel-doc Allow struct arguments documentation in struct body

2015-08-03 Thread Daniel Vetter
On Mon, Aug 03, 2015 at 08:37:41AM -0600, Jonathan Corbet wrote: On Mon, 3 Aug 2015 10:23:19 +0200 Daniel Vetter dan...@ffwll.ch wrote: I'm wondering if we need a kernel summit session on commenting conventions, markdown-in-kerneldoc, etc? Maybe I'll stick a proposal out there.

Re: [PATCH] vmscan: reclaim_clean_pages_from_list() must count mlocked pages

2015-08-03 Thread Minchan Kim
On Mon, Aug 03, 2015 at 11:55:46PM +0900, Jaewon Kim wrote: On 2015년 08월 03일 21:27, Minchan Kim wrote: Hello, On Mon, Aug 03, 2015 at 07:18:27PM +0900, Jaewon Kim wrote: reclaim_clean_pages_from_list() decreases NR_ISOLATED_FILE by returned value from shrink_page_list(). But

[PATCH v3 7/7] KVM: arm: enable KVM_SIGNAL_MSI and MSI routing

2015-08-03 Thread Eric Auger
If the ITS modality is not available, let's simply support MSI injection by transforming the MSI.data into an SPI ID. This becomes possible to use KVM_SIGNAL_MSI ioctl and MSI routing for arm too. Signed-off-by: Eric Auger eric.au...@linaro.org --- v2 - v3: - reword the commit message - add

[PATCH v3 1/7] KVM: api: pass the devid in the msi routing entry

2015-08-03 Thread Eric Auger
On ARM, the MSI msg (address and data) comes along with out-of-band device ID information. The device ID encodes the device that writes the MSI msg. Let's convey the device id in kvm_irq_routing_msi and use KVM_MSI_VALID_DEVID flag value in kvm_irq_routing_entry to indicate the msi devid is

Re: MAINTAINERS/s5p: Kamil Debski no longer with Samsung?

2015-08-03 Thread Bartlomiej Zolnierkiewicz
Hi, On Sunday, August 02, 2015 01:40:40 PM Joe Perches wrote: On Sun, 2015-08-02 at 20:31 +, Mail Delivery System wrote: k.deb...@samsung.com: host mailin.samsung.com[203.254.224.12] said: 550 5.1.1 Recipient address rejected: User unknown (in reply to RCPT TO command) His

Re: [PATCH] Staging : lustre :Replace comma with a semicolon

2015-08-03 Thread Dan Carpenter
The spacing in the subject lines is whacky. -Subject: [PATCH] Staging : lustre :Replace comma with a semicolon +Subject: [PATCH] Staging: lustre: Replace comma with a semicolon regards, dan carpenter -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a

Re: [PATCH] Check return code from pdc20621_i2c_read()

2015-08-03 Thread Sergei Shtylyov
Hello. On 08/03/2015 09:06 AM, Tomer Barletz wrote: The variable spd0 might be used uninitialized when pdc20621_i2c_read() fails. This also generates a compilation warning with gcc 5.1. Signed-off-by: Tomer Barletz barl...@gmail.com --- drivers/ata/sata_sx4.c | 14 ++ 1 file

Re: [PATCH] tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()

2015-08-03 Thread Peter Hurley
Hi Johannes, On 08/03/2015 09:58 AM, Johannes Thumshirn wrote: Fix panic caused by a race between men_z135_intr() and men_z135_set_termios(). men_z135_intr() and men_z135_set_termios() both hold the struct uart_port::lock spinlock, but men_z135_intr() does a spin_lock_irqsave() and

Re: [PATCH] vmscan: reclaim_clean_pages_from_list() must count mlocked pages

2015-08-03 Thread Jaewon Kim
On 2015년 08월 04일 00:33, Minchan Kim wrote: On Mon, Aug 03, 2015 at 11:55:46PM +0900, Jaewon Kim wrote: On 2015년 08월 03일 21:27, Minchan Kim wrote: Hello, On Mon, Aug 03, 2015 at 07:18:27PM +0900, Jaewon Kim wrote: reclaim_clean_pages_from_list() decreases NR_ISOLATED_FILE by returned

[PATCH v3] MIPS: tidy up FPU context switching

2015-08-03 Thread Paul Burton
Rather than saving the scalar FP or vector context in the assembly resume function, reuse the existing C code we have in fpu.h to do exactly that. This reduces duplication, results in a much easier to read resume function should allow the compiler to optimise out more MSA code due to

Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12

2015-08-03 Thread Viresh Kumar
On 03-08-15, 15:55, Bartlomiej Zolnierkiewicz wrote: diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 81064cd..491914c 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@ -25,6 +25,8 @@ menuconfig ARCH_EXYNOS select S5P_DEV_MFC

Re: [PATCH v2 3/3] ARM: dts: dra7: Add scm_conf@1c04 node

2015-08-03 Thread Kishon Vijay Abraham I
Hi Roger, On Monday 27 July 2015 03:57 PM, Roger Quadros wrote: This region contains CTRL_CORE_SMA_SW2..9 registers which are not specific to any domain and can be reasonably accessed via syscon driver. Signed-off-by: Roger Quadros rog...@ti.com --- arch/arm/boot/dts/dra7.dtsi | 7

Re: [PATCH 08/15] drivers: net: Drop unlikely before IS_ERR(_OR_NULL)

2015-08-03 Thread Murali Karicheri
On 07/31/2015 12:20 PM, Viresh Kumar wrote: On 31-07-15, 11:04, Murali Karicheri wrote: On 07/31/2015 04:38 AM, Viresh Kumar wrote: IS_ERR(_OR_NULL) already contain an 'unlikely' compiler flag and there is no need to do that again from its callers. Drop it. IS_ERR_OR_NULL() is defined as

Re: perf eBPF patch ordering. was: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-08-03 Thread pi3orama
发自我的 iPhone 在 2015年8月3日,下午11:19,Arnaldo Carvalho de Melo a...@kernel.org 写道: Em Mon, Aug 03, 2015 at 12:07:28PM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Aug 03, 2015 at 10:37:59AM +0800, Wangnan (F) escreveu: On 2015/8/1 4:31, Arnaldo Carvalho de Melo wrote: Somehow it is not

Re: [PATCH 4/7] clocksource: cadence_ttc: Remove clk-provider.h include

2015-08-03 Thread Daniel Lezcano
On 07/11/2015 01:03 AM, Stephen Boyd wrote: This file doesn't use the clk provider APIs. Remove the include. Cc: Michal Simek michal.si...@xilinx.com Cc: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Stephen Boyd sb...@codeaurora.org --- Acked-by: Daniel Lezcano

Re: [PATCH v2 04/10] thermal: Fix thermal_zone_of_sensor_register to match documentation

2015-08-03 Thread Guenter Roeck
On 08/03/2015 08:22 AM, Punit Agrawal wrote: thermal_zone_of_sensor_register is documented as returning a pointer to either a valid thermal_zone_device on success, or a corresponding ERR_PTR() value. In contrast, the function returns NULL when THERMAL_OF is configured off. Fix this.

Re: [PATCH 4/6] test_bpf: add module parameters to filter the tests to run.

2015-08-03 Thread Daniel Borkmann
On 08/03/2015 04:02 PM, Nicolas Schichan wrote: When developping on the interpreter or a particular JIT, it can be insteresting to restrict the test list to a specific test or a s/insteresting/interesting/ particular range of tests. This patch adds the following module parameters to the

Re: [PATCH v3 3/5] ARM: Exynos: switch to using generic cpufreq driver for Exynos4x12

2015-08-03 Thread Bartlomiej Zolnierkiewicz
On Monday, August 03, 2015 09:20:41 PM Viresh Kumar wrote: On 03-08-15, 15:55, Bartlomiej Zolnierkiewicz wrote: diff --git a/arch/arm/mach-exynos/Kconfig b/arch/arm/mach-exynos/Kconfig index 81064cd..491914c 100644 --- a/arch/arm/mach-exynos/Kconfig +++ b/arch/arm/mach-exynos/Kconfig @@

RE: [PATCH v3 3/6] power: Add support for DA9150 Fuel-Gauge

2015-08-03 Thread Opensource [Adam Thomson]
On July 25, 2015 18:27, Sebastian Reichel wrote: Hi Adam, The driver looks mostly fine. I have a few comments, though: On Tue, Jul 07, 2015 at 05:34:19PM +0100, Adam Thomson wrote: Signed-off-by: Adam Thomson adam.thomson.opensou...@diasemi.com Please add a short description to the

[PATCH v2 08/10] hwmon: Support registration of thermal zones for SCP temperature sensors

2015-08-03 Thread Punit Agrawal
Add support to create thermal zones based on the temperature sensors provided by the SCP. The thermal zones can be defined using the thermal DT bindings and should refer to the SCP sensor id to select the sensor. Signed-off-by: Punit Agrawal punit.agra...@arm.com Cc: Jean Delvare jdelv...@suse.de

[PATCH v2 00/10] Platform support for thermal management on Juno

2015-08-03 Thread Punit Agrawal
Hi, The series adds support for thermal management on ARM Juno development platform. As part of this development, common infrastructure is added to support registering cpu cooling devices that work with the power allocator thermal governor. Patch 1 extends the CPU nodes binding to provide an

Re: [TRIVIAL PATCH] sgi-gru: Correct misuse of %0xdecimal

2015-08-03 Thread Joe Perches
On Mon, 2015-08-03 at 08:10 -0500, Dimitri Sivanich wrote: This should be %d, not 0x%x. I don't care one way or the other, but please fix it so it matches. diff --git a/drivers/misc/sgi-gru/grumain.c b/drivers/misc/sgi-gru/grumain.c index ae16c8c..a1ce324 100644 ---

Re: [PATCH v2 3/4] touchscreen: colibri-vf50-ts: Add touchscreen support for Colibri VF50

2015-08-03 Thread maitysanchayan
Hello Dmitry, On 15-07-21 10:20:44, Dmitry Torokhov wrote: Hi Stefan, On Tue, Jul 21, 2015 at 04:43:36PM +0200, Stefan Agner wrote: Hi Dmitry, As the original author of the driver I have some remarks to your review On 2015-07-18 01:42, Dmitry Torokhov wrote: +/*

Re: [REGRESSION] Re: i915 driver crashes on T540p if docking station attached

2015-08-03 Thread Daniel Vetter
On Thu, Jul 30, 2015 at 11:50:29AM -0400, Theodore Ts'o wrote: On Thu, Jul 30, 2015 at 04:40:02PM +0200, Daniel Vetter wrote: I have 4 patches in git://people.freedesktop.org/~danvet/drm fixes-stuff but I couldn't test them yet since no dp mst here and I didn't find anything that would ship

[PATCH v3 3/7] KVM: irqchip: convey devid to kvm_set_msi

2015-08-03 Thread Eric Auger
on ARM, a devid field is populated in kvm_msi struct in case the flag is set to KVM_MSI_VALID_DEVID. Let's propagate both flags and devid field in kvm_kernel_irq_routing_entry. Signed-off-by: Eric Auger eric.au...@linaro.org --- v2 - v3: - do not set the type to KVM_IRQ_ROUTING_EXTENDED_MSI

[PATCH v3 6/7] KVM: arm/arm64: enable MSI routing

2015-08-03 Thread Eric Auger
Up to now, only irqchip routing entries could be set. This patch adds the capability to insert MSI routing entries. For ARM64, let's also increase KVM_MAX_IRQ_ROUTES to 4096: this include SPI irqchip routes plus MSI routes. In the future this might be extended. Signed-off-by: Eric Auger

[PATCH v3 5/7] KVM: arm/arm64: build a default routing table

2015-08-03 Thread Eric Auger
Implement a default routing table made of flat irqchip routing entries (gsi = irqchip.pin) covering the VGIC SPI indexes. This routing table is overwritten by the first user-space call to KVM_SET_GSI_ROUTING ioctl. Signed-off-by: Eric Auger eric.au...@linaro.org --- PATCH: creation ---

[PATCH v3 2/7] KVM: kvm_host: add devid in kvm_kernel_irq_routing_entry

2015-08-03 Thread Eric Auger
Extend kvm_kernel_irq_routing_entry to transport the device id field, devid. A new flags field makes possible to indicate the devid is valid. Those additions are used for ARM GICv3 ITS MSI injection. Signed-off-by: Eric Auger eric.au...@linaro.org --- v2 - v3: - add flags v1 - v2: - replace

Re: [PATCH 2/4] percpu-rwsem: introduce percpu_rwsem_release() and percpu_rwsem_acquire()

2015-08-03 Thread Oleg Nesterov
On 07/31, Peter Zijlstra wrote: On Wed, Jul 22, 2015 at 11:15:35PM +0200, Oleg Nesterov wrote: + +static inline void percpu_rwsem_release(struct percpu_rw_semaphore *sem, + bool read, unsigned long ip) +{ + lock_release(sem-rw_sem.dep_map, 1, ip);

Re: [PATCH] Check return code from pdc20621_i2c_read()

2015-08-03 Thread Sergei Shtylyov
On 08/02/2015 08:55 PM, Tomer Barletz wrote: Please use pr_err() instead. And 0x%d makes no sense at all, please use %#x instead. Yeah, not sure what I was drinking before writing this 0x%d thing... Regarding the pr_err() - it is not used at all in this file, and printk() is used

Re: [PATCH 15/27] regulator: fan53555: Export I2C module alias information

2015-08-03 Thread Mark Brown
On Mon, Aug 03, 2015 at 01:43:38PM +0200, Paul Bolle wrote: That being said, before this patch the fan53555 module contained these aliases: alias: of:N*T*Csilergy,syr828* alias: of:N*T*Csilergy,syr827* alias: of:N*T*Cfcs,fan53555* While this patch ad

Re: [RFC PATCH 0/1] iommu: Detach device from domain when removed from group

2015-08-03 Thread Joerg Roedel
On Tue, Jul 28, 2015 at 07:55:55PM +0200, Gerald Schaefer wrote: On s390, this eventually leads to a kernel panic when binding the device again to its non-vfio PCI driver, because of the missing arch-specific cleanup in detach_dev. On x86, the detach_dev callback will also not be called

Re: [PATCH v2 4/9] clocksource: mediatek: Use GPT as sched clock source

2015-08-03 Thread Daniel Lezcano
On 05/16/2015 09:58 AM, Yingjoe Chen wrote: When cpu is in deep idle, arch timer will stop counting. Setup GPT as sched clock source so it can keep counting in idle. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com --- Acked-by: Daniel Lezcano daniel.lezc...@linaro.org --

Re: [PATCH] Check return code from pdc20621_i2c_read()

2015-08-03 Thread Sergei Shtylyov
On 08/03/2015 06:42 PM, Sergei Shtylyov wrote: Please use pr_err() instead. And 0x%d makes no sense at all, please use %#x instead. Yeah, not sure what I was drinking before writing this 0x%d thing... Regarding the pr_err() - it is not used at all in this file, and printk() is used

Re: Traceback in -next due to commit 'clockevents/drivers/sh_tmu: Migrate to new 'set-state' interface'

2015-08-03 Thread Viresh Kumar
On 03-08-15, 17:03, Geert Uytterhoeven wrote: I'm seeing the same WARNING on ARM (r8a7740/armadillo), and it's fixed by your patch. Tested-by: Geert Uytterhoeven geert+rene...@glider.be Thanks. Daniel is back now and we should see this in linux-next soon. -- viresh -- To unsubscribe from

[PATCH] MIPS: c-r4k: remove cpu_foreign_map

2015-08-03 Thread Paul Burton
Commit cccf34e9411c (MIPS: c-r4k: Fix cache flushing for MT cores) did 2 things: - Introduced cpu_foreign_map to call cache maintenance functions on only a single CPU within each core in the system. - Stopped calling cache maintenance functions on non-local CPUs for systems which

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Rob Herring
On Mon, Aug 3, 2015 at 3:55 AM, Ian Campbell ian.campb...@citrix.com wrote: Commit 9ccd608070b6 (arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG) added a new dts file to arch/arm64 which included ../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi, i.e. a .dtsi supplied by

Re: [PATCH] scripts/kernel-doc Allow struct arguments documentation in struct body

2015-08-03 Thread Randy Dunlap
On 07/31/15 14:06, Danilo Cesar Lemes de Paula wrote: Describing arguments at top of a struct definition works fine for small/medium size structs, but it definitely doesn't work well for struct with a huge list of elements. Keeping the arguments list inside the struct body makes it easier

Re: [PATCH v3 04/24] intel_iommu: fix leaked ioremap mapping

2015-08-03 Thread Joerg Roedel
On Thu, Jul 30, 2015 at 12:54:01PM -0400, Dan Williams wrote: iommu_load_old_irte() appears to leak the old_irte mapping after use. Cc: Joerg Roedel jroe...@suse.de Signed-off-by: Dan Williams dan.j.willi...@intel.com --- drivers/iommu/intel_irq_remapping.c |2 ++ 1 file changed, 2

Re: cgroup/loop Bad page state oops in Linux v4.2-rc3-136-g45b4b782e848

2015-08-03 Thread Mike Snitzer
On Sun, Aug 02 2015 at 10:01P -0400, Josh Boyer jwbo...@fedoraproject.org wrote: On Fri, Jul 31, 2015 at 2:58 PM, Josh Boyer jwbo...@fedoraproject.org wrote: On Thu, Jul 30, 2015 at 8:19 PM, Mike Snitzer snit...@redhat.com wrote: The only commit that looks even remotely related (given

Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs

2015-08-03 Thread Joerg Roedel
On Tue, Jul 14, 2015 at 03:25:04PM -0600, Alex Williamson wrote: We already have the VT-d capability register printed raw, but it typically involves a trip to the code or the spec to figure out whether superpages are supported. Make this easier with 2M_pages and 1G_pages sysfs entries that

Re: [PATCH v2 17/25] intel-iommu: switch from ioremap_cache to memremap

2015-08-03 Thread Joerg Roedel
On Fri, Jul 24, 2015 at 10:39:33PM -0400, Dan Williams wrote: In preparation for deprecating ioremap_cache() convert its usage in intel-iommu to memremap. This also eliminates the mishandling of the __iomem annotation in the implementation. Cc: David Woodhouse dw...@infradead.org Cc: Joerg

[PATCH v2 0/6] ARC: spinlocks/atomics rework

2015-08-03 Thread Vineet Gupta
The PREFETCHW workaround for llock/scond livelock was not sufficient after all and we had to do some work there. Extending testing of quad core FPGA builds shows things pretty stable, whereas w/o patches some of the LTP tests (shm_open/23-1) would cause the system to go bonkers. Changes since v1*

[PATCH v2 3/6] ARC: LLOCK/SCOND based spin_lock

2015-08-03 Thread Vineet Gupta
Current spin_lock uses EXchange instruction to implement the atomic test and set of lock location (reads orig value and ST 1). This however forces the cacheline into exclusive state (because of the ST) and concurrent loops in multiple cores will bounce the line around between cores. Instead, use

[PATCH v2 1/6] Revert ARCv2: STAR 9000837815 workaround hardware exclusive transactions livelock

2015-08-03 Thread Vineet Gupta
Extended testing of quad core configuration revealed that this fix was insufficient. Specifically LTP open posix shm_op/23-1 would cause the hardware livelock in llock/scond loop in update_cpu_load_active() So remove this and make way for a proper workaround This reverts commit

[PATCH] [SCSI] bfa: fix missing { } braces

2015-08-03 Thread Colin King
From: Colin Ian King colin.k...@canonical.com Static analysis by smatch indicated that there was a curly braces issue: drivers/scsi/bfa/bfa_ioc.c:3668 bfa_cb_sfp_state_query() warn: curly braces intended? drivers/scsi/bfa/bfa_ioc.c:3671 bfa_cb_sfp_state_query() warn: inconsistent

Re: [PATCH 07/10] sched: Migrate sched to use new tick dependency mask model

2015-08-03 Thread Frederic Weisbecker
On Mon, Aug 03, 2015 at 04:00:46PM +0200, Peter Zijlstra wrote: On Thu, Jul 23, 2015 at 06:42:12PM +0200, Frederic Weisbecker wrote: Instead of providing asynchronous checks for the nohz subsystem to verify sched tick dependency, migrate sched to the new mask. The easiest is to recycle

Re: [PATCH 1/2] iommu/vt-d: Report domain usage in sysfs

2015-08-03 Thread Joerg Roedel
On Tue, Jul 14, 2015 at 03:24:53PM -0600, Alex Williamson wrote: Debugging domain ID leakage typically requires long running tests in order to exhaust the domain ID space or kernel instrumentation to track the setting and clearing of bits. A couple trivial intel-iommu specific sysfs

Re: [PATCH 15/27] regulator: fan53555: Export I2C module alias information

2015-08-03 Thread Javier Martinez Canillas
Hello Paul, Thanks a lot for the feedback. On 08/03/2015 01:43 PM, Paul Bolle wrote: Hi Javier, (Mark already applied this patch. Still, I couldn't wrap my head around it. So maybe you'd still like to answer a question or two, basically to educate me.) On do, 2015-07-30 at 18:18 +0200,

Re: [PATCH 2/2] iommu/vt-d: Report superpage support in sysfs

2015-08-03 Thread David Woodhouse
On Mon, 2015-08-03 at 16:30 +0200, Joerg Roedel wrote: On Tue, Jul 14, 2015 at 03:25:04PM -0600, Alex Williamson wrote: We already have the VT-d capability register printed raw, but it typically involves a trip to the code or the spec to figure out whether superpages are supported. Make

[PATCH v2 5/6] ARCv2: spinlock/rwlock/atomics: Delayed retry of failed SCOND with exponential backoff

2015-08-03 Thread Vineet Gupta
This is to workaround the llock/scond livelock HS38x4 could get into a LLOCK/SCOND livelock in case of multiple overlapping coherency transactions in the SCU. The exclusive line state keeps rotating among contenting cores leading to a never ending cycle. So break the cycle by deferring the retry

[PATCH v2 6/6] ARCv2: spinlock/rwlock: Reset retry delay when starting a new spin-wait cycle

2015-08-03 Thread Vineet Gupta
The previous commit for delayed retry of SCOND needs some fine tuning for spin locks. The backoff from delayed retry in conjunction with spin looping of lock itself can potentially cause the delay counter to reach high values. So to provide fairness to any lock operation, after a lock seems

Re: [PATCH 6/6] ARCv2: spinlock/rwlock: Reset retry delay when starting a new spin-wait cycle

2015-08-03 Thread Vineet Gupta
On Monday 03 August 2015 05:14 PM, Peter Zijlstra wrote: On Mon, Aug 03, 2015 at 03:33:08PM +0530, Vineet Gupta wrote: A spin lock could be available momentarily, but the SCOND to actually acquire it might still fail due to concurrent update from other core(s). To elide hardware lock, the

Re: [PATCH] scripts/kernel-doc Allow struct arguments documentation in struct body

2015-08-03 Thread Jonathan Corbet
On Mon, 3 Aug 2015 10:23:19 +0200 Daniel Vetter dan...@ffwll.ch wrote: I'm wondering if we need a kernel summit session on commenting conventions, markdown-in-kerneldoc, etc? Maybe I'll stick a proposal out there. Might be useful, but I'm not sure how many people really would actively

Re: [PATCH 1/3] clocksource: atmel-st: Remove irq handler when clock event is unused

2015-08-03 Thread Thomas Gleixner
On Mon, 3 Aug 2015, Boris Brezillon wrote: On Sun, 2 Aug 2015 11:40:28 +0200 Peter Zijlstra pet...@infradead.org wrote: On Sun, Aug 02, 2015 at 11:10:21AM +0200, Thomas Gleixner wrote: I think Boris Brezillon had implemented it at some point, but it was shot down for reasons I can't

[PATCH v4 1/2] extcon: palmas: Support GPIO based USB ID detection

2015-08-03 Thread Roger Quadros
Some palmas based chip variants do not have OTG based ID logic. For these variants we rely on GPIO based USB ID detection. These chips do have VBUS comparator for VBUS detection so we continue to use the old way of detecting VBUS. Acked-by: Chanwoo Choi cw00.c...@samsung.com Signed-off-by: Roger

[GIT PULL] Ceph fixes for -rc6

2015-08-03 Thread Sage Weil
Hi Linus, Please pull the following Ceph fixes from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus There are two critical regression fixes for CephFS from Zheng, and an RBD completion fix for layered images from Ilya. (Note: git request-pull is complaining that

[PATCH v2 2/6] ARC: refactor atomic inline asm operands with symbolic names

2015-08-03 Thread Vineet Gupta
This reduces the diff in forth-coming patches and also helps understand better the incremental changes to inline asm. Cc: Peter Zijlstra (Intel) pet...@infradead.org Signed-off-by: Vineet Gupta vgu...@synopsys.com --- arch/arc/include/asm/atomic.h | 32 +--- 1 file

Re: [PATCH 6/6] ARCv2: spinlock/rwlock: Reset retry delay when starting a new spin-wait cycle

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 02:40:13PM +, Vineet Gupta wrote: On Monday 03 August 2015 05:14 PM, Peter Zijlstra wrote: On Mon, Aug 03, 2015 at 03:33:08PM +0530, Vineet Gupta wrote: A spin lock could be available momentarily, but the SCOND to actually acquire it might still fail due to

Re: [PATCH] usb: gadget: f_printer: fix the bug of deadlock caused by nested spinlock

2015-08-03 Thread Felipe Balbi
Hi, On Mon, Aug 03, 2015 at 07:19:43PM +0800, fupan...@windriver.com wrote: From: fli fupan...@windriver.com Function printer_func_disable() has called spinlock on printer_dev-lock, and it'll call function chain of printer_reset_interface() |

Re: [PATCH 1/6] test_bpf: avoid oopsing the kernel when generate_test_data() fails.

2015-08-03 Thread Daniel Borkmann
On 08/03/2015 04:02 PM, Nicolas Schichan wrote: Signed-off-by: Nicolas Schichan nschic...@freebox.fr Acked-by: Alexei Starovoitov a...@plumgrid.com Acked-by: Daniel Borkmann dan...@iogearbox.net -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH] cgroup: fix idr_preload usage

2015-08-03 Thread Tejun Heo
On Mon, Aug 03, 2015 at 03:32:26PM +0300, Vladimir Davydov wrote: It does not make much sense to call idr_preload with the same gfp mask as the following idr_alloc, but this is what we do in cgroup_idr_alloc. This patch fixes the idr_preload usage by making cgroup_idr_alloc call idr_alloc w/o

Re: [PATCH v2 0/6] ARC: spinlocks/atomics rework

2015-08-03 Thread Peter Zijlstra
On Mon, Aug 03, 2015 at 08:06:02PM +0530, Vineet Gupta wrote: The PREFETCHW workaround for llock/scond livelock was not sufficient after all and we had to do some work there. Extending testing of quad core FPGA builds shows things pretty stable, whereas w/o patches some of the LTP tests

[PATCH] Staging : lustre : Code Indentation

2015-08-03 Thread Shraddha Barke
Correct indentation issues according to checkpatch.pl : WARNING: suspect code indent for conditional statements Signed-off-by: Shraddha Barke shraddha.6...@gmail.com --- drivers/staging/lustre/lustre/llite/rw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
On Mon, 2015-08-03 at 10:55 -0500, Rob Herring wrote: On Mon, Aug 3, 2015 at 3:55 AM, Ian Campbell ian.campb...@citrix.com wrote: Commit 9ccd608070b6 (arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG) added a new dts file to arch/arm64 which included

Re: [PATCH 08/10] posix-cpu-timers: Migrate to use new tick dependency mask model

2015-08-03 Thread Chris Metcalf
On 07/31/2015 10:49 AM, Frederic Weisbecker wrote: Instead of doing a per signal dependency, I'm going to use a per task one. Which means that if a per-process timer is enqueued, every thread of that process will have the tick dependency. But if the timer is enqueued to a single thread, only the

Re: [PATCH v3] MIPS: tidy up FPU context switching

2015-08-03 Thread Ralf Baechle
On Mon, Aug 03, 2015 at 08:49:30AM -0700, Paul Burton wrote: Rather than saving the scalar FP or vector context in the assembly resume function, reuse the existing C code we have in fpu.h to do exactly that. This reduces duplication, results in a much easier to read resume function should

Re: [PATCH] Staging : lustre :Replace comma with a semicolon

2015-08-03 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2015 at 09:22:51PM +0530, Shraddha Barke wrote: Should I resend the patches? Why wouldn't you? -- 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

[PATCH v4] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
Commit 9ccd608070b6 (arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG) added a new dts file to arch/arm64 which included ../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi, i.e. a .dtsi supplied by arch/arm. Unfortunately this causes some issues for the split device tree

[PATCH v5] dtb: Create a common home for cross-architecture dtsi files.

2015-08-03 Thread Ian Campbell
Commit 9ccd608070b6 (arm64: dts: add device tree for ARM SMM-A53x2 on LogicTile Express 20MG) added a new dts file to arch/arm64 which included ../../../../arm/boot/dts/vexpress-v2m-rs1.dtsi, i.e. a .dtsi supplied by arch/arm. Unfortunately this causes some issues for the split device tree

Applied regulator: mt6311: Modify the maximum voltage of buck. to the regulator tree

2015-08-03 Thread Mark Brown
The patch regulator: mt6311: Modify the maximum voltage of buck. has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Re: [PATCH 3/3] serial: 8250: omap: restore registers on shutdown

2015-08-03 Thread Sebastian Andrzej Siewior
* Peter Hurley | 2015-07-30 20:51:10 [-0400]: Hi John, Hi Peter, I was never really a fan of the deferred set_termios(); I think it's more appropriate to wait for tx dma to complete in omap_8250_set_termios(). So you want something like this? This was only compile + boot tested (without

Re: [LINUX RFC 1/2] mtd: spi-nor: add dual parallel mode support

2015-08-03 Thread Mark Brown
On Mon, Aug 03, 2015 at 02:35:06PM +0530, Ranjit Waghmode wrote: drivers/mtd/devices/m25p80.c | 1 + drivers/mtd/spi-nor/spi-nor.c | 92 ++- include/linux/mtd/spi-nor.h | 3 ++ include/linux/spi/spi.h | 2 + 4 files changed, 79

Re: perf eBPF patch ordering. was: Re: perf test LLVM was: Re: [GIT PULL 00/39] perf tools: filtering events using eBPF programs

2015-08-03 Thread Arnaldo Carvalho de Melo
Em Mon, Aug 03, 2015 at 11:53:05PM +0800, pi3orama escreveu: 发自我的 iPhone 在 2015年8月3日,下午11:19,Arnaldo Carvalho de Melo a...@kernel.org 写道: Em Mon, Aug 03, 2015 at 12:07:28PM -0300, Arnaldo Carvalho de Melo escreveu: Em Mon, Aug 03, 2015 at 10:37:59AM +0800, Wangnan (F) escreveu:

Re: [PATCH V3 2/6] of/slimbus: OF helper for SLIMbus

2015-08-03 Thread Rob Herring
On Mon, Aug 3, 2015 at 1:59 AM, Sagar Dharia sdha...@codeaurora.org wrote: OF helper routine scans the SLIMbus DeviceTree, allocates resources, and creates slim_devices according to the hierarchy. Signed-off-by: Sagar Dharia sdha...@codeaurora.org ---

[PATCH] checkpatch: Emit an error on formats with 0x%decimal

2015-08-03 Thread Joe Perches
Using 0x%d is wrong. Emit a message when it happens. Miscellanea: improve the %Lu warning to match formats like %16Lu Signed-off-by: Joe Perches j...@perches.com --- scripts/checkpatch.pl | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/checkpatch.pl

Re: [PATCH V2] efi: fix 32bit kernel boot failed problem using efi

2015-08-03 Thread Greg KH
On Mon, Aug 03, 2015 at 10:02:49AM +0800, fupan...@windriver.com wrote: From: fli fupan...@windriver.com This needs to match the signed-off-by line, otherwise I can't take it :( Please fix up and resend. And what -stable tree is this for? thanks, greg k-h -- To unsubscribe from this list:

Re: [TRIVIAL PATCH] ASoC: atmel_ssc_dai: Correct misuse of 0x%decimal

2015-08-03 Thread Mark Brown
On Sun, Aug 02, 2015 at 01:22:29PM -0700, Joe Perches wrote: Correct misuse of 0x%d in logging message. This doesn't apply, please chekc and resend. signature.asc Description: Digital signature

Re: [PATCH 4.1 000/267] 4.1.4-stable review

2015-08-03 Thread Greg Kroah-Hartman
On Fri, Jul 31, 2015 at 07:09:19PM -0700, Guenter Roeck wrote: On 07/31/2015 12:37 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.4 release. There are 267 patches in this series, all will be posted as a response to this one. If anyone has any issues

[PATCH] Staging: lustre: Code Indentation

2015-08-03 Thread Shraddha Barke
Correct indentation issues according to checkpatch.pl : WARNING: suspect code indent for conditional statements Signed-off-by: Shraddha Barke shraddha.6...@gmail.com --- drivers/staging/lustre/lustre/llite/rw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH 3.14 000/125] 3.14.49-stable review

2015-08-03 Thread Greg Kroah-Hartman
On Sat, Aug 01, 2015 at 12:42:02PM +0530, Sudip Mukherjee wrote: On Sat, Aug 01, 2015 at 12:39:25PM +0530, Sudip Mukherjee wrote: On Fri, Jul 31, 2015 at 12:40:00PM -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.14.49 release. There are 125 patches

Re: [PATCH 4.1 000/267] 4.1.4-stable review

2015-08-03 Thread Greg Kroah-Hartman
On Sat, Aug 01, 2015 at 11:31:03AM +0530, Sudip Mukherjee wrote: On Fri, Jul 31, 2015 at 12:37:31PM -0700, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 4.1.4 release. There are 267 patches in this series, all will be posted as a response to this one. If

Re: [PATCH] MIPS: c-r4k: remove cpu_foreign_map

2015-08-03 Thread Ralf Baechle
On Mon, Aug 03, 2015 at 08:54:47AM -0700, Paul Burton wrote: Commit cccf34e9411c (MIPS: c-r4k: Fix cache flushing for MT cores) did 2 things: - Introduced cpu_foreign_map to call cache maintenance functions on only a single CPU within each core in the system. - Stopped calling

Re: [PATCH] [4.2 fix] x86, mpx: do not set -vm_ops on mpx VMAs

2015-08-03 Thread Greg KH
On Mon, Aug 03, 2015 at 01:34:28PM +0300, Kirill A. Shutemov wrote: Greg KH wrote: On Mon, Jul 20, 2015 at 02:29:58PM -0700, Dave Hansen wrote: (sorry for the spam, I screwed up the stable@ address). BTW, thanks to Kirill for doing this patch! He posted it to LKML but we need

Re: about ENOSYS

2015-08-03 Thread Greg Kroah-Hartman
On Mon, Aug 03, 2015 at 06:41:22AM +, Drokin, Oleg wrote: subject have been missing, so I filled in something. On Aug 3, 2015, at 2:18 AM, Shraddha Barke wrote: From b67c6c20455b04b77447ab4561e44f1a75dd978d Mon Sep 17 00:00:00 2001 From: Shraddha Barke shraddha.6...@gmail.com Date:

  1   2   3   4   5   6   7   8   9   10   >