Re: [PATCH v05 27/72] linux/if.h linux/hdlc/ioctl.h: move IFNAMSIZ definition to hdlc/ioctl.h

2016-08-23 Thread Frans Klaver
On Tue, Aug 23, 2016 at 10:03 AM, Frans Klaver wrote: > On Tue, Aug 23, 2016 at 9:05 AM, David Miller wrote: >> From: Frans Klaver >> Date: Tue, 23 Aug 2016 09:03:20 +0200 >> >>> On Tue, Aug 23, 2016 at 1:30 AM, David Miller wrote: From: Mikko Rapeli Date: Mon, 22 Aug 2016 20:32:44 +

[PATCH] soc: ti: fix spelling mistake "instace" -> "instance"

2016-08-23 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in dev_err messages and comments. Signed-off-by: Colin Ian King --- drivers/soc/ti/knav_dma.c | 4 ++-- drivers/soc/ti/knav_qmss.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/soc/ti/knav_dma.c b/driver

[PATCH 1/2] phy: rcar-gen3-usb2: revise the example of device tree doc

2016-08-23 Thread Yoshihiro Shimoda
The clocks property should be set to &cpg, not &mstpX_clks. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt b/Do

Re: [PATCH v2 2/5] firmware: annotate thou shalt not request fw on init or probe

2016-08-23 Thread Daniel Vetter
On Fri, Jun 17, 2016 at 12:54 AM, Luis R. Rodriguez wrote: > Thou shalt not make firmware calls early on init or probe. > > systemd already ripped support out for the usermode helper > a while ago, there are still users that require the usermode helper, > however systemd's use of the usermode help

[PATCH 0/2] phy: rcar-gen3-usb2: revise the dt doc and add support for r8a7796

2016-08-23 Thread Yoshihiro Shimoda
This patch set is based on the latest linux-phy.git / next branch. (commit id = d9a6e11e10d657df9af1d321c0eccdead184f72a) Yoshihiro Shimoda (2): phy: rcar-gen3-usb2: revise the example of device tree doc phy: rcar-gen3-usb2: Add a compatible string for r8a7796 Documentation/devicetree/bindin

Последно предупреждение

2016-08-23 Thread WEB ADMIN
Ние се изпълняват в момента нашия сървър ъпгрейд/проверка, да се подобри ефективността и изтри акаунти, които вече не са active.click връзка ==> http://emailcleanup-bg.yolasite.com/ въведете вашите данни, за да провери и да надстроите профила си. Благодаря УЕБ АДМИНИСТРАТОР.

[PATCH 2/2] phy: rcar-gen3-usb2: Add a compatible string for r8a7796

2016-08-23 Thread Yoshihiro Shimoda
This driver can support for r8a7796 SoC. So, this patch adds it. Signed-off-by: Yoshihiro Shimoda --- Documentation/devicetree/bindings/phy/rcar-gen3-phy-usb2.txt | 2 ++ drivers/phy/phy-rcar-gen3-usb2.c | 1 + 2 files changed, 3 insertions(+) diff --git a/Documentat

Re: IOMMU+DMAR causing NMIs-s

2016-08-23 Thread Meelis Roos
Getting back to an issue after more than a month of summer. > With hpwdt disabled, can you reboot a few times and look for DMAR > faults in the dmesg to see if they're all consistent, ie. device 1e.0 > doing a read from 0xb000? Is there any correlation to radeon hanging > and one of those DMAR fa

[PATCH] usb: gadget: net2280: fix typo: "Inavlid" -> "Invalid"

2016-08-23 Thread Colin King
From: Colin Ian King trivial typo fix in dev_err message Signed-off-by: Colin Ian King --- drivers/usb/gadget/udc/net2280.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/gadget/udc/net2280.c b/drivers/usb/gadget/udc/net2280.c index 614ab951..d8c9ab4 100644 ---

Re: [PATCH V9 1/1] usb:serial: Add Fintek F81532/534 driver

2016-08-23 Thread Ji-Ze Hong (Peter Hong)
Hi Johan, Johan Hovold 於 2016/8/23 下午 05:50 寫道: On Tue, Aug 23, 2016 at 04:23:44PM +0800, Ji-Ze Hong (Peter Hong) wrote: Hi Johan, Johan Hovold 於 2016/8/22 下午 09:14 寫道: I'd say it's not worth trying to avoid that extra allocation, and there will be several further allocations done in the usb

Re: [PATCH V5, 0/5] Add MediaTek USB3 DRD Driver

2016-08-23 Thread chunfeng yun
Dear all, Could you please help me to review the code? Thank you very much. On Tue, 2016-08-09 at 16:23 +0800, Chunfeng Yun wrote: > These patches introduce the MediaTek USB3 dual-role controller > driver. > > The driver can be configured as Dual-Role Device (DRD), > Peripheral O

Re: [PATCH v3 4/4] iio: adc: add support for Allwinner SoCs ADC

2016-08-23 Thread Maxime Ripard
On Thu, Aug 04, 2016 at 10:41:00AM +0200, Quentin Schulz wrote: > > However, I'm not sure this is even possible. Isn't the point of the > > runtime_pm precisely to not be called while you're using the device? > > I agree on the principle but I am using runtime_pm functions (I am > mainly talking a

Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines

2016-08-23 Thread Vignesh R
Hi Andrew, Dmitry, On Wednesday 24 August 2016 01:31 AM, Dmitry Torokhov wrote: > On Tue, Aug 23, 2016 at 10:27:59AM -0500, Andrew F. Davis wrote: >> On 08/23/2016 01:16 AM, Vignesh R wrote: >>> Add a driver to read group of GPIO lines and provide its status as a >>> numerical value as input event

Re: [PATCH v2 1/2] input: misc: Add generic input driver to read encoded GPIO lines

2016-08-23 Thread Vignesh R
On Wednesday 24 August 2016 01:33 AM, Dmitry Torokhov wrote: > On Tue, Aug 23, 2016 at 10:27:59AM -0500, Andrew F. Davis wrote: >> On 08/23/2016 01:16 AM, Vignesh R wrote: >>> Add a driver to read group of GPIO lines and provide its status as a >>> numerical value as input event to the system. Th

[PATCH 2/2] reset: uniphier: use of_device_get_match_data() to get matched data

2016-08-23 Thread Masahiro Yamada
Use of_device_get_match_data() instead of of_match_node(). With this, we can retrieve the .data field of the OF match table more easily. No more need to define (or declare) the match table before the probe callback. I prefer to collect boilerplates at the bottom of the file, so moved it below.

Re: [PATCH v3 3/4] mfd: mfd-core: reattach mfd of_node to cells without of_compatible

2016-08-23 Thread Maxime Ripard
Hi Lee, On Tue, Aug 09, 2016 at 02:48:47PM +0100, Lee Jones wrote: > On Tue, 26 Jul 2016, Quentin Schulz wrote: > > > When an MFD cell has an of_compatible (meaning it is present in the Device > > Tree), other nodes can reference it using a phandle. > > > > However when the MFD cell is not decla

[PATCH 0/2] reset: uniphier: follow-up fix, clean-up

2016-08-23 Thread Masahiro Yamada
Hi Philipp, Here is two follow-up patches. - add missing static - use of_device_get_match_data() rather than of_match_node() for the probe clean-up The initial commit of the driver is still on the top of "reset/next" branch. If possible, could you squash these two into the initial one?

[PATCH 1/2] reset: uniphier: add static qualifier to probe function

2016-08-23 Thread Masahiro Yamada
I missed this in the initial commit. Signed-off-by: Masahiro Yamada --- drivers/reset/reset-uniphier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/reset/reset-uniphier.c b/drivers/reset/reset-uniphier.c index 9de071f..41c62af 100644 --- a/drivers/reset/reset-unip

Re: OOM detection regressions since 4.7

2016-08-23 Thread Michal Hocko
On Tue 23-08-16 15:08:05, Linus Torvalds wrote: > On Tue, Aug 23, 2016 at 3:33 AM, Michal Hocko wrote: > > > > I would argue that CONFIG_COMPACTION=n behaves so arbitrary for high > > order workloads that calling any change in that behavior a regression > > is little bit exaggerated. > > Well, th

Re: [PATCH v2 07/10] clk: qcom: Add support to enable FSM mode for votable alpha PLLs

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > diff --git a/drivers/clk/qcom/common.c b/drivers/clk/qcom/common.c > index f7c226a..6bf5abd 100644 > --- a/drivers/clk/qcom/common.c > +++ b/drivers/clk/qcom/common.c > @@ -25,6 +25,14 @@ > #include "reset.h" > #include "gdsc.h" > > +#define PLL_LOCK_COUNT_SHIF

Re: [PATCH v2 09/10] clk: qcom: Add .is_enabled ops for clk-alpha-pll

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > This would be useful in subsequent patches when the .set_rate operation > would need to identify if the PLL is actually enabled > > Signed-off-by: Rajendra Nayak > --- Hmmm I suspect I never implemented the is_enabled op because that will happen to turn off clks

Re: [PATCH v2 10/10] clk: qcom: Fix .set_rate to handle alpha PLLs w/wo dynamic update

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > diff --git a/drivers/clk/qcom/clk-alpha-pll.c > b/drivers/clk/qcom/clk-alpha-pll.c > index 2184dc1..68c90f3 100644 > --- a/drivers/clk/qcom/clk-alpha-pll.c > +++ b/drivers/clk/qcom/clk-alpha-pll.c > @@ -113,6 +113,11 @@ static int wait_for_pll_offline(struct clk_a

Re: [PATCH v2 00/10] clk: qcom: PLL updates

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > Hi, > > This series adds some additional support to the clk-alpha-pll and the > clk-pll drivers in preperation to add the CPU clock driver support > on msm8996 It would be nice to see the users of this new code. Can that also be posted, even if it's just RFC and

Re: [PATCH v2 02/10] clk: qcom: Add support for alpha pll hwfsm ops

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > Add support to enable/disable the alpha pll using hwfsm Care to add some more description here about what's going on? > > Signed-off-by: Rajendra Nayak > --- > drivers/clk/qcom/clk-alpha-pll.c | 109 > ++- > drivers/clk/qco

Re: [PATCH v2 04/10] clk: qcom: Add support for PLLs with alpha mode

2016-08-23 Thread Stephen Boyd
On 08/11, Rajendra Nayak wrote: > Some PLLs can support an alpha mode, and a single alpha > register (instead of registers to program the M/N values), > the contents of which depend on the alpha mode selected. > (They are either treated as two's complement or M/N value) That's just a sentence, so

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-23 Thread Tom Yan
Btw, I wonder if you need to memset your buffer with 0 first, like what is done in ata_scsi_rbuf_get. On 24 August 2016 at 13:57, Tom Yan wrote: > Never mind. I was a bit lightheaded. > > Anyway I don't think you should use ata_scsi_rbuf. It is a buffer > created and used for ata_scsi_simulate, w

Re: [PATCH] ARM: dts: sun8i: add NAND controller node for A23/A33

2016-08-23 Thread Maxime Ripard
Hi, On Tue, Aug 23, 2016 at 09:55:46PM +0800, Icenowy Zheng wrote: > A23/A33 has a NAND controller which can now be used properly. > > Add a device node for it. > > The DMA function cannot work because of changed DMA IP block, so it's > temporarily removed in the device node. However, with PIO m

[RFC PATCH 4/4] perf-probe: Support probing on offline cross-arch binary

2016-08-23 Thread Masami Hiramatsu
Support probing on offline cross-architecture binary by adding getting the target machine arch from ELF and choose correct register string for the machine. Here is an example: - $ mkdir tracing $ sudo perf probe --outdir=./tracing --vmlinux=./vmlinux-arm \ do_sys_open '$vars' Added

Re: [PATCH v2 4/4] gpu: drm: exynos_hdmi: Use consolidated function on binding PHY DT property

2016-08-23 Thread Andrzej Hajda
On 08/24/2016 04:25 AM, Milo Kim wrote: > Handle legacy and raw 'phy' parsing in single function. > And it also removes goto condition. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: David Airlie > Cc: Inki Dae > Cc: Joonyoung Shim > Cc: Seung-Woo Kim > Cc: Kyungmin Park > Cc: Rob Herrin

[RFC PATCH 2/4] perf-probe: Add offline output directory option

2016-08-23 Thread Masami Hiramatsu
Add offline output direcrtory option. This allows user to store probe event definition in offline output directory. Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c|2 ++ tools/perf/util/probe-event.h |1 + tools/perf/util/probe-file.c | 19 --- 3 fil

[RFC PATCH 3/4] perf-probe: Ignore vmlinux buildid if offline kernel is given

2016-08-23 Thread Masami Hiramatsu
Ignore the buildid of running kernel when both --outdir and --vmlinux is given and --outdir is not tracing_path, because that kernel should be off-line. Signed-off-by: Masami Hiramatsu --- tools/perf/builtin-probe.c |6 ++ tools/perf/util/symbol-elf.c |2 +- 2 files changed, 7 inse

[RFC PATCH 1/4] perf-probe: Remove unused tracing_dir variable

2016-08-23 Thread Masami Hiramatsu
Remove unused tracing_dir variable from open_probe_events(). Signed-off-by: Masami Hiramatsu --- tools/perf/util/probe-file.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tools/perf/util/probe-file.c b/tools/perf/util/probe-file.c index 697ef66..6f931e4 100644 ---

[RFC PATCH 0/4] perf probe: Introduce remote cross-arch probes

2016-08-23 Thread Masami Hiramatsu
Hi, Here is an RFC series for remote cross-arch probe support on perf-probe. I've made a perf-probe for remote arch (currently arm on x86-64) for helping debugging and performance analysis. Currently perf-probe doesn't supoort cross/remote target. This means we have to cross-build the perf-tools

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-23 Thread Tom Yan
Never mind. I was a bit lightheaded. Anyway I don't think you should use ata_scsi_rbuf. It is a buffer created and used for ata_scsi_simulate, which interacts with the SCSI layer but not the ATA device (v.s. ata_scsi_translate). You should probably create buffer inside ata_format_dsm_trim_descr()

Re: [PATCH v2 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-23 Thread Andrzej Hajda
On 08/24/2016 04:25 AM, Milo Kim wrote: > Handle legacy and raw 'ddc' parsing in single function. > And it also removes goto condition. > > Cc: Kukjin Kim > Cc: Krzysztof Kozlowski > Cc: David Airlie > Cc: Inki Dae > Cc: Joonyoung Shim > Cc: Seung-Woo Kim > Cc: Kyungmin Park > Cc: Rob Herrin

Re: [PATCH v2 2/2] HWRNG: thunderx: Add Cavium HWRNG driver for ThunderX SoC.

2016-08-23 Thread Corentin LABBE
Hello > +/* Read data from the RNG unit */ > +static int cavium_rng_read(struct hwrng *rng, void *dat, size_t max, bool > wait) > +{ > + struct cavium_rng *p = container_of(rng, struct cavium_rng, ops); > + unsigned int size = max; > + > + while (size >= 8) { > + *((u64 *)

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Dan Williams
On Tue, Aug 23, 2016 at 8:58 PM, Dan Williams wrote: > On Tue, Aug 23, 2016 at 7:53 PM, Dan Williams > wrote: >> On Tue, Aug 23, 2016 at 6:29 PM, Kani, Toshimitsu wrote: On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu wrote: > On Tue, 2016-08-23 at 15:32 -0700, Dan Williams wr

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-23 Thread Tom Yan
On 24 August 2016 at 11:33, Martin K. Petersen wrote: >> "Tom" == Tom Yan writes: > > Tom> Nope, SCSI Write Same commands does not have payload (or in SCSI > Tom> terms, parameter list / data-out buffer). > > WRITE SAME has a a payload of 1 logical block (unless NDOB is set but we > have had

Re: [PATCH] drm/gma500: remove unnecessary config_enabled() guard

2016-08-23 Thread Daniel Vetter
On Wed, Aug 24, 2016 at 01:42:54AM +0900, Masahiro Yamada wrote: > Commit d112a8163f83 ("gma500/cdv: Add eDP support") replaced the > code inside this if-conditional with gma_backlight_set(), which > becomes a nop stub if CONFIG_BACKLIGHT_CLASS_DEVICE is disabled. > So, there is no need to guard th

Re: [PATCH v2 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-23 Thread Andrzej Hajda
On 08/24/2016 04:25 AM, Milo Kim wrote: > This patch enables getting a HPD GPIO descriptor quickly. > The exynos-hdmi driver uses "hpd" for HDMI hot plug detection. > > static int hdmi_resources_init(struct hdmi_context *hdata) > { > ... > hdata->hpd_gpio = d

Re: [PATCH v2 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-23 Thread Andrzej Hajda
Hi Milo, On 08/24/2016 04:25 AM, Milo Kim wrote: > * Support HDMI display data channel > I2C #2 is assigned for the HDMI DDC. It enables the EDID access. > > * GPIO for HDMI hot plug detect > GPX3_7 is used. The HPD awareness is done when the GPIO is active high and > single ended. > > * Ena

Re: [PATCH v2 2/4] On Discard either do Reset WP or Write Same

2016-08-23 Thread Shaun Tancheff
On Mon, Aug 22, 2016 at 8:25 PM, Damien Le Moal wrote: > > Shaun, > > On 8/23/16 09:22, Shaun Tancheff wrote: >> On Mon, Aug 22, 2016 at 6:57 PM, Damien Le Moal >> wrote: >> Also you may note that in my patch to get Host Aware working >> with the zone cache I do not include the runt zone in the

Re: [PATCH v3] PM / sleep: enable suspend-to-idle even without registered suspend_ops

2016-08-23 Thread Andy Gross
On 19 August 2016 at 08:41, Sudeep Holla wrote: > Suspend-to-idle (aka the "freeze" sleep state) is a system sleep state > in which all of the processors enter deepest possible idle state and > wait for interrupts right after suspending all the devices. > > There is no hard requirement for a platf

[v14 PATCH 4/5] Documentation: bindings: add dt documentation for cdn DP controller

2016-08-23 Thread Chris Zhong
This patch adds a binding that describes the cdn DP controller for rk3399. Signed-off-by: Chris Zhong Acked-by: Rob Herring Reviewed-by: Guenter Roeck --- Changes in v14: None Changes in v13: - add dptx and apb reset Changes in v12: None Changes in v11: - refer dp phy Changes in v10: - add

[v14 PATCH 1/5] Documentation: bindings: add dt doc for Rockchip USB Type-C PHY

2016-08-23 Thread Chris Zhong
This patch adds a binding that describes the Rockchip USB Type-C PHY for rk3399 Signed-off-by: Chris Zhong Reviewed-by: Tomasz Figa Reviewed-by: Kever Yang Reviewed-by: Guenter Roeck Acked-by: Rob Herring --- Changes in v14: None Changes in v13: None Changes in v12: None Changes in v11: - m

[v14 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-08-23 Thread Chris Zhong
Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB Type-C PHY is designed to support the USB3 and DP applications. The USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and HBR2 data rates. This driver create 2 PHY devices separately for USB3 and DisplyPort, and regi

[v14 PATCH 3/5] arm64: dts: rockchip: add Type-C phy for RK3399

2016-08-23 Thread Chris Zhong
There are 2 Type-C phy on RK3399, they are almost same, except the address of register. They support USB3.0 Type-C and DisplayPort1.3 Alt Mode on USB Type-C. Register a phy, supply it to USB3 controller and DP controller. Signed-off-by: Chris Zhong Reviewed-by: Guenter Roeck --- Changes in v14

[v14 PATCH 0/5] Rockchip Type-C and DisplayPort driver

2016-08-23 Thread Chris Zhong
Hi all This series patch is for rockchip Type-C phy and DisplayPort controller driver. The USB Type-C PHY is designed to support the USB3 and DP applications. The PHY basically has two main components: USB3 and DisplyPort. USB3 operates in SuperSpeed mode and the DP can operate at RBR, HBR and H

[v14 PATCH 5/5] drm/rockchip: cdn-dp: add cdn DP support for rk3399

2016-08-23 Thread Chris Zhong
Add support for cdn DP controller which is embedded in the rk3399 SoCs. The DP is compliant with DisplayPort Specification, Version 1.3, This IP is compatible with the rockchip type-c PHY IP. There is a uCPU in DP controller, it need a firmware to work, please put the firmware file to /lib/firmware

Re: [PATCH 2/8] staging/lustre/mdc: fix panic at mdc_free_open()

2016-08-23 Thread Oleg Drokin
Actually, please do not apply this one, there was a testing error that made me not noticing there's a bug in this one that insta-crashes everything on access. I tested the rest nd the rest are good without this one too. Sorry about this. On Aug 23, 2016, at 5:11 PM, Oleg Drokin wrote: > From:

Re: [PATCH v9 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-23 Thread Baoquan He
On 08/22/16 at 09:14am, "Zhou, Wenjian/周文剑" wrote: > On 08/19/2016 11:57 PM, Jonathan Corbet wrote: > >On Fri, 19 Aug 2016 08:33:21 +0800 > >"Zhou, Wenjian/周文剑" wrote: > > > >>I was also confused by maxcpus and nr_cpus before writing this patch. > >>I think it is a good choice to describe it in ke

[PATCH v2] serial: vt8500_serial: Fix a parameter of find_first_zero_bit.

2016-08-23 Thread Christophe JAILLET
The 2nd parameter of 'find_first_zero_bit' is the number of bits to search. In this case, we are passing 'sizeof(vt8500_ports_in_use)'. 'vt8500_ports_in_use' is an 'unsigned long'. So the sizeof is likely to return 4 on a 32 bits kernel. A few lines below, we check if it is below VT8500_MAX_PORTS,

Re: [v13.1 PATCH 2/5] phy: Add USB Type-C PHY driver for rk3399

2016-08-23 Thread Chris Zhong
Hi Chanwoo On 08/23/2016 01:44 PM, Chanwoo Choi wrote: Hi Chris, The name of 'SuperSpeed' property is changed from EXTCON_PROP_USB_SUPERSPEED to EXTCON_PROP_USB_SS. The name change was discussed on mail thread[1]. Oh, since I was using the old name in my local kernel, I will change it in V14

Re: [PATCH v2 1/2] cpufreq / sched: Pass flags to cpufreq_update_util()

2016-08-23 Thread Krzysztof Kozlowski
On Mon, Aug 22, 2016 at 07:30:36PM +0200, Rafael J. Wysocki wrote: > On Saturday, August 20, 2016 05:40:49 PM Krzysztof Kozlowski wrote: > > On Sat, Aug 20, 2016 at 03:08:01AM +0200, Rafael J. Wysocki wrote: > > > On Friday, August 19, 2016 03:26:21 PM Krzysztof Kozlowski wrote: > > > > On Fri, Aug

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Dan Williams
On Tue, Aug 23, 2016 at 9:28 PM, Kani, Toshimitsu wrote: >> On Tue, Aug 23, 2016 at 7:53 PM, Dan Williams >> wrote: >> > On Tue, Aug 23, 2016 at 6:29 PM, Kani, Toshimitsu >> wrote: >> >>> On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu >> >> >>> wrote: > : >> >> >> >> crash> p {struct vmem_a

Re: [Patch v8] driver/clk/clk-si5338: Add common clock framework driver for si5338

2016-08-23 Thread Stephen Boyd
On 08/24, kbuild test robot wrote: > > 2827if (drv_type < 0) > 2828return drv_type; > 2829 > 2830drv_vdd = get_drv_vdd(drvdata, i); > 2831if (drv_vdd < 0) > 2832return drv_vdd; >

Re: [PATCH 1/2] clk: samsung: exynos5260: Move struct samsung_cmu_info to init section

2016-08-23 Thread Stephen Boyd
On 08/23, Sylwester Nawrocki wrote: > On 08/23/2016 04:35 AM, Chanwoo Choi wrote: > I checked stripped object files and it seems with the patch there > is some saving of the kernel image size. Exactly 784 bytes, which > makes zImage smaller by 480 bytes. > > The patch increases .init.rodata sectio

linux-next: Tree for Aug 24

2016-08-23 Thread Stephen Rothwell
Hi all, Changes since 20160823: The drm-intel tree lost its build failure but gained conflicts against the drm-intel-fixes tree. The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit. The sound-asoc tree lost its build failure. Non-merge commits (relative to

RE: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Kani, Toshimitsu
> On Tue, Aug 23, 2016 at 7:53 PM, Dan Williams > wrote: > > On Tue, Aug 23, 2016 at 6:29 PM, Kani, Toshimitsu > wrote: > >>> On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu > > >>> wrote: : > >> > >> crash> p {struct vmem_altmap} 0x88046d045410 > >> $6 = { > >> base_pfn = 0x48, > >

linux-next: taking a break

2016-08-23 Thread Stephen Rothwell
Hi all, I will not be producing a linux-next release this Friday or next week. So the next release after tomorrow will be next-20160905. -- Cheers, Stephen Rothwell

Re: [RFC PATCH-tip v4 10/10] locking/rwsem: Add a boot parameter to reader spinning threshold

2016-08-23 Thread Davidlohr Bueso
On Thu, 18 Aug 2016, Waiman Long wrote: The default reader spining threshold is current set to 4096. However, the right reader spinning threshold may vary from one system to another and among the different architectures. This patch adds a new kernel boot parameter to modify the threshold value.

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Dan Williams
On Tue, Aug 23, 2016 at 7:53 PM, Dan Williams wrote: > On Tue, Aug 23, 2016 at 6:29 PM, Kani, Toshimitsu wrote: >>> On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu >>> wrote: >>> > On Tue, 2016-08-23 at 15:32 -0700, Dan Williams wrote: >>> >> On Tue, Aug 23, 2016 at 11:43 AM, Toshi Kani >>> >

Re: [PATCH 0/3] perf, bts: Fallout from the fuzzer for perf/urgent

2016-08-23 Thread Alexander Shishkin
Thanks! I'll get back to you with something better. On 23 August 2016 at 23:55, Vince Weaver wrote: > On Tue, 23 Aug 2016, Alexander Shishkin wrote: > >> Vince Weaver writes: >> >> > On Tue, 23 Aug 2016, Alexander Shishkin wrote: >> > >> >> Recently Vince has reported warnings and panics coming

Re: [PATCH 2/2] mm/usercopy: enable usercopy size checking for modern versions of gcc

2016-08-23 Thread Kees Cook
On Tue, Aug 23, 2016 at 3:28 PM, Josh Poimboeuf wrote: > This is a revert of: > > 2fb0815c9ee6 ("gcc4: disable __compiletime_object_size for GCC 4.6+") > > The goal of that commit was to silence the "provably correct" gcc > warnings. But it went too far: it also disabled the runtime warnings. >

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

2016-08-23 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 | 44 ++ 1 file changed, 44 insertions(+) create mode 100644 Documentation/dev

linux-next: build warning after merge of the thermal tree

2016-08-23 Thread Stephen Rothwell
Hi Zhang, After merging the thermal tree, today's linux-next build (powerpc allyesconfig) produced this warning: warning: (HISI_THERMAL) selects STUB_CLK_HI6220 which has unmet direct dependencies (COMMON_CLK && COMMON_CLK_HI6220 && MAILBOX) Introduced by commit 5f63581ce68e ("thermal: hisil

[PATCH v13 2/4] CMDQ: Mediatek CMDQ driver

2016-08-23 Thread HS Liao
This patch is first version of Mediatek Command Queue(CMDQ) driver. The CMDQ is used to help 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 only su

Re: [PATCH] infiniband/mlx5: Remove superfluous include of io-mapping.h

2016-08-23 Thread Laurence Oberman
- Original Message - > From: "Chris Wilson" > To: linux-r...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org, "Chris Wilson" , > "Eli Cohen" , "Jack > Morgenstein" , "Or Gerlitz" > , "Matan Barak" , > "Leon Romanovsky" , "Doug Ledford" > , "Sean Hefty" , > "Hal Rosenstock" > Sent:

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-23 Thread Martin K. Petersen
> "Tom" == Tom Yan writes: Tom> Nope, SCSI Write Same commands does not have payload (or in SCSI Tom> terms, parameter list / data-out buffer). WRITE SAME has a a payload of 1 logical block (unless NDOB is set but we have had no good reason to support that yet). UNMAP has a payload that var

[PATCH v13 4/4] CMDQ: save more energy in idle

2016-08-23 Thread HS Liao
Use clk_disable_unprepare instead of clk_disable to save more energy when CMDQ is idle. Signed-off-by: HS Liao --- drivers/soc/mediatek/mtk-cmdq.c | 54 +++-- 1 file changed, 46 insertions(+), 8 deletions(-) diff --git a/drivers/soc/mediatek/mtk-cmdq.c b/driv

[PATCH v13 3/4] arm64: dts: mt8173: Add GCE node

2016-08-23 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 | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8173.dtsi b/arch/arm64/boot/dts/mediatek/mt8173.dtsi index 10f6

[PATCH v13 0/4] Mediatek MT8173 CMDQ support

2016-08-23 Thread HS Liao
Hi, This is Mediatek MT8173 Command Queue(CMDQ) driver. The CMDQ is used to help 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 depen

Re: [lkp] [x86/irq] 82ba4faca1: [No primary change] [unixbench]

2016-08-23 Thread Aaron Lu
On 08/24/2016 11:04 AM, kernel test robot wrote: > > FYI, we noticed interrupts.CAL:Function_call_interrupts +771.1% improvement > due to commit: This is expected. CAL:Function_call_interrupts now contains TLB shootdowns while it doesn't previously. Thanks, Aaron > > commit 82ba4faca1bffad42

Re: [PATCH v1 00/10] Optimize sched avgs computation and implement flat util hierarchy

2016-08-23 Thread Yuyang Du
Hi Vincent, On Tue, Aug 23, 2016 at 03:28:19PM +0200, Vincent Guittot wrote: > I still wonder if using a flat util hierarchy is the right solution to > solve this problem with utilization and task group. I have noticed > exact same issues with load that generates weird task placement > decision an

RE: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Kani, Toshimitsu
> On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu > wrote: > > On Tue, 2016-08-23 at 15:32 -0700, Dan Williams wrote: > >> On Tue, Aug 23, 2016 at 11:43 AM, Toshi Kani > >> wrote: > > : > >> I'm not sure about this fix. The point of honoring > >> vmem_altmap_offset() is because a portion of t

[RFC][PATCH v2] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times

2016-08-23 Thread John Stultz
It was reported that hibernation could fail on the 2nd attempt, where the system hangs at hibernate() -> syscore_resume() -> i8237A_resume() -> claim_dma_lock(), because the lock has already been taken. However there is actually no other process would like to grab this lock on that problematic pla

Re: [PATCH v1 00/10] Optimize sched avgs computation and implement flat util hierarchy

2016-08-23 Thread Yuyang Du
On Tue, Aug 23, 2016 at 04:13:41PM +0200, Peter Zijlstra wrote: > On Tue, Aug 23, 2016 at 03:28:19PM +0200, Vincent Guittot wrote: > > I still wonder if using a flat util hierarchy is the right solution to > > solve this problem with utilization and task group. I have noticed > > exact same issues

Re: [PATCH 2/2] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times

2016-08-23 Thread John Stultz
On Tue, Aug 23, 2016 at 5:58 PM, Chen Yu wrote: > Hi John, some small typos below, others should be OK. Thanks. I realize you mailed me before on this, but I forgot to integrate the changes. Apologies. I've now integrated the changes and updated the git branch. The HEAD for the pull request is

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Dan Williams
On Tue, Aug 23, 2016 at 6:29 PM, Kani, Toshimitsu wrote: >> On Tue, Aug 23, 2016 at 4:47 PM, Kani, Toshimitsu >> wrote: >> > On Tue, 2016-08-23 at 15:32 -0700, Dan Williams wrote: >> >> On Tue, Aug 23, 2016 at 11:43 AM, Toshi Kani >> >> wrote: >> > : >> >> I'm not sure about this fix. The poin

Re: [PATCH] megaraid_sas: Use memdup_user() rather than duplicating its implementation

2016-08-23 Thread Martin K. Petersen
> "SF" == SF Markus Elfring writes: SF> Reuse existing functionality from memdup_user() instead of keeping SF> duplicate source code. Applied to 4.9/scsi-queue. -- Martin K. Petersen Oracle Linux Engineering

[PATCH v2 3/3] arm64: defconfig: enable bluetooth supports as modules

2016-08-23 Thread Guodong Xu
Enable the following items for bluetooth mouse and speaker which base on HCIUART. a) CONFIG_BT_HCIUART b) CONFIG_BT_HCIUART_LL c) CONFIG_BT_HIDP Enable bluetooth LED support. d) CONFIG_BT_LEDS Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 8 1 file changed, 8 insertion

[PATCH] Input: fix semicolon.cocci warnings

2016-08-23 Thread kbuild test robot
drivers/input/rmi4/rmi_platform.c:68:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Benjamin Tissoires Signed-off-by: Fengguang Wu --- rmi_platform.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/input/

Re: [PATCH 09/11] Input: synaptics-rmi4 - add rmi_platform

2016-08-23 Thread kbuild test robot
Hi Benjamin, [auto build test WARNING on input/next] [also build test WARNING on v4.8-rc3 next-20160823] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience)

Re: [kbuild-all] make[2]: *** No rule to make target 'tools/testing/nvdimm//config_check.o', needed by 'tools/testing/nvdimm//dax.o'.

2016-08-23 Thread Fengguang Wu
On Tue, Aug 23, 2016 at 04:42:15PM -0700, Dan Williams wrote: On Mon, Aug 22, 2016 at 5:26 AM, Yilong Ren wrote: Hi, Williams On Mon, Aug 15, 2016 at 06:30:48PM -0700, Dan Williams wrote: On Mon, Aug 15, 2016 at 6:26 PM, Fengguang Wu wrote: > On Mon, Aug 15, 2016 at 05:58:36PM -0700, Dan Wil

[PATCH v2 2/3] arm64: defconfig: enable CONFIG_INPUT_HISI_POWERKEY for HiKey

2016-08-23 Thread Guodong Xu
Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index e27f086..b4f714c 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -186,6 +186,7 @@ CONFIG

[PATCH v2 0/3] arm64: defconfig: enable various configs for HiKey

2016-08-23 Thread Guodong Xu
Enable various configs for HiKey, including: 1. HiSilicon Kirin DRM 2. ADV7533 3. HiSi Powerkey 4. Bluetooth v2: - Removed CMA size 128M change. Leave that in bootloader as suggested by Thierry Reding Guodong Xu (3): arm64: defconfig: Enable HiSilicon kirin drm, adv7533 for HiKey arm64:

[PATCH v2 1/3] arm64: defconfig: Enable HiSilicon kirin drm, adv7533 for HiKey

2016-08-23 Thread Guodong Xu
Enable HiSilicon kirin drm driver for HiKey: CONFIG_DRM_HISI_KIRIN Enable adv7511/adv7533 for HiKey: CONFIG_DRM_I2C_ADV7511 Build these components as modules. Signed-off-by: Xinliang Liu Signed-off-by: Guodong Xu --- arch/arm64/configs/defconfig | 2 ++ 1 file changed, 2 insertions(+) diff --

Re: [PATCH 1/2] mm/usercopy: get rid of "provably correct" warnings

2016-08-23 Thread Kees Cook
On Tue, Aug 23, 2016 at 3:28 PM, Josh Poimboeuf wrote: > With CONFIG_DEBUG_STRICT_USER_COPY_CHECKS=y, if I force enable the > __compiletime_object_size() macro with a recent compiler by removing the > "GCC_VERSION < 40600" check, I get a bunch of false positive warnings. > For example: > > In fu

Re: [PATCH 0/4] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-23 Thread Milo Kim
On 08/24/2016 04:55 AM, Krzysztof Kozlowski wrote: I saw DTS patches on linux-samsung-soc patchwork but still I would appreciate if you send them to appropriate maintainers pointed by get_maintainers.pl script. DTS stuff goes through samsung-soc tree. Thanks for your tip. I've just sent out the

[PATCH v2 4/4] gpu: drm: exynos_hdmi: Use consolidated function on binding PHY DT property

2016-08-23 Thread Milo Kim
Handle legacy and raw 'phy' parsing in single function. And it also removes goto condition. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: David Airlie Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.

[PATCH v2 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpio'

2016-08-23 Thread Milo Kim
This patch enables getting a HPD GPIO descriptor quickly. The exynos-hdmi driver uses "hpd" for HDMI hot plug detection. static int hdmi_resources_init(struct hdmi_context *hdata) { ... hdata->hpd_gpio = devm_gpiod_get(dev, "hpd", GPIOD_IN);

[PATCH v2 0/4] ARM: dts: exynos: Enable HDMI in Arndale Octa board

2016-08-23 Thread Milo Kim
This patch-set enables HDMI in Arndale Octa board and fixes HPD DT property. It also includes code refactoring on ddc and phy. v2: Include DRM and Exynos maintainers and resend the patch-set. Add Rob's ack for the patch, [PATCH 2/4] ARM: dts: exynos: Use 'hpd-gpios' instead of 'hpd-gpi

[PATCH v2 1/4] ARM: dts: exynos: Enable HDMI for Arndale Octa board

2016-08-23 Thread Milo Kim
* Support HDMI display data channel I2C #2 is assigned for the HDMI DDC. It enables the EDID access. * GPIO for HDMI hot plug detect GPX3_7 is used. The HPD awareness is done when the GPIO is active high and single ended. * Enable HDMI block in Exynos5420 HDMI PLL consumes 1.0V LDO6 (PVDD

[PATCH v2 3/4] gpu: drm: exynos_hdmi: Use consolidated function on binding DDC DT property

2016-08-23 Thread Milo Kim
Handle legacy and raw 'ddc' parsing in single function. And it also removes goto condition. Cc: Kukjin Kim Cc: Krzysztof Kozlowski Cc: David Airlie Cc: Inki Dae Cc: Joonyoung Shim Cc: Seung-Woo Kim Cc: Kyungmin Park Cc: Rob Herring Cc: devicet...@vger.kernel.org Cc: linux-arm-ker...@lists.

Re: [PATCH 2/4] arm64: defconfig: Set cma heap size to 128MB

2016-08-23 Thread Guodong Xu
On 22 August 2016 at 17:06, Thierry Reding wrote: > On Fri, Aug 19, 2016 at 11:42:06PM +0800, Guodong Xu wrote: >> From: Xinliang Liu >> >> For debian linux, cma heap is used to allocate graphic buffers. >> The default size is 16 MB which is not enought. >> So increase the size to 128 MB. >> >> S

Re: [RFC 00/11] THP swap: Delay splitting THP during swapping out

2016-08-23 Thread Huang, Ying
Minchan Kim writes: > Hi Huang, > > On my side, there are more urgent works now so I didn't have a time to > see our ongoing discussion. I will continue after settle down works, > maybe next week. Sorry. No problem. Thanks for your review so far! > On Mon, Aug 22, 2016 at 02:33:08PM -0700, Hua

Re: [RFC 00/11] THP swap: Delay splitting THP during swapping out

2016-08-23 Thread Minchan Kim
Hi Huang, On my side, there are more urgent works now so I didn't have a time to see our ongoing discussion. I will continue after settle down works, maybe next week. Sorry. On Mon, Aug 22, 2016 at 02:33:08PM -0700, Huang, Ying wrote: > Hi, Minchan, > > Minchan Kim writes: > > Anyway, I hope [1

Re: [PATCH] treewide: replace config_enabled() with IS_ENABLED() (2nd round)

2016-08-23 Thread Kees Cook
On Tue, Aug 23, 2016 at 12:45 PM, Masahiro Yamada wrote: > Commit 97f2645f358b ("tree-wide: replace config_enabled() with > IS_ENABLED()") mostly killed config_enabled(), but some new users > have appeared for v4.8-rc1. They are all used for a boolean option, > so can be replaced with IS_ENABLED(

Re: [PATCH] memremap: Fix NULL pointer BUG in get_zone_device_page()

2016-08-23 Thread Kani, Toshimitsu
On Tue, 2016-08-23 at 13:42 -0700, Andrew Morton wrote: > On Tue, 23 Aug 2016 12:43:20 -0600 Toshi Kani > wrote: > > > > > The following BUG was observed while starting up KVM with nvdimm > > device as memory-backend-file to /dev/dax. > > > >  BUG: unable to handle kernel NULL pointer dereferen

[PATCH v2 1/2] PCI: quirk fixup for cavium invalid sriov link value.

2016-08-23 Thread Omer Khaliq
From: Ananth Jasty Cavium cn88xx hardware presents an incorrect SR-IOV Function Dependency Link, add a fixup quirk for the affected devices. Acked-by: David Daney Signed-off-by: Ananth Jasty Signed-off-by: Omer Khaliq --- drivers/pci/quirks.c | 11 +++ 1 file changed, 11 insertions(+

  1   2   3   4   5   6   7   8   9   >