[PATCH 0/4 V6] workqueue: Introduce low-level unbound wq sysfs cpumask v5

2015-04-02 Thread Lai Jiangshan
This patchset mostly copies from Frederic and split the apply_workqueue_attrs() as TJ's suggest. This patchset still doesn't include the patch workqueue: Allow changing attributions of ordered workqueues, I hope to reduce the review processing. The handling for the ordered workqueue will be

[PATCH 1/4 V6] workqueue: Reorder sysfs code

2015-04-02 Thread Lai Jiangshan
From: Frederic Weisbecker fweis...@gmail.com The sysfs code usually belongs to the botom of the file since it deals with high level objects. In the workqueue code it's misplaced and such that we'll need to work around functions references to allow the sysfs code to call APIs like

[PATCH 3/4 V6] workqueue: Create low-level unbound workqueues cpumask

2015-04-02 Thread Lai Jiangshan
From: Frederic Weisbecker fweis...@gmail.com Create a cpumask that limit the affinity of all unbound workqueues. This cpumask is controlled though a file at the root of the workqueue sysfs directory. It works on a lower-level than the per WQ_SYSFS workqueues cpumask files such that the effective

Re: [PATCH RFC 00/10] introduce DPAA Ethernet driver

2015-04-02 Thread Valentin Longchamp
On 04/01/2015 06:19 PM, Madalin Bucur wrote: This is the second version of a patch series that adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This second version includes the changes requested by Kumar Gala. The PM ops patch was removed as the

[PATCH 4/4 V6] workqueue: Allow modifying low level unbound workqueue cpumask

2015-04-02 Thread Lai Jiangshan
Allow to modify the low-level unbound workqueues cpumask through sysfs. This is performed by traversing the entire workqueue list and calling apply_wqattrs_prepare() on the unbound workqueues with the low level mask passed in. Only after all the preparation are done, we commit them all together.

[PATCH 2/4 V6] workqueue: split apply_workqueue_attrs() into 3 stages

2015-04-02 Thread Lai Jiangshan
Current apply_workqueue_attrs() includes pwqs-allocation and pwqs-installation, so when we batch multiple apply_workqueue_attrs()s as a transaction, we can't ensure the transaction must succeed or fail as a complete unit. To solve this, we split apply_workqueue_attrs() into three stages. The

Re: [PATCH] SQUASHME: Fixes to e820 handling of pmem

2015-04-02 Thread Boaz Harrosh
On 04/02/2015 12:30 PM, Christoph Hellwig wrote: On Wed, Apr 01, 2015 at 05:25:22PM +0300, Boaz Harrosh wrote: pfn = PFN_DOWN(ei-addr + ei-size); -switch (ei-type) { -case E820_RAM: -case E820_PRAM: -case E820_RESERVED_KERN: -

Re: [v4 0/8] Add VT-d Posted-Interrupts support - IOMMU part

2015-04-02 Thread Joerg Roedel
On Mon, Feb 02, 2015 at 04:06:56PM +0800, Feng Wu wrote: VT-d Posted-Interrupts is an enhancement to CPU side Posted-Interrupt. With VT-d Posted-Interrupts enabled, external interrupts from direct-assigned devices can be delivered to guests without VMM intervention when guest is running in

[PATCH] KVM: remove kvm_read_hva and kvm_read_hva_atomic

2015-04-02 Thread Paolo Bonzini
The corresponding write functions just use __copy_to_user. Do the same on the read side. This reverts what's left of commit 86ab8cffb498 (KVM: introduce gfn_to_hva_read/kvm_read_hva/kvm_read_hva_atomic, 2012-08-21) Cc: Xiao Guangrong guangrong.x...@linux.intel.com Signed-off-by: Paolo Bonzini

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-04-02 Thread Jonathan Corbet
On Thu, 2 Apr 2015 12:35:09 +0200 Johan Hovold jo...@kernel.org wrote: This patch was incorrect and needed to be updated as discussed in the thread. Can you drop it or is your tree immutable? Sigh...and I thought I was on top of that. Dropped, sorry for the confusion. jon -- To unsubscribe

Re: [2/4] powerpc/rcpm: add RCPM driver

2015-04-02 Thread chenhui.z...@freescale.com
From: Wood Scott-B07421 Sent: Tuesday, March 31, 2015 9:30 To: Zhao Chenhui-B35336 Cc: linuxppc-...@lists.ozlabs.org; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Jin Zhengxiong-R64188 Subject: Re: [2/4] powerpc/rcpm: add RCPM driver On

Re: [PATCH slave-dma] dmaengine: xgene_dma_init_ring_mngr() can be static

2015-04-02 Thread Vinod Koul
On Thu, Apr 02, 2015 at 05:50:56PM +0800, kbuild test robot wrote: Signed-off-by: Fengguang Wu fengguang...@intel.com --- xgene-dma.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/dma/xgene-dma.c b/drivers/dma/xgene-dma.c index 2383528..aa61935 100755

Re: [PATCH V2] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-04-02 Thread Ingo Molnar
* Preeti U Murthy pre...@linux.vnet.ibm.com wrote: It was found when doing a hotplug stress test on POWER, that the machine either hit softlockups or rcu_sched stall warnings. The issue was traced to commit 7cba160ad789a powernv/cpuidle: Redesign idle states management, which exposed the

[PATCH 0/2] hrtimer: Only iterate over active bases

2015-04-02 Thread Viresh Kumar
Hi, 'active_bases' indicates which clock-base have active timers. While it is updated (almost) correctly, it is hardly used. And so this is an attempt to improve the code that iterates over all clock-bases. The first patch fixes a bug that only shows up after the second commit, and the second

[PATCH 2/2] hrtimer: create for_each_active_base() to iterate over active clock-bases

2015-04-02 Thread Viresh Kumar
At several instances we iterate over all possible clock-bases for a particular cpu-base. Whereas, we only need to iterate over active bases. We already have per cpu-base 'active_bases' field, which is updated on addition/removal of hrtimers. This patch creates for_each_active_base(), which uses

Re: [PATCH 3/5] dmaengine: pxa: add pxa dmaengine driver

2015-04-02 Thread Vinod Koul
On Thu, Apr 02, 2015 at 11:06:32AM +0200, Robert Jarzmik wrote: Robert Jarzmik robert.jarz...@free.fr writes: This is a new driver for pxa SoCs, which is also compatible with the former mmp_pdma. All right, I have a v2 for this patch, with a minor change for muxed interrupt probe case

Re: [PATCH v1 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Pallala, Ramakrishna wrote: Hi, diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h index dfabd6d..4ed8071 100644 --- a/include/linux/mfd/axp20x.h +++ b/include/linux/mfd/axp20x.h @@ -275,4 +275,9 @@ struct axp20x_fg_pdata { int

RE: [PATCH v1 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Pallala, Ramakrishna
diff --git a/include/linux/mfd/axp20x.h b/include/linux/mfd/axp20x.h index dfabd6d..4ed8071 100644 --- a/include/linux/mfd/axp20x.h +++ b/include/linux/mfd/axp20x.h @@ -275,4 +275,9 @@ struct axp20x_fg_pdata { int thermistor_curve[MAX_THERM_CURVE_SIZE][2]; };

[PATCH v2 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Lokesh Vutla
RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. This mechanism requires two MMR writes to the KICK0 and KICK1 registers with exact data values before the kicker lock mechanism is released. Currently the driver release the lock in the probe

[PATCH v2 0/3] rtc: omap: Fix misc bugs

2015-04-02 Thread Lokesh Vutla
This patch series fixes miscellaneous bugs in OMAP RTC driver. Tested on BeagleBone-Black. Logs: http://pastebin.ubuntu.com/10723287/ V1 patches can be seen here: http://www.mail-archive.com/linux-omap%40vger.kernel.org/msg115839.html Lokesh Vutla (3): rtc: omap: Unlock and Lock rtc

Re: [PATCH] SQUASHME: Fixes to e820 handling of pmem

2015-04-02 Thread Christoph Hellwig
On Thu, Apr 02, 2015 at 11:37:40AM +0200, Ingo Molnar wrote: So assuming this works on your test setup Boaz's changes work fine here. -- 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

Re: [4/4] powerpc/85xx: support sleep feature on QorIQ SoCs with RCPM

2015-04-02 Thread chenhui.z...@freescale.com
From: Wood Scott-B07421 Sent: Tuesday, March 31, 2015 10:35 To: Zhao Chenhui-B35336 Cc: linuxppc-...@lists.ozlabs.org; devicet...@vger.kernel.org; linux-kernel@vger.kernel.org; Jin Zhengxiong-R64188 Subject: Re: [4/4] powerpc/85xx: support sleep feature

Re: [PATCH 2/3] drm:msm: Initial Add Writeback Support

2015-04-02 Thread Emil Velikov
Hi Jilai, Just a few questions, not really a review as I'm not that familiar with the code. +++ b/drivers/gpu/drm/msm/Kconfig @@ -27,6 +27,16 @@ config DRM_MSM_FBDEV support. Note that this support also provide the linux console support on top of the MSM modesetting

Re: [PATCH 2/2] ARM: dts: Enable S3C RTC on Trats2, Odroid-U3 and Arndale Octa

2015-04-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 04/02/2015 01:03 PM, Krzysztof Kozlowski wrote: Extend the S3C RTC node with rtc_src clock so it could be operational. The rtc_src clock is provided by MAX77686 (Trats2 and Odroid-U3) or S2MPS11 (Arndale Octa). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com

Re: [RFC PATCH 5 6/7] KEYS - use correct memory allocation flag in call_usermodehelper_keys()

2015-04-02 Thread David Howells
Ian Kent ra...@themaw.net wrote: When call_usermodehelper_keys() is called it assumes it won't be called with the flag UMH_NO_WAIT. Currently that's always the case. Change this to check the flag and use the correct kernel memory allocation flag to guard against future changes.

Re: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs-flags has TF set

2015-04-02 Thread Denys Vlasenko
On 04/02/2015 02:31 PM, Ingo Molnar wrote: * Denys Vlasenko dvlas...@redhat.com wrote: On 04/02/2015 01:14 PM, Brian Gerst wrote: So I merged this as it's an obvious bugfix, but in hindsight I'm really uneasy about the whole opportunistic SYSRET concept: it appears that the chance that

[PATCH v3 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Lokesh Vutla
RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. This mechanism requires two MMR writes to the KICK0 and KICK1 registers with exact data values before the kicker lock mechanism is released. Currently the driver release the lock in the probe

Re: [Patch] firmware: dmi_scan: split dmisubsystem from dmi-sysfs

2015-04-02 Thread Ivan.khoronzhuk
Hi Jean, Sorry for the late reply. I've send new series [Patch 0/3] firmware: dmi_scan: add SBMIOS entry point and DMI tables with all last propositions. On 20.03.15 10:16, Jean Delvare wrote: Hi Ivan, On Thu, 19 Mar 2015 19:35:34 +0200, Ivan.khoronzhuk wrote: On 19.03.15 17:30, Jean Delvare

Re: [PATCH] x86, aperture: Check for GART before accessing GART registers

2015-04-02 Thread Ingo Molnar
* Aravind Gopalakrishnan aravind.gopalakrish...@amd.com wrote: GART registers are not present in newer processors (Fam15h, Model 10h and later). So, avoid accesses to GART registers in PCI config space by returning early in early_gart_iommu_check() and gart_iommu_hole_init() if GART is not

Re: [PATCH] ARM: dts: Use define for s3c-rtc clock id

2015-04-02 Thread Krzysztof Kozlowski
2015-03-31 8:55 GMT+02:00 Kukjin Kim kg...@kernel.org: Javier Martinez Canillas wrote: On Tue, Mar 31, 2015 at 6:05 AM, Chanwoo Choi cw00.c...@samsung.com wrote: Hi, On 03/31/2015 12:21 AM, Krzysztof Kozlowski wrote: Use a define instead of raw number as a ID for rtc_src clock.

[PATCH 2/2] ARM: dts: Enable S3C RTC on Trats2, Odroid-U3 and Arndale Octa

2015-04-02 Thread Krzysztof Kozlowski
Extend the S3C RTC node with rtc_src clock so it could be operational. The rtc_src clock is provided by MAX77686 (Trats2 and Odroid-U3) or S2MPS11 (Arndale Octa). Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Patch depends on new file dt-bindings/clock/samsung,s2mps11.h from:

[PATCH 1/2] ARM: dts: Use define for s3c-rtc clock id

2015-04-02 Thread Krzysztof Kozlowski
Use a define instead of raw number as a ID for rtc_src clock. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com --- Patch depends on new file dt-bindings/clock/samsung,s2mps11.h from: 1. ARM: dts: Add bindings for 32kHz clocks from s2mps11

[PATCH v2 2/2] extcon-axp288: Add axp288 extcon driver support

2015-04-02 Thread Ramakrishna Pallala
This patch adds the extcon support for AXP288 PMIC which has the BC1.2 charger detection capability. Additionally it also adds the USB mux switching support b/w SOC and PMIC based on GPIO control. Signed-off-by: Ramakrishna Pallala ramakrishna.pall...@intel.com --- drivers/extcon/Kconfig

[PATCH v2 2/3] rtc: omap: Update Kconfig for OMAP RTC

2015-04-02 Thread Lokesh Vutla
RTC is present in AM43xx and DRA7xx also. Updating the Kconfig to depend on ARCH_OMAP or ARCH_DAVINCI Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/rtc/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3

[PATCH v2 3/3] rtc: omap: use module_platform_driver

2015-04-02 Thread Lokesh Vutla
module_platform_driver_probe() prevents driver from requesting probe deferral. So using module_platform_drive() to support probe deferral. Signed-off-by: Lokesh Vutla lokeshvu...@ti.com Acked-by: Alexandre Belloni alexandre.bell...@free-electrons.com --- drivers/rtc/rtc-omap.c | 5 +++-- 1 file

Re: [PATCH RFC tip/perf/core] ftrace/x86: Let dynamic trampolines call ops-func even for dynamic fops

2015-04-02 Thread Miroslav Benes
On Thu, 5 Mar 2015, Steven Rostedt wrote: On Thu, 5 Mar 2015 16:56:43 +0100 (CET) Miroslav Benes mbe...@suse.cz wrote: I don't know if you plan to do something about this patch or if you just missed it in your e-mail pile. Should I resend it or have you already scratched that?

[PATCH v2 0/2] Add extcon support for AXP288 PMIC

2015-04-02 Thread Ramakrishna Pallala
This patch series adds the support for axp288 extcon driver and also adds the cell info for extcon device in axp20x mfd driver. Ramakrishna Pallala (2): mfd/axp20x: add support for extcon cell extcon-axp288: Add axp288 extcon driver support drivers/extcon/Kconfig |7 +

Re: [PATCH v9 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-04-02 Thread Joerg Roedel
Hi Zhen-Hua, On Thu, Mar 19, 2015 at 01:36:18PM +0800, Li, Zhen-Hua wrote: This patchset is an update of Bill Sumner's patchset, implements a fix for: If a kernel boots with intel_iommu=on on a system that supports intel vt-d, when a panic happens, the kdump kernel will boot with these

[PATCH v2 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Ramakrishna Pallala
This patch adds the mfd cell info for axp288 extcon device. Signed-off-by: Ramakrishna Pallala ramakrishna.pall...@intel.com --- drivers/mfd/axp20x.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index

Re: + mm-sanitize-page-mapping-for-tail-pages.patch added to -mm tree

2015-04-02 Thread Kirill A. Shutemov
On Fri, Mar 20, 2015 at 01:36:30PM -0700, a...@linux-foundation.org wrote: The patch titled Subject: mm: sanitize page-mapping for tail pages has been added to the -mm tree. Its filename is mm-sanitize-page-mapping-for-tail-pages.patch This patch should soon appear at

Re: [PATCH V2] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-04-02 Thread Preeti U Murthy
On 04/02/2015 05:01 PM, Ingo Molnar wrote: * Preeti U Murthy pre...@linux.vnet.ibm.com wrote: On 04/02/2015 04:12 PM, Ingo Molnar wrote: * Preeti U Murthy pre...@linux.vnet.ibm.com wrote: It was found when doing a hotplug stress test on POWER, that the machine either hit softlockups or

Re: [PATCH 0/2] Move away from non-failing small allocations

2015-04-02 Thread Tetsuo Handa
Tetsuo Handa wrote: Michal Hocko wrote: We are seeing issues with the fs code now because the test cases which led to the current discussion exercise FS code. The code which does lock(); kmalloc(GFP_KERNEL) is not reduced there though. I am pretty sure we can find other subsystems if we

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Michael S. Tsirkin
On Thu, Apr 02, 2015 at 01:15:30PM +0200, Jean Delvare wrote: Le Thursday 02 April 2015 à 12:09 +0200, Michael S. Tsirkin a écrit : On Thu, Apr 02, 2015 at 11:04:16AM +0200, Jean Delvare wrote: Le Thursday 02 April 2015 à 01:23 -0700, Christoph Hellwig a écrit : The class ids are a

[PATCH 3/5] usb: xhci: Allow usb_add/remove_hcd() to be called repeatedly

2015-04-02 Thread Roger Quadros
Don't set xhci-shared_hcd to NULL in xhci_stop() as we have still not de-allocated it. It was resulting in a NULL pointer de-reference if usb_add/remove_hcd() is called repeatedly. We want repeated add/remove to work for the OTG use case. Signed-off-by: Roger Quadros rog...@ti.com ---

Re: [PATCH 1/2] ARM: EXYNOS: Get current parent clock for power domain on/off

2015-04-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 04/02/2015 10:06 AM, Krzysztof Kozlowski wrote: Using a fixed (by DTS) parent for clocks when turning on the power domain may introduce issues in other drivers. For example when such driver changes the parent during runtime and expects that he is the only place of such

[tip:timers/core] tick: Simplify tick-internal.h

2015-04-02 Thread tip-bot for Thomas Gleixner
Commit-ID: b7475eb599ddb2e8cab2dc86ff38a9507463ad6b Gitweb: http://git.kernel.org/tip/b7475eb599ddb2e8cab2dc86ff38a9507463ad6b Author: Thomas Gleixner t...@linutronix.de AuthorDate: Wed, 25 Mar 2015 13:06:47 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:perf/core] perf callchain: Fix kernel symbol resolution by remembering the cpumode

2015-04-02 Thread tip-bot for David Hildenbrand
Commit-ID: 73dbcd6537f0ef6bf98d84f8fd7f8ab9994c6cd8 Gitweb: http://git.kernel.org/tip/73dbcd6537f0ef6bf98d84f8fd7f8ab9994c6cd8 Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 30 Mar 2015 10:11:00 +0200 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate:

[tip:timers/core] tick: Move clocksource related stuff to timekeeping.h

2015-04-02 Thread tip-bot for Thomas Gleixner
Commit-ID: bfb83b27519aa7ed9510f601a8f825a2c1484bc2 Gitweb: http://git.kernel.org/tip/bfb83b27519aa7ed9510f601a8f825a2c1484bc2 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Wed, 25 Mar 2015 13:06:04 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[PATCH 1/5] usb: xhci: cleanup xhci_hcd allocation

2015-04-02 Thread Roger Quadros
HCD core allocates memory for HCD private data in usb_create_[shared_]hcd() so make use of that mechanism to allocate the struct xhci_hcd. Introduce struct xhci_driver_overrides to provide the size of HCD private data and hc_driver operation overrides. As of now we only need to override the reset

[tip:x86/asm] x86/asm/entry/64: Remove redundant DISABLE_INTERRUPTS()

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: 32a04077fe401842424a4b72fa459c01e0a3 Gitweb: http://git.kernel.org/tip/32a04077fe401842424a4b72fa459c01e0a3 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 31 Mar 2015 19:00:06 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:x86/asm] x86/asm/entry/64: Use local label to skip around sycall dispatch

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: a6de5a21fb25cdbbdf3c3e9afd8481581c4f2464 Gitweb: http://git.kernel.org/tip/a6de5a21fb25cdbbdf3c3e9afd8481581c4f2464 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 31 Mar 2015 19:00:11 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:core/efi] x86/efi: Add a debug option to the efi= cmdline

2015-04-02 Thread tip-bot for Borislav Petkov
Commit-ID: fed6cefe3b6e862dcc74d07324478caa07e84eaf Gitweb: http://git.kernel.org/tip/fed6cefe3b6e862dcc74d07324478caa07e84eaf Author: Borislav Petkov b...@suse.de AuthorDate: Thu, 5 Feb 2015 11:44:41 +0100 Committer: Matt Fleming matt.flem...@intel.com CommitDate: Wed, 1 Apr 2015

[tip:x86/asm] x86/asm: Replace MOVQ $imm, %reg with MOVL

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: a734b4a23e4b5a5bba577d11b6e2ff21f6ca4fce Gitweb: http://git.kernel.org/tip/a734b4a23e4b5a5bba577d11b6e2ff21f6ca4fce Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 31 Mar 2015 19:00:10 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:x86/urgent] x86/reboot: Add ASRock Q1900DC-ITX mainboard reboot quirk

2015-04-02 Thread tip-bot for Stefan Lippers-Hollmann
Commit-ID: 80313b3078fcd2ca51970880d90757f05879a193 Gitweb: http://git.kernel.org/tip/80313b3078fcd2ca51970880d90757f05879a193 Author: Stefan Lippers-Hollmann s@gmx.de AuthorDate: Mon, 30 Mar 2015 22:44:27 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:timers/core] clockevents: Remove CONFIG_GENERIC_CLOCKEVENTS_BUILD

2015-04-02 Thread tip-bot for Thomas Gleixner
Commit-ID: 9f083b74df3a7eaa100b456f2dc195512daf728e Gitweb: http://git.kernel.org/tip/9f083b74df3a7eaa100b456f2dc195512daf728e Author: Thomas Gleixner t...@linutronix.de AuthorDate: Wed, 25 Mar 2015 13:05:19 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

Re: [PATCH v2 2/4] extcon: usb-gpio: add support for VBUS detection

2015-04-02 Thread Roger Quadros
Robert, On 01/04/15 14:49, Robert Baldyga wrote: Hi Roger, On 04/01/2015 01:28 PM, Roger Quadros wrote: Robert, On 01/04/15 10:23, Robert Baldyga wrote: This patch adds VBUS pin detection support to extcon-usb-gpio driver. It allows to use this driver with boards which have both VBUS and

[tip:x86/asm] x86/asm/entry/64: Simplify looping around preempt_schedule_irq()

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: 36acef2510853e2831047ca9e22d333ba7a1047b Gitweb: http://git.kernel.org/tip/36acef2510853e2831047ca9e22d333ba7a1047b Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Tue, 31 Mar 2015 19:00:07 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

Re: [PATCH v2 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Lokesh Vutla
On Thursday 02 April 2015 06:03 PM, Alexandre Belloni wrote: On 02/04/2015 at 16:39:09 +0530, Lokesh Vutla wrote : [..snip..] } +static inline void am3352_rtc_unlock(struct omap_rtc *rtc) +{ +rtc_writel(rtc, OMAP_RTC_KICK0_REG, KICK0_VALUE); +rtc_writel(rtc, OMAP_RTC_KICK1_REG,

Re: [RFC][PATCH] perf tools: unify perf_event_attr printing

2015-04-02 Thread Adrian Hunter
On 02/04/15 14:59, Peter Zijlstra wrote: On Thu, Apr 02, 2015 at 12:01:53PM +0300, Adrian Hunter wrote: But personally I think the include approach is too ugly. I would just add a function instead. Something like: You've not stared at the kernel tracepoint code long enough ;-) I will try

Re: [PATCH v2 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Alexandre Belloni
Hi, On 02/04/2015 at 18:14:11 +0530, Lokesh Vutla wrote : Here is the updated patch. You should probably send it properly using git send-email, have a look at the --in-reply-to parameter, else, I'm not sure Andrew will be able to pick it up. Thanks! -- Alexandre Belloni, Free Electrons

Re: CVE-2014-8159 kernel: infiniband: uverbs: unprotected physical memory access

2015-04-02 Thread Yann Droneaud
Hi, Le mercredi 18 mars 2015 à 17:39 +, Shachar Raindel a écrit : Hi, It was found that the Linux kernel's InfiniBand/RDMA subsystem did not properly sanitize input parameters while registering memory regions from user space via the (u)verbs API. A local user with access to a

Re: [PATCH v8 0/3] dmaengine: APM X-Gene SoC DMA engine driver support

2015-04-02 Thread Rameshwar Sahu
On Thu, Apr 2, 2015 at 2:05 PM, Vinod Koul vinod.k...@intel.com wrote: On Wed, Mar 18, 2015 at 07:17:33PM +0530, Rameshwar Prasad Sahu wrote: This patch set implements the APM X-Gene SoC DMA driver support to offload the DMA operations such as memory copy(memcpy), scatter gather memory copy,

Re: [PATCH RFC 02/10] dpaa_eth: add support for DPAA Ethernet

2015-04-02 Thread Paul Bolle
Just a few nits. This series is posted as an RFC, so this might not be what you're expecting right now. But as these messages got tangled up in my mail filter anyhow, I thought I might as well bother you with these nits now. On Wed, 2015-04-01 at 19:19 +0300, Madalin Bucur wrote: --- /dev/null

Re: [STLinux Kernel] [PATCH 0/4] clk: Provide support for always-on clocks

2015-04-02 Thread Lee Jones
With these series as they are, we need 'clk_ignore_unused' on sthi407-b2120.dts and stih418-b2199.dts. We have to modificate stih407-clock.dtsi and stih418-clock.dtsi in same way. Just to clarify this point for all interested parties; this patch-set is not the completed article. It's

RE: CVE-2014-8159 kernel: infiniband: uverbs: unprotected physical memory access

2015-04-02 Thread Shachar Raindel
Hi, -Original Message- From: Yann Droneaud [mailto:ydrone...@opteya.com] Sent: Thursday, April 02, 2015 1:05 PM To: Shachar Raindel Cc: oss-secur...@lists.openwall.com; linux-r...@vger.kernel.org (linux-r...@vger.kernel.org); linux-kernel@vger.kernel.org; sta...@vger.kernel.org

Re: screen goes blank when loading gma500_gfx (atom D2500)

2015-04-02 Thread Michael Tokarev
19.03.2015 14:56, One Thousand Gnomes wrote: On Thu, 19 Mar 2015 14:09:29 +0300 Michael Tokarev m...@tls.msk.ru wrote: Half a year passed since my first email in this thread, and current kernels (4.0-tobe) still does not work properly. Meanwhile, I found this thread:

Re: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs-flags has TF set

2015-04-02 Thread Brian Gerst
On Thu, Apr 2, 2015 at 6:37 AM, Ingo Molnar mi...@kernel.org wrote: * Denys Vlasenko dvlas...@redhat.com wrote: On 04/02/2015 11:07 AM, Ingo Molnar wrote: * Andy Lutomirski l...@kernel.org wrote: When I wrote the opportunistic SYSRET code, I missed an important difference between

Re: [PATCH 00/86] pci: export pci_ids.h and related cleanups

2015-04-02 Thread Jean Delvare
Le Thursday 02 April 2015 à 12:09 +0200, Michael S. Tsirkin a écrit : On Thu, Apr 02, 2015 at 11:04:16AM +0200, Jean Delvare wrote: Le Thursday 02 April 2015 à 01:23 -0700, Christoph Hellwig a écrit : The class ids are a hardware defintion, not a kernel API. Just use the definitions from

[PATCH] Revert usb: host/sl811-hcd: fix sparse warning

2015-04-02 Thread Sudip Mukherjee
This reverts commit 1dc6120ef7f003305d99ef12f598a6b05eacc38c. if we are doing allyesconfig on x86_64, build fails with error: drivers/built-in.o: In function `sl811_cs_probe': sl811_cs.c:(.text+0x1d4612e): undefined reference to `sl811h_driver' this commit has declared sl811h_driver as static

Re: [PATCH v2] xen-blkback: define pr_fmt macro to avoid the duplication of DRV_PFX

2015-04-02 Thread Roger Pau Monné
El 02/04/15 a les 3.32, Chentao (Boby) ha escrit: On 2015/4/1 23:04, Tao Chen wrote: Define pr_fmt macro with {xen-blkback: } prefix, then remove all use of DRV_PFX in the pr sentences. Replace all DPRINTK with pr sentences, and get rid of DPRINTK macro. It will simplify the code. And if

Re: [PATCH] fix sysfs showing the correct C-states after AC-DC and DC-AC transitions

2015-04-02 Thread Bartlomiej Zolnierkiewicz
On Wednesday, April 01, 2015 08:04:34 PM Thomas Schlichter wrote: Hello, Hi, I do have a Samsung NC20 netbook which provides the C-states C1 and C2 to the OS when connected to AC, and additionally provides the C3 C-state when disconnected from AC. With the current kernels I have these two

Re: [PATCH v2 1/2] mfd/axp20x: add support for extcon cell

2015-04-02 Thread Lee Jones
On Fri, 03 Apr 2015, Ramakrishna Pallala wrote: This patch adds the mfd cell info for axp288 extcon device. Signed-off-by: Ramakrishna Pallala ramakrishna.pall...@intel.com --- drivers/mfd/axp20x.c | 28 1 file changed, 28 insertions(+) Applied, thanks.

Re: [PATCH 1/2] ARM: dts: Use define for s3c-rtc clock id

2015-04-02 Thread Javier Martinez Canillas
Hello Krzysztof, On 04/02/2015 01:03 PM, Krzysztof Kozlowski wrote: Use a define instead of raw number as a ID for rtc_src clock. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Best regards, Javier -- To

[tip:x86/asm] x86/asm/entry/64: Fold the 'test_in_nmi' macro into its only user

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: 0784b36448a2a85b95b6eb21a69b9045c896c065 Gitweb: http://git.kernel.org/tip/0784b36448a2a85b95b6eb21a69b9045c896c065 Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Wed, 1 Apr 2015 16:50:57 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015

[tip:x86/platform] x86/intel/quark: Run IMR self-test on IMR capble hw only

2015-04-02 Thread tip-bot for Bryan O'Donoghue
Commit-ID: a6fcb6d4804b51ffcae7881c7f99483f4981ddf1 Gitweb: http://git.kernel.org/tip/a6fcb6d4804b51ffcae7881c7f99483f4981ddf1 Author: Bryan O'Donoghue pure.lo...@nexus-software.ie AuthorDate: Tue, 31 Mar 2015 12:15:36 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr

Re: [PATCH v2 1/3] rtc: omap: Unlock and Lock rtc registers before and after register writes

2015-04-02 Thread Alexandre Belloni
On 02/04/2015 at 16:39:09 +0530, Lokesh Vutla wrote : RTC module contains a kicker mechanism to prevent any spurious writes from changing the register values. This mechanism requires two MMR writes to the KICK0 and KICK1 registers with exact data values before the kicker lock mechanism is

[tip:timers/core] arm/bL_switcher: Kill tick suspend hackery

2015-04-02 Thread tip-bot for Thomas Gleixner
Commit-ID: 7270d11c56f594af4d166b2988421cd8ed933dc1 Gitweb: http://git.kernel.org/tip/7270d11c56f594af4d166b2988421cd8ed933dc1 Author: Thomas Gleixner t...@linutronix.de AuthorDate: Wed, 25 Mar 2015 13:11:52 +0100 Committer: Ingo Molnar mi...@kernel.org CommitDate: Wed, 1 Apr 2015

[tip:x86/asm] x86/asm/boot/64: Use __BOOT_TSS instead of literal $0x20

2015-04-02 Thread tip-bot for Denys Vlasenko
Commit-ID: 40e4f2d177f748a83e7639554ea7d11568a9fa1f Gitweb: http://git.kernel.org/tip/40e4f2d177f748a83e7639554ea7d11568a9fa1f Author: Denys Vlasenko dvlas...@redhat.com AuthorDate: Wed, 1 Apr 2015 16:50:58 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015

Re: [PATCH] HID: logitech-hidpp: add a module parameter to keep firmware gestures

2015-04-02 Thread Jiri Kosina
On Thu, 26 Mar 2015, Benjamin Tissoires wrote: The Logitech T650 used to report 3 fingers swipes to the up as a press on the Super key. When we switched the touchpad to the raw mode, we also disable such firmware gesture and some users may rely on it. Unfortunately, 3 finger swipes are

[tip:x86/asm] x86/cpu: Factor out common CPU initialization code, fix 32-bit Xen PV guests

2015-04-02 Thread tip-bot for Boris Ostrovsky
Commit-ID: 3f85483bd80ef1de8cbbf0361be59f6a069b59d4 Gitweb: http://git.kernel.org/tip/3f85483bd80ef1de8cbbf0361be59f6a069b59d4 Author: Boris Ostrovsky boris.ostrov...@oracle.com AuthorDate: Wed, 1 Apr 2015 10:12:14 -0400 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015

[tip:perf/core] bpf: Make internal bpf API independent of CONFIG_BPF_SYSCALL #ifdefs

2015-04-02 Thread tip-bot for Daniel Borkmann
Commit-ID: 4e537f7fbdce5e8ae7c33ebaa8a1956c7727d5a7 Gitweb: http://git.kernel.org/tip/4e537f7fbdce5e8ae7c33ebaa8a1956c7727d5a7 Author: Daniel Borkmann dan...@iogearbox.net AuthorDate: Wed, 25 Mar 2015 12:49:18 -0700 Committer: Ingo Molnar mi...@kernel.org CommitDate: Thu, 2 Apr 2015

[PATCH 0/5] usb: xhci: fixes for OTG/DRD use

2015-04-02 Thread Roger Quadros
Hi, While testing for OTG/DRD [1], I encountered a couple of problems with the XHCI driver. The first 2 patches clean up the HCD allocation logic as we want both primary and shared HCDs to be allocated before the primary HCD registers for OTG use. That's the only way the OTG core will know that

Re: [PATCH] mm: cma: add trace events for CMA allocations and freeings

2015-04-02 Thread Stefan Strogin
Hello Joonsoo, On 02/04/15 10:33, Joonsoo Kim wrote: Hello, On Wed, Apr 01, 2015 at 04:31:43PM +0300, Stefan Strogin wrote: Add trace events for cma_alloc() and cma_release(). The cma_alloc tracepoint is used both for successful and failed allocations, in case of allocation failure

Re: [PATCH] kvm: mmu: lazy collapse small sptes into large sptes

2015-04-02 Thread Xiao Guangrong
On 03/30/2015 07:48 AM, Wanpeng Li wrote: There are two scenarios for the requirement of collapsing small sptes into large sptes. - dirty logging tracks sptes in 4k granularity, so large sptes are splitted, the large sptes will be reallocated in the destination machine and the guest in

[PATCH 2/3] clk: socfpga: add a clock driver for the Arria 10 platform

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com The clocks on the Arria 10 platform is a bit different than the Cyclone/Arria 5 platform that it should just have it's own driver. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com --- drivers/clk/socfpga/Makefile | 1 +

[PATCH 7/7] Documentation: DT bindings: add doc for Altera's SoCFPGA platform

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Document altr,socfpga-cyclone5, altr,socfpga-arria5, and altr,socfpga-arria10. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com --- Documentation/devicetree/bindings/arm/altera.txt | 14 ++ 1 file changed, 14 insertions(+)

Re: [PATCH] mtd: Add simple read disturb test

2015-04-02 Thread Andrea Scian
Hi all, Il 02/04/2015 18:18, Richard Weinberger ha scritto: Am 02.04.2015 um 18:04 schrieb Brian Norris: On Thu, Apr 02, 2015 at 04:13:46PM +0200, Richard Weinberger wrote: [1] Although there are some latent issues in these tests that are still getting get worked out (e.g., bad handling of

Re: [PATCH 2/2] hrtimer: create for_each_active_base() to iterate over active clock-bases

2015-04-02 Thread viresh kumar
On 2 April 2015 at 19:15, Peter Zijlstra pet...@infradead.org wrote: On Thu, Apr 02, 2015 at 04:21:22PM +0530, Viresh Kumar wrote: +#define for_each_active_base(_index, _base, _cpu_base, _active_bases) \ + for ((_active_bases) = (_cpu_base)-active_bases; \ +

Re: [GIT PULL 00/15] perf/core improvements and fixes

2015-04-02 Thread Ingo Molnar
* Arnaldo Carvalho de Melo a...@kernel.org wrote: Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit e1abf2cc8d5d80b41c4419368ec743ccadbb131e: bpf: Fix the build on BPF_SYSCALL=y !CONFIG_TRACING kernels, make it more configurable (2015-04-02

[PATCH 3/7] ARM: socfpga: dts: enable UART1 for the debug uart

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Arria10 devkit is using UART1 for the debug uart port. Signed-off-by: Dinh Nguyen dingu...@opensource.altera.com --- arch/arm/boot/dts/socfpga_arria10_socdk.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/3] clk: socfpga: Add clock driver for Arria10

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Hi, This patch series add the clock driver for the Arria10 platform. Although the Arria10 SoC's clock framework has some similarities the Cyclone/Arria 5, the differences are enough to warrant it's own driver, rather than polluting the existing

[PATCH 0/7] ARM: socfpga: Add support for Arria10 devkit

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Hi, This patchset enables and tidy up support for the Arria10 devkit. Along with this patchset and the patch for enabling clocks on the Arria10, the devkit can boot Linux. Dinh Nguyen (7): ARM: socfpga: add cpu1-start-addr for Arria 10 ARM:

[PATCH] perf: report/annotate: fix segfault problem.

2015-04-02 Thread Wang Nan
perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x [test_module] ... # perf report -i ./perf.data

Re: [PATCH] smp/call: Detect stuck CSD locks

2015-04-02 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: +static void csd_lock_wait(struct call_single_data *csd, int cpu) { - while (csd-flags CSD_FLAG_LOCK) + int bug_id = 0; + u64 ts0, ts1, ts_delta; + + ts0 = jiffies_to_msecs(jiffies); Note that while 'jiffies' is a global variable,

[PATCH v2] perf: report/annotate: fix segfault problem.

2015-04-02 Thread Wang Nan
perf report and perf annotate are easy to trigger segfault if trace data contain kernel module information like this: # perf report -D -i ./perf.data ... 0 0 0x188 [0x50]: PERF_RECORD_MMAP -1/0: [0xffbff1018000(0xf068000) @ 0]: x [test_module] ... # perf report -i ./perf.data

[PATCH 4/7] ARM: socfpga: rename socdk board file to socdk_sdmmc

2015-04-02 Thread dinguyen
From: Dinh Nguyen dingu...@opensource.altera.com Rename the socfpga_arria10_socdk board file to socfpga_arria10_socdk_sdmmc as Arria 10 devkit cannot support SDMMC and QSPI at the same time. Thus we will need to have 2 separate board files, one for SDMMC and one for QSPI. We also add a new base

[tip:perf/core] perf scripting: No need to pass thread twice to the scripting callbacks

2015-04-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f9d5d549d2c2934be84b0bc7e5e034834459f591 Gitweb: http://git.kernel.org/tip/f9d5d549d2c2934be84b0bc7e5e034834459f591 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Wed, 1 Apr 2015 13:29:25 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/core] perf db-export: No need to have - thread twice in struct export_sample

2015-04-02 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b83e868d0a0350c107b98417b4dcc73834506f98 Gitweb: http://git.kernel.org/tip/b83e868d0a0350c107b98417b4dcc73834506f98 Author: Arnaldo Carvalho de Melo a...@redhat.com AuthorDate: Thu, 2 Apr 2015 11:16:05 -0300 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu,

[tip:perf/core] perf probe: Fix to track down unnamed union/ structure members

2015-04-02 Thread tip-bot for Masami Hiramatsu
Commit-ID: c72738355b2ac79506fbfa10ffee8fe3a27e69da Gitweb: http://git.kernel.org/tip/c72738355b2ac79506fbfa10ffee8fe3a27e69da Author: Masami Hiramatsu masami.hiramatsu...@hitachi.com AuthorDate: Thu, 2 Apr 2015 16:33:12 +0900 Committer: Arnaldo Carvalho de Melo a...@redhat.com

[tip:perf/core] perf inject: Support using -f to override perf.data file ownership

2015-04-02 Thread tip-bot for Yunlong Song
Commit-ID: ccaa474c8a0983d26ecb3eac755672b546b997c3 Gitweb: http://git.kernel.org/tip/ccaa474c8a0983d26ecb3eac755672b546b997c3 Author: Yunlong Song yunlong.s...@huawei.com AuthorDate: Thu, 2 Apr 2015 21:47:11 +0800 Committer: Arnaldo Carvalho de Melo a...@redhat.com CommitDate: Thu, 2

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