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

2012-07-31 Thread Mitch Bradley
On 8/1/2012 9:47 AM, Alex Courbot wrote: > On 07/31/2012 09:55 PM, Mitch Bradley wrote: >> On 7/31/2012 8:38 PM, Thierry Reding wrote: >>> On Tue, Jul 31, 2012 at 08:22:17PM +0800, Mitch Bradley wrote: On 7/31/2012 6:56 PM, Thierry Reding wrote: > On Tue, Jul 31, 2012 at 07:32:20PM +0900,

Re: [RFC v2 1/2] PCI-Express Non-Transparent Bridge Support

2012-07-31 Thread Jiang, Dave
On Jul 31, 2012, at 7:10 PM, "Jianbin Kang" wrote: >> Actually this is what I'm working on now, using async_tx to replace the >> memcpy. I believe the changes shouldn't be that significant. >> >> Is the "hardware that can setup dma" you refer to something that does >> not use this interface? >

[PATCH 1/2] Moved core dump functionality into its own file

2012-07-31 Thread Alex Kelly
This was done in preparation for making core dump functionality optional. The variable "suid_dumpable" and associated functions are left in fs/exec.c because they're used elsewhere, such as in ptrace. Signed-off-by: Alex Kelly Reviewed-by: Josh Triplett --- fs/Makefile | 2 +- fs/c

[PATCH 2/2] Made core dump functionality optional

2012-07-31 Thread Alex Kelly
From: Alex Adds an expert Kconfig option, CONFIG_COREDUMP, which allows disabling of core dump. This saves approximately 2.6k in the compiled kernel, and complements CONFIG_ELF_CORE, which now depends on it. CONFIG_COREDUMP also disables coredump-related sysctls, except for suid_dumpable and

Re: [ 28/73] ARM: OMAP2+: OPP: Fix to ensure check of right oppdef after bad one

2012-07-31 Thread Ben Hutchings
On Tue, 2012-07-31 at 22:56 -0300, Herton Ronaldo Krzesinski wrote: > On Tue, Jul 31, 2012 at 05:43:38AM +0100, Ben Hutchings wrote: > > 3.2-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Nishanth Menon > > > > commit b110547e586

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-07-31 Thread jencce zhou
2012/7/27 Wen Congyang : > We don't call __add_pages() directly in the function add_memory() > because some other architecture related things need to be done > before or after calling __add_pages(). So we should introduce > a new function arch_remove_memory() to revert the things > done in arch_add

Re: [PATCH -alternative] mm: hugetlbfs: Close race during teardown of hugetlbfs shared page tables V2 (resend)

2012-07-31 Thread Larry Woodman
On 07/31/2012 04:06 PM, Michal Hocko wrote: On Tue 31-07-12 13:49:21, Larry Woodman wrote: On 07/31/2012 08:46 AM, Mel Gorman wrote: Fundamentally I think the problem is that we are not correctly detecting that page table sharing took place during huge_pte_alloc(). This patch is longer and make

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

2012-07-31 Thread Alex Courbot
On 07/31/2012 07:19 PM, Thierry Reding wrote: * PGP Signed by an unknown key On Tue, Jul 31, 2012 at 06:51:03PM +0900, Alex Courbot wrote: On 07/30/2012 08:33 PM, Thierry Reding wrote: +You will need an instance of power_seq_resources to keep track of the resources +that are already allocated.

[PATCH] Fix firmware installation for images w/o subdirs

2012-07-31 Thread Shea Levy
On some setups (probably due to too new a GNU Make), firmware installation fails with *** No rule to make target `lib/firmware/./', needed by `lib/firmware/.fw'. Stop. when a file in the top-level firmware/ directory is needed. Original patch idea by Denys Dmytriyenko, see http://permalink.gm

[PATCH] Fix firmware installation for images w/o subdirs

2012-07-31 Thread shea
On some setups (probably due to too new a GNU Make), firmware installation fails with *** No rule to make target `lib/firmware/./', needed by `lib/firmware/.fw'. Stop. when a file in the top-level firmware/ directory is needed. Original patch idea by Denys Dmytriyenko, see http://permalink.gma

Re: [PATCH] Fix firmware installation for images w/o subdirs

2012-07-31 Thread shea
On 31.07.2012 22:59, s...@shealevy.com wrote: On some setups (probably due to too new a GNU Make), firmware installation fails with *** No rule to make target `lib/firmware/./', needed by `lib/firmware/.fw'. Stop. when a file in the top-level firmware/ directory is needed. Original patch idea b

Re: [PATCH] Documentation/kvm : Add documentation on Hypercalls

2012-07-31 Thread Marcelo Tosatti
On Tue, Jul 24, 2012 at 02:23:59PM +0530, Raghavendra K T wrote: > From: Raghavendra K T > > Thanks Alex for KVM_HC_FEATURES inputs and Jan for VAPIC_POLL_IRQ, > and Peter (HPA) for suggesting hypercall ABI addition. > > Signed-off-by: Raghavendra K T > --- > Please have a closer look at Hyperc

Re: RAID extremely slow

2012-07-31 Thread Bill Davidsen
Kevin Ross wrote: On 07/27/2012 09:45 PM, Grant Coady wrote: On Fri, 27 Jul 2012 14:45:18 -0700, you wrote: On 07/27/2012 12:08 PM, Bill Davidsen wrote: Have you set the io scheduler to deadline on all members of the array? That's kind of "job one" on older kernels. I have not, thanks for t

Re: [RFC PATCH] KVM: Only print vcpu_unimpl when DEBUG is set

2012-07-31 Thread Marcelo Tosatti
On Thu, Jul 26, 2012 at 02:22:48PM +0200, Markus Trippelsdorf wrote: > Every time I start qemu-kvm on my system the following line is added to > the syslog: > > vcpu0 unhandled rdmsr: 0xc0010001 > > AFAICS all calls to vcpu_unimpl only contain debugging info with little > or no value for the end

[GIT PULL] irqdomain changes for v3.6

2012-07-31 Thread Grant Likely
Hi Linus, Here are the irqdomain changes I've got queued up. I held off sending this pull request due to a late discovered bug and I wanted to give it some extra time in linux-next. All should be good now. Please pull. g. The following changes since commit bdc0077af574800d24318b6945cf2344e8dbb05

[GIT PULL] OLPC platform updates for 3.6

2012-07-31 Thread Andres Salomon
Hi Linus, These move the OLPC Embedded Controller driver out of arch/x86/platform and into drivers/platform/olpc. OLPC machines are now ARM-based (which means lots of x86 and ARM changes), but are typically pretty self-contained.. so it makes more sense to go through a separate OLPC tree after ge

Re: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Sachin Kamat
On 1 August 2012 04:51, Jingoo Han wrote: > On Wednesday, August 01, 2012 1:39 AM Damien Cassou wrote: >> >> From: Damien Cassou >> >> The various devm_ functions allocate memory that is released when a driver >> detaches. This patch uses these functions for data that is allocated in >> the prob

Re: [PATCHv8 00/13] perf: Add backtrace post dwarf unwind

2012-07-31 Thread Stephane Eranian
On Fri, Jul 27, 2012 at 2:23 PM, Jiri Olsa wrote: > hi, > patches available also as tarball in here: > http://people.redhat.com/~jolsa/perf_post_unwind_v8.tar.bz2 > > v8 changes: >- patch 2 - added dump registers ABI specification as suggested >by Stephane >- v7 patches 9,1

[PATCH v2] powerpc/crypto: fix defconfig break

2012-07-31 Thread Seth Jennings
As part of the Kconfig rework for drivers/crypto/nx, the meaning of CONFIG_CRYPTO_DEV_NX was changed. At the same time this commit was heading upstream fd297b3a7302ab866306f53c1fd1e97b083fe83e powerpc: Enable pseries hardware RNG and crypto module still used the old meaning, set CONFIG_CRYPTO_DE

Re: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Jingoo Han
On Wednesday, August 01, 2012 1:00 PMSachin Kamat wrote: > > On 1 August 2012 04:51, Jingoo Han wrote: > > On Wednesday, August 01, 2012 1:39 AM Damien Cassou wrote: > >> > >> From: Damien Cassou > >> > >> The various devm_ functions allocate memory that is released when a driver > >> detaches.

Re: [PATCH v2] powerpc/crypto: fix defconfig break

2012-07-31 Thread Michael Neuling
Seth Jennings wrote: > As part of the Kconfig rework for drivers/crypto/nx, the meaning of > CONFIG_CRYPTO_DEV_NX was changed. At the same time this commit was > heading upstream > > fd297b3a7302ab866306f53c1fd1e97b083fe83e > powerpc: Enable pseries hardware RNG and crypto module > > still use

Re: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Sachin Kamat
On 1 August 2012 10:00, Jingoo Han wrote: > On Wednesday, August 01, 2012 1:00 PMSachin Kamat wrote: >> >> On 1 August 2012 04:51, Jingoo Han wrote: >> > On Wednesday, August 01, 2012 1:39 AM Damien Cassou wrote: >> >> >> >> From: Damien Cassou >> >> >> >> The various devm_ functions allocate me

[PATCH 0/5] Android: Small documentation changes and a bug fix

2012-07-31 Thread Cruz Julian Bishop
Hi, This set of patches completes more documentation in android/logger.c, as well as fixing a bug there and a comment formatting issue in android/ashmem.c. Sorry if kernel-doc was not supposed to be applied to driver files - If it isn't, I'll be sure to remember that for next time. :) Cruz Jul

[PATCH 1/5] Fix comment/license formatting in android/ashmem.c

2012-07-31 Thread Cruz Julian Bishop
Signed-off-by: Cruz Julian Bishop --- drivers/staging/android/ashmem.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/staging/android/ashmem.c b/drivers/staging/android/ashmem.c index 69cf2db..94a740d 100644 --- a/drivers/staging/a

[PATCH 3/5] Finish documentation of two structs in android/logger.c

2012-07-31 Thread Cruz Julian Bishop
Signed-off-by: Cruz Julian Bishop --- drivers/staging/android/logger.c | 40 +- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/drivers/staging/android/logger.c b/drivers/staging/android/logger.c index f7b8237..1d5ed47 100644 --- a/drivers/sta

[PATCH 5/5] Fixes a potential bug in android/logger.c

2012-07-31 Thread Cruz Julian Bishop
Previously, when calling is_between(a, b, c), the calculation was wrong. It counted C as between A and B if C was equal to B, but not A. Example of this are: is_between(1, 10, 10) = 1 (Expected: 0) is_between(1, 10, 1) = 0 (Expected: 0) is_between(20, 10, 10) = 1 (Expected: 0) And so on and so f

[PATCH 2/5] Complete documentation of logger_entry in android/logger.h

2012-07-31 Thread Cruz Julian Bishop
Previously, there were simply comments after each part - Now, it is completed properly according to "Kernel doc" Sorry in advance if I made any mistakes. Signed-off-by: Cruz Julian Bishop --- drivers/staging/android/logger.h | 24 +--- 1 file changed, 17 insertions(+), 7 d

[PATCH 4/5] Redocument some functions in android/logger.c

2012-07-31 Thread Cruz Julian Bishop
I will document the rest later if they remain unchanged Normally, I would do them all at once, but I don't have the chance to do them all at the moment Signed-off-by: Cruz Julian Bishop --- drivers/staging/android/logger.c | 90 +- 1 file changed, 60 insert

RE: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Jingoo Han
On Wednesday, August 01, 2012 1:38 PM Sachin Kamat wrote: > > On 1 August 2012 10:00, Jingoo Han wrote: > > On Wednesday, August 01, 2012 1:00 PMSachin Kamat wrote: > >> > >> On 1 August 2012 04:51, Jingoo Han wrote: > >> > On Wednesday, August 01, 2012 1:39 AM Damien Cassou wrote: > >> >> > >>

Re: [GIT PULL] PWM subsystem for v3.6

2012-07-31 Thread Thierry Reding
On Tue, Jul 31, 2012 at 06:08:01PM -0700, Linus Torvalds wrote: > On Tue, Jul 31, 2012 at 1:19 AM, Thierry Reding > wrote: > > > > I just sent a new pull request with a signed tag. I've also included a > > more detailed description of why this is useful, along the lines of what > > Arnd already me

RE: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Jingoo Han
On Wednesday, August 01, 2012 1:00 PM Sachin Kamat wrote: > > On 1 August 2012 04:51, Jingoo Han wrote: > > On Wednesday, August 01, 2012 1:39 AM Damien Cassou wrote: > >> > >> From: Damien Cassou > >> > >> The various devm_ functions allocate memory that is released when a driver > >> detaches.

RE: [PATCH 5/5] drivers/video/exynos/exynos_dp_core.c: use devm_ functions

2012-07-31 Thread Julia Lawall
On Wed, 1 Aug 2012, Jingoo Han wrote: On Wednesday, August 01, 2012 1:38 PM Sachin Kamat wrote: On 1 August 2012 10:00, Jingoo Han wrote: On Wednesday, August 01, 2012 1:00 PMSachin Kamat wrote: On 1 August 2012 04:51, Jingoo Han wrote: On Wednesday, August 01, 2012 1:39 AM Damien Cassou

Re: [RESEND PATCH 4/4 v3] mm: fix possible incorrect return value of move_pages() syscall

2012-07-31 Thread Michael Kerrisk
On Mon, Jul 30, 2012 at 9:29 PM, Christoph Lameter wrote: > On Sat, 28 Jul 2012, JoonSoo Kim wrote: > >> 2012/7/28 Christoph Lameter : >> > On Sat, 28 Jul 2012, Joonsoo Kim wrote: >> > >> >> move_pages() syscall may return success in case that >> >> do_move_page_to_node_array return positive value

Re: [PATCH 0/5] Android: Small documentation changes and a bug fix

2012-07-31 Thread Cruz Julian Bishop
Sorry, I didn't realize that text would look so ugly in LKML. I'll be sure to keep the lines nice and short next time. ~Cruz -- 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

Re: [PATCH] cpuidle: coupled: fix sleeping while atomic in cpu notifier

2012-07-31 Thread Srivatsa S. Bhat
On 07/31/2012 11:57 PM, Colin Cross wrote: > On Tue, Jul 31, 2012 at 8:43 AM, Srivatsa S. Bhat > wrote: >> On 07/26/2012 02:50 AM, Colin Cross wrote: >>> The cpu hotplug notifier gets called in both atomic and non-atomic >>> contexts, it is not always safe to lock a mutex. Filter out all events >

Re: [RFC PATCH v5 12/19] memory-hotplug: introduce new function arch_remove_memory()

2012-07-31 Thread Wen Congyang
At 08/01/2012 10:44 AM, jencce zhou Wrote: > 2012/7/27 Wen Congyang : >> We don't call __add_pages() directly in the function add_memory() >> because some other architecture related things need to be done >> before or after calling __add_pages(). So we should introduce >> a new function arch_remove

Re: [RFC PATCH v5 16/19] memory-hotplug: free memmap of sparse-vmemmap

2012-07-31 Thread Wen Congyang
At 07/31/2012 08:22 PM, Gerald Schaefer Wrote: > On Fri, 27 Jul 2012 18:34:38 +0800 > Wen Congyang wrote: > >> From: Yasuaki Ishimatsu >> >> All pages of virtual mapping in removed memory cannot be freed, since >> some pages used as PGD/PUD includes not only removed memory but also >> other memo

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

2012-07-31 Thread wwang
于 2012年07月31日 19:23, Arnd Bergmann 写道: > > You posted the sdmmc host driver and the pci card reader driver. > I assume that the USB card reader and the memstick host > will also get posted at some point. Do you have a timeframe > for those? I will submit my memstick host driver around two months l

[PATCH v2] rtc: tps65910: Add RTC driver for TPS65910 PMIC RTC

2012-07-31 Thread Venu Byravarasu
TPS65910 PMIC is a MFD with RTC as one of the device. Adding RTC driver for supporting RTC device present inside TPS65910 PMIC. Only support for RTC alarm is implemented as part of this patch. Signed-off-by: Venu Byravarasu --- delta from patch v1: 1. Added const qualifier to rtc_class_ops 2. R

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

2012-07-31 Thread Feng Tang
This is a preparation for removing the acpi_get_table_with_size(), as this function could be well covered by acpi_get_table(), and there is no need to have both of them to exist. v2: As reminded by Yinghai, apply the replacment to drivers/iommu/amd_iommu_init.c which is a new user of the acpi_get

Re: Update VIP to videobuf2 and control framework

2012-07-31 Thread Hans Verkuil
On Tue July 31 2012 22:17:06 Federico Vaga wrote: > As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the > videobuf2. This patch series is an RFC. Thank you very much for working on this! Much appreciated! > The first patch is just an update to the adv7180 because the VIP

Re: [PATCH] ext4: add error handling when discard cmd is fail in FITRIM

2012-07-31 Thread Ashish Sangwan
>> How about instead of propagating the error to user and breaking out of >> the discard, just print a warning message like: >> ext4_warning(sb, "error %d while trimming group block from %d to >> %d\n",ret, start, next); > > That's what I said. I think that those errors should be logged, but > I am

Re: boot panic regression introduced in 3.5-rc7

2012-07-31 Thread Thomas Gleixner
On Mon, 30 Jul 2012, John Stultz wrote: > On 07/29/2012 08:51 PM, CAI Qian wrote: > Now, one of the reasons Thomas and I changed the logic was that using the > precalculated realtime_offset was slightly more efficient then re-adding xtime > and wall_to_monotonic's components separately. But how val

Re: About dma_sync_single_for_{cpu,device}

2012-07-31 Thread Karl Beldan
On 7/31/12, Russell King - ARM Linux wrote: > On Tue, Jul 31, 2012 at 09:31:13PM +0200, Karl Beldan wrote: >> On 7/31/12, Russell King - ARM Linux wrote: >> > On Tue, Jul 31, 2012 at 08:45:57AM +0200, Karl Beldan wrote: >> >> I was expecting the following to work: >> >> addr = dma_map_single(de

Re: [PATCH 1/2] [RFC] time: Fix problem with large timespecs & ktime_get_update_offsets

2012-07-31 Thread Thomas Gleixner
On Tue, 31 Jul 2012, John Stultz wrote: > There's currently a slight difference in ktime_get_update_offsets() > vs ktime_get() which can result in boot time crashes when booting > with insane CMOS clock values larger then ~2264. > > ktime_get() does basically the following: > return timesp

RE: [PATCH] pwm_backlight: Add device tree support for Low Threshold Brightness

2012-07-31 Thread Philip, Avinash
On Mon, Jul 30, 2012 at 12:28:05, Thierry Reding wrote: > On Wed, Jul 25, 2012 at 05:54:02PM +0530, Philip, Avinash wrote: > > Low Threshold Brightness should be configured to have a linear relation > > in brightness scale. This patch adds device tree support for low > > threshold brightness as opt

Re: [PATCH v2] platform: Add support for automatic device IDs

2012-07-31 Thread Jean Delvare
On Tue, 31 Jul 2012 16:50:59 -0700, Greg KH wrote: > On Fri, Jul 27, 2012 at 10:14:59PM +0200, Jean Delvare wrote: > > Right now we have support for explicit platform device IDs, as well as > > ID-less platform devices when a given device type can only have one > > instance. However there are cases

<    2   3   4   5   6   7