Re: [PATCH] mtd: nand: qcom: fixup whitespace

2016-05-05 Thread Boris Brezillon
Hi Brian, On Thu, 5 May 2016 12:38:48 -0700 Brian Norris wrote: > Should be using tabs instead of spaces. Since I had to rebase to fix the circular dependency problem, I squashed the changes into "mtd: nand: qcom: switch to mtd_ooblayout_ops". Thanks, Boris > > Signed-off-by: Brian Norris

Re: linux-next: build failure after merge of the akpm-current tree

2016-05-05 Thread Michael Ellerman
On Fri, 2016-05-06 at 16:09 +1000, Stephen Rothwell wrote: > Hi Andrew, > > On Thu, 5 May 2016 22:44:29 -0700 Andrew Morton > wrote: > > > > On Fri, 6 May 2016 14:58:10 +1000 Stephen Rothwell > > wrote: > > > > > After merging the akpm-current tree, today's linux-next build (and a > > > few

Re: [PATCH 0/3] usb: USB Type-C Class and driver for UCSI

2016-05-05 Thread Felipe Balbi
Hi Guenter, Guenter Roeck writes: > On Tue, Feb 09, 2016 at 07:01:20PM +0200, Heikki Krogerus wrote: >> Hi, >> >> The OS, or more precisely the user space, needs to be able to control >> a few things regarding USB Type-C ports. The first thing that must be >> allowed to be controlled is the dat

[tip:perf/core] perf evlist: Rename variable in perf_mmap__read()

2016-05-05 Thread tip-bot for Wang Nan
Commit-ID: b6b85dad30ad7e7394990e2317a780577974a4e6 Gitweb: http://git.kernel.org/tip/b6b85dad30ad7e7394990e2317a780577974a4e6 Author: Wang Nan AuthorDate: Wed, 27 Apr 2016 02:19:21 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:04 -0300 perf evlist: Rename

[tip:perf/core] perf evlist: Extract perf_mmap__read()

2016-05-05 Thread tip-bot for Wang Nan
Commit-ID: 0f4ccd11813f59d766039dfdd13aa98245a67294 Gitweb: http://git.kernel.org/tip/0f4ccd11813f59d766039dfdd13aa98245a67294 Author: Wang Nan AuthorDate: Wed, 27 Apr 2016 02:19:20 + Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:03 -0300 perf evlist: Extrac

Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

2016-05-05 Thread Felipe Balbi
Hi Jim, Jim Lin writes: > On 2016年05月04日 18:37, Felipe Balbi wrote: >> * PGP Signed by an unknown key >> >> >> Hi, >> >> Jim Lin writes: >> >> >> > In f_fs.c > " > static int __ffs_data_do_os_desc(enum ffs_os_desc_type type, > struct usb_os_desc_header *h, v

[tip:perf/core] perf powerpc: Fix kprobe and kretprobe handling with kallsyms on ppc64le

2016-05-05 Thread tip-bot for Naveen N. Rao
Commit-ID: 239aeba764092b29dd7cab177cd47f472390622e Gitweb: http://git.kernel.org/tip/239aeba764092b29dd7cab177cd47f472390622e Author: Naveen N. Rao AuthorDate: Tue, 12 Apr 2016 14:40:49 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:02 -0300 perf powerpc:

[tip:perf/core] perf symbols: Fix kallsyms perf test on ppc64le

2016-05-05 Thread tip-bot for Naveen N. Rao
Commit-ID: 0b3c2264ae30ed692fd1ffd2b84c5fbdf737cb0d Gitweb: http://git.kernel.org/tip/0b3c2264ae30ed692fd1ffd2b84c5fbdf737cb0d Author: Naveen N. Rao AuthorDate: Tue, 12 Apr 2016 14:40:50 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:03 -0300 perf symbols:

[tip:perf/core] perf hists: Move sort__has_thread into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: fa82911a1bdf4f9870ffca097d7fe21128b5639c Gitweb: http://git.kernel.org/tip/fa82911a1bdf4f9870ffca097d7fe21128b5639c Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:47 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:01 -0300 perf hists: Move so

[tip:perf/core] perf hists: Move sort__has_socket into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: 35a634f76c02b98d31397a589544022b478c0e12 Gitweb: http://git.kernel.org/tip/35a634f76c02b98d31397a589544022b478c0e12 Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:46 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:01 -0300 perf hists: Move so

[tip:perf/core] perf hists: Move sort__has_comm into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: 7cecb7fe8388d5c39708d7f07e642ed31bb9d4fe Gitweb: http://git.kernel.org/tip/7cecb7fe8388d5c39708d7f07e642ed31bb9d4fe Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:48 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:02 -0300 perf hists: Move so

[tip:perf/core] perf hists: Move sort__has_dso into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: 69849fc5d2119799509026df7a6fd5ffe5a578b3 Gitweb: http://git.kernel.org/tip/69849fc5d2119799509026df7a6fd5ffe5a578b3 Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:45 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:04:00 -0300 perf hists: Move so

[tip:perf/core] perf hists: Move sort__has_sym into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: 2e0453af4e16e97268b9e66aad37beb607ed7c0f Gitweb: http://git.kernel.org/tip/2e0453af4e16e97268b9e66aad37beb607ed7c0f Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:44 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:59 -0300 perf hists: Move so

[tip:perf/core] perf hists: Move sort__need_collapse into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: 52225036fa8f5aca4c1b7b4f12742f72a1bf9d73 Gitweb: http://git.kernel.org/tip/52225036fa8f5aca4c1b7b4f12742f72a1bf9d73 Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:42 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:58 -0300 perf hists: Move so

[tip:perf/core] perf tools powerpc: Add support for generating bpf prologue

2016-05-05 Thread tip-bot for Naveen N. Rao
Commit-ID: 4679bccaa30893ccc5be35c5c5d44f5ab60c0a08 Gitweb: http://git.kernel.org/tip/4679bccaa30893ccc5be35c5c5d44f5ab60c0a08 Author: Naveen N. Rao AuthorDate: Thu, 5 May 2016 20:53:19 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:58 -0300 perf tools powe

[tip:perf/core] perf hists: Move sort__has_parent into struct perf_hpp_list

2016-05-05 Thread tip-bot for Jiri Olsa
Commit-ID: de7e6a7c8bf9ee46dcbee749bc3cdd0d9c21998a Gitweb: http://git.kernel.org/tip/de7e6a7c8bf9ee46dcbee749bc3cdd0d9c21998a Author: Jiri Olsa AuthorDate: Tue, 3 May 2016 13:54:43 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:59 -0300 perf hists: Move so

[tip:perf/core] perf trace: Do not show the runtime_ms for a thread when not collecting it

2016-05-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 03548ebf6d8cc8a3a782121cf3e54ea41230e227 Gitweb: http://git.kernel.org/tip/03548ebf6d8cc8a3a782121cf3e54ea41230e227 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 5 May 2016 15:46:50 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:57 -0300 perf

[tip:perf/core] perf trace: Sort summary output by number of events

2016-05-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 96c144512263906cc41a25524fa114c90acd3a01 Gitweb: http://git.kernel.org/tip/96c144512263906cc41a25524fa114c90acd3a01 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 4 May 2016 12:47:16 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:56 -0300 perf

[tip:perf/core] perf trace: Sort syscalls stats by msecs in --summary

2016-05-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: b535d523dce58e8e94f7dbf741f1e9b5479e61d4 Gitweb: http://git.kernel.org/tip/b535d523dce58e8e94f7dbf741f1e9b5479e61d4 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 4 May 2016 16:06:26 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:56 -0300 perf

[tip:perf/core] perf tools: Add template for generating rbtree resort class

2016-05-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f58c253564815db541e93b5411c2b47dbcb2f0ea Gitweb: http://git.kernel.org/tip/f58c253564815db541e93b5411c2b47dbcb2f0ea Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 5 May 2016 11:44:28 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:55 -0300 perf

[tip:perf/core] perf machine: Introduce number of threads member

2016-05-05 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d2c11034406733374d1cdc588c53bb076d95a4e2 Gitweb: http://git.kernel.org/tip/d2c11034406733374d1cdc588c53bb076d95a4e2 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 4 May 2016 10:09:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 5 May 2016 21:03:55 -0300 perf

Re: Regression of v4.6-rc vs. v4.5 bisected: a98ee79317b4 "drm/i915/fbc: enable FBC by default on HSW and BDW"

2016-05-05 Thread Daniel Vetter
On Thu, May 05, 2016 at 10:45:31PM +0200, Stefan Richter wrote: > On May 05 Stefan Richter wrote: > > Quoting the changelog of the commit: > [...] > > - Download intel-gpu-tools, compile it, and run: > >$ sudo ./tests/kms_frontbuffer_tracking --run-subtest '*fbc-*' 2>&1 > > | tee fbc.

Re: [GIT PULL 00/17] perf/core improvements and fixes

2016-05-05 Thread Ingo Molnar
> > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-20160505 > > for you to fetch changes up to b6b85dad30ad7e7394990e2317a780577974a4e6: > > perf evlist: Rename va

Re: [PATCH 5/5] vfio-pci: Allow to mmap MSI-X table if interrupt remapping is supported

2016-05-05 Thread Alexey Kardashevskiy
On 05/06/2016 01:05 AM, Alex Williamson wrote: On Thu, 5 May 2016 12:15:46 + "Tian, Kevin" wrote: From: Yongji Xie [mailto:xyj...@linux.vnet.ibm.com] Sent: Thursday, May 05, 2016 7:43 PM Hi David and Kevin, On 2016/5/5 17:54, David Laight wrote: From: Tian, Kevin Sent: 05 May 2016 10:

Re: [PATCH 4/5] pci-ioda: Set PCI_BUS_FLAGS_MSI_REMAP for IODA host bridge

2016-05-05 Thread Alexey Kardashevskiy
On 04/27/2016 10:43 PM, Yongji Xie wrote: Any IODA host bridge have the capability of IRQ remapping. So we set PCI_BUS_FLAGS_MSI_REMAP when this kind of host birdge is detected. Signed-off-by: Yongji Xie Reviewed-by: Alexey Kardashevskiy --- arch/powerpc/platforms/powernv/pci-ioda.c |

Re: [PATCH] cpufreq: governor: Fix handling of special cases in dbs_update()

2016-05-05 Thread Viresh Kumar
On 06-05-16, 01:30, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > As reported in KBZ 69821: > > "With CONFIG_HZ_PERIODIC=y cpu stays at the lowest frequcency 800MHz > even if usage goes to 100%, frequency does not scale up, the governor > in use is ondemand. Neither works conservative

Re: [RFC v2 13/13] ARM: dts: exynos: Fix LAN and HUB after bootloader initialization on Odroid U3

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 10:16 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> On Odroid U3 (Exynos4412-based) board if USB was initialized by >> bootloader (in U-Boot "usb start" before tftpboot), the HUB (usb3503) >> and LAN (smsc95xx) after

Re: [RFC v2 11/13] usb: port: Parse pwrseq phandle from Device Tree

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 10:10 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> Parse usb-pwrseq property from Device Tree to get the phandle to pwrseq >> device. The pwrseq device will be used by USB hub to cycle the power >> before activating

Re: [RFC v2 09/13] power: pwrseq: Add support for USB hubs with external power

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 09:52 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> Some USB devices on embedded boards have external power supply which has >> to be reset in certain conditions. Add pwrseq interface for this. >> >> Signed-off-by: Kr

Re: [RFC v2 07/13] power: pwrseq: simple: Add support for toggling regulator

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 09:31 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> Some devices need real hard-reset by cutting the power. During power >> sequence turn off and on the regulator, if it is provided. >> >> Signed-off-by: Krzysztof Ko

[RFC PATCH] drivers/pinctrl: Add pinctrl-ast2400

2016-05-05 Thread Andrew Jeffery
Hi all, This is a patch partially implementing a pinctrl/pinmux driver for the Aspeed AST2400 ARM SoC, complementing Joel Stanley's recent series[1] adding the core support for the chip. With additional integration patches there's enough pinmux to boot the SoC and configure a number of i2c busses,

Re: [RFC v2 05/13] power: pwrseq: Remove mmc prefix from mmc_pwrseq

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 09:09 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> The "mmc" prefix is no longer needed after moving the pwrseq core code >> from mmc/ to power/. >> >> Signed-off-by: Krzysztof Kozlowski >> --- > > [snip] > >> dif

[RFC PATCH] drivers/pinctrl: Add pinctrl-ast2400

2016-05-05 Thread Andrew Jeffery
Add pinctrl/pinmux support for the Aspeed AST2400 SoC. Configuration of the SoC is somewhat involved: Enabling functions can involve writes of multiple bits to multiple registers, and signals provided by a pin are determined on a priority basis. That is, without care, it's possible to configure a f

Re: [RFC v2 02/13] power/mmc: Move pwrseq drivers to power/pwrseq

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 08:44 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> The MMC power sequence drivers are useful also outside of MMC world: for >> USB devices needed a hard-reset before probing. Before extending and >> re-using pwrseq d

Re: [RFC v2 01/13] usb: misc: usb3503: Clean up on driver unbind

2016-05-05 Thread Krzysztof Kozlowski
On 05/05/2016 08:32 PM, Javier Martinez Canillas wrote: > Hello Krzysztof > > Patch looks good to me, I just have a trivial comment below. > > On 05/05/2016 08:34 AM, Krzysztof Kozlowski wrote: >> The driver should clean up after itself by unpreparing the clock when it >> is unbound. >> >> Signed

Mainline: Build error in drivers/nvdimm/pmem.c due to commit 658922e57b84

2016-05-05 Thread Guenter Roeck
alpha:allmodconfig fails to build with the following error. drivers/nvdimm/pmem.c: In function 'nd_pfn_init': drivers/nvdimm/pmem.c:407:17: error: 'HPAGE_SIZE' undeclared Problem is due to commit 658922e57b84 ("libnvdimm, pfn: fix memmap reservation sizing"). HPAGE_SIZE is not defined for all a

Re: [RFC v2 00/13] usb/mmc/power: Fix USB/LAN when TFTP booting

2016-05-05 Thread Krzysztof Kozlowski
On 05/06/2016 07:44 AM, Peter Chen wrote: > On Thu, May 05, 2016 at 05:42:40PM -0500, Rob Herring wrote: >> On Thu, May 05, 2016 at 02:34:13PM +0200, Krzysztof Kozlowski wrote: >>> Hi, >>> >>> This is a different, second try to fix usb3503+lan on Odroid U3 board >>> if it was initialized by bootloa

Re: [RFC v2 00/13] usb/mmc/power: Fix USB/LAN when TFTP booting

2016-05-05 Thread Krzysztof Kozlowski
On 05/06/2016 12:42 AM, Rob Herring wrote: > On Thu, May 05, 2016 at 02:34:13PM +0200, Krzysztof Kozlowski wrote: >> Hi, >> >> This is a different, second try to fix usb3503+lan on Odroid U3 board >> if it was initialized by bootloader (e.g. for TFTP boot). >> >> First version: >> http://www.spinic

Re: [PATCH v7 7/9] dt-bindings: i2c: rk3x: add support for rk3399

2016-05-05 Thread David.Wu
Hi Rob, 在 2016/5/6 6:12, Rob Herring 写道: On Wed, May 04, 2016 at 10:35:23PM +0800, David Wu wrote: The bus clock and function clock are separated at rk3399, and others use one clock as the bus clock and function clock. Signed-off-by: David Wu --- Documentation/devicetree/bindings/i2c/i2c-rk

Re: linux-next: build failure after merge of the akpm-current tree

2016-05-05 Thread Stephen Rothwell
Hi Andrew, On Thu, 5 May 2016 22:44:29 -0700 Andrew Morton wrote: > > On Fri, 6 May 2016 14:58:10 +1000 Stephen Rothwell > wrote: > > > After merging the akpm-current tree, today's linux-next build (and a > > few earlier ones) (powerpc allnoconfig (and many others)) failed like > > this: > >

Re: [RFC v2 00/13] usb/mmc/power: Fix USB/LAN when TFTP booting

2016-05-05 Thread Peter Chen
On Thu, May 05, 2016 at 05:42:40PM -0500, Rob Herring wrote: > On Thu, May 05, 2016 at 02:34:13PM +0200, Krzysztof Kozlowski wrote: > > Hi, > > > > This is a different, second try to fix usb3503+lan on Odroid U3 board > > if it was initialized by bootloader (e.g. for TFTP boot). > > > > First ver

Re: [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC

2016-05-05 Thread Krzysztof Opasiak
On 05/06/2016 04:46 AM, Du, Changbin wrote: (...) >> Well, I'm not sure if any configfs interface has been proposed as easy >> to use from cmd line. I think they all has been proposed as *usable* >> from cmd line but not necessarily *easy to use*. >> >> That's why most of configfs clients has so

Re: linux-next: build failure after merge of the akpm-current tree

2016-05-05 Thread Andrew Morton
On Fri, 6 May 2016 14:58:10 +1000 Stephen Rothwell wrote: > Hi Andrew, > > After merging the akpm-current tree, today's linux-next build (and a > few earlier ones) (powerpc allnoconfig (and many others)) failed like > this: > > lib/vsprintf.c:160:2: error: initializer element is not constant >

linux-next: Tree for May 6

2016-05-05 Thread Stephen Rothwell
Hi all, Changes since 20160505: Dropped tree: hsi (at the maintainer's request) The sound-asoc tree gained a build failure for which I applied a fix patch. I fetched and remerged the arm-current and arm trees at Russell's request. The akpm-current tree gained a build failure f

[PATCH v5 2/2] Input: SiS 9200 documentation parts.

2016-05-05 Thread mika.penttila
From: Mika Penttilä Signed-off-by: Mika Penttilä Acked-by: Tammy Tseng Acked-by: Yuger Yu --- .../bindings/input/touchscreen/sis_i2c.txt | 22 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 23 insertions(+) create mode 100644 Docum

[PATCH v5 1/2] Input: Driver for SiS 9200 family I2C touchscreen controller.

2016-05-05 Thread mika.penttila
From: Mika Penttilä Multitouch protocol B support. v5: - rebased to 4.6.0-rc6 v4: - cleanups and fixes according to review feedback - irq and reset gpios are now optional, if not spesified it is expected the firmware / hw takes care of reset states and irq flow - irq and reset g

[PATCH v5 0/2] Input: SiS 9200 family I2C touchscreen controller driver

2016-05-05 Thread mika.penttila
Hi, Here are the v5 patches for SiS 9200 I2C multitouch controller. All the issues raised so far are addressed in this version. Rebased on 4.6.0-rc6. Thanks, Mika [PATCH v5 1/2] Input: Driver for SiS 9200 family I2C touchscreen controller. [PATCH v5 2/2] Input: SiS 9200 documentation parts. .

linux-next: build failure after merge of the akpm-current tree

2016-05-05 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (and a few earlier ones) (powerpc allnoconfig (and many others)) failed like this: lib/vsprintf.c:160:2: error: initializer element is not constant lib/vsprintf.c:160:2: error: (near initialization for 'decpair[0]') lib/vspr

Re: [PATCH v7 6/9] i2c: rk3x: Move spec timing data to "static const" structs

2016-05-05 Thread David.Wu
Hi Doug, 在 2016/5/6 6:58, Doug Anderson 写道: David, On Wed, May 4, 2016 at 7:34 AM, David Wu wrote: Signed-off-by: David Wu As you can probably guess, again a description would be nice. Like maybe: The i2c timing specs are really just constant data. There's no reason to write code to ini

Re: [PATCH] Coccinelle: noderef: Add a rule and correct the old rule

2016-05-05 Thread Vaishali Thakkar
On Friday 06 May 2016 01:40 AM, Julia Lawall wrote: > > > On Wed, 27 Apr 2016, Vaishali Thakkar wrote: > >> Add a new rule to detect the cases where sizeof is used as a >> subexpression rather than a top level argument. >> >> Also, for the patch mode third rule should behave same as >> second

Re: [PATCH 3/3] regulator: lp873x: Add support for lp873x PMIC regulators

2016-05-05 Thread Keerthy
Hi Mark, On Thursday 05 May 2016 09:08 PM, Mark Brown wrote: On Thu, May 05, 2016 at 10:40:40AM +0530, Keerthy wrote: +static const struct of_device_id of_lp873x_match_tbl[] = { + { .compatible = "ti,lp8733-regulators",}, + { .compatible = "ti,lp8732-regulators",}, + { .comp

Re: [PATCH] mm/zsmalloc: avoid unnecessary iteration in get_pages_per_zspage()

2016-05-05 Thread Minchan Kim
Hi Ganesh, On Fri, May 06, 2016 at 12:25:18PM +0800, Ganesh Mahendran wrote: > Hi, Minchan: > > 2016-05-06 11:09 GMT+08:00 Minchan Kim : > > On Thu, May 05, 2016 at 07:03:29PM +0900, Sergey Senozhatsky wrote: > >> On (05/05/16 13:17), Ganesh Mahendran wrote: > >> > if we find a zspage with usage

[git pull] drm fixes

2016-05-05 Thread Dave Airlie
Hi Linus, Fixes for i915, amdgpu/radeon and imx. The IMX fix is for an autoloading regression found in Fedora. The radeon fixes, are the same fix to amdgpu/radeon to avoid a hardware lockup in some circumstances with a bad mode, and a double free bug I took a few hours chasing down the other morn

Re: [PATCH] mm/zsmalloc: avoid unnecessary iteration in get_pages_per_zspage()

2016-05-05 Thread Ganesh Mahendran
Hi, Minchan: 2016-05-06 11:09 GMT+08:00 Minchan Kim : > On Thu, May 05, 2016 at 07:03:29PM +0900, Sergey Senozhatsky wrote: >> On (05/05/16 13:17), Ganesh Mahendran wrote: >> > if we find a zspage with usage == 100%, there is no need to >> > try other zspages. >> >> Hello, >> >> well... we iterate

Re: [PATCH v11 04/60] sparc/PCI: Use correct offset for bus address to resource

2016-05-05 Thread Yinghai Lu
On Thu, May 5, 2016 at 5:56 PM, Yinghai Lu wrote: > On Thu, May 5, 2016 at 3:02 PM, Benjamin Herrenschmidt > wrote: >> On Thu, 2016-05-05 at 08:53 -0700, Yinghai Lu wrote: >>> For powerpc io port, we still need extra offset from resource address >>> to final address. >>> >>> resource_size_t

RE: [PATCH 2/2] drivers: i2c: qup: Fix error handling

2016-05-05 Thread Sricharan
Hi Andy, > -Original Message- > From: Andy Gross [mailto:andy.gr...@linaro.org] > Sent: Thursday, May 05, 2016 10:52 PM > To: Sricharan R > Cc: devicet...@vger.kernel.org; arch...@codeaurora.org; linux-arm- > m...@vger.kernel.org; ntel...@codeaurora.org; ga...@codeaurora.org; > linux-kern

Re: [PATCH] mfd: lp873x: Add lp873x PMIC support

2016-05-05 Thread Keerthy
On Thursday 05 May 2016 02:05 PM, Manish Badarkhe wrote: Hi Keerthy, + * struct tps65086 - state holder for the tps65086 driver need to change name over here in comment. Thanks for catching this Manish! I will fix it in the next version. + * Device data may be used to access the LP873

[PATCH v2] ksm: fix conflict between mmput and scan_get_next_rmap_item

2016-05-05 Thread Zhou Chengming
A concurrency issue about KSM in the function scan_get_next_rmap_item. task A (ksmd): |task B (the mm's task): | mm = slot->mm; | down_read(&mm->mmap_sem); |

[PATCH] x86, tsc: Fix tsc ratio calibration to avoid broken mdelay

2016-05-05 Thread yu . c . chen
From: Chen Yu Currently we fetch the tsc radio by: ratio = (lo >> 8) & 0x1f; thus get bit8~bit12 of the MSR_PLATFORM_INFO, however according to Intel 64 and IA-32 Architectures Software Developer Manual 35.5, the ratio bit should be bit8~bit15, otherwise we might get incorrect tsc ratio and cause

Re: [PATCH 0/2] scop GFP_NOFS api

2016-05-05 Thread NeilBrown
On Wed, May 04 2016, Dave Chinner wrote: > FWIW, I don't think making evict() non-blocking is going to be worth > the effort here. Making memory reclaim wait on a priority ordered > queue while asynchronous reclaim threads run reclaim as efficiently > as possible and wakes waiters as it frees the

Re: [PATCH v7 4/9] i2c: rk3x: Move setting STATE_START and add STATE_SETUP

2016-05-05 Thread David.Wu
Hi Doug, 在 2016/5/6 6:56, Doug Anderson 写道: David, On Wed, May 4, 2016 at 7:13 AM, David Wu wrote: Signed-off-by: David Wu --- Change in v7: - none drivers/i2c/busses/i2c-rk3x.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) Probably this change could be dropped now. Switch

Re: [PATCH] mm/zsmalloc: avoid unnecessary iteration in get_pages_per_zspage()

2016-05-05 Thread Minchan Kim
On Thu, May 05, 2016 at 07:03:29PM +0900, Sergey Senozhatsky wrote: > On (05/05/16 13:17), Ganesh Mahendran wrote: > > if we find a zspage with usage == 100%, there is no need to > > try other zspages. > > Hello, > > well... we iterate there from 0 to 1<<2, which is not awfully > a lot to break i

Re: [PATCH] ksm: fix conflict between mmput and scan_get_next_rmap_item

2016-05-05 Thread zhouchengming
On 2016/5/6 5:57, Andrea Arcangeli wrote: Hello Zhou, Great catch. On Thu, May 05, 2016 at 08:42:56PM +0800, Zhou Chengming wrote: remove_trailing_rmap_items(slot, ksm_scan.rmap_list); + up_read(&mm->mmap_sem); spin_lock(&ksm_mmlist_lock); ksm_scan.mm_slot = list

Re: [PATCH] ksm: fix conflict between mmput and scan_get_next_rmap_item

2016-05-05 Thread Ding Tianhong
Good Catch. The original code looks too old, use the ksm_mmlist_lock to protect the mm_list looks will affect the performance, Should we use the RCU to protect the list and not free the mm until out of the rcu critical period? On 2016/5/6 5:57, Andrea Arcangeli wrote: > Hello Zhou, > > Great

Re: [PATCH] ksm: fix conflict between mmput and scan_get_next_rmap_item

2016-05-05 Thread zhouchengming
On 2016/5/6 5:07, Andrew Morton wrote: On Thu, 5 May 2016 20:42:56 +0800 Zhou Chengming wrote: A concurrency issue about KSM in the function scan_get_next_rmap_item. task A (ksmd): |task B (the mm's task): | mm = slot->mm;

Re: [RFC v2 PATCH 0/8] VFS:userns: support portable root filesystems

2016-05-05 Thread Dave Chinner
On Thu, May 05, 2016 at 11:24:35PM +0100, Djalal Harouni wrote: > On Thu, May 05, 2016 at 10:23:14AM +1000, Dave Chinner wrote: > > On Wed, May 04, 2016 at 04:26:46PM +0200, Djalal Harouni wrote: > > > This is version 2 of the VFS:userns support portable root filesystems > > > RFC. Changes since ve

Re: [PATCH] ION: Sys_heap: Makes ion buffer always alloc from page pool

2016-05-05 Thread Chen Feng
On 2016/5/6 1:09, Laura Abbott wrote: > On 05/04/2016 08:27 PM, Chen Feng wrote: >> Makes the ion buffer always alloced from page pool, no matter >> it's cached or not. In this way, it can improve the efficiency >> of it. >> >> Currently, there is no difference from cached or non-cached buffer >>

RE: [PATCH 1/2] usb: configfs: allow UDC binding rule configured as binding to *any* UDC

2016-05-05 Thread Du, Changbin
> >>> On most platforms, there is only one device controller available. > >>> In this case, we desn't care the UDC's name. So let's ignore the > >>> name by setting 'UDC' to 'any'. > >> > >> Hmm libubsgx allows to do this for a very long time. You simply pass > >> NULL instead of pointer to usbg_ud

Re: [RESEND Patch] jbd2: remove excess descriptions for handle_s

2016-05-05 Thread Theodore Ts'o
On Mon, Apr 11, 2016 at 12:44:16PM +0100, Luis de Bethencourt wrote: > Commit bf6993276f74 ("jbd2: Use tracepoints for history file") > removed the members j_history, j_history_max and j_history_cur from struct > handle_s but the descriptions stayed lingering. Removing them. > > Signed-off-by: Lui

Re: [PATCH] usb: gadget: f_fs: Fix kernel panic for SuperSpeed

2016-05-05 Thread Jim Lin
On 2016年05月04日 18:37, Felipe Balbi wrote: * PGP Signed by an unknown key Hi, Jim Lin writes: In f_fs.c " static int __ffs_data_do_os_desc(enum ffs_os_desc_type type, struct usb_os_desc_header *h, void *data, unsigned len, void *priv) { struct

Re: UB in general ... and linux/bitops.h in particular

2016-05-05 Thread Jeffrey Walton
>-- Perhaps the compiler guys could be persuaded to support > the needed features explicitly, perhaps via a command-line > option: -std=vanilla > This should be a no-cost option as things stand today, but > it helps to prevent nasty surprises in the future. It looks LLVM has th

Re: [PATCH v7 2/9] i2c: rk3x: use struct "rk3x_i2c_calced_timings"

2016-05-05 Thread David.Wu
Hi Doug, 在 2016/5/6 6:55, Doug Anderson 写道: David, On Wed, May 4, 2016 at 7:13 AM, David Wu wrote: Signed-off-by: David Wu Usually folks like a description and not just a subject line. I'd add a description like: The "div_high" and "div_low" values are always used together. Group them i

Re: [PATCH] kbuild: fix if_change and friends to consider argument order

2016-05-05 Thread Masahiro Yamada
Hi David, 2016-05-05 17:08 GMT+09:00 Woodhouse, David : > On Thu, 2016-05-05 at 16:45 +0900, Masahiro Yamada wrote: >> >> This commit fixes arg-check to compare two strings as a whole. >> $(strip ...) is important because we want to ignore the difference >> that comes from white-spaces. > > Do we

Re: [PATCH v7 9/9] i2c: rk3x: support fast-mode plus for rk3399

2016-05-05 Thread David.Wu
Hi Doug, 在 2016/5/6 7:02, Doug Anderson 写道: David, On Wed, May 4, 2016 at 7:37 AM, David Wu wrote: Signed-off-by: David Wu --- drivers/i2c/busses/i2c-rk3x.c | 21 + 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-rk3x.c b/drivers/i

Re: [PATCH v3 03/12] sched/fair: Change the variable to hold the number of periods to 32bit

2016-05-05 Thread Yuyang Du
Hi Morten, On Thu, May 05, 2016 at 12:13:10PM +0100, Morten Rasmussen wrote: > On Wed, May 04, 2016 at 04:02:44AM +0800, Yuyang Du wrote: > > In sched average update, a period is about 1ms, so a 32-bit unsigned > > integer can approximately hold a maximum of 49 (=2^32/1000/3600/24) > > days. > >

Re: [RFC][PATCH 0/6] Enhanced file stat system call

2016-05-05 Thread Steve French
On Thu, May 5, 2016 at 5:54 PM, Steve French wrote: > On Wed, May 4, 2016 at 8:46 AM, Arnd Bergmann wrote: >> On Friday 29 April 2016 13:57:36 David Howells wrote: >>> struct statx *buffer); >>> >>> This is an enhanced file stat function that provides a number of useful >>> features, in summary:

Re: [PATCH 1/6] statx: Add a system call to make enhanced file info available

2016-05-05 Thread Dave Chinner
On Thu, May 05, 2016 at 09:04:09PM +0100, David Howells wrote: > Jeff Layton wrote: > > > I don't see a real attack vector here either, but OTOH is there a > > potential user of this at the moment? > > I'm not sure. BSD stat has an st_gen, so it's possible something out there > will use it if i

Re: [PATCH] efi/capsule: Make efi_capsule_pending() lockless

2016-05-05 Thread Bryan O'Donoghue
On Thu, 2016-05-05 at 14:27 +, Kweh, Hock Leong wrote: > > -Original Message- > > From: Matt Fleming [mailto:m...@codeblueprint.co.uk] > > Sent: Wednesday, May 04, 2016 10:36 PM > > To: Kweh, Hock Leong; Bryan O'Donoghue > > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; A

[lkp] [string_helpers] 726ecfc321: test_string_helpers: Test 'test_string_get_size_one' failed!

2016-05-05 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y commit 726ecfc321994ec6ab044c1e3e5886408de991ac ("string_helpers: fix precision loss for some inputs") on test machine: vm-kbuild-yocto-i386: 2 threads qemu-system-i386 -ena

Re: [RFC PATCH net-next 20/20] net: dsa: mv88e6xxx: factorize the switch driver

2016-05-05 Thread Andrew Lunn
> +config NET_DSA_MV88E6XXX > tristate "Marvell 88E6085/6095/6095F/6131 ethernet switch chip support" > depends on NET_DSA > - select NET_DSA_MV88E6XXX > select NET_DSA_TAG_EDSA > ---help--- > This enables support for the Marvell 88E6085/6095/6095F/6131 >

Re: [PATCH kernel v4 10/11] powerpc/powernv/npu: Rework TCE Kill handling

2016-05-05 Thread Alistair Popple
On Thu, 5 May 2016 14:23:20 Alexey Kardashevskiy wrote: > On 05/03/2016 05:37 PM, Alistair Popple wrote: > > On Fri, 29 Apr 2016 18:55:23 Alexey Kardashevskiy wrote: > >> The pnv_ioda_pe struct keeps an array of peers. At the moment it is only > >> used to link GPU and NPU for 2 purposes: > >> > >>

Re: [PATCH v3 0/2] irqchip/mbigen: fix the IO remap problem in mbigen driver.

2016-05-05 Thread majun (F)
Hi Marc: 在 2016/5/5 22:49, Marc Zyngier 写道: > On 22/03/16 03:10, majun (F) wrote: >> >> >> 在 2016/3/21 18:29, Thomas Gleixner 写道: >>> On Thu, 17 Mar 2016, MaJun wrote: This patch set is used to fix the problem of remap a set of registers repeatedly in current mbigen driver. i

Re: [RFC PATCH net-next 19/20] net: dsa: mv88e6xxx: factorize tag protocol

2016-05-05 Thread Andrew Lunn
On Thu, May 05, 2016 at 06:41:03PM -0400, Vivien Didelot wrote: > 6131 is the only driver to set the tag protocol to DSA_TAG_PROTO_DSA. > Since it works fine with DSA_TAG_PROTO_EDSA, change its value, like all > other mv88e6xxx drivers. Hi Vivien You might as well remove net/dsa/tag_dsa.c as well

Re: [PATCH kernel v4 11/11] powerpc/powernv/npu: Enable NVLink pass through

2016-05-05 Thread Alistair Popple
On Thu, 5 May 2016 15:49:18 Alexey Kardashevskiy wrote: > On 05/04/2016 12:08 AM, Alistair Popple wrote: > > Hi Alexey, > > > > On Fri, 29 Apr 2016 18:55:24 Alexey Kardashevskiy wrote: > >> IBM POWER8 NVlink systems come with Tesla K40-ish GPUs each of which > >> also has a couple of fast speed lin

[PATCH] ARM: dts: rk3288: add SPI flash node for veyron

2016-05-05 Thread Brian Norris
This is a standard binding for describing SPI flash that can be identified by reading their JEDEC ID. Let's use it. Tested on Veyron Jaq. Signed-off-by: Brian Norris --- arch/arm/boot/dts/rk3288-veyron.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/rk3288-veyro

Re: [PATCH] Input: synaptics-rmi4: Support regulator supplies

2016-05-05 Thread Bjorn Andersson
On Thu 05 May 13:55 PDT 2016, Andrew Duggan wrote: > Hi Bjorn, > > On 04/21/2016 03:37 PM, Bjorn Andersson wrote: [..] > >I see no (sane) way of waiting for the rmi_driver to finish probeing; > >there could be cases where it's powered by a regulator (or reset gpio) > >that is not yet probed. EPRO

Re: [RFC PATCH net-next 14/20] net: dsa: mv88e6xxx: factorize VLAN Ethertype

2016-05-05 Thread Andrew Lunn
On Thu, May 05, 2016 at 06:40:58PM -0400, Vivien Didelot wrote: > Only the 6131 driver was setting the VLAN Ethertype to 0x8100. Set it to > all models. > > Signed-off-by: Vivien Didelot > --- > drivers/net/dsa/mv88e6131.c | 9 - > drivers/net/dsa/mv88e6xxx.c | 8 > drivers/net/

linux-next: build failure after merge of the sound-asoc tree

2016-05-05 Thread Stephen Rothwell
Hi all, After merging the sound-asoc tree, today's linux-next build (x86_64 allmodconfig) failed like this: sound/soc/codecs/da7219.c:1964:23: error: implicit declaration of function 'ACPI_PTR' [-Werror=implicit-function-declaration] .acpi_match_table = ACPI_PTR(da7219_acpi_match),

Re: [PATCH v11 04/60] sparc/PCI: Use correct offset for bus address to resource

2016-05-05 Thread Yinghai Lu
On Thu, May 5, 2016 at 3:02 PM, Benjamin Herrenschmidt wrote: > On Thu, 2016-05-05 at 08:53 -0700, Yinghai Lu wrote: >> For powerpc io port, we still need extra offset from resource address >> to final address. >> >> resource_size_t offset = >> ((resource_size_t)vma->vm_pgoff) << PAG

Re: [PATCH RESEND] mtd: spi-nor: Add support for S3AN spi-nor devices

2016-05-05 Thread Brian Norris
On Wed, Apr 27, 2016 at 03:14:22PM +0200, Ricardo Ribalda Delgado wrote: > Xilinx Spartan-3AN contain an embedded spi device where they keep their > configuration data and optionally some user data. > > The protocol of this flash follows most of the spi-nor standard. With > the following differenc

Re: [RFC PATCH net-next 13/20] net: dsa: mv88e6xxx: factorize GLOBAL_CONTROL setup

2016-05-05 Thread Andrew Lunn
On Thu, May 05, 2016 at 06:40:57PM -0400, Vivien Didelot wrote: > All switch models configure the GLOBAL_CONTROL register with slightly > differences. And as far as i know, we have no idea why. > Assume a common setup to enable the PHY Polling Unit if present, discard > packets with excessive co

Re: [PATCH 5/6] intel_sgx: driver documentation

2016-05-05 Thread Andy Lutomirski
On Thu, May 5, 2016 at 3:45 PM, Jarkko Sakkinen wrote: > On Mon, Apr 25, 2016 at 01:01:06PM -0700, Andy Lutomirski wrote: >> On 04/25/2016 10:34 AM, Jarkko Sakkinen wrote: >> >+SGX_IOCTL_ENCLAVE_INIT >> >+ >> >+Initializes an enclave given by SIGSTRUCT and EINITTOKEN. Executes EINIT >> >leaf >> >

Re: livepatch: allow removal of a disabled patch

2016-05-05 Thread Jessica Yu
+++ Josh Poimboeuf [05/05/16 10:04 -0500]: On Thu, May 05, 2016 at 04:25:48PM +0200, Miroslav Benes wrote: On Thu, 5 May 2016, Josh Poimboeuf wrote: > On Thu, May 05, 2016 at 10:28:12AM +0200, Miroslav Benes wrote: > > I think it boils down to the following problem. > > > > 1. CONFIG_DEBUG_KOBJ

[PATCH v3 0/5] Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Add alignment check to ext4, ext2, and xfs. - Patch 1-2 add bdev_supports_dax() which performs all the checks necessary for dax mount. - Patch 3-5 change

[PATCH v3 1/5] block: Add vfs_msg() interface

2016-05-05 Thread Toshi Kani
In preparation of moving DAX capability checks to the block layer from filesystem code, add a VFS message interface that aligns with filesystem's message format. For instance, a vfs_msg() message followed by XFS messages in case of a dax mount error may look like: VFS (pmem0p1): error: unaligne

[PATCH v3 2/5] block: Add bdev_supports_dax() for dax mount checks

2016-05-05 Thread Toshi Kani
DAX imposes additional requirements to a device. Add bdev_supports_dax() which performs all the precondition checks necessary for filesystem to mount the device with dax option. Also add a new check to verify if a partition is aligned by 4KB. When a partition is unaligned, any dax read/write acce

[PATCH v3 5/5] xfs: Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Call bdev_supports_dax() to perform proper precondition checks which includes this partition alignment check. Signed-off-by: Toshi Kani Cc: Dave Chinner

[PATCH v3 4/5] ext2: Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Call bdev_supports_dax() to perform proper precondition checks which includes this partition alignment check. Signed-off-by: Toshi Kani Cc: Jan Kara Cc:

[PATCH v3 3/5] ext4: Add alignment check for DAX mount

2016-05-05 Thread Toshi Kani
When a partition is not aligned by 4KB, mount -o dax succeeds, but any read/write access to the filesystem fails, except for metadata update. Call bdev_supports_dax() to perform proper precondition checks which includes this partition alignment check. Reported-by: Micah Parrish Signed-off-by: To

[PATCH 05/17] perf trace: Do not show the runtime_ms for a thread when not collecting it

2016-05-05 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo That field is only updated when we use the "sched:sched_stat_runtime" tracepoint, and that is only done so far when we use the '--stat' command line option, without it we get just zeros, confusing the users: Without this patch: # trace -a -s sleep 1 qemu-s

  1   2   3   4   5   6   7   8   >