Re: [RFC PATCH] mm/zsmalloc: remove unnecessary check

2014-11-23 Thread Minchan Kim
Hello Ganesh, On Fri, Nov 21, 2014 at 10:56:10PM +0800, Ganesh Mahendran wrote: > Hello Minchan > > 2014-11-21 18:32 GMT+08:00 Minchan Kim : > > On Fri, Nov 21, 2014 at 06:48:49AM +, Minchan Kim wrote: > >> On Fri, Nov 21, 2014 at 01:33:26PM +0800, Ganesh Mahendran wrote: > >> > Hello > >> >

Re: [PATCH net-net 0/4] Increase the limit of tuntap queues

2014-11-23 Thread Michael S. Tsirkin
On Mon, Nov 24, 2014 at 11:23:05AM +0800, Jason Wang wrote: > On 11/23/2014 06:46 PM, Michael S. Tsirkin wrote: > > On Wed, Nov 19, 2014 at 10:44:27PM +0200, Michael S. Tsirkin wrote: > >> > On Wed, Nov 19, 2014 at 03:16:28PM -0500, David Miller wrote: > >>> > > From: Pankaj Gupta > >>> > > Date:

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, November 24, 2014 15:28 PM > To: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > driverdev-de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; KY Srinivasan > Cc:

Re: [PATCH] xen-pciback: drop SR-IOV VFs when PF driver unloads

2014-11-23 Thread Jan Beulich
>>> On 21.11.14 at 23:03, wrote: > I rewrote it a bit to be more in the style of pciback: >[...] > [v2: Removed the switch statement, moved it about] What you don't mention here is that you also removed the outer loop, yet that breaks functionality afaict: There can (and I suppose normally will)

[PATCH 0/2 v2] intel_pstate: skip this driver if hit Sun X86 servers

2014-11-23 Thread Ethan Zhao
Oracle Sun servers(X86) have power capping features that work via ACPI _PPC method, patch No.1 is used to skip this driver if Oracle Sun server and _PPC detected. Patch No.2 introduces a kernel command line parameter for those who would like to enable intel_pstate on Sun X86 servers and be

[PATCH 2/2 v2] intel_pstate: add kernel parameter to enable loading on Sun X86 servers.

2014-11-23 Thread Ethan Zhao
To force loading on Oracle Sun X86 servers, provide one kernel command line parameter intel_pstate = onora For those who be aware of the risk doing so. Signed-off-by: Ethan Zhao v2: change the command line parameter naming to specific to Oracle Sun servers. ---

[char-misc-next] mei: bus: use ssize_t as the return type for send and receive

2014-11-23 Thread Tomas Winkler
Mei bus receive and send function may return either number of transmitted bytes or errno. It is better to use ssize_t type for that purpose that mixing size_t with int. Signed-off-by: Tomas Winkler --- drivers/misc/mei/bus.c | 30 ++ drivers/misc/mei/mei_dev.h |

[PATCH 1/2 v2] intel_pstate: skip this driver if Sun server has _PPC method

2014-11-23 Thread Ethan Zhao
Oracle Sun X86 servers have dynamic power capping capability that works via ACPI _PPC method etc, so skip loading this driver if Sun server has ACPI _PPC enabled. Signed-off-by: Ethan Zhao v2: only match ORACLE oem id. --- drivers/cpufreq/intel_pstate.c | 20 1 file

Re: [PATCH v2] mm/zsmalloc: avoid duplicate assignment of prev_class

2014-11-23 Thread Minchan Kim
On Fri, Nov 21, 2014 at 09:43:23PM +0800, Mahendran Ganesh wrote: > In zs_create_pool(), prev_class is assigned (ZS_SIZE_CLASSES - 1) > times. And the prev_class only references to the previous size_class. > So we do not need unnecessary assignement. > > This patch assigns *prev_class* when a new

Re: FIX ME in xsysace.c

2014-11-23 Thread Michal Simek
Hi, On 11/24/2014 05:19 AM, nick wrote: > Greetings Michal and others, > I am wondering about the FIX ME in xsysace.c as it seems not correct due to > my knowledge of most hardware protocols using a predetermined bit wide and > therefore this could be hard coded. If someone can respond on if I

Re: Implement lbr-as-callgraph v10

2014-11-23 Thread Namhyung Kim
Hi Andi and Arnaldo, On Sat, 22 Nov 2014 02:25:19 +0100, Andi Kleen wrote: >> f1 tcall.c:9 >> main tcall.c:17 >> main tcall.c:17 >> main tcall.c:16 >> main tcall.c:16 >> f1 tcall.c:12 >> f1 tcall.c:12 >> f2 tcall.c:6 >> f2 tcall.c:4 >> f1

linux-next: manual merge of the driver-core tree with the v4l-dvb tree

2014-11-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/staging/media/omap24xx/omap24xxcam.c between commit db85a0403be4 ("[media] omap24xx/tcm825x: remove deprecated omap2 camera drivers") from the v4l-dvb tree and commit 8c5bd8111b45 ("staging: media: omap24xx: drop

linux-next: manual merge of the driver-core tree with the tegra tree

2014-11-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/memory/tegra30-mc.c between commit a2257374a4bd ("memory: Add NVIDIA Tegra memory controller support") from the tegra tree and commit 0f0d7e7b022b ("memory: drop owner assignment from platform_drivers") from the

Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Jason Wang
On 11/24/2014 02:08 PM, Dexuan Cui wrote: >> -Original Message- >> > From: Jason Wang [mailto:jasow...@redhat.com] >> > Sent: Monday, November 24, 2014 13:18 PM >> > To: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; >> > driverdev-de...@linuxdriverproject.org;

linux-next: manual merge of the driver-core tree with the tegra tree

2014-11-23 Thread Stephen Rothwell
Hi Greg, Today's linux-next merge of the driver-core tree got a conflict in drivers/iommu/tegra-smmu.c between commit a2257374a4bd ("memory: Add NVIDIA Tegra memory controller support") from the tegra tree and commit 98b773cf7b6b ("iommu: drop owner assignment from platform_drivers") from the

Re: crypto: user - crypto_alg_match removal

2014-11-23 Thread Steffen Klassert
Hi Stephan. On Sat, Nov 22, 2014 at 11:25:05PM +0100, Stephan Mueller wrote: > Hi Steffen, Herbert, > > may I ask for the reasons why crypto_alg_match exists? Doesn't it > implement crypto_alg_lookup -- and that not even complete? Is there a > particular reason why this exact flag of

Re: Hierarchical irqdomains - Status update

2014-11-23 Thread Jiang Liu
On 2014/11/24 3:03, Thomas Gleixner wrote: > Folks, > > I've rebased the hierarchical irqdomain code on top of Bjorns > msi_controller rework. > > Changes versus the previous version: > >- Bjorns new pci/mci branch. See also: >

Re: [PATCH] Repeated fork() causes SLAB to grow without bound

2014-11-23 Thread Konstantin Khlebnikov
On Thu, Nov 20, 2014 at 6:03 PM, Konstantin Khlebnikov wrote: > On Thu, Nov 20, 2014 at 5:50 PM, Rik van Riel wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 11/20/2014 09:42 AM, Konstantin Khlebnikov wrote: >> >>> I'm thinking about limitation for reusing anon_vmas which

[PATCH v5] clocksource: arch_timer: Fix code to use physical timers when requested

2014-11-23 Thread Sonny Rao
This is a bug fix for using physical arch timers when the arch_timer_use_virtual boolean is false. It restores the arch_counter_get_cntpct() function after removal in 0d651e4e "clocksource: arch_timer: use virtual counters" We need this on certain ARMv7 systems which are architected like this:

[PATCH 1/4] serial: samsung: wait for transfer completion before clock disable

2014-11-23 Thread Robert Baldyga
This patch adds waiting until transmit buffer and shifter will be empty before clock disabling. Without this fix it's possible to have clock disabled while data was not transmited yet, which causes unproper state of TX line and problems in following data transfers. Cc: # v2.6.26+ Signed-off-by:

[PATCH 3/4] serial: samsung: prefer to use fifosize from driver data

2014-11-23 Thread Robert Baldyga
If we have fifosize set in driver data we prefer to use it instead of default fifosize value (which is always 16). If there is defined fifosize for particular serial we prefer to use it, otherwise we use value from info, which is common for all serials on given platform. Signed-off-by: Robert

[PATCH 0/4] serial: samsung: fixes for serial driver

2014-11-23 Thread Robert Baldyga
Hi, This series contains fixes for samsung serial driver. There is one patch with important fix, which, I think, should be also applied to stable trees, two patches fixing FIFO handling (they are not critical but, they can provide better FIFO usage) and one patch with code cleanup. Best regards,

[PATCH 2/4] serial: samsung: fix style problems

2014-11-23 Thread Robert Baldyga
Split lines longer than 80 chars and remove unnecessary whitespaces. Signed-off-by: Robert Baldyga --- drivers/tty/serial/samsung.c | 46 +++- 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/drivers/tty/serial/samsung.c

[PATCH 4/4] serial: samsung: use port->fifosize instead of hardcoded values

2014-11-23 Thread Robert Baldyga
Hardcoded FIFO size can cause hardware performance limitation. Using real size value provides better FIFO usage. Signed-off-by: Robert Baldyga --- drivers/tty/serial/samsung.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/samsung.c

Re: [PATCH] net: introduce helper macra CMSG_FOREACH_HDR

2014-11-23 Thread Gu Zheng
Hi David, On 11/24/2014 01:55 PM, David Miller wrote: > > Your postings do not make it to the mailing list, in fact they don't > even make it to the list server itself. Thanks for your reminder. > > Generally speaking, sites in China have this problem off and on, and > in unpredictable ways.

RE: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Dexuan Cui
> -Original Message- > From: Jason Wang [mailto:jasow...@redhat.com] > Sent: Monday, November 24, 2014 13:18 PM > To: Dexuan Cui; gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > driverdev-de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; KY Srinivasan > Cc:

linux-next: build failure after merge of the kvm tree

2014-11-23 Thread Stephen Rothwell
Hi all, After merging the kvm tree, today's linux-next build (x86_64 allmodconfig) failed like this: ERROR: "get_xsave_addr" [arch/x86/kvm/kvm.ko] undefined! Caused by commit 1d7fe1d1fb18 ("KVM: x86: support XSAVES usage in the host"). I have used the kvm tree from next-20141121 for today. --

[PATCH v6 2/10] xfs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-11-23 Thread Namjae Jeon
This patch implements fallocate's FALLOC_FL_INSERT_RANGE for XFS. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the starting block of the

[PATCH v6 7/10] xfstests: generic/040: Multi insert range tests

2014-11-23 Thread Namjae Jeon
This testcase(040) tries to test various corner cases with pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/040 | 65 + tests/generic/040.out

[PATCH v6 4/10] xfsprogs: xfs_io: add finsert command for insert range via fallocate

2014-11-23 Thread Namjae Jeon
Add finsert command for fallocate FALLOC_FL_INSERT_RANGE flag. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- io/prealloc.c | 39 ++- 1 file changed, 38 insertions(+), 1 deletion(-) diff --git a/io/prealloc.c b/io/prealloc.c index

[PATCH v6 8/10] xfstests: generic/041: Delayed allocation multi insert

2014-11-23 Thread Namjae Jeon
This testcase(041) tries to test various corner cases with delayed extents and pre-existing holes for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/041 | 65 +

[PATCH v6 9/10] xfstests: fsstress: Add fallocate insert range

2014-11-23 Thread Namjae Jeon
This commit adds insert operation support for fsstress, which is meant to exercise fallocate FALLOC_FL_INSERT_RANGE support. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- ltp/fsstress.c | 19 --- src/global.h | 4 2 files changed, 20 insertions(+), 3

[PATCH v6 10/10] xfstests: fsx: Add fallocate insert range operation

2014-11-23 Thread Namjae Jeon
This commit adds fallocate FALLOC_FL_INSERT_RANGE support for fsx. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- ltp/fsx.c | 96 +-- 1 file changed, 94 insertions(+), 2 deletions(-) diff --git a/ltp/fsx.c b/ltp/fsx.c

[PATCH v6 6/10] xfstests: generic/039: Delayed allocation insert range

2014-11-23 Thread Namjae Jeon
This testcase(039) tries to test various corner cases with delayed extents for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- tests/generic/039 | 65 ++ tests/generic/039.out |

[PATCH v6 5/10] xfstests: generic/038: Standard insert range tests

2014-11-23 Thread Namjae Jeon
This testcase(038) tries to test various corner cases for finsert range functionality over different type of extents. Signed-off-by: Namjae Jeon Signed-off-by: Ashish Sangwan --- common/punch | 5 common/rc | 2 +- tests/generic/038 | 65

[PATCH v6 1/10] fs: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-11-23 Thread Namjae Jeon
FALLOC_FL_INSERT_RANGE command is the opposite command of FALLOC_FL_COLLAPSE_RANGE that is needed for advertisers or someone who want to add some data in the middle of file. FALLOC_FL_INSERT_RANGE will create space for writing new data within a file after shifting extents to right as given length.

[PATCH v6 0/10] fs: Introduce FALLOC_FL_INSERT_RANGE for fallocate

2014-11-23 Thread Namjae Jeon
In continuation of the work of making the process of non linear editing of media files faster, we introduce here the new flag FALLOC_FL_INSERT_RANGE for fallocate. This flag will work opposite to the FALLOC_FL_COLLAPSE_RANGE flag. As such, specifying FALLOC_FL_INSERT_RANGE flag will create new

[PATCH v6 3/10] ext4: Add support FALLOC_FL_INSERT_RANGE for fallocate

2014-11-23 Thread Namjae Jeon
This patch implements fallocate's FALLOC_FL_INSERT_RANGE for Ext4. 1) Make sure that both offset and len are block size aligned. 2) Update the i_size of inode by len bytes. 3) Compute the file's logical block number against offset. If the computed block number is not the starting block of the

[PATCH 2/2] staging: lustre: lnet: lnet: trailing statements should be on next line

2014-11-23 Thread Balavasu kuppusammyprathaban
This patch fixes the checkpatch.pl issue Error: trailing statements should be on next line Signed-off-by: Balavasu kuppusammyprathaban --- drivers/staging/lustre/lnet/lnet/router.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git

Re: [f2fs-dev] [PATCH 1/3] f2fs: call flush_dcache_page when the page was updated

2014-11-23 Thread Jaegeuk Kim
On Mon, Nov 24, 2014 at 11:46:46AM +0900, Changman Lee wrote: > Hi Simon, > Thanks for your explanation kindly. > > On Sun, Nov 23, 2014 at 11:08:54AM +0100, Simon Baatz wrote: > > Hi Changman, Jaegeuk, > > > > On Thu, Nov 20, 2014 at 05:47:29PM +0900, Changman Lee wrote: > > > On Wed, Nov 19,

[PATCH 1/2] staging: lustre: lnet: lnet: do not initialise statics to 0 or NULL

2014-11-23 Thread Balavasu kuppusammyprathaban
This patch fixes the checkpatch.pl issue Error: do not initialise statics to 0 or NULL Signed-off-by: Balavasu kuppusammyprathaban --- drivers/staging/lustre/lnet/lnet/router.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

Re: [PATCH v3 3/3] ACPI / PMIC: AXP288: support virtual GPIO in ACPI table

2014-11-23 Thread Aaron Lu
On 11/24/2014 09:06 AM, Rafael J. Wysocki wrote: > On Friday, November 21, 2014 03:11:51 PM Aaron Lu wrote: >> The same virtual GPIO strategy is also used for the AXP288 PMIC in that >> various control methods that are used to do power rail handling and >> sensor reading/setting will touch GPIO

[PATCH v2 1/2] arm: ls1: add CPU hotplug platform support

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu This implements CPU hotplug for ls1. When cpu is down, it will be put in WFI state. When cpu is up, it will always soft reset and boots up the same path as a cold boot. Signed-off-by: Zhang Zhuoyu --- arch/arm/mach-imx/common.h | 4 ++ arch/arm/mach-imx/hotplug.c | 25

Re: [f2fs-dev] [PATCH 1/3] f2fs: call flush_dcache_page when the page was updated

2014-11-23 Thread Jaegeuk Kim
On Sun, Nov 23, 2014 at 11:08:54AM +0100, Simon Baatz wrote: > Hi Changman, Jaegeuk, Hi Simon, > > On Thu, Nov 20, 2014 at 05:47:29PM +0900, Changman Lee wrote: > > On Wed, Nov 19, 2014 at 10:45:33PM -0800, Jaegeuk Kim wrote: > > > On Thu, Nov 20, 2014 at 03:04:10PM +0900, Changman Lee wrote: >

Re: [PATCH] net: introduce helper macra CMSG_FOREACH_HDR

2014-11-23 Thread David Miller
Your postings do not make it to the mailing list, in fact they don't even make it to the list server itself. Generally speaking, sites in China have this problem off and on, and in unpredictable ways. You need to sort this out because I will not apply patches that don't hit the mailing list for

Re: [PATCH v3 1/3] ACPI / PMIC: support PMIC operation region for CrystalCove

2014-11-23 Thread Aaron Lu
On 11/24/2014 08:59 AM, Rafael J. Wysocki wrote: > On Friday, November 21, 2014 03:11:49 PM Aaron Lu wrote: >> The Baytrail-T platform firmware has defined two customized operation >> regions for PMIC chip Crystal Cove - one is for power resource handling >> and one is for thermal: sensor

Re: [PATCH v4 6/7] ARM: mvebu: add PHY support to the dts for the USB controllers on Armada 375

2014-11-23 Thread Kishon Vijay Abraham I
Hi, On Saturday 22 November 2014 02:50 PM, Gregory CLEMENT wrote: > Hi Jason, > > On 22/11/2014 03:08, Jason Cooper wrote: >> On Thu, Nov 13, 2014 at 12:47:48PM +0100, Gregory CLEMENT wrote: >>> Now that the USB cluster node has been added, use it as a PHY provider >>> for the USB controller

[PATCH 2/2] f2fs: fix livelock calling f2fs_iget during f2fs_evict_inode

2014-11-23 Thread Jaegeuk Kim
In f2fs_evict_inode, commit_inmemory_pages f2fs_gc f2fs_iget iget_locked -> wait for inode free Here, if the inode is same as the one to be evicted, f2fs should wait forever. Actually, we should not call f2fs_balance_fs during f2fs_evict_inode to avoid this. But, the

[PATCH 1/2] f2fs: introduce f2fs_dentry_kunmap to clean up

2014-11-23 Thread Jaegeuk Kim
This patch introduces f2fs_dentry_kunmap to clean up dirty codes. Signed-off-by: Jaegeuk Kim --- fs/f2fs/dir.c | 3 +-- fs/f2fs/f2fs.h | 6 ++ fs/f2fs/namei.c| 30 ++ fs/f2fs/recovery.c | 3 +-- 4 files changed, 18 insertions(+), 24 deletions(-)

[PATCH V2 RESEND] arm: dts: Exynos5: Use pmu_system_controller phandle for dp phy

2014-11-23 Thread Vivek Gautam
DP PHY now require pmu-system-controller to handle PMU register to control PHY's power isolation. Adding the same to dp-phy node. Signed-off-by: Vivek Gautam Reviewed-by: Jingoo Han Tested-by: Javier Martinez Canillas Cc: Kukjin Kim --- arch/arm/boot/dts/exynos5250.dtsi |2 +-

[PATCH v2 2/2] arm: ls1: provide a workaround for core soft reset

2014-11-23 Thread Zhuoyu Zhang
From: Zhang Zhuoyu Due to a hardware erratum, after core soft reset, core state machine registers need to force release manually. Signed-off-by: Zhang Zhuoyu --- arch/arm/mach-imx/platsmp.c | 29 - 1 file changed, 28 insertions(+), 1 deletion(-) diff --git

Re: [PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Jason Wang
On 11/24/2014 01:56 PM, Dexuan Cui wrote: > If num_ballooned is not 0, we shouldn't neglect the already-allocated 2MB > memory block(s). > > Cc: K. Y. Srinivasan > Cc: > Signed-off-by: Dexuan Cui > --- > drivers/hv/hv_balloon.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >

Re: [PATCH 07/17] new helpers: skb_copy_datagram_from_iter() and zerocopy_sg_from_iter()

2014-11-23 Thread Jason Wang
On 11/24/2014 08:02 AM, Ben Hutchings wrote: > On Sat, 2014-11-22 at 04:33 +, Al Viro wrote: > [...] >> --- a/net/core/datagram.c >> +++ b/net/core/datagram.c >> @@ -572,6 +572,77 @@ fault: >> } >> EXPORT_SYMBOL(skb_copy_datagram_from_iovec); >> > Missing kernel-doc. > >> +int

Re: [PATCH V3] ACPI: Add _DEP(Operation Region Dependencies) support to fix battery issue on the Asus T100TA

2014-11-23 Thread Michael Shigorin
On Mon, Nov 24, 2014 at 10:39:55AM +0800, Li, Aubrey wrote: > Well, Can we explicitly tied this up with ASUS T100TA in the code? It works for me on Aava Inari 8 too. --   WBR, Michael Shigorin / http://altlinux.org   -- http://opennet.ru / http://anna-news.info -- To unsubscribe from

Re: linuxppc-dev list

2014-11-23 Thread Benjamin Herrenschmidt
On Mon, 2014-11-24 at 16:08 +1100, Benjamin Herrenschmidt wrote: > Hi Linus ! > > This series fix a nasty issue with radeon adapters on powerpc servers, > it's all CC'ed stable and has the relevant maintainers ack's/reviews. Hrm... git request-pull can't find the commit on the server (it's been

linux-next: manual merge of the tip tree with the pci tree

2014-11-23 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the tip tree got a conflict in drivers/pci/host/pcie-rcar.c between commit 3c70637f7569 ("PCI: rcar: Make rcar_pci static") from the pci tree and commit 7c35c8cc32f3 ("PCI: rcar: Save MSI controller in pci_sys_data") from the tip tree. I fixed it up (see

linuxppc-dev list

2014-11-23 Thread Benjamin Herrenschmidt
Hi Linus ! This series fix a nasty issue with radeon adapters on powerpc servers, it's all CC'ed stable and has the relevant maintainers ack's/reviews. Basically, some (radeon) adapters have issues with MSI addresses above 1T (only support 40-bits). We had powerpc specific quirk but it only

[PATCH v19 1/5] dt-bindings: document Rockchip thermal

2014-11-23 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- .../bindings/thermal/rockchip-thermal.txt | 68 ++ 1 file changed, 68 insertions(+) create

[PATCH v19 2/5] thermal: rockchip: add driver for thermal

2014-11-23 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were

[PATCH v19 4/5] ARM: dts: add main Thermal info to rk3288

2014-11-23 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If for some reason we are unable to shut it down in orderly fashion (kernel is stuck holding a lock or similar), then hardware TSHUT will reset it. If the temperature over a period of time High,over 95C the resulting TSHUT

[PATCH v19 3/5] ARM: dts: add RK3288 Thermal data

2014-11-23 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 90C. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++ 1 file changed, 78

[PATCH v19 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-11-23 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

Re: [PATCH 01/11] pinctrl: exynos: Add BUS1 pin controller for exynos7

2014-11-23 Thread Vivek Gautam
Hi Alim, On Sat, Nov 22, 2014 at 7:07 PM, Alim Akhtar wrote: > Hi Vivek, > > On Fri, Nov 21, 2014 at 7:05 PM, Vivek Gautam > wrote: >> USB and Power regulator on Exynos7 require gpios available >> in BUS1 pin controller block. >> So adding the BUS1 pinctrl support. >> >> Signed-off-by: Naveen

[PATCH v19 0/5] Rockchip soc thermal driver

2014-11-23 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system will shutdown when the thermal temperture over 100C.If for some reason we are unable to shut it down in orderly fashion (kernel is stuck

Re: [PATCH net-next 0/2] r8152: use ECM mode for future chips

2014-11-23 Thread David Miller
From: Hayes Wang Date: Mon, 24 Nov 2014 11:09:47 +0800 > For the future chips which the r8152 doesn't support yet, we could > still use ECM mode for basic transmission. Gross, please don't do this. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[GIT PULL] clk: fixes for 3.18

2014-11-23 Thread Mike Turquette
The following changes since commit 206c5f60a3d902bc4b56dab2de3e88de5eb06108: Linux 3.18-rc4 (2014-11-09 14:55:29 -0800) are available in the git repository at: https://git.linaro.org/people/mike.turquette/linux.git tags/clk-fixes-for-linus for you to fetch changes up to

[PATCH] hv: hv_balloon: avoid memory leak on alloc_error of 2MB memory block

2014-11-23 Thread Dexuan Cui
If num_ballooned is not 0, we shouldn't neglect the already-allocated 2MB memory block(s). Cc: K. Y. Srinivasan Cc: Signed-off-by: Dexuan Cui --- drivers/hv/hv_balloon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/hv/hv_balloon.c b/drivers/hv/hv_balloon.c

Re: [PATCH 3/6] md/bcache: use generic io stats accounting functions to simplify io stat accounting

2014-11-23 Thread Kent Overstreet
On Mon, Nov 24, 2014 at 11:05:24AM +0800, Gu Zheng wrote: > Use generic io stats accounting help functions (generic_{start,end}_io_acct) > to simplify io stat accounting. > > Signed-off-by: Gu Zheng Cool! Acked-by: Kent Overstreet > --- > drivers/md/bcache/request.c | 23

Re: [RFC][PATCH 1/2] reduce the amount of boilerplate in iov_iter.c

2014-11-23 Thread Al Viro
On Mon, Nov 24, 2014 at 01:09:54AM +, Al Viro wrote: > Specifically, it allows to add a new kind of iovecs (ITER_KVEC using > straight memcpy instead of going through copy_..._user) at the cost of > mere 74 extra lines (see the next patch) and allows to add the things > like

linux-next: manual merge of the iommu tree with the tegra tree

2014-11-23 Thread Stephen Rothwell
Hi Joerg, Today's linux-next merge of the iommu tree got a conflict in drivers/iommu/tegra-smmu.c between commit a2257374a4bd ("memory: Add NVIDIA Tegra memory controller support") from the tegra tree and commit 315786ebbf4a ("iommu: Add iommu_map_sg() function") from the iommu tree. I fixed it

Re: [PATCH ftrace/core v6 5/5] kselftest, ftrace: Add ftrace IPMODIFY flag test

2014-11-23 Thread Steven Rostedt
On Mon, 24 Nov 2014 11:50:06 +0900 Masami Hiramatsu wrote: > (2014/11/22 6:03), Steven Rostedt wrote: > > On Fri, 21 Nov 2014 05:25:37 -0500 > > Masami Hiramatsu wrote: > > > >> Add ftrace IPMODIFY flag test to selftest/ftrace. The > >> test checks simple ftrace handler insertion and > >>

Re: [PATCH V3] ACPI: Add _DEP(Operation Region Dependencies) support to fix battery issue on the Asus T100TA

2014-11-23 Thread Adam Williamson
On Mon, 2014-11-24 at 10:39 +0800, Li, Aubrey wrote: > On 2014/11/23 21:22, Lan Tianyu wrote: > > ACPI 5.0 introduces _DEP to designate device objects that OSPM should > > assign a higher priority in start ordering due to future operation region > > accesses. > > > > On Asus T100TA, ACPI battery

Block layer projects that I haven't had time for

2014-11-23 Thread Kent Overstreet
Since I'm starting to resign myself to the fact that I'm probably not going to have much time for upstream development again any time soon, I figured maybe I should try writing down all the things I was working on or planning on working on in case someone else is feeling ambitious and looking for

Re: [PATCH v2] drivers/md: use proper rcu accessor

2014-11-23 Thread Mike Snitzer
On Sun, Nov 23 2014 at 12:34pm -0500, Eric Dumazet wrote: > From: Eric Dumazet > > rcu_dereference() should be used in sections protected by rcu_read_lock. > > For writers, holding some kind of mutex or lock, > rcu_dereference_protected() is the way to go, adding explicit lockdep > bits. > >

Re: [GIT PULL] Btrfs deadlock fix

2014-11-23 Thread Benjamin Herrenschmidt
On Sun, 2014-11-23 at 19:27 -0500, Chris Mason wrote: > This should be from CONFIG_BTRFS_FS_RUN_SANITY_TESTS=y. I do test > with this on here, but I'll look it over for ppc related fun. > > The deadlock fix from this pull shouldn't be related. Just to make > sure I read your email right, this

Re: [PATCH net-net 0/4] Increase the limit of tuntap queues

2014-11-23 Thread Jason Wang
On 11/23/2014 06:46 PM, Michael S. Tsirkin wrote: > On Wed, Nov 19, 2014 at 10:44:27PM +0200, Michael S. Tsirkin wrote: >> > On Wed, Nov 19, 2014 at 03:16:28PM -0500, David Miller wrote: >>> > > From: Pankaj Gupta >>> > > Date: Tue, 18 Nov 2014 21:52:54 +0530 >>> > > > > > - Accept maximum

[PATCH net-next 2/2] r8152: use ECM mode for unsupported chips

2014-11-23 Thread Hayes Wang
Use usbnet_cdc_bind to initialize the chips which the driver doesn't support yet, if the cdc_ether is set. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 92 ++--- 1 file changed, 87 insertions(+), 5 deletions(-) diff --git

[PATCH net-next 0/2] r8152: use ECM mode for future chips

2014-11-23 Thread Hayes Wang
For the future chips which the r8152 doesn't support yet, we could still use ECM mode for basic transmission. Hayes Wang (2): r8152: redefine REALTEK_USB_DEVICE r8152: use ECM mode for unsupported chips drivers/net/usb/r8152.c | 118 +++- 1 file

[PATCH net-next 1/2] r8152: redefine REALTEK_USB_DEVICE

2014-11-23 Thread Hayes Wang
Redefine REALTEK_USB_DEVICE for the desired USB interface for probe(). There are three USB interfaces for the device. USB_CLASS_COMM and USB_CLASS_CDC_DATA are for ECM mode (config #2). USB_CLASS_VENDOR_SPEC is for the vendor mode (config #1). However, we are not interesting in USB_CLASS_CDC_DATA

Re: [PATCH v2 7/7] mm/page_owner: correct owner information for early allocated pages

2014-11-23 Thread Joonsoo Kim
On Fri, Nov 21, 2014 at 03:38:41PM -0800, Andrew Morton wrote: > On Fri, 21 Nov 2014 17:14:06 +0900 Joonsoo Kim wrote: > > > Extended memory to store page owner information is initialized some time > > later than that page allocator starts. Until initialization, many pages > > can be allocated

RE: [PATCH v11 00/19] input: cyapa: instruction of cyapa patches

2014-11-23 Thread Dudley Du
Jeremiah, Thank you very much for your information. I will look into this issue. Could you send me the system log if possible when you encounter this issue. Thanks Dudley > -Original Message- > From: Jeremiah Mahler [mailto:jmmah...@gmail.com] > Sent: 2014?11?21? 16:56 > To: Dudley Du >

Re: [PATCH v2 6/7] mm/page_owner: keep track of page owners

2014-11-23 Thread Joonsoo Kim
On Fri, Nov 21, 2014 at 03:38:32PM -0800, Andrew Morton wrote: > On Fri, 21 Nov 2014 17:14:05 +0900 Joonsoo Kim wrote: > > > This is the page owner tracking code which is introduced > > so far ago. It is resident on Andrew's tree, though, nobody > > tried to upstream so it remain as is. Our

[LKP] [nohz] 2a16fc93d2c:

2014-11-23 Thread Yuanhan Liu
FYI, we noticed the below changes on commit 2a16fc93d2c9568e16d45db77c7b5f15e1921cf1 ("nohz: Avoid tick's double reprogramming in highres mode") testbox/testcase/testparams: snb-drag/piglit/performance-igt-001 b5e995e671d8e4d7 2a16fc93d2c9568e16d45db77c

Re: [PATCH v2 5/7] stacktrace: introduce snprint_stack_trace for buffer output

2014-11-23 Thread Joonsoo Kim
On Fri, Nov 21, 2014 at 03:37:59PM -0800, Andrew Morton wrote: > On Fri, 21 Nov 2014 17:14:04 +0900 Joonsoo Kim wrote: > > > Current stacktrace only have the function for console output. > > page_owner that will be introduced in following patch needs to print > > the output of stacktrace into

[LKP] [x86, irq, ACPI] 5fcb864ef90: -3.3%(vm-scalability.throughput) +12.9%(turbostat.%c0)

2014-11-23 Thread Yuanhan Liu
Hi, We noticed the below changes on(NOTE: I'm not sure the bisect is correct or not, here I report it out JFYI). git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 5fcb864ef90df093d964171539c87ffa0ab49f0f ("x86, irq, ACPI: Implement interfaces to support ACPI based

Re: [PATCH ftrace/core v6 5/5] kselftest, ftrace: Add ftrace IPMODIFY flag test

2014-11-23 Thread Masami Hiramatsu
(2014/11/22 6:03), Steven Rostedt wrote: > On Fri, 21 Nov 2014 05:25:37 -0500 > Masami Hiramatsu wrote: > >> Add ftrace IPMODIFY flag test to selftest/ftrace. The >> test checks simple ftrace handler insertion and >> combinations of ftrace, kprobe, and jprobe. >> This test requires kernel build

RE: [UPDATE RFC PATCH 2] ACPICA: Events: Introduce ACPI_GPE_HANDLER_RAW to fix 2 issues for the current GPE APIs.

2014-11-23 Thread Zheng, Lv
Hi, Adding people that were disturbed by my fault previously. You should also reply in the same thread with this validation result. As we might need this to be the motivation for the proposal that the GPE dead lock issue should be fixed in a higher priority way. I've reported this at:

Re: [f2fs-dev] [PATCH 1/3] f2fs: call flush_dcache_page when the page was updated

2014-11-23 Thread Changman Lee
Hi Simon, Thanks for your explanation kindly. On Sun, Nov 23, 2014 at 11:08:54AM +0100, Simon Baatz wrote: > Hi Changman, Jaegeuk, > > On Thu, Nov 20, 2014 at 05:47:29PM +0900, Changman Lee wrote: > > On Wed, Nov 19, 2014 at 10:45:33PM -0800, Jaegeuk Kim wrote: > > > On Thu, Nov 20, 2014 at

Re: [PATCH v2 1/7] mm/page_ext: resurrect struct page extending code for debugging

2014-11-23 Thread Joonsoo Kim
On Fri, Nov 21, 2014 at 03:37:31PM -0800, Andrew Morton wrote: > On Fri, 21 Nov 2014 17:14:00 +0900 Joonsoo Kim wrote: > > > When we debug something, we'd like to insert some information to > > every page. For this purpose, we sometimes modify struct page itself. > > But, this has drawbacks.

[PATCH V3 01/11] irqchip: Update docs regarding irq_domain_add_tree()

2014-11-23 Thread Kevin Cernekee
Several drivers now use this API, including the ARM GIC driver, so remove the outdated comment. Signed-off-by: Kevin Cernekee --- Documentation/IRQ-domain.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Documentation/IRQ-domain.txt b/Documentation/IRQ-domain.txt index

[PATCH V3 03/11] irqchip: brcmstb-l2: fix error handling of irq_of_parse_and_map

2014-11-23 Thread Kevin Cernekee
From: Dmitry Torokhov Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov Acked-by: Florian Fainelli Tested-by: Kevin Cernekee --- drivers/irqchip/irq-brcmstb-l2.c | 4 ++-- 1 file

[PATCH V3 00/11] Multiplatform BMIPS kernel

2014-11-23 Thread Kevin Cernekee
This patch series REPLACES the following commits in Ralf's mips-for-linux-next branch: ab3e5d0647e3 Documentation: DT: Add entries for BCM3384 and its peripherals 1251d9964de5 MIPS: bcm3384: Initial commit of bcm3384 platform support aff366c68e5c MAINTAINERS: Add entry for BCM33xx cable chips

[PATCH V3 06/11] irqchip: bcm7120-l2: Change DT binding to allow non-contiguous IRQEN/IRQSTAT

2014-11-23 Thread Kevin Cernekee
To date, all supported controllers have had the IRQEN register at offset 0x00 and the IRQSTAT register at 0x04. So in DT we would typically see something like: reg = <0xf0406800 0x8>; We still want to support this format, but we also need to support cases where IRQEN and IRQSTAT aren't

[PATCH V3 07/11] irqchip: Add new driver for BCM7038-style level 1 interrupt controllers

2014-11-23 Thread Kevin Cernekee
This is the main peripheral IRQ controller on the BCM7xxx MIPS chips; it has the following characteristics: - 64 to 160+ level IRQs - Atomic set/clear registers - Reasonably predictable register layout (N status words, then N mask status words, then N mask set words, then N mask clear

[PATCH V3 05/11] irqchip: bcm7120-l2: Refactor driver for arbitrary IRQEN/IRQSTAT offsets

2014-11-23 Thread Kevin Cernekee
Currently the driver assumes that REG_BASE+0x00 is the IRQ enable mask, and REG_BASE+0x04 is the IRQ status mask. This is true on BCM3384 and BCM7xxx, but it is not true for some of the controllers found on BCM63xx chips. So we will change a couple of key assumptions: - Don't assume that both

[PATCH V3 09/11] MIPS: Fall back to the generic restart notifier

2014-11-23 Thread Kevin Cernekee
If the machine doesn't set its own _machine_restart callback, call the common do_kernel_restart() instead. This allows arch-independent reset drivers from drivers/power/reset/ to be used to reboot the machine. Signed-off-by: Kevin Cernekee --- arch/mips/kernel/reset.c | 2 ++ 1 file changed, 2

Re: [PATCH ftrace/core v6 4/5] kprobes: Set IPMODIFY flag only if the probe can change regs->ip

2014-11-23 Thread Masami Hiramatsu
(2014/11/22 5:15), Steven Rostedt wrote: > On Fri, 21 Nov 2014 05:25:30 -0500 > Masami Hiramatsu wrote: > >> Set FTRACE_OPS_FL_IPMODIFY flag only for the probes which can change >> regs->ip, which has kprobe->break_handler. >> Currently we can not put jprobe and another ftrace handler which >>

[PATCH V3 04/11] irqchip: bcm7120-l2: fix error handling of irq_of_parse_and_map

2014-11-23 Thread Kevin Cernekee
From: Dmitry Torokhov Return value of irq_of_parse_and_map() is unsigned int, with 0 indicating failure, so testing for negative result never works. Signed-off-by: Dmitry Torokhov Acked-by: Florian Fainelli Tested-by: Kevin Cernekee --- drivers/irqchip/irq-bcm7120-l2.c | 4 ++-- 1 file

[PATCH V3 11/11] MIPS: Add multiplatform BMIPS target

2014-11-23 Thread Kevin Cernekee
bmips_be_defconfig supports Linux running on the following CM and DSL SoCs: - BCM3384 (BMIPS5000) cable modem application processor, BE, SMP - BCM3384 (BMIPS4355) cable modem "spare CPU"*, BE - BCM6328 (BMIPS4355) ADSL chip, BE - BCM6368 (BMIPS4350) ADSL chip, BE, SMP *experimental; most

[PATCH V3 08/11] MIPS: Let __dt_register_buses accept a single bus type

2014-11-23 Thread Kevin Cernekee
Some machines only have one bus type to register (e.g. "simple-bus"). Signed-off-by: Kevin Cernekee --- arch/mips/kernel/prom.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/mips/kernel/prom.c b/arch/mips/kernel/prom.c index 452d4350ce42..e303cb1ef2f4 100644 ---

  1   2   3   4   5   6   7   >