Re: [PATCH v2] sparc64: do not clobber personality flags in sys_sparc64_personality()

2012-08-02 Thread Jiri Kosina
On Thu, 2 Aug 2012, Sam Ravnborg wrote: > > >From 4f000eda5917ceecb03767962026cc6a390b8216 Mon Sep 17 00:00:00 2001 > > From: Jiri Kosina > > Date: Wed, 1 Aug 2012 21:10:51 +0200 > > Subject: [PATCH 4/4] sparc64: do not clobber personality flags in > > sys_sparc64_personality() > > > > There ar

Re: [PATCH 2/3] ARM: OMAP: hwmod: revise deassert sequence

2012-08-02 Thread Omar Ramirez Luna
Hi. On 2 August 2012 02:52, Paul Walmsley wrote: > On Mon, 16 Jul 2012, Omar Ramirez Luna wrote: > >> For a reset sequence to complete cleanly, a module needs its >> associated clocks to be enabled, otherwise the timeout check >> in prcm code can print a false failure (failed to hardreset) >> tha

Re: [PATCH V5 3/4] virtio-blk: Add bio-based IO path for virtio-blk

2012-08-02 Thread Michael S. Tsirkin
On Thu, Aug 02, 2012 at 02:25:55PM +0800, Asias He wrote: > diff --git a/drivers/block/virtio_blk.c b/drivers/block/virtio_blk.c > index c0bbeb4..95cfeed 100644 > --- a/drivers/block/virtio_blk.c > +++ b/drivers/block/virtio_blk.c > @@ -14,6 +14,9 @@ > > #define PART_BITS 4 > > +static bool us

[PATCH v2 0/9] faster augmented rbtree interface

2012-08-02 Thread Michel Lespinasse
These are my proposed changes for a faster augmented rbtree interface. They are implemented on top of a previous patch series that is already in Andrew's -mm tree, and I feel they are ready to join it. Patch 1 is a trivial fix for a sparse warning. Patch 2 is a small optimization I already sent a

[PATCH v2 1/9] rbtree test: fix sparse warning about 64-bit constant

2012-08-02 Thread Michel Lespinasse
Just a small fix to make sparse happy. Signed-off-by: Michel Lespinasse Reported-by: Fengguang Wu --- lib/rbtree_test.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index 19dfca9..fd09465 100644 --- a/lib/rbtree_test.c +++ b/lib

[PATCH v2 4/9] rbtree: place easiest case first in rb_erase()

2012-08-02 Thread Michel Lespinasse
In rb_erase, move the easy case (node to erase has no more than 1 child) first. I feel the code reads easier that way. Signed-off-by: Michel Lespinasse --- lib/rbtree.c | 35 ++- 1 files changed, 18 insertions(+), 17 deletions(-) diff --git a/lib/rbtree.c b/lib

[PATCH v2 9/9] rbtree: remove prior augmented rbtree implementation

2012-08-02 Thread Michel Lespinasse
convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api and remove the old augmented rbtree implementation. Signed-off-by: Michel Lespinasse --- arch/x86/mm/pat_rbtree.c | 65 + include/linux/rbtree.h |8 - lib/rbtree.c

[PATCH v2 8/9] rbtree: faster augmented rbtree manipulation

2012-08-02 Thread Michel Lespinasse
Introduce new augmented rbtree APIs that allow minimal recalculation of augmented node information. A new callback is added to the rbtree insertion and erase rebalancing functions, to be called on each tree rotations. Such rotations preserve the subtree's root augmented value, but require recalcul

[PATCH v2 7/9] rbtree: augmented rbtree test

2012-08-02 Thread Michel Lespinasse
Small test to measure the performance of augmented rbtrees. Signed-off-by: Michel Lespinasse --- lib/rbtree_test.c | 103 +++- 1 files changed, 101 insertions(+), 2 deletions(-) diff --git a/lib/rbtree_test.c b/lib/rbtree_test.c index fd09465..66

[PATCH v2 2/9] rbtree: optimize fetching of sibling node

2012-08-02 Thread Michel Lespinasse
When looking to fetch a node's sibling, we went through a sequence of: - check if node is the parent's left child - if it is, then fetch the parent's right child This can be replaced with: - fetch the parent's right child as an assumed sibling - check that node is NOT the fetched child This avoid

[PATCH v2 3/9] rbtree: add __rb_change_child() helper function

2012-08-02 Thread Michel Lespinasse
Add __rb_change_child() as an inline helper function to replace code that would otherwise be duplicated 4 times in the source. No changes to binary size or speed. Signed-off-by: Michel Lespinasse --- lib/rbtree.c | 46 +- 1 files changed, 17 inserti

[PATCH v2 6/9] rbtree: low level optimizations in rb_erase()

2012-08-02 Thread Michel Lespinasse
Various minor optimizations in rb_erase(): - Avoid multiple loading of node->__rb_parent_color when computing parent and color information (possibly not in close sequence, as there might be further branches in the algorithm) - In the 1-child subcase of case 1, copy the __rb_parent_color field f

[PATCH v2 5/9] rbtree: handle 1-child recoloring in rb_erase() instead of rb_erase_color()

2012-08-02 Thread Michel Lespinasse
An interesting observation for rb_erase() is that when a node has exactly one child, the node must be black and the child must be red. An interesting consequence is that removing such a node can be done by simply replacing it with its child and making the child black, which we can do efficiently in

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Francois Rigaut
Hi Seth, Sorry for the belated response. On Oz time here. I don't have a /var/log/kernel.log ! Let me make sure of something: This switcher code is to be run on osx, no? That's where gfxcardstatus lives and where I can effect the card switch. Just to make sure. So I'm running osx mountain lion,

Re: [PATCH v2 9/9] rbtree: remove prior augmented rbtree implementation

2012-08-02 Thread Joe Perches
On Thu, 2012-08-02 at 15:34 -0700, Michel Lespinasse wrote: > convert arch/x86/mm/pat_rbtree.c to the proposed augmented rbtree api > and remove the old augmented rbtree implementation. style trivia: > +static u64 compute_subtree_max_end(struct memtype *data) > { > - struct memtype *data; >

[ANNOUNCE] 3.2.24-rt38

2012-08-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.2.24-rt38 stable release. Note, there were some non-trivial conflicts with leap-second backports. I believe I solved them correctly (and added a change to convert read_seqbegin to read_seqcount_begin() in ktime_get_update_offsets()). This release pas

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Francois Rigaut
Seth, I have put the osx system.log, which is the only file where I can see mux and AGC related message, at http://maumae.net/retina/system.log Thanks, Francois On 03/08/12 08:40, Francois Rigaut wrote: Hi Seth, Sorry for the belated response. On Oz time here. I don't have a /var/log/kernel.

Re: linux-next: unable to fetch the moduleh tree

2012-08-02 Thread Stephen Rothwell
Hi Paul, On Thu, 2 Aug 2012 17:05:19 -0400 Paul Gortmaker wrote: > > Go ahead and remove it. If/when I've something else that I can't > push via a maintainer tree, I'll get you to add one with a more > appropriate name, and serve it from kernel.org instead. Done. Thanks. -- Cheers, Stephen

Re: [PATCH] classmate-laptop: always call input_sync() after input_report_switch()

2012-08-02 Thread Thadeu Lima de Souza Cascardo
On Thu, Aug 02, 2012 at 07:50:21PM +0200, Carlos Alberto Lopez Perez wrote: > Due to commit cdda911c34006f1089f3c87b1a1f31ab3a4722f2 evdev only > becomes readable when the buffer contains an EV_SYN/SYN_REPORT event. > > So in order to read the tablet sensor data as it happens we need to > ensure t

Re: [PATCH 2/2] pwm: samsung: fix the number of PWMs

2012-08-02 Thread Jingoo Han
On Thursday, August 02, 2012 6:54 PM Thierry Reding wrote: > > On Thu, Aug 02, 2012 at 05:56:27PM +0900, Jingoo Han wrote: > > Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be > > set as 4. > > > > Signed-off-by: Jingoo Han > > --- > > drivers/pwm/pwm-samsung.c |2 +- > > 1

Re: [PATCH] isdnloop: fix and simplify isdnloop_init()

2012-08-02 Thread David Miller
From: Fengguang Wu Date: Thu, 2 Aug 2012 19:05:43 +0800 > Fix a buffer overflow bug by removing the revision transform code. > > [ 22.016214] isdnloop-ISDN-driver Rev 1.11.6.7 > [ 22.097508] isdnloop: (loop0) virtual card added > [ 22.174400] Kernel panic - not syncing: stack-protector: K

Linux 3.2.25

2012-08-02 Thread Ben Hutchings
I'm announcing the release of the 3.2.25 kernel. All users of the 3.2 kernel series should upgrade. Like 3.0.39, this includes many fixes for mm performance problems, thanks to Mel Gorman. The updated 3.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/li

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: > > On Thu, Aug 2, 2012 at 9:46 PM, Vikram Pandita > wrote: > > From: Vikram Pandita > > > > Introduce config option to enable CPU id reporting for printk() calls. > > > > Its sometimes very useful to have printk also print the CPU Identifi

Re: [Xen-devel] Was: Re: [GIT PULL] timer changes for v3.6, Is: Regression introduced by 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1

2012-08-02 Thread Linus Torvalds
On Mon, Jul 23, 2012 at 1:24 PM, John Stultz wrote: > > Great! Thanks again so much for the testing and quick reporting! Hmm. I'm just cutting 3.6-rc1, and noticing that apparently this patch never reached me. So now -rc1 is broken on 32 bit under Xen. I'm not going to delay rc1 for this, but I

[PATCH] rtc: recycle id when unloading a rtc driver

2012-08-02 Thread Vincent Palatin
When calling rtc_device_unregister, we are not freeing the id used by the driver. So when doing a unload/load cycle for a RTC driver (e.g. rmmod rtc_cmos && modprobe rtc_cmos), its id is incremented by one. As a consequence, we no longer have neither an rtc0 driver nor a /proc/driver/rtc (as it onl

Re: [PATCH 4/9] KVM: define kvm_bad_pfn statically

2012-08-02 Thread Paul Mackerras
On Thu, Aug 02, 2012 at 10:15:27AM -0300, Marcelo Tosatti wrote: > Remind me what is the guarantee that -Exxx does not clash with > a valid pfn number? A pfn number is an address >> PAGE_SHIFT, so it will have the top 12 (at least) bits clear, whereas -Exxx will have the top bit set. Paul. -- To

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Kay Sievers
On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram wrote: > On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: >> How is that supposed to be useful? >> >> The prefix is added while exporting data from the kmsg buffer, which >> is just the CPU that *reads* the data from the buffer, not the one >> th

[PATCH 0/3] Use get_online_cpus to avoid races involving for_each_online_cpu

2012-08-02 Thread Silas Boyd-Wickizer
Hello, I've found 4 races involving for_each_online_cpu that could have ill effects. All 4 occur in code that can be compiled as modules, but which is probably usually linked statically. All 4 occur during module init and/or exit. I've written patches for 3 of the 4, and will describe the 4th r

[PATCH 1/3] Use get_online_cpus to avoid races involving for_each_online_cpu

2012-08-02 Thread Silas Boyd-Wickizer
If arch/x86/kernel/msr.c is a module, a CPU might offline or online between the for_each_online_cpu(i) loop and the call to register_hotcpu_notifier in msr_init or the call to unregister_hotcpu_notifier in msr_exit. The potential races can lead to leaks/duplicates, attempts to destroy non-existant

[PATCH 2/3] Use get_online_cpus to avoid races involving for_each_online_cpu

2012-08-02 Thread Silas Boyd-Wickizer
If arch/x86/kernel/cpuid.c is a module, a CPU might offline or online between the for_each_online_cpu() loop and the call to register_hotcpu_notifier in cpuid_init or the call to unregister_hotcpu_notifier in cpuid_exit. The potential races can lead to leaks/duplicates, attempts to destroy non-exi

[PATCH 3/3] Use get_online_cpus to avoid races involving for_each_online_cpu

2012-08-02 Thread Silas Boyd-Wickizer
via_cputemp_init in drivers/hwmon/via-cputemp.c loops with for_each_online_cpu, adding platform_devices, then calls register_hotcpu_notifier. If a CPU is offlined between the loop and register_hotcpu_notifier, then later onlined, via_cputemp_device_add will attempt to platform devices with the sam

Re: [PATCH 00/13] UAPI header file split

2012-08-02 Thread Paul E. McKenney
On Fri, Jul 20, 2012 at 10:56:37PM +0100, David Howells wrote: > > Here's the second installment of patches from step 1 of my plan below to clean > up the kernel header files and sort out the inclusion recursion problems. > > Note that these patches will need regenerating if the header files they

Re: [Xen-devel] Was: Re: [GIT PULL] timer changes for v3.6, Is: Regression introduced by 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1

2012-08-02 Thread John Stultz
On 08/02/2012 04:52 PM, Linus Torvalds wrote: On Mon, Jul 23, 2012 at 1:24 PM, John Stultz wrote: Great! Thanks again so much for the testing and quick reporting! Hmm. I'm just cutting 3.6-rc1, and noticing that apparently this patch never reached me. So now -rc1 is broken on 32 bit under Xen.

Re: [PATCH] fs: Preserve error code in get_empty_filp()

2012-08-02 Thread Anatol Pomozov
Hi Current HEAD contains conflicting changes in fs/pipe.c. I am going to rebase my patch and resend it. On Wed, Aug 1, 2012 at 11:34 AM, wrote: > From: Anatol Pomazau > > Allocating a file structure in function get_empty_filp() might fail because > of several reasons: > - not enough memory fo

[PATCH] fs: Preserve error code in get_empty_filp()

2012-08-02 Thread Anatol Pomozov
Allocating a file structure in function get_empty_filp() might fail because of several reasons: - not enough memory for file structures - operation is not allowed - user is over its limit Currently the function returns NULL in all cases and we loose the exact reason of the error. All callers of

[PATCH RESEND v6] mmc: core: Remove bounce buffer in mmc_send_cxd_data()

2012-08-02 Thread Kyungsik Lee
It is expected that Extended CSD register(the size of this register is larger than CID/CSD) will be referenced more frequently as more fields have been added to Extended CSD and it seems that it is not a good option to double the memory used. This patch is intended to avoid the use of bounce buffe

Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences

2012-08-02 Thread Alex Courbot
On Fri 03 Aug 2012 03:11:12 AM JST, Mark Brown wrote: On Thu, Aug 02, 2012 at 10:21:57AM +0200, Thierry Reding wrote: On Thu, Aug 02, 2012 at 05:00:13PM +0900, Alex Courbot wrote: The problem is, how do we turn these phandles into the resource of interest. The type of the resource can be infe

Linux 3.6-rc1

2012-08-02 Thread Linus Torvalds
Another almost-two-weeks, another merge window over and done with. Yeah, it's actually only just over 12 days since 3.5 was released, but I hate the people who send me last-minute pull requests, so I like pulling the rug out from under people who plan on doing their pull request in day 13 of the 1

Re: [PATCH] uprobes: Ignore unsupported instructions in uprobe_mmap

2012-08-02 Thread Srikar Dronamraju
* Oleg Nesterov [2012-08-02 19:53:12]: > On 08/02, Srikar Dronamraju wrote: > > > > * Oleg Nesterov [2012-08-02 16:17:57]: > > > > > Forgot to mention... > > > > > > On 08/02, Srikar Dronamraju wrote: > > > > > > > > While at it, add a missing put_uprobe() in the path where uprobe_mmap() > > > >

Re: GFS2: Pull request (merge window)

2012-08-02 Thread Linus Torvalds
[ For some reason this didn't go out, and was in my "drafts" folder. Better late than never, I guess ] On Mon, Jul 23, 2012 at 7:59 AM, Steven Whitehouse wrote: > > Please consider pulling the following patches. There have been no changes > since > they were posted for review, It would be lovel

[PATCH] ARM: Fix XIP build due to PHYS_OFFSET definition moving

2012-08-02 Thread Stephen Boyd
During the p2v changes, the PHYS_OFFSET #define moved into a !__ASSEMBLY__ section. This causes a XIP build to fail with arch/arm/kernel/head.o: In function 'stext': arch/arm/kernel/head.S:146: undefined reference to 'PHYS_OFFSET' Momentarily leave the #ifndef __ASSEMBLY__ section so we can def

Re: [RFC v2] ARM: sched_clock: update epoch_cyc on resume

2012-08-02 Thread Colin Cross
On Fri, Jul 27, 2012 at 8:30 PM, Colin Cross wrote: > On Fri, Jul 27, 2012 at 6:15 PM, Colin Cross wrote: >> That patch was merged in 3.4, and my patch is on top of it. Your >> patch updates epoch_cyc and epoch_ns in suspend, but if the first call >> to cyc_to_sched_clock after resume gets cyc =

Re: [PATCH] epoll: Improved support for multi-threaded clients

2012-08-02 Thread Paton J. Lewis
Christof, I notice that Windows (via I/O Completion Ports) and both BSD and OS/X (via kqueue) all appear to have support for both of the concepts we have been discussing: 1) the ability to disable epoll items, and 2) the ability to send custom events. This suggests that either solution may be

bootmem code - reboots after 'uncompressing linux' on old computers

2012-08-02 Thread Piotr Gluszenia Slawinski
Hello. while bisecting old pcmcia bug i've noticed kernels ~2.6.36 and up do not boot on 586 machines with small amounts of ram (16M) suprisingly 3.5 kernel booted fine. i've bisected the problem and found fix : solidstate linux # git bisect good 4e1c2b284461fd8aa8d7b295a1e911fc4390755b is the

Re: [patch 1/2]block: handle merged discard request

2012-08-02 Thread Shaohua Li
2012/6/22 Martin K. Petersen : >> "Christoph" == Christoph Hellwig writes: > >>> There are several additional commands in the pipeline where the 1:1 >>> mapping between DMA size and block range is invalid. I want to get >>> rid of the 1:1 assumption in general so we can handle any command >>>

Re: [PATCH] sctp: Make "Invalid Stream Identifier" ERROR follows SACK when bundling

2012-08-02 Thread xufeng zhang
On 08/03/2012 05:17 AM, Vlad Yasevich wrote: On 07/31/2012 02:51 AM, xufeng zhang wrote: Sorry, please ignore the above patch, there was an paste error. Please check the following patch. I'm wondering if the below solution is fine to you which is base

Re: [PATCH] printk: add option to print cpu id

2012-08-02 Thread Pandita, Vikram
Kay On Thu, Aug 2, 2012 at 5:06 PM, Kay Sievers wrote: > On Fri, Aug 3, 2012 at 1:50 AM, Pandita, Vikram wrote: >> On Thu, Aug 2, 2012 at 1:08 PM, Kay Sievers wrote: > >>> How is that supposed to be useful? >>> >>> The prefix is added while exporting data from the kmsg buffer, which >>> is just

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Chanho Min
> Does it occur with that patch applied? I'm trying to reproduce it with that patch. but, It is unlikely to be fixed. because scsi_run_queue is invoked from scsi_requeue_run_queue, not scsi_requeue_command. > If it does, the likely fix would be to take a copy of the queue ... but > I'd like to und

Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver

2012-08-02 Thread wwang
于 2012年08月01日 22:31, Arnd Bergmann 写道: > > I understand where you are coming from, but IMHO a bus driver would > make more sense if the bus was a low-level abstraction that allows you > to add new high-level drivers (memstick, smartmedia, ...) without > having to modify the low-level drivers, which

Re: [PATCH] fix NULL-pointer dereference on scsi_run_queue

2012-08-02 Thread Mike Christie
On 08/02/2012 04:34 AM, James Bottomley wrote: > On Thu, 2012-08-02 at 18:28 +0900, Chanho Min wrote: >> On Thu, Aug 2, 2012 at 5:57 PM, James Bottomley >> wrote: >>> On Thu, 2012-08-02 at 17:41 +0900, Chanho Min wrote: This patch is to fix a oops from a torn down device. When scsi_run_q

[ANNOUNCE] 3.4.7-rt15

2012-08-02 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.4.7-rt15 stable release. Like the 3.2-rt kernel this one also had issues with the backport of the leap second. Please test to make This release is an update to the new stable 3.4.7 version. Some fixes to the stable code (mentioned above) had to be d

linux-next: Tree for Aug 3

2012-08-02 Thread Stephen Rothwell
Hi all, OK, so the merge window is closed. Time to clean up your trees and then start adding new stuff to them. Changes since 20120802: Removed trees: moduleh, kmap_atomic (finished with) The arm tree lost its conflicts. The acpi tree still has its build failure for which I reverted a commit

3.6-rc1: twl4030 don't compile :(

2012-08-02 Thread werner
CC drivers/power/twl4030_charger.o drivers/power/twl4030_charger.c:248:12: error: invalid suffix "b1100" on integer constant drivers/power/twl4030_charger.c:250:12: error: invalid suffix "b1000" on integer constant drivers/power/twl4030_charger.c:252:12: error: invalid suffix "b0100" on

Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-02 Thread Len Brown
Applied. thanks for the refresh. Len Brown, Intel Open Source Technology Center -- 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

Re: [kernel-hardening] [PATCH 1/2] fs: add link restrictions

2012-08-02 Thread James Morris
On Wed, 25 Jul 2012, Kees Cook wrote: > This adds symlink and hardlink restrictions to the Linux VFS. Is Al happy with this now? > > Symlinks: > > A long-standing class of security issues is the symlink-based > time-of-check-time-of-use race, most commonly seen in world-writable > directories

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-02 Thread manoj . iyer
From: Manoj Iyer In the latest V-series bios DMI_PRODUCT_VERSION does not contain the string Lenovo or Thinkpad, but is set to the model number, this causes the thinkpad_acpi module to fail to load. Recognize laptop as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo. BIOS Informatio

[PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-02 Thread manoj . iyer
From: Manoj Iyer In the latest V-series bios DMI_PRODUCT_VERSION does not contain the string Lenovo or Thinkpad, but is set to the model number, this causes the thinkpad_acpi module to fail to load. Recognize laptop as Lenovo using DMI_BIOS_VENDOR instead, which is set to Lenovo. Signed-off-by:

Re: [PATCH] samples/seccomp: fix endianness bug in LO_ARG define

2012-08-02 Thread James Morris
On Tue, 31 Jul 2012, Kees Cook wrote: > On Tue, Jul 31, 2012 at 7:15 AM, Heiko Carstens > wrote: > > From: Heiko Carstens > > > > The LO_ARG define needs to consider endianness also for 32 bit builds. > > > > The "bpf_fancy" test case didn't work on s390 in 32 bit and compat mode > > because the

linux-next: stats

2012-08-02 Thread Stephen Rothwell
Hi all, Well here are this merge windows' stats: (No merge commits counted, next-20120722 is the first linux-next after v3.5) Commits in v3.6-rc1 (relative to v3.5): 8587 Commits in next-20120521: 9245 Commits with the same SHA1: 6711 Commits with the same patch_id:

Re: [PATCH v2] seccomp: Make syscall skipping and nr changes more consistent

2012-08-02 Thread James Morris
On Wed, 1 Aug 2012, Andy Lutomirski wrote: > This fixes two issues that could cause incompatibility between > kernel versions: > > - If a tracer uses SECCOMP_RET_TRACE to select a syscall number >higher than the largest known syscall, emulate the unknown >vsyscall by returning -ENOSYS.

Re: New TPM driver, hwrng driver and fixes (2)

2012-08-02 Thread James Morris
On Mon, 30 Jul 2012, Kent Yoder wrote: > Hi James, > > The following changes since commit 663728418e3494f8e4a82f5d1b2f23c22d11be35: Pulled to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next Thanks. -- James Morris -- To unsubscribe from this list: send the li

Re: New TPM driver, hwrng driver and fixes (2)

2012-08-02 Thread James Morris
On Fri, 3 Aug 2012, James Morris wrote: > On Mon, 30 Jul 2012, Kent Yoder wrote: > > > Hi James, > > > > The following changes since commit 663728418e3494f8e4a82f5d1b2f23c22d11be35: > > Pulled to > git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next Reverted: CC [M

Re: [PATCH V2 1/4] EFI: Stash ROMs if they're not in the PCI BAR

2012-08-02 Thread Seth Forshee
On Fri, Aug 03, 2012 at 08:54:46AM +1000, Francois Rigaut wrote: > Seth, > > I have put the osx system.log, which is the only file where I can > see mux and AGC related message, at > http://maumae.net/retina/system.log That does seem to contain the kernel log messages, but unfortunately I'm not s

[GIT PULL] ACPI & Power Management Patches for Linux-3.6-rc1

2012-08-02 Thread Len Brown
Hi Linus, Please pull these ACPI & Power Management patches. A 3.3 sleep regression fixed, numa bugfix, plus some minor cleanups. thanks! Len Brown, Intel Open Source Technology Center The following changes since commit 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee: Linux 3.6-rc1 (2012-08-02 16:3

Re: [PATCH v3 1/2] ACPI: Replace acpi_get_table_with_size() with acpi_get_table()

2012-08-02 Thread Len Brown
applied for linux-next and 3.7 thanks, Len Brown, Intel Open Source Technology Center -- 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

Re: [PATCH 2/2] pwm: samsung: fix the number of PWMs

2012-08-02 Thread Thierry Reding
On Fri, Aug 03, 2012 at 08:17:59AM +0900, Jingoo Han wrote: > On Thursday, August 02, 2012 6:54 PM Thierry Reding wrote: > > > > On Thu, Aug 02, 2012 at 05:56:27PM +0900, Jingoo Han wrote: > > > Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be > > > set as 4. > > > > > > Signed-o

[PATCH] block: Don't use static to define "void *p" in show_partition_start().

2012-08-02 Thread majianpeng
I met a odd prblem:read /proc/partitions may return zero. I wrote a file test.c: int main() { char buff[4096]; int ret; int fd; printf("pid=%d\n",getpid()); while (1) { fd = open("/proc/partitions", O_RDONLY); if (fd < 0) {

Re: [PATCH] thinkpad-acpi: recognize latest V-Series using DMI_BIOS_VENDOR

2012-08-02 Thread Manoj Iyer
Oops! This is embarrassing! my logic is flawed. Please ignore this patch, I will resend it NACK On Thu, 2 Aug 2012, manoj.i...@canonical.com wrote: From: Manoj Iyer In the latest V-series bios DMI_PRODUCT_VERSION does not contain the string Lenovo or Thinkpad, but is set to the model num

Re: MODULE_LICENSE("GPL")??

2012-08-02 Thread Chris Friesen
On 08/02/2012 06:19 AM, Mark Hounschell wrote: This particular driver does in fact build cleanly after changing the GPL to PROPRIETARY. I haven't actually purchased the product yet so am unable to load it, but can I assume that if I don't have a build issue when specifying PROPRIETARY, that

Re: 3.6-rc1: twl4030 don't compile :(

2012-08-02 Thread Chris Ball
Hi, On Fri, Aug 03 2012, werner wrote: > CC drivers/power/twl4030_charger.o > drivers/power/twl4030_charger.c:248:12: error: invalid suffix "b1100" > on integer constant drivers/power/twl4030_charger.c: #define TWL4030_BBSEL_3V0 0b0100 #define TWL4030_BBSEL_3V1 0b1000 #define T

Re: Huge performance degradation for UDP between 2.4.17 and 2.6

2012-08-02 Thread Chris Friesen
On 08/02/2012 06:27 AM, leroy christophe wrote: Hi I'm having a big issue with UDP. Using a powerpc board (MPC860). With our board running kernel 2.4.17, I'm able to send 16 voice packets (UDP, 96 bytes per packet) in 11 seconds. With the same board running either Kernel 2.6.35.14 or Kerne

[PATCH 3/4] lib: vsprintf: Optimize put_dec_trunc8

2012-08-02 Thread George Spelvin
If you're going to have a conditional branch after each 32x32->64-bit multiply, might as well shrink the code and make it a loop. This also avoids using the long multiply for small integers. (This leaves the comments in a confusing state, but that's a separate patch to make review easier.) Signe

[PATCH 4/4] lib: vsprintf: Fix broken comments

2012-08-02 Thread George Spelvin
Numbering the 8 potential digits 2 though 9 never did make a lot of sense. Signed-off-by: George Spelvin --- lib/vsprintf.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/vsprintf.c b/lib/vsprintf.c index 3ca77b8..692e61b 100644 --- a/lib/vsprintf.c +++

[PATCH 2/4] lib: vsprintf: Optimize division by 10000

2012-08-02 Thread George Spelvin
The same multiply-by-inverse technique can be used to convert division by 1 to a 32x32->64-bit multiply. Signed-off-by: George Spelvin --- lib/vsprintf.c | 60 +++- 1 file changed, 33 insertions(+), 27 deletions(-) This is something of a

[PATCH 1/4] lib: vsprintf: Optimize division by 10 for small integers.

2012-08-02 Thread George Spelvin
Shrink the reciprocal approximations used in put_dec_full4 based on the comments in put_dec_full9. Signed-off-by: George Spelvin Cc: Denys Vlasenko Cc: Michal Nazarewicz --- lib/vsprintf.c |5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) I was looking over the code and noticed th

Re: [PATCH 2/3] ARM: OMAP: hwmod: revise deassert sequence

2012-08-02 Thread Vaibhav Hiremath
On 8/3/2012 3:50 AM, Omar Ramirez Luna wrote: > Hi. > > On 2 August 2012 02:52, Paul Walmsley wrote: >> On Mon, 16 Jul 2012, Omar Ramirez Luna wrote: >> >>> For a reset sequence to complete cleanly, a module needs its >>> associated clocks to be enabled, otherwise the timeout check >>> in prcm

Re: [RFC] netconsole.txt: "nc" needs "-p" to specify the listening port

2012-08-02 Thread Cong Wang
On Fri, Aug 3, 2012 at 4:39 AM, Dirk Gouders wrote: > > From d756d2750e4cf07d3c0942dc3c491d57631d4338 Mon Sep 17 00:00:00 2001 > From: Dirk Gouders > Date: Thu, 2 Aug 2012 22:20:16 +0200 > Subject: [PATCH] netconsole.txt: revision of examples for the receiver of > kernel messages > > There are a

kernel panic when called usb_control_msg()

2012-08-02 Thread y b
Hi, kernel panic when called usb_control_msg(), like this: usb_control_msg(serial->dev, usb_sndctrlpipe(serial->dev, 0), XR_SET_REG, USB_DIR_OUT | USB_TYPE_VENDOR, value, regnum | (block << 8), NULL, 0, 5000) The kernel's version is 2.6.33_rc4, but I think it will happen in lastest statable vers

Re: 3.6-rc1: twl4030 don't compile :(

2012-08-02 Thread NeilBrown
On Fri, 03 Aug 2012 01:12:10 -0400 Chris Ball wrote: > Hi, > > On Fri, Aug 03 2012, werner wrote: > > CC drivers/power/twl4030_charger.o > > drivers/power/twl4030_charger.c:248:12: error: invalid suffix "b1100" > > on integer constant > > drivers/power/twl4030_charger.c: > #define TWL403

Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-02 Thread Srivatsa S. Bhat
On 08/03/2012 09:52 AM, Len Brown wrote: > Applied. > > thanks for the refresh. > This patch needs to be CC'ed to stable also right? Regards, Srivatsa S. Bhat -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-02 Thread Feng Tang
On Fri, 3 Aug 2012 11:26:04 +0530 "Srivatsa S. Bhat" wrote: > On 08/03/2012 09:52 AM, Len Brown wrote: > > Applied. > > > > thanks for the refresh. > > > > This patch needs to be CC'ed to stable also right? Yes, I've sent the patch directly to stable 3 days ago. thanks for the note. - Feng

[PATCH V2] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Laxman Dewangan
Device have SYS rail which is always ON. It is system power bus. LDO5 and LDO_RTC get powered through this rail internally. Add support for this rail and make the LDO5/LDO_RTC input supply to "sys". Update document accordingly. Signed-off-by: Laxman Dewangan --- Changes from v1->v2: - Remove the

Re: [PATCH v2] ACPI processor: Fix a typo error in commit 99b725084

2012-08-02 Thread Srivatsa S. Bhat
On 08/03/2012 11:33 AM, Feng Tang wrote: > On Fri, 3 Aug 2012 11:26:04 +0530 > "Srivatsa S. Bhat" wrote: > >> On 08/03/2012 09:52 AM, Len Brown wrote: >>> Applied. >>> >>> thanks for the refresh. >>> >> >> This patch needs to be CC'ed to stable also right? > > Yes, I've sent the patch directly t

Re: [RFC PATCH 2/3] ACPIHP: ACPI system device hotplug slot enumerator

2012-08-02 Thread Taku Izumi
On Sat, 28 Jul 2012 19:42:51 +0800 Jiang Liu wrote: > The first is an ACPI hotplug slot enumerator, which enumerates ACPI hotplug > slots on load and provides callbacks to manage those hotplug slots. > An ACPI hotplug slot is an abstraction of receptacles, where a group of > system devices could

Re: [PATCH] regulator: tps6586x: add support for SYS rail

2012-08-02 Thread Laxman Dewangan
On Thursday 02 August 2012 10:14 PM, Stephen Warren wrote: On 08/02/2012 05:16 AM, Laxman Dewangan wrote: I believe you need to following patch on top of this, or the sys-supply property is not used: yes, it was missed. I tested with this and it worked fine. Thanks for pointing this. BTW,

[PATCH 0/4] PCI/PM: PCI D3cold support fixes for 3.6-rc1

2012-08-02 Thread Huang Ying
[BUGFIX 1/4] PCI/PM: enable D3/D3cold by default for most devices [BUGFIX 2/4] PCI/PM: Keep parent bridge active when probing device [BUGFIX 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending [PATCH 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed Best Regards, Huang Yi

[BUGFIX 3/4] PCI/PM: Fix config reg access for D3cold and bridge suspending

2012-08-02 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci&m=134338059022620&w=2 Where lspci does not work properly if a device and the corresponding parent bridge (such as PCIe port) is suspended. This is because the device configuration space registers will be not accessible if the corr

[PATCH 4/4] PCI/PM: Add ABI document for sysfs file d3cold_allowed

2012-08-02 Thread Huang Ying
This patch adds ABI document for the following sysfs file: /sys/bus/pci/devices/.../d3cold_allowed Signed-off-by: Huang Ying Acked-by: Rafael J. Wysocki --- Documentation/ABI/testing/sysfs-bus-pci | 12 1 file changed, 12 insertions(+) --- a/Documentation/ABI/testing/sysfs-bus-

[BUGFIX 2/4] PCI/PM: Keep parent bridge active when probing device

2012-08-02 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-pci&m=134329923124234&w=2 The root cause of the bug is as follow. If a device is not bound with the corresponding driver, the device runtime PM will be disabled and the device will be put into suspended state. So that, the bridge/PCI

[BUGFIX 1/4] PCI/PM: enable D3/D3cold by default for most devices

2012-08-02 Thread Huang Ying
This patch fixes the following bug: http://marc.info/?l=linux-usb&m=134318961120825&w=2 Originally, device lower power states include D1, D2, D3. After that, D3 is further divided into D3hot and D3cold. To support both scenario safely, original D3 is mapped to D3cold. When adding D3cold suppor

Re: [RFC] netconsole.txt: "nc" needs "-p" to specify the listening port

2012-08-02 Thread Dirk Gouders
Cong Wang writes: > On Fri, Aug 3, 2012 at 4:39 AM, Dirk Gouders > wrote: >> >> From d756d2750e4cf07d3c0942dc3c491d57631d4338 Mon Sep 17 00:00:00 2001 >> From: Dirk Gouders >> Date: Thu, 2 Aug 2012 22:20:16 +0200 >> Subject: [PATCH] netconsole.txt: revision of examples for the receiver of >> k

3.6-rc1: apple-gmux don't link, that mess the wole compilation because no vmlinuz produced

2012-08-02 Thread werner
CC init/version.o LD init/built-in.o drivers/built-in.o: In function `gmux_probe': apple-gmux.c:(.devinit.text+0x6daa8): undefined reference to `apple_bl_unregister' drivers/built-in.o: In function `gmux_remove': apple-gmux.c:(.devexit.text+0x8f80): undefined reference to `apple_bl

Re: [Xen-devel] Was: Re: [GIT PULL] timer changes for v3.6, Is: Regression introduced by 1e75fa8be9fb61e1af46b5b3b176347a4c958ca1

2012-08-02 Thread Ingo Molnar
* John Stultz wrote: > On 08/02/2012 04:52 PM, Linus Torvalds wrote: > >On Mon, Jul 23, 2012 at 1:24 PM, John Stultz wrote: > >> Great! Thanks again so much for the testing and quick > >> reporting! > > Hmm. I'm just cutting 3.6-rc1, and noticing that apparently > > this patch never reached m

Re: Linux 3.6-rc1

2012-08-02 Thread Artem Bityutskiy
Hi Linus, On Thu, 2012-08-02 at 18:17 -0700, Linus Torvalds wrote: > Yeah, it's actually only just over 12 days since 3.5 was released, but > I hate the people who send me last-minute pull requests, so I like > pulling the rug out from under people who plan on doing their pull > request in day 13

[PATCH v2 1/3] pwm: samsung: add missing device pointer to struct pwm_chip

2012-08-02 Thread Jingoo Han
This patch adds missing device pointer to struct pwm_chip. If the device pointer is NULL, pwmchip_add() will return error. Signed-off-by: Jingoo Han --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/pwm/pwm-sam

[PATCH v2 2/3] pwm: samsung: set the number of PWMs as 4

2012-08-02 Thread Jingoo Han
Samsung SoC can provide 4 PWMs; thus, the number of PWMs should be set as 4. Signed-off-by: Jingoo Han --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/drivers/pwm/pwm-samsung.c b/drivers/pwm/pwm-samsung.c index e5

[PATCH v2 3/3] pwm: samsung: replace pwm_id with hwpwm memeber of pwm_device

2012-08-02 Thread Jingoo Han
This patch replaces pwm_id with hwpwm memeber of pwm_device. The pwm_id of struct s3c_chip is unncessary, since hwpwm can do same thing. Signed-off-by: Jingoo Han --- Tested on SMDKV310 board drivers/pwm/pwm-samsung.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) diff --git

Re: R.I.P. pdflush

2012-08-02 Thread Artem Bityutskiy
On Thu, 2012-08-02 at 17:27 -0400, Jeff Mahoney wrote: > On 7/25/12 11:11 AM, Artem Bityutskiy wrote: > > For example, reiserfs deadlocked quickly when I tested it using > > xfstests with resierfs quota support enabled. I spend several days > > trying to fix this, but reiserfs is quite complex and

<    1   2   3   4