[PATCH v2 05/17] sh: command line passing chosen/bootargs in devicetree

2016-06-12 Thread Yoshinori Sato
Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 8e3b099..d97de16 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.c @@ -280,6 +280,8 @@ void __init setup_arch(ch

[PATCH v2 02/17] sh: More early unflatten device tree

2016-06-12 Thread Yoshinori Sato
unflatten required MMU disabled. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 6 -- arch/sh/kernel/setup.c | 7 +++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/sh/boards/of-generic.c b/arch/sh/boards/of-generic.c index fe2d917..d24bc02 1006

Re: [PATCH v4 00/14] fix some type infos and bugs for arm64/of numa

2016-06-12 Thread Hanjun Guo
Hi Will, On 2016/6/7 21:58, Will Deacon wrote: > On Tue, Jun 07, 2016 at 04:08:04PM +0800, Zhen Lei wrote: >> v3 -> v4: >> 1. Packed three patches of Kefeng Wang, patch6-8. >> 2. Add 6 new patches(9-15) to enhance the numa on arm64. >> >> v2 -> v3: >> 1. Adjust patch2 and patch5 according to Matth

Re: [PATCH] arm64: mm: only initialize swiotlb when necessary

2016-06-12 Thread Jisheng Zhang
Dear Catalin, On Wed, 8 Jun 2016 13:13:56 +0100 Catalin Marinas wrote: > On Wed, Jun 08, 2016 at 03:53:46PM +0800, Jisheng Zhang wrote: > > --- a/arch/arm64/mm/dma-mapping.c > > +++ b/arch/arm64/mm/dma-mapping.c > > @@ -19,6 +19,7 @@ > > > > #include > > #include > > +#include > > #includ

Re: [PATCH 2/4] mtd: nand: implement two pairing scheme

2016-06-12 Thread Boris Brezillon
+ Brian and the MTD ML Hi George, On 11 Jun 2016 18:30:04 -0400 "George Spelvin" wrote: > I was just browsing LKML history and wanted to understand this > concept, but while reading I think I spotted an error. > > > +static void nand_pairing_dist3_get_info(struct mtd_info *mtd, int page, > +

Re: [PATCH v4 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-12 Thread Boris Brezillon
On Sun, 12 Jun 2016 11:04:27 +0800 "Wu, Songjun" wrote: > On 6/9/2016 05:57, Boris Brezillon wrote: > > On Tue, 7 Jun 2016 15:11:53 +0800 > > Songjun Wu wrote: > > > >> DT binding documentation for ISC driver. > >> > >> Signed-off-by: Songjun Wu > >> --- > >> > >> Changes in v4: > >> - Remove

Re: [RFC v4 01/14] regulator: of: Add helper for getting all supplies

2016-06-12 Thread Peter Chen
On Fri, Jun 10, 2016 at 12:30:56PM -0500, Rob Herring wrote: > On Thu, Jun 09, 2016 at 01:42:02PM +0200, Krzysztof Kozlowski wrote: > > On 06/09/2016 12:29 PM, Mark Brown wrote: > > > On Thu, Jun 09, 2016 at 11:44:18AM +0200, Krzysztof Kozlowski wrote: > > >> Few drivers have a need of getting regu

Re: [very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-12 Thread Joe Perches
On Sun, 2016-06-12 at 00:22 +0200, Henrik Austad wrote: > From: Henrik Austad > > In short summary: > > * tsn_core.c is the main driver of tsn, all new links go through >   here and all data to/form the shims are handled here >   core also manages the shim-interface. [] > diff --git a/net/tsn/ts

Re: [PATCH 04/27] mm, vmscan: Begin reclaiming pages on a per-node basis

2016-06-12 Thread Hillf Danton
> @@ -3207,15 +3228,14 @@ static int balance_pgdat(pg_data_t *pgdat, int order, > int classzone_idx) > sc.may_writepage = 1; > > /* > - * Now scan the zone in the dma->highmem direction, stopping > - * at the last zone which needs scan

Re: [PATCH 1/2] Documentation: bindings: add dt documentation for Rockchip PCIe PHY

2016-06-12 Thread Shawn Lin
On 2016/6/9 4:40, Heiko Stübner wrote: Am Mittwoch, 8. Juni 2016, 15:29:00 schrieb Rob Herring: gOn Wed, Jun 08, 2016 at 03:25:08PM +0800, Shawn Lin wrote: This patch adds a binding that describes the Rockchip PCIe PHY found on Rockchip SoCs PCIe interface. Signed-off-by: Shawn Lin --- .../

[PATCH v2 14/17] sh: SH3/4 Generic IRQCHIP driever

2016-06-12 Thread Yoshinori Sato
Sorry. I send old patches. Please ignore previous files. IPR based IRQ chip driver. Signed-off-by: Yoshinori Sato --- .../interrupt-controller/renesas,sh7751-intc.txt | 25 arch/sh/Kconfig| 6 +- arch/sh/boards/Kconfig |

[PATCH v2 17/17] sh: landisk CPLD interrupt controller driver

2016-06-12 Thread Yoshinori Sato
Sorry. I send old patches. Please ignore previous files. Signed-off-by: Yoshinori Sato --- .../interrupt-controller/iodata-landisk.txt| 28 + drivers/irqchip/irq-io-landisk.c | 72 ++ 2 files changed, 100 insertions(+) create mode 100644 Do

Re: [PATCH] userspace API definitions for auto-focus coil

2016-06-12 Thread Pavel Machek
Hi! > > >@@ -974,4 +975,9 @@ enum v4l2_detect_md_mode { > > > #define V4L2_CID_DETECT_MD_THRESHOLD_GRID > > > (V4L2_CID_DETECT_CLASS_BASE + 3) > > > #define V4L2_CID_DETECT_MD_REGION_GRID > > > (V4L2_CID_DETECT_CLASS_BASE + 4) > > > > > >+/* Control IDs specific to the AD5820

Re: [very-RFC 5/8] Add TSN machinery to drive the traffic from a shim over the network

2016-06-12 Thread Henrik Austad
On Sun, Jun 12, 2016 at 12:35:10AM -0700, Joe Perches wrote: > On Sun, 2016-06-12 at 00:22 +0200, Henrik Austad wrote: > > From: Henrik Austad > > > > In short summary: > > > > * tsn_core.c is the main driver of tsn, all new links go through > >   here and all data to/form the shims are handled

Re: [PATCH 2/3] dt-bindings: Document Renesas R-Car FCP power-domains usage

2016-06-12 Thread Geert Uytterhoeven
Hi Rob, CC linux-pm On Fri, Jun 10, 2016 at 11:33 PM, Rob Herring wrote: > On Fri, Jun 10, 2016 at 2:11 PM, Geert Uytterhoeven > wrote: >> On Fri, Jun 10, 2016 at 7:39 PM, Rob Herring wrote: >>> On Thu, Jun 09, 2016 at 02:41:33PM +0100, Kieran Bingham wrote: The power domain must be speci

Re: [PATCH] userspace API definitions for auto-focus coil

2016-06-12 Thread Pavel Machek
Hi! > > >Add userspace API definitions. > > > > > >Signed-off-by: Pavel Machek > > > > > >diff --git a/include/uapi/linux/v4l2-controls.h > > >b/include/uapi/linux/v4l2-controls.h > > >index b6a357a..23011cc 100644 > > >--- a/include/uapi/linux/v4l2-controls.h > > >+++ b/include/uapi/linux/v4l2-

Re: [PATCH v8 3/5] perf config: Reimplement perf_config() using perf_config_set__iter()

2016-06-12 Thread Taeung Song
Hi, Arnaldo What do you think about setting all actual config variables before a sub-command start at perf.c ? (in order to free the config set that contains all configs by perf_config_set__delete() after using it was finished where it was needed) i.e. initialize all actual config variables a

Re: [PATCH V3] vfio: platform: support No-IOMMU mode

2016-06-12 Thread Peng Fan
Hi, Kindly ping.. Any comments on V3? Thanks, Peng. On Mon, May 23, 2016 at 05:47:30PM +0800, Peng Fan wrote: >The vfio No-IOMMU mode was supported by this >'commit 03a76b60f8ba2797 ("vfio: Include No-IOMMU mode")', >but it only support vfio-pci. > >Using vfio_iommu_group_get/put, but not iommu_g

Re: [PATCH v7 2/4] usb: dwc3: add dual-role support

2016-06-12 Thread Peter Chen
On Fri, Jun 10, 2016 at 04:17:28PM +0300, Roger Quadros wrote: > Register with the USB OTG/DRD core. Since we don't support > OTG yet we just work as a dual-role device even > if device tree says "otg". > > Get ID and VBUS information from the OTG controller > and kick the OTG state machine. > H

Re: [PATCH v10 06/14] usb: gadget.h: Add OTG to gadget interface

2016-06-12 Thread Peter Chen
On Fri, Jun 10, 2016 at 04:07:15PM +0300, Roger Quadros wrote: > The OTG core will use struct otg_gadget_ops to > start/stop the gadget controller. > > The main purpose of this interface is to avoid directly > calling usb_gadget_start/stop() from the OTG core as they > wouldn't be defined in the b

Re: [PATCH 2/4] mtd: nand: implement two pairing scheme

2016-06-12 Thread George Spelvin
>> It also applies an offset of +1, to avoid negative numbers and the >> problems of signed divides. > It seems to cover all cases. I wasn't sure why you used a signed int for the interface. (Another thing I thought of, but am less sure of, is packing the group and pair numbers into a register-p

Re: [RESEND/PATCHv4 v4 3/3] firmware: Support loading into a pre-allocated buffer

2016-06-12 Thread kbuild test robot
Hi, [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v4.7-rc2] [cannot apply to next-20160609] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/fir

Re: [PATCH 7/7] thermal: qoriq: Add thermal management support

2016-06-12 Thread Hongtao Jia
Hi all, I received this auto build error notice. I have something to clarify and ask: - [cannot apply to robh/for-next soc-thermal/next] It could apply to robh/for-next. It could not apply to soc-thermal/next because this branch is not updated to the latest kernel. - [auto build test ERROR

Re: [PATCH v4 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-12 Thread Wu, Songjun
On 6/12/2016 15:23, Boris Brezillon wrote: On Sun, 12 Jun 2016 11:04:27 +0800 "Wu, Songjun" wrote: On 6/9/2016 05:57, Boris Brezillon wrote: On Tue, 7 Jun 2016 15:11:53 +0800 Songjun Wu wrote: DT binding documentation for ISC driver. Signed-off-by: Songjun Wu --- Changes in v4: - Remo

Re: [PATCH 06/27] mm, vmscan: Make kswapd reclaim in terms of nodes

2016-06-12 Thread Hillf Danton
> > /* > - * kswapd shrinks the zone by the number of pages required to reach > - * the high watermark. > + * kswapd shrinks a node of pages that are at or below the highest usable > + * zone that is currently unbalanced. > * > * Returns true if kswapd scanned at least the requested number of

Re: [PATCH v4 2/2] [media] atmel-isc: DT binding for Image Sensor Controller driver

2016-06-12 Thread Wu, Songjun
On 6/9/2016 04:00, Rob Herring wrote: On Tue, Jun 07, 2016 at 03:11:53PM +0800, Songjun Wu wrote: DT binding documentation for ISC driver. Signed-off-by: Songjun Wu --- Changes in v4: - Remove the isc clock nodes. Changes in v3: - Remove the 'atmel,sensor-preferred'. - Modify the isc clock

Re: [PATCH v9 11/22] IB/hns: Add IB device registration

2016-06-12 Thread Wei Hu (Xavier)
On 2016/6/9 14:26, Leon Romanovsky wrote: On Wed, Jun 01, 2016 at 11:37:53PM +0800, Lijun Ou wrote: This patch registered IB device when loaded, and unregistered IB device when removed. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou --- drivers/infiniband/hw/h

[PATCH] clk: rockchip: add pclk_vio_grf to critical clock on the RK3399

2016-06-12 Thread Xing Zheng
The pclk_vio_grf supply power for GRF IOs, if it is disabled, will cause abnormal operation of the GRF. The clock tree of the pclk_vio like this: | --> pclk_vio_grf ... pclk_vio | --> pclk_mipi_dsi1 | --> pclk_mipi_dsi0 and the pclk_mipi_dsi0 and pclk_mipi_dsi1 don't hav

[PATCH] clk: rockchip: add flag CLK_SET_RATE_PARENT for dclk_vop0_div on RK3399

2016-06-12 Thread Xing Zheng
The functions and features VOP0 more complete than VOP1's, we need to use it dclk_vop0_div operate VPLLI, and let VOP0 as the default primary screen. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3399.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/cl

Re: Using irq-crossbar.c

2016-06-12 Thread Marc Zyngier
On Sat, 11 Jun 2016 17:37:51 +0200 Mason wrote: > On 11/06/2016 11:58, Marc Zyngier wrote: > > > Mason wrote: > > > >> I think Sebastian is even more baffled by the DT mess > >> (sorry, intricacies) than I am. > > > > This mess is what has saved us from the apocalypse 5 years ago, and > > desc

Re: [PATCH] x86:pvclock: add missing barriers

2016-06-12 Thread Minfei Huang
On 06/08/16 at 09:45P, Borislav Petkov wrote: > On Wed, Jun 08, 2016 at 09:11:39PM +0300, Roman Kagan wrote: > > Gradual removal of excessive barriers in pvclock reading functions > > (commits 502dfeff239e8313bfbe906ca0a1a6827ac8481b, > > a3eb97bd80134ba07864ca00747466c02118aca1) ended up removing

Re: [PATCH 0/3] Fixes on remote unwind

2016-06-12 Thread Hekuang
在 2016/6/8 18:15, He Kuang 写道: The remote unwind can supported scenario where we collect on a x86_64 machine and want to do analysis on a ARM64 or x86-32 machine. Though this is not tested, after Arnaldo questioned the above issue, I tested and found a bug. In util/unwind-libunwind-local.c, PE

Re: [PATCH v3 1/2] clocksource/arm_arch_timer: Force per-CPU interrupt to be level-triggered

2016-06-12 Thread Marc Zyngier
On Sat, 11 Jun 2016 13:02:44 +0100 Ben Dooks wrote: > out of interest, do you have a list of what the problems are? The trigger configuration for per-cpu interrupts silently fails (because set_irq_type cannot deal with them). Which means we're relying on whatever configuration the firmware has l

Re: [PATCH] pvclock: introduce seqcount-like API

2016-06-12 Thread Minfei Huang
On 06/09/16 at 01:23P, Paolo Bonzini wrote: > The version field in struct pvclock_vcpu_time_info basically implements > a seqcount. Wrap it with the usual read_begin and read_retry functions, > and use these APIs instead of peppering the code with smp_rmb()s. > While at it, change it to the more p

Re: [PATCH] Fix reported kmemleak

2016-06-12 Thread Xiong Zhou
Hi, On Tue, Jun 07, 2016 at 11:23:30AM -0500, Shaun Tancheff wrote: > This fixes a memory leak reported by a few people in 4.7-rc1 > > kmemleak report after 9082e87bfbf8 ("block: remove struct bio_batch") > > This patch just formalizes the one in this discussion here: > https://lkml.kernel.org/r

[PATCH v2 1/3] x86/quirks: Apply nvidia_bugs quirk only on root bus

2016-06-12 Thread Lukas Wunner
Since commit 8659c406ade3 ("x86: only scan the root bus in early PCI quirks"), early quirks are only applied to devices on the root bus. The motivation was to prevent application of the nvidia_bugs quirk on secondary buses. We're about to reintroduce scanning of secondary buses for a quirk to rese

[PATCH v2 0/3] Reset Apple AirPort card

2016-06-12 Thread Lukas Wunner
Reset Apple AirPort card v2 Browsable on GitHub with green/red highlighting: https://github.com/l1k/linux/commits/airport_reset_v2 Link to v1: https://lkml.org/lkml/2016/5/28/163 Changes since v1: - Validate secondary bus number (Yinghai Lu) - Move amendment of nvidia_bugs quirk and scannin

[PATCH v2 3/3] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-12 Thread Lukas Wunner
The EFI firmware on Macs contains a full-fledged network stack for downloading OS X images from osrecovery.apple.com. Unfortunately on Macs introduced 2011 and 2012, EFI brings up the Broadcom 4331 wireless card on every boot and leaves it enabled even after ExitBootServices has been called. The ca

[PATCH v2 2/3] x86/quirks: Reintroduce scanning of secondary buses

2016-06-12 Thread Lukas Wunner
We used to scan secondary buses until commit 8659c406ade3 ("x86: only scan the root bus in early PCI quirks") constrained early quirks to the root bus only. Its motivation was to prevent application of the nvidia_bugs quirk on secondary buses. We're about to add a quirk to reset the Broadcom 4331

Re: [PATCH] clk: rockchip: add flag CLK_SET_RATE_PARENT for dclk_vop0_div on RK3399

2016-06-12 Thread Yakir Yang
Xing, On 06/12/2016 05:48 PM, Xing Zheng wrote: The functions and features VOP0 more complete than VOP1's, we need to use it dclk_vop0_div operate VPLLI, and let VOP0 as the default primary screen. Signed-off-by: Xing Zheng Tested on RK3399 Kevin board, after apply this patch, my eDP panel l

Re: [PATCH v3 1/1] crypto: engine: permit to enqueue ashash_request

2016-06-12 Thread Herbert Xu
On Fri, Jun 10, 2016 at 04:43:09PM +0200, LABBE Corentin wrote: > > So I need to split do_one_request to cipher_one_request/hash_one_request. > Same with prepare_request to prepare_hash_request/prepare_cipher_request. > With the choice of each function done in crypto_engine.c. Yes. As a general r

Re: [PATCH v9 08/14] usb: otg: add OTG/dual-role core

2016-06-12 Thread Peter Chen
On Sun, Jun 12, 2016 at 02:26:17PM +0800, Peter Chen wrote: > On Thu, Jun 09, 2016 at 10:24:44AM +0300, Roger Quadros wrote: > > On 08/06/16 15:42, Peter Chen wrote: > > > On Wed, Jun 08, 2016 at 01:12:10PM +0300, Roger Quadros wrote: > > >> Hi, > > >> > > >> On 08/06/16 12:53, Peter Chen wrote: >

[GIT PULL] ARM: at91: soc for 4.8 #1

2016-06-12 Thread Alexandre Belloni
Arnd, Olof, Kevin, This is a rework of the DEBUG_LL stuff for at91 to solve an issue with multi_v7. Thanks! The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/p

[GIT PULL] ARM: at91: soc for 4.8 #1

2016-06-12 Thread Alexandre Belloni
Arnd, Olof, Kevin, We finally get a driver for the EBI. It will hopefully allow to avoid relying on the bootloader for the EBI configuration. The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git reposit

Re: [GIT PULL] ARM: at91: soc for 4.8 #1

2016-06-12 Thread Alexandre Belloni
The subject is obviously wrong and should be "ARM: at91: drivers for 4.8 #1" On 12/06/2016 at 13:07:03 +0200, Alexandre Belloni wrote : > Arnd, Olof, Kevin, > > We finally get a driver for the EBI. It will hopefully allow to avoid > relying on the bootloader for the EBI configuration. > > The fo

Re: [tip:x86/urgent] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-12 Thread Lukas Wunner
On Fri, Jun 10, 2016 at 03:08:02PM -0500, Bjorn Helgaas wrote: > On Fri, Jun 10, 2016 at 03:59:04PM +0200, Lukas Wunner wrote: > > On Fri, Jun 10, 2016 at 02:59:57PM +0200, Ingo Molnar wrote: > > > So I'd lean towards lower complexity, but since this is essentially > > > PCI code I'd like to defer

Re: [PATCH 2/4] mtd: nand: implement two pairing scheme

2016-06-12 Thread Boris Brezillon
On 12 Jun 2016 05:23:13 -0400 "George Spelvin" wrote: > >> It also applies an offset of +1, to avoid negative numbers and the > >> problems of signed divides. > > > It seems to cover all cases. > > I wasn't sure why you used a signed int for the interface. No real reason other than consist

usb: common: otg-fsm: add license to usb-otg-fsm

2016-06-12 Thread Oscar
usb: common: otg-fsm: add license to usb-otg-fsm. Fix warning about tainted kernel because usb-otg-fsm has no license. WARNING: with this patch usb-otg-fsm module can be loaded but then the kernel hangs. Tested with a udoo quad board. Signed-off-by: Oscar Curero --- --- a/drivers/usb/common/us

[GIT PULL] ARM: at91: dt for 4.8 #1

2016-06-12 Thread Alexandre Belloni
Arnd, Olof, Kevin, First DT changes for 4.8 with the addition of a new board and a cleanup of unused clock definitions. The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.k

Re: [linux-sunxi] [PATCH 0/5] net-next: ethernet: add sun8i-emac driver

2016-06-12 Thread Hans de Goede
Hi, On 03-06-16 11:56, LABBE Corentin wrote: Hello This patch series add the driver for sun8i-emac which handle the Ethernet MAC present on Allwinner H3/A83T/A64 SoCs. It supports 10/100/1000 Mbit/s speed with half/full duplex. It can use an internal PHY (MII 10/100) or an external PHY via RGM

[GIT PULL] ARM: at91: defconfig for 4.8 #1

2016-06-12 Thread Alexandre Belloni
Arnd, Olof, Kevin, A single patch adding the AT91 platforms to multi_v5 so we can get kernelci coverage for multi_v5 on AT91. The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git:

Re: [PATCH] userspace API definitions for auto-focus coil

2016-06-12 Thread Sakari Ailus
Hi Pavel, On Sun, Jun 12, 2016 at 10:48:11AM +0200, Pavel Machek wrote: > Hi! > > > > >Add userspace API definitions. > > > > > > > >Signed-off-by: Pavel Machek > > > > > > > >diff --git a/include/uapi/linux/v4l2-controls.h > > > >b/include/uapi/linux/v4l2-controls.h > > > >index b6a357a..23011

Re: [PATCH v10 08/14] usb: otg: add OTG/dual-role core

2016-06-12 Thread Peter Chen
On Fri, Jun 10, 2016 at 04:07:17PM +0300, Roger Quadros wrote: > index dca7856..03f7204 100644 > --- a/drivers/usb/Makefile > +++ b/drivers/usb/Makefile > @@ -59,5 +59,6 @@ obj-$(CONFIG_USB_RENESAS_USBHS) += renesas_usbhs/ > obj-$(CONFIG_USB_GADGET) += gadget/ > > obj-$(CONFIG_USB_COMMO

Re: [PATCH v2 01/17] sh: Add sh-specific early_init_dt_reserve_memory_arch

2016-06-12 Thread Sergei Shtylyov
On 6/12/2016 9:54 AM, Yoshinori Sato wrote: sh used P1 address space in early device tree. So need convert P1 to physical address before reserve memory. Signed-off-by: Yoshinori Sato --- arch/sh/boards/of-generic.c | 12 1 file changed, 12 insertions(+) diff --git a/arch/sh/boar

Re: [PATCH 02/11] clk: imx: correct AV PLL rate formula

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:31PM +0800, Dong Aisheng wrote: > From: Anson Huang > > The audio/video PLL's rate calculation is as below in RM: > > Fref * (DIV_SELECT + NUM / DENOM), in origin clk-pllv3's > code, below code is used: > > (parent_rate * div) + ((parent_rate / mfd) * mfn > > as i

Re: [PATCH 03/11] clk: imx7d: correct dram root clk parent select

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:32PM +0800, Dong Aisheng wrote: > From: Anson Huang > > DRAM root clk should be either from pll dram main clk > or dram alt root clk. > > Signed-off-by: Anson Huang > Signed-off-by: Dong Aisheng Applied, thanks.

Re: [PATCH v2 05/17] sh: command line passing chosen/bootargs in devicetree

2016-06-12 Thread Sergei Shtylyov
On 6/12/2016 9:54 AM, Yoshinori Sato wrote: Signed-off-by: Yoshinori Sato --- arch/sh/kernel/setup.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c index 8e3b099..d97de16 100644 --- a/arch/sh/kernel/setup.c +++ b/arch/sh/kernel/setup.

Re: [PATCH 04/11] clk: imx: correct dram pll type

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:33PM +0800, Dong Aisheng wrote: > From: Anson Huang > > DRAM PLL is a audio/video type PLL, need to correct > it to get correct ops of PLL. > > Signed-off-by: Anson Huang > Signed-off-by: Dong Aisheng 'clk: imx7d: ' for patch prefix would be more clear. Updated

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:34PM +0800, Dong Aisheng wrote: > There's a powerdown bit already, so let's change the name of > powerup_set bit to power_invert to reflects the power polarity > to make it less confusing. > > Signed-off-by: Dong Aisheng > --- > drivers/clk/imx/clk-pllv3.c | 14

Re: [PATCH v2 07/17] sh: Passing FDT address on zImage

2016-06-12 Thread Sergei Shtylyov
On 6/12/2016 9:54 AM, Yoshinori Sato wrote: Signed-off-by: Yoshinori Sato --- arch/sh/boot/compressed/head_32.S | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/sh/boot/compressed/head_32.S b/arch/sh/boot/compressed/head_32.S index 3e15032..ef70454 100644 --- a/ar

Re: [PATCH 06/11] clk: imx6ul: fix gpt2 clock names

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:35PM +0800, Dong Aisheng wrote: > fix gpt2 clock names > > Signed-off-by: Dong Aisheng > --- > drivers/clk/imx/clk-imx6ul.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/clk/imx/clk-imx6ul.c b/drivers/clk/imx/clk-imx6ul.c > in

Re: [PATCH v10 13/14] usb: gadget: udc: adapt to OTG core

2016-06-12 Thread Peter Chen
On Fri, Jun 10, 2016 at 04:07:22PM +0300, Roger Quadros wrote: > > +/** > + * usb_otg_add_gadget_udc - adds a new gadget to the udc class driver list > + * @parent: the parent device to this udc. Usually the controller > + * driver's device. It seems it should be udc device > +/* udc_lock must

Re: [PATCH 07/11] clk: imx6ul: fix pll clock parents

2016-06-12 Thread Shawn Guo
On Wed, Jun 08, 2016 at 10:33:36PM +0800, Dong Aisheng wrote: > pllx_bypass_src mux shouldn't be the parent of pllx clock > since it's only valid when when pllx BYPASS bit is set. > Thus it is actually one parent of pllx_bypass only. > > Instead, pllx parent should be fixed to osc according to > r

Re: [PATCH 3/3 V2] pvclock: Get rid of __pvclock_read_cycles in function pvclock_read_flags

2016-06-12 Thread Minfei Huang
On 06/09/16 at 01:28P, Borislav Petkov wrote: > On Thu, Jun 09, 2016 at 01:21:18PM +0200, Paolo Bonzini wrote: > > This is basically implementing a seqcount. It needs two barriers and, > > Why does it need the two barriers? More details please. Hi, Borislav. It's a seqcount-like. We should conf

Re: [PATCH v2 3/3] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-12 Thread Ingo Molnar
* Lukas Wunner wrote: > The solution is to reset the card on boot by writing to a reset bit in > its mmio space. This must be done as an early quirk and not as a plain > vanilla PCI quirk to successfully combat memory corruption by DMAed > packets: Matthew Garrett found out in 2012 that the pack

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Dong Aisheng
Hi Shawn, On Sun, Jun 12, 2016 at 07:36:27PM +0800, Shawn Guo wrote: > On Wed, Jun 08, 2016 at 10:33:34PM +0800, Dong Aisheng wrote: > > There's a powerdown bit already, so let's change the name of > > powerup_set bit to power_invert to reflects the power polarity > > to make it less confusing. >

Re: [PATCH 07/11] clk: imx6ul: fix pll clock parents

2016-06-12 Thread Dong Aisheng
On Sun, Jun 12, 2016 at 07:43:53PM +0800, Shawn Guo wrote: > On Wed, Jun 08, 2016 at 10:33:36PM +0800, Dong Aisheng wrote: > > pllx_bypass_src mux shouldn't be the parent of pllx clock > > since it's only valid when when pllx BYPASS bit is set. > > Thus it is actually one parent of pllx_bypass only

actualizar su cuenta de correo electrónico de inmediato

2016-06-12 Thread Administrator
Hola, por favor verificar su dirección de correo electrónico . Por favor, siga este enlace https://formcrafts.com/a/20226 para completar el proceso de verificación Su correo electrónico no estará en la lista hasta que haya comprobado o significaba estar cerca Saludos, Webmaster Equipo 2016 Act

Re: [PATCH 06/11] clk: imx6ul: fix gpt2 clock names

2016-06-12 Thread Dong Aisheng
On Sun, Jun 12, 2016 at 07:41:11PM +0800, Shawn Guo wrote: > On Wed, Jun 08, 2016 at 10:33:35PM +0800, Dong Aisheng wrote: > > fix gpt2 clock names > > > > Signed-off-by: Dong Aisheng > > --- > > drivers/clk/imx/clk-imx6ul.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > >

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Dong Aisheng
On Thu, Jun 09, 2016 at 09:43:28AM +0200, Lothar Wa??mann wrote: > Hi, > > On Wed, 8 Jun 2016 22:33:34 +0800 Dong Aisheng wrote: > > There's a powerdown bit already, so let's change the name of > > powerup_set bit to power_invert to reflects the power polarity > > to make it less confusing. > > >

Re: [patch 2/7] lib/hashmod: Add modulo based hash mechanism

2016-06-12 Thread Sandy Harris
On Thu, Apr 28, 2016 at 10:25 PM, Linus Torvalds wrote: > It's the hashes that _look_ like they might be good hashes, but > there's not a lot of analysis behind it, that I would worry about. The > simple prime modulus _should_ be fine, but at the same time I kind of > suspect we can do better. Es

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Dong Aisheng
On Sun, Jun 12, 2016 at 07:36:27PM +0800, Shawn Guo wrote: > On Wed, Jun 08, 2016 at 10:33:34PM +0800, Dong Aisheng wrote: > > There's a powerdown bit already, so let's change the name of > > powerup_set bit to power_invert to reflects the power polarity > > to make it less confusing. > > > > Sign

Re: [PATCH 13/23] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-06-12 Thread Zhangjian (Bamvor)
Hi, Yury On 2016/5/24 8:04, Yury Norov wrote: Based on patch of Andrew Pinski. This patch introduces is_a32_compat_task and is_a32_thread so it is easier to say this is a a32 specific thread or a generic compat thread/task. Corresponding functions are located in to avoid mess in headers. Some

Re: [PATCH 2/4] mtd: nand: implement two pairing scheme

2016-06-12 Thread George Spelvin
>> (Another thing I thought of, but am less sure of, is packing the group >> and pair numbers into a register-passable int rather than a structure. >> Even 2 bits for the group is probably the most that will ever be needed, >> but it's easy to say the low 4 bits are the group and the high 28 are >>

Re: [PATCH 07/11] clk: imx6ul: fix pll clock parents

2016-06-12 Thread Dong Aisheng
On Sun, Jun 12, 2016 at 07:52:04PM +0800, Dong Aisheng wrote: > On Sun, Jun 12, 2016 at 07:43:53PM +0800, Shawn Guo wrote: > > On Wed, Jun 08, 2016 at 10:33:36PM +0800, Dong Aisheng wrote: > > > pllx_bypass_src mux shouldn't be the parent of pllx clock > > > since it's only valid when when pllx BYP

Re: [PATCH 1/2] clk: imx: do not sleep if IRQ's are still disabled

2016-06-12 Thread Dong Aisheng
On Thu, Jun 09, 2016 at 10:08:01PM +0200, Thomas Gleixner wrote: > On Tue, 7 Jun 2016, Dong Aisheng wrote: > > Then it may need introduce a lot changes and increase many new core APIs. > > Is that a problem? > > No. That's all better than each driver having broken workarounds. It's a > common prob

Re: [PATCH v2 3/3] x86/quirks: Add early quirk to reset Apple AirPort card

2016-06-12 Thread Lukas Wunner
On Sun, Jun 12, 2016 at 01:49:02PM +0200, Ingo Molnar wrote: > * Lukas Wunner wrote: > > The solution is to reset the card on boot by writing to a reset bit in > > its mmio space. This must be done as an early quirk and not as a plain > > vanilla PCI quirk to successfully combat memory corruption

Re: [PATCH 21/23] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext

2016-06-12 Thread Zhangjian (Bamvor)
ping On 2016/6/4 19:34, Zhangjian (Bamvor) wrote: Hi, I found an issue of unwind with the following code. The correct backtrace should be: (gdb) where #0 0x004004d0 in my_sig (sig=11) at test_force3.c:16 #1 #2 func2 (num=0) at test_force3.c:22 #3 0x00400540 in func1 (num=1) at test_force3.c:28

Re: [PATCH 21/23] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext

2016-06-12 Thread Zhangjian (Bamvor)
Hi, Yury Here is another print issue in this patch: On 2016/5/24 8:04, Yury Norov wrote: From: Andrew Pinski ILP32 uses AARCH32 compat structures and syscall handlers for signals. But ILP32 struct rt_sigframe and ucontext differs from both LP64 and AARCH32. So some specific mechanism is nee

Re: [PATCH 2/4] mtd: nand: implement two pairing scheme

2016-06-12 Thread Boris Brezillon
On 12 Jun 2016 08:25:49 -0400 "George Spelvin" wrote: > >> (Another thing I thought of, but am less sure of, is packing the group > >> and pair numbers into a register-passable int rather than a structure. > >> Even 2 bits for the group is probably the most that will ever be needed, > >> but it's

[PATCH v3] udp reuseport: fix packet of same flow hashed to different socket

2016-06-12 Thread Su Xuemin
From: "Su, Xuemin" There is a corner case in which udp packets belonging to a same flow are hashed to different socket when hslot->count changes from 10 to 11: 1) When hslot->count <= 10, __udp_lib_lookup() searches udp_table->hash, and always passes 'daddr' to udp_ehashfn(). 2) When hslot->cou

fs/xfs/xfs_ondisk.h:86:2: error: call to '__compiletime_assert_86' declared with attribute error: XFS: sizeof(xfs_dir2_data_unused_t) is wrong, expected 6

2016-06-12 Thread kbuild test robot
Hi, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 8714f8f5fe396ca513ccaaac2304497439c181fb commit: ab9d1e4f7b0217948a3b35a64178602ab30ff45d Merge branch 'xfs-misc-fixes-4.6-3' into for-next date: 3 months ago co

Re: [PATCH 13/23] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-06-12 Thread Zhangjian (Bamvor)
On 2016/6/12 20:21, Zhangjian (Bamvor) wrote: Hi, Yury On 2016/5/24 8:04, Yury Norov wrote: Based on patch of Andrew Pinski. This patch introduces is_a32_compat_task and is_a32_thread so it is easier to say this is a a32 specific thread or a generic compat thread/task. Corresponding function

Re: [PATCH 21/23] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext

2016-06-12 Thread Zhangjian (Bamvor)
Hi, On 2016/6/4 19:34, Zhangjian (Bamvor) wrote: Hi, I found an issue of unwind with the following code. The correct backtrace should be: (gdb) where #0 0x004004d0 in my_sig (sig=11) at test_force3.c:16 #1 #2 func2 (num=0) at test_force3.c:22 #3 0x00400540 in func1 (num=1) at test_force3.c:28

Re: [PATCH] nfsd: Close a race between access checking/setting in nfs4_get_vfs_file

2016-06-12 Thread Jeff Layton
On Sat, 2016-06-11 at 23:15 -0400, Oleg Drokin wrote: > On Jun 11, 2016, at 10:50 PM, Jeff Layton wrote: > > > > > On Sat, 2016-06-11 at 22:06 -0400, Oleg Drokin wrote: > > > > > > > > > Hm. I am trying to lock the newly initialized one and that seems to be > > > holding up > > > well (but I w

Re: [PATCH 07/11] clk: imx6ul: fix pll clock parents

2016-06-12 Thread Shawn Guo
On Sun, Jun 12, 2016 at 08:19:47PM +0800, Dong Aisheng wrote: > You probably may need to change the patch title after merge. > clk: imx: fix pll clock parents Right, thanks for the reminding. Shawn

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Shawn Guo
On Sun, Jun 12, 2016 at 08:13:03PM +0800, Dong Aisheng wrote: > I understand your point. > How about using power_bit and powerup_set? > * @power_bit: pll power bit offset I'm fine with the name, but the comment should be fixed, since we are actually using it as a bit mask instead of offset. Sha

[PATCH] Staging:sm750fb:ddk750_chip.c:Fixed coding style in comments

2016-06-12 Thread Rithvik Patibandla
The following patch fixes format of some comments. Signed-off-by: Rithvik Patibandla --- drivers/staging/sm750fb/ddk750_chip.c | 71 +++ 1 file changed, 38 insertions(+), 33 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750f

Re: general preparation for NVMe over Fabrics support

2016-06-12 Thread Jens Axboe
On Thu, Jun 09 2016, Keith Busch wrote: > On Mon, Jun 06, 2016 at 11:20:42PM +0200, Christoph Hellwig wrote: > > This patch set adds some needed preparations for the upcoming NVMe over > > Fabrics support. > > > > Contains: > > - Allow transfer size limitations for NVMe transports > > - Add the ge

Re: Using irq-crossbar.c

2016-06-12 Thread Mason
On 12/06/2016 12:00, Marc Zyngier wrote: > Mason wrote: > >> The problem with some Linux APIs is that they're logical and obvious >> to people who've been using them for years. For newcomers, it's not >> always so obvious. >> >> In this specific instance, the problem statement seems rather simple

[PATCH] tpm: use devm_add_action_or_reset

2016-06-12 Thread Sudip Mukherjee
If devm_add_action() fails we are explicitly calling put_device() to free the resources allocated. Lets use the helper devm_add_action_or_reset() and return directly in case of error, as we know that the cleanup function has been already called by the helper if there was any error. Signed-off-by:

[PATCH] Input: axp20x-pek: use devm_add_action_or_reset

2016-06-12 Thread Sudip Mukherjee
If devm_add_action() fails we are explicitly calling axp20x_remove_sysfs_group() to free the resources allocated. Lets use the helper devm_add_action_or_reset() and return directly in case of error, as we know that the cleanup function has been already called by the helper if there was any error.

Re: PROBLEM: Resume form hibernate broken by setting NX on gap

2016-06-12 Thread Rafael J. Wysocki
On Saturday, June 11, 2016 10:48:08 PM Logan Gunthorpe wrote: > Hey, Hi, > On 11/06/16 07:05 PM, Rafael J. Wysocki wrote: > >> 1) Commit ab76f7b4ab only extends the NX bit between __ex_table and > >> rodata; which, by my understanding, shouldn't be used by anything. And > >> __ex_table and rodata

[PATCH] Input: gpio-keys - use devm_add_action_or_reset

2016-06-12 Thread Sudip Mukherjee
If devm_add_action() fails we are printing the error message and returning but we have already setup a delayed work or a timer. Lets now use the helper devm_add_action_or_reset() and return and in case of error the cleanup function will be called by the helper to cancel the delayed work or to delet

Linux 4.7-rc3

2016-06-12 Thread Linus Torvalds
You all know the drill, so sing along now: "Another week, another rc". Nothing particularly odd has been going on. As promised, rc3 has the fix for the NFS issue that was pending last rc. Not that anybody seems to have noticed (also as expected). The diffstat looks fairly normal and innocuous. Th

[PATCH] Input: snvs_pwrkey - use devm_add_action_or_reset

2016-06-12 Thread Sudip Mukherjee
If devm_add_action() fails we are printing the error message and returning but we have already setup a timer. Lets now use the helper devm_add_action_or_reset() and return and so in case of error the cleanup function will be called by the helper to delete the timer. Signed-off-by: Sudip Mukherjee

actualizar su cuenta de correo electrónico de inmediato

2016-06-12 Thread Administrator
Hola, por favor verificar su dirección de correo electrónico . Por favor, siga este enlace https://formcrafts.com/a/20226 para completar el proceso de verificación Su correo electrónico no estará en la lista hasta que haya comprobado o significaba estar cerca Saludos, Webmaster Equipo 2016 Act

[PATCH] dax: use devm_add_action_or_reset

2016-06-12 Thread Sudip Mukherjee
If devm_add_action() fails we are explicitly calling the cleanup to free the resources allocated. Lets use the helper devm_add_action_or_reset() and return directly in case of error, as we know that the cleanup function has been already called by the helper if there was any error. Signed-off-by: S

Re: [PATCH 05/11] clk: imx: refine the powerup_set bit of clk-pllv3

2016-06-12 Thread Dong Aisheng
On Sun, Jun 12, 2016 at 9:29 PM, Shawn Guo wrote: > On Sun, Jun 12, 2016 at 08:13:03PM +0800, Dong Aisheng wrote: >> I understand your point. >> How about using power_bit and powerup_set? >> * @power_bit: pll power bit offset > > I'm fine with the name, but the comment should be fixed, since we

[PATCH] drm/nouveau/iccsense: fix memory leak

2016-06-12 Thread Sudip Mukherjee
In the for loop we are allocating the memory for rail everytime but in some cases we use "continue" and in those cases the memory already allocated for rail is leaked and we again allocate new memory for it. Lets free the memory before continuing with the loop. Signed-off-by: Sudip Mukherjee ---

  1   2   3   4   >