Re: [PATCH 7/9] drivers: staging: rtl8187se: fixed checkpatch.pl errors

2014-03-01 Thread Joe Perches
On Sat, 2014-03-01 at 22:22 -0700, Axel Rasmussen wrote: > The definition of the driver's ChannelPlan array produced a large number > of checkpatch.pl errors. This patch fixes all of them by adding spaces > and wrapping the resulting overly-long lines. I think the current code is better. > diff -

[PATCH 2/9] drivers: staging: rtl8187se: refactor/clean signal smoothing

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180.h | 2 +- drivers/staging/rtl8187se/r8180_core.c | 29 ++--- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180.h b/drivers/staging/rtl8187se/r8180.h inde

[PATCH 5/9] drivers: staging: rtl8187se: wrap excessively long lines

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 65 ++ 1 file changed, 42 insertions(+), 23 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index cd22ba3..a0ca4f2 100644 --- a/dr

[PATCH 4/9] drivers: staging: rtl8187se: wrap excessively long lines

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 73 -- 1 file changed, 44 insertions(+), 29 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index b6c8c00..cd22ba3 100644 --- a/dr

[PATCH 6/9] drivers: staging: rtl8187se: fixed broken indentation

2014-03-01 Thread Axel Rasmussen
A section of code in the function rtl8180_tx was indented for no reason, causing numerous checkpatch.pl warnings. Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 133 + 1 file changed, 70 insertions(+), 63 deletions(-) diff --git a/driv

[PATCH 9/9] drivers: staging: rtl8187se: refactor wmm_param_update

2014-03-01 Thread Axel Rasmussen
The function rtl8180_wmm_param_update contained two blocks of code which were nearly identical. This patch combines those two blocks into a single function, to reduce code duplication, and do fix some checkpatch.pl warnings about excessively long lines due to the large number of indents that were n

[PATCH 0/9] drivers: staging: rtl8187se: various code cleanups

2014-03-01 Thread Axel Rasmussen
This set of patches fixes a substantial number of checkpatch.pl errors and warnings, and additionally it refactors some sections of code where lines were far too long due to organizational problems. Axel Rasmussen (9): drivers: staging: rtl8187se: use netdev_* instead of prink drivers: stagi

[PATCH 3/9] drivers: staging: rtl8187se: wrap excessively long lines

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 40 ++ 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 67c2583..b6c8c00 100644 --- a/dr

[PATCH 1/9] drivers: staging: rtl8187se: use netdev_* instead of prink

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/Module.symvers | 0 drivers/staging/rtl8187se/r8180_core.c | 8 2 files changed, 4 insertions(+), 4 deletions(-) create mode 100644 drivers/staging/rtl8187se/Module.symvers diff --git a/drivers/staging/rtl8187se/Module.symve

[PATCH 7/9] drivers: staging: rtl8187se: fixed checkpatch.pl errors

2014-03-01 Thread Axel Rasmussen
The definition of the driver's ChannelPlan array produced a large number of checkpatch.pl errors. This patch fixes all of them by adding spaces and wrapping the resulting overly-long lines. Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 49 ++--

[PATCH 8/9] drivers: staging: rtl8187se: wrap excessively long lines

2014-03-01 Thread Axel Rasmussen
Signed-off-by: Axel Rasmussen --- drivers/staging/rtl8187se/r8180_core.c | 125 ++--- 1 file changed, 83 insertions(+), 42 deletions(-) diff --git a/drivers/staging/rtl8187se/r8180_core.c b/drivers/staging/rtl8187se/r8180_core.c index 9e1642f..b6fdb6f 100644 --- a/dr

Re: [PATCHv4 4/7] hwspinlock/core: add common OF helpers

2014-03-01 Thread Ohad Ben-Cohen
On Mon, Feb 10, 2014 at 9:14 PM, Suman Anna wrote: > On 02/07/2014 04:49 PM, Bjorn Andersson wrote: >> It seems to be standard practice to pass the error value back to the >> consumer, so you should >> return ERR_PTR(ret); here instead of the NULL... > > > I have modelled the return values in this

[GIT PULL] x86 fixes for v3.14-rc5

2014-03-01 Thread H. Peter Anvin
Hi Linus, The following changes since commit cfbf8d4857c26a8a307fb7cd258074c9dcd8c691: Linux 3.14-rc4 (2014-02-23 17:40:03 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus for you to fetch changes up to e290e8c59d

Re: [PATCH] Staging: comedi: add timeouts to while loops in s626.c

2014-03-01 Thread Chase Southwood
>On Friday, February 28, 2014 11:49 PM, Chase Southwood > wrote: >>On Friday, February 28, 2014 11:26 AM, Ian Abbott wrote: >>>On 2014-02-28 07:35, Chase Southwood wrote: [snip] >>In the case of s626_send_dac(), it doesn't seem to be used in any >>critical sections, so it could make use of Ha

hello

2014-03-01 Thread Sandra Hassan
HelloMy name is Miss Sandra Hassan I saw your profile today and ibecame interested in you, I will also want to know you moreand I want you to send an email to my mailbox so that I can give you my pictureyours new friend.Sandra مرحبااسمي ملكة جمال ساندرا حسن رأيت بروفايلك اليوم وأناأصبحت مهتمة ل

Re: fs: gpf in simple_setattr

2014-03-01 Thread Linus Torvalds
On Sat, Mar 1, 2014 at 2:05 PM, Sasha Levin wrote: > ping again? > > I've been working on it, but don't see an obvious issue. > > It does look like an access to invalid memory easily doable from userspace, > so it should probably get fixed soon... It doesn't happen in mainline? Any possibility th

Re: [PATCH 2/2] perf, tools, probe: Clarify x86 register naming for perf probe

2014-03-01 Thread Masami Hiramatsu
(2014/02/28 23:02), Andi Kleen wrote: > From: Andi Kleen > > Clarify how to specify x86 registers in perf probe. I recently > ran into this problem and had to figure it out from the source. > > Cc: masami.hiramatsu...@hitachi.com > Signed-off-by: Andi Kleen Acked-by: Masami Hiramatsu Thanks!

[PATCH] cgroup: missing rcu read lock around task_css_set

2014-03-01 Thread Sasha Levin
rcu read lock should be held when calling and working with task_css_set. This patch also fixes a related lockdep warning. Signed-off-by: Sasha Levin --- kernel/cgroup.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/kernel/cgroup.c b/kernel/cgroup.c index 8f4ddbe..f63

[PATCH] Drivers:staging:ozwpan Replaced wrapper functions with actual spin lock function calls

2014-03-01 Thread Surendra Patil
Replaced all the spin lock/unlock wrappers from oz_polling_lock_bh() and oz_polllin_unlock_bh() with spin_lock_bh(&g_polling_lock) and spin_unlock_bh(&g_polling_lock).Completely erased the wrappers defination and declaration. Module builded successfully with sparse without warnings. Signed-off-by:

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread H. Peter Anvin
Of course. It is primarily a testing problem - we just don't have a compatibility lab to test a bunch of strange hardware. On March 1, 2014 6:23:34 PM PST, Matthew Garrett wrote: >On Sat, Mar 01, 2014 at 06:07:18PM -0800, H. Peter Anvin wrote: > >> We obviously have been over this a number of t

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Matthew Garrett
On Sat, Mar 01, 2014 at 06:07:18PM -0800, H. Peter Anvin wrote: > We obviously have been over this a number of times, and the sad thing is > that we have very limited information. It is more complex than that, > even... I believe in some cases KBD works but it is slow, and so takes a > while. An

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
On 2014/3/2 10:07, H. Peter Anvin wrote: > On 03/01/2014 05:47 PM, Li, Aubrey wrote: >> >> Since we are not able to make things worse, let's make it better. So >> Let's dig into this. For the machine hangs by CF9, it's known to work by >> KBD, right? For the machine hangs by BIOS, do you know which

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread H. Peter Anvin
On 03/01/2014 05:47 PM, Li, Aubrey wrote: > > Since we are not able to make things worse, let's make it better. So > Let's dig into this. For the machine hangs by CF9, it's known to work by > KBD, right? For the machine hangs by BIOS, do you know which method will > make reboot work? > No. > Th

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
On 2014/3/2 8:33, H. Peter Anvin wrote: > On 03/01/2014 04:26 PM, Li, Aubrey wrote: >>> >>> On March 1, 2014 12:21:39 PM PST, Matthew Garrett >>> wrote: if we've hit the keyboard controller and ACPI twice, and the system is still alive, and if we have standard PCI ports, >>

Re: [PATCH 04/11] sched: unify imbalance bias for target group

2014-03-01 Thread Alex Shi
Would you like to give more comments? :) Thanks! On 02/26/2014 11:16 PM, Alex Shi wrote: >Now I'm all for removing code; and so far the numbers aren't bad; but I >don't like the complete muddle you make of things at all. > Sorry, do you mean the load_idx removing is fine, if without this fixed

Re: macvtap performance regression (bisected) between 3.13 and 3.14-rc1

2014-03-01 Thread Vlad Yasevich
On 03/01/2014 02:27 PM, Vlad Yasevich wrote: > On 03/01/2014 06:15 AM, Christian Borntraeger wrote: >> On 28/02/14 23:14, Vlad Yasevich wrote: >>> On 02/27/2014 03:52 PM, Christian Borntraeger wrote: Vlad, commit 6acf54f1cf0a6747bac9fea26f34cfc5a9029523 macvtap: Add support

Re: [PATCH v2 4/4] pci: Add support for creating a generic host_bridge from device tree

2014-03-01 Thread Benjamin Herrenschmidt
On Sun, 2014-03-02 at 12:23 +1100, Benjamin Herrenschmidt wrote: > On Fri, 2014-02-28 at 09:55 +, Liviu Dudau wrote: > > The next phase will be to see how much of the pci_controller structure can > > move > > into the generic code and reduce its size. I do suffer from not having a > > PowerPC

Re: [PATCH v2 4/4] pci: Add support for creating a generic host_bridge from device tree

2014-03-01 Thread Benjamin Herrenschmidt
On Fri, 2014-02-28 at 09:55 +, Liviu Dudau wrote: > The next phase will be to see how much of the pci_controller structure can > move > into the generic code and reduce its size. I do suffer from not having a > PowerPC > platform where I can test the changes, but I can produce some compiled c

Re: [PATCH] mm/slab.c: cleanup outdated comments and unify variables naming

2014-03-01 Thread Christoph Lameter
On Thu, 27 Feb 2014, Jianyu Zhan wrote: > As time goes, the code changes a lot, and this leads to that > some old-days comments scatter around , which instead of faciliating > understanding, but make more confusion. So this patch cleans up them. Acked-by: Christoph Lameter -- To unsubscribe from

Re: [PATCH] ACPI/Sleep: pm_power_off need more sanity check to be installed

2014-03-01 Thread Li, Aubrey
On 2014/3/2 8:39, Rafael J. Wysocki wrote: > On Saturday, March 01, 2014 06:24:23 AM Li, Aubrey wrote: Do we still want to set this if the check below fails? If so, then why? >>> >>> We know \_S5_ is valid. The fault is sleep registers, not S5 ACPI object >> >> Hi Rafael, do you still have an

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread H. Peter Anvin
On 03/01/2014 04:26 PM, Li, Aubrey wrote: >> >> On March 1, 2014 12:21:39 PM PST, Matthew Garrett >> wrote: >>> if we've hit the keyboard controller and ACPI twice, and the system is >>> still alive, and >>> if we have standard PCI ports, > >>> it doesn't seem like poking them is likely to ma

Re: [PATCH 1/2] Staging: comedi: introduce outl_1564_* and inl_1564_* helper functions in hwdrv_apci1564.c

2014-03-01 Thread Chase Southwood
>On Saturday, March 1, 2014 6:18 PM, Chase Southwood > wrote: >Hi Dan, > [snip] > >I like this idea.  Just to clarify though, basically all of the macros would >change to something like  > >#define APCI1564_DIGITAL_IP 0x4 #define APCI1564_DIGITAL_IP_INTERRUPT_MODE1 >(0x4 + 0x4) >#define APCI1564

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
> > On March 1, 2014 12:21:39 PM PST, Matthew Garrett wrote: >> if we've hit the keyboard controller and ACPI twice, and the system is still >> alive, and >> if we have standard PCI ports, >> it doesn't seem like poking them is likely to make anything actively worse. > This is exactly what I

Re: [PATCH] ACPI/Sleep: pm_power_off need more sanity check to be installed

2014-03-01 Thread Rafael J. Wysocki
On Saturday, March 01, 2014 06:24:23 AM Li, Aubrey wrote: > On 2014/2/28 13:33, Li, Aubrey wrote: > > On 2014/2/27 7:50, Rafael J. Wysocki wrote: > >> On Wednesday, February 26, 2014 10:46:37 AM Li, Aubrey wrote: > >>> Sleep control and status registers need santity check before ACPI > >>> install

Re: [PATCH v2] ACPI / EC: Clear stale EC events on Samsung systems

2014-03-01 Thread Rafael J. Wysocki
On Saturday, March 01, 2014 12:42:28 AM Kieran Clancy wrote: > A number of Samsung notebooks (530Uxx/535Uxx/540Uxx/550Pxx/900Xxx/etc) > continue to log events during sleep (lid open/close, AC plug/unplug, > battery level change), which accumulate in the EC until a buffer fills. > After the buffer i

Re: [PATCH 1/2] Staging: comedi: introduce outl_1564_* and inl_1564_* helper functions in hwdrv_apci1564.c

2014-03-01 Thread Chase Southwood
Hi Dan, >On Saturday, March 1, 2014 6:46 AM, Dan Carpenter >wrote: >>On Sat, Mar 01, 2014 at 04:28:27AM -0600, Chase Southwood wrote: >> This patch introduces a handful of outl and inl helper functions with the >> ultimate goal of improving code readability and allowing several lines >> which v

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
On 2014/3/2 3:01, Matthew Garrett wrote: > In fact, this is already merged > (d2f7cbe7b26a74dbbbf8f325b2a6fd01bc34032c), so adding EFI by default > should be fine. It'd be nice to instrument Windows on OVMF/qemu in order > to verify the ordering used in different situations. > So EFI is finaliz

Re: [PATCH V6 3/7] cpufreq: call driver's suspend/resume for each policy

2014-03-01 Thread Rafael J. Wysocki
On Monday, February 17, 2014 02:55:09 PM Viresh Kumar wrote: > Earlier cpufreq suspend/resume callbacks into drivers were getting called only > for the boot CPU, as by the time callbacks were called non-boot CPUs were > already removed. Because we might still need driver specific actions on > suspe

Re: [PATCH V6 2/7] cpufreq: suspend governors from dpm_{suspend|resume}()

2014-03-01 Thread Rafael J. Wysocki
On Monday, February 17, 2014 02:55:08 PM Viresh Kumar wrote: > Previous patch added support for suspending governors, with callbacks being > called from dpm_{suspend|resume}_noirq(). The problem here is that most of the > devices (i.e. devices with ->suspend() callbacks) have already been suspended

Re: Four people decided the fate of debian with systemd. Bad faith likely

2014-03-01 Thread Randy Dunlap
>> On 03/01/2014 01:12 PM, disbandtechc...@tfwno.gf wrote: Wrong mailing list. LKML is not about Debian. -- ~Randy -- 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 http://vger.kernel.org/maj

Re: kernfs: possible deadlock between of->mutex and mmap_sem

2014-03-01 Thread Dave Chinner
On Fri, Feb 28, 2014 at 08:14:45PM -0500, Sasha Levin wrote: > Hi all, > > I've stumbled on the following while fuzzing with trinity inside a > KVM tools running the latest -next kernel. > > We deal with files that have an mmap op by giving them a different > locking class than the files which do

Re: [PATCH v3] mm, hugetlbfs: fix rmapping for anonymous hugepages with page_pgoff()

2014-03-01 Thread Sasha Levin
On 02/28/2014 10:35 PM, Naoya Horiguchi wrote: > On Fri, Feb 28, 2014 at 03:14:27PM -0800, Andrew Morton wrote: >> On Fri, 28 Feb 2014 14:59:02 -0500 Naoya Horiguchi >> wrote: >> >>> page->index stores pagecache index when the page is mapped into file mapping >>> region, and the index is in pagec

Re: Final: Add 32 bit VDSO time function support

2014-03-01 Thread H. Peter Anvin
On 02/28/2014 06:00 PM, Andy Lutomirski wrote: > > This leads to a potentially interesting question: is rdtsc_barrier() > actually necessary on UP? IIRC the point is that, if an > rdtsc_barrier(); rdtsc in one thread is "before" (in the sense of > being synchronized by some memory operation) an r

[GIT PULL] target fixes for v3.14-rc5

2014-03-01 Thread Nicholas A. Bellinger
Hi Linus, Here are the target pending fixes for v3.14-rc5 code. Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending.git master The bulk of the series are bugfixes for qla2xxx target NPIV support that went in for v3.14-rc1. Also included are a few DIF related fi

Re: [PATCHv2] ARM: OMAP2+: Add support for thumb mode on DT booted N900

2014-03-01 Thread Pali Rohár
2014-02-17 22:30 GMT+01:00 Sebastian Reichel : > Without enabling the workaround for ARM errata 430973 thumb > compiled userland crashes randomly on the Nokia N900. > > Signed-off-by: Sebastian Reichel > Reviewed-by: Pavel Machek > --- > Hi, > > This is PATCHv2 for the thumb errata workaround for

Four people decided the fate of debian with systemd. Bad faith likely

2014-03-01 Thread disbandtechctte
FOUR people made a decision that would once have required thousands of votes. FOUR votes overrideds the decision debian took before the tech-ctte dictatorship to standardize on system V init rather than bsd style init scripts The tech-ctte was created to arbitrate and decide disputes between pack

[PATCH] ACPI / hotplug: Rework deferred execution of acpi_device_hotplug()

2014-03-01 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Since the only function executed by acpi_hotplug_execute() is acpi_device_hotplug() and it only is called by the ACPI core, simplify its definition so that it only takes two arguments, the ACPI device object pointer and event code, rename it to acpi_hotplug_schedule() and

[tip:x86/platform] x86, iosf: Add dummy functions for loadable modules

2014-03-01 Thread tip-bot for David E. Box
Commit-ID: 60af5c61f26fffb5f53ce74641606fe2c9a4d903 Gitweb: http://git.kernel.org/tip/60af5c61f26fffb5f53ce74641606fe2c9a4d903 Author: David E. Box AuthorDate: Fri, 28 Feb 2014 18:40:51 -0800 Committer: H. Peter Anvin CommitDate: Fri, 28 Feb 2014 19:55:00 -0800 x86, iosf: Add dummy fun

[tip:x86/platform] x86, iosf: Change IOSF_MBI Kconfig to default y

2014-03-01 Thread tip-bot for David E. Box
Commit-ID: 0fd9bdfa3b7698e30d2fbc4a029ded0f3428cf10 Gitweb: http://git.kernel.org/tip/0fd9bdfa3b7698e30d2fbc4a029ded0f3428cf10 Author: David E. Box AuthorDate: Mon, 24 Feb 2014 18:47:22 -0800 Committer: H. Peter Anvin CommitDate: Fri, 28 Feb 2014 19:56:13 -0800 x86, iosf: Change IOSF_M

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread H. Peter Anvin
True... trying cf9_cond with low priority probably makes sense. On March 1, 2014 12:21:39 PM PST, Matthew Garrett wrote: >On Sat, Mar 01, 2014 at 12:06:39PM -0800, H. Peter Anvin wrote: > >> Be careful. This is *exactly* what I tried back in checkin >> 14d7ca5c575853664d8fe4f225a77b8df1b7de7d.

[PATCHv2 1/2] rx51_battery: convert to iio consumer

2014-03-01 Thread Sebastian Reichel
Update rx51-battery driver to use the new IIO API of twl4030-madc and add DT support. Signed-off-by: Sebastian Reichel --- drivers/power/rx51_battery.c | 90 1 file changed, 66 insertions(+), 24 deletions(-) diff --git a/drivers/power/rx51_battery.c

[PATCHv2 2/2] Documentation: DT: Document rx51-battery binding

2014-03-01 Thread Sebastian Reichel
Add devicetree binding documentation for rx51-battery, which is a simple A/D converter consumer. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/power/rx51-battery.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/bind

[PATCHv2 0/2] Convert rx51-battery to IIO API and add DT support

2014-03-01 Thread Sebastian Reichel
Hi, This is PATCHv2 for converting rx51-battery to the IIO API and adding DT support. The patchset compiles and has been tested on my Nokia N900. It depends on another patchset converting twl4030-madc to the IIO API [0]. Changes since PATCHv1 [1]: * Release IIO channels on device removal * Rele

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Matthew Garrett
On Sat, Mar 01, 2014 at 12:06:39PM -0800, H. Peter Anvin wrote: > Be careful. This is *exactly* what I tried back in checkin > 14d7ca5c575853664d8fe4f225a77b8df1b7de7d. We had to back that out quite > quickly. It's the difference between trying it before the keyboard controller and trying it a

Hello

2014-03-01 Thread benitajohnson6685
Hello My name is BenitaJohnson i saw your profile toda and became interested in you,i will also like to know you the more,and i want you to send an email to my email address so i can give you my picture for you to know whom i am.Here is my email address(benitajohnson...@outlook.com) I belie

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread H. Peter Anvin
On 03/01/2014 09:22 AM, Matthew Garrett wrote: > On Sun, Mar 02, 2014 at 01:10:46AM +0800, Li, Aubrey wrote: > >> Peter - Can you please clarify writing to cf9 caused some system hang. >> If CF9 is the last way to try, that means ACPI, KBD takes no effect, >> then if no CF9, the system hangs there

Re: fs: gpf in simple_setattr

2014-03-01 Thread Sasha Levin
ping again? I've been working on it, but don't see an obvious issue. It does look like an access to invalid memory easily doable from userspace, so it should probably get fixed soon... Thanks, Sasha On 01/08/2014 11:00 AM, Sasha Levin wrote: ping? still happening in -next. On 12/18/2013 0

[PATCH] connector: remove duplicated code in cn_call_callback()

2014-03-01 Thread Alexey Khoroshilov
There were a couple of patches fixing the same bug that results in duplicated err = 0; assignment. The patch removes one of them. Signed-off-by: Alexey Khoroshilov --- drivers/connector/connector.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/connector/connector.c b/drivers/connect

Re: 3.12-stable kernel tree being taken over by Jiri Slaby

2014-03-01 Thread Jiri Slaby
On 02/28/2014 04:58 PM, Shuah Khan wrote: > On 02/26/2014 04:19 PM, Greg Kroah-Hartman wrote: >> As I hinted at in my kernel summit talk about the stable kernel tree, we >> have a sucker^Wvolunteer who has stepped up to take over the longterm >> maintenance of the 3.12 stable kernel tree. >> >> Jir

[PATCHv1 4/9] mfd: twl-core: Add twl_i2c_read/write_u16

2014-03-01 Thread Sebastian Reichel
Add a simple twl_i2c_read/write_u16 wrapper over the twl_i2c_read/write, which is similar to the twl_i2c_read/write_u8 wrapper. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- include/linux/i2c/twl.h | 12 1 file changed, 12 insertions(+) diff

[PATCHv1 6/9] Documentation: DT: Document twl4030-madc binding

2014-03-01 Thread Sebastian Reichel
Add devicetree binding documentation for twl4030-madc analog digital converter. Signed-off-by: Sebastian Reichel --- .../devicetree/bindings/iio/adc/twl4030-madc.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/twl4

[PATCHv1 8/9] iio: documentation: Add ABI documentation for *_mean_raw

2014-03-01 Thread Sebastian Reichel
Add ABI documentation for in_*_mean_raw files, which are already supported and used in the kernel for some time. Signed-off-by: Sebastian Reichel --- Documentation/ABI/testing/sysfs-bus-iio | 8 1 file changed, 8 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-iio b/Doc

[PATCHv1 7/9] mfd: twl4030-madc: Move driver to drivers/iio/adc

2014-03-01 Thread Sebastian Reichel
This is a driver for an A/D converter, which belongs into drivers/iio/adc. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/iio/adc/Kconfig | 10 ++ drivers/iio/adc/Makefile| 1 + drivers/{mfd => iio/adc}/twl40

[PATCHv1 3/9] mfd: twl4030-madc: Cleanup driver

2014-03-01 Thread Sebastian Reichel
Some style fixes in twl4030-madc driver. Reported-by: Jonathan Cameron Signed-off-by: Sebastian Reichel Acked-by: Lee Jones --- drivers/mfd/twl4030-madc.c | 125 +++ include/linux/i2c/twl4030-madc.h | 2 +- 2 files changed, 61 insertions(+), 66 delet

[PATCHv1 9/9] iio: inkern: add iio_read_channel_average_raw

2014-03-01 Thread Sebastian Reichel
Add iio_read_channel_average_raw to support reading averaged raw values in consumer drivers. Signed-off-by: Sebastian Reichel --- drivers/iio/inkern.c | 18 ++ include/linux/iio/consumer.h | 13 + 2 files changed, 31 insertions(+) diff --git a/drivers/iio/ink

[PATCHv1 5/9] mfd: twl4030-madc: Use twl_i2c_read/write_u16 for 16 bit registers

2014-03-01 Thread Sebastian Reichel
Simplify reading and writing of 16 bit TWL registers in the driver by using twl_i2c_read_u16 and twl_i2c_write_u16. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones Acked-by: Jonathan Cameron --- drivers/mfd/twl4030-madc.c | 39 --- 1 file changed, 8 ins

[PATCHv1 2/9] mfd: twl4030-madc: Add DT support and convert to IIO framework

2014-03-01 Thread Sebastian Reichel
This converts twl4030-madc module to use the Industrial IO ADC framework and adds device tree support. Signed-off-by: Sebastian Reichel --- drivers/mfd/twl4030-madc.c | 128 + 1 file changed, 118 insertions(+), 10 deletions(-) diff --git a/drivers/mfd

[PATCHv1 0/9] Convert twl4030-madc to IIO API and add DT support

2014-03-01 Thread Sebastian Reichel
Hi, This is PATCHv1 for converting twl4030-madc to the IIO API and adding DT support. The plan is to remove the private twl4030-madc API once all users have been removed or converted to the IIO API. The patchset compiles and has been tested on my Nokia N900. Changes since RFCv4 [0]: * Fixup all

[PATCHv1 1/9] mfd: twl4030-madc: Use managed resources

2014-03-01 Thread Sebastian Reichel
Update twl4030-madc driver to use managed resources. Signed-off-by: Sebastian Reichel Acked-by: Lee Jones --- drivers/mfd/twl4030-madc.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/mfd/twl4030-madc.c b/drivers/mfd/twl4030-madc.c index 4c583e4..545

Re: macvtap performance regression (bisected) between 3.13 and 3.14-rc1

2014-03-01 Thread Vlad Yasevich
On 03/01/2014 06:15 AM, Christian Borntraeger wrote: > On 28/02/14 23:14, Vlad Yasevich wrote: >> On 02/27/2014 03:52 PM, Christian Borntraeger wrote: >>> Vlad, >>> >>> commit 6acf54f1cf0a6747bac9fea26f34cfc5a9029523 >>> macvtap: Add support of packet capture on macvtap device. >>> >>> causes a

Re: 3.12-stable kernel tree being taken over by Jiri Slaby

2014-03-01 Thread Guenter Roeck
Hi, do you want me to keep running my build tests on the patch queue for 3.12 ? definitely yes, if you could. If yes, I'll probably need to know the location of your (quilt ?) repository so I can import the patches, similar to what I do for 3.2 and the releases managed by Greg. I've just p

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Matthew Garrett
In fact, this is already merged (d2f7cbe7b26a74dbbbf8f325b2a6fd01bc34032c), so adding EFI by default should be fine. It'd be nice to instrument Windows on OVMF/qemu in order to verify the ordering used in different situations. -- Matthew Garrett | mj...@srcf.ucam.org -- To unsubscribe from thi

Re: [PATCH 3/4] ARM: DT: STi: Add DT node for MiPHY365x

2014-03-01 Thread Kishon Vijay Abraham I
Hi, On Friday 14 February 2014 04:53 PM, Lee Jones wrote: The MiPHY365x is a Generic PHY which can serve various SATA or PCIe devices. It has 2 ports which it can use for either; both SATA, both PCIe or one of each in any configuration. Cc: devicet...@vger.kernel.org Cc: Srinivas Kandagatla Si

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Matthew Garrett
On Sun, Mar 02, 2014 at 01:31:13AM +0800, Li, Aubrey wrote: > On 2014/3/2 1:22, Matthew Garrett wrote: > > No. The EFI reboot call jumps into the firmware and executes code. > > Firmware actually writes CF9. Your firmware writes CF9. Other firmware may hit some other addresses. We don't know wha

Re: [PATCH]sched/core: Return possibility to set RT and DL classes back

2014-03-01 Thread Juri Lelli
On Fri, 28 Feb 2014 14:50:43 +0400 Kirill Tkhai wrote: > Thomas, have you seen this? > > Nothing works at the moment: > Noticed the same once rebased on tip/master as of today. > now > >21 root 20 0 000 S 0.0 0.0 0:00.00 watchdog/3 >

[RELEASE] Userspace RCU 0.7.11 and 0.8.3

2014-03-01 Thread Mathieu Desnoyers
liburcu is a LGPLv2.1 userspace RCU (read-copy-update) library. This data synchronization library provides read-side access which scales linearly with the number of cores. It does so by allowing multiples copies of a given data structure to live at the same time, and by monitoring the data structur

Re: [PATCH 1/9] block: Make generic_make_request handle arbitrary sized bios

2014-03-01 Thread Keith Busch
On Fri, 28 Feb 2014, Kent Overstreet wrote: On Thu, Feb 27, 2014 at 12:22:54PM -0500, Matthew Wilcox wrote: On Wed, Feb 26, 2014 at 03:39:49PM -0800, Kent Overstreet wrote: We do this by adding calls to blk_queue_split() to the various make_request functions that need it - a few can already han

Re: [PATCH 1/1] mm: use macros from compiler.h instead of __attribute__((...))

2014-03-01 Thread Geert Uytterhoeven
On Sat, Mar 1, 2014 at 5:02 PM, Gideon Israel Dsouza wrote: > --- a/mm/sparse.c > +++ b/mm/sparse.c > @@ -9,6 +9,8 @@ > #include > #include > #include > +#include Please try to insert new includes in alphabetical order, to avoid merge conflicts. It's no always easy, as lots of include list

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
On 2014/3/2 1:22, Matthew Garrett wrote: > On Sun, Mar 02, 2014 at 01:10:46AM +0800, Li, Aubrey wrote: > >> Peter - Can you please clarify writing to cf9 caused some system hang. >> If CF9 is the last way to try, that means ACPI, KBD takes no effect, >> then if no CF9, the system hangs there in i

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Matthew Garrett
On Sun, Mar 02, 2014 at 01:10:46AM +0800, Li, Aubrey wrote: > Peter - Can you please clarify writing to cf9 caused some system hang. > If CF9 is the last way to try, that means ACPI, KBD takes no effect, > then if no CF9, the system hangs there in infinite for() loop. If CF9 > is there, that mean

Re: [RFCv4 0/7] Convert twl4030-madc to IIO API and add DT support

2014-03-01 Thread Sebastian Reichel
Hi Jonathan, On Sat, Mar 01, 2014 at 11:52:52AM +, Jonathan Cameron wrote: > Obviously there are a few outstanding bits and pieces to be > addressed. To get this lined up for a merge... I will send out a new patchset in a few minutes. > Lee, do you want to take this through mfd or shall I ta

Re: [patch] x86: Introduce BOOT_EFI and BOOT_CF9 into the reboot sequence loop

2014-03-01 Thread Li, Aubrey
On 2014/3/1 6:11, Li, Aubrey wrote: > On 2014/3/1 1:47, H. Peter Anvin wrote: >> On 02/27/2014 10:54 PM, Li, Aubrey wrote: >>> On 2014/2/28 14:44, Matthew Garrett wrote: On Fri, Feb 28, 2014 at 02:39:56PM +0800, Li, Aubrey wrote: > Just let you know, Windows8.1 calls EFI on these boxe

[GIT PULL] slave-dmaengine fixes

2014-03-01 Thread Vinod Koul
Hey Linus, This request brings you two small fixes. First one for fixing dereference of freed descriptor and second for fixing sdma bindings for it to work for imx25. I was planning to send this about 10days ago but then I had to proceed on my paternity leave and didnt get chance to send this. N

Re: perf_fuzzer compiled for x32 causes reboot

2014-03-01 Thread H. Peter Anvin
The bottom line is that if we want hard numbers we probably have to measure. Hoisting the cr2 read is a no-brainer, might even help performance... On March 1, 2014 1:50:42 AM PST, Borislav Petkov wrote: >On Sat, Mar 01, 2014 at 10:16:50AM +0100, Ingo Molnar wrote: >> >> * Steven Rostedt wrote:

Re: [linux-sunxi] [PATCH v2 2/5] clk: sun6i: Reparent AHB clock on PLL6

2014-03-01 Thread Hans de Goede
Hi, On 02/28/2014 05:37 PM, Maxime Ripard wrote: > In order for the DMA controller to work for SDRAM to devices transfers, the > AHB > clock should be reparented on the PLL6. > > Force that parenting in the clock driver. > > Signed-off-by: Maxime Ripard > --- > drivers/clk/sunxi/clk-sunxi.c |

Re: [PATCH] drm/vmwgfx: avoid null pointer dereference at failure paths

2014-03-01 Thread Thomas Hellstrom
On 02/28/2014 10:20 PM, Alexey Khoroshilov wrote: > vmw_takedown_otable_base() and vmw_mob_unbind() check for > potential vmw_fifo_reserve() failure and print error message, > but then immediately dereference NULL pointer. > > Found by Linux Driver Verification project (linuxtesting.org). > > Sign

Re: [PATCH 2/3] PM: define new ASSIGN_*_PM_OPS macros based on assign_if

2014-03-01 Thread Pavel Machek
Hi! > > > > +#define ASSIGN_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ > > > > + .suspend = assign_if_pm_sleep(suspend_fn), \ > > > > + .resume = assign_if_pm_sleep(resume_fn), \ > > > > + .freeze = assign_if_pm_sleep(suspend_fn), \ > > > > + .thaw = assign_if_pm_sleep(re

Re: perf_fuzzer compiled for x32 causes reboot

2014-03-01 Thread Andi Kleen
Steven Rostedt writes: > > BTW, is the perf_fuzzer code posted somewhere? It sounds like it can be > really useful for us to do our own testing too. I believe it's part of trinity. http://codemonkey.org.uk/projects/trinity/ Perhaps it should have a "ftracer fuzzer" too? -Andi -- To unsubscribe

Re: [PATCH 4/8] perf, tools: Enable printing the srcline in the history v2

2014-03-01 Thread Andi Kleen
Andi Kleen writes: > From: Andi Kleen > > For lbr-as-callgraph we need to see the line number in the history, > because many LBR entries can be in a single function, and just > showing the same function name many times is not useful. This patch broke the GTK build, fixed with this followon patc

Ugent update please

2014-03-01 Thread Webmail Technical Support Team
Our records indicate that your E-mail® Account could not be automatically updated with our F-Secure R-HTK4S new(2014) version anti-spam/anti-virus/anti-spyware. Please provide the detaols below to update manually Name:> Email:.

[PATCH 1/1] mm: use macros from compiler.h instead of __attribute__((...))

2014-03-01 Thread Gideon Israel Dsouza
To increase compiler portability there is which provides convenience macros for various gcc constructs. Eg: __weak for __attribute__((weak)). I've replaced all instances of gcc attributes with the right macro in the memory management (/mm) subsystem. Signed-off-by: Gideon Israel Dsouza --- mm

[PATCH 0/1] Use macros from compiler.h instead of gcc specific attributes

2014-03-01 Thread Gideon Israel Dsouza
To increase compiler portability there is which provides convenience macros for various gcc constructs. Eg: __weak for __attribute__((weak)). I've taken up the job of cleaning these attributes all over the kernel. Currently my patches for cleanup of all files under /kernel and /block are alrea

Re: [PATCH 2/3] PM: define new ASSIGN_*_PM_OPS macros based on assign_if

2014-03-01 Thread Greg Kroah-Hartman
On Sat, Mar 01, 2014 at 12:06:33PM +0100, Pavel Machek wrote: > Hi! > > > > +#define ASSIGN_SYSTEM_SLEEP_PM_OPS(suspend_fn, resume_fn) \ > > > + .suspend = assign_if_pm_sleep(suspend_fn), \ > > > + .resume = assign_if_pm_sleep(resume_fn), \ > > > + .freeze = assign_if_pm_sleep(suspend_fn), \ > > >

Re: [PATCH] irq: Changed the return type of irq_chip.irq_startup() from unsigned int to int

2014-03-01 Thread Russell King - ARM Linux
On Sat, Mar 01, 2014 at 04:31:13PM +0100, Thomas Gleixner wrote: > On Fri, 28 Feb 2014, James Hogan wrote: > > On Thursday 27 February 2014 18:21:19 Jean-Jacques Hiblot wrote: > > > drivers/irqchip/irq-metag.c | 4 ++-- > > > > I think you've missed out drivers/irqchip/irq-metag-ext.

Re: [PATCH 2/2] arm/xen: Don't use xen DMA ops when the device is protected by an IOMMU

2014-03-01 Thread Julien Grall
Hi Stefano, On 25/02/14 04:49, Stefano Stabellini wrote: Julien, could you please come up with a simple patch to demonstrate the concept? Sure. I won't have time to write the patch next week. I will try to send it as soon as possible. Cheers, -- Julien Grall -- To unsubscribe from this li

Re: [PATCH] irq: Changed the return type of irq_chip.irq_startup() from unsigned int to int

2014-03-01 Thread Thomas Gleixner
On Fri, 28 Feb 2014, James Hogan wrote: > On Thursday 27 February 2014 18:21:19 Jean-Jacques Hiblot wrote: > > drivers/irqchip/irq-metag.c | 4 ++-- > > I think you've missed out drivers/irqchip/irq-metag-ext.c There is a good reason why I asked to do this with coccinelle. Thanks,

Diploma thesis about media choice and usage in Free Software communities: I need your help.

2014-03-01 Thread Mario Fux
Dear Free Software contributor* I'm currently in the process of writing my diploma thesis. I've worked hard during the last few weeks and months on a questionnaire [1] which shall collect some data for my thesis. Furthermore the data of this survey will be interesting for the Free Software comm

Re: [PATCH 0/4] Provide netdev naming-policy via sysfs

2014-03-01 Thread Tom Gundersen
On Thu, Feb 27, 2014 at 4:47 PM, Tom Gundersen wrote: > On Thu, Feb 27, 2014 at 3:47 PM, David Herrmann wrote: >> This series implements a new sysfs attribute for netdevs called >> "name_assign_type". It provides an integer that describes where an interface >> name comes from. See Patch #1 for a

Re: [PATCH v2 3/4] x86: Patch alternatives in the 32-bit vDSO

2014-03-01 Thread Stefani Seibold
Am Donnerstag, den 27.02.2014, 16:18 -0800 schrieb Andy Lutomirski: > rdtsc_barrier() needs this. > > Signed-off-by: Andy Lutomirski > --- > arch/x86/include/asm/vdso.h | 2 ++ > arch/x86/vdso/vdso32-setup.c | 25 + > arch/x86/vdso/vma.c | 9 ++--- > 3 fil

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-03-01 Thread Paul E. McKenney
On Sat, Mar 01, 2014 at 04:06:34AM -0600, Peter Sewell wrote: > Hi Paul, > > On 28 February 2014 18:50, Paul E. McKenney > wrote: > > On Thu, Feb 27, 2014 at 12:53:12PM -0800, Paul E. McKenney wrote: > >> On Thu, Feb 27, 2014 at 11:47:08AM -0800, Linus Torvalds wrote: > >> > On Thu, Feb 27, 2014

  1   2   >