Re: [PATCH 03/16] wl1251: add sysfs interface for bluetooth coexistence mode configuration

2013-12-07 Thread Pali Rohár
On Tuesday 29 October 2013 00:39:47 Ben Hutchings wrote: > On Sat, 2013-10-26 at 22:34 +0200, Pali Rohár wrote: > > From: David Gnedt > > > > Port the bt_coex_mode sysfs interface from wl1251 driver > > version included in the Maemo Fremantle kernel to allow > > bt-coexistence mode

[PATCH] Add HLE devl head file and several usages in kernel

2013-12-07 Thread Luming Yu
For new Instruction Prefixes XACQUIRE and XRELEASE to enable kernel to use the new memory model that affects the critical sections with a hope to enable atomic memory concurrency in the absence of data conflicts based on description in chapter 12 of Intel SDM optimization guide. My understanding

Re: Bug in tty cooked mode kernel 3.12.3

2013-12-07 Thread Greg KH
On Sun, Dec 08, 2013 at 01:16:09AM -0500, Karl Dahlke wrote: > As per your direction, I applied Peters patch to n_tty.c, > which looked like it was in the ballpark, echoing newline etc, > but it did not fix the problem. > It is still reproducible on my system as below. > > > Come up in run level

Re: [PATCH] Staging: TIDSPBRIDGE: Remove UUID helper

2013-12-07 Thread gre...@linuxfoundation.org
On Sat, Dec 07, 2013 at 10:41:36AM +0200, Ivajlo Dimitrov wrote: > > On 06.12.2013 17:10, gre...@linuxfoundation.org wrote: > > On Fri, Dec 06, 2013 at 08:05:38AM +0200, Ivajlo Dimitrov wrote: > >> Hi Greg, > >> > >> On 01.12.2013 19:07, Ivaylo DImitrov wrote: > >>> From: Ivaylo Dimitrov > >>> >

Re: [PATCH v2 02/11] arm: pxa27x: support ICP DAS LP-8x4x

2013-12-07 Thread Sergei Ianovich
On Sun, 2013-12-08 at 03:21 +0100, Arnd Bergmann wrote: > On Friday 06 December 2013, Sergei Ianovich wrote: > You have some rather unusual options in here. I'd suggest you go through > the reduced defconfig file and remove all options that look like they > are unnecessary for your system. > >

Bug in tty cooked mode kernel 3.12.3

2013-12-07 Thread Karl Dahlke
As per your direction, I applied Peters patch to n_tty.c, which looked like it was in the ballpark, echoing newline etc, but it did not fix the problem. It is still reproducible on my system as below. > Come up in run level 3, command line mode, > and bring up two consoles with bash in cooked

[PATCH v3 11/12] sched/numa: drop unnecessary variable in task_weight

2013-12-07 Thread Wanpeng Li
Drop unnecessary total_faults variable in function task_weight to unify task_weight and group_weight. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c | 11 ++- 1 files changed, 2 insertions(+), 9 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index

[PATCH v3 12/12] sched/numa: drop local 'ret' in task_numa_migrate()

2013-12-07 Thread Wanpeng Li
task_numa_migrate() has two locals called "ret". Fix it all up. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index df8b677..3159ca7 100644 --- a/kernel/sched/fair.c +++

[PATCH v3 01/12] sched/numa: fix set cpupid on page migration twice against thp

2013-12-07 Thread Wanpeng Li
commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function migrate_misplaced_transhuge_page, this patch fix it. Acked-by: Mel Gorman Reviewed-by: Rik van Riel Signed-off-by: Wanpeng Li ---

[PATCH v3 04/12] sched/numa: use wrapper function task_node to get node which task is on

2013-12-07 Thread Wanpeng Li
Changelog: v2 -> v3: * tranlate cpu_to_node(task_cpu(p)) to task_node(p) in sched/debug.c Use wrapper function task_node to get node which task is on. Acked-by: Mel Gorman Reviewed-by: Naoya Horiguchi Reviewed-by: Rik van Riel Signed-off-by: Wanpeng Li --- kernel/sched/debug.c |2 +-

[PATCH v3 09/12] sched/numa: fix task scan rate adjustment

2013-12-07 Thread Wanpeng Li
commit 04bb2f947 (sched/numa: Adjust scan rate in task_numa_placement) calculate period_slot which should be used as base value of scan rate increase if remote access dominate. However, current codes forget to use it, this patch fix it. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |2

[PATCH v3 08/12] sched/numa: use wrapper function task_faults_idx to calculate index in group_faults

2013-12-07 Thread Wanpeng Li
Use wrapper function task_faults_idx to calculate index in group_faults. Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index e0b1063..7073c76 100644 --- a/kernel/sched/fair.c

[PATCH v3 10/12] sched/numa: fix record hinting faults check

2013-12-07 Thread Wanpeng Li
Adjust numa_scan_period in task_numa_placement, depending on how much useful work the numa code can do. The local faults and remote faults should be used to check if there is record hinting faults instead of local faults and shared faults. This patch fix it. Signed-off-by: Wanpeng Li ---

[PATCH v3 03/12] sched/numa: drop sysctl_numa_balancing_settle_count sysctl

2013-12-07 Thread Wanpeng Li
commit 887c290e (sched/numa: Decide whether to favour task or group weights based on swap candidate relationships) drop the check against sysctl_numa_balancing_settle_count, this patch remove the sysctl. Acked-by: Mel Gorman Reviewed-by: Rik van Riel Signed-off-by: Wanpeng Li ---

[PATCH v3 07/12] sched/numa: fix set cpupid on page migration twice against normal page

2013-12-07 Thread Wanpeng Li
commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over the cpupid at page migration time, there is unnecessary to set it again in function alloc_misplaced_dst_page, this patch fix it. Signed-off-by: Wanpeng Li --- mm/migrate.c |2 -- 1 files changed, 0 insertions(+), 2

[PATCH v3 02/12] sched/numa: drop idx field of task_numa_env struct

2013-12-07 Thread Wanpeng Li
Drop unused idx field of task_numa_env struct. Reviewed-by: Rik van Riel Reviewed-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- kernel/sched/fair.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c index fd773ad..ea3fd1e

[PATCH v3 05/12] sched/numa: make numamigrate_isolate_page static

2013-12-07 Thread Wanpeng Li
Changelog: v2 -> v3: * fix patch description Make numamigrate_isolate_page static. Reviewed-by: Naoya Horiguchi Signed-off-by: Wanpeng Li --- mm/migrate.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index fdb70f7..7ad81e0 100644 ---

[PATCH v3 06/12] sched/numa: make numamigrate_update_ratelimit static

2013-12-07 Thread Wanpeng Li
Make numamigrate_update_ratelimit static. Reviewed-by: Rik van Riel Signed-off-by: Wanpeng Li --- mm/migrate.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mm/migrate.c b/mm/migrate.c index 7ad81e0..b1b6663 100644 --- a/mm/migrate.c +++ b/mm/migrate.c @@ -1592,7

Re: Bug in tty cooked mode kernel 3.12.3

2013-12-07 Thread Greg KH
On Sat, Dec 07, 2013 at 06:46:07PM -0500, Karl Dahlke wrote: > This may have appeared in 3.9.11 with the changes to tty. > Don't know; I just started running 3.12 from kernel.org. > Perhaps nobody saw it before because nobody runs command line programs, > we're all on desktops or x or whatever, >

Re: [PATCH] aerdrv: Fix severity usage in aer trace event

2013-12-07 Thread Ethan Zhao
Rui, I like this patch. thanks your revision. Ethan On Sun, Dec 8, 2013 at 12:17 PM, Rui Wang wrote: > There's inconsistency between dmesg and the trace event output. > When dmesg says "severity=Corrected", the trace event says > "severity=Fatal". What happens is that HW_EVENT_ERR_CORRECTED

Re: 50 Watt idle power regression bisected to Linux-3.10

2013-12-07 Thread Mike Galbraith
On Sat, 2013-12-07 at 03:00 -0500, Len Brown wrote: > Hello Thomas, > > An idle WSM-EX box (40 Xeon cores) runs 50 Watts hotter after this patch: > > commit 7d1a941731fabf27e5fb6edbebb79fe856edb4e5 > Author: Thomas Gleixner > Date: Thu Mar 21 22:50:03 2013 +0100 > > x86: Use generic

[RFC/RFT/PATCH V3] gpio: omap: refresh patch "be more aggressive with pm_runtime" against v3.12-rc5

2013-12-07 Thread Chao Xu
From: Felipe Balbi try to keep gpio block suspended as much as possible. Tested with pandaboard and a sysfs exported gpio. Signed-off-by: Felipe Balbi [caesarxuc...@gmail.com : Refreshed against v3.12-rc5, and added revision check to enable aggressive pm_runtime on OMAP4-only. Because

[PATCH] aerdrv: Fix severity usage in aer trace event

2013-12-07 Thread Rui Wang
There's inconsistency between dmesg and the trace event output. When dmesg says "severity=Corrected", the trace event says "severity=Fatal". What happens is that HW_EVENT_ERR_CORRECTED is defined in edac.h: enum hw_event_mc_err_type { HW_EVENT_ERR_CORRECTED,

Re: [PATCH v2 04/10] PCI: Destroy pci dev only once

2013-12-07 Thread Greg Kroah-Hartman
On Sat, Dec 07, 2013 at 07:31:21PM -0800, Yinghai Lu wrote: > [+ GregKH] > > On Fri, Dec 6, 2013 at 5:27 PM, Rafael J. Wysocki wrote: > > On Thursday, December 05, 2013 10:52:36 PM Yinghai Lu wrote: > >> On Mon, Dec 2, 2013 at 6:49 AM, Rafael J. Wysocki > >> wrote: > >> > > >> > Scenario 5:

Re: [PATCH v2 04/10] PCI: Destroy pci dev only once

2013-12-07 Thread Yinghai Lu
[+ GregKH] On Fri, Dec 6, 2013 at 5:27 PM, Rafael J. Wysocki wrote: > On Thursday, December 05, 2013 10:52:36 PM Yinghai Lu wrote: >> On Mon, Dec 2, 2013 at 6:49 AM, Rafael J. Wysocki wrote: >> > >> > Scenario 5: pci_stop_and_remove_bus_device() is run concurrently >> > for a device and its

Re: [PATCH] Documentation: start documenting driver design patterns

2013-12-07 Thread Randy Dunlap
On 12/04/13 04:22, Linus Walleij wrote: > After realizing that we tend to tell developers the same thing over > and over, let's attempt to document some commin design patterns > used in the device drivers. The idea is that this can be extended > so I just start out with two well-known design

Re: [PATCH v7 1/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-07 Thread Theodore Ts'o
On Sat, Dec 07, 2013 at 09:58:17PM -0500, David Turner wrote: > > We can and should change time_to_string to take an unsigned 64-bit > > type; it's an internal interface to debugfs. > > Shouldn't this be a signed 64-bit type, since we have to support times > before 1970? That depends on

Re: [PATCH 1/1] ramdisk: documentation update

2013-12-07 Thread Randy Dunlap
On 12/06/13 15:52, Fabian Frederick wrote: > -ramdisk_blocksize doesn't exist anymore. > -Module parameters added to documentation. > > Signed-off-by: Fabian Frederick > --- > Documentation/blockdev/ramdisk.txt | 23 ++- > 1 file changed, 18 insertions(+), 5 deletions(-) >

Re: [PATCH v2 6/6] sched/numa: make numamigrate_update_ratelimit static

2013-12-07 Thread Rik van Riel
On 12/06/2013 04:12 AM, Wanpeng Li wrote: > Make numamigrate_update_ratelimit static. > > Signed-off-by: Wanpeng Li Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 4/6] sched/numa: use wrapper function task_node to get node which task is on

2013-12-07 Thread Rik van Riel
On 12/06/2013 04:12 AM, Wanpeng Li wrote: > Use wrapper function task_node to get node which task is on. > > Signed-off-by: Wanpeng Li Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v2 3/6] sched/numa: drop sysctl_numa_balancing_settle_count sysctl

2013-12-07 Thread Rik van Riel
On 12/06/2013 04:12 AM, Wanpeng Li wrote: > commit 887c290e (sched/numa: Decide whether to favour task or group weights > based on swap candidate relationships) drop the check against > sysctl_numa_balancing_settle_count, this patch remove the sysctl. > > Signed-off-by: Wanpeng Li

Re: [PATCH v7 1/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-07 Thread David Turner
On Sat, 2013-12-07 at 19:53 -0500, Theodore Ts'o wrote: > On Sat, Dec 07, 2013 at 03:02:40PM -0500, David Turner wrote: > > > > However, as Andreas notes, "we want to verify .. that "debugfs -R > > 'stat testfile'" decodes the times correctly." Unfortunately, it > > does not, and it is not

Re: [RFC part1 PATCH 0/7] Make ACPI core running on ARM64

2013-12-07 Thread Arnd Bergmann
On Friday 06 December 2013, Mark Brown wrote: > On Thu, Dec 05, 2013 at 11:25:02PM +0100, Arnd Bergmann wrote: > > > However, as I mentioned before I am much more worried about the parts that > > are not done (or not posted) yet and that will be required to actually > > have working support for a

[PATCH] r_du_lvdsenc.c : Check return value of devm_ioremap_resource with IS_ERR

2013-12-07 Thread ethan.zhao
function devm_ioremap_resource() doesn't return NULL, should check its return value with helper IS_ERR(). Signed-off-by: ethan.zhao --- drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_lvdsenc.c

Re: [PATCH v2 02/11] arm: pxa27x: support ICP DAS LP-8x4x

2013-12-07 Thread Arnd Bergmann
On Friday 06 December 2013, Sergei Ianovich wrote: > new file mode 100644 > index 000..2612e60 > --- /dev/null > +++ b/arch/arm/configs/lp8x4x_defconfig > @@ -0,0 +1,235 @@ > +CONFIG_CROSS_COMPILE="arm-linux-gnueabi-" This will break some build bots, please remove it here and add it to your

kernel BUG in munlock_vma_pages_range

2013-12-07 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running latest -next kernel, I've stumbled on the following spew. The code seems to be in munlock_vma_pages_range(): page = follow_page_mask(vma, start, FOLL_GET | FOLL_DUMP, _mask); if (page

Re: [PATCH-v2 3/3] ima: added support for new kernel cmdline parameter ima_template_fmt

2013-12-07 Thread Mimi Zohar
On Sat, 2013-12-07 at 10:57 +0100, Roberto Sassu wrote: > On 12/06/2013 08:36 PM, Mimi Zohar wrote: > > On Fri, 2013-12-06 at 13:57 +0100, Roberto Sassu wrote: > >> This patch allows users to provide a custom template format through the > >> new kernel command line parameter 'ima_template_fmt'. If

Re: [PATCH v2 1/6] sched/numa: fix set cpupid on page migration twice

2013-12-07 Thread Rik van Riel
On 12/06/2013 04:12 AM, Wanpeng Li wrote: > commit 7851a45cd3 (mm: numa: Copy cpupid on page migration) copy over > the cpupid at page migration time, there is unnecessary to set it again > in migrate_misplaced_transhuge_page, this patch fix it. > > Signed-off-by: Wanpeng Li Reviewed-by: Rik

Re: [PATCH v7 1/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-07 Thread Theodore Ts'o
On Sat, Dec 07, 2013 at 03:02:40PM -0500, David Turner wrote: > > However, as Andreas notes, "we want to verify .. that "debugfs -R > 'stat testfile'" decodes the times correctly." Unfortunately, it > does not, and it is not trivial to fix. debugfs uses an internal > function

[GIT PULL] Post-v3.13-rc3 power management fixup

2013-12-07 Thread Rafael J. Wysocki
Hi Linus, Please pull from the git repository at git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-3.13-rc3-fixup to receive reverts of two recent cpufreq fixes that broke more than they fixed for v3.13-rc4 with top-most commit d4faadd5d5b3 Revert "cpufreq: fix garbage

Re: [PATCH V4] cpufreq: suspend governors on system suspend/hibernate

2013-12-07 Thread Rafael J. Wysocki
On Saturday, December 07, 2013 04:24:09 PM Paul Bolle wrote: > On Sat, 2013-12-07 at 12:01 +0100, Bjørn Mork wrote: > > Sorry to be making noise here again, but I was eager to verify that the > > fixes in v3.13-rc3 were OK on my system. Unfortunately it seems this > > patch completely broke

DID YOU GET MY MAIL?

2013-12-07 Thread cham
-- 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/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Bug in tty cooked mode kernel 3.12.3

2013-12-07 Thread Karl Dahlke
This may have appeared in 3.9.11 with the changes to tty. Don't know; I just started running 3.12 from kernel.org. Perhaps nobody saw it before because nobody runs command line programs, we're all on desktops or x or whatever, and even those in the command line are still raw. bash is raw by

Re: [PATCH] Staging: TIDSPBRIDGE: Use vm_iomap_memory for mmap-ing instead of remap_pfn_range

2013-12-07 Thread Steven Luo
This patch causes problems with DSP codecs on OMAP3 devices running Android -- specifically, when the decoder is cleaning up after itself, munmap() of the mapped area fails, leading to a memory leak which eventually crashes the system. As far as I can tell, the code with this patch applied

Re: [PATCH 3.12 00/83] 3.12.4-stable review

2013-12-07 Thread Greg Kroah-Hartman
On Sat, Dec 07, 2013 at 03:15:17PM -0700, Shuah Khan wrote: > On 12/06/2013 02:50 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.12.4 release. > >There are 83 patches in this series, all will be posted as a response > >to this one. If anyone has any issues

[PATCH] Staging: android: fix parantheses coding style issue in alarm-dev.c

2013-12-07 Thread Preetam D'Souza
This patch fixes an unecessary return statement parantheses error found in alarm-dev.c by the checkpatch.pl tool -- alarm-dev.c now has no more errors/warnings! Signed-off-by: Preetam D'Souza --- drivers/staging/android/alarm-dev.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PATCH 04/12] PCI/portdrv: Remove superfluous name cast

2013-12-07 Thread Bjorn Helgaas
On Tue, Nov 12, 2013 at 08:07:17PM +0100, Geert Uytterhoeven wrote: > device_driver.name is "const char *" > > Signed-off-by: Geert Uytterhoeven > Cc: Bjorn Helgaas > Cc: linux-...@vger.kernel.org Applied to pci/misc for v3.14, thanks! > --- > drivers/pci/pcie/portdrv_core.c |2 +- > 1

Re: [PATCH v7 1/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-07 Thread Andreas Dilger
I suspect that any 32-bit systems running at that time will have been updated to have 64-bit time_t or otherwise have windowed the 32-bit time_t to have a new starting epoch. So I'm willing to punt on decoding the 64-bit value correctly to libc and just assign our time to the system time_t.

[PATCH] net: unix: allow set_peek_off to fail

2013-12-07 Thread Sasha Levin
unix_dgram_recvmsg() will hold the readlock of the socket until recv is complete. In the same time, we may try to setsockopt(SO_PEEK_OFF) which will hang until unix_dgram_recvmsg() will complete (which can take a while) without allowing us to break out of it, triggering a hung task spew.

Re: [PATCH RFC] timekeeping: Fix clock stability with nohz

2013-12-07 Thread John Stultz
On 12/07/2013 09:56 AM, Richard Cochran wrote: > On Fri, Dec 06, 2013 at 05:43:45PM -0800, John Stultz wrote: >> Anyway, let me know what you think and I'll run some tests on it this >> weekend. >> >> thanks >> -john >> >> >> diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c >>

Re: [PATCH 3.4 00/32] 3.4.73-stable review

2013-12-07 Thread Shuah Khan
On 12/06/2013 02:52 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.4.73 release. There are 32 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.10 00/58] 3.10.23-stable review

2013-12-07 Thread Shuah Khan
On 12/06/2013 02:51 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.23 release. There are 58 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH 3.12 00/83] 3.12.4-stable review

2013-12-07 Thread Shuah Khan
On 12/06/2013 02:50 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.12.4 release. There are 83 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be

Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs

2013-12-07 Thread H. Peter Anvin
This is very good advice indeed. Borislav Petkov wrote: >On Sat, Dec 07, 2013 at 04:01:02AM -0500, Dave Young wrote: >> Hi, all >> >> Update my status: >> >> I have finished most of thecode related changes including the >krealloc >> fixes (both for original code and my new code). And I'm

Re: [PATCH v2] PCI: Clear Bus Master bit only on kexec reboot

2013-12-07 Thread Bjorn Helgaas
On Wed, Nov 27, 2013 at 3:19 PM, Khalid Aziz wrote: > Add a flag to tell the PCI subsystem that kernel is shutting down > in prepapration to kexec a kernel. Add code in PCI subsystem to use > this flag to clear Bus Master bit on PCI devices only in case of > kexec reboot. This fixes

Re: [PATCH] powerpc 8xx: Loading kernels over 8Mbytes without CONFIG_PIN_TLB

2013-12-07 Thread Benjamin Herrenschmidt
On Sat, 2013-12-07 at 10:39 +0100, christophe leroy wrote: > Function setup_initial_memory_limit() in mm/init_32.c defines the > limits > based on the parameters given by the bootloader. > As far as I know, the 8xx doesn't do speculative access just because > an area is loaded in a TLB Entry.

Re: [PATCH] Input: serio - fix sysfs layout

2013-12-07 Thread Thomas Hellstrom
On 12/07/2013 04:41 PM, Dmitry Torokhov wrote: Restore previous layout of sysfs attributes that was broken by commit 3778a2129bcce84f684cc0017ed20d2524afd289 (input: serio: remove bus usage of dev_attrs) which moved all serio device attributes into 'id' group, when only 'type', 'proto', 'id',

Re: [PATCH] PCI: export MSI mode using attributes, not kobjects

2013-12-07 Thread Bjorn Helgaas
On Wed, Nov 27, 2013 at 11:46 AM, Greg Kroah-Hartman wrote: > From: Greg Kroah-Hartman > > The PCI MSI sysfs code is a mess with kobjects for things that don't > really need to be kobjects. This patch creates attributes dynamically > for the MSI interrupts instead of using kobjects. > > Note,

[PATCH v7 1/2] e2fsck: Correct ext4 dates generated by old kernels.

2013-12-07 Thread David Turner
I went ahead and wrote some tests, and they seem to confirm that my patch to e2fsck works as expected (once I added crtime). However, as Andreas notes, "we want to verify .. that "debugfs -R 'stat testfile'" decodes the times correctly." Unfortunately, it does not, and it is not trivial to fix.

[PATCH v7 2/2] debugfs: Decode {a,c,cr,m}time_extra fields in stat

2013-12-07 Thread David Turner
Decodes post-2038 dates correctly on on machines with a 64-bit time_t. When decoding dates from xtime+xtime_extra fields, we assume that these dates are in the correct format (i.e. pre-1970 dates have xtime_extra low bits == 0 instead of 3). So uncorrected pre-1970 dates will be displayed as

Re: [PATCH 2/2] random: clarify bits/bytes in wakeup thresholds

2013-12-07 Thread Theodore Ts'o
On Fri, Dec 06, 2013 at 09:28:03PM -0500, Greg Price wrote: > These are a recurring cause of confusion, so rename them to > hopefully be clearer. > > Signed-off-by: Greg Price Thanks, applied with some merge fix ups to get the patch to apply. - Ted -- To

[PATCH] ipc/mqueue.c: fixed a brace coding style issue

2013-12-07 Thread Roman Kuznetsov
Fixed a coding style issue. Signed-off-by: Roman Kuznetsov --- ipc/mqueue.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 95827ce..9346238 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -1303,11 +1303,10 @@ retry: out_fput:

Re: 50 Watt idle power regression bisected to Linux-3.10

2013-12-07 Thread Mike Galbraith
On Sat, 2013-12-07 at 11:45 -0500, Len Brown wrote: > >> It fixes that, except for my Q6600 box. Too bad mwait_idle() went away, > >> beloved old box doesn't play hints game, so it continues to flog itself. > > > Thanks for pointing this out, Mike! > > A Q6600 is a Kentsfield. I dug one of

Re: [patch 7/8] mm, memcg: allow processes handling oom notifications to access reserves

2013-12-07 Thread Johannes Weiner
On Sat, Dec 07, 2013 at 10:12:19AM -0800, Tim Hockin wrote: > You more or less described the fundamental change - a score per memcg, with > a recursive OOM killer which evaluates scores between siblings at the same > level. > > It gets a bit complicated because we have need if wider scoring

Re: why does index in truncate_inode_pages_range() grows so much ?

2013-12-07 Thread Toralf Förster
On 12/04/2013 02:06 PM, Jan Kara wrote: > One idea: Can you add > WARN_ON(offset > 1000); > into mm/filemap.c:add_to_page_cache_locked() ? That should tell us > whether someone is indeed inserting pages with strange indices into page > cache or if page->index got somehow corrupted. > >

Re: [PATCH RFC] timekeeping: Fix clock stability with nohz

2013-12-07 Thread Richard Cochran
On Fri, Dec 06, 2013 at 05:43:45PM -0800, John Stultz wrote: > Anyway, let me know what you think and I'll run some tests on it this > weekend. > > thanks > -john > > > diff --git a/kernel/time/timekeeping.c b/kernel/time/timekeeping.c > index 3abf534..bfb36fd 100644 > ---

Re: [PATCH v10 1/3] aerdrv: Trace Event for AER

2013-12-07 Thread Borislav Petkov
On Fri, Dec 06, 2013 at 11:11:07PM +0800, Ethan Zhao wrote: > > @@ -63,10 +63,10 @@ TRACE_EVENT(aer_event, > > > > TP_printk("%s PCIe Bus Error: severity=%s, %s\n", > > __get_str(dev_name), > > - __entry->severity == HW_EVENT_ERR_CORRECTED ? "Corrected" : > >

Re: [patch 7/8] mm, memcg: allow processes handling oom notifications to access reserves

2013-12-07 Thread Johannes Weiner
Hello Tim! On Sat, Dec 07, 2013 at 08:38:20AM -0800, Tim Hockin wrote: > We actually started with kernel patches all h these lines - per-memcg > scores and all of our crazy policy requirements. > > It turns out that changing policies is hard. > > When David offered the opportunity to manage it

Re: [PATCH] Trace idle entry and exit times

2013-12-07 Thread Andi Kleen
> > Well that one is obvious. I mean more the subtle problems. > > Yeah, not subtle. SGI could use C2 as power supply stress tester. This is only on system where the APIC timer does not tick in deep idle. At this point these are 5+ year old systems. There were some ideas of breaking up that

[PATCH] net: wirelesse: wcn36xx: pull allocation outside of critical section

2013-12-07 Thread Michal Nazarewicz
This also simplifies flow-controll as there is now only one if condition with a single branch. --- drivers/net/wireless/ath/wcn36xx/smd.c | 28 +++- 1 file changed, 15 insertions(+), 13 deletions(-) On Thu, Dec 05 2013, Eugene Krasnikov wrote: > I think code will look

[PATCH resend 1/2] pwm: jz4740: Pass device to clk_get()

2013-12-07 Thread Lars-Peter Clausen
In preparation to switching the jz4740 clk driver to the common clk framework make sure to pass the device to clk_get(). Signed-off-by: Lars-Peter Clausen --- drivers/pwm/pwm-jz4740.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pwm/pwm-jz4740.c

[PATCH resend 2/2] pwm: jz4740: Use devm_clk_get()

2013-12-07 Thread Lars-Peter Clausen
Using the managed version of clk_get() makes the code a bit shorter and the error paths less complicated. Signed-off-by: Lars-Peter Clausen --- drivers/pwm/pwm-jz4740.c | 20 +++- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/drivers/pwm/pwm-jz4740.c

Re: [PATCH] Input: serio - fix sysfs layout

2013-12-07 Thread Greg Kroah-Hartman
On Sat, Dec 07, 2013 at 07:41:19AM -0800, Dmitry Torokhov wrote: > Restore previous layout of sysfs attributes that was broken by commit > 3778a2129bcce84f684cc0017ed20d2524afd289 (input: serio: remove bus usage of > dev_attrs) which moved all serio device attributes into 'id' group, when > only

Re: [PATCH 3.4 00/32] 3.4.73-stable review

2013-12-07 Thread Greg Kroah-Hartman
On Fri, Dec 06, 2013 at 10:45:00PM -0800, Guenter Roeck wrote: > On 12/06/2013 01:52 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.4.73 release. > > There are 32 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 3.10 00/58] 3.10.23-stable review

2013-12-07 Thread Greg Kroah-Hartman
On Fri, Dec 06, 2013 at 10:43:51PM -0800, Guenter Roeck wrote: > On 12/06/2013 01:51 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.10.23 release. > > There are 58 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [PATCH 3.12 00/83] 3.12.4-stable review

2013-12-07 Thread Greg KH
On Fri, Dec 06, 2013 at 10:52:04PM +, Holger Hoffstätte wrote: > On Fri, 06 Dec 2013 13:50:50 -0800, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.12.4 release. > > Patch applied cleanly on top of 3.12.3. Built & runs with no problems on > both a

Re: [PATCH 3.12 00/83] 3.12.4-stable review

2013-12-07 Thread Greg Kroah-Hartman
On Fri, Dec 06, 2013 at 10:44:57PM -0800, Guenter Roeck wrote: > On 12/06/2013 01:50 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 3.12.4 release. > > There are 83 patches in this series, all will be posted as a response > > to this one. If anyone has any

Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-07 Thread Jovi Zhangwei
On Sat, Dec 7, 2013 at 9:12 AM, Alexei Starovoitov wrote: > On Thu, Dec 5, 2013 at 5:20 PM, Andi Kleen wrote: >> "H. Peter Anvin" writes: >>> >>> Not to mention that in that case we might as well -- since we need a >>> compiler anyway -- generate the machine code in user space; the JIT >>>

Re: synaptics: PS/2 touchpad isn't detected if a keyboard key is held down on boot

2013-12-07 Thread Andrey Moiseev
Here is my dmesg. At boot 'H' key was held down. [0.00] Initializing cgroup subsys cpuset [0.00] Initializing cgroup subsys cpu [0.00] Initializing cgroup subsys cpuacct [0.00] Linux version 3.13.0-rc3-ARCH-dirty (o2genum@o2pc) (gcc version 4.8.2 (GCC) ) #10 SMP

Re: 50 Watt idle power regression bisected to Linux-3.10

2013-12-07 Thread Len Brown
>> It fixes that, except for my Q6600 box. Too bad mwait_idle() went away, >> beloved old box doesn't play hints game, so it continues to flog itself. Thanks for pointing this out, Mike! A Q6600 is a Kentsfield. I dug one of those up. Indeed, the only idle capabilities it has are HALT and

Re: Re: [RFC PATCH tip 0/5] tracing filters with BPF

2013-12-07 Thread Jovi Zhangwei
On Sat, Dec 7, 2013 at 7:58 AM, Masami Hiramatsu wrote: > (2013/12/06 14:19), Jovi Zhangwei wrote: >> Hi Alexei, >> >> On Thu, Dec 5, 2013 at 12:40 PM, Alexei Starovoitov >> wrote: On Tue, Dec 3, 2013 at 4:01 PM, Andi Kleen wrote: > > Can you do some performance comparison

Re: [PATCH 10/10] ARM: dts: sun7i: Add ethernet alias for GMAC

2013-12-07 Thread Chen-Yu Tsai
I will rebase onto 3.13-rc3 or 3.13 when it comes out. On Sat, Dec 7, 2013 at 6:15 PM, Maxime Ripard wrote: > Hi Chen-Yu, > > On Sat, Dec 07, 2013 at 01:29:43AM +0800, Chen-Yu Tsai wrote: >> U-Boot will insert MAC address into the device tree image. >> It looks up ethernet[0-5] aliases to find

Re: Build regressions/improvements in v3.13-rc3

2013-12-07 Thread Geert Uytterhoeven
On Sat, Dec 7, 2013 at 5:02 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v3.13-rc3[1] to v3.13-rc2[3], the summaries are: > - build errors: +3/-4 + /scratch/kisskb/src/arch/sh/mm/cache-sh4.c: error: 'cached_to_uncached' undeclared (first use in this function): => 99:17 +

xhci USB3 on h87 does behave buggy

2013-12-07 Thread Otto Meier
I just changed MB for my Home Server from GA75N to H87-ITX. Attached to this server I run 3 WINTV HVR 930C DVB-C usb receivers. with the Series Seven MB everything works as it should. with the H87 MB the USB3 Stack crashed as soon as i get more then one Stream from the DVB-C receivers. the Error

Re: synaptics: PS/2 touchpad isn't detected if a keyboard key is held down on boot

2013-12-07 Thread Dmitry Torokhov
On Sat, Dec 07, 2013 at 05:47:09PM +0400, Andrey Moiseev wrote: > I inserted a printk into ps2_handle_response(struct ps2dev *ps2dev, > unsigned char data) in "drivers/input/serio/libps2.c" and other > functions in the file. > It really eats scancodes from the keyboard, as I see (0x23 is the 'H' >

Re: 50 Watt idle power regression bisected to Linux-3.10

2013-12-07 Thread Len Brown
On Sat, Dec 7, 2013 at 3:39 AM, Mike Galbraith wrote: > On Sat, 2013-12-07 at 03:00 -0500, Len Brown wrote: > >> No, Linux-3.13-rc3 does not fix this issue, even though it contains >> the following patch, claiming to address an issue with the commit above: >> >> commit

[PATCH] Input: serio - fix sysfs layout

2013-12-07 Thread Dmitry Torokhov
Restore previous layout of sysfs attributes that was broken by commit 3778a2129bcce84f684cc0017ed20d2524afd289 (input: serio: remove bus usage of dev_attrs) which moved all serio device attributes into 'id' group, when only 'type', 'proto', 'id', and 'extra' should be in 'id' group and the rest of

Re: [PATCH V4] cpufreq: suspend governors on system suspend/hibernate

2013-12-07 Thread Paul Bolle
On Sat, 2013-12-07 at 12:01 +0100, Bjørn Mork wrote: > Sorry to be making noise here again, but I was eager to verify that the > fixes in v3.13-rc3 were OK on my system. Unfortunately it seems this > patch completely broke suspend for me. Hibernete ended up with a blank > console and no visible

Re: [3.13 PATCH 1/2] random: entropy_bytes is actually bits

2013-12-07 Thread Theodore Ts'o
On Fri, Dec 06, 2013 at 09:27:52PM -0500, Greg Price wrote: > The variable 'entropy_bytes' is set from an expression that actually > counts bits. Fortunately it's also only compared to values that also > count bits. Rename it accordingly. > > Signed-off-by: Greg Price Thanks, applied.

Re: [PATCH 9/9] random: simplify accounting code

2013-12-07 Thread Theodore Ts'o
On Fri, Dec 06, 2013 at 01:25:04PM -0500, Greg Price wrote: > > Sure, that'd be reasonable. I didn't do that mainly because I wanted > to preserve existing behavior wherever possible in these cleanups, to > make them easy to read and review. I'll make that change and apply this patch, thanks.

Re: [rtc-linux] [PATCH v3 1/2] dt-bindings: add hym8563 binding

2013-12-07 Thread Heiko Stübner
Hi Mark, Am Montag, 2. Dezember 2013, 14:41:10 schrieb Mark Brown: > On Sun, Dec 01, 2013 at 08:47:42PM +0100, Heiko Stübner wrote: > > +Required properties: > > +- compatible: should be: "haoyu,hym8563" > > +- reg: i2c address > > +- gpios: alarm interrupt gpio > > Why is this specified as a

Re: synaptics: PS/2 touchpad isn't detected if a keyboard key is held down on boot

2013-12-07 Thread Andrey Moiseev
I inserted a printk into ps2_handle_response(struct ps2dev *ps2dev, unsigned char data) in "drivers/input/serio/libps2.c" and other functions in the file. It really eats scancodes from the keyboard, as I see (0x23 is the 'H' press scancode). Seems like the scancodes are mixed with reasonable

Re: [linux-sunxi] Re: [PATCH 04/10] net: stmmac: sunxi platfrom extensions for GMAC in Allwinner A20 SoC's

2013-12-07 Thread Emilio López
El 07/12/13 09:50, Tomasz Figa escribió: On Saturday 07 of December 2013 12:46:16 Maxime Ripard wrote: On Sat, Dec 07, 2013 at 12:12:26PM +0100, Tomasz Figa wrote: On Saturday 07 of December 2013 11:27:10 Maxime Ripard wrote: Chen-Yu, Mike, On Sat, Dec 07, 2013 at 01:29:37AM +0800, Chen-Yu

Re: [PATCH v4 06/12] efi: export efi runtime memory mapping to sysfs

2013-12-07 Thread Borislav Petkov
On Sat, Dec 07, 2013 at 04:01:02AM -0500, Dave Young wrote: > Hi, all > > Update my status: > > I have finished most of thecode related changes including the krealloc > fixes (both for original code and my new code). And I'm slowly > moving the kexec related stuff to efi_kexec.c, this involves >

Re: tpm: Remainder of earlier clean up

2013-12-07 Thread Peter Hüwe
Hi Jason did push everything to https://github.com/PeterHuewe/linux-tpmdd/tree/testing-and-review against latest rc, with alls signed-offs and reviewed-bys I'll move it to for-james after giving it a final test run. Thanks, Peter -- To unsubscribe from this list: send the line

Re: [linux-sunxi] Re: [PATCH 3/3] ARM: sunxi: dts: Add ahci support to a few A10 and A20 boards

2013-12-07 Thread Michal Suchanek
On 7 December 2013 12:47, Olliver Schinagl wrote: > Hey maxime, > > On 06-12-13 19:33, Maxime Ripard wrote: >> >> Hi Oliver, >> >> On Wed, Dec 04, 2013 at 01:10:55PM +0100, oli...@schinagl.nl wrote: >>> >>> From: Oliver Schinagl >>> >>> This patch adds sunxi sata support to A10 and A20 boards

[PATCH 3/3] pinctrl: at91: implement at91_pinconf_dbg_show

2013-12-07 Thread Alexandre Belloni
This allows to get the pin configuration by using debugfs. On my system: # cat /sys/kernel/debug/pinctrl/pinctrl.3/pinconf-pins Signed-off-by: Alexandre Belloni --- drivers/pinctrl/pinctrl-at91.c | 25 + 1 file changed, 25 insertions(+) diff --git

[PATCH 1/3] pinctrl: at91: correct a few typos

2013-12-07 Thread Alexandre Belloni
Signed-off-by: Alexandre Belloni --- drivers/pinctrl/pinctrl-at91.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pinctrl/pinctrl-at91.c b/drivers/pinctrl/pinctrl-at91.c index a7549c4c83b4..6446dc804aa7 100644 --- a/drivers/pinctrl/pinctrl-at91.c +++

[PATCH 2/3] pinctrl: at91: initialize config parameter to 0

2013-12-07 Thread Alexandre Belloni
When passing a not initialized config parameter, at91_pinconf_get() would return a bogus value. Fix that by initializing it to zero before using it. Signed-off-by: Alexandre Belloni --- drivers/pinctrl/pinctrl-at91.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[PATCH -next] x86, kaslr: remove unused including

2013-12-07 Thread Wei Yongjun
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- arch/x86/boot/compressed/aslr.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/x86/boot/compressed/aslr.c b/arch/x86/boot/compressed/aslr.c index 84be175..90a21f4 100644 ---

  1   2   3   >