[PATCH] arch:arm:mm:Aligning the module end and Correction in

2015-11-16 Thread Shailendra Verma
From: Shailendra Verma The module end was not aligned as of module start and boundary check for module end is not proper.This out of bound value of module end can produce undesired results. Reported-by: Hillf Danton Signed-off-by: Shailendra Verma Reviewed-by: Ravikant Bijendra Sharma ---

[PATCH] arch:arm:mm:Aligning the module end address.

2015-11-16 Thread Shailendra Verma
From: Shailendra Verma The module end was not aligned as of module start, so aligning end also. Signed-off-by: Shailendra Verma Reviewed-by: Ravikant Bijendra Sharma --- linux-4.3-rc6/arch/arm64/mm/pageattr.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH] phy: phy-mt65xx-usb3: fix test fail of HS receiver sensitivity

2015-11-16 Thread chunfeng yun
Hi, On Mon, 2015-11-16 at 22:16 -0800, Greg KH wrote: > On Tue, Nov 17, 2015 at 02:02:58PM +0800, Chunfeng Yun wrote: > > when use the default value 8 of RG_USB20_SQTH, the HS receiver > > sensitivity test of HQA will fail, set it as 2 to fix up the > > issue. > > > > Change-Id:

Re: [PATCH] dmaengine: bcm2835-dma: Convert to use DMA pool

2015-11-16 Thread Peter Ujfalusi
Hi, On 11/16/2015 01:09 PM, Peter Ujfalusi wrote: > f93178291712 dmaengine: bcm2835-dma: Fix memory leak when stopping a >running transfer > > Fixed the memleak, but introduced another issue: the terminate_all callback > might be called with interrupts disabled and the

Re: [PATCH V4] mm: fix kernel crash in khugepaged thread

2015-11-16 Thread Vlastimil Babka
On 17.11.2015 4:58, yalin wang wrote: > >> On Nov 17, 2015, at 10:43, Steven Rostedt wrote: >> >> On Tue, 17 Nov 2015 10:21:47 +0800 >> yalin wang wrote: >> >> >> >> Because the print_fmt has nothing to do with the fields. You can have >> as your print_fmt as: >> >> TP_printk("Message =

Re: [PATCH 1/2 (v2)] leds-bcm6328: Reuse bcm6328_led_set() instead of copying its functionality

2015-11-16 Thread Simon Arlott
On 16/11/15 21:33, Álvaro Fernández Rojas wrote: > Still wrong, you are setting the led value after unlocking the spinlock. I have to unlock it because bcm6328_led_set() locks that spinlock. > El 16/11/2015 a las 21:24, Simon Arlott escribió: >> When ensuring a consistent initial LED state in

Re: [PATCH] brcmnand: Clear EXT_ADDR error registers in PIO mode

2015-11-16 Thread Simon Arlott
On 17/11/15 00:40, Brian Norris wrote: > + bcm-kernel-feedback-list > > On Mon, Nov 16, 2015 at 10:05:39PM +, Simon Arlott wrote: >> If an error occurs in flash above 4GB in PIO mode then the EXT_ADDR >> registers will be set to the location of the error and never cleared. >> >> Reset them

Re: [PATCH] sound/soc/davinci: fix error case in mcasp_set_ctl_reg

2015-11-16 Thread Peter Ujfalusi
On 11/16/2015 07:40 PM, Pavel Machek wrote: > > This fixes typo in comment and fixes mcasp_set_ctl_reg to actually > printk on error as author wanted, and cleans it up. Yes, i will end up > being 1001 in the old code. Yeah, the original code had the additional GBLCTL register check after the

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-16 Thread Minchan Kim
On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > On Mon, Nov 16, 2015 at 10:45:22AM +0200, Kirill A. Shutemov wrote: > > > On Mon, Nov 16, 2015 at 10:45:21AM +0900, Minchan Kim wrote: > > > > During the test with

[PATCH 2/2] security/capability.h: cap_issubset/isclear can be boolean

2015-11-16 Thread Yaowei Bai
This patch makes cap_issubset/isclear return bool due to these functions only using either one or zero as their return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/capability.h | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git

[PATCH 1/2] security: remove unused cap_is_fs_cap function

2015-11-16 Thread Yaowei Bai
Since commit 3bc1fa8a ("LSM: remove BSD secure level security module") there is no user of cap_is_fs_cap any more, so remove it. Signed-off-by: Yaowei Bai --- include/linux/capability.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/include/linux/capability.h

[PATCH] SCSI-aic94xx: Delete unnecessary checks before the function call "kmem_cache_destroy"

2015-11-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 17 Nov 2015 08:14:52 +0100 The kmem_cache_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring

Re: [PATCH V1 10/10] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2015-11-16 Thread Huang Shijie
On Sat, Oct 24, 2015 at 03:58:17PM +0200, Tomasz Nowicki wrote: Hi Tomasz, > > Indeed, I will rebase after some more comments related to other patches in > this series. > Do you have any update about this patch set? I want to test this patch set, but I met the fail when I git-am this patch set

RE: [PATCH v2] alarmtimer: fix unexpected rtc interrupt when system resume from S3

2015-11-16 Thread Lee, Zhuo-hao
>> (1). alarmtimer create a rtc wake up timer however alarmtimer won't >> remove that timer if the system wake up earlier >That's hardly a bug. That's a slight incorrectness which needs to be fixed. I think this timer is useless after system resume. For the correctness, I think it should be

[PATCH 2/2] fs/ceph: ceph_frag_contains_value can be boolean

2015-11-16 Thread Yaowei Bai
This patch makes ceph_frag_contains_value return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- include/linux/ceph/ceph_frag.h | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/2] fs/ceph: remove unused functions in ceph_frag.h

2015-11-16 Thread Yaowei Bai
These functions were introduced in commit 3d14c5d2b ("ceph: factor out libceph from Ceph file system"). Howover, there's no user of these functions since then, so remove them for simplicity. Signed-off-by: Yaowei Bai --- include/linux/ceph/ceph_frag.h | 35 --- 1

Re: [PATCH, resend] scsi: advansys: fix big-endian builds

2015-11-16 Thread Hannes Reinecke
On 11/16/2015 05:49 PM, Arnd Bergmann wrote: > Building the advansys driver in a big-endian configuration such as > ARM allmodconfig shows a warning: > > drivers/scsi/advansys.c: In function 'adv_build_req': > include/uapi/linux/byteorder/big_endian.h:32:26: warning: large integer > implicitly

[PATCH v4 02/12] x86: fixmap: add permanent fixmap for xhci debug port

2015-11-16 Thread Lu Baolu
xHCI compatible USB3 host controller may provide debug capability which enables low-level system debug over USB. In order to probing this debug capability, Linux kernel needs to map and access the mmio of the host controller during early boot. This patch adds permenent fixmap pages in

[PATCH v4 03/12] usb: xhci: dbc: probe and setup xhci debug capability

2015-11-16 Thread Lu Baolu
xHCI debug capability (DbC) is an optional functionality provided by an xHCI host controller. Software learns this capability by walking through the extended capability list in mmio of the host. This patch introduces the code to probe and initialize the debug capability hardware during early

[PATCH v4 01/12] usb: xhci: add sysfs file for xHCI debug port

2015-11-16 Thread Lu Baolu
This patch adds a sysfs file for users to check 1) whether the debug capability is implemented by hardware; 2) if supported, which state does it stay at. With a host that supports debug port, a file named "debug_port_state" will be created under the device sysfs directory. Reading this file will

[PATCH v4 00/12] usb: early: add support for early printk through USB3 debug port

2015-11-16 Thread Lu Baolu
Hi, This patch series adds support for early printk through USB3 debug port. USB3 debug port is described in xHCI specification as an optional extended capability. The first patch adds a file in sysfs, through which users can check whether the debug capability is supported by a specific host

[PATCH v4 04/12] usb: xhci: dbc: add support for Intel xHCI dbc quirk

2015-11-16 Thread Lu Baolu
On Intel platforms, if the debug target is connected with debug host, enabling DCE bit in command register leads to a port hung state. In the hung state, the host system will not see a port connected status bit set. Hence debug target fails to be probed. The state could be resolved by performing

[PATCH v4 06/12] usb: xhci: dbc: add bulk out and bulk in interfaces

2015-11-16 Thread Lu Baolu
This patch adds interfaces for bulk out and bulk in ops. These interfaces could be used to implement early printk bootconsole or hook to various system debuggers. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 373 +++

[PATCH v4 07/12] usb: xhci: dbc: handle dbc-configured exit

2015-11-16 Thread Lu Baolu
DbC might exit configured state in some cases (refer to 7.6.4.4 in xHCI spec 1.1). Software needs detect and clear this situation by clearing DCCTRL.DCR and wait until the DbC configured before read or write oprations. Signed-off-by: Lu Baolu --- drivers/usb/early/xhci-dbc.c | 28

[PATCH v4 08/12] usb: xhci: dbc: handle endpoint stall

2015-11-16 Thread Lu Baolu
In case of endpoint stall, software is able to detect the situation by reading DCCTRL.HIT or DCCTRL.HOT bits. DbC follows the normal USB framework to handle endpoint stall. When software detects endpoint stall situation, it should wait until endpoint is recovered before read or write oprations.

[PATCH v4 10/12] usb: xhci: dbc: add handshake between debug target and host

2015-11-16 Thread Lu Baolu
After DbC setup, debug target needs to wait until tty driver and application (e.g. mincom) on debug taget start. Otherwise, out messages might be ignored. This patch adds a ping/pong mechanism between debug target and host. Debug target will be waiting there until user presses 'Y' or 'y' in the

[PATCH 3/5] fs/dcache.c: is_subdir can be boolean

2015-11-16 Thread Yaowei Bai
This patch makes is_subdir return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- fs/dcache.c| 14 +++--- include/linux/fs.h | 2 +- 2 files changed, 8

[PATCH 1/5] fs/block_dev.c: make sb_is_blkdev_sb return bool when CONFIG_BLOCK undefined

2015-11-16 Thread Yaowei Bai
Currently when CONFIG_BLOCK is defined sb_is_blkdev_sb returns bool, while when CONFIG_BLOCK is not defined it returns int. Let's keep consistent to make sb_is_blkdev_sb return bool as well when CONFIG_BLOCK isn't defined. No functional change. Signed-off-by: Yaowei Bai --- include/linux/fs.h

[PATCH v4 11/12] usb: serial: usb_debug: add support for dbc debug device

2015-11-16 Thread Lu Baolu
This patch add dbc debug device support in usb_debug driver. Signed-off-by: Lu Baolu Acked-by: Johan Hovold --- drivers/usb/serial/usb_debug.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/drivers/usb/serial/usb_debug.c

[PATCH 2/5] fs/namespace.c: path_is_under can be boolean

2015-11-16 Thread Yaowei Bai
This patch makes path_is_under return bool to improve readability due to this particular function only using either one or zero as its return value. No functional change. Signed-off-by: Yaowei Bai --- fs/namespace.c | 4 ++-- include/linux/fs.h | 2 +- 2 files changed, 3 insertions(+), 3

[PATCH v4 05/12] usb: xhci: dbc: add debug buffer

2015-11-16 Thread Lu Baolu
"printk" is not suitable for dbc debugging especially when console is in usage. This patch adds a debug buffer in dbc driver and puts the debug messages in this local buffer. The debug buffer could be dumped whenever the console is not in use. This part of code will not be visible unless DBC_DEBUG

[PATCH v4 12/12] usb: doc: add document for xHCI DbC driver

2015-11-16 Thread Lu Baolu
Add Documentation/usb/xhci-dbc.txt. This document includes development status and user guide for USB3 debug port. Signed-off-by: Lu Baolu --- Documentation/usb/xhci-dbc.txt | 325 + MAINTAINERS| 1 + drivers/usb/early/xhci-dbc.c |

[PATCH v4 09/12] x86: early_printk: add USB3 debug port earlyprintk support

2015-11-16 Thread Lu Baolu
Add support for early printk by writing debug messages to the USB3 debug port. Users can use this type of early printk by specifying kernel parameter of "earlyprintk=xdbc". This gives users a chance of providing debug output. Signed-off-by: Lu Baolu --- Documentation/kernel-parameters.txt | 1

Re: Hit regression with TCP_TW REUSE/RECYCLE

2015-11-16 Thread Ethan Zhao
Tested the same case with 4.4-RC1, it was fixed in 4.4-RC1. But don't know which commit fixed it. # echo 1024 65535 > /proc/sys/net/ipv4/ip_local_port_range # cat /proc/sys/net/ipv4/ip_local_port_range 102465535 # echo 1 > /proc/sys/net/ipv4/tcp_tw_reuse # cat

Re: [PATCH v3 1/5] spi: introduce mmap read support for spi flash devices

2015-11-16 Thread Vignesh R
Hi Brian, On 11/13/2015 09:35 PM, Cyrille Pitchen wrote: [...] > > In September I've sent a series of patches to enhance the support of QSPI > flash > memories. Patch 4 was dedicated to the m25p80 driver and set the > rx_nbits / tx_nbits fields of spi_transfer struct(s) in order to configure

Re: [PATCH net-next RFC V3 0/3] basic busy polling support for vhost_net

2015-11-16 Thread Jason Wang
On 11/13/2015 05:20 PM, Jason Wang wrote: > > On 11/12/2015 08:02 PM, Felipe Franciosi wrote: >> Hi Jason, >> >> I understand your busy loop timeout is quite conservative at 50us. Did you >> try any other values? > I've also tried 20us. And results shows 50us was better in: > > - very small

Re: [PATCH v6 9/9] drivers: soc: Add support for Exynos PMU driver

2015-11-16 Thread Krzysztof Kozlowski
On 17.11.2015 15:05, Pankaj Dubey wrote: > This patch moves Exynos PMU driver implementation from "arm/mach-exynos" > to "drivers/soc/samsung". This driver is mainly used for setting misc > bits of register from PMU IP of Exynos SoC which will be required to > configure before Suspend/Resume.

Re: [PATCHv2 2/3] staging: ion: Add files for parsing the devicetree

2015-11-16 Thread Dan Carpenter
On Mon, Nov 16, 2015 at 04:57:34PM -0800, Laura Abbott wrote: > + for_each_available_child_of_node(dt_node, node) { > + struct platform_device *heap_pdev; > + > + ret = ion_parse_dt_heap_common(node, [i], compatible); > + if (ret) > +

Re: [PATCH v5 02/11] phy: exynos-ufs: add UFS PHY driver for EXYNOS SoC

2015-11-16 Thread Kishon Vijay Abraham I
Hi, On Monday 09 November 2015 10:56 AM, Alim Akhtar wrote: > From: Seungwon Jeon > > This patch introduces Exynos UFS PHY driver. This driver > supports to deal with phy calibration and power control > according to UFS host driver's behavior. > > Signed-off-by: Seungwon Jeon > Signed-off-by:

Re: [PATCH] phy: phy-mt65xx-usb3: fix test fail of HS receiver sensitivity

2015-11-16 Thread Greg KH
On Tue, Nov 17, 2015 at 02:02:58PM +0800, Chunfeng Yun wrote: > when use the default value 8 of RG_USB20_SQTH, the HS receiver > sensitivity test of HQA will fail, set it as 2 to fix up the > issue. > > Change-Id: Ia5bdbbfc8ebb170d3ef26007e665b7350b6d28ab What is this field for? Hint, it should

[PATCH v6 9/9] drivers: soc: Add support for Exynos PMU driver

2015-11-16 Thread Pankaj Dubey
This patch moves Exynos PMU driver implementation from "arm/mach-exynos" to "drivers/soc/samsung". This driver is mainly used for setting misc bits of register from PMU IP of Exynos SoC which will be required to configure before Suspend/Resume. Currently all these settings are done in

[PATCH v6 8/9] ARM: EXYNOS: rearrange static and non-static functions of PMU driver

2015-11-16 Thread Pankaj Dubey
This patch moves exynos_sys_powerdown_conf function above all static functions, to avoid confusion causing due to mixing of static-nonstatic-static functions and to improve readability of this driver. Signed-off-by: Pankaj Dubey Suggested-by: Krzysztof Kozlowski Reviewed-by: Krzysztof Kozlowski

[PATCH v6 7/9] ARM: EXYNOS: split up exynos5420 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5420, PMU configuration data and functions handing data into exynos5420 SoC specific PMU file mach-exynos/exynos5420-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 2

[PATCH v6 6/9] ARM: EXYNOS: split up exynos5250 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos5250, PMU configuration data and functions handing data into exynos5250 SoC specific PMU file mach-exynos/exynos5250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile | 4

Re: [PATCH 1/7] phy: brcmstb-sata: add missing of_node_put

2015-11-16 Thread Julia Lawall
On Mon, 16 Nov 2015, Brian Norris wrote: > On Mon, Nov 16, 2015 at 12:33:14PM +0100, Julia Lawall wrote: > > for_each_available_child_of_node performs an of_node_get on each iteration, > > so a return from the middle of the loop requires an of_node_put. > > > > A simplified version of the

[PATCH v6 5/9] ARM: EXYNOS: split up exynos4 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos4210, exynos4412 and exynos4212 PMU configuration data and functions handing data into a common exynos4 SoC specific PMU file mach-exynos/exynos4-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski ---

[PATCH v6 4/9] ARM: EXYNOS: split up exynos3250 SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
This patch splits up mach-exynos/pmu.c file, and moves exynos3250 PMU configuration data and functions handing those data into exynos3250 SoC specific PMU file mach-exynos/exynos3250-pmu.c. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/Makefile |

Re: [PATCH v6 0/9] samsung: pmu: split up SoC specific PMU data

2015-11-16 Thread Krzysztof Kozlowski
On 17.11.2015 15:05, Pankaj Dubey wrote: > In this series I am splitting up SoC specific PMU configuration data into > mach-exynos folder itself, before moving all of them under > drivers/soc/samsung/. Also instead of making all changes in single patch it > has been broken into SoC specific

[PATCH v6 3/9] ARM: EXYNOS: Move pmu specific headers under "linux/soc/samsung"

2015-11-16 Thread Pankaj Dubey
Moving Exynos PMU specific header file into "include/linux/soc/samsung" thus updated affected files under "mach-exynos" to use new location of these header files. Signed-off-by: Amit Daniel Kachhap Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski --- arch/arm/mach-exynos/exynos.c

[PATCH v6 2/9] ARM: EXYNOS: Fix potential NULL pointer access in exynos_sys_powerdown_conf

2015-11-16 Thread Pankaj Dubey
If no platform devices binded to the driver but driver itself loaded and exynos_sys_powerdown_conf is called from arch/arm/mach-exynos/{suspend.c, pm.c} it will result in NULL pointer access, to prevent this added check on pmu_context for NULL. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof

[PATCH v6 1/9] ARM: EXYNOS: removing redundant code from regs-pmu.h

2015-11-16 Thread Pankaj Dubey
commit 6ec4f8d0d91f ("ARM: EXYNOS: add generic function to calculate cpu number") introduced exynos_pmu_cpunr to be used by multi-cluster SoC's e.g Exynos5420, but it's no more used in the codebase and hence removing this part of code. Signed-off-by: Pankaj Dubey Reviewed-by: Krzysztof Kozlowski

[PATCH v6 0/9] samsung: pmu: split up SoC specific PMU data

2015-11-16 Thread Pankaj Dubey
In this series I am splitting up SoC specific PMU configuration data into mach-exynos folder itself, before moving all of them under drivers/soc/samsung/. Also instead of making all changes in single patch it has been broken into SoC specific patches to avoid large size of patch. With this

[PATCH] phy: phy-mt65xx-usb3: improve HS eye diagram

2015-11-16 Thread Chunfeng Yun
calibrate HS slew rate and switch 100uA current to SSUSB to improve HS eye diagram of HQA test. Change-Id: I6d392c7fffb32b3a710e3a8dda92710886806d90 Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 99 +-- 1 file changed, 96 insertions(+),

Re: [RESEND] phy: core: Get a refcount to phy in devm_of_phy_get_by_index()

2015-11-16 Thread Jisheng Zhang
Hi, On Tue, 17 Nov 2015 13:56:48 +0800 Chunfeng Yun wrote: > On driver detach, devm_phy_release() will put a refcount to > the phy, so gets a refconut to it before return. > > Change-Id: I56fe428bf945f19c38d56245978c8ca17340eb2c This line need to be removed > Signed-off-by: Chunfeng Yun >

[PATCH] phy: phy-mt65xx-usb3: fix test fail of HS receiver sensitivity

2015-11-16 Thread Chunfeng Yun
when use the default value 8 of RG_USB20_SQTH, the HS receiver sensitivity test of HQA will fail, set it as 2 to fix up the issue. Change-Id: Ia5bdbbfc8ebb170d3ef26007e665b7350b6d28ab Signed-off-by: Chunfeng Yun --- drivers/phy/phy-mt65xx-usb3.c | 7 +-- 1 file changed, 5 insertions(+), 2

[RESEND] phy: core: Get a refcount to phy in devm_of_phy_get_by_index()

2015-11-16 Thread Chunfeng Yun
On driver detach, devm_phy_release() will put a refcount to the phy, so gets a refconut to it before return. Change-Id: I56fe428bf945f19c38d56245978c8ca17340eb2c Signed-off-by: Chunfeng Yun --- drivers/phy/phy-core.c | 21 +++-- 1 file changed, 15 insertions(+), 6 deletions(-)

Re: [PATCH 6/7] mm/gfp: make gfp_zonelist return directly and bool

2015-11-16 Thread David Rientjes
On Tue, 17 Nov 2015, Yaowei Bai wrote: > diff --git a/include/linux/gfp.h b/include/linux/gfp.h > index 6523109..14a6249 100644 > --- a/include/linux/gfp.h > +++ b/include/linux/gfp.h > @@ -378,9 +378,9 @@ static inline enum zone_type gfp_zone(gfp_t flags) > static inline int gfp_zonelist(gfp_t

Re: [PATCH] vhost: relax log address alignment

2015-11-16 Thread Jason Wang
On 11/16/2015 11:00 PM, Michael S. Tsirkin wrote: > commit 5d9a07b0de512b77bf28d2401e5fe3351f00a240 ("vhost: relax used > address alignment") fixed the alignment for the used virtual address, > but not for the physical address used for logging. > > That's a mistake: alignment should clearly be

Re: [PATCH v5 00/11] exynos-ufs: add support for Exynos

2015-11-16 Thread Kishon Vijay Abraham I
Hi Alim, On Monday 16 November 2015 06:31 AM, Alim Akhtar wrote: > Hi Kishon, > > Any more concern on the PHY part of this series? Sorry for the late reply. Yes, I still have concerns. I'll comment on your patch. Thanks Kishon > > Thanks! > > On Mon, Nov 9, 2015 at 10:56 AM, Alim Akhtar

Re: BUG: unable to handle kernel paging request at ffffe8ff7fc00001

2015-11-16 Thread Kyle Sanderson
Looks like massive corruption, so the oops above probably isn't anywhere near the cause. NFS was bouncing a bit, dmesg below... I've downgraded back to 3.14.56, will see if it continues. [523529.636418] nfs: server ftpback-bhs1-9.ip-198-100-151.net OK [532541.586437] ntfs: driver 2.1.32 [Flags:

Re: [PATCH 5/7] mm/lru: remove unused is_unevictable_lru function

2015-11-16 Thread Hillf Danton
> > Since commit a0b8cab3 ("mm: remove lru parameter from __pagevec_lru_add > and remove parts of pagevec API") there's no user of this function anymore, > so remove it. > > Signed-off-by: Yaowei Bai > --- Acked-by: Hillf Danton > include/linux/mmzone.h | 5 - > 1 file changed, 5

[PATCH V1] regulator: pv88060: new regulator driver

2015-11-16 Thread James Ban
From: James Ban This is the driver for the Powerventure PV88060 BUCKs and LDOs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- This patch applies against linux-next and next-20151115 .../devicetree/bindings/regulator/pv88060.txt | 124 +

RE: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Bharat Kumar Gogada
> On Wed, 11 Nov 2015 12:03:39 +0530 > Bharat Kumar Gogada wrote: > > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > Signed-off-by: Bharat Kumar Gogada > > Signed-off-by: Ravi Kiran Gummaluri > > --- > > Added logic to allocate contiguous hwirq in nwl_irq_domain_alloc

Re: [RFC PATCH -v2.1] x86: Kill notsc

2015-11-16 Thread H. Peter Anvin
On 11/16/15 13:25, Thomas Gleixner wrote: > On Mon, 16 Nov 2015, Borislav Petkov wrote: >> -/* >> - * disable flag for tsc. Takes effect by clearing the TSC cpu flag >> - * in cpu/common.c >> - */ >> -int __init notsc_setup(char *str) >> +/* Disable the TSC feature flag to avoid further TSC use.

Re: [PATCH 2/4] timer: relax tick stop in idle entry

2015-11-16 Thread Paul E. McKenney
On Mon, Nov 16, 2015 at 06:57:14PM -0800, Arjan van de Ven wrote: > On 11/16/2015 6:53 PM, Paul E. McKenney wrote: > >Fair point. When in the five-jiffy throttling state, what can wake up > >a CPU? In an earlier version of this proposal, the answer was "nothing", > >but maybe that has changed. >

RE: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Bharat Kumar Gogada
> On 11/10/2015 10:33 PM, Bharat Kumar Gogada wrote: > > Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > > > > Signed-off-by: Bharat Kumar Gogada > > Signed-off-by: Ravi Kiran Gummaluri > > --- > > Added logic to allocate contiguous hwirq in nwl_irq_domain_alloc function. > >

RE: [PATCH v8] PCI: Xilinx-NWL-PCIe: Added support for Xilinx NWL PCIe Host Controller

2015-11-16 Thread Bharat Kumar Gogada
> On 11/16/2015 7:14 AM, Marc Zyngier wrote: > > On 11/11/15 06:33, Bharat Kumar Gogada wrote: > >> Adding PCIe Root Port driver for Xilinx PCIe NWL bridge IP. > >> > >> Signed-off-by: Bharat Kumar Gogada > >> Signed-off-by: Ravi Kiran Gummaluri > >> --- > >> Added logic to allocate contiguous

Re: [PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-11-16 Thread pankaj.dubey
Hi Kukjin On Friday 23 October 2015 11:48 PM, Kukjin Kim wrote: > On 10/23/15 18:49, Pavel Fedin wrote: >> Hello! >> This patchset, I have tested on Peach-Pi (Exynos5880) based chromebook for boot and S2R functionality. >>> >>> Entire patchset tested on Trats2 (Exynos4412)

Re: [PATCH v2] thermal: of-thermal: Reduce log level for message when can't find thermal zone

2015-11-16 Thread Jiada Wang
Hello On 11/17/2015 12:37 PM, Eduardo Valentin wrote: On Tue, Nov 17, 2015 at 11:43:34AM +0900, Jiada Wang wrote: Some systems register thermal zone by themself and don't need to have thermal zones node in DT. Therefore reduce the log level from ERROR to DEBUG when thermal zone node can't be

Re: [PATCH V4 2/2] arm64: bpf: make BPF prologue and epilogue align with ARM64 AAPCS

2015-11-16 Thread Shi, Yang
On 11/16/2015 8:41 PM, Alexei Starovoitov wrote: On Mon, Nov 16, 2015 at 08:37:11PM -0800, Z Lim wrote: On Mon, Nov 16, 2015 at 2:35 PM, Yang Shi wrote: Save and restore FP/LR in BPF prog prologue and epilogue, save SP to FP in prologue in order to get the correct stack backtrace. ... CC:

Re: [PATCH v4 3/3] cpufreq: arm_big_little: Add support to register a cpufreq cooling device

2015-11-16 Thread Viresh Kumar
On Tue, Nov 17, 2015 at 1:00 AM, Punit Agrawal wrote: > Register passive cooling devices when initialising cpufreq on > big.LITTLE systems. If the device tree provides a dynamic power > coefficient for the CPUs then the bound cooling device will support > the extensions that allow it to be used

Re: [PATCH V4 2/2] arm64: bpf: make BPF prologue and epilogue align with ARM64 AAPCS

2015-11-16 Thread Alexei Starovoitov
On Mon, Nov 16, 2015 at 08:37:11PM -0800, Z Lim wrote: > On Mon, Nov 16, 2015 at 2:35 PM, Yang Shi wrote: > > Save and restore FP/LR in BPF prog prologue and epilogue, save SP to FP > > in prologue in order to get the correct stack backtrace. ... > > CC: Zi Shen Lim > > CC: Xi Wang > >

Re: [PATCH 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-16 Thread Krzysztof Kozlowski
On 17.11.2015 13:31, pankaj.dubey wrote: > > > On Monday 16 November 2015 07:06 AM, Krzysztof Kozlowski wrote: >> Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS >> so it is built also on ARMv7. This does not bring any kind of benefit. >> There won't be a single kernel

Re: [PATCH 12/13] perf test: Test BPF prologue

2015-11-16 Thread Wangnan (F)
On 2015/11/17 9:29, Arnaldo Carvalho de Melo wrote: Em Mon, Nov 16, 2015 at 12:10:14PM +, Wang Nan escreveu: This patch introduces a new BPF script to test BPF prologue. The new script probes at null_lseek, which is the function pointer when we try to lseek on '/dev/null'. null_lseek is

Re: [PATCH V4 2/2] arm64: bpf: make BPF prologue and epilogue align with ARM64 AAPCS

2015-11-16 Thread Z Lim
On Mon, Nov 16, 2015 at 2:35 PM, Yang Shi wrote: > Save and restore FP/LR in BPF prog prologue and epilogue, save SP to FP > in prologue in order to get the correct stack backtrace. > > However, ARM64 JIT used FP (x29) as eBPF fp register, FP is subjected to > change during function call so it

Re: [PATCH v4 0/3] Dynamic power model from device tree

2015-11-16 Thread Viresh Kumar
On Tue, Nov 17, 2015 at 1:00 AM, Punit Agrawal wrote: > Hi, > > This patchset adds support to build a single-coefficient dynamic power > model for a CPU. The model is used by the CPU cooling device to > provide an estimate of power consumption and also translate allocated > power to performance

Re: [PATCH v4 1/3] devicetree: bindings: Add optional dynamic-power-coefficient property

2015-11-16 Thread Viresh Kumar
On Tue, Nov 17, 2015 at 1:00 AM, Punit Agrawal wrote: > The dynamic power consumption of a device is proportional to the > square of voltage (V) and the clock frequency (f). It can be expressed as > > Pdyn = dynamic-power-coefficient * V^2 * f. > > The coefficient represents the running time

[PATCH v5 2/2] simplefb: Claim and enable regulators

2015-11-16 Thread Chen-Yu Tsai
This claims and enables regulators listed in the simple framebuffer dt node. This is needed so that regulators powering the display pipeline and external hardware, described in the device node and known by the kernel code, will remain properly enabled. Signed-off-by: Chen-Yu Tsai Acked-by: Mark

[PATCH v5 1/2] dt-bindings: simplefb: Support regulator supply properties

2015-11-16 Thread Chen-Yu Tsai
The physical display tied to the framebuffer may have regulators providing power to it, such as power for LCDs or interface conversion chips. The number of regulators in use may vary, but the regulator supply binding can not be a list. Instead just support any named regulator supply properties

Re: [PATCH 1/2] clk: samsung: Don't build ARMv8 clock drivers on ARMv7

2015-11-16 Thread pankaj.dubey
On Monday 16 November 2015 07:06 AM, Krzysztof Kozlowski wrote: > Currently the Exynos5433 (ARMv8 SoC) clock driver depends on ARCH_EXYNOS > so it is built also on ARMv7. This does not bring any kind of benefit. > There won't be a single kernel image for ARMv7 and ARMv8 SoCs (like > multi_v7 for

[PATCH v5 0/2] simplefb: Add regulator handling support

2015-11-16 Thread Chen-Yu Tsai
Hi everyone, This is v5 of the simplefb regulator support series. This series adds regulator claiming and enabling support for simplefb. Hans, I dropped your Reviewed-by tag from patch 2 since v4. Changes since v5: - Rebased onto v4.4-rc1 - Dropped dts patches (merged) Changes since v4:

Re: [PATCH v5 9/9] drivers: soc: Add support for Exynos PMU driver

2015-11-16 Thread Krzysztof Kozlowski
On 17.11.2015 12:44, pankaj.dubey wrote: > > > On Saturday 14 November 2015 05:00 PM, Krzysztof Kozlowski wrote: >> W dniu 14.11.2015 o 00:36, Pankaj Dubey pisze: >>> On 13 November 2015 at 15:58, Krzysztof Kozlowski >>> wrote: On 13.11.2015 18:29, Pankaj Dubey wrote: > This patch

Re: [PATCH 2/2] arm64: EXYNOS: Consolidate ARCH_EXYNOS7 symbol into ARCH_EXYNOS

2015-11-16 Thread pankaj.dubey
On Monday 16 November 2015 07:06 AM, Krzysztof Kozlowski wrote: > The ARMv8 Exynos family SoCs in Linux kernel are currently: > - Exynos5433 (controlled by ARCH_EXYNOS), > - Exynos7 (controlled by ARCH_EXYNOS7). > > It duplicates Kconfig symbols unnecessarily, so consolidate them into > one

[PATCH] pinctrl: mediatek: fix a memleak when do dt maps.

2015-11-16 Thread Hongzhou Yang
configs will kmemdup to dup_configs in pictrl util function. So configs need to be freed. Signed-off-by: Hongzhou Yang --- Fix a memleak issue. drivers/pinctrl/mediatek/pinctrl-mtk-common.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git

[PATCH 1/7] misc: eeprom: 93xx46: Fix 16-bit read and write accesses.

2015-11-16 Thread Cory Tusar
Compatible at93xx46 devices from both Microchip and Atmel expect a word-based address, regardless of whether the device is strapped for 8- or 16-bit operation. However, the offset parameter passed in when reading or writing at a specific location is always specified in terms of bytes. This

[PATCH 5/7] misc: eeprom: 93xx46: Add quirks to support Atmel AT93C46D device.

2015-11-16 Thread Cory Tusar
Atmel devices in this family have some quirks not found in other similar chips - they do not support a sequential read of the entire EEPROM contents, and the control word sent at the start of each operation varies in bit length. This commit adds quirk support to the driver and modifies the read

[PATCH 3/7] misc: eeprom: 93xx46: Implement eeprom_93xx46 DT bindings.

2015-11-16 Thread Cory Tusar
This commit implements bindings in the eeprom_93xx46 driver allowing device word size and read-only attributes to be specified via devicetree. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 62 + 1 file changed, 62 insertions(+) diff

[PATCH 6/7] misc: eeprom: 93xx46: Add DT binding for a GPIO 'select' line.

2015-11-16 Thread Cory Tusar
This commit documents an additional devicetree binding in the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- Documentation/devicetree/bindings/misc/eeprom-93xx46.txt | 3 +++ 1 file changed, 3

[PATCH 2/7] misc: eeprom: 93xx46: Add DT bindings to eeprom_93xx46 driver.

2015-11-16 Thread Cory Tusar
This commit documents bindings to be added to the eeprom_93xx46 driver which allow device word size and read-only attributes to be specified via devicetree. Currently the only supported device is a generic "eeprom-93xx46", which mirrors the configuration options previously available as a platform

[PATCH 7/7] misc: eeprom: 93xx46: Add support for a GPIO 'select' line.

2015-11-16 Thread Cory Tusar
This commit adds support to the eeprom_93x46 driver allowing a GPIO line to function as a 'select' or 'enable' signal prior to accessing the EEPROM. Signed-off-by: Cory Tusar --- drivers/misc/eeprom/eeprom_93xx46.c | 26 ++ include/linux/eeprom_93xx46.h | 1 + 2

[PATCH 4/7] misc: eeprom: 93xx46: Add DT binding for Atmel AT93C46D devices.

2015-11-16 Thread Cory Tusar
This commit adds a compatible string to the eeprom_93xx46 devicetree bindings in support of Atmel AT93C46D devices. Signed-off-by: Cory Tusar --- Documentation/devicetree/bindings/misc/eeprom-93xx46.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 0/7] Devicetree support for misc/eeprom/eeprom_93xx46.

2015-11-16 Thread Cory Tusar
This series of patches adds an initial set of devicetree bindings to the eeprom_93xx46 driver which mirror the configuration options previously available as a platform device. These bindings are then extended to include support for specific Atmel devices in this family and also to support

Re: [PATCH] Revert "thermal: qcom_spmi: allow compile test"

2015-11-16 Thread Eduardo Valentin
On Mon, Nov 16, 2015 at 10:43:50PM +0100, Arnd Bergmann wrote: > This just caused build errors: > > warning: (QCOM_SPMI_TEMP_ALARM) selects REGMAP_SPMI which has unmet direct > dependencies (SPMI) > drivers/built-in.o: In function `regmap_spmi_ext_gather_write': > :(.text+0x609b0): undefined

Re: [PATCH] lib/kobject: fix memory leak in error path of kset_create_and_add()

2015-11-16 Thread Greg Kroah-Hartman
On Tue, Nov 17, 2015 at 01:04:19AM +0100, Nicolai Stange wrote: > In kset_create_and_add(), the name duped into the kset's kobject by > kset_create() gets leaked if the call to kset_register() fails. > > Indeed, triggering failure by invoking kset_create_and_add() with a > duplicate name makes

Re: [RFC] block: change to use atomic_inc_return_release()

2015-11-16 Thread yalin wang
> On Nov 17, 2015, at 11:38, Jens Axboe wrote: > > On 11/16/2015 08:24 PM, yalin wang wrote: >> Some arch define this atomic_inc_return_release() OP. > > That is a very vague commit message, you'll need a whole lot more than > that... A commit message is supposed to describe the reason for

[PATCH v4 0/4] crypto: add crypto accelerator support for rk3288

2015-11-16 Thread Zain Wang
This commit support three cipher(AES/DES/DES3) and two chainmode(ecb/cbc), and the more algorithms and new hash drivers will be added later on. Changed in v4: - modify irq function - add devm_add_action in probe - fix some minor mistakes Changed in v3: - add OF depended in Kconfig - rename some

[PATCH v4 2/4] clk: rockchip: set an ID for crypto clk

2015-11-16 Thread Zain Wang
Set an ID for crypto clk, so that it can be called in other part. Signed-off-by: Zain Wang Acked-by: Michael Turquette Tested-by: Heiko Stuebner --- Changed in v4: - None Changed in v3: - None Changed in v2: - None Changed in v1: - define SCLK_CRYPTO in rk3288-cru.h - use SCLK_CRYPTO instead

[PATCH v4 3/4] Crypto: rockchip/crypto - add crypto driver for rk3288

2015-11-16 Thread Zain Wang
Crypto driver support: ecb(aes) cbc(aes) ecb(des) cbc(des) ecb(des3_ede) cbc(des3_ede) You can alloc tags above in your case. And other algorithms and platforms will be added later on. Signed-off-by: Zain Wang Tested-by: Heiko Stuebner --- Changed in v4: - modify irq function - add

[PATCH v4 4/4] ARM: dts: rockchip: Add Crypto node for rk3288

2015-11-16 Thread Zain Wang
Add Crypto node for rk3288 including crypto controller and dma clk. Signed-off-by: Zain Wang Tested-by: Heiko Stuebner --- Changed in v4: - None Changed in v3: - add reset property Changed in v2: - None Changed in v1: - remove the _crypto suffix - use "rockchip,rk3288-crypto" instead of

[PATCH v4 1/4] crypto: rockchip/crypto - add DT bindings documentation

2015-11-16 Thread Zain Wang
Add DT bindings documentation for the rk3288 crypto drivers. Signed-off-by: Zain Wang Acked-by: Rob Herring Tested-by: Heiko Stuebner --- Changed in v4: - None Changed in v3: - add reset property Changed in v2: - None Changed in v1: - remove the _crypto suffix - use

  1   2   3   4   5   6   7   8   9   10   >