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

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

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

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 > >>

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

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: > >> >> > >>

[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

[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

[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

[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 ---

[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 ---

[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

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

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

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.

[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

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

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

[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

[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

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

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

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

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

[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

[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

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

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

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

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

[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

[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 +-

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?

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: [PATCH 1/2] ACPI: replace all acpi_get_table_with_size with acpi_get_table

2012-07-31 Thread Feng Tang
On Tue, 31 Jul 2012 13:56:58 -0700 Yinghai Lu wrote: > On Mon, Jul 30, 2012 at 8:20 PM, Len Brown wrote: > > Applied. > > > > thanks, > > Len Brown, Intel Open Source Technology Center > > > > ps. next time, please send to linux-a...@vger.kernel.org list > > also, put comments not for the

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

2012-07-31 Thread Jianbin Kang
> 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? > Yes, they use this interface, but split 'memcpy_toio' to

[PATCH 1/8] USB:support the new interfaces of Huawei Data Card devices in option driver

2012-07-31 Thread Fangxiaozhi (Franko)
From: fangxiaozhi 1. This patch is based on the kernel of 3.5 2. In this patch, we add new micro for matching the series USB devices with vendor ID and interface information. 3. In this patch, we add new declarations into option.c to support the new interfaces of Huawei Data Card devices. And

Build failure when installing atm ambassador firmware

2012-07-31 Thread Shea Levy
Hello, When building with MODLIB=/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/modules/3.5.0 and INSTALL_FW_PATH="/nix/store/ghx6s9hnk9irim7c7f63zrxqiv6xjh3w-linux-3.5/lib/firmware", building Linux 3.5 with CONFIG_ATM_AMBASSADOR=m fails with: "make[2]: *** No rule to make

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

2012-07-31 Thread Herton Ronaldo Krzesinski
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 b110547e586eb5825bc1d04aa9147bff83b57672 upstream. This change is uneeded in 3.2, but doesn't

Re: [PATCH v4 00/17] vfs: add the ability to retry on ESTALE to several syscalls

2012-07-31 Thread Namjae Jeon
2012/7/27, Jeff Layton : > On Fri, 27 Jul 2012 11:15:23 +0900 > Namjae Jeon wrote: > >> Hi Jeff. >> >> Which testcase(or test method) do I use to know improved point from >> ESTALE error ? >> I want to know before & after using testcase with this patch-set. >> > > It's a bit labor intensive, I'm

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

2012-07-31 Thread Alex Courbot
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, Alex Courbot wrote: On 07/31/2012 07:45 AM, Stephen

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

2012-07-31 Thread Alex Courbot
On 07/31/2012 09:22 PM, Mitch Bradley wrote: On 7/31/2012 6:56 PM, Thierry Reding wrote: On Tue, Jul 31, 2012 at 07:32:20PM +0900, Alex Courbot wrote: On 07/31/2012 07:45 AM, Stephen Warren wrote: I wonder if using the same structure/array as input and output would simplify the API; the

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

2012-07-31 Thread Wen Congyang
At 07/31/2012 08:40 PM, Gerald Schaefer Wrote: > On Mon, 30 Jul 2012 18:35:37 +0800 > Wen Congyang wrote: > >> At 07/30/2012 06:23 PM, Heiko Carstens Wrote: >>> On Fri, Jul 27, 2012 at 06:32:15PM +0800, Wen Congyang wrote: We don't call __add_pages() directly in the function add_memory()

Re: [PATCH v3 07/10] mm: use mm->exe_file instead of first VM_EXECUTABLE vma->vm_file

2012-07-31 Thread James Morris
On Tue, 31 Jul 2012, Konstantin Khlebnikov wrote: > Some security modules and oprofile still uses VM_EXECUTABLE for retrieving > task's executable file, after this patch they will use mm->exe_file directly. > mm->exe_file protected with mm->mmap_sem, so locking stays the same. > Acked-by: James

Re: Complaint - pid-owner Support Removed (CONFIG_NETFILTER_XT_MATCH_OWNER)

2012-07-31 Thread valdis . kletnieks
On Tue, 31 Jul 2012 12:41:21 +1000, NeilBrown said: > On Mon, 30 Jul 2012 21:22:10 +0200 "C. Schmid" > wrote: > > i want to complain about the removal of the --pid-owner Support for > > iptables. > > As far as i understand it this support was just removed without replacement. > > Yes, 7 years

[PATCH] regulator: wm8400: Simplify set REGULATOR_MODE_IDLE mode in wm8400_dcdc_set_mode

2012-07-31 Thread Axel Lin
To set REGULATOR_MODE_IDLE mode, what we do is to clear DC1_ACTIVE and DC1_SLEEP bits, this can be done in one wm8400_set_bits() call. Signed-off-by: Axel Lin --- drivers/regulator/wm8400-regulator.c |7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git

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

2012-07-31 Thread Linus Torvalds
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 mentioned. > > My key was signed by Sebastian Andrzej Siewior today and I

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

2012-07-31 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

Re: How to use the generic thermal sysfs.

2012-07-31 Thread Zhang Rui
On 五, 2012-07-27 at 18:48 +0800, Wei Ni wrote: > On Fri, 2012-07-27 at 15:39 +0800, Zhang Rui wrote: > > On 五, 2012-07-27 at 09:30 +0200, Jean Delvare wrote: > > > On Fri, 27 Jul 2012 10:58:21 +0800, Wei Ni wrote: > > > > On Fri, 2012-07-27 at 09:21 +0800, Zhang Rui wrote: > > > > > is it possible

Re: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes, cleanups and a new CMCI poll version

2012-07-31 Thread Chen Gong
On Thu, Jul 19, 2012 at 01:59:36PM -0400, Chen Gong wrote: > Date: Thu, 19 Jul 2012 13:59:36 -0400 > From: Chen Gong > To: t...@linutronix.de > Cc: tony.l...@intel.com, b...@amd64.org, x...@kernel.org, > linux-kernel@vger.kernel.org > Subject: [RESEND PATCH 0/5 V2] x86: mce: Bugfixes,

Re: Gethering power management/policy hw drivers under drivers/power/? (Re: [RFC][PATCH v3 1/3] runtime interpreted power sequences)

2012-07-31 Thread Anton Vorontsov
On Mon, Jul 30, 2012 at 10:59:39PM +0200, Rafael J. Wysocki wrote: [...] > > Well, currently drivers/power/ is indeed just for power supply class > > subsystem and drivers. But if the trend is to gather power management > > ("policy") stuff under one directory, i.e. > > > > drivers/ > > power/

Re: [PATCH 09/12] commit 22126843cb3c2a782c2d52614486115f3e9db478

2012-07-31 Thread Yinghai Lu
On Fri, Jun 22, 2012 at 10:04 AM, Alan Cox wrote: > On Fri, 22 Jun 2012 08:36:57 -0700 > Greg KH wrote: > >> On Fri, Jun 22, 2012 at 04:44:59PM +0100, Alan Cox wrote: >> > From: Alan Cox >> > >> > tty: move the termios object into the tty >> > >> > This will let us sort out a whole pile of

Re: [PATCH 12/12] tty: move the handling of the tty release logic

2012-07-31 Thread Yinghai Lu
On Fri, Jun 22, 2012 at 8:47 AM, Alan Cox wrote: > Now that we don't have tty->termios tied to drivers->tty we can untangle > the logic here. In addition we can push the removal logic out of the > destructor path. > > At that point we can think about sorting out tty_port and console and all > the

pci_get_subsys: GFP_KERNEL allocations with IRQs disabled

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 05:18:11PM -0700, Paul E. McKenney wrote: > On Tue, Jul 31, 2012 at 08:09:38PM -0400, Steven Rostedt wrote: > > On Tue, 2012-07-31 at 16:57 -0700, Paul E. McKenney wrote: > > > > > > What was the next lines? I bet you it was "PASSED". Which means it did > > > > not fail.

[RESEND PATCH] block: do not artificially constrain max_sectors for stacking drivers

2012-07-31 Thread Mike Snitzer
blk_set_stacking_limits is intended to allow stacking drivers to build up the limits of the stacked device based on the underlying devices' limits. But defaulting 'max_sectors' to BLK_DEF_MAX_SECTORS (1024) doesn't allow the stacking driver to inherit a max_sectors larger than 1024 -- due to

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Paul E. McKenney
On Tue, Jul 31, 2012 at 08:09:38PM -0400, Steven Rostedt wrote: > On Tue, 2012-07-31 at 16:57 -0700, Paul E. McKenney wrote: > > > > What was the next lines? I bet you it was "PASSED". Which means it did > > > not fail. This is the second bug you found that has to do with RCU being > > > called

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Steven Rostedt
On Tue, 2012-07-31 at 16:57 -0700, Paul E. McKenney wrote: > > What was the next lines? I bet you it was "PASSED". Which means it did > > not fail. This is the second bug you found that has to do with RCU being > > called in 'idle'. The one that Paul posted a patch for. > > Though it needs

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 07:51:39PM -0400, Steven Rostedt wrote: > On Wed, 2012-08-01 at 07:43 +0800, Fengguang Wu wrote: > > On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: > > > On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: > > > > On 07/31/2012 03:43 PM, Steven Rostedt

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Paul E. McKenney
On Tue, Jul 31, 2012 at 07:51:39PM -0400, Steven Rostedt wrote: > On Wed, 2012-08-01 at 07:43 +0800, Fengguang Wu wrote: > > On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: > > > On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: > > > > On 07/31/2012 03:43 PM, Steven Rostedt

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Steven Rostedt
On Wed, 2012-08-01 at 07:43 +0800, Fengguang Wu wrote: > On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: > > On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: > > > On 07/31/2012 03:43 PM, Steven Rostedt wrote: > > > > > That would be better. A hypervisor might be real-time

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

2012-07-31 Thread Greg KH
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 where multiple instances of a device > type can exist,

Re: [PATCH] powerpc/crypto: fix pseries_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

Re: [PATCH] powerpc/crypto: fix pseries_defconfig break

2012-07-31 Thread Stephen Rothwell
Hi Seth, On Tue, 31 Jul 2012 18:34:51 -0500 Seth Jennings wrote: > > diff --git a/arch/powerpc/configs/pseries_defconfig > b/arch/powerpc/configs/pseries_defconfig > index 1f65b3c..9f4a936 100644 > --- a/arch/powerpc/configs/pseries_defconfig > +++ b/arch/powerpc/configs/pseries_defconfig > @@

Re: Testing tracer wakeup_rt: .. no entries found ..FAILED!

2012-07-31 Thread Fengguang Wu
On Tue, Jul 31, 2012 at 09:13:39AM -0400, Steven Rostedt wrote: > On Tue, 2012-07-31 at 15:50 +0300, Avi Kivity wrote: > > On 07/31/2012 03:43 PM, Steven Rostedt wrote: > > > That would be better. A hypervisor might be real-time capable (with > > some effort kvm can do this), so we don't want to

[PATCH] powerpc/crypto: fix pseries_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

Re: [PATCH 1/6] w1: omap-hdq: add section annotation to remove

2012-07-31 Thread Greg
On Wed, Aug 01, 2012 at 03:19:10AM +0400, Evgeniy Polyakov wrote: > On Fri, Jul 27, 2012 at 10:04:44AM +0300, Felipe Balbi (ba...@ti.com) wrote: > > > Feel free to add my acked-by: Evgeniy Polyakov > > > > I thought you would :-p Then I guess Tony, maybe ? > > Greg, will you pick this patchset?

Re: [PATCH v2] xconfig: Display dependency values in debug_info

2012-07-31 Thread Randy Dunlap
On 07/31/2012 11:58 AM, Salar Ali Mumtaz wrote: > Now the debug_info only shows y/n/m values. > or no value at all?? for CONFIG_BINFMT_ELF: Kernel support for ELF binaries (BINFMT_ELF) type: boolean unknown property: symbol dep: ( MMU y && (BROKEN n || !FRV ) ) =y prompt: Kernel

RE: [PATCH] gpio: samsung: Fix off-by-one bug in gpio addresses

2012-07-31 Thread Kukjin Kim
Linus Walleij wrote: > > On Fri, Jul 20, 2012 at 10:58 PM, Sean Paul wrote: > > > Move gpc4 to the end of the automatically processed gpio controllers so > > we don't taint the automatic offset calculation. > > > > This bug caused all controllers coming after gpc4 to map to the > > incorrect

Re: [PATCH v2] gpio: Add Avionic Design N-bit GPIO expander support

2012-07-31 Thread Stephen Warren
On 07/31/2012 04:03 PM, Rob Herring wrote: > On 07/30/2012 02:47 AM, Thierry Reding wrote: >> On Sun, Jul 29, 2012 at 07:13:57PM +0200, Linus Walleij wrote: >>> On Mon, Jul 23, 2012 at 1:59 PM, Thierry Reding >>> wrote: >>> This commit adds a driver for the Avionic Design N-bit GPIO

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: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 probe function of a platform device and is only

Re: [ 35/73] ASoC: dapm: Fix locking during codec shutdown

2012-07-31 Thread Ben Hutchings
On Tue, 2012-07-31 at 17:13 +0100, Mark Brown wrote: > On Tue, Jul 31, 2012 at 01:11:01PM -0300, Herton Ronaldo Krzesinski wrote: > > > Hi, this doesn't build on 3.2: > > > linux-stable/sound/soc/soc-dapm.c: In function 'soc_dapm_shutdown_codec': > > linux-stable/sound/soc/soc-dapm.c:2982:18:

Re: [PATCH 1/6] w1: omap-hdq: add section annotation to remove

2012-07-31 Thread Evgeniy Polyakov
On Fri, Jul 27, 2012 at 10:04:44AM +0300, Felipe Balbi (ba...@ti.com) wrote: > > Feel free to add my acked-by: Evgeniy Polyakov > > I thought you would :-p Then I guess Tony, maybe ? Greg, will you pick this patchset? It is fairly simple and without any behaviour changes, but things look like

Re: [PATCH 3/3] regmap: enhance regmap-irq to handle 1 IRQ feeding n chips

2012-07-31 Thread Stephen Warren
On 07/30/2012 11:25 AM, Mark Brown wrote: > On Mon, Jul 30, 2012 at 11:00:04AM -0600, Stephen Warren wrote: >> On 07/29/2012 02:36 PM, Mark Brown wrote: >>> On Fri, Jul 27, 2012 at 01:01:56PM -0600, Stephen Warren wrote: > >> I had implemented this in regmap since you'd specifically mentioned >>

Re: [PATCH] usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware

2012-07-31 Thread Greg KH
On Tue, Jul 31, 2012 at 05:48:38PM -0500, Alexis R. Cortes wrote: > This patch is intended to work around a known issue on the > SN65LVPE502CP USB3.0 re-driver that can delay the negotiation > between a device and the host past the usual handshake timeout, > and if that happens on the first

Re: [PATCH] usb: host: xhci: Fix Compliance Mode on SN65LVPE502CP Hardware

2012-07-31 Thread 'Greg KH'
On Tue, Jul 31, 2012 at 05:54:04PM -0500, Alexis Cortes wrote: > Hi Greg, > > I have resent the patch. Hopefully it know arrives properly. BTW, I'm using > Thunderbird configured as described in Documentation/email-clients.txt for > sending the patch. The resend looks like it worked properly,

Re: [RFC 20/22] ARM: keystone: introducing TI Keystone platform

2012-07-31 Thread Arnd Bergmann
On Tuesday 31 July 2012, Cyril Chemparathy wrote: > Texas Instruments Keystone family of multicore devices now includes an > upcoming slew of Cortex A15 based devices. This patch adds basic definitions > for a new Keystone sub-architecture in ARM. > > Subsequent patches in this series will

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

2012-07-31 Thread Greg KH
On Tue, Jul 31, 2012 at 03:51:05PM -0700, Jon Mason wrote: > On Tue, Jul 31, 2012 at 03:23:38PM -0700, Greg KH wrote: > > On Sun, Jul 29, 2012 at 05:26:33PM -0700, Jon Mason wrote: > > > + * You should have received a copy of the GNU General Public License > > > + * along with this program; if

Re: [ 06/73] mm: compaction: introduce sync-light migration for use by compaction

2012-07-31 Thread Ben Hutchings
On Tue, 2012-07-31 at 18:03 +0100, Mel Gorman wrote: > On Tue, Jul 31, 2012 at 06:00:51PM +0100, Mel Gorman wrote: > > On Tue, Jul 31, 2012 at 01:42:04PM -0300, Herton Ronaldo Krzesinski wrote: > > > On Tue, Jul 31, 2012 at 05:43:16AM +0100, Ben Hutchings wrote: > > > > 3.2-stable review patch.

[PATCH 16/22] ARM: mm: cleanup checks for membank overlap with vmalloc area

2012-07-31 Thread Cyril Chemparathy
On Keystone platforms, physical memory is entirely outside the 32-bit addressible range. Therefore, the (bank->start > ULONG_MAX) check below marks the entire system memory as highmem, and this causes unpleasentness all over. This patch eliminates the extra bank start check (against ULONG_MAX)

[PATCH 18/22] ARM: add virt_to_idmap for interconnect aliasing

2012-07-31 Thread Cyril Chemparathy
From: Vitaly Andrianov On some PAE systems (e.g. TI Keystone), memory is above the 32-bit addressible limit, and the interconnect provides an aliased view of parts of physical memory in the 32-bit addressible space. This alias is strictly for boot time usage, and is not otherwise usable because

[PATCH 06/22] ARM: LPAE: use phys_addr_t in alloc_init_pud()

2012-07-31 Thread Cyril Chemparathy
From: Vitaly Andrianov This patch fixes the alloc_init_pud() function to use phys_addr_t instead of unsigned long when passing in the phys argument. This is an extension to commit 97092e0c56830457af0639f6bd904537a150ea4a, which applied similar changes elsewhere in the ARM memory management

[PATCH 11/22] ARM: LPAE: define ARCH_LOW_ADDRESS_LIMIT for bootmem

2012-07-31 Thread Cyril Chemparathy
This patch adds an architecture defined override for ARCH_LOW_ADDRESS_LIMIT. On PAE systems, the absence of this override causes bootmem to incorrectly limit itself to 32-bit addressable physical memory. Signed-off-by: Cyril Chemparathy Signed-off-by: Vitaly Andrianov ---

[PATCH 15/22] ARM: mm: use physical addresses in highmem sanity checks

2012-07-31 Thread Cyril Chemparathy
This patch modifies the highmem sanity checking code to use physical addresses instead. This change eliminates the wrap-around problems associated with the original virtual address based checks, and this simplifies the code a bit. The one constraint imposed here is that low physical memory must

[RFC 22/22] ARM: keystone: add switch over to high physical address range

2012-07-31 Thread Cyril Chemparathy
Keystone platforms have their physical memory mapped at an address outside the 32-bit physical range. A Keystone machine with 16G of RAM would find its memory at 0x08 - 0x0b. For boot purposes, the interconnect supports a limited alias of some of this memory within the 32-bit

[RFC 21/22] ARM: keystone: enable SMP on Keystone machines

2012-07-31 Thread Cyril Chemparathy
This patch adds basic SMP support for Keystone machines. Nothing very fancy here, just enough to get 4 CPUs booted up. This does not include support for hotplug, etc. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy --- arch/arm/Kconfig|1 +

[PATCH 02/22] ARM: use late patch framework for phys-virt patching

2012-07-31 Thread Cyril Chemparathy
This patch replaces the original physical offset patching implementation with one that uses the newly added patching framework. In the process, we now unconditionally initialize the __pv_phys_offset and __pv_offset globals in the head.S code. Signed-off-by: Cyril Chemparathy ---

[PATCH 12/22] ARM: LPAE: factor out T1SZ and TTBR1 computations

2012-07-31 Thread Cyril Chemparathy
This patch moves the TTBR1 offset calculation and the T1SZ calculation out of the TTB setup assembly code. This should not affect functionality in any way, but improves code readability as well as readability of subsequent patches in this series. Signed-off-by: Cyril Chemparathy Signed-off-by:

[PATCH 01/22] ARM: add mechanism for late code patching

2012-07-31 Thread Cyril Chemparathy
The original phys_to_virt/virt_to_phys patching implementation relied on early patching prior to MMU initialization. On PAE systems running out of >4G address space, this would have entailed an additional round of patching after switching over to the high address space. The approach implemented

[PATCH 07/22] ARM: LPAE: use phys_addr_t in free_memmap()

2012-07-31 Thread Cyril Chemparathy
From: Vitaly Andrianov The free_memmap() was mistakenly using unsigned long type to represent physical addresses. This breaks on PAE systems where memory could be placed above the 32-bit addressible limit. This patch fixes this function to properly use phys_addr_t instead. Signed-off-by:

[PATCH 04/22] ARM: LPAE: support 64-bit virt/phys patching

2012-07-31 Thread Cyril Chemparathy
This patch adds support for 64-bit physical addresses in virt_to_phys patching. This does not do real 64-bit add/sub, but instead patches in the upper 32-bits of the phys_offset directly into the output of virt_to_phys. In addition to adding 64-bit support, this patch also adds a

[PATCH 14/22] ARM: LPAE: accomodate >32-bit addresses for page table base

2012-07-31 Thread Cyril Chemparathy
This patch redefines the early boot time use of the R4 register to steal a few low order bits (ARCH_PGD_SHIFT bits), allowing for up to 38-bit physical addresses. This is probably not the best means to the end, and a better alternative may be to modify the head.S register allocations to fit in

[PATCH 03/22] ARM: LPAE: use phys_addr_t on virt <--> phys conversion

2012-07-31 Thread Cyril Chemparathy
This patch fixes up the types used when converting back and forth between physical and virtual addresses. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy --- arch/arm/include/asm/memory.h | 17 +++-- 1 file changed, 11 insertions(+), 6 deletions(-) diff --git

[RFC 20/22] ARM: keystone: introducing TI Keystone platform

2012-07-31 Thread Cyril Chemparathy
Texas Instruments Keystone family of multicore devices now includes an upcoming slew of Cortex A15 based devices. This patch adds basic definitions for a new Keystone sub-architecture in ARM. Subsequent patches in this series will extend support to include SMP and take advantage of the large

[PATCH 00/22] Introducing the TI Keystone platform

2012-07-31 Thread Cyril Chemparathy
This series is a follow on to the RFC series posted earlier (archived at [1]). The major change introduced here is the modification to the kernel patching mechanism for phys_to_virt/virt_to_phys, in order to support LPAE platforms that require late patching. In addition to these changes, we've

[PATCH 08/22] ARM: LPAE: use phys_addr_t for initrd location and size

2012-07-31 Thread Cyril Chemparathy
From: Vitaly Andrianov This patch fixes the initrd setup code to use phys_addr_t instead of assuming 32-bit addressing. Without this we cannot boot on systems where initrd is located above the 4G physical address limit. Signed-off-by: Vitaly Andrianov Signed-off-by: Cyril Chemparathy ---

[PATCH 19/22] ARM: recreate kernel mappings in early_paging_init()

2012-07-31 Thread Cyril Chemparathy
This patch adds a step in the init sequence, in order to recreate the kernel code/data page table mappings prior to full paging initialization. This is necessary on LPAE systems that run out of a physical address space outside the 4G limit. On these systems, this implementation provides a

[PATCH 13/22] ARM: LPAE: allow proc override of TTB setup

2012-07-31 Thread Cyril Chemparathy
This patch allows ARM processor setup functions (*_setup in proc-*.S) to indicate that the page table has already been programmed. This is done by setting r4 (page table pointer) to -1 before returning from the processor setup handler. This capability is particularly needed on LPAE systems,

[PATCH 17/22] ARM: mm: clean up membank size limit checks

2012-07-31 Thread Cyril Chemparathy
This patch cleans up the highmem sanity check code by simplifying the range checks with a pre-calculated size_limit. This patch should otherwise have no functional impact on behavior. This patch also removes a redundant (bank->start < vmalloc_limit) check, since this is already covered by the

[PATCH 10/22] ARM: LPAE: use 64-bit accessors for TTBR registers

2012-07-31 Thread Cyril Chemparathy
This patch adds TTBR accessor macros, and modifies cpu_get_pgd() and the LPAE version of cpu_set_reserved_ttbr0() to use these instead. In the process, we also fix these functions to correctly handle cases where the physical address lies beyond the 4G limit of 32-bit addressing. Signed-off-by:

[PATCH 09/22] ARM: LPAE: use 64-bit pgd physical address in switch_mm()

2012-07-31 Thread Cyril Chemparathy
This patch modifies the switch_mm() processor functions to use 64-bit addresses. We use u64 instead of phys_addr_t, in order to avoid having config dependent register usage when calling into switch_mm assembly code. The changes in this patch are primarily adjustments for registers used for

  1   2   3   4   5   6   7   8   9   10   >