[RFC][PATCH 1/1] kfifo: add macros for direct buffer read access

2013-08-12 Thread Matthew Hollingworth
Add kfifo_out_prepare and kfifo_out_finish macros. These allow direct access to the fifo buffer for reading. These macros do not make sense for data-record fifos and would not apply in that context. Equivalent macros could be added for fifo direct write operations. Signed-off-by: Matthew

Re: Patch "drm/radeon: never unpin UVD bo v3" has been added to the 3.10-stable tree

2013-08-12 Thread Greg KH
On Tue, Aug 06, 2013 at 03:44:14PM +0200, Joshua C. wrote: > I have an open bug again the aforementioned patch: > https://bugs.freedesktop.org/show_bug.cgi?id=67276 . Can you, please, > hold the patch, untill the bug is resolved? Please work with the upstream developers to resolve the bug, then

Re: [PATCH v1 03/14] clk: Add of_clk_match() for device drivers

2013-08-12 Thread Stephen Boyd
On 08/12, Mike Turquette wrote: > Quoting Stephen Boyd (2013-07-24 17:43:31) > > In similar fashion as of_regulator_match() add an of_clk_match() > > function that finds an initializes clock init_data structs from > > devicetree. Drivers should use this API to find clocks that their > > device is

[PATCH] kvm tools: powerpc: Implement "system-reboot" RTAS call

2013-08-12 Thread Michael Ellerman
On some powerpc systems, reboot is implemented by an RTAS call by the name of "system-reboot". Currently we don't implement it in kvmtool, which means instead the guest prints an error and spins. This is particularly annoying because when the guest kernel panics it will try to reboot, and end up

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Greg KH
On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: > 12.08.2013 17:27, Jordi Pujol skrev: > > Hello, > > > > zram shows an error when mounting a swap partition, > > current version Linux kernel 3.10.6, > > previous versions worked, I suppose that latest zram patches have some > >

[PATCH] ARM: DTS: DRA7: Add TPS659038 PMIC nodes

2013-08-12 Thread Keerthy
The Patch adds nodes for TPS659038 PMIC for DRA7 boards. It is based on: http://comments.gmane.org/gmane.linux.ports.arm.omap/102459. Documentation: Documentation/devicetree/bindings/mfd/palmas.txt Documentation/devicetree/bindings/regulator/palmas-pmic.txt Tested

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2013 at 02:18:29PM +0900, Minchan Kim wrote: > On Tue, Aug 13, 2013 at 08:01:11AM +0300, Thomas Backlund wrote: > > Minchan Kim skrev 13.8.2013 07:33: > > >Hello Greg, > > > > > >On Mon, Aug 12, 2013 at 08:58:02PM -0700, Greg Kroah-Hartman wrote: > > >>On Tue, Aug 13, 2013 at

Re: question about netif_rx

2013-08-12 Thread David Shwatrz
Hello, what is the current state of checksum offloading support has to do with it ? maybe you meant current state of NAPI support ? regards, DS On Tue, Aug 13, 2013 at 8:20 AM, Francois Romieu wrote: > Julia Lawall : >> François Romieu : > [...] >> > Can you send a netif_receive_skb

linux-next: manual merge of the tty tree with the tile tree

2013-08-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in include/uapi/linux/serial_core.h between commit 002abee2d681 ("tilegx: Add tty serial support for TILE-Gx on-chip UART") from the tile tree and commit c4b058560762 ("serial:st-asc: Add ST ASC driver") from the tty tree. I fixed

linux-next: manual merge of the tty tree with the devicetree tree

2013-08-12 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the tty tree got a conflict in include/linux/of.h between commit 2adfffa22350 ("OF: make of_property_for_each_{u32|string}() use parameters if OF is not enabled") from the devicetree tree and commit 5c19e95216b9 ("OF: Add helper for matching against

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread anish singh
On Tue, Aug 13, 2013 at 5:59 AM, Steven Rostedt wrote: > On Mon, 12 Aug 2013 15:18:16 -0700 > Shailaja Neelam wrote: > >> I am a high school student trying to become familiar with the >> opensource process and linux kernel. This is my first submission to >> the ITC mailing list. > > Hi Shailaja,

[PATCH 1/2] extcon: palmas: Added a new compatible type *ti,palmas-usb-vid*

2013-08-12 Thread Kishon Vijay Abraham I
The Palmas device contains only a USB VID detector, so added a compatible type *ti,palmas-usb-vid*. Dint remove the existing compatible types for backward compatibility. Signed-off-by: Kishon Vijay Abraham I --- Documentation/devicetree/bindings/extcon/extcon-twl.txt |3 ++-

[PATCH v4 2/2] arm: omap5: dts: add palmas-usb node

2013-08-12 Thread Kishon Vijay Abraham I
From: Felipe Balbi Without this node, there will be no palmas driver to notify dwc3 that a cable has been connected and, without that, dwc3 will never initialize. [ kis...@ti.com : fix vbus-supply value after SMPS10 is modeled as 2 regulators] Signed-off-by: Felipe Balbi Signed-off-by: Kishon

Re: question about netif_rx

2013-08-12 Thread Francois Romieu
Julia Lawall : > François Romieu : [...] > > Can you send a netif_receive_skb replacement patch for it ? > > Just to be sure, I just replace netif_rx by netif_receive_skb, nothing > else? Yes. It should imho be fine with a comment incluing your analysis and a few words about the current state

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Minchan Kim
On Tue, Aug 13, 2013 at 08:01:11AM +0300, Thomas Backlund wrote: > Minchan Kim skrev 13.8.2013 07:33: > >Hello Greg, > > > >On Mon, Aug 12, 2013 at 08:58:02PM -0700, Greg Kroah-Hartman wrote: > >>On Tue, Aug 13, 2013 at 10:39:00AM +0900, Minchan Kim wrote: > >>>Hello, > >>> > >>>On Mon, Aug 12,

[PATCH 3/3 v2] blackfin: pinctrl-adi2: Add pin control device groups and function data.

2013-08-12 Thread Sonic Zhang
From: Sonic Zhang Select PINCTRL_ADI2 for bf54x and bf60x by default. Signed-off-by: Sonic Zhang --- arch/blackfin/Kconfig | 7 + arch/blackfin/include/asm/portmux.h | 14 +- arch/blackfin/mach-bf548/include/mach/portmux.h | 595

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Jordi Pujol
El Dilluns, 12 d'agost de 2013, a les 19:39:46, Thomas Backlund va escriure: > /* out of range range */ > - if (unlikely(start >= bound || end >= bound || start > end)) > + if (unlikely(start >= bound || end > bound || start > end)) > return 0; > OK, I confirm that

Re: [PATCH 1/4] mtd: m25p80: Pass flags through CAT25_INFO macro

2013-08-12 Thread Marek Vasut
Dear Sascha Hauer, > The flags may have to be overwritten, so add them to the CAT25_INFO > macro. > > Signed-off-by: Sascha Hauer > --- > drivers/mtd/devices/m25p80.c | 16 > 1 file changed, 8 insertions(+), 8 deletions(-) > > diff --git a/drivers/mtd/devices/m25p80.c

Re: [PATCH] m25p80 / fast read

2013-08-12 Thread Marek Vasut
Dear Sascha Hauer, > The following adds support for the mr25h10 chip to to the m25p80 > driver. > > This driver currently has the problem that it unconditionally uses > the fast_read command once it's enabled in Kconfig which of course > leads to problems with multiboard kernels. This series

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Thomas Backlund
Minchan Kim skrev 13.8.2013 07:33: Hello Greg, On Mon, Aug 12, 2013 at 08:58:02PM -0700, Greg Kroah-Hartman wrote: On Tue, Aug 13, 2013 at 10:39:00AM +0900, Minchan Kim wrote: Hello, On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: 12.08.2013 17:27, Jordi Pujol skrev:

Re: [PATCH v1 09/14] clk: msm: Add support for MSM8960's global clock controller (GCC)

2013-08-12 Thread Stephen Boyd
On 08/08, Mark Rutland wrote: > Hi Stephen, > > On Thu, Jul 25, 2013 at 01:43:37AM +0100, Stephen Boyd wrote: > > Fill in the data and wire up the global clock controller to the > > MSM clock driver. This should allow most non-multimedia device > > drivers to control their clocks on 8960 based

Re: [patch 2/2] [PATCH] mm: Save soft-dirty bits on file pages

2013-08-12 Thread Cyrill Gorcunov
On Mon, Aug 12, 2013 at 03:28:06PM -0700, Andy Lutomirski wrote: > > > > You could have #undefed _mfrob and __frob after using them, but whatever. Sure, for some reason I forgot to do that. Will send update on top. > > I saved this patch to wave at the x86 guys for 3.12. I plan to merge > >

[PATCH 2/3 v2] blackfin: gpio: Remove none gpio lib code.

2013-08-12 Thread Sonic Zhang
From: Sonic Zhang - Remove non gpio lib code from blackfin architecture. - Limit the lagecy blackfin gpio driver to bf5xx processors only. - Remove unused definition of the pint power functions. Signed-off-by: Sonic Zhang --- arch/blackfin/Kconfig| 7 ++

[PATCH 1/3 v2] pinctrl: ADI PIN control driver for the GPIO controller on bf54x and bf60x.

2013-08-12 Thread Sonic Zhang
From: Sonic Zhang The new ADI GPIO2 controller was introduced since the BF548 and BF60x processors. It differs a lot from the old one on BF5xx processors. So, create a pinctrl driver under pinctrl framework. - Define gpio ports and gpio interrupt controllers as individual platform devices. -

Re: [PATCH 11/44] cpufreq: at32ap: Use generic cpufreq routines

2013-08-12 Thread Viresh Kumar
On 13 August 2013 00:41, Hans-Christian Egtvedt wrote: > Around Mon 12 Aug 2013 13:09:25 +0530 or thereabout, Viresh Kumar wrote: >> On 12 August 2013 13:00, Hans-Christian Egtvedt wrote: >>> I'll add it on my todo-list and have a look at it in the evening (-: >> >> Thanks. >> >>> How hard can

Re: [PATCH] [RFC] kmemcg: remove union from memcg_params

2013-08-12 Thread Andrey Wagin
2013/8/13 Andrew Morton : > On Fri, 9 Aug 2013 00:51:26 +0400 Andrey Vagin wrote: > >> struct memcg_cache_params { >> bool is_root_cache; >> union { >> struct kmem_cache *memcg_caches[0]; >> struct { >> struct mem_cgroup

Re: [PATCH 1/16 v2] sound/soc/pxa/mioa701_wm9713.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Julia Lawall
On Mon, 12 Aug 2013, Mark Brown wrote: > On Mon, Aug 12, 2013 at 10:49:24PM +0200, Julia Lawall wrote: > > From: Julia Lawall > > > > Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the > > arity of the called function. > > What is the difference between this and the

Re: [ARM ATTEND] catching up on exploit mitigations

2013-08-12 Thread Laura Abbott
On 7/30/2013 12:05 PM, Kees Cook wrote: I'd like to propose the topic of catching up to x86 exploit mitigations and security features, and potentially identifying ARM-unique mitigations/features that could be implemented. Several years ago, with Nicolas Pitre doing all the real work, I

[PATCH v3] pinctrl: pinmux: Don't free pins requested by other devices in pinmux_disable_setting.

2013-08-12 Thread Sonic Zhang
From: Sonic Zhang One peripheral may share part of its pins with the 2nd peripheral and the other pins with the 3rd. If it requests all pins when part of them has already be requested and owned by the 2nd peripheral, this request fails and pinmux_disable_setting() is called. The

[PATCH 1/1] Resubmit mtd: mtdoops: fix for a potential memory leak in mtdoops_notify_remove

2013-08-12 Thread Nilanjan Roychowdhury
we are allocating cxt->oops_page_used using vmalloc in mtdoops_notify_add for every mtd_info addition but not freeing it in mtdoops_notify_remove. Also care is taken so that we do not free the same pointer again in module remove. Signed-off-by: Nilanjan Roychowdhury --- drivers/mtd/mtdoops.c |

Re: [PATCH 00/31] CPUFreq: Implement light weight ->target(): for 3.13

2013-08-12 Thread Viresh Kumar
On 13 August 2013 04:17, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 11:18:36 PM Viresh Kumar wrote: >> Currently prototype of cpufreq_drivers target routines is: >> >> int target(struct cpufreq_policy *policy, unsigned int target_freq, >> unsigned int relation); >> >> And most of

Re: false nr_running check in load balance?

2013-08-12 Thread Lei Wen
Peter, On Mon, Aug 12, 2013 at 10:43 PM, Peter Zijlstra wrote: > On Tue, Aug 06, 2013 at 09:23:46PM +0800, Lei Wen wrote: >> Hi Paul, >> >> I notice in load_balance function, it would check busiest->nr_running >> to decide whether to perform the real task movement. >> >> But in some case, I saw

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Minchan Kim
Hello Greg, On Mon, Aug 12, 2013 at 08:58:02PM -0700, Greg Kroah-Hartman wrote: > On Tue, Aug 13, 2013 at 10:39:00AM +0900, Minchan Kim wrote: > > Hello, > > > > On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: > > > 12.08.2013 17:27, Jordi Pujol skrev: > > > >Hello, > > > > > >

Re: [PATCH 1/1] mtd: mtdoops: fix for a potential memory leak in mtdoops_notify_remove

2013-08-12 Thread Nilanjan Roychowdhury
On Mon, Aug 12, 2013 at 10:56 PM, Ezequiel Garcia wrote: > > On Sun, Aug 11, 2013 at 01:11:48PM -0700, Nilanjan Roychowdhury wrote: > > we are allocating cxt->oops_page_used using vmalloc in mtdoops_notify_add > > for > > every mtd_info addition but not freeing it in mtdoops_notify_remove > > >

Re: [ 000/102] 3.10.6-stable review

2013-08-12 Thread Guenter Roeck
On Fri, Aug 09, 2013 at 12:33:29PM -0700, Greg Kroah-Hartman wrote: > On Fri, Aug 09, 2013 at 09:20:30PM +0200, Willy Tarreau wrote: > > Hi Greg, > > > > On Thu, Aug 08, 2013 at 06:56:36PM -0700, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 3.10.6 release.

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Greg Kroah-Hartman
On Tue, Aug 13, 2013 at 10:39:00AM +0900, Minchan Kim wrote: > Hello, > > On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: > > 12.08.2013 17:27, Jordi Pujol skrev: > > >Hello, > > > > > >zram shows an error when mounting a swap partition, > > >current version Linux kernel 3.10.6,

Re: [Qemu-devel] SCSI bus failures with qemu-arm in kernel 3.8+

2013-08-12 Thread Guenter Roeck
On Mon, Aug 12, 2013 at 05:24:50PM +0100, Peter Maydell wrote: [ ... ] > If somebody would like to fix the kernel I am happy to > locate the PCI backplane and test everything (again). > I would suggest that producing some patches which work > with QEMU 1.5 or later would be a good start; then we

Re: [PATCH V10 09/13] perf tools: move perf_evlist__config() to a new source file

2013-08-12 Thread Namhyung Kim
On Fri, 9 Aug 2013 13:51:55 +0300, Adrian Hunter wrote: > perf_evlist__config() must be moved to a separate source > file to avoid Python link errors when adding support for > PERF_SAMPLE_IDENTIFIER. > > It is appropriate to do this because perf_evlist__config() > is a helper function for event

Re: [PATCH V10 07/13] perf tools: remove references to struct ip_event

2013-08-12 Thread Namhyung Kim
On Fri, 9 Aug 2013 13:51:53 +0300, Adrian Hunter wrote: > struct ip_event assumes fixed positions for ip, pid > and tid. That is no longer true with the addition of > PERF_SAMPLE_IDENTIFIER. The information is anyway in > struct sample, so use that instead. Acked-by: Namhyung Kim Thanks,

Re: [PATCH V10 06/13] perf tools: remove unnecessary callchain validation

2013-08-12 Thread Namhyung Kim
On Fri, 9 Aug 2013 13:51:52 +0300, Adrian Hunter wrote: > Now that the sample parsing correctly checks data sizes > there is no reason for it to be done again for callchains. Acked-by: Namhyung Kim Thanks, Namhyung -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: Request for comments: reserving a value for O_SEARCH and O_EXEC

2013-08-12 Thread Rich Felker
On Mon, Aug 12, 2013 at 10:42:03AM -0700, Andy Lutomirski wrote: > You'll have the same problem that O_TMPFILE had: the kernel currently > ignores unrecognized flags. I wonder if it's time to add a new syscall > (or syscalls) with more sensible semantics. That's not a problem here. In fact, in

Re: [PATCH v5 0/4] [SCSI] sg: fix race condition in sg_open

2013-08-12 Thread Douglas Gilbert
On 13-08-12 10:46 PM, vaughan wrote: On 08/06/2013 04:52 AM, Douglas Gilbert wrote: On 13-08-04 10:19 PM, vaughan wrote: On 08/03/2013 01:25 PM, Douglas Gilbert wrote: On 13-08-01 01:01 AM, Douglas Gilbert wrote: On 13-07-22 01:03 PM, Jörn Engel wrote: On Mon, 22 July 2013 12:40:29 +0800,

Re: [GIT PULL] tracing: final fixes for events and some

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 22:39:22 -0400 Dave Jones wrote: > I'm not sure why I got cc'd on this, but for my part, the perf/tracing > related bugs > I've found recently may have been there for ages, but they were triggerable > as non-root users. > > Which bug was able to trigger with non-root? The

[PATCH] mm: remove unnecessary variable idx0 in __early_ioremap()

2013-08-12 Thread Jianguo Wu
After commit 8827247ffcc(x86: don't define __this_fixmap_does_not_exist()), variable idx0 is no longer needed, so just remove it. Signed-off-by: Jianguo Wu --- arch/x86/mm/ioremap.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/x86/mm/ioremap.c

Re: [PATCH V10 04/13] perf tools: change machine__findnew_thread() to set thread pid

2013-08-12 Thread Namhyung Kim
On Fri, 9 Aug 2013 13:51:50 +0300, Adrian Hunter wrote: > Add a new parameter for 'pid' to machine__findnew_thread(). > Change callers to pass 'pid' when it is known. I think the changelog should mention the subtlety of passing pid/tid to prevent possible future misusages. Thanks, Namhyung --

Re: [PATCH V10 01/13] perf tools: add debug prints

2013-08-12 Thread Namhyung Kim
On Fri, 9 Aug 2013 13:51:47 +0300, Adrian Hunter wrote: > It is useful to see the arguments to perf_event_open > and whether the perf events ring buffer was mmapped > per-cpu or per-thread. That information will now be > displayed when verbose is 2 i.e option -vv I have two nitpicks below, but

Re: [PATCH v5] media: i2c: tvp7002: add OF support

2013-08-12 Thread Prabhakar Lad
On Tue, Aug 13, 2013 at 6:30 AM, Kumar Gala wrote: > > On Aug 11, 2013, at 1:25 AM, Lad, Prabhakar wrote: > >> From: "Lad, Prabhakar" >> >> add OF support for the tvp7002 driver. >> >> Signed-off-by: Lad, Prabhakar >> --- >> This patch depends on https://patchwork.kernel.org/patch/2842680/ >>

Re: [PATCH v5 0/4] [SCSI] sg: fix race condition in sg_open

2013-08-12 Thread vaughan
On 08/06/2013 04:52 AM, Douglas Gilbert wrote: > On 13-08-04 10:19 PM, vaughan wrote: >> On 08/03/2013 01:25 PM, Douglas Gilbert wrote: >>> On 13-08-01 01:01 AM, Douglas Gilbert wrote: On 13-07-22 01:03 PM, Jörn Engel wrote: > On Mon, 22 July 2013 12:40:29 +0800, Vaughan Cao wrote: >>

Re: BUG cxgb3: Check and handle the dma mapping errors

2013-08-12 Thread Alexey Kardashevskiy
Ping, anyone? On 08/08/2013 03:38 PM, Alexey Kardashevskiy wrote: > On 08/08/2013 02:55 AM, Divy Le ray wrote: >> On 08/05/2013 11:41 AM, Jay Fenlason wrote: >>> On Mon, Aug 05, 2013 at 12:59:04PM +1000, Alexey Kardashevskiy wrote: Hi! Recently I started getting multiple errors

Re: [GIT PULL] tracing: final fixes for events and some

2013-08-12 Thread Dave Jones
On Mon, Aug 12, 2013 at 08:13:25PM +0200, Ingo Molnar wrote: > > > I see that some of the fixes here fix issues that your earlier > > > post-rc1 rounds of non-regression fixes introduced to begin with. > > > That's really not a good pattern either IMO. > > > > Not really. The earlier fixes

[PATCH] fs/buffer.c: use lowmem_page_address instead of page_address

2013-08-12 Thread Heesub Shin
Here, the page has been identified as lowmem already. So, calling lowmem_page_address() directly is a little cheaper than page_address(). Signed-off-by: Heesub Shin Cc: Dongjun Shin --- fs/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/buffer.c b/fs/buffer.c

Re: [PATCH 3/3] perf tools: add 'keep tracking' test

2013-08-12 Thread Namhyung Kim
On Wed, 7 Aug 2013 16:30:31 +0300, Adrian Hunter wrote: > Add a test for the newly added PERF_COUNT_SW_DUMMY event. > The test checks that tracking events continue when an > event is disabled but a dummy software event is not > disabled. [SNIP] > +int test__keep_tracking(void) > +{ > +

[PATCH v3 3/5] ARM: tegra: split setting of CPU reset handler

2013-08-12 Thread Alexandre Courbot
Not all Tegra devices can set the CPU reset handler in the same way. In particular, devices using a TrustZone secure monitor cannot set the reset handler directly and need to do it through a firmware operation. This patch separates the act of setting the reset handler from its preparation, so the

[PATCH v3 5/5] ARM: tegra: support Trusted Foundations by default

2013-08-12 Thread Alexandre Courbot
Support for Trusted Foundations is light and allows the kernel to run on a wider range of devices, so enable it by default. Signed-off-by: Alexandre Courbot --- arch/arm/configs/tegra_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/tegra_defconfig

[PATCH v3 1/5] ARM: add basic Trusted Foundations support

2013-08-12 Thread Alexandre Courbot
Trusted Foundations is a TrustZone-based secure monitor for ARM that can be invoked using a consistent smc-based API on all supported platforms. This patch adds initial basic support for Trusted Foundations using the ARM firmware API. Current features are limited to the ability to boot secondary

[PATCH v3 4/5] ARM: tegra: set CPU reset handler with firmware op

2013-08-12 Thread Alexandre Courbot
Use a firmware operation to set the CPU reset handler and only resort to doing it ourselves if there is none defined. This supports the booting of secondary CPUs on devices using a TrustZone secure monitor. Signed-off-by: Alexandre Courbot --- arch/arm/mach-tegra/reset.c | 17 ++---

[PATCH v3 2/5] ARM: tegra: add support for Trusted Foundations

2013-08-12 Thread Alexandre Courbot
Register the firmware operations for Trusted Foundations if the device tree indicates it is active on the device. Signed-off-by: Alexandre Courbot --- Documentation/devicetree/bindings/arm/tegra.txt | 5 +++ arch/arm/mach-tegra/Kconfig | 1 + arch/arm/mach-tegra/Makefile

[PATCH v3 0/5] ARM: tegra: support for Trusted Foundations

2013-08-12 Thread Alexandre Courbot
This is the long-overdue third version of this series, hopefully addressing the suggestions received in v2. Since I could confirm that the SMC interface used by Trusted Foundations is not Tegra-specific, I have moved core TF support into arch/arm/firmware as a proposal to consolidate all

Re: [PATCH 0/3] perf: add a dummy software event to keep tracking

2013-08-12 Thread Namhyung Kim
Hi Adrian, On Wed, 7 Aug 2013 16:30:28 +0300, Adrian Hunter wrote: > Hi > > This is an alternative to the 'keep tracking' flag patch > which is here: > > http://marc.info/?l=linux-kernel=137242545521246=2 > > perf tools is updated and a test added to demonstrate the > new event. It looks

Re: [PATCH] mm: fix special swap entry handling on copy mm

2013-08-12 Thread Jerome Glisse
On Mon, Aug 12, 2013 at 9:46 PM, Naoya Horiguchi wrote: > On Mon, Aug 12, 2013 at 05:49:37PM -0400, Jerome Glisse wrote: >> On Mon, Aug 12, 2013 at 05:36:40PM -0400, Naoya Horiguchi wrote: >> > Hi Jerome, >> > >> > On Mon, Aug 12, 2013 at 11:43:24AM -0400, j.gli...@gmail.com wrote: >> > > From:

Re: [PATCHSET 00/17] perf tools: Introduce new 'ftrace' command (v4)

2013-08-12 Thread Namhyung Kim
Hi Jiri and Jeremy, On Fri, 9 Aug 2013 12:23:06 +0200, Jiri Olsa wrote: > On Tue, Jul 30, 2013 at 06:18:57PM +0900, Namhyung Kim wrote: >> This patchset implements a front-end tool for kernel's ftrace. It >> uses function_graph tracer by default and normal function tracer is >> also supported.

On WfW 3.11 (was RE: Linux 3.11-rc5)

2013-08-12 Thread Yuhong Bao
> Sadly, the numerology doesn't quite work out, and while releasing the > final 3.11 today would be a lovely coincidence (Windows 3.11 was > released twenty years ago today), it is not to be. Personally, I don't consider WfW 3.11 all that impressive, especially when it requires a 386 anyway. You

Re: [PATCH 2/2] cpuset: remove redundant checks in file write functions

2013-08-12 Thread Li Zefan
On 2013/8/13 9:17, Li Zefan wrote: > Now cgroup core gets a reference to the css when a cgroup file is > opened(), and the reference is dropped at file release. so it's > guaranteed the cpuset is online during the write function. > > Signed-off-by: Li Zefan > --- > kernel/cpuset.c | 10

[PATCH][3.11] cpuset: fix the return value of cpuset_write_u64()

2013-08-12 Thread Li Zefan
Writing to this file always returns -ENODEV: # echo 1 > cpuset.memory_pressure_enabled -bash: echo: write error: No such device Signed-off-by: Li Zefan Cc: # 3.9+ --- kernel/cpuset.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/kernel/cpuset.c

Re: [PATCH v4 2/2] mm: make lru_add_drain_all() selective

2013-08-12 Thread Chris Metcalf
On 8/12/2013 5:05 PM, Andrew Morton wrote: > On Wed, 7 Aug 2013 16:52:22 -0400 Chris Metcalf wrote: > >> This change makes lru_add_drain_all() only selectively interrupt >> the cpus that have per-cpu free pages that can be drained. >> >> This is important in nohz mode where calling mlockall(),

Re: [PATCH] mm: fix special swap entry handling on copy mm

2013-08-12 Thread Naoya Horiguchi
On Mon, Aug 12, 2013 at 05:49:37PM -0400, Jerome Glisse wrote: > On Mon, Aug 12, 2013 at 05:36:40PM -0400, Naoya Horiguchi wrote: > > Hi Jerome, > > > > On Mon, Aug 12, 2013 at 11:43:24AM -0400, j.gli...@gmail.com wrote: > > > From: Jerome Glisse > > > > > > Prior to this copy_one_pte will

Re: pty FIONREAD returning zero breaks emacs in 3.11rc3

2013-08-12 Thread Peter Hurley
On 08/09/2013 05:11 PM, Andi Kleen wrote: When I run emacs over ssh terminal (no X) on 3.11-rc3 it often ignores key strokes. I first thought the system was busy or so, but when stracing the emacs it was not blocked. Andi, More information might help me narrow this down since I can't

Re: ZRAM 3.10.6 Buffer I/O error

2013-08-12 Thread Minchan Kim
Hello, On Mon, Aug 12, 2013 at 07:39:46PM +0300, Thomas Backlund wrote: > 12.08.2013 17:27, Jordi Pujol skrev: > >Hello, > > > >zram shows an error when mounting a swap partition, > >current version Linux kernel 3.10.6, > >previous versions worked, I suppose that latest zram patches have some >

linux-next: manual merge of the ext4 tree with Linus' tree

2013-08-12 Thread Stephen Rothwell
Hi Theodore, Today's linux-next merge of the ext4 tree got a conflict in fs/ext4/ioctl.c between commit cde2d7a796f7 ("ext4: flush the extent status cache during EXT4_IOC_SWAP_BOOT") from Linus' tree and commit 0dee1a241030 ("ext4: swap all the extent_status LRU fields during EXT4_IOC_SWAP_BOOT")

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 2:17, Sergei Shtylyov wrote: > On 08/12/2013 05:25 PM, Libo Chen wrote: > >> Use the wrapper functions for getting and setting the driver data using >> platform_device instead of using dev_{get,set}_drvdata() with >dev, >> so we can directly pass a struct platform_device. > >>

Re: [PATCH 8/8] net: davinci_mdio: use platform_{get,set}_drvdata()

2013-08-12 Thread Libo Chen
On 2013/8/13 4:04, David Miller wrote: > From: Sergei Shtylyov > Date: Mon, 12 Aug 2013 22:17:47 +0400 > >>Doesn't get described as well. I think you're mixing two types of >>changes in one patchset. > > Agreed, you're going to have to redo this entire patch set. > okay, I will redo!

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Carsten Emde
On 08/13/2013 02:47 AM, Paul Gortmaker wrote: On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: On Mon, 12 Aug 2013 18:34:13 +0200 Sebastian Andrzej Siewior wrote: Dear RT folks! I'm pleased to announce the v3.10.6-rt3 patch set. Does this mean that I can drop 3.6-rt in favor of

[PATCH] Update e-mail address for Andrea Merello

2013-08-12 Thread andrea.merello
From: "andrea.merello" A lot of files contains reference to my old e-mail address. Now I'm going not to read mail from it anymore, so update it with my current address everywhere. Signed-off-by: andrea.merello --- drivers/net/wireless/rtl818x/rtl8180/dev.c | 6 +++---

Re: [PATCHSET cgroup/for-3.12] cgroup: decouple cgroup_subsys_state lifetime from that of cgroup

2013-08-12 Thread Li Zefan
On 2013/8/9 4:13, Tejun Heo wrote: > Hello, > > Currently a css's (cgroup_subsys_state) lifetime is tied to that of > the cgroup it's attached to. css's are created when the cgroup is > created and destroyed together. The access rules depend on it too - > e.g. css's can be dereferenced while

[PATCH 1/2] cpuset: remove an unncessary forward declaration

2013-08-12 Thread Li Zefan
Signed-off-by: Li Zefan --- kernel/cpuset.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/kernel/cpuset.c b/kernel/cpuset.c index bf69717..9d8d637 100644 --- a/kernel/cpuset.c +++ b/kernel/cpuset.c @@ -68,9 +68,6 @@ */ int number_of_cpusets __read_mostly; -/* Forward declare cgroup

[PATCH 2/2] cpuset: remove redundant checks in file write functions

2013-08-12 Thread Li Zefan
Now cgroup core gets a reference to the css when a cgroup file is opened(), and the reference is dropped at file release. so it's guaranteed the cpuset is online during the write function. Signed-off-by: Li Zefan --- kernel/cpuset.c | 10 ++ 1 file changed, 2 insertions(+), 8

Re: [PATCH V3 RFC 00/16] EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:02 AM, Mark Salter wrote: > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: >> * Change FDT memory allocation to retry with a larger allocation if >> first educated guess is inadequate. > > With this change, it looks like you no longer free the original cmdline >

Re: [PATCH v3 08/12] dma: edma: Add one more required slot to MAX slots

2013-08-12 Thread Joel Fernandes
On 08/12/2013 12:56 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> We'd now need a separate slot just for the channel and separate >> ones for the 2 linked sets, so we make adjustments to allocate >> an extra channel accordingly. >> >> Signed-off-by: Joel

Re: [PATCH v3 07/12] dma: edma: Add function to dump a PaRAM set from PaRAM

2013-08-12 Thread Joel Fernandes
On 08/12/2013 12:52 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> Previously, such a dump function was used but it wasn't reading >> from the PaRAM, rather just from a edmacc_param structure, we >> add a helpful function for debugging that directly reads from

Re: Cannot hot remove a memory device

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:45 +0200, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 02:40:43 PM Toshi Kani wrote: > > On Sun, 2013-08-11 at 23:13 +0200, Rafael J. Wysocki wrote: > > > On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > > > > On Fri, 2013-08-09 at 00:12 +0200, Rafael

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 20:47:18 -0400 Paul Gortmaker wrote: > On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: > > On Mon, 12 Aug 2013 18:34:13 +0200 > > Sebastian Andrzej Siewior wrote: > > > >> Dear RT folks! > >> > >> I'm pleased to announce the v3.10.6-rt3 patch set. > > > > > > Does

Re: Non-enumerable devices on USB and other enumerable buses

2013-08-12 Thread Alan Stern
On Mon, 12 Aug 2013, Mark Brown wrote: > On Mon, Aug 12, 2013 at 01:50:07PM -0700, Greg Kroah-Hartman wrote: > > On Mon, Aug 12, 2013 at 12:23:44PM +0100, Mark Brown wrote: > > > > I don't think they're bus specific - the main issue with a lot of this > > > is that they're outside the

Re: [PATCH v3 09/12] dma: edma: Implement multiple linked sets for continuity

2013-08-12 Thread Joel Fernandes
On 08/12/2013 01:56 PM, Sekhar Nori wrote: > On Monday 05 August 2013 04:14 PM, Joel Fernandes wrote: >> Here we implement splitting up of the total MAX number of slots >> available for a channel into 2 cyclically linked sets. Transfer >> completion Interrupts are enabled on both linked sets and

Re: [PATCH v5] media: i2c: tvp7002: add OF support

2013-08-12 Thread Kumar Gala
On Aug 11, 2013, at 1:25 AM, Lad, Prabhakar wrote: > From: "Lad, Prabhakar" > > add OF support for the tvp7002 driver. > > Signed-off-by: Lad, Prabhakar > --- > This patch depends on https://patchwork.kernel.org/patch/2842680/ > > Changes for v5: > 1: Fixed review comments pointed by Hans.

Re: [PATCH 0/2] Protect cpu map updates from ACPI processor

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:43 +0200, Rafael J. Wysocki wrote: > On Monday, August 12, 2013 09:45:52 AM Toshi Kani wrote: > > CPU system maps are protected with reader/writer locks. The reader > > lock, put_online_cpus(), assures that the maps are not updated while > > holding the lock. The writer

Re: [PATCH 4/9] PCI: mvebu: add support for reset on GPIO

2013-08-12 Thread Kumar Gala
On Aug 12, 2013, at 1:46 PM, Sebastian Hesselbarth wrote: > This patch adds a check for DT passed reset-gpios property and deasserts/ > asserts reset pin on probe/remove with configurable delay. Corresponding > binding documentation is also updated. > > Signed-off-by: Sebastian Hesselbarth >

Re: [ANNOUNCE] 3.10.6-rt3

2013-08-12 Thread Paul Gortmaker
On Mon, Aug 12, 2013 at 3:48 PM, Steven Rostedt wrote: > On Mon, 12 Aug 2013 18:34:13 +0200 > Sebastian Andrzej Siewior wrote: > >> Dear RT folks! >> >> I'm pleased to announce the v3.10.6-rt3 patch set. > > > Does this mean that I can drop 3.6-rt in favor of 3.8-rt? I'd guess that the

Re: [PATCH] driver core / cpu: Check if NUMA node is valid before bringing CPU up

2013-08-12 Thread Toshi Kani
On Tue, 2013-08-13 at 02:39 +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > There is a potential race condition between cpu_subsys_online() > and either acpi_processor_remove() or remove_memory() that execute > try_offline_node(). Namely, it is possible that cpu_subsys_online() >

Re: Cannot hot remove a memory device

2013-08-12 Thread Rafael J. Wysocki
On Monday, August 12, 2013 02:40:43 PM Toshi Kani wrote: > On Sun, 2013-08-11 at 23:13 +0200, Rafael J. Wysocki wrote: > > On Thursday, August 08, 2013 04:50:42 PM Toshi Kani wrote: > > > On Fri, 2013-08-09 at 00:12 +0200, Rafael J. Wysocki wrote: > > > > On Thursday, August 08, 2013 11:15:20 AM

Re: [PATCH 11/16] arch/arm/mach-pxa/palmtreo.c: Avoid using ARRAY_AND_SIZE(e) as a function argument

2013-08-12 Thread Tomas Cech
On Sun, Aug 11, 2013 at 06:51:52PM +0200, Julia Lawall wrote: From: Julia Lawall Replace ARRAY_AND_SIZE(e) in function argument position to avoid hiding the arity of the called function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ expression

Re: [PATCH 0/2] Protect cpu map updates from ACPI processor

2013-08-12 Thread Rafael J. Wysocki
On Monday, August 12, 2013 09:45:52 AM Toshi Kani wrote: > CPU system maps are protected with reader/writer locks. The reader > lock, put_online_cpus(), assures that the maps are not updated while > holding the lock. The writer lock, cpu_hotplug_begin(), is used to > udpate the cpu maps along

Re: [PATCH] fix a Sparse warning in the arch/x86/kernel/irq_work.c file

2013-08-12 Thread Steven Rostedt
On Mon, 12 Aug 2013 15:18:16 -0700 Shailaja Neelam wrote: > I am a high school student trying to become familiar with the > opensource process and linux kernel. This is my first submission to > the ITC mailing list. Hi Shailaja, Welcome to Linux kernel development :-) > > My patch is for the

[PATCH] driver core / cpu: Check if NUMA node is valid before bringing CPU up

2013-08-12 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There is a potential race condition between cpu_subsys_online() and either acpi_processor_remove() or remove_memory() that execute try_offline_node(). Namely, it is possible that cpu_subsys_online() will run right after the CPUs NUMA node has been put offline and

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
On 08/12/2013 06:55 PM, Joel Fernandes wrote: > Dropped quite a few from the CC list... > > On 08/12/2013 02:15 AM, Sekhar Nori wrote: >> On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >>> Changes are made here for configuring existing parameters to support >>> DMA'ing them out in

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
Responding to other comments in this post, On 08/12/2013 02:15 AM, Sekhar Nori wrote: [..] >> if (unlikely(!echan || !sgl || !sg_len)) >> return NULL; >> @@ -262,8 +262,11 @@ static struct dma_async_tx_descriptor >> *edma_prep_slave_sg( >> >> edesc->pset_nr = sg_len; >>

Re: [GIT PULL] timers/nohz updates for 3.12

2013-08-12 Thread Frederic Weisbecker
On Mon, Aug 12, 2013 at 08:44:28PM +0200, Ingo Molnar wrote: > > * Frederic Weisbecker wrote: > > > Ingo, > > > > Please pull the timers/nohz branch that can be found at: > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > timers/nohz > > > > It mostly

Re: [PATCH 15/16] Add EFI stub for ARM

2013-08-12 Thread Roy Franz
On Mon, Aug 12, 2013 at 7:51 AM, Mark Salter wrote: > On Fri, 2013-08-09 at 16:26 -0700, Roy Franz wrote: >> +static int relocate_kernel(efi_system_table_t *sys_table, >> + unsigned long *zimage_addr, >> + unsigned long zimage_size, >> +

Re: [PATCH] x86: Fix booting with DEBUG_PAGE_ALLOC with more than 512G RAM

2013-08-12 Thread Yinghai Lu
On Mon, Aug 12, 2013 at 4:50 PM, Dave Hansen wrote: > On 08/12/2013 04:43 PM, Yinghai Lu wrote: >>> > commit 8170e6bed465b4b0c7687f93e9948aca4358a33b >>> > Author: H. Peter Anvin >>> > Date: Thu Jan 24 12:19:52 2013 -0800 >>> > >>> > x86, 64bit: Use a #PF handler to materialize early

Re: [PATCH v3 01/12] dma: edma: Setup parameters to DMA MAX_NR_SG at a time

2013-08-12 Thread Joel Fernandes
Dropped quite a few from the CC list... On 08/12/2013 02:15 AM, Sekhar Nori wrote: > On Monday 05 August 2013 09:44 PM, Joel Fernandes wrote: >> Changes are made here for configuring existing parameters to support >> DMA'ing them out in batches as needed. >> >> Also allocate as many as slots as

Re: [PATCH] x86: Fix booting with DEBUG_PAGE_ALLOC with more than 512G RAM

2013-08-12 Thread Dave Hansen
On 08/12/2013 04:43 PM, Yinghai Lu wrote: >> > commit 8170e6bed465b4b0c7687f93e9948aca4358a33b >> > Author: H. Peter Anvin >> > Date: Thu Jan 24 12:19:52 2013 -0800 >> > >> > x86, 64bit: Use a #PF handler to materialize early mappings on demand > Before that, we have maping from [0,512M) in

  1   2   3   4   5   6   7   8   9   10   >