[PATCH v2 1/2] acpi: Tidy up _OSC error spacing

2015-12-15 Thread Andy Lutomirski
The whitespace in _OSC error reports is weird. Improve it. Acked-by: Bjorn Helgaas Signed-off-by: Andy Lutomirski --- drivers/acpi/bus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/acpi/bus.c b/drivers/acpi/bus.c index a212cefae524..2177ef0b16e4 100644

Re: 4.4-rc5: ugly warn on: 5 W+X pages found

2015-12-15 Thread H. Peter Anvin
On 12/15/15 06:08, Pavel Machek wrote: > > But it still says: > > address sizes : 32 bits physical, 32 bits virtual > > I thought pae would be 36bit virtual? > It should be unless the CPU reports otherwise, which your CPU probably does (a CPUID dump might be useful.) -hpa -- To

Re: [PATCH 17/19] ARM: dts: armada: replace isil,irq2-can-wakeup-machine with wakeup-source property

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the driver will continue to check for and support the legacy "isil,irq2-can-wakeup-machine" boolean property to wakeup source, "wakeup-source" is the new standard binding. This patch replaces the legacy "isil,irq2-can-wakeup-machine" with the

Re: [Linaro-acpi] [PATCH v2 0/2] acpi, apei: add BERT support

2015-12-15 Thread Timur Tabi
On Tue, Aug 18, 2015 at 11:44 AM, wrote: > From: Fu Wei > > ACPI/APEI is designed to verifiy/report H/W errors, like Corrected > Error(CE) and Uncorrected Error(UC). It contains four tables: HEST, > ERST, EINJ and BERT. The first three tables have been merged for > a long time, but because of

Re: [PATCH RESEND] infiniband:core:Add needed error path in cm_init_av_by_path

2015-12-15 Thread Michael Wang
On 12/15/2015 04:52 PM, Nicholas Krause wrote: > This adds a needed error path in the function, cm_init_av_by_path > after the call to ib_init_ah_from_path in order to avoid incorrectly > accessing the path pointer of structure type ib_sa_path_rec if this > function call fails to complete its

[PATCH v2 2/2] acpi: Show _OSC UUID when _OSC fails

2015-12-15 Thread Andy Lutomirski
When _OSC fails and especially when it fails due to an invalid UUID, it's helpful to show the UUID that we tried. Acked-by: Bjorn Helgaas Signed-off-by: Andy Lutomirski --- drivers/acpi/bus.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/acpi/bus.c

[PATCH v2 0/2] Minor _OSC error handling improvements

2015-12-15 Thread Andy Lutomirski
This time, I think I'm sending to the right people. This doesn't fix any bugs, but it makes the debugging output a little more useful. Changes from v1: - Added Bjorn's acks - Split an overly long line Andy Lutomirski (2): acpi: Tidy up _OSC error spacing acpi: Show _OSC UUID when _OSC

Re: [PATCH 15/19] ARM: dts: omap: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux,wakeup" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup properties

Re: [PATCH 13/19] ARM: dts: tegra: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "nvidia,wakeup-source" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup

Re: pty: fix use after free/oops at pty_unix98_shutdown

2015-12-15 Thread Herton R. Krzesinski
On Tue, Dec 15, 2015 at 08:17:56AM -0800, Peter Hurley wrote: > > I also expect in a rare case where all ptmx references are gone/closed, > > this also > > could happen on final close when the master tty is given to > > pty_unix98_shutdown. > > This logic I'm not following. If the pty master is

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 17:31:22 Thierry Reding wrote: > On Mon, Dec 14, 2015 at 12:39:44PM +0100, Arnd Bergmann wrote: > > On Wednesday 18 November 2015 17:56:22 Andy Yan wrote: > > > rockchip platform have a protocol to pass the kernel reboot > > > mode to bootloader by some special

Re: [PATCH 12/19] ARM: dts: exynos: replace legacy *,wakeup property with wakeup-source

2015-12-15 Thread Sudeep Holla
On 21/10/15 11:10, Sudeep Holla wrote: Though the keyboard and other driver will continue to support the legacy "gpio-key,wakeup", "linux-keypad,wakeup" boolean property to enable the wakeup source, "wakeup-source" is the new standard binding. This patch replaces all the legacy wakeup

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Catalin Marinas
On Tue, Dec 15, 2015 at 03:57:37PM +, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 03:46:51PM +, Juri Lelli wrote: > > On 15/12/15 15:32, Mark Rutland wrote: > > > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > > > > My expectation is that we just need good enough, not

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-12-15 Thread Thierry Reding
On Mon, Dec 14, 2015 at 12:39:44PM +0100, Arnd Bergmann wrote: > On Wednesday 18 November 2015 17:56:22 Andy Yan wrote: > > rockchip platform have a protocol to pass the kernel reboot > > mode to bootloader by some special registers when system reboot. > > By this way the bootloader can take

[PATCH v5 2/2] arm: pxa27x: support for ICP DAS LP-8x4x w/ DT

2015-12-15 Thread Sergei Ianovich
ICP DAS calls LP-8x4x 'programmable automation controller'. It is an industrial computer based on PXA270 SoC. They ship it with a 2.6.19 kernel and proprietary kernel module and userspace library to access its industrial IO. This patch allows to boot a modern kernel with device tree on the

Re: pty: fix use after free/oops at pty_unix98_shutdown

2015-12-15 Thread Peter Hurley
Hi Herton, On 12/14/2015 07:29 PM, Herton R. Krzesinski wrote: > Hi, > > recently I got a report of a crash at pty_unix98_shutdown. after analyzing the > issue, I managed to create a small reproducer: > > $ cat test.sh > #!/bin/sh > > while true; do > find /sys > ./dopty >

Re: [PATCH] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread kbuild test robot
Hi Stanislav, [auto build test WARNING on v4.4-rc5] [also build test WARNING on next-20151215] url: https://github.com/0day-ci/linux/commits/Stanislav-Kinsburskiy/fcntl-allow-to-set-O_DIRECT-flag-on-pipe/20151216-000234 config: i386-randconfig-x009-12141102 (attached as .config) reproduce

Re: [RESEND PATCH v4 3/3] mmc: sdhci-of-arasan: add runtime pm support

2015-12-15 Thread Ulf Hansson
Hi Shawn, Sorry for the delay. [...] >> >> I think your are in right track, but unfortunate you still have some >> work to do. :-) >> >> You can't call sdhci_suspend_host() with a runtime suspended host. You >> will for example access sdhci internal registers, even-though the >> clock to the

Re: [PATCH] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread kbuild test robot
Hi Stanislav, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151215] url: https://github.com/0day-ci/linux/commits/Stanislav-Kinsburskiy/fcntl-allow-to-set-O_DIRECT-flag-on-pipe/20151216-000234 config: x86_64-randconfig-x011-12141150 (attached as .config) reproduce

Re: [PATCH] watchdog: dw_wdt: fix signedness bug in dw_wdt_top_in_seconds()

2015-12-15 Thread Guenter Roeck
On 12/15/2015 06:25 AM, Jisheng Zhang wrote: On 64bit platforms, "(1 << (16 + top)) / clk_get_rate(dw_wdt.clk)" is sign-extended to 64bit then converted to unsigned 64bit, finally divide the clk rate. If the top is the maximum TOP i.e 15, "(1 << (16 +15))" will be sign-extended to

Re: [PATCHv2] ARM: dts: kirkwood: Add DTS for Zyxel NSA325

2015-12-15 Thread Gregory CLEMENT
Hi Hans, On jeu., déc. 10 2015, Andrew Lunn wrote: > On Thu, Dec 10, 2015 at 06:33:08AM +0100, Hans Ulli Kroll wrote: >> Add a new DTS file to support the Zyxel NSA325(v2) dual bay >> NAS device, based on the NSA320 DTS files. >> >> The only difference to the NSA320 device is GPIO47. >> This

Re: [RFC PATCH man-pages] Add membarrier system call man page

2015-12-15 Thread Michael Kerrisk (man-pages)
Hi Mathieu, On 12/13/2015 02:17 PM, Mathieu Desnoyers wrote: > [ Updated following feedback from Michael Kerrisk. Not sure what to put > in SEE ALSO section ? Maybe we think of something later. > Also, the example uses the syscall() macro. > Should we target this, or some API eventually

[PATCH] trace-cmd: add trace_hash_find_reverse

2015-12-15 Thread Josef Bacik
Sometimes we want to FIFO identical entries in the hash table, so add trace_hash_find_reverse, which will cycle through the hash list in reverse. This is helpful in our case where we are monitoring block request issues to match with their corresponding completes, if we issue multiple times to the

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 16:37, wrote: > On 12/15/2015 10:24 AM, Jan Beulich wrote: > On 15.12.15 at 16:14, wrote: >>> On 12/15/2015 10:03 AM, Jan Beulich wrote: >>> On 15.12.15 at 15:36, wrote: > On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: >> On Sat, Dec 12, 2015 at

Re: futex(3) man page, final draft for pre-release review

2015-12-15 Thread Michael Kerrisk (man-pages)
Hello Torvald, On 12/15/2015 04:34 PM, Torvald Riegel wrote: > On Tue, 2015-12-15 at 14:43 +0100, Michael Kerrisk (man-pages) wrote: >> Hello all, >> >> After much too long a time, the revised futex man page *will* >> go out in the next man pages release (it has been merged >> into master). >> >>

Re: [f2fs-dev] [PATCH 7/8] f2fs: introduce new option for controlling data flush

2015-12-15 Thread Chao Yu
Hi Jaegeuk, The 7, 8 patches could not be merged on current dev-test branch due to I generate them on incorrect base line. I will rebase and resent them tomorrow, sorry for the noisy. Thanks, On 12/15/15 1:35 PM, Chao Yu wrote: > Add a new option 'data_flush' to enable/disable data flush

Re: [PATCH v2 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-12-15 Thread Boris Ostrovsky
On 12/15/2015 10:48 AM, Borislav Petkov wrote: On Tue, Dec 15, 2015 at 10:21:37AM -0500, Boris Ostrovsky wrote: I know this has been in the tip tree --- when do you think this will go Linus tree? In the 4.4 timeframe? It is queued for 4.5 currently. Xen 32-bit PV guests are broken without

[PATCH] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread Stanislav Kinsburskiy
With packetized mode for pipes, it's not possible to set O_DIRECT on pipe file via sys_fcntl, because of unsupported (by pipes) sanity checks. Ability to set this flag will be used by CRIU to migrate packetized pipes. Signed-off-by: Stanislav Kinsburskiy --- fs/fcntl.c |3 ++- 1 file

Re: 4.3 kernel panics when MMC/SDHC card is inserted on thinkpad

2015-12-15 Thread Ulf Hansson
+Adrian On 8 November 2015 at 23:05, Denis Bychkov wrote: > The only started in 4.3 kernel (at least RC-5), 4.2.x does not have > this problem. The kernel panic happens immediately after the SDHC card > is inserted, reproducibility is 100%. If the system boots up with the > card already

Re: [PATCH v2 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-12-15 Thread Andy Lutomirski
On Tue, Dec 15, 2015 at 7:54 AM, Boris Ostrovsky wrote: > On 12/15/2015 10:48 AM, Borislav Petkov wrote: >> >> On Tue, Dec 15, 2015 at 10:21:37AM -0500, Boris Ostrovsky wrote: >>> >>> I know this has been in the tip tree --- when do you think this will go >>> Linus tree? In the 4.4 timeframe? >>

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Rutland
On Tue, Dec 15, 2015 at 03:46:51PM +, Juri Lelli wrote: > On 15/12/15 15:32, Mark Rutland wrote: > > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > > > My expectation is that we just need good enough, not perfect, and that > > > seems to match what Juri is saying about the

Re: [Qemu-devel] [Patch V2 1/2] x86, mce: Basic support to add LMCE support to QEMU

2015-12-15 Thread Eduardo Habkost
On Mon, Dec 14, 2015 at 07:17:27PM -0500, Raj, Ashok wrote: > On Mon, Dec 14, 2015 at 11:37:16PM +0100, Borislav Petkov wrote: > > On Mon, Dec 14, 2015 at 02:11:46PM -0500, Raj, Ashok wrote: > > > This is mostly harmless.. since the MCG_CAP space is shared and has no > > > conflict between

Re: [PATCH v2 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-12-15 Thread Borislav Petkov
On Tue, Dec 15, 2015 at 10:21:37AM -0500, Boris Ostrovsky wrote: > I know this has been in the tip tree --- when do you think this will go > Linus tree? In the 4.4 timeframe? It is queued for 4.5 currently. > Xen 32-bit PV guests are broken without this. So this needs to go into 4.4 or even

[PATCH v4 1/9] tools build: Fix feature Makefile issues with 'O='

2015-12-15 Thread Josh Poimboeuf
When building perf binaries outside the source tree with 'make O=', the auto-detected features get re-tested for every build, which is unnecessary and inconsistent with the behavior seen when building directly in the source tree. Another issue is that 'make O= clean' doesn't remove the feature

Re: [PATCH 0/24] kernel: add a netlink interface to get information about processes (v2)

2015-12-15 Thread Andrew Vagin
On Mon, Dec 14, 2015 at 02:38:06PM -0800, Andy Lutomirski wrote: > On Dec 13, 2015 11:52 PM, "Andrew Vagin" wrote: > > > > On Thu, Dec 03, 2015 at 03:20:30PM -0800, Andy Lutomirski wrote: > > > On Tue, Nov 24, 2015 at 7:18 AM, Andrew Vagin > > > wrote: > > > > Hello Everybody, > > > > > > > >

MAKING YOUR CHRISTMAS DREAMS A REALITY @ 3.5%

2015-12-15 Thread WONGA LOANS
Attn: Kindly find attached flier for more details on our personal long-term/short-term loans at 3.5% and 4.5% on business loans. Regards. Wonga Team. +27 (0)76 548 0631 verifywong...@outlook.com VALUED CUSTOMER.pdf Description: Adobe PDF document

Re: [PATCH v2 2/4] arm64: dts: Foundation model: increase GICC region to allow EOImode=1

2015-12-15 Thread Marc Zyngier
On 15/12/15 13:36, Andre Przywara wrote: > The Foundation model GIC mapping is wrong, as the GICC region should > be 8kB instead of 4kB (the model implements the GICv2 architecture). > This defect prevents the driver from switching to EOImode==1. > > Signed-off-by: Andre Przywara Reviewed-by:

Re: [Patch v5 1/2] media: v4l: ti-vpe: Add CAL v4l2 camera capture driver

2015-12-15 Thread Mauro Carvalho Chehab
Em Fri, 11 Dec 2015 16:16:33 -0600 Benoit Parrot escreveu: > Mauro Carvalho Chehab wrote on Thu [2015-Dec-03 > 11:19:22 -0200]: > > Em Wed, 18 Nov 2015 14:47:11 -0600 > > Benoit Parrot escreveu: > > > > > The Camera Adaptation Layer (CAL) is a block which consists of a dual > > > port

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 23:47:28 kbuild test robot wrote: > from include/linux/mm.h:55, > from arch/arm/mm/fault.c:13: >arch/arm/mm/fault.c: In function 'do_translation_fault': > >> arch/arm/include/asm/pgtable-2level.h:187:27: error: expected

Re: [PATCH 4.3 2/2] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-15 Thread David Ahern
On 12/15/15 8:32 AM, Nikolay Aleksandrov wrote: diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c index 488c6f5..374feba 100644 --- a/drivers/net/vrf.c +++ b/drivers/net/vrf.c @@ -608,7 +608,6 @@ static int vrf_newlink(struct net *src_net, struct net_device *dev, out_fail:

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread kbuild test robot
Hi Chen, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151215] url: https://github.com/0day-ci/linux/commits/Chen-Gang/include-asm-generic-Notice-about-80-columns-in-pgtable-no-h/20151215-221607 config: arm-shannon_defconfig (attached as .config) reproduce

[PATCH v4 7/9] perf: Finalize subcmd independence

2015-12-15 Thread Josh Poimboeuf
For the files that will be moved to the subcmd library, remove all their perf-specific includes and duplicate any needed functionality. Signed-off-by: Josh Poimboeuf --- tools/perf/util/exec_cmd.c | 64 +++ tools/perf/util/help.c | 47

[PATCH v4 9/9] tools subcmd: Rename subcmd header include guards

2015-12-15 Thread Josh Poimboeuf
Signed-off-by: Josh Poimboeuf --- tools/lib/subcmd/exec-cmd.h | 6 +++--- tools/lib/subcmd/help.h | 6 +++--- tools/lib/subcmd/pager.h | 6 +++--- tools/lib/subcmd/parse-options.h | 7 --- tools/lib/subcmd/run-command.h | 6 +++--- tools/lib/subcmd/sigchain.h | 6

Re: [PATCH 4.3 1/2] Revert "vrf: fix double free and memory corruption on register_netdevice failure"

2015-12-15 Thread David Ahern
On 12/15/15 8:31 AM, Ben Hutchings wrote: This reverts commit b3abad339f8e268bb261e5844ab68b18a7797c29, which was an attempt to backport commit 7f109f7cc37108cba7243bc832988525b0d85909 upstream. The backport introduced a deadlock and other bugs. Signed-off-by: Ben Hutchings --- Best course

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Juri Lelli
On 15/12/15 15:32, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > > On Tue, Dec 15, 2015 at 02:01:36PM +, Mark Rutland wrote: > > > > > I really don't want to see a table of magic numbers in the kernel. > > > > Right, there's pitfalls there too although

[PATCH v4 0/9] perf tools: Move perf subcommand framework to a library

2015-12-15 Thread Josh Poimboeuf
Ingo suggested that I factor out the perf subcommand functionality (originally copied from git) into tools/lib so that it can be used by stacktool[*] and possibly others. All the subcommand option handling files have been moved into a new library named libsubcmd.a, including parse-options.c,

[RFC v2 PATCH] fs: __generic_file_splice_read retry lookup on AOP_TRUNCATED_PAGE

2015-12-15 Thread Abhi Das
During testing, I discovered that __generic_file_splice_read() returns 0 (EOF) when aops->readpage fails with AOP_TRUNCATED_PAGE on the first page of a single/multi-page splice read operation. This EOF return code causes the userspace test to (correctly) report a zero-length read error when it was

[PATCH v4 4/9] perf: Provide subcmd configuration at runtime

2015-12-15 Thread Josh Poimboeuf
Create init functions for exec_cmd.c and pager.c. This allows their configuration to be specified at runtime so they can be split out into a separate library which can be used by other programs. Their configuration is stored in a shared subcmd_config struct. Signed-off-by: Josh Poimboeuf ---

Re: [PATCH] regmap: Fix leftover from struct reg_default to struct reg_sequence change

2015-12-15 Thread Nariman Poushin
On Mon, 2015-11-30 at 16:27 +0100, Daniel Wagner wrote: > On 11/30/2015 04:20 PM, Daniel Wagner wrote: > > In 8019ff6cfc04 ("regmap: Use reg_sequence for multi_reg_write / > > register_patch") > > struct reg_default was renamed to struct reg_secquence, which missed > > one place to fix up. > > >

[PATCH v4 3/9] perf: Document the fact that parse_options*() may exit

2015-12-15 Thread Josh Poimboeuf
Generally, calling exit() from a library is bad practice. Eventually these functions might be redesigned so that they don't exit. For now, just document the fact that they do. Signed-off-by: Josh Poimboeuf --- tools/perf/util/parse-options.h | 3 +++ 1 file changed, 3 insertions(+) diff

[PATCH v4 8/9] perf subcmd: Create subcmd library

2015-12-15 Thread Josh Poimboeuf
Move the subcommand-related files from perf to a new library named libsubcmd.a. Since we're moving files anyway, go ahead and rename 'exec_cmd.*' to 'exec-cmd.*' to be consistent with the naming of all the other files. Signed-off-by: Josh Poimboeuf --- tools/lib/subcmd/Build

Re: [PATCH 03/06] iommu/ipmmu-vmsa: Break out utlb control function

2015-12-15 Thread Geert Uytterhoeven
Hi Magnus, On Tue, Dec 15, 2015 at 1:02 PM, Magnus Damm wrote: > --- 0004/drivers/iommu/ipmmu-vmsa.c > +++ work/drivers/iommu/ipmmu-vmsa.c 2015-12-15 13:17:40.580513000 +0900 > @@ -279,9 +279,18 @@ static void ipmmu_utlb_enable(struct ipm > static void ipmmu_utlb_disable(struct

[PATCH v2] fcntl: allow to set O_DIRECT flag on pipe

2015-12-15 Thread Stanislav Kinsburskiy
With packetized mode for pipes, it's not possible to set O_DIRECT on pipe file via sys_fcntl, because of unsupported sanity checks. Ability to set this flag will be used by CRIU to migrate packetized pipes. v2: Fixed typos and mode variable to check. Signed-off-by: Stanislav Kinsburskiy ---

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-15 Thread Arnd Bergmann
On Tuesday 15 December 2015 09:17:00 Timur Tabi wrote: > Arnd Bergmann wrote: > > We generally want to use readl/writel rather than the relaxed versions, > > unless it is in performance-critical code. > > What about if we have 20+ writes in a row, for example, when > initializing a part? I've

[PATCH v4 5/9] perf: Remove subcmd dependencies on strbuf

2015-12-15 Thread Josh Poimboeuf
Introduce and use new astrcat() and astrcatf() functions which replace the strbuf functionality for subcmd. For now they duplicate strbuf's die-on-allocation-error policy. Signed-off-by: Josh Poimboeuf --- tools/perf/util/exec_cmd.c | 27 +- tools/perf/util/help.c

[PATCH 05/10] perf tools: Add dynamic sort key for tracepoint events

2015-12-15 Thread Namhyung Kim
The existing sort keys are less useful for tracepoint events in that they are always sampled at a same location. For example, report on sched:sched_switch event looks like following # Overhead Command Shared Object Symbol # ...

[PATCH 08/10] perf tools: Add --raw-trace option

2015-12-15 Thread Namhyung Kim
The --raw-trace option is to prevent pretty printing by event's print_fmt or plugin. Besides that, each dynamic sort key now receives 'raw' suffix separated by '/' to apply the raw trace to a specific field. $ perf report -s comm,kmem:kmalloc.gfp_flags ... # Overhead Command

[PATCH 04/10] perf tools: Pass evlist to setup_sorting()

2015-12-15 Thread Namhyung Kim
This is a preparation to support dynamic sort keys for tracepoint events. Dynamic sort keys can be created for specific fields in trace events so it needs the event information. Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 2 +- tools/perf/builtin-diff.c | 2 +-

Re: [PATCH LINUX v4 06/13] tty: xuartps: Move request_irq to after setting up the HW

2015-12-15 Thread Sören Brinkmann
On Thu, 2015-12-10 at 01:41PM -0800, Peter Hurley wrote: > On 12/05/2015 08:39 PM, Soren Brinkmann wrote: > > Request_irq() should be _after_ h/w programming, otherwise an > > interrupt could be triggered and in-progress before the h/w has been > > setup. > > Slight misunderstanding. My fault; I

[PATCH v4 6/9] perf: Remove 'perf' from subcmd function and variable names

2015-12-15 Thread Josh Poimboeuf
In preparation for moving exec_cmd.c and run-command.c out of perf and into a library, remove 'perf' from all the symbol names. Signed-off-by: Josh Poimboeuf --- tools/perf/builtin-help.c | 2 +- tools/perf/builtin-script.c | 8 tools/perf/perf.c | 6 +++---

[PATCH v4 2/9] perf tools: Move strlcpy() from perf to tools/lib/string.c

2015-12-15 Thread Josh Poimboeuf
strlcpy() will be needed by the subcmd library. Move it to the shared tools/lib/string.c file which can be used by other tools. Signed-off-by: Josh Poimboeuf --- tools/include/linux/string.h | 4 tools/lib/string.c | 27 +++ tools/perf/util/cache.h

[PATCH 02/10] perf hist: Save raw_data/size for tracepoint events

2015-12-15 Thread Namhyung Kim
The raw_data and raw_size fields are to provide tracepoint specific information. They will be used by dynamic sort keys later. Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 2 ++ tools/perf/util/sort.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tools/perf/util/hist.c

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Juri Lelli
On 15/12/15 14:50, Mark Rutland wrote: > On Tue, Dec 15, 2015 at 02:24:58PM +, Juri Lelli wrote: > > Hi Mark, > > Hi Juri, > > > On 15/12/15 14:01, Mark Rutland wrote: > > > I really don't want to see a table of magic numbers in the kernel. > > > > Doesn't seem to be a clean and scalable

[PATCHSET 00/10] perf tools: Support dynamic sort keys for tracepoints (v2)

2015-12-15 Thread Namhyung Kim
Hello, This is an attempt to improve perf to deal with tracepoint events better. The perf tools can handle tracepoint events but perf report on them is less useful since they're always sampled in a fixed location and not provide event specific info. We can use perf script but I always wishes

[PATCH 10/10] perf tools: Support shortcuts for events in dynamic sort keys

2015-12-15 Thread Namhyung Kim
The dynamic sort key requires event name but specifying full event name is rather inconvenient. This patch adds more ways to identify the event in a more compact way. 1. If session has just one event, event name can be omitted. 2. Events can be accessed by index preceded by a percent sign.

[PATCH 01/10] perf hist: Pass struct sample to __hists__add_entry()

2015-12-15 Thread Namhyung Kim
This is a preparation to add more info into the hist_entry. Also it already passes too many argument, so passing sample directly will reduce the overhead of the function call. Signed-off-by: Namhyung Kim --- tools/perf/builtin-annotate.c | 7 +-- tools/perf/builtin-diff.c | 11

[PATCH 09/10] perf tools: Make 'trace' sort key default for tracepoint events

2015-12-15 Thread Namhyung Kim
When an evlist contains tracepoint events only, use 'trace' sort key as default. This will make users more convenient to see trace result. Suggested-by: Jiri Olsa Cc: Steven Rostedt Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 22 +- 1 file changed, 17

Re: [PATCH trivial] include: asm-generic: Notice about 80 columns in pgtable-no*.h

2015-12-15 Thread kbuild test robot
Hi Chen, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151215] url: https://github.com/0day-ci/linux/commits/Chen-Gang/include-asm-generic-Notice-about-80-columns-in-pgtable-no-h/20151215-221607 config: mips-xway_defconfig (attached as .config) reproduce: wget

[PATCH 06/10] perf tools: Try to show pretty printed output for dynamic sort keys

2015-12-15 Thread Namhyung Kim
Each tracepoint event has format string for print to improve readability. Try to parse the output and match the field name. If it finds one, use that for the result. If not, fallbacks to the original output. For example, sort on kmem:kmalloc.gfp_flags looks like below: (Note: libtraceevent

[PATCH 03/10] tools lib traceevent: Factor out and export print_event_field[s]

2015-12-15 Thread Namhyung Kim
The print_event_field() and print_event_field() are to print basic information of a given field or event without the print format. They'll be used by dynamic sort keys later. Cc: Steven Rostedt Signed-off-by: Namhyung Kim --- tools/lib/traceevent/event-parse.c | 125

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Boris Ostrovsky
On 12/15/2015 10:24 AM, Jan Beulich wrote: On 15.12.15 at 16:14, wrote: On 12/15/2015 10:03 AM, Jan Beulich wrote: On 15.12.15 at 15:36, wrote: On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: On Sat, Dec 12, 2015 at 07:25:55PM -0500, Boris Ostrovsky wrote: Using

[PATCH 4.3 1/2] Revert "vrf: fix double free and memory corruption on register_netdevice failure"

2015-12-15 Thread Ben Hutchings
This reverts commit b3abad339f8e268bb261e5844ab68b18a7797c29, which was an attempt to backport commit 7f109f7cc37108cba7243bc832988525b0d85909 upstream. The backport introduced a deadlock and other bugs. Signed-off-by: Ben Hutchings --- drivers/net/vrf.c | 15 +-- 1 file changed,

Re: futex(3) man page, final draft for pre-release review

2015-12-15 Thread Torvald Riegel
On Tue, 2015-12-15 at 14:43 +0100, Michael Kerrisk (man-pages) wrote: > Hello all, > > After much too long a time, the revised futex man page *will* > go out in the next man pages release (it has been merged > into master). > > There are various places where the page could still be improved, >

Re: [lm-sensors] LM90 driver and ti tmp461 detection

2015-12-15 Thread Andreas Werner
On Sat, Dec 12, 2015 at 11:08:42AM +0100, Jean Delvare wrote: > Hallo Andreas, > > On Thu, 10 Dec 2015 18:12:31 +0100, Andreas Werner wrote: > > thanks for the register dump :-) > > Can you please share the register dump of your TMP461 with us? > > Thanks, > -- > Jean Delvare > SUSE L3 Support

[PATCH 07/10] perf tools: Add 'trace' sort key

2015-12-15 Thread Namhyung Kim
The 'trace' sort key is to show tracepoint event output using either print fmt or plugin. For example sched_switch event (using plugin) will show output like below: $ perf report -s trace --stdio ... # Overhead Trace output # ...

Re: [RFC 0/6] mmc: Field Firmware Update

2015-12-15 Thread Ulf Hansson
+Chris, Baolin On 25 November 2015 at 09:56, Holger Schurig wrote: > We had to modify the last patch a bit and was able to update a Kingston > device from Firmware 0xba to 0xbd. But when doing this in user-space only is > now the way to go, I should probably not submit it anymore? > > BTW, for

[PATCH] staging: wlan-ng: use list_for_each_entry*

2015-12-15 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- drivers/staging/wlan-ng/hfa384x_usb.c | 17 - drivers/staging/wlan-ng/prism2usb.c | 15 +++ 2 files changed, 7 insertions(+), 25 deletions(-) diff --git

[PATCH 4.3 2/2] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-15 Thread Nikolay Aleksandrov
commit 7f109f7cc37108cba7243bc832988525b0d85909 upstream. When vrf's ->newlink is called, if register_netdevice() fails then it does free_netdev(), but that's also done by rtnl_newlink() so a second free happens and memory gets corrupted, to reproduce execute the following line a couple of times

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Rutland
On Tue, Dec 15, 2015 at 03:08:13PM +, Mark Brown wrote: > On Tue, Dec 15, 2015 at 02:01:36PM +, Mark Rutland wrote: > > > I really don't want to see a table of magic numbers in the kernel. > > Right, there's pitfalls there too although not being part of an ABI > does make them more

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 16:14, wrote: > On 12/15/2015 10:03 AM, Jan Beulich wrote: > On 15.12.15 at 15:36, wrote: >>> On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: On Sat, Dec 12, 2015 at 07:25:55PM -0500, Boris Ostrovsky wrote: > Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much

Re: [PATCH v3] irqchip: omap-intc: add support for spurious irq handling

2015-12-15 Thread Tony Lindgren
* Sekhar Nori [151215 06:26]: > Under some conditions, irq sorting procedure used > by INTC can go wrong resulting in a spurious irq > getting reported. > > If this condition is not handled, it results in > endless stream of: > > unexpected IRQ trap at vector 00 > > messages from

Re: [PATCH v2 1/3] x86/xen: Avoid fast syscall path for Xen PV guests

2015-12-15 Thread Boris Ostrovsky
On 11/19/2015 04:55 PM, Boris Ostrovsky wrote: After 32-bit syscall rewrite, and specifically after commit 5f310f739b4c ("x86/entry/32: Re-implement SYSENTER using the new C path"), the stack frame that is passed to xen_sysexit is no longer a "standard" one (i.e. it's not pt_regs). Since we end

Re: [PATCH v3 0/9] phy: use syscon framework APIs to set ctrl mod reg

2015-12-15 Thread Tony Lindgren
* Kishon Vijay Abraham I [151215 04:47]: > On Tuesday 15 December 2015 05:25 PM, Arnd Bergmann wrote: > >>> > >>> Can you explain here what the conversion is good for? Why do you > >>> prefer the syscon mapping over a high-level driver in this case? > >> > >> phy-omap-control driver was added

[PATCH] iio: ina2xx: fix channel order in software buffer

2015-12-15 Thread Marc Titinger
POWER and CURRENT were swapped out in the buffer: was current2 and power3, correct order is power2 and current3. Signed-off-by: Marc Titinger --- Hi Jon, we just found this while testing with the buffered mode. My apologies for missing this bug ealier. Cheers, Marc. ---

Re: [PATCH 2/6] ARM: DTS: da850: Use the new DT bindings for the eDMA3

2015-12-15 Thread Sekhar Nori
On Tuesday 15 December 2015 07:35 PM, Peter Ujfalusi wrote: > On 12/15/2015 03:48 PM, Sekhar Nori wrote: In future, if/when we gain QDMA support, the QDMA channels could be used for memcopy. >>> >>> Well, in short there is no way to get the qDMA working in a different way >>> either.

Re: [PATCH 4.3] vrf: Fix memory leak on registration failure in vrf_newlink()

2015-12-15 Thread Ben Hutchings
On Tue, 2015-12-15 at 08:15 -0700, David Ahern wrote: > On 12/15/15 8:12 AM, Ben Hutchings wrote: > > @@ -598,7 +599,10 @@ static int vrf_newlink(struct net *src_net, struct > > net_device *dev, > > > >    rcu_assign_pointer(dev->vrf_ptr, vrf_ptr); > > > > - return register_netdev(dev); > >

[PATCH 4.3] vrf: Fix memory leak on registration failure in vrf_newlink()

2015-12-15 Thread Ben Hutchings
The backported version of commit 7f109f7cc371 ("vrf: fix double free and memory corruption on register_netdevice failure") incorrectly removed a kfree() from the failure path as well as the free_netdev(). Add that back. Signed-off-by: Ben Hutchings --- drivers/net/vrf.c | 6 +- 1 file

Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*

2015-12-15 Thread Paul Gortmaker
[Re: [PATCH 00/10] drivers/pci: avoid module_init in non-modular host/pci*] On 14/12/2015 (Mon 11:27) Arnd Bergmann wrote: > On Monday 14 December 2015 10:19:40 Thierry Reding wrote: > > > PCIe host driver that use fixup (DECLARE_PCI_FIXUP_*) can't use tristate. > > > Fixup region is in kernel

Re: [PATCH] net: emac: emac gigabit ethernet controller driver

2015-12-15 Thread Timur Tabi
Arnd Bergmann wrote: We generally want to use readl/writel rather than the relaxed versions, unless it is in performance-critical code. What about if we have 20+ writes in a row, for example, when initializing a part? I've seen code like this: writel_relaxed(...);

karácsony lejárta

2015-12-15 Thread Scotwest Credit Union Limited
-- Köszöntő neked, Rendelkezésre álló pénz kölcsönzésére. Szerezd meg a pénzt / kölcsön van szüksége, Scotwest Credit Union Limited. Mi magán hitelezők / befektetők és kínál mind a személyi kölcsön, startup kölcsön, oktatási / mezőgazdasági hitel, ingatlan / építési hitel, ingatlan hitel,

Re: [PATCH 4.3] vrf: Fix memory leak on registration failure in vrf_newlink()

2015-12-15 Thread David Ahern
On 12/15/15 8:12 AM, Ben Hutchings wrote: @@ -598,7 +599,10 @@ static int vrf_newlink(struct net *src_net, struct net_device *dev, rcu_assign_pointer(dev->vrf_ptr, vrf_ptr); - return register_netdev(dev); + err = register_netdev(dev); + if (err) +

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Boris Ostrovsky
On 12/15/2015 10:03 AM, Jan Beulich wrote: On 15.12.15 at 15:36, wrote: On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: On Sat, Dec 12, 2015 at 07:25:55PM -0500, Boris Ostrovsky wrote: Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much since the hypervisor will likely perform same IPIs as

Re: [RFC][PATCH v2] mmc_block: Allow more than 8 partitions per card

2015-12-15 Thread Ulf Hansson
On 22 October 2015 at 19:00, John Stultz wrote: > From: Colin Cross > > It is quite common for Android devices to utilize more > then 8 partitions on internal eMMC storage. > > The vanilla kernel can support this via > CONFIG_MMC_BLOCK_MINORS, however that solution caps the > system to 256

Re: [RFC PATCH 2/8] Documentation: arm: define DT cpu capacity bindings

2015-12-15 Thread Mark Brown
On Tue, Dec 15, 2015 at 02:01:36PM +, Mark Rutland wrote: > I really don't want to see a table of magic numbers in the kernel. Right, there's pitfalls there too although not being part of an ABI does make them more manageable. One thing it's probably helpful to establish here is how much

Re: [PATCH] xen/x86/pvh: Use HVM's flush_tlb_others op

2015-12-15 Thread Jan Beulich
>>> On 15.12.15 at 15:36, wrote: > On 12/14/2015 10:27 AM, Konrad Rzeszutek Wilk wrote: >> On Sat, Dec 12, 2015 at 07:25:55PM -0500, Boris Ostrovsky wrote: >>> Using MMUEXT_TLB_FLUSH_MULTI doesn't buy us much since the hypervisor >>> will likely perform same IPIs as would have the guest. >>> >>

[PATCH] mm/swapfile.c: use list_for_each_entry_safe in free_swap_count_continuations

2015-12-15 Thread Geliang Tang
Use list_for_each_entry_safe() instead of list_for_each_safe() to simplify the code. Signed-off-by: Geliang Tang --- mm/swapfile.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/mm/swapfile.c b/mm/swapfile.c index 7c714c6..31dc94f 100644 --- a/mm/swapfile.c +++

[PATCH v2] arm64: dts: berlin4ct: switch to Cortex-A53 specific pmu nodes

2015-12-15 Thread Jisheng Zhang
Commit ac82d1277215 ("arm64: perf: add Cortex-A53 support") adds the cortex A53 PMU support, thus instead of using the generic armv8-pmuv3 compatibility use the more specific Cortex A53 compatibility. Signed-off-by: Jisheng Zhang --- Since v1: - keep "arm,armv8-pmuv3" as a fallback in the

Re: [PATCH 1/7] staging: lustre: Delete unnecessary goto statements in six functions

2015-12-15 Thread Joe Perches
On Tue, 2015-12-15 at 17:41 +0300, Dan Carpenter wrote: > On Tue, Dec 15, 2015 at 06:27:56AM -0800, Joe Perches wrote: > > On Sun, 2015-12-13 at 14:52 +0100, SF Markus Elfring wrote: > > > From: Markus Elfring > > > Date: Sun, 13 Dec 2015 09:30:47 +0100 > > > > > > Six goto statements referred

[GIT PULL] fbdev fixes for 4.4

2015-12-15 Thread Tomi Valkeinen
Hi Linus, Please pull two fbdev fixes for 4.4. Tomi The following changes since commit 527e9316f8ec44bd53d90fb9f611fa752bb9: Linux 4.4-rc4 (2015-12-06 15:43:12 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tomba/linux.git

Re: staging: lustre: Less checks in mgc_process_recover_log() after error detection

2015-12-15 Thread SF Markus Elfring
> If you were a lustre dev then I would accept these renames definitely. I find this information interesting. Would any more contributors like to share their opinion? > I do not think I have been unfair to you. This view is correct in principle. > There was no element of surprise. I am

<    1   2   3   4   5   6   7   8   9   10   >