Re: [PATCH v5 7/8] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-09 Thread Chanwoo Choi
Hi Lin, I add the some comment on below. If you modify them, feel free to add the my reviewed tag on next version: Reviewed-by: Chanwoo Choi On 2016년 08월 10일 12:26, Lin Huang wrote: > base on dfi result, we do ddr frequency scaling, register > dmc driver to devfreq framework, and use simple-ond

Re: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode

2016-08-09 Thread John Stultz
On Tue, Aug 9, 2016 at 9:34 PM, Bjorn Andersson wrote: > On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote: > > [..] >> diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts >> b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > [..] >> memory@0 { >> device_type = "memory";

Re: [RFC PATCH 2/3] net: macb: Add support for 1588 for Zynq Ultrascale+ MPSoC

2016-08-09 Thread Harini Katakam
Hi Nicolas, Thanks for your reply On Tue, Aug 9, 2016 at 10:26 PM, Punnaiah Choudary Kalluri wrote: > Hi Nicolas, > > 1588 implementation in cadence GEM IP we have in Zynq Ultascale+ MPSoC is > Different to the one in Zynq SOC. > > In earlier version, all timestamp values will be stored in regi

Re: [PATCH v5 7/8] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-09 Thread kbuild test robot
Hi Lin, [auto build test WARNING on v4.8-rc1] [also build test WARNING on next-20160809] [cannot apply to rockchip/for-next devfreq/for-rafael linux/master] [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

Re: [PATCH v5 4/8] Documentation: bindings: add dt documentation for dfi controller

2016-08-09 Thread Chanwoo Choi
Hi Lin, On 2016년 08월 10일 12:26, Lin Huang wrote: > This patch adds the documentation for rockchip dfi devfreq-event driver. > > Signed-off-by: Lin Huang > --- > Changes in v5: > -None > > Changes in v4: > -None > > Changes in v3: > -None > > Changes in v2: > -None > > Changes in v1: > -None

[PATCH] PM / devfreq: rockchip: fix semicolon.cocci warnings

2016-08-09 Thread kbuild test robot
drivers/devfreq/rk3399_dmc.c:393:2-3: Unneeded semicolon Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Lin Huang Signed-off-by: Fengguang Wu --- rk3399_dmc.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/devfreq/rk3399_dmc.c

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-09 Thread Damien Le Moal
Shaun, On 8/10/16 12:58, Shaun Tancheff wrote: On Tue, Aug 9, 2016 at 3:09 AM, Damien Le Moal wrote: On Aug 9, 2016, at 15:47, Hannes Reinecke wrote: [trim] Since disk type == 0 for everything that isn't HM so I would prefer the sysfs 'zoned' file just report if the drive is HA or HM. O

Re: [PATCH v5 6/8] Documentation: bindings: add dt documentation for rk3399 dmc

2016-08-09 Thread Chanwoo Choi
Hi Lin, On 2016년 08월 10일 12:26, Lin Huang wrote: > This patch adds the documentation for rockchip rk3399 dmc driver. > > Signed-off-by: Lin Huang > --- > Changes in v5: > -None > > Changes in v4: > -None > > Changes in v3: > -None > > Changes in v2: > -None > > Changes in v1: > -None > >

Re: [PATCH v3] powerpc: Do not make the entire heap executable

2016-08-09 Thread Michael Ellerman
Denys Vlasenko writes: > On 32-bit powerps the ELF PLT sections of binaries (built with --bss-plt, > or with a toolchain which defaults to it) look like this: ... > > arch/powerpc/include/asm/page.h| 10 +- > arch/powerpc/include/asm/page_32.h | 2 -- > arch/powerpc/include/asm/page

Re: [RFC][PATCH 3/4] arm64: dts: hikey: Add hikey support for syscon-reboot-mode

2016-08-09 Thread Bjorn Andersson
On Mon 08 Aug 16:03 PDT 2016, John Stultz wrote: [..] > diff --git a/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts > b/arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts [..] > memory@0 { > device_type = "memory"; > reg = <0x 0x 0x 0x05e0

Re: Is it ok if ModemManager process is killed AFTER network-interface is brought up and IP-Address assigned?

2016-08-09 Thread Ajay Garg
Ok Greg :) On Tue, Aug 9, 2016 at 1:44 PM, Greg KH wrote: > On Tue, Aug 09, 2016 at 12:48:12PM +0530, Ajay Garg wrote: >> Hi All. >> >> We are using Sierra's USB-to-WWAN driver on Ubuntu-14 for Sierra's >> MC8090 modem, and we have a requirement wherein we need to have access >> to the modem-seri

Re: [PATCH] cpufreq: powernv: Fix crash in gpstate_timer_handler

2016-08-09 Thread Michael Ellerman
Viresh Kumar writes: > On 04-08-16, 20:59, Akshay Adiga wrote: >> 'commit 09ca4c9b5958 ("cpufreq: powernv: Replacing pstate_id with >> frequency table index")' changes calc_global_pstate() to use >> cpufreq_table index instead of pstate_id. >> >> But in gpstate_timer_handler() pstate_id was bein

Re: [PATCH 2/2] device-tree: nexus7: Add IMEM syscon and reboot reason support

2016-08-09 Thread Bjorn Andersson
On Mon 08 Aug 15:34 PDT 2016, John Stultz wrote: > This patch add the IMEM syscon memory region to the DT, > as well as addds support for the magic reboot reason > values that are written to the address for each mode. > This looks good, double checked the addresses and magics. But I think you sho

[PATCH v3 4/5] x86/ioapic: Fix lost IOAPIC resource after hot-removal and hotadd

2016-08-09 Thread Rui Wang
IOAPIC resource at 0xfecx gets lost from /proc/iomem after hot-removing and then hot-adding the IOAPIC device. After system boot, in /proc/iomem: fec0-fecf : PNP0003:00 fec0-fec003ff : IOAPIC 0 fec01000-fec013ff : IOAPIC 1 fec4-fec403ff : IOAPIC 2 fec8-fec803ff : IO

[PATCH v3 2/5] x86/ioapic: Support hot-removal of IOAPICs present during boot

2016-08-09 Thread Rui Wang
IOAPICs present during system boot aren't added to ioapic_list, thus are unable to be hot-removed. Fix it by calling acpi_ioapic_add() during root bus enumeration. Signed-off-by: Rui Wang --- drivers/acpi/pci_root.c | 10 ++ drivers/pci/setup-bus.c | 5 - 2 files changed, 14 inserti

[PATCH v3 1/5] x86/ioapic: Change prototype of acpi_ioapic_add()

2016-08-09 Thread Rui Wang
Change the argument of acpi_ioapic_add() to a generic ACPI handle, and move its prototype from drivers/acpi/internal.h to include/linux/acpi.h so that it can be called from outside the pci_root driver. Signed-off-by: Rui Wang --- drivers/acpi/internal.h | 2 -- drivers/acpi/ioapic.c | 6 +++---

[PATCH v3 0/5] Fixing a set of bugs for ioapic hotplug

2016-08-09 Thread Rui Wang
A set of patches fixing bugs found while testing IOAPIC hotplug. Regards, Rui Changelog: Changes from v2 to v3: * Rebased on top of 4.8-rc1 per Bjorn & Rafael. * Improved the commit message of 0003, w/ clearer explanation. Changes from v1 to v2: * Split the first patch into two as advised by Bj

[PATCH v3 3/5] x86/ioapic: Fix setup_res() failing to get resource

2016-08-09 Thread Rui Wang
acpi_dev_filter_resource_type() returns 0 on success, and 1 on failure. A return value of zero means there's a matching resource, so we should continue within setup_res() to get the resource. Signed-off-by: Rui Wang --- drivers/acpi/ioapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v3 5/5] x86/ioapic: Fix ioapic failing to request resource

2016-08-09 Thread Rui Wang
handle_ioapic_add() uses request_resource() to request ACPI "_CRS" resources. This can fail with the following error message: [ 247.325693] ACPI: \_SB_.IIO1.AID1: failed to insert resource This happens when there are multiple IOAPICs and DSDT groups their "_CRS" resources as the children of a pa

Re: [PATCH 1/2] device-tree: aqp8064.dtsi: Remove usb phy dr_mode = "host"

2016-08-09 Thread Bjorn Andersson
On Mon 08 Aug 15:34 PDT 2016, John Stultz wrote: Changes in this file is commonly prefixed "ARM: dts: apq8064:", please follow that. Perhaps: ARM: dts: apq8064: Drop dr_mode property from usb phy > Most 8064 devices have micro-usb ports for phy1, so setting > the dr_mode to host here seems incor

Re: [PATCH] cpuset: make sure new tasks conform to the current config of the cpuset

2016-08-09 Thread Tejun Heo
On Tue, Aug 09, 2016 at 11:25:01AM +0800, Zefan Li wrote: > A new task inherits cpus_allowed and mems_allowed masks from its parent, > but if someone changes cpuset's config by writing to cpuset.cpus/cpuset.mems > before this new task is inserted into the cgroup's task list, the new task > won't be

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-09 Thread Shaun Tancheff
On Tue, Aug 9, 2016 at 3:09 AM, Damien Le Moal wrote: >> On Aug 9, 2016, at 15:47, Hannes Reinecke wrote: [trim] >>> Since disk type == 0 for everything that isn't HM so I would prefer the >>> sysfs 'zoned' file just report if the drive is HA or HM. >>> >> Okay. So let's put in the 'zoned' attr

Re: [PATCH v2 1/1] blk-mq: fix hang caused by freeze/unfreeze sequence

2016-08-09 Thread Tejun Heo
Hello, On Mon, Aug 08, 2016 at 01:39:08PM +0200, Roman Pen wrote: > Long time ago there was a similar fix proposed by Akinobu Mita[1], > but it seems that time everyone decided to fix this subtle race in > percpu-refcount and Tejun Heo[2] did an attempt (as I can see that > patchset was not applie

Re: Potential race condition in drivers/ata/sata_mv.ko

2016-08-09 Thread Tejun Heo
Hello, On Fri, Aug 05, 2016 at 03:43:30PM +0300, Pavel Andrianov wrote: > In drivers/ata/sata_mv.ko function mv_set_main_irq_mask is called several > times. Twice with a spinlock, twice from init function and once without any > protection. The call without protection rises to several handlers from

Re: [PATCH v5 03/14] arm64/numa: add nid check for memory block

2016-08-09 Thread Leizhen (ThunderTown)
On 2016/8/10 10:12, Hanjun Guo wrote: > On 2016/8/8 17:18, Zhen Lei wrote: >> Use the same tactic to cpu and numa-distance nodes. >> >> Signed-off-by: Zhen Lei >> --- >> arch/arm64/mm/numa.c | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/nu

Re: [PATCH 1/7] ima: on soft reboot, restore the measurement list

2016-08-09 Thread Michael Ellerman
Thiago Jung Bauermann writes: > Am Dienstag, 09 August 2016, 09:01:13 schrieb Mimi Zohar: >> On Tue, 2016-08-09 at 20:59 +1000, Michael Ellerman wrote: >> > Mimi Zohar writes: >> > > diff --git a/security/integrity/ima/ima.h >> > > b/security/integrity/ima/ima.h >> > > index b5728da..84e8d36 100

Re: [PATCH] w1: fix timeout_us parameter description

2016-08-09 Thread Wei Yongjun
Hi On 08/10/2016 06:54 AM, Evgeniy Polyakov wrote: > Hi > > 08.08.2016, 16:52, "Wei Yongjun" : >> Fix 'timeout_us' parameter description. >> >> Signed-off-by: Wei Yongjun >> --- >> drivers/w1/w1.c | 4 ++-- >> 1 file changed, 2 insertions(+), 2 deletions(-) >> >> diff --git a/drivers/w1/w1.c b/d

Re: [PATCH resend 5/5] libata-scsi: fix MODE SELECT translation for Control mode page

2016-08-09 Thread Tejun Heo
On Fri, Jul 22, 2016 at 02:41:54AM +0800, tom.t...@gmail.com wrote: > From: Tom Yan > > scsi_done() was called repeatedly and apparently because of that, > the kernel would call trace when we touch the Control mode page: > > Call Trace: > [] dump_stack+0x63/0x81 > [] __warn+0xcb/0xf0 > [] war

[PATCH] FUSE: add the async option for the flush/release operation

2016-08-09 Thread Enke Chen
Hi, Miklos: This patch adds the async option for the flush/release operation in FUSE. The async flush/release option allows a FUSE-based application to be terminated without being blocked in the flush/release operation even in the presence of complex external interactions. In addition, the async

Re: [PATCH v6 0/2] Block layer support ZAC/ZBC commands

2016-08-09 Thread Shaun Tancheff
On Tue, Aug 9, 2016 at 1:47 AM, Hannes Reinecke wrote: > On 08/05/2016 10:35 PM, Shaun Tancheff wrote: >> On Tue, Aug 2, 2016 at 8:29 PM, Damien Le Moal >> wrote: On Aug 2, 2016, at 23:35, Hannes Reinecke wrote: On 08/01/2016 07:07 PM, Shaun Tancheff wrote: > On Mon, Aug 1, 2016 a

[PATCH v5 8/8] drm/rockchip: Add dmc notifier in vop driver

2016-08-09 Thread Lin Huang
when in ddr frequency scaling process, vop can not do enable or disable operation, since dcf will base on vop vblank time to do frequency scaling and need to get vop irq if there have vop enabled. So need register to devfreq notifier, and we can get the dmc status. Also, when there have two vop ena

[PATCH v5 6/8] Documentation: bindings: add dt documentation for rk3399 dmc

2016-08-09 Thread Lin Huang
This patch adds the documentation for rockchip rk3399 dmc driver. Signed-off-by: Lin Huang --- Changes in v5: -None Changes in v4: -None Changes in v3: -None Changes in v2: -None Changes in v1: -None .../devicetree/bindings/devfreq/rk3399_dmc.txt | 35 ++ 1 file cha

[PATCH v5 0/8] rk3399 support ddr frequency scaling

2016-08-09 Thread Lin Huang
rk3399 platform have dfi controller can monitor ddr load, and dcf controller to handle ddr register so we can get the right ddr frequency and make ddr controller happy work(which will implement in bl31). So we do ddr frequency scaling with following flow: kernel

[PATCH v5 1/8] clk: rockchip: add new clock-type for the ddrclk

2016-08-09 Thread Lin Huang
On new rockchip platform(rk3399 etc), there have dcf controller to do ddr frequency scaling, and this controller will implement in arm-trust-firmware. We add a special clock-type to handle that. Signed-off-by: Lin Huang --- Changes in v5: - delete unuse mux_flag - use div_flag to distinguish sip

[PATCH v5 2/8] clk: rockchip: rk3399: add SCLK_DDRCLK ID for ddrc

2016-08-09 Thread Lin Huang
Signed-off-by: Lin Huang --- Changes in v5: -None Changes in v4: -None Changes in v3: -None Changes in v2: -None Changes in v1: -None include/dt-bindings/clock/rk3399-cru.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/dt-bindings/clock/rk3399-cru.h b/include/dt-bindings/clock

[PATCH v5 4/8] Documentation: bindings: add dt documentation for dfi controller

2016-08-09 Thread Lin Huang
This patch adds the documentation for rockchip dfi devfreq-event driver. Signed-off-by: Lin Huang --- Changes in v5: -None Changes in v4: -None Changes in v3: -None Changes in v2: -None Changes in v1: -None .../bindings/devfreq/event/rockchip-dfi.txt | 20 1 f

[PATCH v5 7/8] PM / devfreq: rockchip: add devfreq driver for rk3399 dmc

2016-08-09 Thread Lin Huang
base on dfi result, we do ddr frequency scaling, register dmc driver to devfreq framework, and use simple-ondemand policy. Signed-off-by: Lin Huang --- Changes in v5: - improve dmc driver suggest by Chanwoo Choi Changes in v4: - use arm_smccc_smc() function talk to bl31 - delete rockchip_dmc.c f

[PATCH v5 3/8] clk: rockchip: rk3399: add ddrc clock support

2016-08-09 Thread Lin Huang
add ddrc clock setting, so we can do ddr frequency scaling on rk3399 platform in future. Signed-off-by: Lin Huang --- Changes in v5: - fit for the ddr type Changes in v4: - None Changes in v3: - None Changes in v2: - remove clk_ddrc_dpll_src from critical clock list Changes in v1: - remove dd

[PATCH v5 5/8] PM / devfreq: event: support rockchip dfi controller

2016-08-09 Thread Lin Huang
on rk3399 platform, there is dfi conroller can monitor ddr load, base on this result, we can do ddr freqency scaling. Signed-off-by: Lin Huang Acked-by: Chanwoo Choi --- Changes in v5: -None Changes in v4: -None Changes in v3: -None Changes in v2: -None Changes in v1: -None drivers/devfre

Re: Regarding AHCI_MAX_SG and (ATA_HORKAGE_MAX_SEC_1024)

2016-08-09 Thread Tejun Heo
Hello, Tom. On Sun, Aug 07, 2016 at 10:10:17PM +0800, Tom Yan wrote: > So the (not so) recent bump of BLK_DEF_MAX_SECTORS from 1024 to 2560 > (commit d2be537c3ba3) seemed to have caused trouble to some of the ATA > devices, which were then worked around with ATA_HORKAGE_MAX_SEC_1024. > > However,

Re: [PATCH v5 5/6] usb: chipidea: let chipidea core device of_node equal's glue layer device of_node

2016-08-09 Thread Peter Chen
On Tue, Aug 09, 2016 at 05:15:36PM -0700, Stephen Boyd wrote: > Quoting Peter Chen (2016-08-08 01:52:10) > > From: Peter Chen > > > > At device tree, we have no device node for chipidea core, > > the glue layer's node is the parent node for host and udc > > device. But in related driver, the pare

Re: [PATCH v2] mm/slub: Run free_partial() outside of the kmem_cache_node->list_lock

2016-08-09 Thread Vladimir Davydov
On Tue, Aug 09, 2016 at 04:27:46PM +0100, Chris Wilson wrote: ... > diff --git a/mm/slub.c b/mm/slub.c > index 825ff45..58f0eb6 100644 > --- a/mm/slub.c > +++ b/mm/slub.c > @@ -3479,6 +3479,7 @@ static void list_slab_objects(struct kmem_cache *s, > struct page *page, > */ > static void free_par

Re: [PATCH V3 1/3] tracing: add a possibility of exporting function trace to other places instead of ring buffer only

2016-08-09 Thread Chunyan Zhang
On Tue, Aug 9, 2016 at 11:35 PM, Steven Rostedt wrote: > On Tue, 9 Aug 2016 14:32:39 +0800 > Chunyan Zhang wrote: > >> Currently ring buffer is the only output of Function traces, this patch >> added trace_export concept which would process the traces and export >> traces to a registered destina

Re: [PATCH v5 6/6] ARM: dts: imx6qdl-udoo.dtsi: fix onboard USB HUB property

2016-08-09 Thread Peter Chen
On Tue, Aug 09, 2016 at 04:33:35PM -0700, Joshua Clayton wrote: > Hi Peter, > > On 08/08/2016 01:52 AM, Peter Chen wrote: > > The current dts describes USB HUB's property at USB controller's > > entry, it is improper. The USB HUB should be the child node > > under USB controller, and power sequenc

Re: [PATCH 1/1] Add CPU temperature sensor support for i.MX53

2016-08-09 Thread Tejun Heo
Hello, Fabien. Is $SUBJ right? CPU temperature? On Wed, Aug 03, 2016 at 09:35:56AM +0200, Fabien Lahoudere wrote: > From: Csaba Kertesz > > The original patch was made by Richard Zhu for kernel 2.6.x: > > ENGR00134041-MX53-Add-the-SATA-AHCI-temperature-monitor.patch > > The old source code w

Re: c6x linker issue on linux-next-20160808 + some linker table work

2016-08-09 Thread Mark Salter
On Tue, 2016-08-09 at 19:09 -0700, Luis R. Rodriguez wrote: > On Aug 9, 2016 6:50 PM, "Mark Salter" wrote: > > > > On Tue, 2016-08-09 at 20:40 +0200, Luis R. Rodriguez wrote: > > > On Tue, Aug 09, 2016 at 01:04:00PM -0400, Mark Salter wrote: > > > > > > > > On Tue, 2016-08-09 at 06:37 -0700, Guent

Re: [PATCH v6 1/3] PCI: Add Precision Time Measurement (PTM) support

2016-08-09 Thread Yong, Jonathan
On 06/14/2016 03:05, Bjorn Helgaas wrote: > From: Jonathan Yong > > Add Precision Time Measurement (PTM) support (see PCIe r3.1, sec 6.22). > > Enable PTM on PTM Root devices and switch ports. This does not enable PTM > on endpoints. > > There currently are no PTM-capable devices on the market

Re: Kernel modules under new copyleft licence : (was Re: [PATCH v2] module.h: add copyleft-next >= 0.3.1 as GPL compatible)

2016-08-09 Thread Linus Torvalds
On Tue, Aug 9, 2016 at 1:14 PM, Luis R. Rodriguez wrote: > > I'm personally fine with MODULE_LICENSE("GPL") being used with copyleft-next > code > and find it sensible. I'd rather have the kernel license be as clear as possible, so I'd tend to prefer that MODULE_LICENSE("GPL") and then if yo

Re: [PATCH v6 2/4] mfd: lp873x: Add lp873x PMIC support

2016-08-09 Thread Keerthy
On Tuesday 09 August 2016 06:23 PM, Lee Jones wrote: On Mon, 08 Aug 2016, Keerthy wrote: The LP873X chip is a power management IC for Portable Navigation Systems and Tablet Computing devices. It contains the following components: - Regulators. - Configurable General Purpose

Re: [PATCH v6 1/4] Documentation: mfd: LP873X: Add information for the mfd driver

2016-08-09 Thread Keerthy
On Tuesday 09 August 2016 06:20 PM, Lee Jones wrote: On Mon, 08 Aug 2016, Keerthy wrote: The lp873x series of PMICs have a bunch of regulators and a couple of GPO(General Purpose Outputs). Add information for the MFD and regulator drivers. Acked-by: Rob Herring Signed-off-by: Keerthy The

Re: [PATCH][RESEND] thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

2016-08-09 Thread Kuninori Morimoto
Hi Zhang > > Hi Linux-PM, Linux-Kernel ML > > > > I posted thermal driver patch 2month ago, but no response and nothing > > happen. > > I'm following scripts/get_maintainer.pl, but am I wrong ?? > > Who is the maintainer of these patches ?? > > > The patch is queued for 4.8-rc2. > As you can se

RE: [PATCH][RESEND] thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

2016-08-09 Thread Zhang, Rui
> -Original Message- > From: Kuninori Morimoto [mailto:kuninori.morimoto...@renesas.com] > Sent: Wednesday, August 10, 2016 10:10 AM > To: Kuninori Morimoto > Cc: Zhang, Rui ; edubez...@gmail.com; Geert > Uytterhoeven ; linux-kernel@vger.kernel.org; linux- > renesas-...@vger.kernel.org;

Re: [PATCH] mm: optimize find_zone_movable_pfns_for_nodes to avoid unnecessary loop.

2016-08-09 Thread zhong jiang
On 2016/8/10 7:29, Andrew Morton wrote: > On Fri, 5 Aug 2016 22:04:07 +0800 zhongjiang wrote: > >> when required_kernelcore decrease to zero, we should exit the loop in time. >> because It will waste time to scan the remainder node. > The patch is rather ugly and it only affects __init code, so th

[PATCH v4] arm64: mm: convert __dma_* routines to use start, size

2016-08-09 Thread Kwangwoo Lee
__dma_* routines have been converted to use start and size instread of start and end addresses. The patch was origianlly for adding __clean_dcache_area_poc() which will be used in pmem driver to clean dcache to the PoC(Point of Coherency) in arch_wb_cache_pmem(). The functionality of __clean_dcach

Re: [PATCH] usb: core: Add runtime resume checking

2016-08-09 Thread Baolin Wang
Hi Greg, On 9 August 2016 at 18:26, Greg KH wrote: > On Tue, Aug 09, 2016 at 05:33:33PM +0800, Baolin Wang wrote: >> When the usb device has entered suspend state by runtime suspend method, and >> the sustem also try to enter suspend state by issuing usb_dev_suspend(), it >> will issue pm_runtime

RE: [PATCH v3] arm64: mm: convert __dma_* routines to use start, size

2016-08-09 Thread kwangwoo....@sk.com
Hi Robin, > -Original Message- > From: Robin Murphy [mailto:robin.mur...@arm.com] > Sent: Tuesday, August 09, 2016 8:51 PM > To: 이광우(LEE KWANGWOO) MS SW; Russell King - ARM Linux; Catalin Marinas; Will > Deacon; Mark Rutland; > linux-arm-ker...@lists.infradead.org > Cc: 정우석(CHUNG WOO SUK)

Re: [PATCH v5 03/14] arm64/numa: add nid check for memory block

2016-08-09 Thread Hanjun Guo
On 2016/8/8 17:18, Zhen Lei wrote: > Use the same tactic to cpu and numa-distance nodes. > > Signed-off-by: Zhen Lei > --- > arch/arm64/mm/numa.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/arch/arm64/mm/numa.c b/arch/arm64/mm/numa.c > index c7fe3ec..2601660 100644 > --- a/arch/

Re: [PATCH][RESEND] thermal: hwmon: EXPORT_SYMBOL_GPL for thermal hwmon sysfs

2016-08-09 Thread Kuninori Morimoto
Hi Linux-PM, Linux-Kernel ML I posted thermal driver patch 2month ago, but no response and nothing happen. I'm following scripts/get_maintainer.pl, but am I wrong ?? Who is the maintainer of these patches ?? > Hi Zhang > > ping ?? > > > These are resend patches for rcar-thermal hwmon. > > > >

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

2016-08-09 Thread Hanjun Guo
Hi Zhen, On 2016/8/8 17:18, Zhen Lei wrote: > v4 -> v5: > This version has no code changes, just add "Acked-by: Rob Herring > " > into patches 1, 2, 4, 6, 7, 13, 14. Because these patches rely on some acpi > numa > patches, and the latter had not been upstreamed in 4.7, but upstreamed in > 4.8-

Re: [PATCH] rcu: Fix soft lockup for rcu_nocb_kthread

2016-08-09 Thread Paul E. McKenney
On Wed, Aug 10, 2016 at 09:13:14AM +0800, Ding Tianhong wrote: > On 2016/6/16 22:19, Paul E. McKenney wrote: > > On Thu, Jun 16, 2016 at 02:09:47PM +0800, Ding Tianhong wrote: > >> On 2016/6/15 23:49, Paul E. McKenney wrote: > >>> On Wed, Jun 15, 2016 at 03:27:36PM +0800, Ding Tianhong wrote: > >>>

Re: c6x linker issue on linux-next-20160808 + some linker table work

2016-08-09 Thread Mark Salter
On Tue, 2016-08-09 at 20:40 +0200, Luis R. Rodriguez wrote: > On Tue, Aug 09, 2016 at 01:04:00PM -0400, Mark Salter wrote: > > > > On Tue, 2016-08-09 at 06:37 -0700, Guenter Roeck wrote: > > > > > > On 08/09/2016 01:11 AM, Luis R. Rodriguez wrote: > > > > > > > > > > > > Mark, Aurelien, > > > >

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

2016-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It is useful to know the reason why cpufreq_update_util() has just been called and that can be passed as flags to cpufreq_update_util() and to the ->func() callback in struct update_util_data. However, doing that in addition to passing the util and max arguments they alre

Re: [PATCH] i2c: uniphier{-f}: don't print error when adding adapter fails

2016-08-09 Thread Guenter Roeck
On Tue, Aug 09, 2016 at 10:11:40PM +0200, Wolfram Sang wrote: > The core will do this for us now. > > Signed-off-by: Wolfram Sang Acked-by: Guenter Roeck > --- > drivers/i2c/busses/i2c-uniphier-f.c | 5 - > drivers/i2c/busses/i2c-uniphier.c | 5 - > 2 files changed, 10 deletions(-)

Re: [copyleft-next] Re: Kernel modules under new copyleft licence : (was Re: [PATCH v2] module.h: add copyleft-next >= 0.3.1 as GPL compatible)

2016-08-09 Thread Luis R. Rodriguez
On Tue, Aug 09, 2016 at 10:14:48PM +0200, Luis R. Rodriguez wrote: > On Tue, Aug 09, 2016 at 09:04:35PM +0100, Alan Cox wrote: > > > > (Going back to pick up the specific licence thread) > > > > > > > > > > I'd like to see Richard do so as well. > > > With Richard that's 3 attorneys now. > > > >

[PATCHv5] arm64: Handle el1 synchronous instruction aborts cleanly

2016-08-09 Thread Laura Abbott
Executing from a non-executable area gives an ugly message: lkdtm: Performing direct entry EXEC_RODATA lkdtm: attempting ok execution at 084c0e08 lkdtm: attempting bad execution at 08880700 Bad mode in Synchronous Abort handler detected on CPU2, code 0x840e -- IABT (current E

Re: [PATCH 4.6 00/96] 4.6.6-stable review

2016-08-09 Thread Guenter Roeck
On Tue, Aug 09, 2016 at 07:22:21PM +0200, Greg Kroah-Hartman wrote: > > Can you push it into the -rc repository ? I see the patch in the queue, > > but not in the repository. > > Sorry about that, now regenerated. > All but the unicore32 build problems are now fixed. Guenter

Making pdfdocs with sphinx - only select rst targets

2016-08-09 Thread Luis R. Rodriguez
I'm excited to see the new documentation format, so I'm changing my documentation in the pending patches I have to use it. I however cannot generate anything other than the main Documentation/output/pdf/Kernel.pdf How can I see in PDF the other documentation? I'm using: make DOCBOOKS="" pdfdocs

[PATCH] arm64: KVM: Save two instructions in __guest_enter()

2016-08-09 Thread Shanker Donthineni
We are doing an unnecessary stack push/pop operation when restoring the guest registers x0-x18 in __guest_enter(). This patch saves the two instructions by using x18 as a base register. No need to store the vcpu context pointer in stack because it is redundant and not being used anywhere, the same

Re: [PATCH] rcu: Fix soft lockup for rcu_nocb_kthread

2016-08-09 Thread Ding Tianhong
On 2016/6/16 22:19, Paul E. McKenney wrote: > On Thu, Jun 16, 2016 at 02:09:47PM +0800, Ding Tianhong wrote: >> On 2016/6/15 23:49, Paul E. McKenney wrote: >>> On Wed, Jun 15, 2016 at 03:27:36PM +0800, Ding Tianhong wrote: I met this problem when using the Testgine to send package to ixgbevf n

Re: [PATCHv4] arm64: Handle el1 synchronous instruction aborts cleanly

2016-08-09 Thread Laura Abbott
On 08/09/2016 06:24 AM, Will Deacon wrote: On Mon, Aug 08, 2016 at 05:35:34PM -0700, Laura Abbott wrote: Executing from a non-executable area gives an ugly message: lkdtm: Performing direct entry EXEC_RODATA lkdtm: attempting ok execution at 084c0e08 lkdtm: attempting bad execution at f

Re: [PATCH] ARM: dts: add rk3288-firefly-reload

2016-08-09 Thread Randy Li
On 08/09/2016 06:58 PM, Heiko Stübner wrote: Am Dienstag, 9. August 2016, 18:06:33 schrieb Randy Li: 從我的 iPad 傳送 陈豪 於 2016年8月9日 下午6:02 寫道: well,it has already been added The root cause is not act8846. Firefly have a bug with sdmmc and it seems they didn't fix it in firefly-reload. ht

Re: [PATCH v1] firmware_class: encapsulate firmware loading status

2016-08-09 Thread Luis R. Rodriguez
On Thu, Aug 04, 2016 at 02:27:16PM +0200, Daniel Wagner wrote: > From: Daniel Wagner > > The firmware user helper code tracks the current state of the loading > process via an member of struct firmware_buf and a completion. Let's > encapsulate this simple state machine into struct fw_status. The

[PATCH 0/2] cpufreq / sched: Rework of cpufreq_update_util() arguments

2016-08-09 Thread Rafael J. Wysocki
Hi, There were some comments on the "cpufreq / sched: cpufreq_update_util() flags and iowait boosting" series I sent some time ago and I wanted to address them, but for this purpose I had to combine patches [1-2,4/7] from that series into one and make some changes on top of that. Then I thought i

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

2016-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki It is useful to know the reason why cpufreq_update_util() has just been called and that can be passed as flags to cpufreq_update_util() and to the ->func() callback in struct update_util_data. However, doing that in addition to passing the util and max arguments they alre

[PATCH 2/2] cpufreq / sched: Check cpu_of(rq) in cpufreq_update_util()

2016-08-09 Thread Rafael J. Wysocki
From: Rafael J. Wysocki All of the callers of cpufreq_update_util() check whether or not cpu_of(rq) is equal to smp_processor_id() before calling it and pass rq_clock(rq) to it as the time argument, so rework it to take a runqueue pointer as the argument and move the cpu_of(rq) check and the rq_c

[PATCH v5 2/2] Add support for SCT Write Same

2016-08-09 Thread Shaun Tancheff
SATA drives may support write same via SCT. This is useful for setting the drive contents to a specific pattern (0's). Translate a SCSI WRITE SAME command to be either a DSM TRIM command or an SCT Write Same command. Based on the UNMAP flag: - When set translate to DSM TRIM - When not set tra

[PATCH v5 1/2] Use kmap_atomic when rewriting attached page

2016-08-09 Thread Shaun Tancheff
The current SATL for WRITE_SAME does not protect against misaligned pages. Additionally the associated page should also kmap'd when being modified. Signed-off-by: Shaun Tancheff --- v5: Added prep patch to work with non-page aligned scatterlist pages and use kmap_atomic() to lock page durin

[PATCH v5 0/2] Add support for SCT Write Same

2016-08-09 Thread Shaun Tancheff
At some point the method of issuing Write Same for ATA drives changed. Currently write same is commonly available via SCT so expose the SCT capabilities and use SCT Write Same when it is available. This is useful for zoned based media that prefers to support discard with lbprz set, aka discard zer

Re: [PATCH v2 3/3] powerpc: Convert fsl_rstcr_restart to a reset handler

2016-08-09 Thread Nicholas Piggin
On Tue, 9 Aug 2016 11:47:37 -0700 Andrey Smirnov wrote: > On Sun, Jul 31, 2016 at 9:03 PM, Nicholas Piggin wrote: > > On Thu, 28 Jul 2016 16:07:18 -0700 > > Andrey Smirnov wrote: > > > >> Convert fsl_rstcr_restart into a function to be registered with > >> register_reset_handler(). > >> > >>

[PATCH] mm, hugetlb: switch hugetlbfs to multi-order radix-tree entries

2016-08-09 Thread Naoya Horiguchi
Hi Kirill, I wrote a patch to switch hugetlbfs to multi-order radix tree. Hopefully it's queued to your series. Thanks, Naoya Horiguchi --- From: Naoya Horiguchi Date: Wed, 10 Aug 2016 09:49:09 +0900 Subject: [PATCH] mm, hugetlb: switch hugetlbfs to multi-order radix-tree entries Currently, hu

Re: [PATCH] i2c: uniphier{-f}: don't print error when adding adapter fails

2016-08-09 Thread Masahiro Yamada
2016-08-10 5:11 GMT+09:00 Wolfram Sang : > The core will do this for us now. > > Signed-off-by: Wolfram Sang > --- > drivers/i2c/busses/i2c-uniphier-f.c | 5 - > drivers/i2c/busses/i2c-uniphier.c | 5 - > 2 files changed, 10 deletions(-) > > diff --git a/drivers/i2c/busses/i2c-uniphier-

Re: [PATCH v2 1/3] powerpc: Factor out common code in setup-common.c

2016-08-09 Thread Nicholas Piggin
On Tue, 9 Aug 2016 09:30:54 -0700 Andrey Smirnov wrote: > On Sun, Jul 31, 2016 at 8:40 PM, Nicholas Piggin wrote: > > On Thu, 28 Jul 2016 16:07:16 -0700 > > Andrey Smirnov wrote: > > > >> Factor out a small bit of common code in machine_restart(), > >> machine_power_off() and machine_halt().

[PATCH] soc: qcom: smd: Request irqs after parsing properties

2016-08-09 Thread Bjorn Andersson
The code exectued by the interrupt handler depends on the values parsed after requesting the irq, just to be save we should therefor move the request_irq() call to be done after parsing the properties. Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd.c | 32 ---

[PATCH] soc: qcom: smd: Simplify multi channel handling

2016-08-09 Thread Bjorn Andersson
Multi-channel clients split between several drivers need a way to close individual channels, as these drivers might be removed individually. With this in place the responsibility of closing additionally opened channels to the client as well only concerning smd about the primary channel. With this

Re: [v10 PATCH 0/5] Rockchip Type-C and DisplayPort driver

2016-08-09 Thread Chanwoo Choi
Hi Chris, On 2016년 08월 10일 08:32, Chris Zhong wrote: > 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 >

[PATCH] soc: qcom: smd: Correct compile stub prototypes

2016-08-09 Thread Bjorn Andersson
The prototypes for the compile stubs was not properly marked as static inline, this patch corrects this. Fixes: f79a917e69e1 ("Merge tag 'qcom-soc-for-4.7-2' into net-next") Signed-off-by: Bjorn Andersson --- include/linux/soc/qcom/smd.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)

Re: [PACTH v1] mm, proc: Implement /proc//totmaps

2016-08-09 Thread Sonny Rao
On Tue, Aug 9, 2016 at 12:16 PM, Konstantin Khlebnikov wrote: > > On Tue, Aug 9, 2016 at 7:05 PM, wrote: > > From: Sonny Rao > > > > This is based on earlier work by Thiago Goncales. It implements a new > > per process proc file which summarizes the contents of the smaps file > > but doesn't di

Re: [RFCv2][PATCH 2/5] arm: Implement ARCH_HAS_FORCE_CACHE

2016-08-09 Thread Florian Fainelli
On 08/09/2016 05:13 PM, Laura Abbott wrote: > On 08/09/2016 02:56 PM, Florian Fainelli wrote: >> On 08/08/2016 10:49 AM, Laura Abbott wrote: >>> arm may need the kernel_force_cache APIs to guarantee data consistency. >>> Implement versions of these APIs based on the DMA APIs. >>> >>> Signed-off-by:

Re: [PATCH v5 5/6] usb: chipidea: let chipidea core device of_node equal's glue layer device of_node

2016-08-09 Thread Stephen Boyd
Quoting Peter Chen (2016-08-08 01:52:10) > From: Peter Chen > > At device tree, we have no device node for chipidea core, > the glue layer's node is the parent node for host and udc > device. But in related driver, the parent device is chipidea > core. So, in order to let the common driver get pa

Re: [Resend][PATCH] x86/power/64: Always create temporary identity mapping correctly

2016-08-09 Thread Rafael J. Wysocki
On Tuesday, August 09, 2016 11:23:31 PM Rafael J. Wysocki wrote: > On Tue, Aug 9, 2016 at 10:02 PM, Jiri Kosina wrote: > > On Tue, 9 Aug 2016, Rafael J. Wysocki wrote: > > > >> I have a murky suspicion, but it is really weird. Namely, what if > >> restore_jump_address in set_up_temporary_text_map

Re: [PATCH] mm: fix the incorrect hugepages count

2016-08-09 Thread Naoya Horiguchi
On Tue, Aug 09, 2016 at 06:32:39PM +0800, zhong jiang wrote: > On 2016/8/9 1:14, Mike Kravetz wrote: > > On 08/07/2016 07:49 PM, zhongjiang wrote: > >> From: zhong jiang > >> > >> when memory hotplug enable, free hugepages will be freed if movable node > >> offline. > >> therefore, /proc/sys/vm/n

Re: [RFCv2][PATCH 2/5] arm: Implement ARCH_HAS_FORCE_CACHE

2016-08-09 Thread Laura Abbott
On 08/09/2016 02:56 PM, Florian Fainelli wrote: On 08/08/2016 10:49 AM, Laura Abbott wrote: arm may need the kernel_force_cache APIs to guarantee data consistency. Implement versions of these APIs based on the DMA APIs. Signed-off-by: Laura Abbott --- arch/arm/include/asm/cacheflush.h | 4 +

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-08-09 Thread Benjamin Herrenschmidt
On Tue, 2016-08-09 at 11:12 -0700, Alexander Duyck wrote: > > The PCI spec is what essentially assumes that there is only one block. > If I am not mistaken in the case of this device the second block here > actually contains device configuration data, not actual VPD data.  The > issue here is that

Re: spin_lock implicit/explicit memory barrier

2016-08-09 Thread Benjamin Herrenschmidt
On Tue, 2016-08-09 at 20:52 +0200, Manfred Spraul wrote: > Hi Benjamin, Hi Michael, > > regarding commit 51d7d5205d33 ("powerpc: Add smp_mb() to  > arch_spin_is_locked()"): > > For the ipc/sem code, I would like to replace the spin_is_locked() with  > a smp_load_acquire(), see: > > http://git.cm

Re: [PATCHv2 3/4] pci: Determine actual VPD size on first access

2016-08-09 Thread Benjamin Herrenschmidt
> On Tue, 2016-08-09 at 22:54 +1000, Alexey Kardashevskiy wrote: > The cxgb3 driver is reading the second bit starting from 0xc00 but since > the size is wrongly detected as 0x7c, VFIO blocks access beyond it and the > guest driver fails to probe. > > I also cannot find a clause in the PCI 3.0 spe

Re: [PATCH v2 1/1] Add nvd9128 as a simple panel

2016-08-09 Thread Rob Herring
On Fri, Aug 05, 2016 at 11:47:54AM +0200, Fabien Lahoudere wrote: > Add New Vision Display 7.0" 800 RGB x 480 TFT LCD panel > > Signed-off-by: Fabien Lahoudere > --- > .../devicetree/bindings/display/panel/nvd,9128.txt | 7 ++ > .../devicetree/bindings/vendor-prefixes.txt| 1 + > d

Re: [PATCH] sched: Avoid that __wait_on_bit_lock() hangs

2016-08-09 Thread Bart Van Assche
On 08/08/2016 09:20 AM, Oleg Nesterov wrote: > So far _I think_ that the bug is somewhere else... Say, someone clears > PG_locked without wake_up(). Then SIGKILL sent to the task sleeping in > sys_read() "adds" the necessary wakeup... Hello Oleg, Something that puzzles me is that removing the "el

[PATCH] proc: Fix timerslack_ns CAP_SYS_NICE check when adjusting self

2016-08-09 Thread John Stultz
In changing from checking ptrace_may_access(p, PTRACE_MODE_ATTACH_FSCREDS) to capable(CAP_SYS_NICE), I missed that ptrace_my_access succeeds when p == current, but the CAP_SYS_NICE doesn't. Thus while the previous commit was intended to loosen the needed privledges to modify a processes timerslack

Re: [PATCH v2] locking/percpu-rwsem: Optimize readers and reduce global impact

2016-08-09 Thread John Stultz
On Tue, Aug 9, 2016 at 2:51 AM, Peter Zijlstra wrote: > > Currently the percpu-rwsem switches to (global) atomic ops while a > writer is waiting; which could be quite a while and slows down > releasing the readers. > > This patch cures this problem by ordering the reader-state vs > reader-count (s

Re: [PATCH 1/5] sched,time: Count actually elapsed irq & softirq time

2016-08-09 Thread Wanpeng Li
2016-08-10 7:25 GMT+08:00 Wanpeng Li : > 2016-08-09 22:06 GMT+08:00 Rik van Riel : >> On Tue, 2016-08-09 at 11:59 +0800, Wanpeng Li wrote: >>> Hi Rik, >>> 2016-07-13 22:50 GMT+08:00 Frederic Weisbecker : >>> > From: Rik van Riel >>> > >>> > Currently, if there was any irq or softirq time during 't

  1   2   3   4   5   6   7   8   9   10   >