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 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 %rcx matches return-%rip is astronomical - this is why this bug wasn't noticed

[PATCH 2/5] usb: xhci: plat: Create both HCDs before adding them

2015-04-02 Thread Roger Quadros
As xhci_hcd is now allocated by usb_create_hcd(), we don't need to add the primary HCD before creating the shared HCD. Creating the shared HCD before adding the primary HCD is particularly useful for the OTG use case so that we know at the OTG core if the HCD is in single configuration or dual

[tip:perf/core] perf build: Disable libbabeltrace check by default

2015-04-02 Thread tip-bot for Jiri Olsa
Commit-ID: 6ab2b762befd192b90704c5c7898f5abf8ebb387 Gitweb: http://git.kernel.org/tip/6ab2b762befd192b90704c5c7898f5abf8ebb387 Author: Jiri Olsa AuthorDate: Sat, 28 Mar 2015 11:30:30 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 30 Mar 2015 10:24:27 -0300 perf build:

Re: [RFC PATCH v3 2/2] clk: exynos5420: Make sure MDMA0 clock is enabled during suspend

2015-04-02 Thread Abhilash Kesavan
Hi, On Thu, Apr 2, 2015 at 4:01 AM, Javier Martinez Canillas wrote: > Hello Sylwester, > > On 04/01/2015 07:31 PM, Sylwester Nawrocki wrote: >> On 01/04/15 13:44, Javier Martinez Canillas wrote: >>> On 04/01/2015 01:03 PM, Sylwester Nawrocki wrote: It's not clear what subsystems affect

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 Reviewed-by:

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 > Reviewed-by: Javier Martinez Canillas Best regards, Javier -- To unsubscribe from this list: send the line

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 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 from this list:

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

2015-04-02 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Apr 02, 2015 at 12:42:27PM +0200, Ingo Molnar wrote: > > So why not use a suitable CPU_DOWN* notifier for this, instead of open > > coding it all into a random place in the hotplug machinery? > > Because notifiers are crap? ;-) [...] No doubt - but I didn't

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:23:06AM -0700, Christoph Hellwig wrote: > The class ids are a hardware defintion, not a kernel API. It's part of the API, it's used to decode values in this sysfs file: /sys/bus/pci/devices//class VFIO also made this part of it's kernel API. > Just use the >

[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 Signed-off-by: Paolo Bonzini --- virt/kvm/kvm_main.c | 14

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

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 > --- > drivers/mfd/axp20x.c | 28 > 1 file changed, 28 insertions(+) Applied, thanks. > diff --git

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

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

2015-04-02 Thread Lee Jones
On Fri, 03 Apr 2015, Ramakrishna Pallala wrote: > 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 >

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

2015-04-02 Thread Peter Zijlstra
On Thu, Apr 02, 2015 at 12:42:27PM +0200, Ingo Molnar wrote: > So why not use a suitable CPU_DOWN* notifier for this, instead of open > coding it all into a random place in the hotplug machinery? Because notifiers are crap? ;-) Its entirely impossible to figure out what's happening to core code

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

2015-04-02 Thread Peter Zijlstra
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 ;-) Something like so then? --- Subject: perf, tools:

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

Re: [PATCH v1.1] x86/mm/ASLR: Propagate ASLR status to kernel proper

2015-04-02 Thread Borislav Petkov
On Thu, Apr 02, 2015 at 01:29:30PM +0200, Ingo Molnar wrote: > So was this duplication dead code in essence? See e2b32e678513. Looks like it was parsing the cmdline option for a second time in the kernel proper (vs first one which we still parse in the compressed kernel). hpa said that we

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 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.

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 wrote: > >> On 04/02/2015 04:12 PM, Ingo Molnar wrote: >>> >>> * Preeti U Murthy wrote: >>> It was found when doing a hotplug stress test on POWER, that the machine either hit softlockups or rcu_sched stall warnings.

Re: [PATCH v2] i2c: i2c-mux-gpio: remove error messages for probe deferrals

2015-04-02 Thread Peter Korsgaard
> "AS" == Alexander Sverdlin writes: Hi, AS> On 30/03/15 15:03, Ioan Nicu wrote: >> Probe deferral is not an error case. It happens only when >> the necessary dependencies are not there yet. >> >> The driver core is already printing a message when a driver >> requests probe deferral, so

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

2015-04-02 Thread Ingo Molnar
* Preeti U Murthy wrote: > On 04/02/2015 04:12 PM, Ingo Molnar wrote: > > > > * Preeti U Murthy 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

Re: [PATCH v1.1] x86/mm/ASLR: Propagate ASLR status to kernel proper

2015-04-02 Thread Ingo Molnar
* Borislav Petkov wrote: > On Thu, Apr 02, 2015 at 01:07:13PM +0200, Ingo Molnar wrote: > > So doesn't a 'nokaslr' boot option still make sense, to be able to > > debug KASLR failures and such? > > That's still parsed in arch/x86/boot/compressed/aslr.c So was this duplication dead code in

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

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

2015-04-02 Thread Preeti U Murthy
On 04/02/2015 04:12 PM, Ingo Molnar wrote: > > * Preeti U Murthy 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 >>

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] i2c: i2c-mux-gpio: remove error messages for probe deferrals

2015-04-02 Thread Alexander Sverdlin
On 30/03/15 15:03, Ioan Nicu wrote: > Probe deferral is not an error case. It happens only when > the necessary dependencies are not there yet. > > The driver core is already printing a message when a driver > requests probe deferral, so this can be traced in the logs > without these error

[PATCH] ALSA: hda: fix possible null dereference

2015-04-02 Thread Sudip Mukherjee
we are dereferencing pcm first then checking pcm. instead now lets put them in same if condition so that pcm is checked first. Signed-off-by: Sudip Mukherjee --- sound/pci/hda/hda_codec.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/sound/pci/hda/hda_codec.c

Re: [PATCH v1.1] x86/mm/ASLR: Propagate ASLR status to kernel proper

2015-04-02 Thread Borislav Petkov
On Thu, Apr 02, 2015 at 01:07:13PM +0200, Ingo Molnar wrote: > So doesn't a 'nokaslr' boot option still make sense, to be able to > debug KASLR failures and such? That's still parsed in arch/x86/boot/compressed/aslr.c > > + if (kaslr_enabled()) > > + pr_emerg("Kernel Offset: 0x%lx

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

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: [3/4] powerpc: support CPU hotplug for e500mc, e5500 and e6500

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

[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 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 > > >

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 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 wrote: > > * Denys Vlasenko wrote: > >> On 04/02/2015 11:07 AM, Ingo Molnar wrote: >> > >> > * Andy Lutomirski wrote: >> > >> >> When I wrote the opportunistic SYSRET code, I missed an important >> >> difference between SYSRET and IRET. Both

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

2015-04-02 Thread Lokesh Vutla
Hi, On Wednesday 01 April 2015 09:22 PM, Alexandre Belloni wrote: > Hi, > > On 01/04/2015 at 11:24:56 +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

[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 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 apply_workqueue_attrs(). Lets

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

2015-04-02 Thread Lai Jiangshan
From: Frederic Weisbecker 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 cpumask applied

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

[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 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 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? > > Thanks

[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 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 --- drivers/extcon/Kconfig |7 +

[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 --- drivers/mfd/axp20x.c | 28 1 file changed, 28 insertions(+) diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c index 0acbe52..a569721 100644 ---

[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 Acked-by: Alexandre Belloni --- drivers/rtc/Kconfig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/rtc/Kconfig

[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 Acked-by: Alexandre Belloni --- drivers/rtc/rtc-omap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git

[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: 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-kernel@vger.kernel.org; > sta...@vger.kernel.org > Subject: Re:

Re: [PATCH v1.1] x86/mm/ASLR: Propagate ASLR status to kernel proper

2015-04-02 Thread Ingo Molnar
* Borislav Petkov wrote: > --- a/arch/x86/kernel/module.c > +++ b/arch/x86/kernel/module.c > @@ -33,6 +33,7 @@ > > #include > #include > +#include > > #if 0 > #define DEBUGP(fmt, ...) \ > @@ -47,21 +48,13 @@ do {

Re: [PATCH v9 07/10] iommu/vt-d: enable kdump support in iommu module

2015-04-02 Thread Joerg Roedel
On Thu, Mar 19, 2015 at 01:36:25PM +0800, Li, Zhen-Hua wrote: > +#ifdef CONFIG_CRASH_DUMP > + if (is_kdump_kernel()) > + __iommu_update_old_root_entry(iommu, bus); > +#endif All the is_kdump_kernel checks in this patch (and maybe in other patches too) should really

[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 --- Patch depends on new file "dt-bindings/clock/samsung,s2mps11.h" from: 1. ARM: dts: Add

[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 --- Patch depends on new file "dt-bindings/clock/samsung,s2mps11.h" from: 1. ARM: dts: Add bindings for 32kHz clocks from s2mps11 http://www.spinics.net/lists/linux-samsung-soc/msg43345.html

[PATCH] rtc: rtc-s3c: Fix failed first read of RTC time

2015-04-02 Thread Krzysztof Kozlowski
Initialize the device time (if it is wrong) before registering RTC device to fix following error message during rtc-s3c probe: [2.215414] rtc (null): read_time: fail to read [2.216322] s3c-rtc 1007.rtc: rtc core: registered s3c as rtc1 Signed-off-by: Krzysztof Kozlowski ---

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: [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

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 {

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

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Gabriel Fernandez wrote: > Hi Peter, Lee, > > 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. Absolutely. It's on my backlog. > On

[PATCH 1/2] hrtimer: update '->active_bases' before calling hrtimer_force_reprogram()

2015-04-02 Thread Viresh Kumar
'active_bases' indicates which clock-base have active timers. While it is updated (almost) correctly, it is hardly used. Next commit will start using it to make code more efficient, but before that we need to fix a problem. While removing hrtimers, in __remove_hrtimer(): - We first remove the

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

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Peter Griffin wrote: > Hi Lee, > > On Fri, 27 Feb 2015, Lee Jones wrote: > > > Some hardware contains bunches of clocks which must never be > > turned off. If drivers a) fail to obtain a reference to any > > of these or b) give up a previously obtained reference > > during

[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

[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

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 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 (1 interrupt

[PATCH] gcov: fix softlockups

2015-04-02 Thread Andrey Ryabinin
gcov profiling if enabled with other heavy compile-time instrumentation like KASan could trigger following softlockups: [ 72.460059] NMI watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [swapper/0:1] [ 72.460068] Modules linked in: [ 72.460068] irq event stamp: 22823276 [ 72.460068]

Re: [PATCH v3 0/4] clk: st: New always-on clock domain

2015-04-02 Thread Lee Jones
On Thu, 02 Apr 2015, Geert Uytterhoeven wrote: > On Thu, Mar 26, 2015 at 8:38 PM, Lee Jones wrote: > > On Thu, 26 Mar 2015, Geert Uytterhoeven wrote: > >> On Thu, Mar 26, 2015 at 2:51 PM, Lee Jones wrote: > >> > On Wed, 25 Mar 2015, Geert Uytterhoeven wrote: > >> >> On Mon, Mar 9, 2015 at 10:28

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: [PATCH V2] clockevents: Fix cpu down race for hrtimer based broadcasting

2015-04-02 Thread Ingo Molnar
* Preeti U Murthy 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 cpu down race with

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

2015-04-02 Thread Dr. H. Nikolaus Schaller
Am 02.04.2015 um 12:35 schrieb Johan Hovold : > On Thu, Apr 02, 2015 at 12:12:37PM +0200, Jonathan Corbet wrote: >> On Sat, 28 Mar 2015 14:37:57 +0100 >> Marek Belisko wrote: >> >>> This patch changes the documentation file as needed. >> >> Applied to the docs tree (with the changelog typo

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

2015-04-02 Thread Ingo Molnar
* Denys Vlasenko wrote: > On 04/02/2015 11:07 AM, Ingo Molnar wrote: > > > > * Andy Lutomirski wrote: > > > >> When I wrote the opportunistic SYSRET code, I missed an important > >> difference between SYSRET and IRET. Both instructions are capable > >> of setting EFLAGS.TF, but they behave

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

2015-04-02 Thread Johan Hovold
On Thu, Apr 02, 2015 at 12:12:37PM +0200, Jonathan Corbet wrote: > On Sat, 28 Mar 2015 14:37:57 +0100 > Marek Belisko wrote: > > > This patch changes the documentation file as needed. > > Applied to the docs tree (with the changelog typo fixed). This patch was incorrect and needed to be

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 > --- > 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: Exynos5422 odroidxu3 pwm-fan control using thermal sensors

2015-04-02 Thread Markus Reichl
Am Freitag, 27. März 2015, 03:09:09 schrieb Anand Moon: > This work depeds upon work done by Lukasz Majewski > and Sjoerd Simons regarding the pwm-fan. > > -Anand Moon > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" > in > the body of a message to

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 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, >> raid5 xor and

Re: [PATCH] staging: lustre: replace kzalloc with copy_from_user with memdup_user

2015-04-02 Thread Julia Lawall
On Tue, 31 Mar 2015, Drokin, Oleg wrote: > > On Mar 31, 2015, at 11:57 AM, gre...@linuxfoundation.org wrote: > > > On Tue, Mar 31, 2015 at 05:15:23PM +0200, Julia Lawall wrote: > >> On Tue, 31 Mar 2015, Dhere, Chaitanya (C.) wrote: > >> > >>> This patch replaces kzalloc and copy_from_user with

Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-02 Thread Prarit Bhargava
On 03/26/2015 01:33 PM, Tyler Baker wrote: > On 26 March 2015 at 09:29, John Stultz wrote: >> On Thu, Mar 26, 2015 at 4:31 AM, Prarit Bhargava wrote: >>> On 03/25/2015 07:44 PM, John Stultz wrote: + printf("%-22s %s missing CAP_WAKE_ALARM?: [UNSUPPORTED]\n",

Re: [PATCH] drivers: staging: rtl8723au: fix "warning: cast to restricted __le16"

2015-04-02 Thread Jes Sorensen
Dan Carpenter writes: > This doesn't look right and it doesn't have a changelog explainly the > weirdness. > ... and the fix is as ugly as it gets! If something like this is needed, creating a __le16 *ptr at the beginnging of the function would be a lot better. Jes -- To unsubscribe from this

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 : > Javier Martinez Canillas wrote: >> >> On Tue, Mar 31, 2015 at 6:05 AM, Chanwoo Choi 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. >> >> >> >>

Re: [PATCH 1/2] kselftests: timers: Make set-timer-lat fail more gracefully for !CAP_WAKE_ALARM

2015-04-02 Thread Prarit Bhargava
On 03/26/2015 12:29 PM, John Stultz wrote: > On Thu, Mar 26, 2015 at 4:31 AM, Prarit Bhargava wrote: >> On 03/25/2015 07:44 PM, John Stultz wrote: >>> + printf("%-22s %s missing CAP_WAKE_ALARM?: >>> [UNSUPPORTED]\n", >>> +

Re: [1/4] powerpc/cache: add cache flush operation for various e500

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

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

2015-04-02 Thread Jonathan Corbet
On Sat, 28 Mar 2015 14:37:57 +0100 Marek Belisko wrote: > This patch changes the documentation file as needed. Applied to the docs tree (with the changelog typo fixed). Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] devpts: Add ptmx_uid and ptmx_gid options

2015-04-02 Thread James Bottomley
On Tue, 2015-03-31 at 16:17 +0200, Alexander Larsson wrote: > On tis, 2015-03-31 at 17:08 +0300, James Bottomley wrote: > > On Tue, 2015-03-31 at 06:59 -0700, Andy Lutomirski wrote: > > > > > > I don't think that this is correct. That user can already create a > > > nested userns and map

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 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 libpci, or copy over the kernel header if you prefer > > it over the

Re: [PATCH] drivers: staging: rtl8723au: fix "warning: cast to restricted __le16"

2015-04-02 Thread Dan Carpenter
This doesn't look right and it doesn't have a changelog explainly the weirdness. regards, dan carpenter -- 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: [PATCH urgent v2] x86, asm: Disable opportunistic SYSRET if regs->flags has TF set

2015-04-02 Thread Denys Vlasenko
On 04/02/2015 11:07 AM, Ingo Molnar wrote: > > * Andy Lutomirski wrote: > >> When I wrote the opportunistic SYSRET code, I missed an important >> difference between SYSRET and IRET. Both instructions are capable >> of setting EFLAGS.TF, but they behave differently when doing so. >> IRET will

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

[PATCH v2] crypto: omap-sham: Add the offset of sg page to vaddr

2015-04-02 Thread Lokesh Vutla
kmap_atomic() gives only the page address of the input page. Driver should take care of adding the offset of the scatterlist within the page to the returned page address. omap-sham driver is not adding the offset to page and directly operates on the return vale of kmap_atomic(), because of which

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

2015-04-02 Thread Ingo Molnar
* Aravind Gopalakrishnan 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 available. In what fashion

Re: [PATCH] crypto: omap-sham: Check for HIGHMEM before mapping SG pages

2015-04-02 Thread Lokesh Vutla
Hi Herbert, On Wednesday 01 April 2015 07:48 PM, Herbert Xu wrote: > On Tue, Mar 31, 2015 at 09:52:23AM +0530, Lokesh Vutla wrote: >> Commit 26a05489ee0e ("crypto: omap-sham - Map SG pages if they are HIGHMEM >> before accessing") >> says that HIGHMEM pages may not be mapped so we must >> kmap

Re: smp_call_function_single lockups

2015-04-02 Thread Ingo Molnar
* Linus Torvalds wrote: > On Wed, Apr 1, 2015 at 7:32 AM, Chris J Arges > wrote: > > > > I included the full patch in reply to Ingo's email, and when > > running with that I no longer get the ack_APIC_irq WARNs. > > Ok. That means that the printk's themselves just change timing > enough, or

[slave-dma:for-linus 26/28] drivers/dma/xgene-dma.c:396:25: sparse: incorrect type in assignment (different base types)

2015-04-02 Thread kbuild test robot
tree: git://git.kernel.org/pub/scm/linux/kernel/git/vkoul/slave-dma.git for-linus head: fe90ced9e9d7bdba75ccae83100ae656807a6261 commit: 9f2fd0dfa594d857fbdaeda523ff7a46f16567f5 [26/28] dmaengine: Add support for APM X-Gene SoC DMA engine driver reproduce: # apt-get install sparse git

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

2015-04-02 Thread kbuild test robot
Signed-off-by: Fengguang Wu --- 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 --- a/drivers/dma/xgene-dma.c +++ b/drivers/dma/xgene-dma.c @@ -1623,7 +1623,7 @@ static void

[git pull] Please pull mpe/linux.git powerpc-4.0-4 tag

2015-04-02 Thread Michael Ellerman
Hi Linus, Please pull one powerpc fix for 4.0: The following changes since commit e42391cd048809d903291d07f86ed3934ce138e9: Linux 4.0-rc6 (2015-03-29 15:26:31 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/mpe/linux.git tags/powerpc-4.0-4 for

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

2015-04-02 Thread Gabriel Fernandez
Hi Peter, Lee, 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. BR Gabriel On 2 April 2015 at 10:12, Peter Griffin wrote: > Hi Lee, > > On Fri, 27 Feb 2015, Lee

<    3   4   5   6   7   8   9   10   11   12   >