Re: [PATCH 1/2] drm/mgag200: remove unused variables

2015-07-16 Thread Daniel Vetter
On Fri, Jul 17, 2015 at 11:51:03AM +0530, Sudip Mukherjee wrote: > On Wed, Jul 01, 2015 at 05:12:45PM +0530, Sudip Mukherjee wrote: > > These variables were assigned some values but they were never used. > Gentle ping. Both applied to drm-misc, thanks. -Daniel -- Daniel Vetter Software Engineer,

[GIT PULL] ARM: defconfig: Improvements for 4.3

2015-07-16 Thread Krzysztof Kozlowski
Dear Kukjin, Few defconfig related changes. Description along with a tag. You can find them also on the lists with my reviewed-by. Best regards, Krzysztof The following changes since commit 1c4c7159ed2468f3ac4ce5a7f08d79663d381a93: Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/

Re: [PATCH v2 4/4] mfd: max77686: Split out regulator part from the DT binding

2015-07-16 Thread Krzysztof Kozlowski
2015-07-17 15:46 GMT+09:00 Javier Martinez Canillas : > Hello Krzysztof, > > On 07/17/2015 08:42 AM, Krzysztof Kozlowski wrote: >> 2015-07-17 15:29 GMT+09:00 Javier Martinez Canillas : >>> The Maxim MAX77686 PMIC is a multi-function device with regulators, >>> clocks and a RTC. The DT bindings for

Re: [PATCH] arm64: remove dead code

2015-07-16 Thread Ard Biesheuvel
(use Geoff's correct email address) On 17 July 2015 at 08:49, Ard Biesheuvel wrote: > (adding Geoff and Takahiro) > > On 16 July 2015 at 19:58, Mark Salter wrote: >> Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed >> soft_reset() from the kernel. This was the only caller of >> setu

Re: [PATCH] arm64: remove dead code

2015-07-16 Thread Ard Biesheuvel
(adding Geoff and Takahiro) On 16 July 2015 at 19:58, Mark Salter wrote: > Commit 68234df4ea79 ("arm64: kill flush_cache_all()") removed > soft_reset() from the kernel. This was the only caller of > setup_mm_for_reboot(), so remove that also. > I am wondering if setup_mm_for_reboot() is being us

Re: [PATCH v2 4/4] mfd: max77686: Split out regulator part from the DT binding

2015-07-16 Thread Javier Martinez Canillas
Hello Krzysztof, On 07/17/2015 08:42 AM, Krzysztof Kozlowski wrote: > 2015-07-17 15:29 GMT+09:00 Javier Martinez Canillas : >> The Maxim MAX77686 PMIC is a multi-function device with regulators, >> clocks and a RTC. The DT bindings for the clocks are in a separate >> file but the bindings for the

Re: [PATCH 4/5] irqchip: gic-v3: Add gic_get_irq_domain() to get the irqdomain of the GIC.

2015-07-16 Thread Marc Zyngier
On Thu, 16 Jul 2015 18:32:28 +0100 Marc Zyngier wrote: > On 16/07/15 18:14, David Daney wrote: > > On 07/16/2015 10:09 AM, Marc Zyngier wrote: > >> On 16/07/15 17:50, David Daney wrote: > > [...] > Patch 5 has established that you're using "virtual wire" SPIs, so we > need to work on ex

Re: [PATCH 4/7] fs: Treat foreign mounts as nosuid

2015-07-16 Thread Nikolay Borisov
On 07/15/2015 10:46 PM, Seth Forshee wrote: > From: Andy Lutomirski > > If a process gets access to a mount from a different namespace user > namespace, that process should not be able to take advantage of > setuid files or selinux entrypoints from that filesystem. > Technically, trusting mount

[PATCH 1/2] input: touchscreen: pixcir_i2c_ts: Add support for optional wakeup interrupt

2015-07-16 Thread Vignesh R
On am437x-gp-evm, pixcir touchscreen can wake the system from low power state by generating wake-up interrupt via pinctrl and IO daisy chain. Add support for optional wakeup interrupt source by regsitering to automated wake IRQ framework introduced by commit 4990d4fe327b ("PM / Wakeirq: Add automat

[PATCHv2 1/1] kernel/sysctl.c: Add /proc/sys/vm/shrink_memory feature

2015-07-16 Thread Pintu Kumar
This patch provides 2 things: 1. Add new control called shrink_memory in /proc/sys/vm/. This control can be used to aggressively reclaim memory system-wide in one shot from the user space. A value of 1 will instruct the kernel to reclaim as much as totalram_pages in the system. Example: echo 1 > /p

[PATCH 2/2] ARM: dts: am437x-gp-evm: Add wakeup interrupt source for pixcir_i2c_tsc

2015-07-16 Thread Vignesh R
Pixcir_i2c_tsc driver can now wakeup the system from lower power state via pinctrl and IO daisy chain using generic wakeirq framwework. Add optional wakeup irq entry to allow pixcir_i2c_tsc to wake system from low power state. Signed-off-by: Vignesh R --- arch/arm/boot/dts/am437x-gp-evm.dts | 3

[PATCH 0/2] pixcir_i2c_ts: Add optional wakeup irq support

2015-07-16 Thread Vignesh R
On am437x-gp-evm, pixcir_i2c_tsc can wake-up system from low power state via pinctrl and IO daisy chain mechanism. This patch series add support for such optional wake up interrupt to be handled via recently introduced generic wake irq handling framework. Tested on am437x-gp-evm, with some out of

Re: [PATCH v2 4/4] mfd: max77686: Split out regulator part from the DT binding

2015-07-16 Thread Krzysztof Kozlowski
2015-07-17 15:29 GMT+09:00 Javier Martinez Canillas : > The Maxim MAX77686 PMIC is a multi-function device with regulators, > clocks and a RTC. The DT bindings for the clocks are in a separate > file but the bindings for the regulators are inside the mfd part. > > To make it consistent with the clo

Re: [PATCH] toshiba_acpi: Add /dev/toshiba_acpi device

2015-07-16 Thread Darren Hart
On Thu, Jul 16, 2015 at 05:32:44PM -0600, Azael Avalos wrote: > There were previous attempts to "merge" the toshiba SMM module to the > toshiba_acpi one, they were trying to imitate what the old toshiba > module does, however, some models (TOS1900 devices) come with a > "crippled" implementation an

Re: [RFC PATCH 0/2] thermal: Add generic devfreq cooling device

2015-07-16 Thread MyungJoo Ham
> > This patchset introduce the generic devfreq cooling device for generic > thermal > framework. The devfreq devices are used ad cooling device to reduce the > overheating temperature. This patch is based on drivers/thermal/cpu_cooling.c. > The devfreq cooling device can change the ragne of t

Re: [PATCH v2 3/4] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-16 Thread Krzysztof Kozlowski
2015-07-17 15:29 GMT+09:00 Javier Martinez Canillas : > The MAX77802 is a chip that contains regulators, 2 32kHz clocks, > a RTC and an I2C interface to program the individual components. > > The are already DT bindings for the regulators and clocks and > these reference to a bindings/mfd/max77802.

Re: [PATCH v5 2/3] pwm: add MediaTek display PWM driver support

2015-07-16 Thread YH Huang
On Fri, 2015-07-17 at 01:18 +0800, Daniel Kurtz wrote: > On Fri, Jul 17, 2015 at 12:44 AM, YH Huang wrote: > > On Thu, 2015-07-16 at 23:21 +0800, Daniel Kurtz wrote: > >> On Thu, Jul 16, 2015 at 3:17 PM, YH Huang wrote: > >> > On Thu, 2015-07-16 at 14:54 +0800, Daniel Kurtz wrote: > >> >> On Thu,

[PATCH v2 1/4] mfd: max77686: Don't suggest in binding to use a deprecated property

2015-07-16 Thread Javier Martinez Canillas
The regulator-compatible property from the regulator DT binding was deprecated. But the max77686 DT binding doc still suggest to use it instead of the regulator node name's which is the correct approach. Signed-off-by: Javier Martinez Canillas Reviewed-by: Krzysztof Kozlowski --- Changes in v2

[PATCH v2 3/4] mfd: Add DT binding for Maxim MAX77802 IC

2015-07-16 Thread Javier Martinez Canillas
The MAX77802 is a chip that contains regulators, 2 32kHz clocks, a RTC and an I2C interface to program the individual components. The are already DT bindings for the regulators and clocks and these reference to a bindings/mfd/max77802.txt file, that didn't exist, for the details about the PMIC. S

[PATCH v2 4/4] mfd: max77686: Split out regulator part from the DT binding

2015-07-16 Thread Javier Martinez Canillas
The Maxim MAX77686 PMIC is a multi-function device with regulators, clocks and a RTC. The DT bindings for the clocks are in a separate file but the bindings for the regulators are inside the mfd part. To make it consistent with the clocks portion of the binding and because is more natural to look

[PATCH v2 0/4] mfd: Improve DT binding docs for max77686 and max77802

2015-07-16 Thread Javier Martinez Canillas
Hello Lee, This series contains some improvements for the Device Tree bindings of the Maxim MAX77686 and MAX77802 multi-function devices. This is the second version of the series that addresses issues pointed out by Krzysztof Kozlowski and Sergei Shtylyov. Patch #1 changes the max77686 binding t

[PATCH v2 2/4] mfd: max77686: Use a generic name for the PMIC node in the example

2015-07-16 Thread Javier Martinez Canillas
The ePAR standard says that: "the name of a node should be somewhat generic, reflecting the function of the device and not its precise programming model." So, change the max77686 binding document example to use a generic node name instead of using the chip's name. Suggested-by: Sergei Shtylyov S

Re: [PATCH 1/2] drm/mgag200: remove unused variables

2015-07-16 Thread Sudip Mukherjee
On Wed, Jul 01, 2015 at 05:12:45PM +0530, Sudip Mukherjee wrote: > These variables were assigned some values but they were never used. Gentle ping. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH 0/2] dmaengine: Add scatter-gathered memset support

2015-07-16 Thread Ludovic Desroches
On Mon, Jul 06, 2015 at 12:19:22PM +0200, Maxime Ripard wrote: > Hi Vinod, > > Here is a patch serie that adds a new dmaengine operation for > scatter-gathered memset. > > Indeed, doing a memset over a discontiguous buffer is quite > inefficient at the moment, since you have to create and submit

Re: [PATCH] sched: prevent sched entity from being decayed twice when both waking and migrating it

2015-07-16 Thread Byungchul Park
On Thu, Jul 16, 2015 at 10:00:00AM -0700, bseg...@google.com wrote: hello, > byungchul.p...@lge.com writes: > > > From: Byungchul Park > > > > hello paul, > > > > can i ask you something? > > > > when a sched entity is both waken and migrated, it looks being decayed > > twice. > > did you do i

Re: Kernel Oops: btusb: 4.2rc1 System lockup with BT dongle insert - log attached

2015-07-16 Thread simon
> It looks like the firmware 'opt_flags' must be different, so this may be a > contributing factor. Plot thickens kernel config has changed since I built 4.1.0rc7, but I don't recall doing it or starting a fresh. /boot/config-4.1.0-rc7+ -- CONFIG_PREVENT_FIRMWARE_BUILD=y CONFIG_FW_LOADER=y C

[PATCH] mm/rmap: disable preemption for trace_tlb_flush()

2015-07-16 Thread Sergey Senozhatsky
tlb_flush contains TP_CONDITION(cpu_online(smp_processor_id())) which is better be executed with preemption disabled. Move trace_tlb_flush(TLB_REMOTE_SHOOTDOWN) in try_to_unmap_flush() under get_cpu(). Signed-off-by: Sergey Senozhatsky --- mm/rmap.c | 2 +- 1 file changed, 1 insertion(+), 1 del

RE: [PATCH 0/7] introduce Hyper-V VM Sockets(hvsock)

2015-07-16 Thread Dexuan Cui
> -Original Message- > From: Stefan Hajnoczi > Sent: Thursday, July 16, 2015 23:59 > On Mon, Jul 06, 2015 at 07:39:35AM -0700, Dexuan Cui wrote: > > Hyper-V VM Sockets (hvsock) is a byte-stream based communication > mechanism > > between Windowsd 10 (or later) host and a guest. It's kind of

Re: [PATCH v4] staging: rtl8192u: remove bool comparisons

2015-07-16 Thread Sudip Mukherjee
On Thu, Jul 16, 2015 at 03:49:49PM +0200, Luis de Bethencourt wrote: > Remove explicit true/false comparisons to bool variables. > > Signed-off-by: Luis de Bethencourt > --- > > diff --git a/drivers/staging/rtl8192u/r8192U_core.c > b/drivers/staging/rtl8192u/r8192U_core.c > index b852396..41cf9

Re: [PATCH RFC] intel_pstate: play well with frequency limits set by acpi

2015-07-16 Thread ethan zhao
On 2015/7/17 2:17, Konstantin Khlebnikov wrote: IPMI can control CPU P-states remotely: configuration is reported via common ACPI interface (_PPC/_PSS/etc). This patch adds required minimal support in intel_pstate to receive and use these P-state limits. * ignore limit of top state in _PPC: it

Re: [RFC PATCH v3 4/4] trace: Trace log handler for logging into STM blocks

2015-07-16 Thread Chunyan Zhang
On Wed, Jul 8, 2015 at 9:19 PM, Steven Rostedt wrote: > On Wed, 8 Jul 2015 14:31:48 +0200 > Peter Zijlstra wrote: > >> On Tue, Jul 07, 2015 at 06:10:43PM +0800, Chunyan Zhang wrote: >> > Add the function 'trace_event_stm_output_##call' for printing events >> > trace log into STM blocks. >> > >> >

RE: [PATCH] dmaengine: fsl-edma: add PM suspend/resume support

2015-07-16 Thread Yao Yuan
Hi Vinod, eDMA sullpies the data transmission service for other IPs, so it should be suspended later and resumed earlier. For example: Synchronous Audio Interface (SAI), SAI use DMA to transfer the data. When suspend: 1, SAI using suspend handlers to stop the DMA transmission. 2, DMA using suspen

[PATCH] wd719x: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-07-16 Thread Vaishali Thakkar
Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with the goal of getting rid of this macro completely. The Coccinelle semantic patch that performs this transformation is as follows: @@ identifier a; declarer name DEFINE_PCI_DEVICE_

Re: [PATCH 4/5] regulator: 88pm800: Add 88pm860 regulator support

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 03:04 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:57PM +0530, Vaibhav Hiremath wrote: 88PM860 falls under 88pm800 family of devices, with additional feature enhancements, like, - 88pm860 had additional BUCK regulator (BUCK6 and BUCK1B) - Additional LDO (LDO

Re: [PATCH 5/5] regulator: 88pm800: Add support for configuration of dual phase on BUCK1

2015-07-16 Thread Vaibhav Hiremath
On Friday 17 July 2015 02:02 AM, Mark Brown wrote: On Thu, Jul 16, 2015 at 11:46:58PM +0530, Vaibhav Hiremath wrote: .disable= regulator_disable_regmap, .is_enabled = regulator_is_enabled_regmap, .get_current_limit = pm800_get_current_l

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Zumeng Chen
On 2015年07月17日 09:51, Sukadev Bhattiprolu wrote: Zumeng Chen [zumeng.c...@gmail.com] wrote: | 3. What I have seen in 3.14.x kernel, | == | And so far, no more difference to 4.x kernel from me about this part if | I'm right. | | *) With 1028ccf5 | | perf list|grep -i syscall go

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Zumeng Chen
On 2015年07月17日 12:07, Michael Ellerman wrote: On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: On 2015年07月16日 17:04, Michael Ellerman wrote: On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: Hi All, 1028ccf5 did a change for sys_call_table from a pointer to an array of unsigned long,

[PATCH RESEND] f2fs: optimize f2fs_write_cache_pages

2015-07-16 Thread Tiezhu Yang
The if statement "goto continue_unlock" is exactly the same when each if condition is true that is depended on the value of both "step" and "is_cold_data(page)" are 0 or 1. That means when the value of "step" equals to "is_cold_data(page)", the if condition is true and the if statement "goto contin

Re: [PATCH 14/41] clocksource: mxs: Migrate to new 'set-state' interface

2015-07-16 Thread Stefan Wahren
Hi Viresh, [add Fabio, Marek and Pengutronix to CC] > Viresh Kumar hat am 18. Juni 2015 um 12:54 > geschrieben: > > > Migrate mxs driver to the new 'set-state' interface provided by > clockevents core, the earlier 'set-mode' interface is marked obsolete > now. > > This also enables us to impleme

[PATCH] perf/x86/intel/uncore: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-07-16 Thread Vaishali Thakkar
Macro DEFINE_PCI_DEVICE_TABLE is deprecated. So, here use struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with the goal of getting rid of this macro completely. The Coccinelle semantic patch that performs this transformation is as follows: @@ identifier a; declarer name DEFINE_PCI_DEVICE_

linux-next: Tree for Jul 17

2015-07-16 Thread Stephen Rothwell
Hi all, Changes since 20150716: Added tree: samaung-krzk The net-next tree gained a conflict against the net tree. The sound-asoc tree gained a build failure for which I applied a fix patch. The regmap tree gained conflicts against the sound-asoc tree. I added several supplied patches to the

[PATCH 06/18] ARM/imx/epit: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate imx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also drop 'clockevent_mode': It was caching th

[PATCH 12/18] ARM/omap1/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate omap driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by: Santosh Shilimkar Acked-by: Tony L

Re: Kernel Oops: btusb: 4.2rc1 System lockup with BT dongle insert - log attached

2015-07-16 Thread simon
> [ 117.236007] [] device_del+0x18f/0x270 > [ 117.236007] [] ? wake_up_q+0x70/0x70 > [ 117.236007] [] _request_firmware+0x5aa/0xaf0 > [ 117.236007] [] request_firmware+0x35/0x50 > [ 117.236007] [] btbcm_setup_patchram+0x191/0x910 > [btbcm] > [ 117.236007] [] ? rpm_idle+0xc4/0x200 > [

[PATCH 15/18] ARM/SPEAr/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate SPEAr driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Also kill the unnecessary forward declaratio

[PATCH 09/18] ARM/lpc32xx/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate lpc32xx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Roland Stigge Signed-off-by: Viresh K

[PATCH 10/18] ARM/mmp/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate mmp driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in set_mode(RESUME)

[PATCH 17/18] ARM/iop/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate iop driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Russell King Signed-off-by: Viresh Kumar

[PATCH 18/18] ARM/orion/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate orion driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Jason Cooper Cc: Andrew Lunn Cc: Sebas

[PATCH 16/18] ARM/w90x900/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate w90x900 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Wan ZongShun Signed-off-by: Viresh Ku

[PATCH 07/18] ARM/ixp4xx/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate ixp4xx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. NOTE: ixp4xx_set_{oneshot|periodic} don't p

[PATCH 13/18] ARM/omap1/timer32: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate omap timer32 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by: Santosh Shilimkar Acked-by

[PATCH 14/18] ARM/omap2/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate omap2 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by: Santosh Shilimkar Acked-by: Tony

[PATCH 11/18] ARM/netx/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate netx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We aren't writing zero twice on the control r

[PATCH 08/18] ARM/ks8695/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate ks8695 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. There is nothing to be done for oneshot or

[PATCH 05/18] ARM/gemini/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate gemini driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Acked-by: Hans Ulli Kroll Signed-off-by: V

[PATCH 04/18] ARM/dc21285-timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate footbridge driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Russell King Signed-off-by: Viresh

[PATCH 02/18] ARM/cns3xxx/timer: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate cns3xxx driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. NOTE: We don't read TIMER1_2_CONTROL_OFFSE

[PATCH 03/18] ARM/davinci/time: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate davinci driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. We weren't doing anything in set_mode(RESU

[PATCH 01/18] ARM/smp_twd: Migrate to new 'set-state' interface

2015-07-16 Thread Viresh Kumar
Migrate smp_twd driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPED. Cc: Russell King Signed-off-by: Viresh Ku

Re: Applied "regulator: 88pm800: Remove owner" to the regulator tree

2015-07-16 Thread Krzysztof Kozlowski
2015-07-17 6:19 GMT+09:00 Mark Brown : > The patch > >regulator: 88pm800: Remove owner > > 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 (us

Re: [mminit] [ INFO: possible recursive locking detected ]

2015-07-16 Thread Konstantin Khlebnikov
On Thu, Jul 16, 2015 at 8:51 PM, Mel Gorman wrote: > On Thu, Jul 16, 2015 at 08:13:38PM +0300, Konstantin Khlebnikov wrote: >> > @@ -1187,14 +1195,14 @@ void __init page_alloc_init_late(void) >> > {pgdat_init_rwsempgdat_init_rwsempgdat_init_rwsem >> > int nid; >> > >> > + /* There w

Re: [PATCH v2 1/7] mn10300: fix build failure

2015-07-16 Thread Sudip Mukherjee
On Thu, Jul 16, 2015 at 02:54:26PM -0700, Andrew Morton wrote: > On Thu, 18 Jun 2015 17:47:47 +0530 Sudip Mukherjee > wrote: > > > So an appropriate fix for this would be to move the references to > prev_kprobe/kprobe_ctlblk out of include/linux/kprobes.h and into > asm/kprobes.h. Presumably v

Re: [PATCH] gpio/davinci: add interrupt support for GPIOs 16-31

2015-07-16 Thread Sekhar Nori
On Thursday 16 July 2015 11:11 PM, Vitaly Andrianov wrote: > > > On 07/16/2015 05:04 AM, Sekhar Nori wrote: >> On Tuesday 14 July 2015 07:31 PM, Linus Walleij wrote: >>> On Thu, Jun 18, 2015 at 7:10 PM, Vitaly Andrianov >>> wrote: >>> Interrupts for GPIOs 16 through 31 are enabled by bit 1

[Patch V6 01/16] xen: sync with xen headers

2015-07-16 Thread Juergen Gross
Use the newest headers from the xen tree to get some new structure layouts. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Konrad Rzeszutek Wilk --- arch/x86/include/asm/xen/interface.h | 96 include/xen/interface/xen.h | 35 +

[Patch V6 04/16] xen: eliminate scalability issues from initial mapping setup

2015-07-16 Thread Juergen Gross
Direct Xen to place the initial P->M table outside of the initial mapping, as otherwise the 1G (implementation) / 2G (theoretical) restriction on the size of the initial mapping limits the amount of memory a domain can be handed initially. As the initial P->M table is copied rather early during bo

[Patch V6 02/16] xen: save linear p2m list address in shared info structure

2015-07-16 Thread Juergen Gross
The virtual address of the linear p2m list should be stored in the shared info structure read by the Xen tools to be able to support 64 bit pv-domains larger than 512 GB. Additionally the linear p2m list interface includes a generation count which is changed prior to and after each mapping change o

[Patch V6 06/16] xen: split counting of extra memory pages from remapping

2015-07-16 Thread Juergen Gross
Memory pages in the initial memory setup done by the Xen hypervisor conflicting with the target E820 map are remapped. In order to do this those pages are counted and remapped in xen_set_identity_and_remap(). Split the counting from the remapping operation to be able to setup the needed memory siz

[Patch V6 08/16] xen: find unused contiguous memory area

2015-07-16 Thread Juergen Gross
For being able to relocate pre-allocated data areas like initrd or p2m list it is mandatory to find a contiguous memory area which is not yet in use and doesn't conflict with the memory map we want to be in effect. In case such an area is found reserve it at once as this will be required to be don

[Patch V6 10/16] xen: check pre-allocated page tables for conflict with memory map

2015-07-16 Thread Juergen Gross
Check whether the page tables built by the domain builder are at memory addresses which are in conflict with the target memory map. If this is the case just panic instead of running into problems later. Signed-off-by: Juergen Gross Acked-by: Konrad Rzeszutek Wilk --- arch/x86/xen/mmu.c | 19

[Patch V6 07/16] xen: check memory area against e820 map

2015-07-16 Thread Juergen Gross
Provide a service routine to check a physical memory area against the E820 map. The routine will return false if the complete area is RAM according to the E820 map and true otherwise. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Konrad Rzeszutek Wilk --- arch/x86/xen/setup.

[Patch V6 05/16] xen: move static e820 map to global scope

2015-07-16 Thread Juergen Gross
Instead of using a function local static e820 map in xen_memory_setup() and calling various functions in the same source with the map as a parameter use a map directly accessible by all functions in the source. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Konrad Rzeszutek Wil

[Patch V6 13/16] xen: add explicit memblock_reserve() calls for special pages

2015-07-16 Thread Juergen Gross
Some special pages containing interfaces to xen are being reserved implicitly only today. The memblock_reserve() call to reserve them is meant to reserve the p2m list supplied by xen. It is just reserving not only the p2m list itself, but some more pages up to the start of the xen built page tables

[Patch V6 11/16] xen: check for initrd conflicting with e820 map

2015-07-16 Thread Juergen Gross
Check whether the initrd is placed at a location which is conflicting with the target E820 map. If this is the case relocate it to a new area unused up to now and compliant to the E820 map. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Konrad Rzeszutek Wilk --- arch/x86/xen/

[Patch V6 09/16] xen: check for kernel memory conflicting with memory layout

2015-07-16 Thread Juergen Gross
Checks whether the pre-allocated memory of the loaded kernel is in conflict with the target memory map. If this is the case, just panic instead of run into problems later, as there is nothing we can do to repair this situation. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Kon

[Patch V6 03/16] xen: don't build mfn tree if tools don't need it

2015-07-16 Thread Juergen Gross
In case the Xen tools indicate they don't need the p2m 3 level tree as they support the virtual mapped linear p2m list, just omit building the tree. Signed-off-by: Juergen Gross Reviewed-by: David Vrabel Acked-by: Konrad Rzeszutek Wilk --- arch/x86/xen/p2m.c | 10 +++--- 1 file changed, 7

[Patch V6 12/16] mm: provide early_memremap_ro to establish read-only mapping

2015-07-16 Thread Juergen Gross
During early boot as Xen pv domain the kernel needs to map some page tables supplied by the hypervisor read only. This is needed to be able to relocate some data structures conflicting with the physical memory map especially on systems with huge RAM (above 512GB). Provide the function early_memrem

[Patch V6 15/16] xen: allow more than 512 GB of RAM for 64 bit pv-domains

2015-07-16 Thread Juergen Gross
64 bit pv-domains under Xen are limited to 512 GB of RAM today. The main reason has been the 3 level p2m tree, which was replaced by the virtual mapped linear p2m list. Parallel to the p2m list which is being used by the kernel itself there is a 3 level mfn tree for usage by the Xen tools and event

[Patch V6 14/16] xen: move p2m list if conflicting with e820 map

2015-07-16 Thread Juergen Gross
Check whether the hypervisor supplied p2m list is placed at a location which is conflicting with the target E820 map. If this is the case relocate it to a new area unused up to now and compliant to the E820 map. As the p2m list might by huge (up to several GB) and is required to be mapped virtuall

[Patch V6 16/16] xen: remove no longer needed p2m.h

2015-07-16 Thread Juergen Gross
Cleanup by removing arch/x86/xen/p2m.h as it isn't needed any more. Most definitions in this file are used in p2m.c only. Move those into p2m.c. set_phys_range_identity() is already declared in arch/x86/include/asm/xen/page.h, add __init annotation there. MAX_REMAP_RANGES isn't used at all, just

[Patch V6 00/16] xen: support pv-domains larger than 512GB

2015-07-16 Thread Juergen Gross
Support 64 bit pv-domains with more than 512GB of memory. Following test have been done: - 64 bit dom0 on 8GB machine - 64 bit dom0 on 1TB machine (resolving p2m/E820-map conflict) - 32 bit dom0 on 8GB machine - 64 bit dom0 on 8GB machine with faked kernel/E820-map conflict - 64 bit dom0 on 8GB ma

Re: Reconciling rcu_irq_enter()/rcu_nmi_enter() with context tracking

2015-07-16 Thread Paul E. McKenney
On Thu, Jul 16, 2015 at 09:29:07PM -0700, Paul E. McKenney wrote: > On Thu, Jul 16, 2015 at 06:53:15PM -0700, Andy Lutomirski wrote: > > For reasons that mystify me a bit, we currently track context tracking > > state separately from rcu's watching state. This results in strange > > artifacts: not

Re: [RFC PATCH 01/12] powerpc/kernel: Get pt_regs from r9 before calling do_syscall_trace_enter()

2015-07-16 Thread Michael Ellerman
On Fri, 2015-07-17 at 08:40 +1000, Benjamin Herrenschmidt wrote: > On Wed, 2015-07-15 at 17:37 +1000, Michael Ellerman wrote: > > To call do_syscall_trace_enter() we need pt_regs in r3, but we don't need > > to recalculate it based on r1, it's already in r9. > > > > Signed-off-by: Michael Ellerman

linux-next: build warnings after merge of the regmap tree

2015-07-16 Thread Stephen Rothwell
Hi Mark, After merging the regmap tree, today's linux-next build (powerpc allyesconfig) produced these warnings: sound/soc/codecs/wm5110.c: In function 'wm5110_hp_pre_enable': sound/soc/codecs/wm5110.c:294:9: warning: passing argument 2 of 'regmap_multi_reg_write' from incompatible pointer type

Re: [PATCH v5 7/8] dmaengine: add a driver for Intel integrated DMA 64-bit

2015-07-16 Thread Vinod Koul
On Mon, Jul 06, 2015 at 03:22:13PM +0300, Andy Shevchenko wrote: > +config IDMA64 > + tristate "Intel integrated DMA 64-bit support" > + select DMA_ENGINE > + select DMA_VIRTUAL_CHANNELS no help text? > +static void idma64_chan_init(struct idma64 *idma64, struct idma64_chan > *idma64c

Re: [PATCH RFC] intel_pstate: play well with frequency limits set by acpi

2015-07-16 Thread Konstantin Khlebnikov
On Fri, Jul 17, 2015 at 1:08 AM, Srinivas Pandruvada wrote: > On Thu, 2015-07-16 at 21:17 +0300, Konstantin Khlebnikov wrote: >> IPMI can control CPU P-states remotely: configuration is reported via >> common ACPI interface (_PPC/_PSS/etc). This patch adds required minimal >> support in intel_psta

Re: Reconciling rcu_irq_enter()/rcu_nmi_enter() with context tracking

2015-07-16 Thread Paul E. McKenney
On Thu, Jul 16, 2015 at 06:53:15PM -0700, Andy Lutomirski wrote: > For reasons that mystify me a bit, we currently track context tracking > state separately from rcu's watching state. This results in strange > artifacts: nothing generic cause IRQs to enter CONTEXT_KERNEL, and we > can nest excepti

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-16 Thread Alexei Starovoitov
On 7/16/15 9:14 PM, Wangnan (F) wrote: On 2015/7/17 12:11, Alexei Starovoitov wrote: On 7/14/15 4:54 AM, He Kuang wrote: I'm not sure llvm generates proper dwarf along with bpf code (I didn't test that part. If there are any issues they should be fixable. If you can prepapre a patch for llvm

Re: [RFC] workqueue: avoiding unbounded wq on isolated CPUs by default

2015-07-16 Thread Mike Galbraith
On Thu, 2015-07-16 at 15:24 -0400, Tejun Heo wrote: > Hello, > > On Thu, Jul 16, 2015 at 04:16:23PM -0300, Daniel Bristot de Oliveira wrote: > > By default, unbounded workqueues run on all CPUs, which includes > > isolated CPUs. This patch avoids unbounded workqueues running on > > isolated CPUs b

linux-next: build failure after merge of the sound-asoc tree

2015-07-16 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (powerpc allyesconfig) failed like this: sound/soc/sti/sti_uniperif.c: In function 'sti_uniperiph_dai_suspend': sound/soc/sti/sti_uniperif.c:81:2: error: implicit declaration of function 'pinctrl_pm_select_sleep_state' [-Werror=

Re: [PATCH v3 2/2] dma: Add Xilinx zynqmp dma engine driver support

2015-07-16 Thread punnaiah choudary kalluri
On Fri, Jul 17, 2015 at 8:35 AM, Vinod Koul wrote: > On Fri, Jul 17, 2015 at 06:22:42AM +0530, punnaiah choudary kalluri wrote: >> On Thu, Jul 16, 2015 at 6:05 PM, Vinod Koul wrote: >> > On Tue, Jun 16, 2015 at 08:04:43AM +0530, Punnaiah Choudary Kalluri wrote: >> >> +/* Register Offsets */ >> >>

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-16 Thread Wangnan (F)
On 2015/7/17 12:11, Alexei Starovoitov wrote: On 7/14/15 4:54 AM, He Kuang wrote: I'm not sure llvm generates proper dwarf along with bpf code (I didn't test that part. If there are any issues they should be fixable. If you can prepapre a patch for llvm that would be even better :) I found

Re: [RFC PATCH v4 3/3] bpf: Introduce function for outputing data to perf event

2015-07-16 Thread Alexei Starovoitov
On 7/14/15 4:54 AM, He Kuang wrote: I'm not sure llvm generates proper dwarf along with bpf code (I didn't test that part. If there are any issues they should be fixable. If you can prepapre a patch for llvm that would be even better :) I found objdump can't get dwarf info from bpf object file

Re: BUG: perf error on syscalls for powerpc64.

2015-07-16 Thread Michael Ellerman
On Fri, 2015-07-17 at 09:27 +0800, Zumeng Chen wrote: > On 2015年07月16日 17:04, Michael Ellerman wrote: > > On Thu, 2015-07-16 at 13:57 +0800, Zumeng Chen wrote: > >> Hi All, > >> > >> 1028ccf5 did a change for sys_call_table from a pointer to an array of > >> unsigned long, I think it's not proper,

Re: [PATCH v2 00/49] PCI: Resource allocation cleanup for v4.3

2015-07-16 Thread Yinghai Lu
On Thu, Jul 16, 2015 at 6:51 PM, Wei Yang wrote: > Yinghai, > > Tested your latest for for-pci-v4.3-next branch, it works fine on my P8 > machine. Thanks for testing. > > BTW, the SRIOV works fine too. Previously failure is based on my mistake, I > have disabled SRIOV :-( Good. -- To unsubscrib

Re: [PATCH 7/7] x86/mce: Clear Local MCE opt-in before kexec

2015-07-16 Thread Raj, Ashok
On Thu, Jul 16, 2015 at 06:16:50PM -0700, Andy Lutomirski wrote: > > From: Ashok Raj > > > > kexec could boot a kernel that could be legacy with no knowledge of > > LMCE. Hence we should make sure we clear LMCE optin before kexec reboot. > > > > What happens if an offline-but-not-unplugged CPU ge

[PATCH 8/9] perf,tools: caculate and save tsc/avg/bzy freq in he_stat

2015-07-16 Thread kan . liang
From: Kan Liang Introduce a new hist_iter ops (hist_iter_freq) to caculate the tsc/avg/bzy freq when processing samples, and save them in hist_entry. Signed-off-by: Kan Liang --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +- tools/perf/tests/hists_link.c | 4 ++

[PATCH 2/9] perf/x86: core_misc PMU disable and enable support

2015-07-16 Thread kan . liang
From: Kan Liang This patch implements core_misc PMU disable and enable functions. core_misc PMU counters are free running counters, so it's impossible to stop/start them. The "disable" means not read counters. With disable/enable functions, it's possible to "disable" core_misc events when other P

[PATCH 9/9] perf,tools: Show freq in perf report --stdio

2015-07-16 Thread kan . liang
From: Kan Liang Show freq for each symbol in perf report by --stdio --show-freq In sampling group, only group leader do sampling. So only need to print group leader's freq in --group. Here is an example. $ perf report --stdio --group --show-freq # Samples: 71K of event 'anon group { ref-cyc

[PATCH 5/9] perf,tools: open event with it's own cpus and threads

2015-07-16 Thread kan . liang
From: Kan Liang evsel may have different cpus and threads as evlist's. Use it's own cpus and threads, when open evsel in perf record. Signed-off-by: Kan Liang --- tools/perf/builtin-record.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/builtin-record.c b/tools

  1   2   3   4   5   6   7   8   9   10   >