Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Eric Dumazet
On Tue, 2014-05-06 at 08:57 -0700, j...@joshtriplett.org wrote: > A NAK isn't going to cut it, here; tiny Linux systems are going to > exist, and they shouldn't have to maintain a long-term out-of-tree fork > or use crazy things like LWIP. What's wrong with user space implementations of networkin

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 11:59:41AM -0400, David Miller wrote: > From: j...@joshtriplett.org > Date: Tue, 6 May 2014 08:57:03 -0700 > > > On Mon, May 05, 2014 at 11:23:27PM -0400, David Miller wrote: > >> From: Andi Kleen > >> Date: Tue, 6 May 2014 05:21:14 +0200 > >> > >> > What parts would you

i.MX28 based system losing eth0 on boot

2014-05-06 Thread Brian Lilly
Uwe: With commit a264b981f2c76e281ef27e7232774bf6c54ec865 we're having eth0 come up, then brought right back down with an MDIO rx timeout moments after. Adding back in the removed code keeps the interface alive and it's working afterward without trouble. I've tested the re-inserted code in 3.12,

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 09:39:19AM -0700, Eric Dumazet wrote: > On Tue, 2014-05-06 at 08:57 -0700, j...@joshtriplett.org wrote: > > > A NAK isn't going to cut it, here; tiny Linux systems are going to > > exist, and they shouldn't have to maintain a long-term out-of-tree fork > > or use crazy thin

Re: [PATCH 05/17] mm: page_alloc: Only check the zone id check if pages are buddies

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > A node/zone index is used to check if pages are compatible for merging > but this happens unconditionally even if the buddy page is not free. Defer > the calculation as long as possible. Ideally we would check the zone boundary > but nodes can overlap. >

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-06 Thread Johannes Weiner
On Tue, May 06, 2014 at 06:12:56PM +0200, Michal Hocko wrote: > I am adding Rik to CC (sorry to put you in the middle of a thread - > we have started here: https://lkml.org/lkml/2014/4/28/237). You were > stressing out risks of using lowlimit as a hard guarantee at LSF. Could > you repeat your conc

Re: dcache shrink list corruption?

2014-05-06 Thread Al Viro
On Tue, May 06, 2014 at 07:53:19AM -0700, Linus Torvalds wrote: > On Tue, May 6, 2014 at 3:17 AM, Miklos Szeredi wrote: > > > > Patches look okay to me. > > > > Reviewed-by: Miklos Szeredi > > > >> dentry_kill(): don't try to remove from shrink list > > > > Backport of this to 3.12 was test

Re: [Resend/PATCH] arm: dts: dra7: Add qspi device.

2014-05-06 Thread Tony Lindgren
* Sourav Poddar [140506 04:08]: > These add device tree entry for qspi controller driver on dra7-evm. Thanks applying into omap-for-v3.16/dt. Tony -- 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

Re: [perf] more perf_fuzzer memory corruption

2014-05-06 Thread Vince Weaver
On Mon, 5 May 2014, Vince Weaver wrote: > On Mon, 5 May 2014, Vince Weaver wrote: > > > Meanwhile the haswell and AMD machines have been fuzzing away without > > issue, I don't know why the core2 machine is always the trouble maker. > > The haswell has been fuzzing 12 hours with only a NMI daze

Re: IMA & truncate

2014-05-06 Thread Al Viro
On Tue, May 06, 2014 at 04:32:27PM +0300, Dmitry Kasatkin wrote: > Hi, > > I have discovered one IMA related issue. > > IMA file hash is re-calculate if needed on file close. > > It works with ftruncate(fd, length) syscall, because it operates on > "opened" file. > Recalculation is happening on

Re: [PATCH v2 0/4] Emulate VMXON region correctly

2014-05-06 Thread Paolo Bonzini
Il 06/05/2014 08:19, Bandan Das ha scritto: Reference: https://bugzilla.kernel.org/show_bug.cgi?id=54521 The vmxon region is unused by nvmx, but adding these checks are probably harmless and may detect buggy L1 hypervisors in the future! Applied to kvm/queue, unit test patches are welcome (hin

Re: [PATCH 1/2] uprobes: add comment with insn opcodes, mnemonics and why we dont support them

2014-05-06 Thread Denys Vlasenko
On 05/05/2014 09:41 PM, Oleg Nesterov wrote: > On 05/05, Denys Vlasenko wrote: >> >> + * Opcodes we'll probably never support: >> + * 6c-6f - ins,outs. SEGVs if used in userspace >> + * e4-e7 - in,out imm. SEGVs if used in userspace >> + * ec-ef - in,out acc. SEGVs if used in userspace > > Well. I

Re: [PATCH 3/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-05-06 Thread Will Deacon
Hi Jean, On Tue, May 06, 2014 at 04:55:33PM +0100, Jean Pihet wrote: > Adding libdw DWARF post unwind support, which is part > of elfutils-devel/libdw-dev package from version 0.158. > > Note: the libdw code needs some support for dwarf unwinding > on ARM64, this code is submitted seperately on t

[PATCH] rtc: hym8563: set uie_unsupported

2014-05-06 Thread Heiko Stübner
The alarm of the hym8563 only supports a minute accuracy, while the uie wants an alarm one second in the future. Therefore things like the select() syscall will fail with a timeout, because the next alarm will happen in a worst case of 60 seconds. Signed-off-by: Heiko Stuebner Cc: sta...@vger.ker

Re: [perf] more perf_fuzzer memory corruption

2014-05-06 Thread Vince Weaver
On Tue, 6 May 2014, Vince Weaver wrote: > In any case if we can get the recent patches applied in time for 3.15 I > think it will turn out to be a nice release perf-event-stability wise. I should also mention I have a list of open perf_fuzzer issues here: http://web.eece.maine.edu/~vwea

Re: [patch 2/2] mm: pgtable -- Require X86_64 for soft-dirty tracker

2014-05-06 Thread Cyrill Gorcunov
On Tue, May 06, 2014 at 09:28:07AM -0700, H. Peter Anvin wrote: > On 04/25/2014 01:10 AM, Cyrill Gorcunov wrote: > > Tracking dirty status on 2 level pages requires very ugly macros > > and taking into account how old the machines who can operate > > without PAE mode only are, lets drop soft dirty

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Eric Dumazet
On Tue, 2014-05-06 at 09:45 -0700, j...@joshtriplett.org wrote: > Sounds like we have some optimization to do, then; there's no > fundamental unfixable reason for that delta. I think you have little idea of the reasons for this delta. Some servers handle 10 millions of TCP flows, using as little

Re: [PATCH 6/6] mm: Postpone the disabling of kmemleak early logging

2014-05-06 Thread Catalin Marinas
On Tue, May 06, 2014 at 04:20:27PM +0100, Sasha Levin wrote: > On 05/02/2014 09:41 AM, Catalin Marinas wrote: > > Currently, kmemleak_early_log is disabled at the beginning of the > > kmemleak_init() function, before the full kmemleak tracing is actually > > enabled. In this small window, kmem_cach

Re: [PATCH 1/5] ARM: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-06 Thread Brian Norris
On Sun, May 04, 2014 at 11:53:22AM -0700, Olof Johansson wrote: > On Sun, May 4, 2014 at 10:42 AM, Jason Cooper wrote: > > On Sat, May 03, 2014 at 03:51:11PM -0700, Olof Johansson wrote: > >> Cases like these are easiest that we just take the patch directly in > >> an early-merge branch (i.e. clea

Re: [Patch v2 1/4] soc: Placeholder files for drivers/soc

2014-05-06 Thread Kumar Gala
On Apr 24, 2014, at 9:36 AM, Santosh Shilimkar wrote: > On Thursday 24 April 2014 12:31 PM, Andy Gross wrote: >> Add placeholder Kconfig and linkage for driver/soc. >> >> The first patch set that implemented this was authored by Santosh Shilimkar: >> https://lkml.org/lkml/2014/2/28/567 >> >> S

Re: dcache shrink list corruption?

2014-05-06 Thread Linus Torvalds
On Tue, May 6, 2014 at 9:52 AM, Al Viro wrote: > > OK... There's one more thing I would like to put there, if you are going to > be away for the week. It has sat in -next for a while, and it could stay > there, except that there's a _lot_ of followups touching stuff all over the > tree and I'd o

[PATCH 1/1] arch/unicore32/mm/ioremap.c: convert printk/warn_on to warn(1

2014-05-06 Thread Fabian Frederick
+coalesce formats (This is untested) Cc: Guan Xuetao Cc: Andrew Morton Signed-off-by: Fabian Frederick --- arch/unicore32/mm/ioremap.c | 9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arch/unicore32/mm/ioremap.c b/arch/unicore32/mm/ioremap.c index 13068ee..5d9568c

[PATCH v2 2/2] ARM: dts: rockchip: add root compatible properties

2014-05-06 Thread Beniamino Galvani
Add the missing 'compatible' property to device tree root node of - rk3066a-bqcurie2.dts - rk3188-radxarock.dts and document the new values. Signed-off-by: Beniamino Galvani --- v2: - use mundoreader prefix instead of bq as suggested by Heiko Stuebner Documentation/devicetree/bindings/arm

[PATCH v2 1/2] of: add mundoreader and radxa vendor prefixes

2014-05-06 Thread Beniamino Galvani
Add new vendor prefixes for: * Mundo Reader S.L., a company that produces tablets and e-readers * Radxa, manufacturer of ARM boards Signed-off-by: Beniamino Galvani --- v2: - use mundoreader prefix instead of bq as suggested by Heiko Stuebner Documentation/devicetree/bindings/vendor-

[PATCH 1/1] kernel/kprobes.c: convert printk to pr_foo()

2014-05-06 Thread Fabian Frederick
Also fixes some checkpatch warnings -Static initialization -Lines over 80 characters Cc: Ananth N Mavinakayanahalli Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/kprobes.c | 38 -- 1 file changed, 20 insertions(+), 18 deletions(-) diff --git

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Rick Jones
On 05/06/2014 09:41 AM, j...@joshtriplett.org wrote: On Tue, May 06, 2014 at 11:59:41AM -0400, David Miller wrote: Making 2MB RAM machines today makes no sense at all. The lowest end dirt cheap smartphone, something which fits on someone's pocket, has gigabytes of ram. The lowest-end smartpho

[PATCH 1/1] kernel/latencytop.c: convert seq_printf to seq_puts

2014-05-06 Thread Fabian Frederick
This patch also fixes one function declaration over 80 characters. Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/latencytop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/kernel/latencytop.c b/kernel/latencytop.c index a462b31..a028127 100644 --- a/ker

Re: [GIT] Sparc

2014-05-06 Thread David Miller
From: Dave Jones Date: Tue, 6 May 2014 12:29:46 -0400 > It seems like forever you go you sent me patches to trinity to make it > work on sparc. I'm curious if you've tried running it again more > recently ? Given the work I've done it to do more creative things with > VM related syscalls, I wou

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread David Miller
From: Eric Dumazet Date: Tue, 06 May 2014 09:39:19 -0700 > I have started using linux on 386/486 pcs which had more than 2MB of > memory, it makes me sad we want linux-3.16 to run on this kind of > hardware, and consuming time to save few KB here and here. +1 -- To unsubscribe from this list: se

Re: [PATCH v2 05/12] ARM: lpc32xx: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-06 Thread Brian Norris
On Thu, May 01, 2014 at 07:21:06PM +0200, Roland Stigge wrote: > On 01/05/14 08:26, Brian Norris wrote: > > This defconfig contains the CONFIG_M25P80 symbol, which is now > > dependent on the MTD_SPI_NOR symbol. Add CONFIG_MTD_SPI_NOR to satisfy > > the new dependency. > > Can't the CONFIG_M25P80

Re: [PATCH 1/2] of: add bq and radxa vendor prefixes

2014-05-06 Thread Beniamino Galvani
On Tue, May 06, 2014 at 01:31:24PM +0200, Heiko Stübner wrote: > Am Dienstag, 6. Mai 2014, 13:13:46 schrieb Beniamino Galvani: > > On Sun, May 04, 2014 at 02:57:52PM +0200, Matthias Brugger wrote: > > > 2014-05-02 1:32 GMT+02:00 Heiko Stübner : > > > > Hi Beniamino, > > > > > > > > Am Donnerstag,

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread David Miller
From: j...@joshtriplett.org Date: Tue, 6 May 2014 09:41:08 -0700 > Every KB of RAM costs real money and SoC die area (for eDRAM/eSRAM). Another poster commented that 16MB of DRAM would be cheaper than the 2MB of ram you have on these boards, probably one that fits your size profile is available a

[PATCH 1/1] kernel/posix-timers.c: code clean-up

2014-05-06 Thread Fabian Frederick
Fixing some checkpatch warnings: -Convert printk to pr_foo() -Remove spaces between function and ( -Split lines > 80 characters Cc: Thomas Gleixner Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/posix-timers.c | 57 +++ 1 file chang

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread David Miller
From: j...@joshtriplett.org Date: Tue, 6 May 2014 09:45:46 -0700 > The kernel can do the same. Consider the idea of analyzing a set of > userspace programs, determining what kernel functionality they do and > don't need, feeding that information into the kernel build process, and > automatically

[PATCH 1/1] kernel/profile.c: convert printk to pr_foo()

2014-05-06 Thread Fabian Frederick
Cc: Paul Gortmaker Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/profile.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/kernel/profile.c b/kernel/profile.c index cb980f0..c1204e2 100644 --- a/kernel/profile.c +++ b/kernel/profile.c @@ -64,12

Re: RFC: A reduced Linux network stack for small systems

2014-05-06 Thread Alexei Starovoitov
On Tue, May 6, 2014 at 8:34 AM, Tom Zanussi wrote: > On Tue, 2014-05-06 at 08:20 -0700, Alexei Starovoitov wrote: >> On Tue, May 6, 2014 at 6:34 AM, Tom Zanussi >> wrote: >> > On Tue, 2014-05-06 at 09:25 +0200, Richard Weinberger wrote: >> >> On Tue, May 6, 2014 at 12:25 AM, Andi Kleen wrote: >

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 01:17:52PM -0400, David Miller wrote: > From: j...@joshtriplett.org > Date: Tue, 6 May 2014 09:45:46 -0700 > > > The kernel can do the same. Consider the idea of analyzing a set of > > userspace programs, determining what kernel functionality they do and > > don't need, fe

[PATCH 1/1] kernel/rcu/tree.c: make rcu node arrays static const char * const

2014-05-06 Thread Fabian Frederick
Those 2 arrays are being passed to lockdep_init_map with const char * and stored in lockdep_map the same way Cc: Dipankar Sarma Cc: Andrew Morton Signed-off-by: Fabian Frederick --- kernel/rcu/tree.c | 18 ++ 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/kernel

[RFC][PATCH] tracing: Add __cpumask() macro to trace events to record cpumasks

2014-05-06 Thread Steven Rostedt
Being able to show a cpumask of events can be useful as some events may affect only some CPUs. There is no standard way to record the cpumask and converting it to a string is rather expensive during the trace as traces happen in hotpaths. It would be better to record the raw event mask and be able

Re: [PATCH] PCI: Introduce new device binding path using pci_dev.driver_override

2014-05-06 Thread Alex Williamson
Hi Greg, I think Bjorn is waiting for an ack from you on this. Do you approve of this approach from a driver-core perspective? Thanks, Alex On Fri, 2014-04-04 at 14:19 -0600, Alex Williamson wrote: > The driver_override field allows us to specify the driver for a device > rather than relying o

Re: [PATCH v2 2/2] ARM: dts: rockchip: add root compatible properties

2014-05-06 Thread Rob Herring
On Tue, May 6, 2014 at 12:10 PM, Beniamino Galvani wrote: > Add the missing 'compatible' property to device tree root node of > > - rk3066a-bqcurie2.dts > - rk3188-radxarock.dts > > and document the new values. > > Signed-off-by: Beniamino Galvani Acked-by: Rob Herring > --- > > v2: > - use

Re: [PATCH v2 1/2] of: add mundoreader and radxa vendor prefixes

2014-05-06 Thread Rob Herring
On Tue, May 6, 2014 at 12:10 PM, Beniamino Galvani wrote: > Add new vendor prefixes for: > > * Mundo Reader S.L., a company that produces tablets and e-readers > * Radxa, manufacturer of ARM boards > > Signed-off-by: Beniamino Galvani Acked-by: Rob Herring > --- > > v2: > - use mundor

Re: [PATCH 06/17] mm: page_alloc: Only check the alloc flags and gfp_mask for dirty once

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > Currently it's calculated once per zone in the zonelist. > > Signed-off-by: Mel Gorman > Acked-by: Johannes Weiner Reviewed-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: [PATCH 07/17] mm: page_alloc: Take the ALLOC_NO_WATERMARK check out of the fast path

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > ALLOC_NO_WATERMARK is set in a few cases. Always by kswapd, always for > __GFP_MEMALLOC, sometimes for swap-over-nfs, tasks etc. Each of these cases > are relatively rare events but the ALLOC_NO_WATERMARK check is an unlikely > branch in the fast path. T

Re: [PATCH 1/3] PM / OPP: Add support for descending order for cpufreq table

2014-05-06 Thread Sudeep Holla
On Mon, May 5, 2014 at 3:14 PM, Viresh Kumar wrote: > On 5 May 2014 19:08, Nishanth Menon wrote: >> With the brief history of the patch in linux-pm, I am unable to >> understand why not just use ceil/floor routines to pick up data the >> way you need it. It should not matter if we use an ordered

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread David Miller
From: j...@joshtriplett.org Date: Tue, 6 May 2014 10:21:06 -0700 > On Tue, May 06, 2014 at 01:17:52PM -0400, David Miller wrote: >> From: j...@joshtriplett.org >> Date: Tue, 6 May 2014 09:45:46 -0700 >> >> > The kernel can do the same. Consider the idea of analyzing a set of >> > userspace progr

[PATCH] rtc: Add support for Microchip MCP795

2014-05-06 Thread atx
Adds driver for SPI RTC Microchip MCP795. Does only support saving/loading time from the chip (i. e. no alarms/power events/ID). Signed-off-by: Josef Gajdusek --- diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 2e565f8..bcffe07 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kcon

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 10:03:24AM -0700, Eric Dumazet wrote: > On Tue, 2014-05-06 at 09:45 -0700, j...@joshtriplett.org wrote: > > > Sounds like we have some optimization to do, then; there's no > > fundamental unfixable reason for that delta. > > I think you have little idea of the reasons for

Re: [PATCH] kmod: Pass usermodehelper "-b" to use blacklist commands

2014-05-06 Thread Oleg Nesterov
On 05/06, Kirill Tkhai wrote: > > User may want to prohibit autoloading of some modules, > which happens when someone in kernel calls request_module(). > > For comparison, udev considers blacklist even if corresponding > hardware presents in the system. In-kernel request_module() > functionality is

DEAR FRIEND!

2014-05-06 Thread Mark Thompson
From: Mr. Mark Thompson Bank of Africa Burkina Faso. Dear Friend, I am the manager account/audit department (Annexe) Bank of African (BOA) in Burkina faso. I would like you to indicate your interest to receive this transfer of US$10.5 Million; as the beneficiary (next of kin) to our late clie

[PATCH] usb: gadget: s3c-hsotg: Mark s3c_hsotg_map_dma()/s3c_hsotg_unmap_dma() inline

2014-05-06 Thread Geert Uytterhoeven
If NO_DMA=y, depending on the gcc version: drivers/built-in.o: In function `s3c_hsotg_map_dma': s3c-hsotg.c:(.text+0x375b2c): undefined reference to `usb_gadget_map_request' drivers/built-in.o: In function `s3c_hsotg_unmap_dma': s3c-hsotg.c:(.text+0x376a32): undefined reference to

Re: [PATCH 3/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-05-06 Thread Jean Pihet
Hi Will, On 6 May 2014 19:00, Will Deacon wrote: > Hi Jean, > > On Tue, May 06, 2014 at 04:55:33PM +0100, Jean Pihet wrote: >> Adding libdw DWARF post unwind support, which is part >> of elfutils-devel/libdw-dev package from version 0.158. >> >> Note: the libdw code needs some support for dwarf u

Re: perf_fuzzer crash on pentium 4

2014-05-06 Thread Vince Weaver
On Tue, 6 May 2014, Cyrill Gorcunov wrote: > On Tue, May 06, 2014 at 12:11:49PM -0400, Vince Weaver wrote: > > > > If I had infinite time I'd try to get the SGI Octane, Ultrasparc, and > > avr32 boards up and going again. > > Btw, Vince, perf_fuzzer -- it's > http://web.eece.maine.edu/~vweaver

Re: [PATCH 3/3] perf tools: Add libdw DWARF post unwind support for ARM64

2014-05-06 Thread Will Deacon
On Tue, May 06, 2014 at 06:41:55PM +0100, Jean Pihet wrote: > Hi Will, > > On 6 May 2014 19:00, Will Deacon wrote: > > Hi Jean, > > > > On Tue, May 06, 2014 at 04:55:33PM +0100, Jean Pihet wrote: > >> Adding libdw DWARF post unwind support, which is part > >> of elfutils-devel/libdw-dev package f

[PATCH] staging: sep: fix coding style issue

2014-05-06 Thread Clément Calmels
This is a patch to fix coding style issue found by scripts/checkpatch.pl utility. Signed-off-by: Clément Calmels --- drivers/staging/sep/sep_dev.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/sep/sep_dev.h b/drivers/staging/sep/sep_dev.h index 5f6a07f..5faeefa1 100644 -

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 01:16:43PM -0400, David Miller wrote: > From: j...@joshtriplett.org > Date: Tue, 6 May 2014 09:41:08 -0700 > > > Every KB of RAM costs real money and SoC die area (for eDRAM/eSRAM). > > Another poster commented that 16MB of DRAM would be cheaper than > the 2MB of ram you h

Re: [PATCH v5 0/8] Introduce new cpufreq helper macros

2014-05-06 Thread Stratos Karafotis
Hi all, On 06/05/2014 06:24 μμ, Geert Uytterhoeven wrote: > Hi Stratos, > > On Wed, Apr 30, 2014 at 12:26 AM, Rafael J. Wysocki > wrote: >> On Tuesday, April 29, 2014 07:05:17 PM Stratos Karafotis wrote: >>> On 29/04/2014 07:17 πμ, Viresh Kumar wrote: On 26 April 2014 01:45, Stratos Karafo

Re: [PATCH 3/3] perf tools: Add libdw DWARF post unwind support for ARM

2014-05-06 Thread Will Deacon
On Tue, May 06, 2014 at 04:26:19PM +0100, Jean Pihet wrote: > Adding libdw DWARF post unwind support, which is part > of elfutils-devel/libdw-dev package from version 0.158. > > The new code is contained in unwin-libdw.c object, and > implements unwind__get_entries unwind interface function. Re

Re: 3.15-rc3: boot of a xen PV guest fails when using a guest kernel with CONFIG_DEBUG_SLAB=y

2014-05-06 Thread Sander Eikelenboom
Tuesday, May 6, 2014, 11:51:04 AM, you wrote: > On 02/05/14 22:01, Sander Eikelenboom wrote: >> Hi, >> >> On a machine running Xen-Unstable, i just tried running a 3.15-rc3 kernel >> with >> CONFIG_DEBUG_SLAB=y >> >> [0.748297] Kernel panic - not syncing: Out of memory and no killable >>

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-06 Thread Joerg Roedel
On Wed, Apr 30, 2014 at 04:27:10PM +0530, Shaik Ameer Basha wrote: > This series is going on for quite a long time and most of the patches here > doesn't depend on dt bindings. As Exynos IOMMU h/w is introducing new versions > very frequently, maintaining and reviewing all these patches again and >

[PATCH 1/2] smp: Print more useful debug info upon receiving IPI on an offline CPU

2014-05-06 Thread Srivatsa S. Bhat
Today the smp-call-function code just prints a warning if we get an IPI on an offline CPU. This info is sufficient to let us know that something went wrong, but often it is very hard to debug exactly who sent the IPI and why, from this info alone. In most cases, we get the warning about the IPI to

[PATCH 2/2] CPU hotplug, stop-machine: Plug race-window that leads to "IPI-to-offline-CPU"

2014-05-06 Thread Srivatsa S. Bhat
During CPU offline, stop-machine is used to take control over all the online CPUs (via the per-cpu stopper thread) and then run take_cpu_down() on the CPU that is to be taken offline. But stop-machine itself has several stages: _PREPARE, _DISABLE_IRQ, _RUN etc. The important thing to note here is

[PATCH 0/2] CPU hotplug: Fix the long-standing "IPI to offline CPU" issue

2014-05-06 Thread Srivatsa S. Bhat
Hi, There is a long-standing problem related to CPU hotplug which causes IPIs to be delivered to offline CPUs, and the smp-call-function IPI handler code prints out a warning whenever this is detected. Every once in a while this (usually harmless) warning gets reported on LKML, but so far it has

Re: [PATCH 2/2] ARM: KVM: user_mem_abort: support stage 2 MMIO page mapping

2014-05-06 Thread Christoffer Dall
On Tue, Mar 25, 2014 at 05:08:14PM -0500, Kim Phillips wrote: > Use the correct memory type for device MMIO mappings: PAGE_S2_DEVICE. > > Signed-off-by: Kim Phillips > --- > arch/arm/kvm/mmu.c | 11 --- > 1 file changed, 8 insertions(+), 3 deletions(-) > > diff --git a/arch/arm/kvm/mmu.

Re: [PATCH v12 18/31] iommu/exynos: allow having multiple System MMUs for a master H/W

2014-05-06 Thread Tomasz Figa
On 27.04.2014 09:37, Shaik Ameer Basha wrote: From: Cho KyongHo Some master device descriptor like fimc-is which is an abstraction of very complex H/W may have multiple System MMUs. For those devices, the design of the link between System MMU and its master H/W is needed to be reconsidered. A

Re: [PATCH] usb: gadget: s3c-hsotg: Mark s3c_hsotg_map_dma()/s3c_hsotg_unmap_dma() inline

2014-05-06 Thread Bartlomiej Zolnierkiewicz
Hi, On Tuesday, May 06, 2014 07:37:01 PM Geert Uytterhoeven wrote: > If NO_DMA=y, depending on the gcc version: > > drivers/built-in.o: In function `s3c_hsotg_map_dma': > s3c-hsotg.c:(.text+0x375b2c): undefined reference to > `usb_gadget_map_request' > drivers/built-in.o: In functio

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-06 Thread Tomasz Figa
On 06.05.2014 19:59, Joerg Roedel wrote: On Wed, Apr 30, 2014 at 04:27:10PM +0530, Shaik Ameer Basha wrote: This series is going on for quite a long time and most of the patches here doesn't depend on dt bindings. As Exynos IOMMU h/w is introducing new versions very frequently, maintaining and r

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread josh
On Tue, May 06, 2014 at 10:12:11AM -0700, Rick Jones wrote: > On 05/06/2014 09:41 AM, j...@joshtriplett.org wrote: > >On Tue, May 06, 2014 at 11:59:41AM -0400, David Miller wrote: > >>Making 2MB RAM machines today makes no sense at all. > >> > >>The lowest end dirt cheap smartphone, something which

Re: i.MX28 based system losing eth0 on boot

2014-05-06 Thread Uwe Kleine-König
Hello Brian, On Tue, May 06, 2014 at 09:44:34AM -0700, Brian Lilly wrote: > With commit a264b981f2c76e281ef27e7232774bf6c54ec865 we're having eth0 > come up, then brought right back down with an MDIO rx timeout moments > after. Adding back in the removed code keeps the interface alive and > it's

Re: [PATCH v2 02/12] ARM: defconfigs: add MTD_SPI_NOR (new dependency for M25P80)

2014-05-06 Thread Brian Norris
On Thu, May 01, 2014 at 05:54:47PM +0900, Simon Horman wrote: > [ CC linux-sh and Magnus Damm (shmobile co-maintainer) ] > > On Wed, Apr 30, 2014 at 11:26:37PM -0700, Brian Norris wrote: > > These defconfigs contain the CONFIG_M25P80 symbol, which is now > > dependent on the MTD_SPI_NOR symbol. Ad

Re: [PATCH] iommu/amd: Take mmap_sem when calling get_user_pages

2014-05-06 Thread Joerg Roedel
On Mon, Apr 28, 2014 at 05:27:46PM -0500, Suthikulpanit, Suravee wrote: > From: Jay Cornwall > > get_user_pages requires caller to hold a read lock on mmap_sem. Right, but can't we just switch to get_user_pages_fast instead? Joerg -- To unsubscribe from this list: send the line "unsu

Re: [PATCH 6/6] mm: Postpone the disabling of kmemleak early logging

2014-05-06 Thread Sasha Levin
On 05/06/2014 01:05 PM, Catalin Marinas wrote: > On Tue, May 06, 2014 at 04:20:27PM +0100, Sasha Levin wrote: >> On 05/02/2014 09:41 AM, Catalin Marinas wrote: >>> Currently, kmemleak_early_log is disabled at the beginning of the >>> kmemleak_init() function, before the full kmemleak tracing is act

[RFC PATCH 0/4] KVM: emulator: speed up instruction fetch

2014-05-06 Thread Paolo Bonzini
This small series provides another ~6% speedup on top of Bandan's patches. It does so by speeding up instruction fetches. The three tricks, one per patch, are to help the compiler a bit by redistributing the work between do_insn_fetch_byte and do_insn_fetch, to avoid repeated checks on the boundar

[RFC PATCH 3/4] KVM: emulate: avoid per-byte copying in instruction fetches

2014-05-06 Thread Paolo Bonzini
We do not need a memory copying loop anymore in insn_fetch; we can use a byte-aligned pointer to access instruction fields directly from the fetch_cache. This eliminates 40-80 cycles (corresponding to a 5-7% improvement in performance) from each instruction. Signed-off-by: Paolo Bonzini --- arc

[RFC PATCH 2/4] KVM: emulate: avoid repeated calls to do_insn_fetch_bytes

2014-05-06 Thread Paolo Bonzini
do_insn_fetch_bytes will only be called once in a given insn_fetch and insn_fetch_arr, because in fact it will only be called at most twice for any instruction and the first call is explicit in x86_decode_insn. This observation lets us hoist the call out of the memory copying loop. It does not buy

[RFC PATCH 4/4] KVM: emulate: put pointers in the fetch_cache

2014-05-06 Thread Paolo Bonzini
This simplifies the code a bit, especially the overflow checks. Signed-off-by: Paolo Bonzini --- arch/x86/include/asm/kvm_emulate.h | 4 ++-- arch/x86/kvm/emulate.c | 34 +++--- arch/x86/kvm/trace.h | 6 +++--- 3 files changed, 20 insertion

[RFC PATCH 1/4] KVM: emulate: speed up do_insn_fetch

2014-05-06 Thread Paolo Bonzini
Hoist the common case up from do_insn_fetch_byte to do_insn_fetch, and prime the fetch_cache in x86_decode_insn. This helps both the compiler and the branch predictor. Signed-off-by: Paolo Bonzini --- arch/x86/kvm/emulate.c | 67 +++--- 1 file changed

Re: [PATCH v12 00/31] iommu/exynos: Fixes and Enhancements of System MMU driver with DT

2014-05-06 Thread Arnd Bergmann
On Tuesday 06 May 2014 19:59:05 Joerg Roedel wrote: > On Wed, Apr 30, 2014 at 04:27:10PM +0530, Shaik Ameer Basha wrote: > > This series is going on for quite a long time and most of the patches here > > doesn't depend on dt bindings. As Exynos IOMMU h/w is introducing new > > versions > > very fr

Re: [PATCH 06/24] net, diet: Use small UDP hash tables on small kernels

2014-05-06 Thread Andi Kleen
> This patch has no effect on a small machine, because we already > dynamically size this hash table. Good point. > > (The factor is one slot per 2MB of low memory) Ok I need to fix that, because a single slot on a 2MB system is likely not enough. -Andi -- To unsubscribe from this list: send

Re: [PATCH 1/4] memcg, mm: introduce lowlimit reclaim

2014-05-06 Thread Michal Hocko
On Tue 06-05-14 12:51:50, Johannes Weiner wrote: > On Tue, May 06, 2014 at 06:12:56PM +0200, Michal Hocko wrote: > > On Tue 06-05-14 11:21:12, Johannes Weiner wrote: > > > On Tue, May 06, 2014 at 04:32:42PM +0200, Michal Hocko wrote: [...] > > > > The strongest point was made by Rik when he claimed

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Andi Kleen
> We simply can not compete with user space, as a programmer is free to > keep what he really wants/needs. Not true. With my patches and LTO Linux can be competive with LWIP+socket layer. (about 60K more text). And it's easier to use because it's just the standard interface. > I have started usi

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Cong Wang
On Tue, May 6, 2014 at 10:55 AM, wrote: > On Tue, May 06, 2014 at 01:16:43PM -0400, David Miller wrote: >> From: j...@joshtriplett.org >> Date: Tue, 6 May 2014 09:41:08 -0700 >> >> > Every KB of RAM costs real money and SoC die area (for eDRAM/eSRAM). >> >> Another poster commented that 16MB of D

Re: [PATCHv3 1/3] dts: socfpga: Add bindings for Altera SoC SDRAM controller

2014-05-06 Thread Thor Thayer
Hi Sören On Mon, May 5, 2014 at 6:16 PM, Sören Brinkmann wrote: > > Hi Thor, > > On Mon, 2014-05-05 at 05:52PM -0500, ttha...@altera.com wrote: > > From: Thor Thayer > > > > Addition of the Altera SDRAM controller bindings and device > > tree changes to the Altera SoC project. The "syscon" param

Re: [PATCH v2 1/6] i2c: s3c2410: Moving I2C interrupt re-configuration code into i2c driver

2014-05-06 Thread Tomasz Figa
Hi Pankaj, On 06.05.2014 10:51, Pankaj Dubey wrote: Let's move I2C interrupt re-configuration code from machine file exynos.c to I2C driver. Since only Exynos5250, and Exynos5420 need to do this, added syscon based phandle to i2c device nodes of respective SoC DT files. CC: Rob Herring CC: Ran

Re: IMA & truncate

2014-05-06 Thread Mimi Zohar
On Tue, 2014-05-06 at 17:59 +0100, Al Viro wrote: > On Tue, May 06, 2014 at 04:32:27PM +0300, Dmitry Kasatkin wrote: > > Hi, > > > > I have discovered one IMA related issue. > > > > IMA file hash is re-calculate if needed on file close. > > > > It works with ftruncate(fd, length) syscall, becau

Re: i.MX28 based system losing eth0 on boot

2014-05-06 Thread Florian Fainelli
2014-05-06 11:11 GMT-07:00 Uwe Kleine-König : > Hello Brian, > > On Tue, May 06, 2014 at 09:44:34AM -0700, Brian Lilly wrote: >> With commit a264b981f2c76e281ef27e7232774bf6c54ec865 we're having eth0 >> come up, then brought right back down with an MDIO rx timeout moments >> after. Adding back in

Re: [PATCH 09/17] mm: page_alloc: Reduce number of times page_to_pfn is called

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > In the free path we calculate page_to_pfn multiple times. Reduce that. > > Signed-off-by: Mel Gorman Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH 10/17] mm: page_alloc: Lookup pageblock migratetype with IRQs enabled during free

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > get_pageblock_migratetype() is called during free with IRQs disabled. This > is unnecessary and disables IRQs for longer than necessary. > > Signed-off-by: Mel Gorman Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from this list: se

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Andi Kleen
> So why bothers 3.15+ Linux kernel? Why not use an old kernel e.g. 2.4.x? > 2.4.x kernel doesn't have so many new features you want to get rid of here. Nobody wants to be stuck on an ancient kernel forever. -Andi -- a...@linux.intel.com -- Speaking for myself only -- To unsubscribe from this l

Re: [PATCH 11/17] mm: page_alloc: Use unsigned int for order in more places

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > X86 prefers the use of unsigned types for iterators and there is a > tendency to mix whether a signed or unsigned type if used for page > order. This converts a number of sites in mm/page_alloc.c to use > unsigned int for order where possible. > > Signed

Re: [PATCH] staging: lustre: remove unused variables

2014-05-06 Thread Fredrick Prashanth John Berchmans
On Tue, May 6, 2014 at 7:56 AM, Emil Goode wrote: > The following commit left some unused variables behind. > > commit 80db2734acbc78db12798cfb611d6acc7fe389e6 > Author: Fredrick John Berchmans > Date: Fri May 2 19:50:15 2014 -0700 > > staging: lustre use kernel socket sockopt apis > > Sign

Re: [PATCH v4 00/16] perf, persistent: Add persistent events

2014-05-06 Thread Borislav Petkov
On Tue, May 06, 2014 at 02:39:07PM +0200, Robert Richter wrote: > Creation of events basically does (function arguments are a bit pseudo > code): > > attr.type = pmu_type; > attr.config = event_config; > event = perf_event_open(attr, cpu, ...); > id = ioctl(event, PERF_EV

Re: [PATCH 13/17] mm: shmem: Avoid atomic operation during shmem_getpage_gfp

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > shmem_getpage_gfp uses an atomic operation to set the SwapBacked field > before it's even added to the LRU or visible. This is unnecessary as what > could it possible race against? Use an unlocked variant. > > Signed-off-by: Mel Gorman > Acked-by: Joha

Re: [PATCH v4 00/16] perf, persistent: Add persistent events

2014-05-06 Thread Borislav Petkov
On Tue, May 06, 2014 at 02:39:07PM +0200, Robert Richter wrote: > Events could also be shared transparently. This means, if there is > already an event running with the same attr, it could be reused. Not > sure if this makes sense much and is also feasible. Most events are > opened with writable bu

Re: [PATCH 14/17] mm: Do not use atomic operations when releasing pages

2014-05-06 Thread Rik van Riel
On 05/01/2014 04:44 AM, Mel Gorman wrote: > There should be no references to it any more and a parallel mark should > not be reordered against us. Use non-locked varient to clear page active. > > Signed-off-by: Mel Gorman Acked-by: Rik van Riel -- All rights reversed -- To unsubscribe from th

Re: [PATCH v4 00/16] perf, persistent: Add persistent events

2014-05-06 Thread Borislav Petkov
On Tue, May 06, 2014 at 02:39:07PM +0200, Robert Richter wrote: > I rather would change the ioctl to > > id = ioctl(PERF_EVENT_IOC_SET_PERSIST, arg); > > arg != 0:create persistent event (unclaim) > arg == 0:delete persistent event (claim) > > This has the advantage that the naming is

Re: [PATCH 08/24] net, diet: Make TCP metrics optional

2014-05-06 Thread Tom Herbert
On Tue, May 6, 2014 at 11:32 AM, Andi Kleen wrote: >> We simply can not compete with user space, as a programmer is free to >> keep what he really wants/needs. > > Not true. > > With my patches and LTO Linux can be competive with LWIP+socket layer. > (about 60K more text). And it's easier to use b

[PATCH] rtc: add support for maxim dallas rtc ds1343 and ds1344

2014-05-06 Thread Raghavendra Ganiga
This is a patch to add support for maxim dallas rtc ds1343 and ds1344 Signed-off-by: Raghavendra Chandra Ganiga --- drivers/rtc/Kconfig | 10 + drivers/rtc/Makefile |1 + drivers/rtc/rtc-ds1343.c | 679 ++ 3 files changed, 690 insertion

Re: [PATCH v2 2/6] ARM: EXYNOS: Move SYS_I2C_CFG register save/restore to i2c driver

2014-05-06 Thread Tomasz Figa
Hi Pankaj, On 06.05.2014 10:51, Pankaj Dubey wrote: Let's move SYS_I2C_CFG register save/restore during s2r into i2c driver. This will help in removing static iodesc based mapping from exynos.c. Also will help in removing SoC specific checks in pm.c making it more independent of such macros. CC

RE: [PATCH] rtc: rtc-at91rm9200: fix infinite wait for ACKUPD irq

2014-05-06 Thread Bryan Evenson
Boris, > -Original Message- > From: Boris BREZILLON [mailto:boris.brezil...@free-electrons.com] > Sent: Tuesday, May 06, 2014 10:28 AM > To: Bryan Evenson > Cc: Andrew Victor; Nicolas Ferre; Jean-Christophe Plagniol-Villard; linux-arm- > ker...@lists.infradead.org; Alessandro Zummo; rtc- >

<    1   2   3   4   5   6   7   8   9   >