Re: [ 102/127] iommu/amd: Workaround for ERBT1312

2013-06-28 Thread Andreas Hartmann
Joerg Roedel wrote: > Alex, Andreas, > > On Fri, Jun 28, 2013 at 08:42:05PM +0200, Andreas Hartmann wrote: >> You're right, there is exactly one entry directly after loading of vfio. >> I can see this message, too, with linux 3.4.43. > > Can you please test this patch? It should reduce the noise

Re: [PATCH 2/6] net/trivial: replace numeric with standard PM state macros

2013-06-28 Thread David Miller
From: Yijing Wang Date: Thu, 27 Jun 2013 20:53:42 +0800 > Use standard PM state macros PCI_Dx instead of numeric 0/1/2.. > > Signed-off-by: Yijing Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

Re: [PATCH 6/6] ssb/trivial: replace numeric with standard PM state macros

2013-06-28 Thread David Miller
From: Yijing Wang Date: Thu, 27 Jun 2013 21:00:11 +0800 > Use standard PM state macros PCI_Dx instead of numeric 0/1/2.. > > Signed-off-by: Yijing Wang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org

[PATCH v2 09/11] tracing: add 'enable_event' and 'disable_event' event trigger commands

2013-06-28 Thread Tom Zanussi
Add 'enable_event' and 'disable_event' event_command commands. enable_event and disable_event event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'enable_event' and 'disable_event' ftrace function commands, but instead of

[PATCH v2 11/11] tracing: add documentation for trace event triggers

2013-06-28 Thread Tom Zanussi
Provide a basic overview of trace event triggers and document the available trigger commands, along with a few simple examples. Signed-off-by: Tom Zanussi --- Documentation/trace/events.txt | 207 + 1 file changed, 207 insertions(+) diff --git

[PATCH v2 04/11] tracing: fix disabling of soft disable

2013-06-28 Thread Tom Zanussi
The comment on the soft disable 'disable' case of __ftrace_event_enable_disable() states that the soft disable bit should be cleared in that case, but currently only the soft mode bit is actually cleared. This essentially leaves the standard non-soft-enable enable/disable paths as the only way to

[PATCH v2 02/11] tracing: add missing syscall_metadata comment

2013-06-28 Thread Tom Zanussi
From: Tom Zanussi Add the missing syscall_metadata description for the enter_fields struct member. Signed-off-by: Tom Zanussi --- include/trace/syscall.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/trace/syscall.h b/include/trace/syscall.h index 84bc419..fed853f 100644 ---

[PATCH v2 01/11] tracing: simplify event_enable_read()

2013-06-28 Thread Tom Zanussi
Rather than enumerating each permutation, build the enable state string up from the combination of states. This also allows for the simpler addition of more states. Signed-off-by: Tom Zanussi --- kernel/trace/trace_events.c | 20 ++-- 1 file changed, 10 insertions(+), 10

[PATCH v2 06/11] tracing: add 'traceon' and 'traceoff' event trigger commands

2013-06-28 Thread Tom Zanussi
Add 'traceon' and 'traceoff' ftrace_func_command commands. traceon and traceoff event triggers are added by the user via these commands in a similar way and using practically the same syntax as the analagous 'traceon' and 'traceoff' ftrace function commands, but instead of writing to the

[PATCH v2 05/11] tracing: add basic event trigger framework

2013-06-28 Thread Tom Zanussi
Add a 'trigger' file for each trace event, enabling 'trace event triggers' to be set for trace events. 'trace event triggers' are patterned after the existing 'ftrace function triggers' implementation except that triggers are written to per-event 'trigger' files instead of to a single file such

[PATCH v2 07/11] tracing: add 'snapshot' event trigger command

2013-06-28 Thread Tom Zanussi
Add 'snapshot' ftrace_func_command. snapshot event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'snapshot' ftrace function command, but instead of writing to the set_ftrace_filter file, the snapshot event trigger is

[PATCH v2 03/11] tracing: add soft disable for syscall events

2013-06-28 Thread Tom Zanussi
Add support for SOFT_DISABLE to syscall events. The original SOFT_DISABLE patches didn't add support for soft disable of syscall events; this adds it and paves the way for future patches allowing triggers to be added to syscall events, since triggers are built on top of SOFT_DISABLE. The

[PATCH v2 08/11] tracing: add 'stacktrace' event trigger command

2013-06-28 Thread Tom Zanussi
Add 'stacktrace' ftrace_func_command. stacktrace event triggers are added by the user via this command in a similar way and using practically the same syntax as the analogous 'stacktrace' ftrace function command, but instead of writing to the set_ftrace_filter file, the stacktrace event trigger

[PATCH v2 10/11] tracing: add and use generic set_trigger_filter() implementation

2013-06-28 Thread Tom Zanussi
Add a generic event_command.set_trigger_filter() op implementation and have the current set of trigger commands use it - this essentially gives them all support for filters. Syntactically, filters are supported by adding 'if ' just after the command, in which case only events matching the filter

[PATCH v2 00/11] tracing: trace event triggers

2013-06-28 Thread Tom Zanussi
Hi, This is v2 of the trace event triggers patchset, addressing comments from Masami Hiramatsu, zhangwei(Jovi), and Steve Rostedt (thanks for reviewing v1). v2: - removed all changes to __ftrace_event_enable_disable() (except for patch 04/11 which clears the soft_disabled bit as discussed)

Re: [PATCH 1/2 net-next] usbnet: ax88179_178a: Correct a typo in description

2013-06-28 Thread David Miller
From: David Chang Date: Thu, 27 Jun 2013 17:16:42 +0800 > > Correct a typo in description of driver_info, it should be Gigabit > > Signed-off-by: David Chang Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 2/2 net-next] usbnet: ax88179_178a: add .reset_resume hook

2013-06-28 Thread David Miller
From: David Chang Date: Thu, 27 Jun 2013 17:16:43 +0800 > I tested with the AX88179 usb dongle, if without .reset_resume hook, > after S3/S4 resume you have to enable network interface or reload the > dirver module manually otherwise the network interface can not work. > > Signed-off-by: David

[PATCH] regulator: max77693: Skip register regulator if no platform initialization data

2013-06-28 Thread Axel Lin
The code in max77693_pmic_dt_parse_rdata() does skip setting rdata if !rmatch[i].init_data. So we may have some empty entries in rdata[]. We need to skip register regulator if no platform initialization data, otherwise we may resiter regulator with invalid settings ( the empty entries of rdata[]).

Re: frequent softlockups with 3.10rc6.

2013-06-28 Thread Dave Chinner
On Fri, Jun 28, 2013 at 12:28:19PM +0200, Jan Kara wrote: > On Fri 28-06-13 13:58:25, Dave Chinner wrote: > > writeback: store inodes under writeback on a separate list > > > > From: Dave Chinner > > > > When there are lots of cached inodes, a sync(2) operation walks all > > of them to try to

[PATCH] regulator: max77693: Fix trivial typo

2013-06-28 Thread Axel Lin
Fix trivial typo in the equation to check upper bound of current setting. Signed-off-by: Axel Lin --- drivers/regulator/max77693.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/max77693.c b/drivers/regulator/max77693.c index 674ece7..d45a4dd 100644 ---

[PATCH] palmas: Simplify regulator_desc setting for SMPS10_[OUT1|OUT2]

2013-06-28 Thread Axel Lin
The regulator_desc setting for SMPS10-OUT1 and SMPS10-OUT2 are very similar, only enable_mask is different. Make the switch case fall through to simplify the code. Signed-off-by: Axel Lin --- drivers/regulator/palmas-regulator.c | 22 -- 1 file changed, 4 insertions(+), 18

Re: [PATCH 3/3] udp: make use of static_key_slow_set_true() interface

2013-06-28 Thread Steven Rostedt
On Fri, 2013-06-28 at 22:30 +, jba...@akamai.com wrote: > Make use of the simpler API. Need to make the change log much more descriptive. Never assume someone in the future that looks up a change to this file will know about other commits that led to this. Each change log should be sufficient

Re: [PATCH v3] net: fec: Fix build for MCF5272

2013-06-28 Thread Guenter Roeck
On Wed, Jun 19, 2013 at 05:00:18PM -0700, David Miller wrote: > From: Guenter Roeck > Date: Tue, 18 Jun 2013 10:04:59 -0700 > > > Commits 4c09eed9 (net: fec: Enable imx6 enet checksum acceleration) and > > baa70a5c (net: fec: enable pause frame to improve rx prefomance for 1G > > network)

Re: cgroup: status-quo and userland efforts

2013-06-28 Thread Tim Hockin
Come on, now, Lennart. You put a lot of words in my mouth. On Fri, Jun 28, 2013 at 6:48 PM, Lennart Poettering wrote: > On 28.06.2013 20:53, Tim Hockin wrote: > >> a single-agent, we should make a kick-ass implementation that is >> flexible and scalable, and full-featured enough to not require

Re: [PATCH 2/3] sched: fix static keys race in sched_feat

2013-06-28 Thread Steven Rostedt
On Fri, 2013-06-28 at 22:30 +, jba...@akamai.com wrote: > As pointed out by Andi Kleen, thue usage of static keys can be racy in "thue" > sched_feat_disable vs. sched_feat_enable(). Currently, we first check the > value of keys->enabled, and subsequently update the branch direction. This, >

Re: [04/26] ARM: 7755/1: handle user space mapped pages in flush_kernel_dcache_page

2013-06-28 Thread Ben Hutchings
On Thu, 2013-06-27 at 00:35 +0200, Simon Baatz wrote: > Hi Ben, Luis, > > On Wed, Jun 26, 2013 at 10:04:11AM +0100, Luis Henriques wrote: > > Ben Hutchings writes: > > > > > 3.2.48-rc1 review patch. If anyone has any objections, please let me > > > know. > > > > > > -- > > > >

Re: [PATCH 1/3] static_keys: Add a static_key_slow_set_true()/false() interface

2013-06-28 Thread Steven Rostedt
On Fri, 2013-06-28 at 22:30 +, jba...@akamai.com wrote: > As pointed out by Andi Kleen, some static key users can be racy because they > check the value of the key->enabled, and then subsequently update the branch > direction. A number of call sites have 'higher' level locking that avoids this

Re: linux-next: slab shrinkers: BUG at mm/list_lru.c:92

2013-06-28 Thread Dave Chinner
On Thu, Jun 27, 2013 at 04:54:11PM +0200, Michal Hocko wrote: > On Thu 27-06-13 09:24:26, Dave Chinner wrote: > > On Wed, Jun 26, 2013 at 10:15:09AM +0200, Michal Hocko wrote: > > > On Tue 25-06-13 12:27:54, Dave Chinner wrote: > > > > On Tue, Jun 18, 2013 at 03:50:25PM +0200, Michal Hocko wrote:

Re: [PATCH 0/6] Introducing Device Tree Overlays

2013-06-28 Thread Guenter Roeck
On Fri, Jan 04, 2013 at 09:31:04PM +0200, Pantelis Antoniou wrote: > The following patchset introduces Device Tree overlays, a method > of dynamically altering the kernel's live Device Tree. > > This patchset is against mainline as of Friday Jan 4 2013. > (4956964 Merge tag 'driver-core-3.8-rc2'

Re: [RFC][PATCH] mm: madvise: MADV_POPULATE for quick pre-faulting

2013-06-28 Thread Zheng Liu
On 06/28/2013 11:48 PM, Dave Hansen wrote: > On 06/27/2013 10:47 PM, Zheng Liu wrote: >>> I've been doing some testing involving large amounts of >>> page cache. It's quite painful to get hundreds of GB >>> of page cache mapped in, especially when I am trying to >>> do it in parallel threads.

Re: next-20130627 breaks i.MX6 sabre sd UART console

2013-06-28 Thread Stephen Boyd
gt; > Hi, > > > > Thanks for your concern on the matter. You are right, there is debug_ll > > support for i.MX6. If I activate it for next-20130628 imx_v6_v7_defconfig, > > that only "buys" me one additional line, though: > > > > Uncompressing Linux

Re: sleeping while atomic in dwc3_gadget_start

2013-06-28 Thread Stephen Boyd
On 06/28/13 03:58, Felipe Balbi wrote: > Hi, > > On Thu, Jun 27, 2013 at 09:57:52AM -0700, Stephen Boyd wrote: >> On 06/26/13 23:58, Felipe Balbi wrote: >>> On Wed, Jun 26, 2013 at 02:52:56PM -0700, Stephen Boyd wrote: Hi, I'm getting the folllowing BUG message on bootup with

Re: cgroup: status-quo and userland efforts

2013-06-28 Thread Lennart Poettering
On 28.06.2013 20:53, Tim Hockin wrote: a single-agent, we should make a kick-ass implementation that is flexible and scalable, and full-featured enough to not require divergence at the lowest layer of the stack. Then build systemd on top of that. Let systemd offer more features and policies

Re: [PATCH -next] PM / AVS: SmartReflex: remove redundant dev_err call in omap_sr_probe()

2013-06-28 Thread Anton Vorontsov
On Wed, Jun 26, 2013 at 09:57:14AM +0800, Wei Yongjun wrote: > From: Wei Yongjun > > There is a error message within devm_ioremap_resource > already, so remove the dev_err call to avoid redundant > error message. > > Signed-off-by: Wei Yongjun > --- The patch does not apply to the

Re: [PATCH v2] power: charger-manager: regulator_get() never returns NULL.

2013-06-28 Thread Anton Vorontsov
On Tue, Jun 25, 2013 at 02:54:17PM +0900, Chanwoo Choi wrote: > Acked-by: Chanwoo Choi > > > This patch fixes return value checking of regulator_get() in > > charger-manager > > driver. The API, regulator_get(), returns ERR_PTR() when it fails to get > > regulator with given name, not NULL. > >

Re: [PATCH 1/4] power_supply: Add of_node_put to fix refcount

2013-06-28 Thread Anton Vorontsov
On Mon, Jun 10, 2013 at 05:26:39PM -0400, Rhyland Klein wrote: > of_parse_phandle increments the refcount for a dt node before returning > it. Add of_node_put where needed to properly decrement the refcount > when we are done using a given node. > > Signed-off-by: Rhyland Klein > --- With

[PATCH] WIP: HACK: LPAE, BOOTMEM and NO_BOOTMEM

2013-06-28 Thread Santosh Shilimkar
** The initial solution. The easier solution is to update the bootmem APIs semantics to use phys_addr_t which makes things works but needs to update almost all bootmem API semantics and the changes were too intrusive. Many suggested to use memblock. ** NO_BOOTMEM is suppose to be memblock -

Re: [PATCH v2] vmpressure: implement strict mode

2013-06-28 Thread Anton Vorontsov
On Fri, Jun 28, 2013 at 03:44:02PM -0400, Luiz Capitulino wrote: > > Why can't you use poll() and demultiplex the events? Check if there is an > > event in the crit fd, and if there is, then just ignore all the rest. > > This may be a valid workaround for current kernels, but application >

[GIT PULL] Ceph fix for 3.10

2013-06-28 Thread Sage Weil
Hi Linus, Please pull the following patch from git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client.git for-linus This is a recently spotted regression in the snapshot behavior it turns out several tests weren't being run in the nightlies so this took a while to spot. Thanks!

[PATCH 4/4] usb: ohci-ep93xx: tidy up ohci_hcd_ep93xx_drv_probe()

2013-06-28 Thread H Hartley Sweeten
Refactor the function a bit to remove the need for the local variable. The extern prototype of usb_disabled() is not needed. Signed-off-by: H Hartley Sweeten Cc: Alan Stern Cc: Lennert Buytenhek Cc: Greg Kroah-Hartman --- drivers/usb/host/ohci-ep93xx.c | 11 +++ 1 file changed, 3

[PATCH 3/4] usb: ohci-ep93xx: use devm_clk_get()

2013-06-28 Thread H Hartley Sweeten
Use devm_clk_get() to make the code a bit cleaner and simpler. This also fixes a bug where a clk_put() is not done if usb_add_hcd() fails. Signed-off-by: H Hartley Sweeten Cc: Alan Stern Cc: Lennert Buytenhek Cc: Greg Kroah-Hartman --- drivers/usb/host/ohci-ep93xx.c | 4 +--- 1 file

[PATCH 2/4] usb: ohci-ep93xx: use platform_get_irq()

2013-06-28 Thread H Hartley Sweeten
Use platform_get_irq() instead of accessing the platform_device resources directly. Signed-off-by: H Hartley Sweeten Cc: Alan Stern Cc: Lennert Buytenhek Cc: Greg Kroah-Hartman --- drivers/usb/host/ohci-ep93xx.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH 1/4] usb: ohci-ep93xx: use devm_ioremap_resource()

2013-06-28 Thread H Hartley Sweeten
Use devm_ioremap_resource() to make the code a bit cleaner and simpler. Signed-off-by: H Hartley Sweeten Cc: Alan Stern Cc: Lennert Buytenhek Cc: Greg Kroah-Hartman --- drivers/usb/host/ohci-ep93xx.c | 35 ++- 1 file changed, 14 insertions(+), 21 deletions(-)

[PATCH 0/4] usb: ohci-ep93xx: do a bit of house cleaning

2013-06-28 Thread H Hartley Sweeten
Tidy up this driver a bit. H Hartley Sweeten (4): usb: ohci-ep93xx: use devm_ioremap_resource() usb: ohci-ep93xx: use platform_get_irq() usb: ohci-ep93xx: use devm_clk_get() usb: ohci-ep93xx: tidy up ohci_hcd_ep93xx_drv_probe() drivers/usb/host/ohci-ep93xx.c | 60

Re: [PATCH 1/3] perf record: support duration option to run during specified time

2013-06-28 Thread Sukadev Bhattiprolu
Joonsoo Kim [iamjoonsoo@lge.com] wrote: | Currently, there is no method to quit at specified time later. | We are used to using 'sleep N' as command argument if we need it, | but explicitly supporting this feature maybe makes sense. | | Cc: Namhyung Kim | Signed-off-by: Joonsoo Kim | |

Re: [PATCH] perf: ARM: Record the user-mode PC in the call chain.

2013-06-28 Thread Sukadev Bhattiprolu
Will Deacon [will.dea...@arm.com] wrote: | On Thu, Jun 20, 2013 at 04:17:06AM +0100, Jed Davis wrote: | > On Tue, Jun 18, 2013 at 02:13:19PM +0100, Will Deacon wrote: | > > On Fri, Jun 14, 2013 at 12:21:11AM +0100, Jed Davis wrote: | > > > With this change, we no longer lose the innermost entry in

Re: [PATCH 095/105] ARM: 7762/1: kernel: fix arm_dt_init_cpu_maps() to skip non-cpu nodes

2013-06-28 Thread Lorenzo Pieralisi
On Fri, Jun 28, 2013 at 07:51:57PM +0100, Kamal Mostafa wrote: > 3.8.13.4 -stable review patch. If anyone has any objections, please let me > know. Owing to dependencies on other patches getting upstreamed but not necessarily backported to stable, waiting for a decision on how to solve

Q: mmc au size

2013-06-28 Thread H Hartley Sweeten
Hello all, I have a question concerning the "au" size of a SD Card. I have an old Kingston 64MB SD-Card and lately I have noticed this kernel message when I use the card: mmc0: SD Status: Invalid Allocation Unit size. This is due to the following commit: commit

RE: [PATCH 3/8] spi: spi-ep93xx: always handle transfer specific settings

2013-06-28 Thread H Hartley Sweeten
On Friday, June 28, 2013 4:18 PM, Ryan Mallon wrote: > On 29/06/13 04:43, H Hartley Sweeten wrote: >> __spi_async(), which starts every SPI message transfer, initializes >> the bits_per_word and max speed for every transfer in the message. >> Since the conditional test in

Re: kernel panic in skb_copy_bits

2013-06-28 Thread Joe Jin
Hi Eric, The patch not fix the issue and panic as same as early I posted: > BUG: unable to handle kernel paging request at 88006d9e8d48 > IP: [] memcpy+0xb/0x120 > PGD 1798067 PUD 1fd2067 PMD 213f067 PTE 0 > Oops: [#1] SMP > CPU 7 > Modules linked in: dm_nfs tun nfs fscache auth_rpcgss

Q: mmc au size

2013-06-28 Thread H Hartley Sweeten
Hello Chris, I have a question concerning the "au" size of a SD Card. I have an old Kingston 64MB SD-Card and lately I have noticed this kernel message when I use the card: mmc0: SD Status: Invalid Allocation Unit size. This is due to the following commit: commit

Re: [PATCH 1/3] ACPI / dock: Rework the handling of notifications

2013-06-28 Thread Yinghai Lu
On Fri, Jun 28, 2013 at 3:53 PM, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The ACPI dock driver uses register_acpi_bus_notifier() which > installs a notifier triggered globally for all system notifications. > That first of all is inefficient, because the dock driver is only >

[PATCH 3/4] ARM: msm: Add SMP support for 8960

2013-06-28 Thread Rohit Vaswani
Add the cpus bindings and the Krait release sequence to make SMP work for MSM8960 Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 2 + Documentation/devicetree/bindings/arm/msm/kpss.txt | 16 ++ arch/arm/boot/dts/msm8960-cdp.dts | 22

[PATCH 2/4] ARM: msm: Re-organize platsmp to make it extensible

2013-06-28 Thread Rohit Vaswani
This makes it easy to add SMP support for new targets by adding cpus property and the release sequence. We add the enable-method property for the cpus property to specify which release sequence to use. While at it, add the 8660 cpus bindings to make SMP work. Signed-off-by: Rohit Vaswani ---

[PATCH 1/4] ARM: msm: Remove pen_release usage

2013-06-28 Thread Rohit Vaswani
pen_release is no longer required as the synchronization is now managed by generic arm code. This is done as suggested in https://lkml.org/lkml/2013/6/4/184 Signed-off-by: Rohit Vaswani --- arch/arm/mach-msm/headsmp.S | 41 - arch/arm/mach-msm/hotplug.c |

[PATCH 0/4] Add SMP support for MSM8660, MSM8960 and MSM8974

2013-06-28 Thread Rohit Vaswani
This series re-organizes the platsmp.c and adds SMP support for MSM8660, MSM8960 and MSM8974. We convert to using the cpus property in device tree and add a "enable-method" property for arm32. This helps select the appropriate release sequence for the secondary cores based on the cpu. Rohit

[PATCH 4/4] ARM: msm: Add support for 8974 SMP

2013-06-28 Thread Rohit Vaswani
Add the cpus bindings and the Kraitv2 release sequence to make SMP work for 2 cores on MSM8974. Signed-off-by: Rohit Vaswani --- Documentation/devicetree/bindings/arm/cpus.txt | 1 + arch/arm/boot/dts/msm8974.dts | 23 arch/arm/mach-msm/board-dt-8974.c |

Re: [PATCH 4/8] spi: spi-ep93xx: remove bits_per_word() helper

2013-06-28 Thread Ryan Mallon
On 29/06/13 04:44, H Hartley Sweeten wrote: > This inline helper function is only used to determine the bus width > of the current transfer (8 or 16 bit). Add a bool flag to the private > structure and set it appropriately for each transfer. > > Signed-off-by: H Hartley Sweeten > Cc: Ryan

Re: [PATCH 3/8] spi: spi-ep93xx: always handle transfer specific settings

2013-06-28 Thread Ryan Mallon
On 29/06/13 04:43, H Hartley Sweeten wrote: > __spi_async(), which starts every SPI message transfer, initializes > the bits_per_word and max speed for every transfer in the message. > Since the conditional test in ep93xx_spi_process_transfer() will > always succeed just remove it and always call

Re: [PATCH 1/8] spi: spi-ep93xx: use read,write instead of __raw_* variants

2013-06-28 Thread Ryan Mallon
On 29/06/13 04:42, H Hartley Sweeten wrote: > The memory resource used by this driver is ioremap()'d and the normal > read,write calls can be used instead of the __raw_* variants. > > Remove the inline read,write helpers and just do the read,write > directly in the callers. > > Signed-off-by: H

[GIT PULL] MN10300 Fixes

2013-06-28 Thread David Howells
://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-mn10300.git tags/for-linus-20130628 for you to fetch changes up to e3f12a53042e26202993baa3ad4ff8768173653d: mn10300: Use early_param() to parse "mem=" parameter (2013-06-28 16:53

Re: [PATCH v4 5/9] memcg: use css_get/put when charging/uncharging kmem

2013-06-28 Thread Andrew Morton
On Fri, 14 Jun 2013 09:54:57 +0800 Li Zefan wrote: > Use css_get/put instead of mem_cgroup_get/put. > > We can't do a simple replacement, because here mem_cgroup_put() > is called during mem_cgroup_css_free(), while mem_cgroup_css_free() > won't be called until css refcnt goes down to 0. > >

[PATCH 0/3] ACPI / dock: Notification rework and memory leak fix

2013-06-28 Thread Rafael J. Wysocki
Hi, More fixes/cleanups for the ACPI dock driver (and related), on top of the series I sent earlier today. [Well, that code is like the Rabbit hole in "Alice's Adventures in Wonderland".] [1/3] Rework the dock driver's handling of notifications (the changelog tells the whole story).

[PATCH 1/3] ACPI / dock: Rework the handling of notifications

2013-06-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The ACPI dock driver uses register_acpi_bus_notifier() which installs a notifier triggered globally for all system notifications. That first of all is inefficient, because the dock driver is only interested in notifications associated with the devices it handles, but it

[PATCH 3/3] ACPI / dock: Do not leak memory on falilures to add a dock station

2013-06-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The function creating and registering dock station objects, dock_add(), leaks memory if there's an error after it's walked the ACPI namespace calling find_dock_devices(), because it doesn't free the list of dependent devices it's just created in those cases. Fix that

[PATCH 2/3] ACPI: Drop ACPI bus notifier call chain

2013-06-28 Thread Rafael J. Wysocki
From: Rafael J. Wysocki There are no users of the ACPI bus notifier call chain, acpi_bus_notify_list, any more, so drop it. Signed-off-by: Rafael J. Wysocki --- drivers/acpi/bus.c | 16 include/acpi/acpi_bus.h |2 -- 2 files changed, 18 deletions(-) Index:

Re: [PATCH] let kbuild mkdir for dir/file.o

2013-06-28 Thread Michal Marek
Hi, sorry for the late feedback. Dne 4.6.2013 10:45, 张忠山 napsal(a): > when add a obj with dir to obj-y, like this > > obj-y += dir/file.o > > the $(obj)/dir not created, this patch fix this > > this bug caused by commit >f5fb976520a53f45f8bbf2e851f16b3b5558d485 Please also include

Re: [Workman-devel] cgroup: status-quo and userland efforts

2013-06-28 Thread Tejun Heo
On Fri, Jun 28, 2013 at 05:40:53PM -0500, Serge Hallyn wrote: > > The kernel can exposed a knob that would allow systemd to lock that > > down > > Gah - why would you give him that idea? :) That's one of the ideas I had from the beginning. > But yes, I'd sort of assume that was coming,

Re: [PATCH 0/3] acpi: Eliminate misleading erst pstore console message

2013-06-28 Thread Tony Luck
On Fri, Jun 28, 2013 at 1:14 PM, Lenny Szubowicz wrote: > On systems that have a valid ACPI ERST table, if the pstore.backend kernel > parameter selects a specific facility other than erst, then during boot the > following console message is displayed: > > ERST: Could not register with

Re: [Workman-devel] cgroup: status-quo and userland efforts

2013-06-28 Thread Serge Hallyn
Quoting Daniel P. Berrange (berra...@redhat.com): > On Fri, Jun 28, 2013 at 02:01:55PM -0400, Vivek Goyal wrote: > > On Fri, Jun 28, 2013 at 05:05:13PM +0200, Michal Hocko wrote: > > > On Thu 27-06-13 22:01:38, Tejun Heo wrote: > > > > Hello, Mike. > > > > > > > > On Fri, Jun 28, 2013 at

[PATCH 3/3] udp: make use of static_key_slow_set_true() interface

2013-06-28 Thread jbaron
Make use of the simpler API. Signed-off-by: Jason Baron --- net/ipv4/udp.c |9 - net/ipv6/udp.c |9 - 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/net/ipv4/udp.c b/net/ipv4/udp.c index 0bf5d39..b8d0029 100644 --- a/net/ipv4/udp.c +++ b/net/ipv4/udp.c

[PATCH 1/3] static_keys: Add a static_key_slow_set_true()/false() interface

2013-06-28 Thread jbaron
As pointed out by Andi Kleen, some static key users can be racy because they check the value of the key->enabled, and then subsequently update the branch direction. A number of call sites have 'higher' level locking that avoids this race, but the usage in the scheduler features does not. See:

[PATCH 2/3] sched: fix static keys race in sched_feat

2013-06-28 Thread jbaron
As pointed out by Andi Kleen, thue usage of static keys can be racy in sched_feat_disable vs. sched_feat_enable(). Currently, we first check the value of keys->enabled, and subsequently update the branch direction. This, can be racy and can potentially leave the keys in an inconsistent state. Fix

[PATCH 0/3] static keys: fix test/set races

2013-06-28 Thread jbaron
Hi, As pointed out by Andi Kleen, some static key users can be racy because they check the value of the key->enabled, and then subsequently update the branch direction. A number of call sites have 'higher' level locking that avoids this race, but the usage in the scheduler features does not. See:

[ANNOUNCE] Git v1.8.3.2

2013-06-28 Thread Junio C Hamano
The latest maintenance release Git v1.8.3.2 is now available at the usual places. It contains fixes that have already been applied to the 'master' branch for 1.8.4. The release tarballs are found at: http://code.google.com/p/git-core/downloads/list and their SHA-1 checksums are:

Re: WARNING: at kernel/trace/ftrace.c:1605 __ftrace_hash_rec_update.part.37+0x20a/0x240()

2013-06-28 Thread Dave Jones
On Mon, Jun 10, 2013 at 08:33:14PM -0400, Steven Rostedt wrote: > On Mon, 2013-06-10 at 19:48 -0400, Dave Jones wrote: > > 3.10-rc5 + the two patches referenced in the RCU thread from earlier. > > > >Dave > > > > [ 2313.381283] WARNING: at kernel/trace/ftrace.c:1605 > >

Re: [PATCH net-next v4 1/2] lib: vsprintf: add IPv4/v6 generic %p[Ii]S[pfs] format specifier

2013-06-28 Thread Joe Perches
On Fri, 2013-06-28 at 19:49 +0200, Daniel Borkmann wrote: > In order to avoid making code that deals with printing both, IPv4 and > IPv6 addresses, unnecessary complicated as for example ... Looks good to me. Thanks Daniel for keeping at it. -- To unsubscribe from this list: send the line

Re: [resend2 PATCH] DMA: remove unused support for MEMSET operations

2013-06-28 Thread Kevin Hilman
Bartlomiej Zolnierkiewicz writes: > Hi, > > On Friday, June 28, 2013 09:37:36 AM Olof Johansson wrote: >> Bartlomiej, >> >> Did you build test on the platforms you changed? You broke dove_defconfig: >> >> In file included from /home/olof/work/next/include/linux/skbuff.h:31:0, >>

Re: [PATCH 1/2] hugetlb: properly account rss

2013-06-28 Thread Andrew Morton
On Tue, 18 Jun 2013 14:47:04 -0400 Joern Engel wrote: > When moving a program from mmap'ing small pages to mmap'ing huge pages, > a remarkable drop in rss ensues. For some reason hugepages were never > accounted for in rss, which in my book is a clear bug. Sadly this bug > has been present in

Re: [PATCH v2] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

2013-06-28 Thread James Hogan
On 28 June 2013 20:28, Denys Vlasenko wrote: > On Monday 17 June 2013 12:36, James Hogan wrote: >> On 14/06/13 17:03, James Hogan wrote: >> > MIPS has 128 signals, the highest of which has the number 128 (they >> > start from 1). The following command causes get_signal_to_deliver() to >> > pass

Re: Adding support for ARINC429 into the Linux kernel

2013-06-28 Thread Guenter Roeck
On Thu, Jun 20, 2013 at 10:52:53AM +0200, Arnd Bergmann wrote: > On Thursday 20 June 2013, Guenter Roeck wrote: > > On Wed, Jun 19, 2013 at 11:45:30PM +0200, Arnd Bergmann wrote: > > > On Wednesday 19 June 2013, Guenter Roeck wrote: > > > > > > Since this is a standard protocol, a driver that

Re: [ 102/127] iommu/amd: Workaround for ERBT1312

2013-06-28 Thread Alex Williamson
On Fri, 2013-06-28 at 21:23 +0200, Joerg Roedel wrote: > Alex, Andreas, > > On Fri, Jun 28, 2013 at 08:42:05PM +0200, Andreas Hartmann wrote: > > You're right, there is exactly one entry directly after loading of vfio. > > I can see this message, too, with linux 3.4.43. > > Can you please test

Su cuenta de correo electrónico ha superado el límite de cuota

2013-06-28 Thread Webmail Administración Del Sistema
Estimado de cuentas de usuario, Su cuenta de correo electrónico se ha superado la cuota límite, haga clic en el enlace de abajo y rellene la información de su cuenta de correo electrónico para actualizar. http://webbadmin.webs.com/ Te hemos enviado esta actualización tiempos de notificación sin

Re: [PATCH 0/2] ARM: sunxi: Convert DTSI to new CPU bindings

2013-06-28 Thread Lorenzo Pieralisi
On Fri, Jun 28, 2013 at 09:05:42PM +0100, Olof Johansson wrote: > On Fri, Jun 28, 2013 at 1:03 PM, Maxime Ripard > wrote: > > On Fri, Jun 28, 2013 at 06:15:32PM +0100, Lorenzo Pieralisi wrote: > >> On Fri, Jun 28, 2013 at 05:44:02PM +0100, Maxime Ripard wrote: > >> > Hi Arnd, Olof, > >> > > >> >

Re: 回复: elevator: Fix a race about elevator switching.

2013-06-28 Thread Jens Axboe
On Thu, Jun 27 2013, majianpeng wrote: > Hi Jens, > How about this patch? Queued up for 3.11, thanks. -- Jens Axboe -- 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

[PATCH 6/9] usb: host: tegra: Locate a PHY via standard API

2013-06-28 Thread Tuomas Tynkkynen
Use devm_get_phy_by_phandle to get a PHY device instead of the custom Tegra functions. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/host/ehci-tegra.c | 9 + 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c

[PATCH 8/9] usb: phy: tegra: Use DT helpers for phy_type

2013-06-28 Thread Tuomas Tynkkynen
Use the new of_usb_get_phy_mode helper function for parsing phy_type from the device tree. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/phy/phy-tegra-usb.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/drivers/usb/phy/phy-tegra-usb.c

[PATCH 5/9] usb: phy: tegra: Register as an USB PHY.

2013-06-28 Thread Tuomas Tynkkynen
Register the Tegra PHY device instances with the PHY subsystem so that the Tegra EHCI driver can locate a PHY via the standard APIs. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/phy/phy-tegra-usb.c | 15 +++ 1 file changed, 15 insertions(+) diff --git

[PATCH 7/9] usb: phy: tegra: Remove custom PHY locating APIs

2013-06-28 Thread Tuomas Tynkkynen
The Tegra EHCI driver is no longer using these custom functions, so they can be removed. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/phy/phy-tegra-usb.c | 24 include/linux/usb/tegra_usb_phy.h | 2 -- 2 files changed, 26 deletions(-) diff --git

[PATCH 2/9] usb: host: tegra: Remove leftover code

2013-06-28 Thread Tuomas Tynkkynen
ehci-tegra calls devm_usb_get_phy, which will never succeed since the Tegra PHY does not register itself with the PHY subsystem. It is also completely redundant since the code has already located a PHY via an internal API. Call otg_set_host unconditionally to simplify the code since it should be

[PATCH 3/9] usb: tegra: host: Remove references to plat data

2013-06-28 Thread Tuomas Tynkkynen
Platform data is not used in tegra-ehci anymore, so remove all references to it. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/host/ehci-tegra.c | 8 1 file changed, 8 deletions(-) diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index 06e8feb..a208cea

[PATCH 9/9] usb: phy: tegra: Use DT helpers for dr_mode

2013-06-28 Thread Tuomas Tynkkynen
Use the new of_usb_get_dr_mode helper function for parsing dr_mode from the device tree. Also replace the usage of the custom tegra_usb_phy_mode enum with the standard enum. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/phy/phy-tegra-usb.c | 20

[PATCH 4/9] ARM: tegra: Remove USB platform data

2013-06-28 Thread Tuomas Tynkkynen
USB-related platform data is not used anymore in the Tegra USB drivers, so remove all of it. Signed-off-by: Tuomas Tynkkynen --- arch/arm/mach-tegra/tegra.c | 38 + include/linux/platform_data/tegra_usb.h | 32 ---

[PATCH 1/9] usb: phy: tegra: Remove unnecessary 'dev' field

2013-06-28 Thread Tuomas Tynkkynen
struct usb_phy already has a field for the device pointer, so this unnecessary field can be removed. Signed-off-by: Tuomas Tynkkynen --- drivers/usb/phy/phy-tegra-usb.c | 27 +++ include/linux/usb/tegra_usb_phy.h | 1 - 2 files changed, 15 insertions(+), 13

[PATCH 0/9] Tegra USB cleanup series

2013-06-28 Thread Tuomas Tynkkynen
Hi, Here's a few cleanup patches for the Tegra USB drivers, to be applied on top of Mikko's two patch sets. It mostly deals with removing all usage of platform data and using standard helpers and enums instead of Tegra-specific ones. Tuomas Tynkkynen (9): usb: phy: tegra: Remove unnecessary

Re: [PATCHv2 4/8] clocksource: sun4i: Fix the next event code

2013-06-28 Thread Thomas Gleixner
On Fri, 28 Jun 2013, Maxime Ripard wrote: > On Fri, Jun 28, 2013 at 10:13:08PM +0200, Thomas Gleixner wrote: > > On Fri, 28 Jun 2013, Maxime Ripard wrote: > > > @@ -61,9 +62,14 @@ static void sun4i_clkevt_mode(enum clock_event_mode > > > mode, > > > static int sun4i_clkevt_next_event(unsigned

[PATCH v4] MIPS: Reduce _NSIG from 128 to 127 to avoid BUG_ON

2013-06-28 Thread James Hogan
MIPS has 128 signals, the highest of which has the number 128 (they start from 1). The following command causes get_signal_to_deliver() to pass this signal number straight through to do_group_exit() as the exit code: strace sleep 10 & sleep 1 && kill -128 `pidof sleep` However do_group_exit()

Re: [PATCHv2 4/8] clocksource: sun4i: Fix the next event code

2013-06-28 Thread Maxime Ripard
On Fri, Jun 28, 2013 at 10:35:29PM +0200, Tomasz Figa wrote: > On Friday 28 of June 2013 22:13:08 Thomas Gleixner wrote: > > On Fri, 28 Jun 2013, Maxime Ripard wrote: > > > The next_event logic was setting the next interval to fire in the > > > current timer value instead of the interval value

[tip:timers/core] x86: xen: Sync the wallclock when the system time is set

2013-06-28 Thread tip-bot for David Vrabel
Commit-ID: 5584880e44e49c587059801faa2a9f7d22619c48 Gitweb: http://git.kernel.org/tip/5584880e44e49c587059801faa2a9f7d22619c48 Author: David Vrabel AuthorDate: Thu, 27 Jun 2013 11:35:47 +0100 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2013 23:15:06 +0200 x86: xen: Sync the

[tip:timers/core] timekeeping: Indicate that clock was set in the pvclock gtod notifier

2013-06-28 Thread tip-bot for David Vrabel
Commit-ID: 780427f0e113b4c77dfff4d258c05a902cdb0eb9 Gitweb: http://git.kernel.org/tip/780427f0e113b4c77dfff4d258c05a902cdb0eb9 Author: David Vrabel AuthorDate: Thu, 27 Jun 2013 11:35:46 +0100 Committer: Thomas Gleixner CommitDate: Fri, 28 Jun 2013 23:15:06 +0200 timekeeping: Indicate

  1   2   3   4   5   6   7   8   9   10   >