Re: [PATCH] cgroup: fix dentry still in use bug when dropping css refs after umount

2012-07-07 Thread Tejun Heo
Hello, Li. On Wed, Jul 04, 2012 at 02:19:15PM +0800, Li Zefan wrote: > > I think we're horridly broken for > > root cgroup tho - and it has been broken for very long time. I think > > it's mostly hidden because most (all?) controllers short-circuit root > > cgroup. Eh, well > > > > Could y

[GIT PULL] cgroup fixes for 3.5-rc5

2012-07-07 Thread Tejun Heo
Hello, Linus. The previous cgroup pull request contained a patch to fix a race condition during cgroup hierarchy umount. Unfortunately, while the patch reduced the race window such that the test case I and Sasha were using didn't trigger it anymore, it wasn't complete - Shyju and Li could reliabl

[PATCH v2 1/1] Input: xpad - Handle all variations of Mad Catz Beat Pad

2012-07-07 Thread Yuri Khan
* Add a quirk to usbhid to ignore this device --- drivers/hid/hid-ids.h |3 +++ drivers/hid/usbhid/hid-quirks.c |2 ++ drivers/input/joystick/xpad.c |1 + 3 files changed, 6 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index d1cdd2d..43c3d75 100

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Henrique de Moraes Holschuh
On Sun, 08 Jul 2012, Jan Engelhardt wrote: > On Saturday 2012-07-07 21:27, Arnd Bergmann wrote: > >On Saturday 07 July 2012, Olof Johansson wrote: > >> > ARM introduced AArch64 as part of the ARMv8 architecture > >> > >> With the risk of bikeshedding here, but I find the name awkward. How > >> abo

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-07 Thread Chen
I haven't made any support for Cgroup yet. After I finished translating the scheduler in modular form it will support Cgroup naturally since the modular scheduler support Cgroup. Anyway it is for desktop users and I don't think I have to support Cgroup in short term. I am going to post the graph

[PATCH] nfs-util: Add cache_flush in mountd UMNT procedure.

2012-07-07 Thread Namjae Jeon
For removing storage device - user needs to safely un-mount the device and then eject. But if 'EBUSY' occurs in umount then it will create confusion for the user as it will mean some I/O is in progress - and won't allow user to safely ejecting device. 1. Without this patch: On NFS Client: $ mount

[PATCH] fat: Support fallocate on fat.

2012-07-07 Thread Namjae Jeon
Implement preallocation via the fallocate syscall on VFAT partitions. This patch is based on an earlier patch of the same name which had some issues detailed below and did not get accepted. Refer https://lkml.org/lkml/2007/12/22/130. a)The preallocated space was not persistent across remounts when

[PATCH RESEND 3/3] usb: storage: update usb devices for write cache quirk in quirk list.

2012-07-07 Thread Namjae Jeon
From: Namjae Jeon Update information of Seagate Portable HDD and WD My Passport HDD in quirk list. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Signed-off-by: Amit Sahrawat Acked-by: Alan Stern --- drivers/usb/storage/unusual_devs.h | 12 1 file changed, 12 insertio

[PATCH RESEND 2/3] usb: storage: add support for write cache quirk

2012-07-07 Thread Namjae Jeon
From: Namjae Jeon Add support for write cache quirk on usb hdd. scsi driver will be set to wce by detecting write cache quirk in quirk list when plugging usb hdd. Signed-off-by: Namjae Jeon Signed-off-by: Pankaj Kumar Signed-off-by: Amit Sahrawat Acked-by: Alan Stern --- Documentation/kerne

[PATCH RESEND 0/3] scsi: fix internal write cache issue on usb hdd.

2012-07-07 Thread Namjae Jeon
From: Namjae Jeon The numbers of USB HDDs(All USB HDD I checked) does not respond correctly to scsi mode sense command for retrieving the write cache page status. Even though write cache is enabled by default, due to scsi driver assume that cache is not enabled which in turn might lead to loss of

Linux 3.5-rc6

2012-07-07 Thread Linus Torvalds
Another week, another -rc. And happily, another week of calming down. Noticeably fewer commits in here than in -rc5, and I think we're getting closer to a final release. That said, it's also summer (our Australian co-developers may disagree, but they are in the minority), and with that I also want

Re: [PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-07 Thread JoonSoo Kim
2012/7/7 David Rientjes : > On Sat, 7 Jul 2012, Joonsoo Kim wrote: > >> __alloc_pages_direct_compact has many arguments so invoking it is very >> costly. >> And in almost invoking case, order is 0, so return immediately. >> > > If "zero cost" is "very costly", then this might make sense. > > __all

Re: [PATCH] mm: don't invoke __alloc_pages_direct_compact when order 0

2012-07-07 Thread JoonSoo Kim
>> >> >> And in almost invoking case, order is 0, so return immediately. >> > >> > You can't make sure it. >> >> Okay. >> >> >> >> >> Let's not invoke it when order 0 >> > >> > Let's not ruin git blame. >> >> Hmm... >> When I do git blame, I can't find anything related to this. > > I mean if we mer

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

2012-07-07 Thread Kay Sievers
On Sat, 2012-07-07 at 23:19 +0200, Kay Sievers wrote: > On Fri, Jul 6, 2012 at 10:30 PM, Linus Torvalds > wrote: > > Kay, this needs to be fixed. > > > > Suggested fix: just use the 'seq_printf()' interfaces, which do the > > proper buffering, and allow any size reads of various packetized data. >

Re: [PATCH 07/12] random: use the arch-specific rng in xfer_secondary_pool

2012-07-07 Thread Ben Hutchings
On Sat, 2012-07-07 at 21:41 -0400, Theodore Ts'o wrote: > On Sun, Jul 08, 2012 at 02:06:46AM +0100, Ben Hutchings wrote: > > > > Surely the number of random bytes being added is i * sizeof(long), not > > sizeof(u.hwrand)? > > > > Meh; Kees Cook has made the same observation. Basically, in the >

Re: [PATCH 02/12] random: make 'add_interrupt_randomness()' do something sane

2012-07-07 Thread Ben Hutchings
On Fri, 2012-07-06 at 18:44 -0400, Theodore Ts'o wrote: > We've been moving away from add_interrupt_randomness() for various > reasons: it's too expensive to do on every interrupt, and flooding the > CPU with interrupts could theoretically cause bogus floods of entropy > from a somewhat externally

Re: [PATCH 07/12] random: use the arch-specific rng in xfer_secondary_pool

2012-07-07 Thread Theodore Ts'o
On Sun, Jul 08, 2012 at 02:06:46AM +0100, Ben Hutchings wrote: > > Surely the number of random bytes being added is i * sizeof(long), not > sizeof(u.hwrand)? > Meh; Kees Cook has made the same observation. Basically, in the unlikely case where RDRAND fails, we'll end up mixing in stack garbage.

Re: [Question] sched/rt_mutex: re-enqueue_task on rt_mutex_setprio()

2012-07-07 Thread Steven Rostedt
On Sat, 2012-07-07 at 14:44 +0900, Namhyung Kim wrote: > Hi, > > I have a question on the code below: > > void rt_mutex_setprio(struct task_struct *p, int prio) > { > ... > if (on_rq) > enqueue_task(rq, p, oldprio < prio ? ENQUEUE_HEAD : 0); > > When enqueueing @p wit

Re: [patch -resend] Input: ff-memless - fix a couple min_t() casts

2012-07-07 Thread Dmitry Torokhov
On Wed, Jun 27, 2012 at 12:11:19PM +0300, Dan Carpenter wrote: > envelope->attack_level is a u16 type. We're trying to clamp it here > so it's between 0 and 0x7fff. Unfortunately, the cast to __s16 turns > all the values larger than 0x7fff into negative numbers and min_t() > thinks they are less

Re: [PATCH 2/2 v2] Input: synaptics - add sysfs access to firmware ID & board ID

2012-07-07 Thread Dmitry Torokhov
On Wed, Jul 04, 2012 at 03:08:48PM +0200, Henrik Rydberg wrote: > On Wed, Jul 04, 2012 at 05:07:17PM +0800, Daniel Kurtz wrote: > > Allow userspace to query firmware ID and board ID, which are read and > > cached during device initialization. > > > > This information can be read, for instance, by

Re: [GIT PULL] input: mt updates for 3.5-rc0

2012-07-07 Thread Dmitry Torokhov
On Fri, Jul 06, 2012 at 08:30:05AM +0200, Henrik Rydberg wrote: > Hi Dmitry, > > Here are the input-mt updates for 3.5-rc0. It includes the large > atmel_mxt update from Daniel, and an MT protocol addition for win8 > devices. Pulled, thanks Henrik. -- Dmitry -- To unsubscribe from this list: se

Re: [PATCH 07/12] random: use the arch-specific rng in xfer_secondary_pool

2012-07-07 Thread Ben Hutchings
On Fri, 2012-07-06 at 18:44 -0400, Theodore Ts'o wrote: > If the CPU supports a hardware random number generator, use it in > xfer_secondary_pool(), where it will significantly improve things and > where we can afford it. > > Also, remove the use of the arch-specific rng in > add_timer_randomness(

Re: input: eeti_ts.c build error

2012-07-07 Thread Dmitry Torokhov
Hi Richard, On Sat, Jul 07, 2012 at 03:48:56PM +0200, Richard Weinberger wrote: > Hi! > > While building a kernel for an ARM board the following build error came > across: > > drivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active': > drivers/input/touchscreen/eeti_ts.c:65:2: erro

Re: [PATCH] synaptics_usb: Remove TrackPoint name trailing whitespace

2012-07-07 Thread Dmitry Torokhov
On Fri, Jul 06, 2012 at 12:28:17PM -0500, Bob Ross wrote: > > The USB TrackPoint name string contains a space at the trailing end that > can cause confusion/difficulty when creating udev rules. Example: > > "Synaptics Inc. Composite TouchPad / TrackPoint (Stick) " > > This patch removes the tra

Re: [PATCH] bcb: Android bootloader control block driver

2012-07-07 Thread Boie, Andrew P
> > Other boards (don't have a specific example here, perhaps Andrew can > provide one) need to store the reboot reason on disk. For this case, I'm trying to get the alternate boot logic to work on PC compatible devices. I have a patch against SYSLINUX which reads this area and selects an alter

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

2012-07-07 Thread Kay Sievers
On Sat, Jul 7, 2012 at 12:05 AM, Jukka Ollila wrote: > And I did a little digging. According to the Debian package tracking > system[1] it would seem that the _stable_ distro carries a version > that doesn't do the dd shuffling at all and probably runs its klogd as > root, reading /proc/kmsg direc

RE: [PATCH net,1/1] hyperv: Add support for setting MAC from within guests

2012-07-07 Thread Haiyang Zhang
> -Original Message- > From: Ben Hutchings [mailto:bhutchi...@solarflare.com] > Sent: Friday, July 06, 2012 8:19 PM > To: Haiyang Zhang > Cc: da...@davemloft.net; net...@vger.kernel.org; KY Srinivasan; > o...@aepfle.de; linux-kernel@vger.kernel.org; de...@linuxdriverproject.org > Subject:

[PATCH -mm 3/3] fault-injection: mention failcmd.sh tool in document

2012-07-07 Thread Akinobu Mita
fault-injection-add-tool-to-run-command-with-failslab-or-fail_page_alloc.patch in -mm tree adds tools/testing/fault-injection/failcmd.sh to make it easier to inject slab/page allocation failures by fault injection. This adds the introduction to Documentation/fault-injection/fault-injection.txt. S

Re: [PATCH] bcb: Android bootloader control block driver

2012-07-07 Thread Colin Cross
On Sat, Jul 7, 2012 at 4:05 PM, Greg KH wrote: > On Sat, Jul 07, 2012 at 03:39:09PM -0700, Colin Cross wrote: >> On many (most?) ARM SoCs, the reboot flag is not stored on disk, or >> anywhere else userspace can access. It is stored in a power >> management controller scratch register that surviv

[PATCH -mm 2/3] notifier error injection documentation

2012-07-07 Thread Akinobu Mita
fault-injection-notifier-error-injection.patch in -mm tree adds notifier error injection. This adds Documentation/fault-injection/notifier-error-inject.txt which describes its feature and usage examples. Signed-off-by: Akinobu Mita Cc: Pavel Machek Cc: "Rafael J. Wysocki" Cc: Greg KH Cc: Benj

[PATCH -mm 1/3] notifier error injection: fix copy-and-paste error in Kconfig help

2012-07-07 Thread Akinobu Mita
powerpc-pseries-reconfig-notifier-error-injection-module.patch in -mm tree has a copy-and-paste error in Kconfig help. The module name should be pSeries-reconfig-notifier-error-inject. Signed-off-by: Akinobu Mita Cc: Benjamin Herrenschmidt Cc: Paul Mackerras --- lib/Kconfig.debug |2 +- 1

[PATCH 2/2] cgroup: fix cgroup hierarchy umount race

2012-07-07 Thread 'Tejun Heo'
>From 5db9a4d99b0157a513944e9a44d29c9cec2e91dc Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sat, 7 Jul 2012 16:08:18 -0700 48ddbe1946 "cgroup: make css->refcnt clearing on cgroup removal optional" allowed a css to linger after the associated cgroup is removed. As a css holds a reference on the

[PATCH 1/2] Revert "cgroup: superblock can't be released with active dentries"

2012-07-07 Thread 'Tejun Heo'
>From 7db5b3ca0ecdb2e8fad52a4770e4e320e61c77a6 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Sat, 7 Jul 2012 15:55:47 -0700 This reverts commit fa980ca87d15bb8a1317853f257a505990f3ffde. The commit was an attempt to fix a race condition where a cgroup hierarchy may be unmounted with positive den

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Jan Engelhardt
On Saturday 2012-07-07 21:27, Arnd Bergmann wrote: >On Saturday 07 July 2012, Olof Johansson wrote: > >> > ARM introduced AArch64 as part of the ARMv8 architecture >> >> With the risk of bikeshedding here, but I find the name awkward. How >> about just naming the arch port arm64 instead? > >I agr

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Jan Engelhardt
On Saturday 2012-07-07 05:53, Olof Johansson wrote: > >> ARM introduced AArch64 as part of the ARMv8 architecture > >With the risk of bikeshedding here, but I find the name awkward. How >about just naming the arch port arm64 instead? It's considerably more >descriptive in the context of the kernel

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Alan Cox
> 1. The AArch64 architecture is significantly different from AArch32 (the > official name of the 32-bit ARM architecture), it is not an extension. > It has a new exception model, new instruction set (even the register > names are different), new C ABI, PCS. It has a hardware compat mode but > tha

Re: [PATCH] random: only use gathered bytes from arch_get_random_long

2012-07-07 Thread Kees Cook
On Sat, Jul 07, 2012 at 02:23:16PM -0400, Theodore Ts'o wrote: > On Sat, Jul 07, 2012 at 10:11:22AM -0700, Kees Cook wrote: > > While very unlikely, it is possible for arch_get_random_long() to fail > > in the middle of the loop in xfer_secondary_pool(), which would mean > > that the loop could sto

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Catalin Marinas
On Fri, Jul 06, 2012 at 11:58:04PM +0100, Alan Cox wrote: > > arch/x86/include/asm/atomic64_32.h |1 + > > arch/x86/include/asm/atomic64_64.h |1 + > > arch/xtensa/kernel/syscall.c|2 +- > > This looks odd to say the least ? There are a fe

Re: [PATCH 2/3] swarm_cs4297: Rename AC97 registers to use sound/ac97_codec.h definitions

2012-07-07 Thread Maciej W. Rozycki
On Tue, 19 Jun 2012, Ezequiel Garcia wrote: > >> >> >> This patch removes the last usage of linux/ac97_codec.h > >> >> >> by renaming ac97 registers to use sound/ac97_codec.h definitions. > >> >> >> This will enable us to remove linux/ac97_codec.h. > >> >> >> > >> >> >> Not even compilation tested

Re: [PATCH] bcb: Android bootloader control block driver

2012-07-07 Thread Greg KH
On Sat, Jul 07, 2012 at 03:39:09PM -0700, Colin Cross wrote: > On many (most?) ARM SoCs, the reboot flag is not stored on disk, or > anywhere else userspace can access. It is stored in a power > management controller scratch register that survives resets, or a > register in an external I2C PMIC, o

Re: [PATCH] bcb: Android bootloader control block driver

2012-07-07 Thread Colin Cross
On Sun, Jul 1, 2012 at 5:10 PM, NeilBrown wrote: > On Fri, 29 Jun 2012 21:37:36 -0700 Colin Cross wrote: > >> What's the point of the existing syscall option if it doesn't work on >> all platforms, or at least all platforms that want to support it? It >> doesn't make sense to me to use REBOOT2 o

Re: [PATCH]RIFS-V3-Test For 3.4.x kernel.

2012-07-07 Thread Oleksandr Natalenko
Could you please make some chart to visually compare latencies with CFS? Also, has RIFS got cgroups support? 07.07.12 23:58, Chen написав(ла): > 1. Benchmark: > [admin@localhost ~]$ latt -c255 sleep 10 > > Parameters: min_wait=100ms, max_wait=500ms, clients=255 > Entries logged: 1020 > > Wakeup

[PATCH 3/4][update] hwmon / gpio-fan: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the gpio-fan driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- dev_get_drvdata() may be used directly instead of being wrapped in platform_get_drvda

[PATCH 2/4][update] hwmon / abituguru3: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the Abit uGuru rev. 3 driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- dev_get_drvdata() may be used directly instead of being wrapped in platform_

[PATCH] kconfig: Print errors to stderr in the Makefile

2012-07-07 Thread Michal Marek
Signed-off-by: Michal Marek --- scripts/kconfig/Makefile | 28 ++-- 1 files changed, 14 insertions(+), 14 deletions(-) diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile index 7966265..b990e4f 100644 --- a/scripts/kconfig/Makefile +++ b/scripts/kconfig/Mak

[PATCH 1/4][update] hwmon / abituguru: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Subject: hwmon / abituguru: Use struct dev_pm_ops for power management Make the Abit uGuru driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- dev_get_drvd

[PATCH][update] PM / crypto / ux500: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the ux500 crypto driver define its PM callbacks through struct dev_pm_ops objects rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- dev_get_drvdata() may be used directly instead of being wrapped in platform_get_dr

Re: "Inconsistent kallsyms data" error

2012-07-07 Thread Michal Marek
On Thu, Jul 05, 2012 at 02:18:18PM -0700, Linus Torvalds wrote: > So for some unknown reason I'm hitting this on just one particular > machine, and it's *very* annoying. > > It's annoying for three reasons: > > - it's breaking the build (duh) > > - the error is printed out to stderr, so you do

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Arnd Bergmann
On Friday 06 July 2012, Alan Cox wrote: > > arch/x86/include/asm/atomic64_32.h |1 + > > arch/x86/include/asm/atomic64_64.h |1 + > > arch/xtensa/kernel/syscall.c|2 +- > > This looks odd to say the least ? See patch 1/36. I think it makes

Re: Regression - /proc/kmsg does not (always) block for 1-byte reads

2012-07-07 Thread Kay Sievers
On Fri, Jul 6, 2012 at 10:30 PM, Linus Torvalds wrote: > Kay, this needs to be fixed. > > Suggested fix: just use the 'seq_printf()' interfaces, which do the > proper buffering, and allow any size reads of various packetized data. I'll have a look. > Of course, I'd also suggest that whoever was

Re: [PATCH 06/36] fdt: Add generic dt_memblock_reserve() function

2012-07-07 Thread Rob Herring
On 07/06/2012 04:05 PM, Catalin Marinas wrote: > This function reserves initial_boot_params total size and reserve map. > > Signed-off-by: Catalin Marinas > Cc: Grant Likely If you had run get_maintainers.pl you would have copied all the maintainers and the appropriate list (devicetree-discuss)

[PATCH 0/4] PM / hwmon: Convert platform hwmon drivers to PM handling based on struct dev_pm_ops

2012-07-07 Thread Rafael J. Wysocki
Hi all, As per http://marc.info/?l=linux-kernel&m=133996733422413&w=4 the following patches convert the platform TPM drivers to the PM handling based on struct dev_pm_ops: [1/4] abituguru: Use struct dev_pm_ops for power management. [2/4] abituguru3: Use struct dev_pm_ops for power management.

[PATCH 1/4] hwmon / abituguru: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the Abit uGuru driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- drivers/hwmon/abituguru.c | 21 + 1 file changed, 13 insertio

[PATCH 4/4] hwmon / exynos4_tmu: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the Exynos4 TMU driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- drivers/hwmon/exynos4_tmu.c | 17 ++--- 1 file changed, 10 insertion

[PATCH 2/4] hwmon / abituguru3: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the Abit uGuru rev. 3 driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- drivers/hwmon/abituguru3.c | 21 + 1 file changed, 13

[PATCH 3/4] hwmon / gpio-fan: Use struct dev_pm_ops for power management

2012-07-07 Thread Rafael J. Wysocki
From: Rafael J. Wysocki Make the gpio-fan driver define its PM callbacks through a struct dev_pm_ops object rather than by using legacy PM hooks in struct platform_driver. Signed-off-by: Rafael J. Wysocki --- drivers/hwmon/gpio-fan.c | 19 +++ 1 file changed, 11 insertions(+)

Re: [PATCH] MFD: twl-core: move device_init_wakeup to after platform_device_add.

2012-07-07 Thread Rafael J. Wysocki
On Saturday, July 07, 2012, NeilBrown wrote: > > device_init_wakeup uses the dev_name() of the device to set the > name of the wakeup_source which appears in > /sys/kernel/debug/wakeup_sources. > > For a platform device, that name is not set until platform_device_add > calls dev_set_name. > > So

RE: X9SCM-F-O clock drift +1 second into the future when ntp running?

2012-07-07 Thread Justin Piszcz
-Original Message- From: Justin Piszcz [mailto:jpis...@lucidpixels.com] Sent: Saturday, July 07, 2012 11:12 AM To: p...@lists.ntp.org; linux-kernel@vger.kernel.org Subject: X9SCM-F-O clock drift +1 second into the future when ntp running? Hello, I migrated from an X7SPA to an X9SCM-F-O a

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Kirill A. Shutemov
On Sat, Jul 07, 2012 at 11:30:58AM +0200, Mikael Pettersson wrote: > Catalin Marinas writes: > > Compilation requires a new aarch64-none-linux-gnu- > > toolchain (http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01694.html). > > Where are the corresponding binutils patches? Without those it's > imp

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Arnd Bergmann
On Saturday 07 July 2012, Olof Johansson wrote: > > ARM introduced AArch64 as part of the ARMv8 architecture > > With the risk of bikeshedding here, but I find the name awkward. How > about just naming the arch port arm64 instead? It's considerably more > descriptive in the context of the kernel.

Re: [PATCH v2 1/1] locks: prevent side-effects of locks_release_private before file_lock is initialized

2012-07-07 Thread J. Bruce Fields
On Thu, Jul 05, 2012 at 06:42:51PM -0400, J. Bruce Fields wrote: > On Tue, Jun 26, 2012 at 09:50:48PM -0400, Filipe Brandenburger wrote: > > When calling fcntl(F_SETLEASE) for a second time on the same file > > descriptor, > > do_fcntl_add_lease will allocate and initialize a new file_lock to pass

Re: [Bug 43331] Re: Bug on bootup of Linux kernel on Panasonic Toughbook S10

2012-07-07 Thread Yinghai Lu
On Sat, Jul 7, 2012 at 12:22 AM, Bill Unruh wrote: > On Fri, 6 Jul 2012, Yinghai Lu wrote: > Where would I get a new BIOS ? Has Panasonic released a bios update for this > machine that fixes this problem? looks like they do not bios update for S10 yet. http://www.panasonic.com/business/toughbook

Re: [RFC][PATCH 14/26] sched, numa: Numa balancer

2012-07-07 Thread Rik van Riel
On 03/16/2012 10:40 AM, Peter Zijlstra wrote: +/* + * Assumes symmetric NUMA -- that is, each node is of equal size. + */ +static void set_max_mem_load(unsigned long load) +{ + unsigned long old_load; + + spin_lock(&max_mem_load.lock); + old_load = max_mem_load.load; + if

Re: [PATCH] random: only use gathered bytes from arch_get_random_long

2012-07-07 Thread Theodore Ts'o
On Sat, Jul 07, 2012 at 10:11:22AM -0700, Kees Cook wrote: > While very unlikely, it is possible for arch_get_random_long() to fail > in the middle of the loop in xfer_secondary_pool(), which would mean > that the loop could stop with only part of u.hwrand populated, leading > to mix_pool_bytes() i

[PATCH] random: only use gathered bytes from arch_get_random_long

2012-07-07 Thread Kees Cook
While very unlikely, it is possible for arch_get_random_long() to fail in the middle of the loop in xfer_secondary_pool(), which would mean that the loop could stop with only part of u.hwrand populated, leading to mix_pool_bytes() injecting uninitialized or already injected bytes instead of fresh b

Re: config warnings while selecting u300_defconfig

2012-07-07 Thread devendra.aaru
On Sat, Jul 7, 2012 at 10:32 PM, devendra.aaru wrote: > Hi, > > While doing compiling for u300, i selected the u300_defconfig, > > make ARCH=arm > CROSS_COMPILE="/home/devendra/gcc-linaro-arm-linux-gnueabihf-2012.05-20120523_linux/bin/arm-linux-gnueabihf-" > u300_defconfig > > my cross toolchain

[GIT PULL] DT clk binding support for 3.6

2012-07-07 Thread Rob Herring
Mike, Please pull DT clk binding and highbank clk support for 3.6. The only real change from 3.5 pull request is returning error values rather than NULL to align with the rest of the clk framework. There's been a little discussion but otherwise has been quiet. Rob The following changes since com

config warnings while selecting u300_defconfig

2012-07-07 Thread devendra.aaru
Hi, While doing compiling for u300, i selected the u300_defconfig, make ARCH=arm CROSS_COMPILE="/home/devendra/gcc-linaro-arm-linux-gnueabihf-2012.05-20120523_linux/bin/arm-linux-gnueabihf-" u300_defconfig my cross toolchain is linux# gcc-linaro-arm-linux-gnueabihf-2012.05-20120523_linux/bin

Re: [PATCH 2/2] fat (exportfs): reconnect file handles to evicted inodes/dentries

2012-07-07 Thread OGAWA Hirofumi
"Steven J. Magnani" writes: >> You mean the unhashed inode is created by ->get_parent()? If so, the >> root cause sounds like ->get_parent() itself. If not, I'm not >> understanding the meaning of the temporary/unofficial inode here. > > Maybe "private" is a better word than "unofficial". Private

Re: [PATCH 2/2] fat (exportfs): reconnect file handles to evicted inodes/dentries

2012-07-07 Thread Steven J. Magnani
On Sat, 2012-07-07 at 15:03 +0900, OGAWA Hirofumi wrote: > "Steven J. Magnani" writes: > > > On Sat, 2012-07-07 at 06:07 +0900, OGAWA Hirofumi wrote: > >> "Steven J. Magnani" writes: > >> > >> > On Wed, 2012-07-04 at 20:07 +0900, OGAWA Hirofumi wrote: > >> >> Please don't add new lock_super(

Re: general protection fault on ttm_init()

2012-07-07 Thread Fengguang Wu
On Sat, Jul 07, 2012 at 10:08:47AM +0800, Fengguang Wu wrote: > On Fri, Jul 06, 2012 at 06:09:20PM +0100, Dave Airlie wrote: > > On Fri, Jul 6, 2012 at 5:49 PM, Dave Airlie wrote: > > > On Fri, Jul 6, 2012 at 3:48 PM, Fengguang Wu > > > wrote: > > >> ... The missed kconfig. > > >> > > >> On Fri,

Re: [PATCH 1/2] ext4: fix the comment in ext4_ext_insert_extent for ext4_ext_try_to_merge in extents.c

2012-07-07 Thread Zheng Liu
Hi Sheng-Hui, It seems that there has a patch to fix it. http://www.spinics.net/lists/linux-ext4/msg32611.html Regards, Zheng On Fri, Jul 6, 2012 at 2:26 PM, Wang Sheng-Hui wrote: > The left and right extents merge is done by > ext4_ext_try_to_merge. No specific left/right > fun calls any more.

X9SCM-F-O clock drift +1 second into the future when ntp running?

2012-07-07 Thread Justin Piszcz
Hello, I migrated from an X7SPA to an X9SCM-F-O and now gpsd/ntp no longer sync with my GPS unit: http://www.amazon.com/GlobalSat-BU-353-USB-GPS-Receiver/dp/B000PKX2KA I did some digging and it looks like the system clock on this motherboard with the latest BIOS (2.00a) runs 1 second too fast whe

Re: PROBLEM: Performance drop

2012-07-07 Thread Jason Vas Dias
Sorry, of course the commit I backed out was : 9bcb8118965ab4631a65ee0726e6518f75cda6c5. On Sat, Jul 7, 2012 at9bcb8118965ab4631a65ee0726e6518f75cda6c5. 3:40 PM, Jason Vas Dias wrote: > I can confirm that the AMD Turion X2 2.2Ghz HP Compaq 6715b > "business" x86_64 k8 dual-core laptops circa 200

Re: [PATCH 3/7] Make TestSetPageDirty and dirty page accounting in one func

2012-07-07 Thread Fengguang Wu
On Mon, Jul 02, 2012 at 08:14:02PM +0900, KAMEZAWA Hiroyuki wrote: > (2012/06/28 20:01), Sha Zhengju wrote: > > From: Sha Zhengju > > > > Commit a8e7d49a(Fix race in create_empty_buffers() vs > > __set_page_dirty_buffers()) > > extracts TestSetPageDirty from __set_page_dirty and is far away from

Re: PROBLEM: Performance drop

2012-07-07 Thread Jason Vas Dias
I can confirm that the AMD Turion X2 2.2Ghz HP Compaq 6715b "business" x86_64 k8 dual-core laptops circa 2007 DO get stuck in 800Khz mode and cannot switch out of it after booting the "stable" "v3.4.4" tagged kernel. I followed the containing post and reverted commit ff74ae50f01ee67764564815c023

[GIT] security: Minor improvements to no_new_privs documentation

2012-07-07 Thread James Morris
Please pull for 3.5. The following changes since commit 26c439d4005d94b8da28e023e285fd4a9943470e: Linus Torvalds (1): Merge tag 'ecryptfs-3.5-rc6-fixes' of git://git.kernel.org/.../tyhicks/ecryptfs are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/gi

Re: [PATCH 2/7 v6] update linux headers

2012-07-07 Thread Paul Gortmaker
On Fri, Jul 6, 2012 at 5:38 AM, Wen Congyang wrote: > Signed-off-by: Wen Congyang Minor nit, but adding text "for kvm" to the end of your subject can be useful for people who are browsing short log of commits without the context of the full patch series. Since there were questions about the wh

Re: [PATCH 2/7] memcg: remove MEMCG_NR_FILE_MAPPED

2012-07-07 Thread Fengguang Wu
On Thu, Jun 28, 2012 at 06:58:31PM +0800, Sha Zhengju wrote: > From: Sha Zhengju > > While accounting memcg page stat, it's not worth to use MEMCG_NR_FILE_MAPPED > as an extra layer of indirection because of the complexity and presumed > performance overhead. We can use MEM_CGROUP_STAT_FILE_MAPPE

Re: [PATCH 1/7] memcg: update cgroup memory document

2012-07-07 Thread Fengguang Wu
> +dirty- # of bytes that are waiting to get written back to > the disk. > +writeback- # of bytes that are actively being written back to the disk. This should be a bit more clear to the user: dirty - # of bytes of file cache that are not in sync with the disk copy writeback

Re: [Bug 43331] Re: Bug on bootup of Linux kernel on Panasonic Toughbook S10

2012-07-07 Thread Bjorn Helgaas
> because it is locked down by BIOS to chipset, readback should be 0xfed98004. > > and pci_size will return 32k for 0xfed98000. A device with a read-only BAR doesn't conform to the PCI spec. We can't determine how much space the device consumes. It's just an accident that BIOS put it at an addres

Re: [PATCHv2 3/3] watchdog: omap_wdt: add device tree support

2012-07-07 Thread Wim Van Sebroeck
Hi Tony, > Hi Wim, > > * jgq...@gmail.com [120531 20:56]: > > From: Xiao Jiang > > > > Add device table for omap_wdt to support dt. > > Care to ack this patch in the series? Yep. Acked-by: Wim Van Sebroeck Kind regards, Wim. -- To unsubscribe from this list: send the line "unsubscribe lin

[PATCH 7/8] staging/ft1000-pcmcia: fix checkpatch warnings

2012-07-07 Thread Devendra Naga
The below checkpatch warns fixed, drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:38: ERROR: that open brace { should be on the previous line drivers/staging/ft1000/ft1000-pcmcia/ft1000_proc.c:45: ERROR: that open brace { should be on the previous line drivers/staging/ft1000/ft1000-pcmcia/ft1

[PATCH 6/8] staging/ft1000: fix the foo * bar warning

2012-07-07 Thread Devendra Naga
Signed-off-by: Devendra Naga --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c index 67ad7ee..9a5ba07 100644 --- a/driver

[PATCH 5/8] staging/ft1000: fix the no brace needed warning in ft1000_read_fifo_len

2012-07-07 Thread Devendra Naga
as the if else statements enclose only one line, so braces around them are not needed. The following warning is fixed drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:100: WARNING: braces {} are not necessary for any arm of this statement Signed-off-by: Devendra Naga --- drivers/staging/ft100

[PATCH 4/8] staging/ft1000: fix sparse warning about the kernel thread handler function

2012-07-07 Thread Devendra Naga
sparse throws warning about the ft1000_poll_thread as drivers/staging/ft1000/ft1000-usb/ft1000_usb.c:40:5: warning: symbol 'ft1000_poll_thread' was not declared. Should it be static? Signed-off-by: Devendra Naga --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |2 +- 1 file changed, 1 in

[PATCH 3/8] staging/ft1000: fix sparse warning

2012-07-07 Thread Devendra Naga
sparse warns about having 0 assigned to a pointer, fix it up by using NULL. The following sparse warning is fixed drivers/staging/ft1000/ft1000-usb/ft1000_debug.c:170:52: warning: Using plain integer as NULL pointer Signed-off-by: Devendra Naga --- drivers/staging/ft1000/ft1000-usb/ft1000_deb

[PATCH 8/8] staging/ft1000: remove unnecessary assignment of ret with STATUS_SUCCESS

2012-07-07 Thread Devendra Naga
as ret is assigned to the return of ft1000_poll, we dont need to initialise ret with STATUS_SUCCESS. Signed-off-by: Devendra Naga --- drivers/staging/ft1000/ft1000-usb/ft1000_usb.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_usb

[PATCH 2/8] staging/ft1000: fix the spaces issue at the start of line

2012-07-07 Thread Devendra Naga
The following warns fixed drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:2032: ERROR: code indent should use tabs where possible drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c:2032: WARNING: please, no spaces at the start of a line Signed-off-by: Devendra Naga --- drivers/staging/ft1000/f

[PATCH 1/8] staging/ft1000: fix the no brace needed warning in ft1000_interrupt

2012-07-07 Thread Devendra Naga
as the if statement encloses only one line braces around it are not needed. The following warn fixed, WARNING: braces {} are not necessary for single statement blocks Signed-off-by: Devendra Naga --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c |5 ++--- 1 file changed, 2 insertions(+),

Re: [PATCH] coredump: fix pipe coredump when core limit is 0

2012-07-07 Thread Jovi Zhang
Hi Andrew, Is that attached patch ok to go through your -mm tree? this patch reviewed many months ago, but still not goto mainstream. :) that comments is quite mismatch with the code. Thanks. .jovi 0001-coredump-fix-wrong-comments-on-core-limits-of-pipe-c.patch Description: Binary data

[PATCH V2 7/7] MAINTAINRES: Add maintainer for samsung mfd driver

2012-07-07 Thread Sangbeom Kim
There are many samsung multifunction devices which are s2mps11, s5m8767, s5m8763 etc. This devices can support regulator, rtc, charger. I will be supporting the Samsung mfd drivers, that are currently in development and will be upstreamed shortly. Signed-off-by: Sangbeom Kim --- MAINTAINERS |

[PATCH V2 6/7] mfd: s2mps11: Add samsung s2mps11 pmic

2012-07-07 Thread Sangbeom Kim
This patch support Samsung s2mps11 mfd driver. S2MPS11 can support 10 Bucks and 38 LDOs and RTC. By this patch, s2m and s5m mfd series can be supported. Especially, S2MPS11 is designed for high performance Samsung application processor. Signed-off-by: Sangbeom Kim --- drivers/mfd/Kconfig

[PATCH V2 5/7] regualtor: s2mps11: Add samsung s2mps11 regulator driver

2012-07-07 Thread Sangbeom Kim
This patch add Samsung S2MPS11 regulator driver. The S2MPS11 can support 10 Bucks and 38 LDOs and RTC. Especially, S2MPS11 is designed for high performance Samsung application processor. Signed-off-by: Sangbeom Kim --- drivers/regulator/Kconfig |8 + drivers/regulator/Makefile

Re: [PATCH 00/36] AArch64 Linux kernel port

2012-07-07 Thread Mikael Pettersson
Catalin Marinas writes: > Compilation requires a new aarch64-none-linux-gnu- > toolchain (http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01694.html). Where are the corresponding binutils patches? Without those it's impossible for people outside ARM to build the toolchain and kernel. /Mikael -- T

[PATCH V2 4/7] mfd: samsung: Modify samsung mfd header

2012-07-07 Thread Sangbeom Kim
As Prefix of Samsung pmic changed from s5m to s2m, To make common mfd driver for s2m and s5m series, This patch rename header of Samsung mfd and modify mfd driver. Signed-off-by: Sangbeom Kim --- drivers/mfd/sec-core.c |6 +- drivers/mfd/sec-irq.c|5 +- driv

[PATCH V2 3/7] regulator: s5m8767: Modify function and variable name

2012-07-07 Thread Sangbeom Kim
As function and variable name of Samsung mfd driver is changed, This patch modify s5m8767 regulator driver. Signed-off-by: Sangbeom Kim --- drivers/regulator/s5m8767.c | 74 +- 1 files changed, 37 insertions(+), 37 deletions(-) diff --git a/drivers/regu

[PATCH V2 2/7] mfd: samsung: Modify samsung mfd driver for common api

2012-07-07 Thread Sangbeom Kim
Previous naming rule of samsung pmic start with s5m prefix. But It is changed by s2m. To cover various samsung s2m and s5m series, This patch modify function and variable name for common usage. Signed-off-by: Sangbeom Kim --- drivers/mfd/sec-core.c | 126 +++--- dr

[PATCH V2 0/7] Initial release of Samsung S2MPS11 pmic driver

2012-07-07 Thread Sangbeom Kim
The S2MPS11 is comprised of high efficient Buck converters, various LDOs, and an RTC and tightly coupled with Multi Core Samsung Application Processors, which is used in a wide variety of mobile applications such as smart phones and tablet PCs. S2MPS11 provide 10 high efficiency buck converters an

[PATCH V7 4/4] MIPS: Add defconfig for Loongson1B

2012-07-07 Thread Kelvin Cheung
This patch adds defconfig for Loongson1B. Signed-off-by: Kelvin Cheung --- V7(updated): Add CONFIG_USB_ANNOUNCE_NEW_DEVICES in default configuration. --- arch/mips/configs/ls1b_defconfig | 109 ++ 1 files changed, 109 insertions(+), 0 deletio

  1   2   >