Re: Linux 3.15-rc6

2014-05-23 Thread Miklos Szeredi
On Fri, May 23, 2014 at 3:27 AM, Linus Torvalds wrote: > On Thu, May 22, 2014 at 6:07 PM, Guenter Roeck wrote: >> On 05/22/2014 05:43 PM, Linus Torvalds wrote: >>> >>> >>> only s390 seems to need a compat wrapper, and s390 is kind of odd in >>> many respects, so I suspect renameat2 should just us

linux-next: build failure after merge of the target-updates tree

2014-05-23 Thread Stephen Rothwell
Hi Nicholas, After merging the target-updates tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/scsi/virtio_scsi.c: In function 'virtio_scsi_init_hdr_pi': drivers/scsi/virtio_scsi.c:491:48: error: dereferencing pointer to incomplete type cmd_pi->pi_bytesout =

[PATCH v4 1/5] ARM: Add platform support for LSI AXM55xx SoC

2014-05-23 Thread Anders Berg
From: Anders Berg The AXM55xx family consists of devices that may contain up to 16 ARM Cortex-A15 cores (in a 4x4 cluster configuration). The cores within each cluster share an L2 cache, and the clusters are connected to each other via a CCN-504 cache coherent interconnect. This machine requires

Re: [PATCH v2 13/14] mmc: mmci: add qcom specific clk control

2014-05-23 Thread Linus Walleij
On Thu, May 15, 2014 at 11:37 AM, wrote: > From: Srinivas Kandagatla > > On Qcom SD card controller, cclk is mclk and mclk should be directly > controlled by the driver. > This patch adds support to control mclk directly in the driver, and also > adds explicit_mclk_control and cclk_is_mclk flag

Re: 3.15.0-rc6: VM_BUG_ON_PAGE(PageTail(page), page)

2014-05-23 Thread Kirill A. Shutemov
On Fri, May 23, 2014 at 12:21:47AM -0400, Sasha Levin wrote: > On 05/22/2014 09:58 AM, Dave Jones wrote: > > Not sure if Sasha has already reported this on -next (It's getting hard > > to keep track of all the VM bugs he's been finding), but I hit this > > overnight > > on .15-rc6. First time I'v

Re: Linux 3.15-rc6

2014-05-23 Thread Helge Deller
On 05/23/2014 11:12 AM, Miklos Szeredi wrote: > On Fri, May 23, 2014 at 3:27 AM, Linus Torvalds > wrote: >> On Thu, May 22, 2014 at 6:07 PM, Guenter Roeck wrote: >>> On 05/22/2014 05:43 PM, Linus Torvalds wrote: only s390 seems to need a compat wrapper, and s390 is kind of odd in >

Re: [PATCH v2 12/14] mmc: mmci: add support for fbclk to latch data and cmd.

2014-05-23 Thread Srinivas Kandagatla
On 23/05/14 10:12, Linus Walleij wrote: On Thu, May 15, 2014 at 11:37 AM, wrote: From: Srinivas Kandagatla This patch adds support to fbclk that is used to latch data and cmd on some controllers like SD Card controller in Qcom SOC. Signed-off-by: Srinivas Kandagatla (...) Isn't this

Re: skbuff truesize incorrect.

2014-05-23 Thread Jim Baxter
On 22/05/14 21:58, David Miller wrote: > From: Jim Baxter > Date: Thu, 22 May 2014 21:21:55 +0100 > >> If there are multiple clones for an skb all pointing at the same data, >> will that distort the memory used when they all have the same truesize? > > What is distorted about it? > > Each clone

Re: [PATCH 1/5] phy: add support for USB cluster on the Armada 375 SoC

2014-05-23 Thread Kishon Vijay Abraham I
Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: > The Armada 375 SoC comes with an USB2 host and device controller and > an USB3 controller. The USB cluster control register allows to manage > common features of both USB controllers. > > This commit adds a driver integrated in the gene

Re: [PATCH] [RESEND] ARM: remove last use of CONFIG_CPU_ARM710

2014-05-23 Thread Arnd Bergmann
On Friday 23 May 2014 11:07:54 Paul Bolle wrote: > On Wed, 2014-05-14 at 11:28 +0200, Arnd Bergmann wrote: > > On Wednesday 14 May 2014 11:25:50 Paul Bolle wrote: > > > On Wed, 2014-05-14 at 11:17 +0200, Arnd Bergmann wrote: > > > > 'git grep -i arm710' tells me that there is also some arm710 > > >

Re: linux-next: manual merge of the tip tree with the arm64 tree

2014-05-23 Thread Catalin Marinas
On Fri, May 23, 2014 at 07:44:02AM +0100, Stephen Rothwell wrote: > Today's linux-next merge of the tip tree got a conflict in > arch/arm64/mm/mmu.c between commit a501e32430d4 ("arm64: Clean up the > default pgprot setting") and 206a2a73a62d ("arm64: mm: Create gigabyte > kernel logical mappings w

Re: [PATCH 2/5] Documentation: dt-bindings: document the Armada 375 USB cluster binding

2014-05-23 Thread Kishon Vijay Abraham I
Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: > Armada 375 comes with an USB2 host and device controller and an USB3 > controller. The USB cluster control register allows to manage common > features of both USB controllers. This commit adds the Device Tree > binding documentation for

Re: [PATCH 2/2] serial: imx: disable the receiver ready interrupt for imx_stop_rx

2014-05-23 Thread Huang Shijie
On Fri, May 23, 2014 at 08:10:36AM +0200, Dirk Behme wrote: > On 23.05.2014 06:32, Huang Shijie wrote: > >This patch disables the receiver ready interrupt for imx_stop_rx. > >It reduces the interrupt numbers when the uart is going to close > >or suspend. > > > >Signed-off-by: Huang Shijie > >--- >

Re: [PATCH 2/4] cris: Update comments for generic idle conversion

2014-05-23 Thread Jesper Nilsson
On Fri, May 23, 2014 at 10:54:23AM +0200, Geert Uytterhoeven wrote: > As of commit 8dc7c5ecd8d0f739728d844ee794c4fae169f9c2 ("cris: Use generic > idle loop"), cris no longer provides cpu_idle(). > > - On cris-v10, etrax_gpio_wake_up_check() is called from > default_idle() instead of cpu_idle

Re: [RFC] drm/nouveau: disable caching for VRAM BOs on ARM

2014-05-23 Thread Lucas Stach
Am Freitag, den 23.05.2014, 16:10 +0900 schrieb Alexandre Courbot: > On Mon, May 19, 2014 at 7:16 PM, Lucas Stach wrote: > > Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot: > >> On 05/19/2014 06:57 PM, Lucas Stach wrote: > >> > Am Montag, den 19.05.2014, 18:46 +0900 schrieb Alexa

RE: skbuff truesize incorrect.

2014-05-23 Thread David Laight
From: Jim Baxter > On 22/05/14 21:58, David Miller wrote: > > From: Jim Baxter > > Date: Thu, 22 May 2014 21:21:55 +0100 > > > >> If there are multiple clones for an skb all pointing at the same data, > >> will that distort the memory used when they all have the same truesize? > > > > What is dist

Re: [PATCH 4/5] usb: host: xhci-plat: add optional PHY support

2014-05-23 Thread Kishon Vijay Abraham I
Hi, On Friday 16 May 2014 09:52 PM, Gregory CLEMENT wrote: > This commit extends the xhci-plat so that it can optionally be passed > a reference to a PHY through the Device Tree. It will be useful for > the Armada 375 SoCs. If no PHY is provided then the behavior of the > driver is unchanged. > >

Re: [PATCH v2 14/14] mmc: mmci: Add Qcom specific pio_read function.

2014-05-23 Thread Linus Walleij
On Thu, May 15, 2014 at 11:38 AM, wrote: > From: Srinivas Kandagatla > > MCIFIFOCNT register behaviour on Qcom chips is very different than the other > pl180 integrations. MCIFIFOCNT register contains the number of > words that are still waiting to be transferred through the FIFO. It keeps > de

Re: skbuff truesize incorrect.

2014-05-23 Thread Bjørn Mork
Jim Baxter writes: >> I'll create and test a patch for the cdc_ncm host driver unless someone >> else wants to do that. I haven't really played with the gadget driver >> before, so I'd prefer if someone knowing it (Jim maybe?) could take care >> of it. If not, then I can always make an attempt u

Re: [RFC PATCH 00/16] OMAP: GPMC: Restructure OMAP GPMC driver (NAND) : DT binding change proposal

2014-05-23 Thread Javier Martinez Canillas
Hello Roger, On Fri, May 23, 2014 at 10:16 AM, Roger Quadros wrote: > Ezequiel & Javier, > > On 05/22/2014 05:46 PM, Ezequiel Garcia wrote: >> On 22 May 01:51 PM, Javier Martinez Canillas wrote: >>> On Thu, May 22, 2014 at 10:12 AM, Roger Quadros wrote: > On 21 May 02:20 PM, Roger Quadros wr

[PATCH] tty/hvc/hvc_console: Fix wakeup of HVC thread on hvc_kick()

2014-05-23 Thread Benjamin Herrenschmidt
Some backends call hvc_kick() to wakeup the HVC thread from its slumber upon incoming characters. This however doesn't work properly because it uses msleep_interruptible() which is mostly immune to wake_up_process(). It will basically go back to sleep until the timeout is expired (only signals can

Re: [PATCH v2 14/14] mmc: mmci: Add Qcom specific pio_read function.

2014-05-23 Thread Srinivas Kandagatla
On 23/05/14 10:31, Linus Walleij wrote: On Thu, May 15, 2014 at 11:38 AM, wrote: From: Srinivas Kandagatla MCIFIFOCNT register behaviour on Qcom chips is very different than the other pl180 integrations. MCIFIFOCNT register contains the number of words that are still waiting to be transfe

[PATCH 06/13] vfs: add whiteout support

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi Whiteout isn't actually a new file type, but is represented as a char device (Linus's idea) with 0/0 device number. This has several advantages compared to introducing a new whiteout file type: - no userspace API changes (e.g. trivial to make backups of upper layer file

Re: [RFC] drm/nouveau: disable caching for VRAM BOs on ARM

2014-05-23 Thread Alexandre Courbot
On 05/23/2014 06:24 PM, Lucas Stach wrote: Am Freitag, den 23.05.2014, 16:10 +0900 schrieb Alexandre Courbot: On Mon, May 19, 2014 at 7:16 PM, Lucas Stach wrote: Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot: On 05/19/2014 06:57 PM, Lucas Stach wrote: Am Montag, den 19.05.

[PATCH 12/13] fs: limit filesystem stacking depth

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi Add a simple read-only counter to super_block that indicates how deep this is in the stack of filesystems. Previously ecryptfs was the only stackable filesystem and it explicitly disallowed multiple layers of itself. Overlayfs, however, can be stacked recursively and also m

[PATCH 13/13] vfs: dcache: Export d_ancestor to modules

2014-05-23 Thread Miklos Szeredi
From: Sedat Dilek With OverlayFS v22 I get the following build error when CONFIG_OVERLAYFS_FS=m ERROR: "d_ancestor" [fs/overlayfs/overlayfs.ko] undefined! Fix this by adding the missing export. Signed-off-by: Miklos Szeredi --- fs/dcache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/

Re: 3.15.0-rc6: VM_BUG_ON_PAGE(PageTail(page), page)

2014-05-23 Thread Vlastimil Babka
On 05/22/2014 05:41 PM, Dave Jones wrote: On Thu, May 22, 2014 at 05:08:09PM +0200, Vlastimil Babka wrote: > > RIP: 0010:[] [] PageTransHuge.part.23+0xb/0xd > > Call Trace: > > [] isolate_migratepages_range+0x7a3/0x870 > > [] compact_zone+0x370/0x560 > > [] compact_zone_order+0

[PATCH 03/13] vfs: export __inode_permission() to modules

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi We need to be able to check inode permissions (but not filesystem implied permissions) for stackable filesystems. Expose this interface for overlayfs. Signed-off-by: Miklos Szeredi --- fs/internal.h | 1 - fs/namei.c | 1 + include/linux/fs.h | 1 + 3 files c

[PATCH 11/13] overlay: overlay filesystem documentation

2014-05-23 Thread Miklos Szeredi
From: Neil Brown Document the overlay filesystem. Signed-off-by: Miklos Szeredi --- Documentation/filesystems/overlayfs.txt | 198 MAINTAINERS | 7 ++ 2 files changed, 205 insertions(+) create mode 100644 Documentation/filesystems

[PATCH 09/13] overlayfs: add statfs support

2014-05-23 Thread Miklos Szeredi
From: Andy Whitcroft Add support for statfs to the overlayfs filesystem. As the upper layer is the target of all write operations assume that the space in that filesystem is the space in the overlayfs. There will be some inaccuracy as overwriting a file will copy it up and consume space we were

[PATCH 07/13] vfs: add RENAME_WHITEOUT

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi This adds a new RENAME_WHITEOUT flag. This flag makes rename() create a whiteout of source. The whiteout creation is atomic relative to the rename. Signed-off-by: Miklos Szeredi --- fs/ext4/namei.c | 99 - fs/namei.

[PATCH 10/13] overlayfs: implement show_options

2014-05-23 Thread Miklos Szeredi
From: Erez Zadok This is useful because of the stacking nature of overlayfs. Users like to find out (via /proc/mounts) which lower/upper directory were used at mount time. Signed-off-by: Erez Zadok Signed-off-by: Miklos Szeredi --- fs/overlayfs/super.c | 76 ++

[PATCH 05/13] vfs: export check_sticky()

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi It's already duplicated in btrfs and about to be used in overlayfs too. Move the sticky bit check to an inline helper and call the out-of-line helper only in the unlikly case of the sticky bit being set. Signed-off-by: Miklos Szeredi --- fs/btrfs/ioctl.c | 20 +-

Re: [PATCH RFC] Remove useless return variables

2014-05-23 Thread Jeff Kirsher
On Sun, May 18, 2014 at 5:14 AM, Peter Senna Tschudin wrote: > Added CC: triv...@vger.kernel.org > > On Sun, May 18, 2014 at 7:04 AM, Andi Kleen wrote: >> Peter Senna Tschudin writes: >> >>> This patch remove variables that are initialized with a constant, >>> are never updated, and are only use

[PATCH 01/13] vfs: add i_op->dentry_open()

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi Add a new inode operation i_op->dentry_open(). This is for stacked filesystems that want to return a struct file from a different filesystem. Signed-off-by: Miklos Szeredi --- Documentation/filesystems/Locking | 2 ++ Documentation/filesystems/vfs.txt | 7 +++ fs/na

[PATCH 00/13] overlay filesystem v22

2014-05-23 Thread Miklos Szeredi
I'd like to propose this for 3.16. Changes in v22: - Whiteout is now a special char device instead of a symlink, this breaks compatibility with previous versions. See attached conversion script (takes upperdir as argument). - Uses cross-rename to make operations atomic: copy-up, unlink,

[PATCH 04/13] vfs: introduce clone_private_mount()

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi Overlayfs needs a private clone of the mount, so create a function for this and export to modules. Signed-off-by: Miklos Szeredi --- fs/namespace.c| 27 +++ include/linux/mount.h | 3 +++ 2 files changed, 30 insertions(+) diff --git a/fs/n

[PATCH 02/13] vfs: export do_splice_direct() to modules

2014-05-23 Thread Miklos Szeredi
From: Miklos Szeredi Export do_splice_direct() to modules. Needed by overlay filesystem. Signed-off-by: Miklos Szeredi --- fs/internal.h | 6 -- fs/splice.c| 1 + include/linux/fs.h | 3 +++ 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/fs/internal.h b/fs/int

Re: skbuff truesize incorrect.

2014-05-23 Thread Bjørn Mork
David Laight writes: > Since USB bulk data are terminated by a short fragment there is actually > no need for the URB be long enough for the full message. Provided the > URB are multiples of the USB message size (1k for USB 3) the message > can be received into multiple URB - the driver just has

Re: [PATCH] e1000: Use time_after() for time comparison

2014-05-23 Thread Jeff Kirsher
On Thu, 2014-05-22 at 22:21 +0200, Manuel Schölling wrote: > To be future-proof and for better readability the time comparisons are > modified > to use time_after() instead of plain, error-prone math. > > Signed-off-by: Manuel Schölling > --- > drivers/net/ethernet/intel/e1000/e1000_ethtool.c |

[PATCH v2] spi: dw-mmio: add oftree support

2014-05-23 Thread Steffen Trumtrar
Allow probing the dw-mmio from devicetree. Signed-off-by: Steffen Trumtrar --- Changes since v1: - num-chipselect -> num-cs - snps,dw-spi-mmio -> snps,dw-apb-ssi .../devicetree/bindings/spi/snps,dw-apb-ssi.txt| 25 ++ drivers/spi/spi-dw-mmio.c

Re: [RFC] drm/nouveau: disable caching for VRAM BOs on ARM

2014-05-23 Thread Lucas Stach
Am Freitag, den 23.05.2014, 18:43 +0900 schrieb Alexandre Courbot: > On 05/23/2014 06:24 PM, Lucas Stach wrote: > > Am Freitag, den 23.05.2014, 16:10 +0900 schrieb Alexandre Courbot: > >> On Mon, May 19, 2014 at 7:16 PM, Lucas Stach > >> wrote: > >>> Am Montag, den 19.05.2014, 19:06 +0900 schrieb

Re: [RFC PATCH 1/3] mfd: AXP22x: add support for APX221 PMIC

2014-05-23 Thread Lee Jones
> > This patch introduces preliminary support for the X-Powers AXP221 PMIC. > > The AXP221 is typically used on boards using Allwinner's A31 SoC. > > > > At the moment, this driver only exposes regulator devices, but other > > subdevices. > > > > Signed-off-by: Boris BRE

[PATCH 04/26] perf hists: Accumulate hist entry stat based on the callchain

2014-05-23 Thread Namhyung Kim
Call __hists__add_entry() for each callchain node to get an accumulated stat for an entry. Introduce new cumulative_iter ops to process them properly. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/buil

[PATCH 02/26] perf hists: Add support for accumulated stat of hist entry

2014-05-23 Thread Namhyung Kim
Maintain accumulated stat information in hist_entry->stat_acc if symbol_conf.cumulate_callchain is set. Fields in ->stat_acc have same vaules initially, and will be updated as callchain is processed later. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbe

[PATCH 25/26] perf tests: Define and use symbolic names for fake symbols

2014-05-23 Thread Namhyung Kim
In various histogram test cases, fake symbols are used as raw numbers. Define macros for each pid, map, symbols so that it can increase readability somewhat. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/tests/hists_common.c | 47 ++-

[PATCH 26/26] perf tests: Add a test case for cumulating callchains

2014-05-23 Thread Namhyung Kim
Now it adds a new testcase to verify --children option working correctly. Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Makefile.perf | 1 + tools/perf/tests/builtin-test.c | 4 + tools/perf/tests/hists_common.c | 5 +- tools/perf/tests/h

[PATCH 22/26] perf ui/stdio: Fix invalid percentage value of cumulated hist entries

2014-05-23 Thread Namhyung Kim
On stdio, there's a problem that it shows invalid values for callchains in cumulated hist entries. It's because it only cares about the self period. But with --children behavior, we always add callchain info to the cumulated entries so it should use the value in that case. Before: # Children

[PATCH 23/26] perf ui/gtk: Fix callchain display

2014-05-23 Thread Namhyung Kim
With current output field change, GTK browser cannot display callchain information correctly since it couldn't determine where the symbol column is. This is a problem - just for now I changed to use the last column since it'll work for most cases. Also it has a same problem of the percentage as s

[PATCH 20/26] perf top: Add top.children config option

2014-05-23 Thread Namhyung Kim
Add top.children config option for setting default value of callchain accumulation. It affects the output only if one of -g or --call-graph option is given as well. A user can write .perfconfig file like below to enable accumulation by default: $ cat ~/.perfconfig [top] children = true An

[PATCH 24/26] perf tools: Reset output/sort order to default

2014-05-23 Thread Namhyung Kim
When reset_output_field() is called, also reset field/sort order to NULL so that it can have the default values. It's needed for testing. CC: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/sort.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools

[PATCH 15/26] perf report: Add report.children config option

2014-05-23 Thread Namhyung Kim
Add report.children config option for setting default value of callchain accumulation. It affects the report output only if perf.data contains callchain info. A user can write .perfconfig file like below to enable accumulation by default: $ cat ~/.perfconfig [report] children = true And i

[PATCH 01/26] perf tools: Introduce struct hist_entry_iter

2014-05-23 Thread Namhyung Kim
There're some duplicate code when adding hist entries. They are different in that some have branch info or mem info but generally do same thing. So introduce new struct hist_entry_iter and add callbacks to customize each case in general way. The new perf_evsel__add_entry() function will look lik

Re: [PATCH v3 3/4] mfd: tps65917: Add driver for the TPS65917 PMIC

2014-05-23 Thread Lee Jones
> The TPS65917 chip is a power management IC for Portable Navigation Systems > and Tablet Computing devices. It contains the following components: > > - Regulators. > - Over Temperature warning and Shut down. > > This patch adds support for tps65917 mfd device. At

[PATCH 16/26] perf tools: Do not auto-remove Children column if --fields given

2014-05-23 Thread Namhyung Kim
Depending on the configuration perf inserts/removes the Children column in the output automatically. But it might not be what user wants if [s]he give --fields option explicitly. Tested-by: Rodrigo Campos Cc: Arun Sharma Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/h

[PATCH 18/26] perf top: Convert to hist_entry_iter

2014-05-23 Thread Namhyung Kim
Reuse hist_entry_iter__add() function to share the similar code with perf report. Note that it needs to be called with hists.lock so tweak some internal functions not to deadlock or hold the lock too long. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Signed-off-by: Namh

[PATCH 19/26] perf top: Add --children option

2014-05-23 Thread Namhyung Kim
The --children option is for showing accumulated overhead (period) value as well as self overhead. It should be used with one of -g or --call-graph option. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf

Re: powerpc: remove checks for CONFIG_BOOK3E_MMU_TLB_STATS

2014-05-23 Thread Paul Bolle
On Fri, 2014-05-23 at 09:33 +0200, Paul Bolle wrote: > Scott, > > On Thu, 2014-05-22 at 17:37 -0500, Scott Wood wrote: > > /home/scott/fsl/git/linux/upstream/arch/powerpc/mm/tlb_low_64e.S: Assembler > > messages: > > /home/scott/fsl/git/linux/upstream/arch/powerpc/mm/tlb_low_64e.S:89: Error: > >

[PATCH 17/26] perf tools: Add callback function to hist_entry_iter

2014-05-23 Thread Namhyung Kim
The new ->add_entry_cb() will be called after an entry was added to the histogram. It's used for code sharing between perf report and perf top. Note that ops->add_*_entry() should set iter->he properly in order to call the ->add_entry_cb. Also pass @arg to the callback function. It'll be used b

Re: [PATCH RESEND v2 0/4] mfd: Intel SoC Power Management IC

2014-05-23 Thread Lee Jones
> Devices based on Intel SoC products such as Baytrail have a Power > Management IC. In the PMIC there are subsystems for voltage regulation, > A/D conversion, GPIO and PWMs. The PMIC in Baytrail-T platform is called > Crystal Cove. > > This series contains common code for these PMICs, and device

[PATCH 21/26] perf tools: Enable --children option by default

2014-05-23 Thread Namhyung Kim
Now perf top and perf report will show children column by default if it has callchain information. Requested-by: Ingo Molnar Tested-by: Rodrigo Campos Tested-by: Arun Sharma Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/symbol.c | 11 ++-

[PATCH 07/26] perf callchain: Add callchain_cursor_snapshot()

2014-05-23 Thread Namhyung Kim
The callchain_cursor_snapshot() is for saving current status of the callchain. It'll be used to accumulate callchain information for each node. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/callch

[PATCH 03/26] perf hists: Check if accumulated when adding a hist entry

2014-05-23 Thread Namhyung Kim
To support callchain accumulation, @entry should be recognized if it's accumulated or not when add_hist_entry() called. The period of an accumulated entry should be added to ->stat_acc but not ->stat. Add @sample_self arg for that. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri

[PATCH 10/26] perf ui/browser: Add support to accumulated hist stat

2014-05-23 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 26 +- 1 file changed, 25 insertions(+), 1 deletion(-) d

[PATCH 11/26] perf ui/gtk: Add support to accumulated hist stat

2014-05-23 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/gtk/hists.c | 17 + 1 file changed, 17 insertions(+) diff --git a/tools/perf/ui/gtk

[PATCH 06/26] perf report: Cache cumulative callchains

2014-05-23 Thread Namhyung Kim
It is possble that a callchain has cycles or recursive calls. In that case it'll end up having entries more than 100% overhead in the output. In order to prevent such entries, cache each callchain node and skip if same entry already cumulated. Tested-by: Arun Sharma Tested-by: Rodrigo Campos A

[PATCH 13/26] perf tools: Add more hpp helper functions

2014-05-23 Thread Namhyung Kim
Sometimes it needs to disable some columns at runtime. Add help functions to support that. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/ui/hist.c | 17 + tools/perf/util/hist.h | 4

[PATCH 09/26] perf ui/hist: Add support to accumulated hist stat

2014-05-23 Thread Namhyung Kim
Print accumulated stat of a hist entry if requested. To do that, add new HPP_PERCENT_ACC_FNS macro and generate a perf_hpp_fmt using it. The __hpp__sort_acc() function sorts entries by accumulated period value. When accumulated periods of two entries are same (i.e. single path callchain) put the

Re: [PATCH] mfd: db8500-prcmu: remove check for CONFIG_DBX500_PRCMU_DEBUG

2014-05-23 Thread Lee Jones
> A check for CONFIG_DBX500_PRCMU_DEBUG was added in v3.6. But there's no > Kconfig symbol DBX500_PRCMU_DEBUG. So remove this check. > > Signed-off-by: Paul Bolle > --- > Untested. Note that db8500_prcmu_debug_dump() is nowhere to be found in > the tree. > > This check has been in the tree for l

[PATCH 12/26] perf tools: Apply percent-limit to cumulative percentage

2014-05-23 Thread Namhyung Kim
If -g cumulative option is given, it needs to show entries which don't have self overhead. So apply percent-limit to accumulated overhead percentage in this case. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- too

[PATCHSET 00/26] perf tools: Add support to accumulate hist periods (v10)

2014-05-23 Thread Namhyung Kim
Hello, This is a new attempt to implement cumulative hist period report. This work begins from Arun's SORT_INCLUSIVE patch [1] but I completely rewrote it from scratch. This patchset basically adds period in a sample to every node in the callchain. A hist_entry now has an additional fields to ke

[PATCH 08/26] perf tools: Save callchain info for each cumulative entry

2014-05-23 Thread Namhyung Kim
When accumulating callchain entry, also save current snapshot of the chain so that it can show the rest of the chain. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/util/hist.c | 17 +++-- 1

[PATCH v6 3/3] CPU hotplug, smp: Flush any pending IPI callbacks before CPU offline

2014-05-23 Thread Srivatsa S. Bhat
During CPU offline, in the stop-machine loop, we use 2 separate stages to disable interrupts, to ensure that the CPU going offline doesn't get any new IPIs from the other CPUs after it has gone offline. However, an IPI sent much earlier might arrive late on the target CPU (possibly _after_ the CPU

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

2014-05-23 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 v6 0/3] CPU hotplug: Fix the long-standing "IPI to offline CPU" issue

2014-05-23 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

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

2014-05-23 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] staging: usbip: use kcalloc instead of kzalloc for array allocations

2014-05-23 Thread Djordje Zekovic
The advantage of kcalloc is, that will prevent integer overflows which could result from the multiplication of number of elements and size and it is also a bit nicer to read. Signed-off-by: Djordje Zekovic --- Fixed: Richard Weinberger pointed to building issue in his review. drivers/

[PATCH 14/26] perf report: Add --children option

2014-05-23 Thread Namhyung Kim
The --children option is for showing accumulated overhead (period) value as well as self overhead. Tested-by: Arun Sharma Tested-by: Rodrigo Campos Acked-by: Jiri Olsa Cc: Frederic Weisbecker Signed-off-by: Namhyung Kim --- tools/perf/Documentation/perf-report.txt | 7 ++- tools/perf/bu

[PATCH 05/26] perf tools: Update cpumode for each cumulative entry

2014-05-23 Thread Namhyung Kim
The cpumode and level in struct addr_localtion was set for a sample and but updated as cumulative callchains were added. This led to have non-matching symbol and cpumode in the output. Update it accordingly based on the fact whether the map is a part of the kernel or not. This is a reverse of wh

[patch] sched: signedness bug in yield_to()

2014-05-23 Thread Dan Carpenter
yield_to() is supposed to return -ESRCH if there is no task to yield to, but because the type is bool that is the same as returning true. The only place I see which cares is kvm_vcpu_on_spin(). Signed-off-by: Dan Carpenter diff --git a/include/linux/sched.h b/include/linux/sched.h index 9112646

Re: [PATCH 02/47] mtd: nand: stm_nand_bch: provide Device Tree documentation

2014-05-23 Thread Lee Jones
> >This is where we describe the different new and generic options used by > >the ST BCH driver. > > > >Cc: devicet...@vger.kernel.org > >Signed-off-by: Lee Jones > >--- > > Documentation/devicetree/bindings/mtd/stm-nand.txt | 123 > > + > > 1 file changed, 123 insertions(+) >

[GIT PULL] clockevents: new material for 3.16

2014-05-23 Thread Daniel Lezcano
Hi Thomas, Ingo, this time we have a big number of changes in the clockevents. There is a branch shared between Simon and I with two merges. The first merge was to pull the cmt,mtu changes from Laurent into the clockevents/cmt-mtu2-tmu-cleanups branch. Then this one has been merged in the cl

[PATCH 3/3] ARM: dts: replace the broken-cd property into slot node for dwmmc.

2014-05-23 Thread Jaehoon Chung
dw-mmc controller can be support the multiple slot. So each slot's property can be difference. Signed-off-by: Jaehoon Chung --- arch/arm/boot/dts/exynos4412-odroidx.dts |2 +- arch/arm/boot/dts/exynos4412-origen.dts |2 +- arch/arm/boot/dts/exynos4412-trats2.dts |4 +

[PATCH 0/3] mmc: fixed the mmc_of_parse for dwmmc

2014-05-23 Thread Jaehoon Chung
This patch-set is fixed the dw-mmc controller problem. dw-mmc controller have the slot, but mmc_of_parse didn't parse the slot sub-node. So dw-mmc controller didn't work correctly. Jaehoon Chung (2): mmc: dw_mmc: use the __mmc_of_parse to parse the slot node ARM: dts: replace the broken-cd pr

[PATCH 1/3] mmc: host: add slot argument to mmc_of_parse

2014-05-23 Thread Jaehoon Chung
From: Ludovic Desroches Some hosts manage several slots. In these case information such as the bus width, chi detect and others are into the slot node. So we have to parse child node. If not NULL, slot node will be used instead of the device node. Signed-off-by: Ludovic Desroches Signed-off-by:

[PATCH 2/3] mmc: dw_mmc: use the __mmc_of_parse to parse the slot node

2014-05-23 Thread Jaehoon Chung
dw-mmc controller have the multiple slot. Then it needs to parse the property for each slot. Signed-off-by: Jaehoon Chung --- drivers/mmc/host/dw_mmc.c | 25 ++--- 1 file changed, 6 insertions(+), 19 deletions(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw

Kein Disp okre dit von Ihrer Hausbank?

2014-05-23 Thread Joachim Zimmermann
Guten Tag, haben Sie ein paar Sekunden Zeit für die gute Nachricht vom Tage? hatdieBankIhne n di e Kre ditli niegestr iche n? Gehen Sie doch dorthin, wo man Sie als Kunden noch anständig behandelt. Auch bei schlechter Auskunft und bereits von Ihrer eigenen Bank zurückgewi

Re: [PATCH 04/47] mtd: nand: adding ST's BCH NAND Controller driver

2014-05-23 Thread Lee Jones
It's strange that your replies aren't connected to my original patches in my INBOX. Is there something wrong with your mailer? > >First introduction of the driver. Includes the basic device struct > >(some functionality isn't utilised as of yet) and supplies some of the > >important resources req

[PATCH 35/71] clocksource: sh_tmu: Sort headers alphabetically

2014-05-23 Thread Daniel Lezcano
From: Laurent Pinchart This helps locating duplicates and inserting new headers. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_tmu.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_t

[PATCH 27/71] clocksource: sh_tmu: Add index to struct sh_tmu_channel

2014-05-23 Thread Daniel Lezcano
From: Laurent Pinchart Use the index as the timer start/stop bit and when printing messages to identify the channel. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_tmu.c | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/driv

[PATCH 12/71] clocksource: sh_cmt: Replace hardcoded register values with macros

2014-05-23 Thread Daniel Lezcano
From: Laurent Pinchart Define symbolic macros for all used registers bits. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 56 +- 1 file changed, 44 insertions(+), 12 deletions(-) diff --git a/drivers/clocksource/sh_cmt.c b/drivers/

[PATCH 07/71] clocksource: sh_cmt: Add memory base to sh_cmt_channel structure

2014-05-23 Thread Daniel Lezcano
From: Laurent Pinchart The channel memory base is channel-specific, add it to the channel structure in preparation for support of multiple channels per device. Signed-off-by: Laurent Pinchart --- drivers/clocksource/sh_cmt.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-)

[PATCH 71/71] clocksource: Add Freescale FlexTimer Module (FTM) timer support

2014-05-23 Thread Daniel Lezcano
From: Xiubo Li The Freescale FlexTimer Module time reference is a 16-bit counter that can be used as an unsigned or signed increase counter. CNTIN defines the starting value of the count and MOD defines the final value of the count. The value of CNTIN is loaded into the FTM counter, and the coun

[PATCH 68/71] clocksource: sh_tmu: Remove unnecessary OOM messages

2014-05-23 Thread Daniel Lezcano
From: Jingoo Han The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. [dlezcano] : refreshed against latest modifications: kmalloc -> kzalloc Signed-off-by: Jingoo Han Signed-off-by: Daniel Lezcano --- drivers/clocksource/sh_tmu.c |

[PATCH 64/71] clocksource: dw_apb_timer_of: Do not trace read_sched_clock

2014-05-23 Thread Daniel Lezcano
From: Yang Wei We do not need to trace read_sched_clock function, so add notrace attribute for this function. Signed-off-by: Yang Wei Signed-off-by: Daniel Lezcano --- drivers/clocksource/dw_apb_timer_of.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clocksou

[PATCH 56/71] KConfig: Vexpress: build the ARM_GLOBAL_TIMER with vexpress platform

2014-05-23 Thread Daniel Lezcano
From: Matthew Leach The Cortex A5 now contains bindings for the global timer driver. Ensure that the driver is built with a vexpress platform. Signed-off-by: Matthew Leach Signed-off-by: Daniel Lezcano --- arch/arm/mach-vexpress/Kconfig |1 + 1 file changed, 1 insertion(+) diff --git a/a

[PATCH 70/71] ARM: dts: vf610: Add Freescale FlexTimer Module timer node.

2014-05-23 Thread Daniel Lezcano
From: Xiubo Li Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu Signed-off-by: Daniel Lezcano --- arch/arm/boot/dts/vf610.dtsi | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/vf610.dtsi b/arch/arm/boot/dts/vf610.dtsi index b8ce0aa7..3c91b84 100644

[PATCH 67/71] clocksource: sh_mtu2: Remove unnecessary OOM messages

2014-05-23 Thread Daniel Lezcano
From: Jingoo Han The site-specific OOM messages are unnecessary, because they duplicate the MM subsystem generic OOM message. [dlezcano] : refreshed against latest modifications: kmalloc -> kzalloc Signed-off-by: Jingoo Han Signed-off-by: Daniel Lezcano --- drivers/clocksource/sh_mtu2.c |

[PATCH 69/71] clocksource: ftm: Add FlexTimer Module (FTM) Timer devicetree Documentation

2014-05-23 Thread Daniel Lezcano
From: Xiubo Li The FTM binding could be used on Vybrid and LS1+, add a binding document for it. Signed-off-by: Xiubo Li Cc: Shawn Guo Cc: Jingchang Lu Signed-off-by: Daniel Lezcano --- .../devicetree/bindings/timer/fsl,ftm-timer.txt| 31 1 file changed, 31 inserti

[PATCH 60/71] clocksource: qcom: Implement read_current_timer for udelay

2014-05-23 Thread Daniel Lezcano
From: Stephen Boyd Setup the same timer used as the clocksource to be used as the read_current_timer implementation. This allows us to support a stable udelay implementation on MSMs where it's possible for the CPUs to scale speeds independently of one another. Signed-off-by: Stephen Boyd Signed

<    1   2   3   4   5   6   7   8   >