[PATCH v7 19/21] IB/hns: Add memory region operations support

2016-05-04 Thread Lijun Ou
This patch was mainly for implementing of memory region. Memory Registration provides mechanisms that allow consumers to describe a set of virtually contiguous memory locations or a set of physically contiguous memory locations. MR operations includes as follows: 1. get dma MR in kernel mode

[PATCH v7 16/21] IB/hns: Add ah operations support

2016-05-04 Thread Lijun Ou
This patch was for implementing of address handle operations. It includes three verbs that create ah, query ah and destroy ah. They is completed independently by RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_ah.c

[PATCH v7 05/21] IB/hns: Add initial profile resource

2016-05-04 Thread Lijun Ou
This patch mainly configured some profile resoure. For example, vendor_id, hardware version, and some data structure sizes so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_common.h | 24 + drivers/infiniband/hw/hns

[PATCH v7 02/21] devicetree: bindings: IB: Add binding document for HiSilicon RoCE

2016-05-04 Thread Lijun Ou
This patch added DTS binding document for HiSilicon RoCE driver. Signed-off-by: Wei Hu Signed-off-by: Lijun Ou --- .../bindings/infiniband/hisilicon-hns-roce.txt | 107 + 1 file changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindings/infiniband/

[PATCH v7 12/21] IB/hns: Set mtu and gid support

2016-05-04 Thread Lijun Ou
This patch mainly set mtu and gid resource. These resource will be used to set up network transmission in nodes. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/hns/hns_roce_common.h | 16 drivers/infiniband/hw/hns/hns_roce_device.h |

[PATCH v7 14/21] IB/hns: Add operations support for IB device and port

2016-05-04 Thread Lijun Ou
This patch mainly registered some relative verbs for the kernel. These operation functions will be called by user. For example: 1. modify device 2. query device 3. query_port 4. modify_port and so on. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou ---

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

2016-05-04 Thread Borislav Petkov
On Wed, May 04, 2016 at 12:46:05PM +0100, Matt Fleming wrote: > But emergency_restart() is called after bust_spinlocks(0) which can > reset oops_in_progress, so can't even use that to solve the panic > case. Blergh. So I guess you need an explicit call efi_stop_capsules() somewhere in the reboot

[PATCH v11 1/1] perf config: Prepare all default configs

2016-05-04 Thread Taeung Song
To precisely manage configs, prepare all default perf's configs that contain default section name, variable name, value and correct type, not string type. In the near future, this could be used when showing all configs with default values, replacing default values of each actual config variable wi

[PATCH v11 0/1] Infrastructure code for perf-config

2016-05-04 Thread Taeung Song
Hi, We can use the config files (i.e user wide ~/.perfconfig and system wide $(sysconfdir)/perfconfig) to configure perf tools. perf-config help user manage the config files, not manually look into or edit them. Introduce new infrastructure code for config management features of perf-config subco

Re: [PATCH v2 00/23] ata: sata_dwc_460ex: make it working again

2016-05-04 Thread Andy Shevchenko
On Tue, Apr 26, 2016 at 12:03 PM, Andy Shevchenko wrote: > The last approach in the commit 8b3444852a2b ("sata_dwc_460ex: move to generic > DMA driver") to switch to generic DMA engine API wasn't tested on bare metal. > Besides that we expecting new board support coming with the same SATA IP but >

[PATCH 0/3] net/mlx5e: Kconfig fixes

2016-05-04 Thread Arnd Bergmann
I saw two new build errors with invalid configurations on mlx5e, and a closer look revealed that one of them was caused by a slightly incorrect fix for which I had sent a different patch when it first broke. This series reverts the new fix for the VXLAN problem as it caused another bug, and follow

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2016-05-04 Thread Rob Herring
On Wed, May 4, 2016 at 2:18 AM, Pavel Machek wrote: > On Fri 2016-04-29 19:12:48, Russell King - ARM Linux wrote: >> On Fri, Apr 29, 2016 at 10:32:15AM -0700, Douglas Anderson wrote: >> > This series picks patches from various different places to produce what >> > I consider the best solution to g

[PATCH 1/3] Revert "net/mlx5: Kconfig: Fix MLX5_EN/VXLAN build issue"

2016-05-04 Thread Arnd Bergmann
This reverts commit 69976fb1045850a742deb9790ea49cbc6f497531. We cannot select VXLAN when IPv4 support is disabled, that just gives us additional build errors, including: warning: (MLX5_CORE_EN) selects VXLAN which has unmet direct dependencies (NETDEVICES && NET_CORE && INET) In file included f

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Radoslav Kolev
2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : > On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; >>> >>> Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of >>> embedded SD card. >> >> On A20 as well? Our investigations so far have concluded that

Re: [RFC v6 1/3] gpio: dt-bindings: add wd,mbl-gpio bindings

2016-05-04 Thread Rob Herring
On Tue, May 3, 2016 at 11:53 PM, Christian Lamparter wrote: > On Tuesday, May 03, 2016 09:22:10 PM Rob Herring wrote: >> On Sun, May 01, 2016 at 02:18:37PM +0200, Christian Lamparter wrote: >> > This patch adds the device tree bindings for the Western Digital's >> > MyBook Live memory-mapped GPIO

[PATCH 2/3] net/mlx5e: make VXLAN support conditional

2016-05-04 Thread Arnd Bergmann
VXLAN can be disabled at compile-time or it can be a loadable module while mlx5 is built-in, which leads to a link error: drivers/net/built-in.o: In function `mlx5e_create_netdev': ntb_netdev.c:(.text+0x106de4): undefined reference to `vxlan_get_rx_port' This avoids the link error and makes the v

[RFC v5 0/4] Mediatek MT8173 CMDQ support

2016-05-04 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. These patches have a build

[PATCH 3/3] net/mlx5e: don't build RFS without ethernet

2016-05-04 Thread Arnd Bergmann
The RFS acceleration support in mlx5 is enabled whenever CONFIG_RFS_ACCEL is in use. However, this fails if a user turns off CONFIG_MLX5_CORE_EN, because the rfs code now calls into the ethernet portion of the driver: ERROR: "mlx5e_destroy_flow_table" [drivers/net/ethernet/mellanox/mlx5/core/mlx5

[RFC v5 4/4] CMDQ: suspend/resume protection

2016-05-04 Thread HS Liao
Add suspend/resume protection mechanism to prevent active task(s) in suspend. Signed-off-by: HS Liao --- drivers/soc/mediatek/mtk-cmdq.c | 295 +++- 1 file changed, 289 insertions(+), 6 deletions(-) diff --git a/drivers/soc/mediatek/mtk-cmdq.c b/drivers/soc/m

[RFC v5 2/4] CMDQ: Mediatek CMDQ driver

2016-05-04 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help read/write registers with critical time limitation, such as updating display configuration during the vblank. It controls Global Command Engine (GCE) hardware to achieve this requirement. Currently, CMDQ on

[PATCH 1/2] lightnvm: remove mgt targets on mgt removal

2016-05-04 Thread Matias Bjørling
Targets associated with a device manager are not freed on device removal. They have to be manually removed before shutdown. Make sure any outstanding targets are freed upon shutdown. Signed-off-by: Matias Bjørling --- drivers/lightnvm/core.c | 69 ++--

[RFC v5 3/4] arm64: dts: mt8173: Add GCE node

2016-05-04 Thread HS Liao
This patch adds the device node of the GCE hardware for CMDQ module. Signed-off-by: HS Liao --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index eab7efc.

[RFC v5 1/4] dt-bindings: soc: Add documentation for the MediaTek GCE unit

2016-05-04 Thread HS Liao
This adds documentation for the MediaTek Global Command Engine (GCE) unit found in MT8173 SoCs. Signed-off-by: HS Liao Acked-by: Rob Herring --- .../devicetree/bindings/soc/mediatek/gce.txt | 34 ++ 1 file changed, 34 insertions(+) create mode 100644 Documentation/dev

Re: [PATCH] reset: allow to pass NULL pointer to reset_control_put()

2016-05-04 Thread Philipp Zabel
Am Mittwoch, den 04.05.2016, 20:34 +0900 schrieb Masahiro Yamada: > Hi Arnd, > > 2016-05-04 20:24 GMT+09:00 Arnd Bergmann : > > On Wednesday 04 May 2016 20:17:51 Masahiro Yamada wrote: > >> Currently, reset_control_put() just returns for error pointer, > >> but not for NULL pointer. This is not r

Re: [PATCH] reset: allow to pass NULL pointer to reset_control_put()

2016-05-04 Thread Arnd Bergmann
On Wednesday 04 May 2016 20:34:09 Masahiro Yamada wrote: > I thought about that a bit, > but there might be some (not nice) drivers that rely on the current behavior. > I did not want to break any boards with my patch. > > So, should it be > > if (!rstc) > return; >

[PATCH 2/2] lightnvm: expose gennvm_mark_blk to targets

2016-05-04 Thread Matias Bjørling
Targets can update a block state when having a reference to an in-memory virtual block. In the case that a target does not keep the block metadata in memory, it does not have a way to update this structure. Therefore, expose gennvm_mark_blk() through the media managers ->mark_blk() callback and le

Re: [PATCH 1/2] Improve types abstraction for gdb python scripts

2016-05-04 Thread Kieran Bingham
On 04/05/16 04:12, buzdelab...@gmail.com wrote: > From: Dom Cote > > Change the read_u16 function so it accepts both 'str' and 'byte' > as type for the arguments. > > When calling read_memory() from gdb API, depending on if > it was built with 2.7 or 3.X, the format used to return the > data wil

Re: [PATCH 2/2] Fix issue with dmesg.py and python 3.X

2016-05-04 Thread Kieran Bingham
On 04/05/16 04:12, buzdelab...@gmail.com wrote: > From: Dom Cote > > Replace the addition (+) of 2 python 'memoryview' objects > with the addition of 2 'bytes' objects, convert the result > back to memoryview. I'm a little concerned with the text above not quite sounding like the code below, as

[PATCH] scripts/gdb: decode bytestream on dmesg for Python3

2016-05-04 Thread Kieran Bingham
The recent fixes to lx-dmesg, now allow the command to print successfully on Python3, however the python interpreter wraps the bytes for each line with a b'' marker. To remove this, we need to decode the line, where .decode() will default to 'UTF-8' Signed-off-by: Kieran Bingham --- scripts/gdb

barriers: was: [RFC PATCH v2 17/18] livepatch: change to a per-task consistency model

2016-05-04 Thread Petr Mladek
On Thu 2016-04-28 15:44:48, Josh Poimboeuf wrote: > Change livepatch to use a basic per-task consistency model. This is the > foundation which will eventually enable us to patch those ~10% of > security patches which change function or data semantics. This is the > biggest remaining piece needed

Re: Kernel docs: muddying the waters a bit

2016-05-04 Thread Markus Heiser
Hi Jani, Am 04.05.2016 um 11:58 schrieb Jani Nikula : > On Wed, 04 May 2016, Markus Heiser wrote: >> but I think this will not by very helpful, as long as you miss >> a similar ".tmpl" workflow for reST documents. >> >> I'am working on a reST directive (named: "kernel-doc") to provide a >> sim

Re: [PATCH v7 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-04 Thread Rob Herring
On Wed, May 4, 2016 at 5:06 AM, Jean-Jacques Hiblot wrote: > 2016-05-03 21:11 GMT+02:00 Rob Herring : >> On Tue, May 3, 2016 at 11:51 AM, Boris Brezillon >> wrote: >>> Hi Rob, >>> >>> On Tue, 3 May 2016 11:40:19 -0500 >>> Rob Herring wrote: >>> On Thu, Apr 28, 2016 at 02:03:27PM +0200, Bori

[PATCH v3 1/3] ARM: dts: exynos: Define vqmmc for SD card and allow disabling regulators on Odroid X/X2/U3

2016-05-04 Thread Krzysztof Kozlowski
The SD-card vmmc-supply contained incorrectly two regulators. The second one is ignored. Fix this by defining proper vmmc and vqmmc supplies. Additionally these regulators do not have to be always on, so allow disabling them to reduce energy consumption. Signed-off-by: Krzysztof Kozlowski Reviewe

[PATCH v3 2/3] ARM: dts: exynos: Define vqmmc for eMMC card on Odroid X/X2/U3

2016-05-04 Thread Krzysztof Kozlowski
The eMMC card vmmc-supply contained incorrectly two regulators: LDO20 and buck8. The second one is ignored. Additionally the buck8 is a vqmmc supply only on X and X2. On U3 the buck8 is providing power to the LAN (SMSC95xx) so instead the LDO22 should be used. Fix this by defining proper vmmc and

[PATCH v3 3/3] ARM: dts: exynos: Lower SD card interface voltage to 2.8 V on Odroid X/X2/U3

2016-05-04 Thread Krzysztof Kozlowski
Odroid X/X2/U3 schematics say that SD card vmmc regulator (LDO21/TFLASH) operates on 2.8 V. Mainline U-Boot uses that value as well and 2.8 V is common on Exynos-based boards. Additionally use some descriptive name for this regulator. Signed-off-by: Krzysztof Kozlowski --- Changes since v2: 1. A

Re: [PATCH 0/7] mm: Improve swap path scalability with batched operations

2016-05-04 Thread Michal Hocko
On Tue 03-05-16 14:00:39, Tim Chen wrote: [...] >  include/linux/swap.h |  29 ++- >  mm/swap_state.c  | 253 +- >  mm/swapfile.c| 215 +-- >  mm/vmscan.c  | 725 > ++- >  4 files changed, 945 insertions(+)

Re: [PATCH v2 0/4] Patches to allow consistent mmc / mmcblk numbering w/ device tree

2016-05-04 Thread Pavel Machek
On Wed 2016-05-04 07:25:42, Rob Herring wrote: > On Wed, May 4, 2016 at 2:18 AM, Pavel Machek wrote: > > On Fri 2016-04-29 19:12:48, Russell King - ARM Linux wrote: > >> On Fri, Apr 29, 2016 at 10:32:15AM -0700, Douglas Anderson wrote: > >> > This series picks patches from various different places

Re: [PATCH] reset: allow to pass NULL pointer to reset_control_put()

2016-05-04 Thread Arnd Bergmann
On Wednesday 04 May 2016 14:34:43 Philipp Zabel wrote: > Am Mittwoch, den 04.05.2016, 20:34 +0900 schrieb Masahiro Yamada: > > Hi Arnd, > > > > 2016-05-04 20:24 GMT+09:00 Arnd Bergmann : > > > On Wednesday 04 May 2016 20:17:51 Masahiro Yamada wrote: > > >> Currently, reset_control_put() just retur

Re: [PATCH net-next v2] block/drbd: use nla_put_u64_64bit()

2016-05-04 Thread Nicolas Dichtel
Le 04/05/2016 11:05, Lars Ellenberg a écrit : [snip] > We don't have an "alignment problem" there, btw. > Last time I checked, we did work fine without this alignment magic, > we already take care of that, yes, even on affected architectures. The code adds several consecutive u64 attributes. The nl

Re: [PATCH v3 3/3] ARM: dts: exynos: Lower SD card interface voltage to 2.8 V on Odroid X/X2/U3

2016-05-04 Thread Javier Martinez Canillas
Hello Krzysztof, On 05/04/2016 08:44 AM, Krzysztof Kozlowski wrote: > Odroid X/X2/U3 schematics say that SD card vmmc regulator > (LDO21/TFLASH) operates on 2.8 V. Mainline U-Boot uses that value as > well and 2.8 V is common on Exynos-based boards. Additionally use some > descriptive name for thi

Re: [PATCH 1/1] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
Hey Radoslav, On 04-05-16 14:30, Radoslav Kolev wrote: 2016-05-03 10:25 GMT+03:00 Chen-Yu Tsai : On Tue, May 3, 2016 at 3:21 PM, Olliver Schinagl wrote: + bus-width = <4>; Only 4 bits? We normally see eMMC with 8 bits. 4 bits are some kind of embedded SD card. On A20 as well? Our inve

Re: [Drbd-dev] [PATCH net-next v2] block/drbd: use nla_put_u64_64bit()

2016-05-04 Thread Lars Ellenberg
On Wed, May 04, 2016 at 02:49:00PM +0200, Nicolas Dichtel wrote: > Le 04/05/2016 11:05, Lars Ellenberg a écrit : > [snip] > > We don't have an "alignment problem" there, btw. > > Last time I checked, we did work fine without this alignment magic, > > we already take care of that, yes, even on affec

[PATCH] lightnvm: add is_cached entry to struct ppa_addr

2016-05-04 Thread Matias Bjørling
A target requires a method to identify PPAs that are either cached in memory or on disk. This can efficiently be maintained within the PPA. The target host-side translation table can then lookup a PPA and know from the PPA if it is cached or on disk. In the case it is cached, it is the responsibili

Re: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.

2016-05-04 Thread Johan Hovold
On Wed, May 04, 2016 at 12:46:17PM +, Konstantin Shkolnyy wrote: > > -Original Message- From: linux-usb-ow...@vger.kernel.org > > [mailto:linux-usb- ow...@vger.kernel.org] On Behalf Of Johan Hovold > > Sent: Wednesday, May 04, 2016 02:29 To: Konstantin Shkolnyy Cc: > > jo...@kernel.org;

Re: [PATCH v8 5/8] genirq/irq: introduce msi_doorbell_info

2016-05-04 Thread Marc Zyngier
On 28/04/16 09:22, Eric Auger wrote: > The purpose is to be able to retrieve the MSI doorbells of an irqchip. > This is now needed since on some platforms those doorbells must be > iommu mapped (in case the MSIs transit through an IOMMU that do not > bypass those transactions). > > The assumption

Re: [PATCH v8 6/8] irqchip/gicv2m: implement msi_doorbell_info callback

2016-05-04 Thread Marc Zyngier
On 28/04/16 09:22, Eric Auger wrote: > This patch implements the msi_doorbell_info callback in the > gicv2m driver. > > The driver now is able to return its doorbell characteristics > (base, size, prot). A single doorbell is exposed. > > This will allow the msi layer to iommu_map this doorbell wh

[PATCH] xen: fix ring resize of /dev/evtchn

2016-05-04 Thread Jan Beulich
The copying of ring data was wrong for two cases: For a full ring nothing got copied at all (as in that case the canonicalized producer and consumer indexes are identical). And in case one or both of the canonicalized (after the resize) indexes would point into the second half of the buffer, the co

[GIT PULL] ARM: dts: exynos: Devfreq for v4.7

2016-05-04 Thread Krzysztof Kozlowski
Hi, Topic branch with DTS changes for v4.7, adding nodes for new generic devfreq driver. The devfreq driver will support Exynos3250, 4210, 4212, 4412 and 542x. This is a long work of Chanwoo Choi, recently merged (including documentation of bindings) by devfreq maintainer, MyungJoo Ham: http://p

Re: [PATCH v7 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-04 Thread Rob Herring
On Wed, May 4, 2016 at 4:38 AM, Boris Brezillon wrote: > Hi Rob, > > On Tue, 3 May 2016 14:11:04 -0500 > Rob Herring wrote: > >> On Tue, May 3, 2016 at 11:51 AM, Boris Brezillon >> wrote: >> > Hi Rob, >> > >> > On Tue, 3 May 2016 11:40:19 -0500 >> > Rob Herring wrote: >> > >> >> On Thu, Apr 28,

Re: [PATCH v3 3/3] ARM: dts: exynos: Lower SD card interface voltage to 2.8 V on Odroid X/X2/U3

2016-05-04 Thread Krzysztof Kozlowski
On 05/04/2016 02:51 PM, Javier Martinez Canillas wrote: > Hello Krzysztof, > > On 05/04/2016 08:44 AM, Krzysztof Kozlowski wrote: >> Odroid X/X2/U3 schematics say that SD card vmmc regulator >> (LDO21/TFLASH) operates on 2.8 V. Mainline U-Boot uses that value as >> well and 2.8 V is common on Exyn

Re: [PATCH REPOST] Extend PCIE_BUS_PEER2PEER to set MRSS=128 to fix CNS3xxx BM DMA.

2016-05-04 Thread Krzysztof Hałasa
Bjorn Helgaas writes: > It looks like 498a92d42596 merely fixed a warning, at the expense of > breaking DMA on Cavium. Reverting it would bring the warning back, but > that's better than broken DMA. Perhaps we should change PCIE_BUS_PEER2PEER to also write MRRS anyway. I realize the CNS3xxx pa

Re: [PATCH 3/3] net/mlx5e: don't build RFS without ethernet

2016-05-04 Thread Saeed Mahameed
On Wed, May 4, 2016 at 3:32 PM, Arnd Bergmann wrote: > The RFS acceleration support in mlx5 is enabled whenever CONFIG_RFS_ACCEL > is in use. However, this fails if a user turns off CONFIG_MLX5_CORE_EN, > because the rfs code now calls into the ethernet portion of the > driver: > > ERROR: "mlx5e_d

Re: [PATCH v2 3/6] mmc: core: implement enhanced strobe support

2016-05-04 Thread Adrian Hunter
>> diff --git a/drivers/mmc/core/bus.c b/drivers/mmc/core/bus.c >> index 4bc48f1..7e94b9d 100644 >> --- a/drivers/mmc/core/bus.c >> +++ b/drivers/mmc/core/bus.c >> @@ -332,12 +332,13 @@ int mmc_add_card(struct mmc_card *card) >> mmc_card_ddr52(card) ? "DDR " : "", >>

Re: [PATCH v3 09/11] serial: 8250_lpss: move Quark code from PCI driver

2016-05-04 Thread Heikki Krogerus
Hi Bryan, On Wed, May 04, 2016 at 10:51:17AM +0100, Bryan O'Donoghue wrote: > On Wed, 2016-05-04 at 12:42 +0300, Andy Shevchenko wrote: > > On Wed, May 4, 2016 at 12:31 PM, Bryan O'Donoghue > > wrote: > > > Andy, > > > > > > If you are going to start removing working PCI devices from the PCI > >

Re: [RFC PATCH] livepatch: allow removal of a disabled patch

2016-05-04 Thread Josh Poimboeuf
On Wed, May 04, 2016 at 01:58:47PM +0200, Miroslav Benes wrote: > On Tue, 3 May 2016, Josh Poimboeuf wrote: > > > On Tue, May 03, 2016 at 09:39:48PM -0500, Josh Poimboeuf wrote: > > > On Wed, May 04, 2016 at 12:31:12AM +0200, Jiri Kosina wrote: > > > > On Tue, 3 May 2016, Josh Poimboeuf wrote: > >

Re: [PATCH v7 09/14] usb: of: add an API to get OTG device from USB controller node

2016-05-04 Thread Rob Herring
On Mon, May 02, 2016 at 03:18:52PM +0300, Roger Quadros wrote: > The OTG controller and the USB controller an be linked via the > 'otg-controller' property in the USB controller's device node. > > of_usb_get_otg() can be used to get the OTG controller device > from the USB controller's device node

Re: [PATCH v7 10/14] usb: otg: add hcd companion support

2016-05-04 Thread Rob Herring
On Mon, May 02, 2016 at 03:18:53PM +0300, Roger Quadros wrote: > From: Yoshihiro Shimoda > > Since some host controller (e.g. EHCI) needs a companion host controller > (e.g. OHCI), this patch adds such a configuration to use it in the OTG > core. > > Signed-off-by: Yoshihiro Shimoda > Signed-of

[PATCHv3] ARM: dts: sunxi: Add a olinuxino-lime2-emmc

2016-05-04 Thread Olliver Schinagl
There are 3 kinds of OLinuXino Lime2 boards. One without any on board storage, one with NAND storage and one with eMMC storage. This patch adds the eMMC variant of boards. eMMC storage is different from a regular SD card in that it is soldered on the board and cannot be changed. Additionally, it s

RE: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.

2016-05-04 Thread Konstantin Shkolnyy
> -Original Message- > From: Johan Hovold [mailto:jhov...@gmail.com] On Behalf Of Johan Hovold > Sent: Wednesday, May 04, 2016 07:55 > To: Konstantin Shkolnyy > Cc: Johan Hovold; Konstantin Shkolnyy; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: Re: [EXT] Re: [PATCH

RE: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.

2016-05-04 Thread Konstantin Shkolnyy
> -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Johan Hovold > Sent: Wednesday, May 04, 2016 02:29 > To: Konstantin Shkolnyy > Cc: jo...@kernel.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Subject: [E

[PATCH] PM / OPP: Remove useless check

2016-05-04 Thread Viresh Kumar
Regulators are optional for devices using OPPs and the OPP core shouldn't be printing any errors for such missing regulators. It was fine before the commit 0c717d0f9cb4, but that failed to update this part of the code to remove an 'always true' check and an extra unwanted print message. Fix that

Re: [PATCH v2 1/2] dt-bindings: Update iProc GPIO bindings

2016-05-04 Thread Rob Herring
On Mon, May 02, 2016 at 01:51:47PM -0700, Ray Jui wrote: > Update the iProc GPIO binding document to add new compatible strings > "brcm,iproc-gpio-v2" and "brcm,iproc-gpio-v3" for the 2nd and 3rd > generation of the iProc GPIO controllers > > Signed-off-by: Ray Jui > --- > Documentation/devicetr

Re: [PATCH] cyclictest: stop any tracing after hitting a breaktrace threshold

2016-05-04 Thread Luiz Capitulino
On Tue, 3 May 2016 15:28:39 -0500 Clark Williams wrote: > The intent is to be able to do something like this: > > trace-cmd start -e all -p function > rteval --duration=12h --cyclictest-breaktrace=150 > trace-cmd extract Ah, ok, I get it now. This makes sense. I think I'd refactor

Re: [PATCH v8 7/8] genirq/msi: map/unmap the MSI doorbells on msi_domain_alloc/free_irqs

2016-05-04 Thread Marc Zyngier
On 28/04/16 09:22, Eric Auger wrote: > This patch handles the iommu mapping of MSI doorbells that require to > be mapped in an iommu domain. This happens on msi_domain_alloc/free_irqs > since this is called in code that can sleep (pci_enable/disable_msi): > iommu_map/unmap is not stated as atomic.

Re: [EXT] Re: [PATCH v4 2/3] USB: serial: cp210x: Got rid of magic numbers in CRTSCTS flag code.

2016-05-04 Thread Johan Hovold
On Wed, May 04, 2016 at 01:17:26PM +, Konstantin Shkolnyy wrote: > > -Original Message- > > From: Johan Hovold [mailto:jhov...@gmail.com] On Behalf Of Johan Hovold > > Sent: Wednesday, May 04, 2016 07:55 > > To: Konstantin Shkolnyy > > Cc: Johan Hovold; Konstantin Shkolnyy; linux-...@vg

Re: [PATCH v8 8/8] genirq/msi: use the MSI doorbell's IOVA when requested

2016-05-04 Thread Marc Zyngier
On 28/04/16 09:22, Eric Auger wrote: > On MSI message composition we now use the MSI doorbell's IOVA in > place of the doorbell's PA in case the device is upstream to an > IOMMU that requires MSI addresses to be mapped. The doorbell's > allocation and mapping happened on an early stage (pci_enable_

Re: [Xen-devel] [PATCH] xen: fix ring resize of /dev/evtchn

2016-05-04 Thread David Vrabel
On 04/05/16 14:02, Jan Beulich wrote: > The copying of ring data was wrong for two cases: For a full ring > nothing got copied at all (as in that case the canonicalized producer > and consumer indexes are identical). And in case one or both of the > canonicalized (after the resize) indexes would po

Re: [PATCH 2/2] extcon: gpio: add DT binding doc for extcon-gpio

2016-05-04 Thread Rob Herring
On Tue, May 03, 2016 at 11:19:51AM +0530, Venkat Reddy Talla wrote: > Addiing DT binding doc for the extcon gpios properties. > > Signed-off-by: Venkat Reddy Talla > --- > .../devicetree/bindings/extcon/extcon-gpio.txt| 19 > +++ > 1 file changed, 19 insertions(+) > cre

Re: Regression: netlink fail (triggered by iw) removes extra wlan (phy) interface

2016-05-04 Thread Rafał Miłecki
Hi again and sorry for the late reply. On 16 March 2016 at 17:00, Cong Wang wrote: > On Thu, Feb 25, 2016 at 5:22 AM, Rafał Miłecki wrote: >> After updating kernel in OpenWrt from 4.1.6 to 4.1.10 I noticed that >> if "iw" command fails (which happens very rarely) my wlan0-1 interface >> disappea

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

2016-05-04 Thread Seth Forshee
On Wed, May 04, 2016 at 01:21:46AM +0200, Djalal Harouni wrote: > This RFC tries to explore how to support filesystem operations inside > user namespace using only VFS and a per mount namespace solution. This > allows to take advantage of user namespace separations without > introducing any change

Re: [PATCH v3 01/11] of: Add bindings of hw throttle for Tegra soctherm

2016-05-04 Thread Rob Herring
On Tue, May 03, 2016 at 06:13:20PM +0800, Wei Ni wrote: > Add HW throttle configuration sub-node for soctherm, which > is used to describe the throttle event, and worked as a > cooling device. The "hot" type trip in thermal zone can > be bound to this cooling device, and trigger the throttle > func

Re: [PATCH v7 2/2] memory: atmel-ebi: add DT bindings documentation

2016-05-04 Thread Boris Brezillon
On Wed, 4 May 2016 08:06:10 -0500 Rob Herring wrote: > On Wed, May 4, 2016 at 4:38 AM, Boris Brezillon > wrote: > > Hi Rob, > > > > On Tue, 3 May 2016 14:11:04 -0500 > > Rob Herring wrote: > > > >> On Tue, May 3, 2016 at 11:51 AM, Boris Brezillon > >> wrote: > >> > Hi Rob, > >> > > >> > On

[PATCH] builddeb: include objtool binary in headers package

2016-05-04 Thread Bjørn Mork
"objtool" is required for building external m dules if "Compile-time stack metadata validation" is enabled. Otherwise all builds based on the headers package fail with: make[1]: Entering directory '/usr/src/linux-headers-4.6.0-rc6' make[2]: *** No rule to make target 'tools/objtool/objtool', ne

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

2016-05-04 Thread Matt Fleming
On Wed, 04 May, at 02:20:42PM, Borislav Petkov wrote: > On Wed, May 04, 2016 at 12:46:05PM +0100, Matt Fleming wrote: > > But emergency_restart() is called after bust_spinlocks(0) which can > > reset oops_in_progress, so can't even use that to solve the panic > > case. > > Blergh. > > So I guess

[PATCH] ie31200_edac: add skylake support

2016-05-04 Thread Jason Baron
I've verified that the 'ce_count' is correctly incrementing with bad dimms. Signed-off-by: Jason Baron --- drivers/edac/ie31200_edac.c | 110 1 file changed, 81 insertions(+), 29 deletions(-) diff --git a/drivers/edac/ie31200_edac.c b/drivers/edac/ie

Re: v4.6-rc1 regression bisected, Problem loading in-kernel X.509 certificate (-2)

2016-05-04 Thread Tadeusz Struk
Hi David On 05/04/2016 02:01 AM, David Howells wrote: > Do you want to push this via Herbert's tree? > Yes, I think Herbert has some more patches queued for rc-7. Let me also send a proper one with the signed-off tag. ---8<--- Subject: crypto: rsa - select crypto mgr dependency The pkcs1pad tem

Re: Kernel docs: muddying the waters a bit

2016-05-04 Thread Jani Nikula
On Wed, 04 May 2016, Markus Heiser wrote: >> What do you mean by ".tmpl workflow"? > > Sorry for bad naming, I addressed the DOCPROC build process which builds > the .xml files from .tmpl files ... Yeah, I know more about this part than I care. I was just wondering what you refer to with that in

Re: Kernel docs: muddying the waters a bit

2016-05-04 Thread Daniel Vetter
On Wed, May 04, 2016 at 02:40:29PM +0200, Markus Heiser wrote: > > On Wed, 04 May 2016, Markus Heiser wrote: > > I'd be *very* hesitant about adding the kind of things you do in > > reformat_block_rst to kernel-doc. IMO the extraction from kernel-doc > > comments must be as simple as possible with

Re: [PATCH] perf/core / arm_pmu: special-case hetereogeneous CPUs

2016-05-04 Thread Mark Rutland
; > predicate the check such that it doesn't adversely affect those HW PMUs? > > > > I'm happy with a chicken bit for now, its already found two real issues, > > so I'd like to keep it. > > Ok, how about the below? (based on next-20160422). Peter, any though

Re: [PATCH] thermal: trivial: fix the typo

2016-05-04 Thread Rob Herring
On Tue, May 03, 2016 at 08:07:41PM +0800, Caesar Wang wrote: > See the thermal code, the obvious typo from my editor. It looks like whitespace changes, not typos. Please be specific. > > Signed-off-by: Caesar Wang > --- > > Documentation/devicetree/bindings/thermal/thermal.txt | 10 +-

Re: [PATCH] perf/core / arm_pmu: special-case hetereogeneous CPUs

2016-05-04 Thread Will Deacon
s to use perf_invalid_context. > > > > > > Are you happy to revert 26657848502b787 for the timebeing? Or to somehow > > > > predicate the check such that it doesn't adversely affect those HW PMUs? > > > > > > I'm happy with a chicken bit for

Re: kmap_atomic and preemption

2016-05-04 Thread Peter Zijlstra
On Wed, May 04, 2016 at 04:07:40PM +0530, Vineet Gupta wrote: > Hi, > > I was staring at some recent ARC highmem crashes and see that kmap_atomic() > disables preemption even when page is in lowmem and call returns right away. > This seems to be true for other arches as well. > > arch/arc/mm/high

Re: [PATCH v7 10/14] usb: otg: add hcd companion support

2016-05-04 Thread Roger Quadros
On 04/05/16 16:17, Rob Herring wrote: > On Mon, May 02, 2016 at 03:18:53PM +0300, Roger Quadros wrote: >> From: Yoshihiro Shimoda >> >> Since some host controller (e.g. EHCI) needs a companion host controller >> (e.g. OHCI), this patch adds such a configuration to use it in the OTG >> core. >> >>

Re: [PATCH v8 4/9] pwm: pwm-tiecap: Update dt binding document to use proper unit address

2016-05-04 Thread Rob Herring
On Tue, May 03, 2016 at 10:56:50AM -0500, Franklin S Cooper Jr wrote: > Replace unit address from 0 to the proper physical address. Also insure > that the unit address matches the reg property address. > > Signed-off-by: Franklin S Cooper Jr > --- > Documentation/devicetree/bindings/pwm/pwm-tiec

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

2016-05-04 Thread Arnd Bergmann
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: > > (1) More information: creation time, data version number, inode generation > number

Re: [PATCH] cyclictest: stop any tracing after hitting a breaktrace threshold

2016-05-04 Thread John Kacur
On Wed, 4 May 2016, Luiz Capitulino wrote: > On Tue, 3 May 2016 15:28:39 -0500 > Clark Williams wrote: > > > The intent is to be able to do something like this: > > > > trace-cmd start -e all -p function > > rteval --duration=12h --cyclictest-breaktrace=150 > > trace-cmd extract >

Re: Input: add Atmel Atmegaxx captouch driver

2016-05-04 Thread Rob Herring
On Tue, May 03, 2016 at 10:13:31AM -0700, Grant Grundler wrote: > Add I2C driver for AtmegaXX capacitive touch device. > > Signed-off-by: Hung-yu Wu > Signed-off-by: Grant Grundler > --- > .../bindings/input/atmel,atmegaxx_captouch.txt | 34 +++ It is generally preferred that bindings are

[for-next][PATCH 2/2] tracing: Use temp buffer when filtering events

2016-05-04 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Filtering of events requires the data to be written to the ring buffer before it can be decided to filter or not. This is because the parameters of the filter are based on the result that is written to the ring buffer and not on the parameters that are passed into

[for-next][PATCH 0/2] tracing: Use a temp buffer when filtering events

2016-05-04 Thread Steven Rostedt
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace.git for-next Head SHA1: 0fc1b09ff1ff404ddf753f5ffa5cd0adc8fdcdc9 Steven Rostedt (Red Hat) (2): tracing: Remove TRACE_EVENT_FL_USE_CALL_FILTER logic tracing: Use temp buffer when filtering events include/linux/

[PATCH] usb: Use (foo *) instead of (foo*).

2016-05-04 Thread Sandhya Bankar
Use (foo *) instead of (foo*). Signed-off-by: Sandhya Bankar --- drivers/usb/gadget/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/config.c b/drivers/usb/gadget/config.c index e6c0542..17a6077 100644 --- a/drivers/usb/gadget/config.c +++ b/drivers

Re: kmap_atomic and preemption

2016-05-04 Thread Thomas Petazzoni
Hello, On Wed, 4 May 2016 15:47:29 +0200, Peter Zijlstra wrote: > static inline void *kmap_atomic(struct page *page) > { > preempt_disable(); > pagefault_disable(); > if (!PageHighMem(page)) > return page_address(page); > > return __kmap_atomic(page); > } T

[for-next][PATCH 1/2] tracing: Remove TRACE_EVENT_FL_USE_CALL_FILTER logic

2016-05-04 Thread Steven Rostedt
From: "Steven Rostedt (Red Hat)" Nothing sets TRACE_EVENT_FL_USE_CALL_FILTER anymore. Remove it. Signed-off-by: Steven Rostedt --- include/linux/trace_events.h | 3 -- kernel/trace/trace_events_filter.c | 71 ++ 2 files changed, 10 insertions(+), 64 d

Re: barriers: was: [RFC PATCH v2 17/18] livepatch: change to a per-task consistency model

2016-05-04 Thread Peter Zijlstra
On Wed, May 04, 2016 at 02:39:40PM +0200, Petr Mladek wrote: > > +* This barrier also ensures that if another CPU goes through the > > +* syscall barrier, sees the TIF_PATCH_PENDING writes in > > +* klp_start_transition(), and calls klp_patch_task(), it also sees the > > +* above wr

[PATCH] cpu/hotplug: print warning message in proper places for online or offline cpu

2016-05-04 Thread Chen Yucong
When we online or offline a CPU, unexpected errors may occur for a number of reasons. So if a function called within _cpu_down() or _cpu_up() returns a error code indicating a failed operation, the warning message should be printed rather than fallow the failed __cpu_notify(). Signed-off-by: Chen

Applied "spi: zynqmp: disable clocks in error paths" to the spi tree

2016-05-04 Thread Mark Brown
The patch spi: zynqmp: disable clocks in error paths has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus d

Applied "spi: Fix simple typo s/impelment/implement" to the spi tree

2016-05-04 Thread Mark Brown
The patch spi: Fix simple typo s/impelment/implement has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus d

Applied "spi: rockchip: potential NULL dereference on error" to the spi tree

2016-05-04 Thread Mark Brown
The patch spi: rockchip: potential NULL dereference on error has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to

Re: kmap_atomic and preemption

2016-05-04 Thread Vineet Gupta
On Wednesday 04 May 2016 07:23 PM, Thomas Petazzoni wrote: > Hello, > > On Wed, 4 May 2016 15:47:29 +0200, Peter Zijlstra wrote: > >> static inline void *kmap_atomic(struct page *page) >> { >> preempt_disable(); >> pagefault_disable(); >> if (!PageHighMem(page)) >> retur

Re: [PATCH 01/14] vmscan: consider classzone_idx in compaction_ready

2016-05-04 Thread Michal Hocko
On Wed 20-04-16 15:47:14, Michal Hocko wrote: > From: Michal Hocko > > while playing with the oom detection rework [1] I have noticed > that my heavy order-9 (hugetlb) load close to OOM ended up in an > endless loop where the reclaim hasn't made any progress but > did_some_progress didn't reflect

Re: [PATCH v2 2/3] ARM: DRA7x: dts: Update the OSC_32K_CLK frequency

2016-05-04 Thread Matthijs van Duin
On 3 May 2016 at 18:43, Tony Lindgren wrote: > Does a fixed divider calculation of input * (32768 / 27e6) make sense > here too as pointed out earlier by Matthijs for the ti81xx? That was an actual fractional divider, i.e. the output clock would be exactly that ratio of the input clock, which wou

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