[PATCH 08/11] ARM: dts: exynos: Fix DTC unit name warnings in Peach Pit

2016-03-31 Thread Krzysztof Kozlowski
Fix following DTC warnings in Exynos5420 Peach Pit: Warning (unit_address_vs_reg): Node /dp-controller@145B/ports/port@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /i2c@12CD/lvds-bridge@48/ports/port@0 has a unit name, but no reg property Warning (unit_addre

[PATCH 01/11] ARM: dts: exynos: Fix DTC unit name warnings in cros-adc-thermistors

2016-03-31 Thread Krzysztof Kozlowski
Fix following DTC warnings in cros-adc-thermistors: Warning (unit_address_vs_reg): Node /adc@12D1/ncp15wb473@3 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /adc@12D1/ncp15wb473@4 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /adc@12D1

[PATCH 04/11] ARM: dts: exynos: Fix DTC unit name warnings in Trats2 board

2016-03-31 Thread Krzysztof Kozlowski
Fix following DTC warnings in Trats2 board: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name Warning (unit_address_vs_reg): Node /i2c-gpio-1/max77693@66/regulators/ESAFEOUT1@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /i2

[PATCH 02/11] ARM: dts: exynos: Fix DTC unit name warnings in Exynos3250

2016-03-31 Thread Krzysztof Kozlowski
Fix following DTC warnings in Exynos3250 boards: Warning (unit_address_vs_reg): Node /soc/video-phy@10020710 has a unit name, but no reg property Signed-off-by: Krzysztof Kozlowski --- arch/arm/boot/dts/exynos3250.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ar

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread Richard Cochran
On Fri, Apr 01, 2016 at 12:33:32AM +0200, Richard Weinberger wrote: > From: David Gstir > > Implement the leftpad() system call such that userspace, > especially node.js applications, can in the near future directly > use it and no longer depend on fragile npm packages. > > Signed-off-by: David

Re: [GIT PULL] s390 patches for 4.6-rc2

2016-03-31 Thread Martin Schwidefsky
On Thu, 31 Mar 2016 14:29:09 -0500 Linus Torvalds wrote: > On Thu, Mar 31, 2016 at 8:26 AM, Martin Schwidefsky > wrote: > > > > I really would like to see the "s390/dasd: reorder lcu and device lock" go > > into 4.6 as the current solution is really ugly. But I'll remove the patch > > with the n

Re: [PATCH 15/18] ARM: vf610: PM: initial suspend/resume support

2016-03-31 Thread Stefan Agner
On 2016-03-31 19:25, Shawn Guo wrote: > On Wed, Mar 09, 2016 at 06:16:56PM -0800, Stefan Agner wrote: >> Add system suspend and resume support for Vybrid SoC. The standby >> sleep state puts the SoC in STOP mode. The SoC can be woken through >> an interrupt from GPC (Global Power Controller). The G

Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation

2016-03-31 Thread Laxman Dewangan
://github.com/0day-ci/linux/commits/Laxman-Dewangan/regulator-pwm-Try-to-avoid-voltage-error-in-duty-cycle-calculation/20160331-220703 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: i386-randconfig-a0-04010940 (attached as .config) reproduce: # save the

[tip:core/urgent] MAINTAINERS: Update my email address

2016-03-31 Thread tip-bot for Masami Hiramatsu
Commit-ID: 353def94606fda16d9ae1761b4b0583286481ec5 Gitweb: http://git.kernel.org/tip/353def94606fda16d9ae1761b4b0583286481ec5 Author: Masami Hiramatsu AuthorDate: Thu, 31 Mar 2016 22:33:23 +0900 Committer: Ingo Molnar CommitDate: Fri, 1 Apr 2016 08:35:51 +0200 MAINTAINERS: Update my e

[tip:x86/debug] x86/dumpstack: Combine some printk()s

2016-03-31 Thread tip-bot for Rasmus Villemoes
Commit-ID: 8fad7ec51e1b9e262e0bdd34e800ac1ea5e84dec Gitweb: http://git.kernel.org/tip/8fad7ec51e1b9e262e0bdd34e800ac1ea5e84dec Author: Rasmus Villemoes AuthorDate: Sat, 26 Mar 2016 21:40:16 +0100 Committer: Ingo Molnar CommitDate: Thu, 31 Mar 2016 15:33:03 +0200 x86/dumpstack: Combine

[tip:core/urgent] locking/lockdep: Print chain_key collision information

2016-03-31 Thread tip-bot for Alfredo Alvarez Fernandez
Commit-ID: 39e2e173fb1f900959d3a25c21c65fa88b06c6ee Gitweb: http://git.kernel.org/tip/39e2e173fb1f900959d3a25c21c65fa88b06c6ee Author: Alfredo Alvarez Fernandez AuthorDate: Wed, 30 Mar 2016 19:03:36 +0200 Committer: Ingo Molnar CommitDate: Thu, 31 Mar 2016 15:03:58 +0200 locking/lockde

Re: [PATCH 0/11] introduce down_write_killable for rw_semaphore

2016-03-31 Thread Ingo Molnar
* Andrew Morton wrote: > On Thu, 31 Mar 2016 11:20:05 +0200 Ingo Molnar wrote: > > > So AFAIK Andrew's tree is based on top of linux-next > > Not really true any more - I only base -mm patches on linux-next > patches when they must be based that way due to some known dependency. > > I can ce

Re: [PATCH v2] module: fix noreturn attribute for __module_put_and_exit()

2016-03-31 Thread Jiri Kosina
On Fri, 1 Apr 2016, Rusty Russell wrote: > >> __module_put_and_exit() is makred noreturn in module.h declaration, but is > >> lacking the attribute in the definition, which makes some tools (such as > >> sparse) unhappy. Amend the definition with the attribute as well (and > >> reformat the declar

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Dave Chinner
On Thu, Mar 31, 2016 at 09:25:33PM -0600, Jens Axboe wrote: > On 03/31/2016 06:46 PM, Dave Chinner wrote: > >>>virtio in guest, XFS direct IO -> no-op -> scsi in host. > >> > >>That has write back caching enabled on the guest, correct? > > > >No. It uses virtio,cache=none (that's the "XFS Direct IO

Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation

2016-03-31 Thread kbuild test robot
-avoid-voltage-error-in-duty-cycle-calculation/20160331-220703 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: i386-randconfig-a0-04010940 (attached as .config) reproduce: # save the attached .config to linux build tree make ARCH=i386

Re: Legal characters in encrypted fscrypto (f2fs/ext4) filename?

2016-03-31 Thread Theodore Ts'o
On Fri, Apr 01, 2016 at 01:00:18AM -0500, Eric Biggers wrote: > Hello, > > While reviewing the new filesystem encryption code, I was confused by the > intended set of legal characters in the printable form of an encrypted > filename. > > According to the actual code in fs/crypto/fname.c, the leg

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Dave Chinner
On Thu, Mar 31, 2016 at 09:39:25PM -0600, Jens Axboe wrote: > On 03/31/2016 09:29 PM, Jens Axboe wrote: > >>>I can't seem to reproduce this at all. On an nvme device, I get a > >>>fairly steady 60K/sec file creation rate, and we're nowhere near > >>>being IO bound. So the throttling has no effect a

Re: [PATCH] regulator: pwm: Try to avoid voltage error in duty cycle calculation

2016-03-31 Thread kbuild test robot
-avoid-voltage-error-in-duty-cycle-calculation/20160331-220703 base: https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next config: arm-multi_v7_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain

Re: [PATCH] kernfs: Move faulting copy_user operations outside of the mutex

2016-03-31 Thread Joonas Lahtinen
On to, 2016-03-31 at 13:15 -0700, Greg Kroah-Hartman wrote: > On Thu, Mar 31, 2016 at 08:30:05PM +0300, Joonas Lahtinen wrote: > > > > On to, 2016-03-31 at 12:49 -0400, Tejun Heo wrote: > > > > > > On Thu, Mar 31, 2016 at 11:45:06AM +0100, Chris Wilson wrote: > > > > > > > > > > > > A fault in

Re: [PATCH v1 3/4] ARM: dts: vfxxx: Add OCROM and phandle entries for Vybrid SoC bus driver

2016-03-31 Thread Shawn Guo
On Fri, Mar 11, 2016 at 02:29:30PM +0530, Sanchayan Maity wrote: > Add OCROM node and introduce phandles to OCROM, MSCM and NVMEM > OCOTP for use by the Vybrid SoC bus driver. > > Signed-off-by: Sanchayan Maity > --- > arch/arm/boot/dts/vfxxx.dtsi | 12 +++- > 1 file changed, 11 insertio

Legal characters in encrypted fscrypto (f2fs/ext4) filename?

2016-03-31 Thread Eric Biggers
Hello, While reviewing the new filesystem encryption code, I was confused by the intended set of legal characters in the printable form of an encrypted filename. According to the actual code in fs/crypto/fname.c, the legal characters are: a-zA-Z0-9+, Alternatively, according to the comm

RE: [PATCH 0/2] Export new VMCOREINFO about compound page

2016-03-31 Thread Atsushi Kumagai
Hello Andrew, >> This patch set is to follow up modifications of struct page for >> makedumpfile which filters dump file. >> It's necessary to filter unnecessary compound pages in newer kernel >> as usual. >> >> Incidentally, [PATCH 1/2] was post in: >> >> https://lkml.org/lkml/2016/1/27/92 >> >

[PATCH RESEND] smp: make wake up idle cpus more generic

2016-03-31 Thread Lianwei Wang
The wake_up_all_idle_cpus API always wake up all the online cpus, but sometimes we only want to wake up a set of cpus. Use a generic function to wake up a group of cpus that is specified by the cpumask parameter. This generic API can benefit to the cases that only need to wake up a set of cpus. S

Re: [PATCH v7 1/4] gadget: Introduce the usb charger framework

2016-03-31 Thread Felipe Balbi
Hi, Mark Brown writes: > On Thu, Mar 31, 2016 at 09:42:58AM +0300, Felipe Balbi wrote: >> Baolin Wang writes: > >> > I want to use bus structure to manage the charger device. Maybe choose >> > class to manage them? > >> I guess a class would fit better in this case. > > IIRC Greg didn't want ne

[PATCH V3 9/9] iommu/amd: Set AMD iommu callbacks for amba bus

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun AMD Uart DMA belongs to ACPI HID type device, and its driver is basing on AMBA Bus, need also IOMMU support. This patch is just to set the AMD iommu callbacks for amba bus. Signed-off-by: Wan Zongshun --- drivers/iommu/amd_iommu.c | 13 - 1 file changed, 12 inse

[PATCH V3 2/9] iommu/amd: Modify ivhd_header structure to support type 11h and 40h

2016-03-31 Thread Wan Zongshun
From: Suravee Suthikulpanit This patch modifies the existing struct ivhd_header, which currently only support IVHD type 0x10, to add new fields from IVHD type 11h and 40h. It also modifies the pointer calculation to allow support for IVHD type 11h and 40h Signed-off-by: Suravee Suthikulpanit -

[PATCH V3 4/9] iommu/amd: Add new map for storing IVHD dev entry type HID

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun This patch introduces acpihid_map, which is used to store the new IVHD device entry extracted from BIOS IVRS table. It also provides a utility function add_acpi_hid_device(), to add this types of devices to the map. Signed-off-by: Wan Zongshun Signed-off-by: Suravee Suthikul

[PATCH V3 0/9] iommu/amd: enable ACPI hardware ID device support

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun There are some devices indentified using ACPI HID format in AMD chip. This patch series enable iommu support for those ACPI HID device, since the existing AMD iommu only supports PCI bus based device. The latest public version of AMD IOMMU specification that describes the sup

Re: [PATCH] smp: make wake up idle cpus more generic

2016-03-31 Thread Lianwei Wang
Sorry, my fault. I made a typo mistake when sending the patch. I will fix it and resend the patch. On Thu, Mar 31, 2016 at 1:24 AM, kbuild test robot wrote: > Hi Lianwei, > > [auto build test ERROR on pm/linux-next] > [also build test ERROR on v4.6-rc1 next-20160331] > [if your p

Re: Getting rid of inside_vm in intel8x0

2016-03-31 Thread Takashi Iwai
On Fri, 01 Apr 2016 00:26:18 +0200, Luis R. Rodriguez wrote: > > On Wed, Mar 30, 2016 at 08:07:04AM +0200, Takashi Iwai wrote: > > On Tue, 29 Mar 2016 23:37:32 +0200, > > Andy Lutomirski wrote: > > > > > > Would it be possible to revert: > > > > > > commit 228cf79376f13b98f2e1ac10586311312757675

[PATCH V3 5/9] iommu/amd: Introduces ivrs_acpihid kernel parameter

2016-03-31 Thread Wan Zongshun
From: Suravee Suthikulpanit This patch introduces a new kernel parameter, ivrs_acpihid. This is used to override existing ACPI-HID IVHD device entry, or add an entry in case it is missing in the IVHD. Signed-off-by: Wan Zongshun Signed-off-by: Suravee Suthikulpanit --- Documentation/kernel-pa

[PATCH V3 7/9] iommu/amd: Add iommu support for ACPI HID devices

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun Current IOMMU driver make assumption that the downstream devices are PCI. With the newly added ACPI-HID IVHD device entry support, this is no longer true. This patch is to add dev type check and to distinguish the pci and acpihid device code path. Signed-off-by: Wan Zongshun

[PATCH V3 6/9] iommu/amd: Make call-sites of get_device_id aware of its return value

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun This patch is to make the call-sites of get_device_id aware of its return value. Signed-off-by: Wan Zongshun --- drivers/iommu/amd_iommu.c | 51 +-- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/drivers/iommu/amd_

[PATCH V3 8/9] iommu/amd: Manage iommu_group for ACPI HID devices

2016-03-31 Thread Wan Zongshun
From: Wan Zongshun This patch creates a new function for finding or creating an IOMMU group for acpihid(ACPI Hardware ID) device. The acpihid devices with the same devid will be put into same group and there will have the same domain id and share the same page table. Signed-off-by: Wan Zongshun

[PATCH V3 3/9] iommu/amd: Use the most comprehensive IVHD type that the driver can support

2016-03-31 Thread Wan Zongshun
From: Suravee Suthikulpanit The IVRS in more recent AMD system usually contains multiple IVHD block types (e.g. 0x10, 0x11, and 0x40) for each IOMMU. The newer IVHD types provide more information (e.g. new features specified in the IOMMU spec), while maintain compatibility with the older IVHD typ

[PATCH V3 1/9] iommu/amd: Adding Extended Feature Register check for PC support

2016-03-31 Thread Wan Zongshun
From: Suravee Suthikulpanit The IVHD header type 11h and 40h introduce the PCSup bit in the EFR Register Image bit fileds. This should be used to determine the IOMMU performance support instead of relying on the PNCounters and PNBanks. Note also that the PNCouters and PNBanks bits in the IOMMU a

[PATCH] autofs: don't stuck in a loop if vfs_write returns an error

2016-03-31 Thread Andrey Vagin
From: Andrey Vagin __vfs_write() returns a negative value in a error case. Cc: Ian Kent Signed-off-by: Andrey Vagin --- fs/autofs4/waitq.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/autofs4/waitq.c b/fs/autofs4/waitq.c index 0146d91..631f155 100644 --- a/fs/

RE: [RFC PATCH 02/10] acpi: install SSDT tables from initrd

2016-03-31 Thread Zheng, Lv
Hi, IMO, there is already a similar function upstreamed: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=c85cc81 Could it work for your use case? > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Octavian Purdila > Subjec

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Dave Chinner
On Thu, Mar 31, 2016 at 09:29:30PM -0600, Jens Axboe wrote: > On 03/31/2016 06:56 PM, Dave Chinner wrote: > >I'm not changing the host kernels - it's a production machine and so > >it runs long uptime testing of stable kernels. (e.g. catch slow > >memory leaks, etc). So if you've disabled throttli

RE: [RFC PATCH 10/10] acpi: add support for loading SSDTs via configfs

2016-03-31 Thread Zheng, Lv
Hi, > From: linux-acpi-ow...@vger.kernel.org [mailto:linux-acpi- > ow...@vger.kernel.org] On Behalf Of Octavian Purdila > Subject: [RFC PATCH 10/10] acpi: add support for loading SSDTs via configfs > > Add support for acpi_user_table configfs items that allows the user to > load new tables. The d

Re: [PATCH net-next 1/6] net: skbuff: don't use union for napi_id and sender_cpu

2016-03-31 Thread Jason Wang
On 04/01/2016 10:55 AM, Eric Dumazet wrote: > On Fri, 2016-04-01 at 10:13 +0800, Jason Wang wrote: > > >> The problem is we want to support busy polling for tun. This needs >> napi_id to be passed to tun socket by sk_mark_napi_id() during >> tun_net_xmit(). But before reaching this, XPS will set

[PATCH] x86: Calculate MHz using APERF/MPERF for cpuinfo and scaling_cur_freq

2016-03-31 Thread Len Brown
From: Len Brown For x86 processors with APERF/MPERF and TSC, return meaningful and consistent MHz in /proc/cpuinfo and /sys/devices/system/cpu/cpu*/cpufreq/scaling_cur_freq MHz is computed like so: MHz = base_MHz * delta_APERF / delta_MPERF MHz is the average frequency of the busy processor ov

linux-next: Tree for Apr 1

2016-03-31 Thread Stephen Rothwell
Hi all, Changes since 20160331: My fixes tree contains: perf tools: Fix build break on powerpc The qcom tree gained a build failure so I used the version from next-20160331. The pm tree gained a build failure so I used the verison from next-20160331. The gpio tree lost its build failure

Re: [media 2/8] NXP tda2014x & Newport Media nm120/130/131 tuner (PXQ3PE)

2016-03-31 Thread kbuild test robot
Hi Буди, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/info-are-ma/DVB-driver-for-Earthsoft

Re: [media 7/8] PCIE bridge driver for PT3 & PX-Q3PE

2016-03-31 Thread kbuild test robot
Hi Буди, [auto build test WARNING on linuxtv-media/master] [also build test WARNING on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/info-are-ma/DVB-driver-for

Re: [media 2/8] NXP tda2014x & Newport Media nm120/130/131 tuner (PXQ3PE)

2016-03-31 Thread kbuild test robot
Hi Буди, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/info-are-ma/DVB-driver-for-Earthsoft

[git pull] drm fixes

2016-03-31 Thread Dave Airlie
Hi Linus, Nothing too crazy in here, a bunch of AMD fixes/quirks, two msm, some rockchip fixes, and a udl warning fix, along with one locking fix for displayport that seems to fix some dodgy monitors. Thanks, Dave. The following changes since commit c05c2ec96bb8b7310da1055c7b9d786a3ec6dc0c:

Re: Re: [PATCH] zram: revive swap_slot_free_notify

2016-03-31 Thread Kyeongdon Kim
On Mon, Mar 28, 2016 at 11:30:56PM +0900, Minchan Kim wrote: > On Fri, Mar 18, 2016 at 04:58:31PM +0900, Minchan Kim wrote: >> "remove compressed copy from zram in-memory" >> applied swap_slot_free_notify call in *end_swap_bio_read* to >> remove duplicated memory between zram and memory. >> >> How

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-31 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com] > Sent: Thursday, March 31, 2016 8:07 PM > To: Rajesh Bhagat > Cc: gre...@linuxfoundation.org; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org; Sriram Dash > Subject: Re: [PATCH] usb: xhci: Fix

[PATCH] perf tools: Fix build errors on tsc functions for archs other than x86

2016-03-31 Thread He Kuang
Build errors on aarch64: libperf.a(libperf-in.o): In function `convert_timestamp': util/jitdump.c:356: undefined reference to `tsc_to_perf_time' collect2: error: ld returned 1 exit status Makefile.perf:347: recipe for target 'perf' failed make[1]: *** [perf] Error 1 Makefile:68: recipe

Re: [PATCH v3 0/3] Rockchip: rk3399: Add core dtsi for rk3399

2016-03-31 Thread Xing Zheng
Hi Heiko, I also updated some clock patches for RK3399 recently, and I will continue to update clock patches_V7 in future. Please note them. :-) Thanks. On 2016年04月01日 11:23, Heiko Stuebner wrote: Hi Jianqun, Am Freitag, 1. April 2016, 10:55:09 schrieb jay.xu: After talking with xing, w

Re: linux-next: manual merge of the tty tree with the tty.current tree

2016-03-31 Thread Greg KH
On Thu, Mar 31, 2016 at 05:23:27PM -0700, Peter Hurley wrote: > On Sun, Feb 7, 2016 at 6:21 PM, Greg KH wrote: > > On Mon, Feb 08, 2016 at 01:16:29PM +1100, Stephen Rothwell wrote: > >> Hi Greg, > >> > >> Today's linux-next merge of the tty tree got a conflict in: > >> > >> drivers/tty/tty_io.c

Re: [media 7/8] PCIE bridge driver for PT3 & PX-Q3PE

2016-03-31 Thread kbuild test robot
Hi Буди, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/info-are-ma/DVB-driver-for-Earthsoft

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Jens Axboe
On 03/31/2016 09:29 PM, Jens Axboe wrote: I can't seem to reproduce this at all. On an nvme device, I get a fairly steady 60K/sec file creation rate, and we're nowhere near being IO bound. So the throttling has no effect at all. That's too slow to show the stalls - your likely concurrency bound

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Jens Axboe
On 03/31/2016 09:29 PM, Jens Axboe wrote: I'm not changing the host kernels - it's a production machine and so it runs long uptime testing of stable kernels. (e.g. catch slow memory leaks, etc). So if you've disabled throttling in the guest, I can't test the throttling changes. Right, that'd d

[v7, 2/5] soc: fsl: add GUTS driver for QorIQ platforms

2016-03-31 Thread Yangbo Lu
The global utilities block controls power management, I/O device enabling, power-onreset(POR) configuration monitoring, alternate function selection for multiplexed signals,and clock control. This patch adds GUTS driver to manage and access global utilities block. Signed-off-by: Yangbo Lu --- Ch

Re: [PATCH 2/2] gpiolib: Defer gpio device setup until after gpiolib initialization

2016-03-31 Thread Guenter Roeck
On 03/31/2016 06:33 PM, Greg Ungerer wrote: On 01/04/16 10:53, Guenter Roeck wrote: On Fri, Apr 01, 2016 at 10:29:11AM +1000, Greg Ungerer wrote: Hi Guenter, On 01/04/16 01:11, Guenter Roeck wrote: Since commit ff2b13592299 ("gpio: make the gpiochip a real device"), attempts to add a gpio chi

Re: [PATCH v2] vfs: constify arguments to utime family of system calls

2016-03-31 Thread Al Viro
On Thu, Mar 31, 2016 at 09:24:57PM -0500, Eric Biggers wrote: > I feel it's a small improvement as it reduces the chance of bugs. However, if > you look at all the system calls, they are, in general, inconsistent about > using > 'const'. So may be right that changing just a few isn't worthwhile

[RFC PATCH] genirq: Change the non-balanced irq to balance irq when the cpu of the irq bounded off line

2016-03-31 Thread MaJun
From: Ma Jun When the CPU of a non-balanced irq bounded is off line, the irq will be migrated to other CPUs, usually the first cpu on-line. We can suppose the situation if a system has more than one non-balanced irq. At extreme case, these irqs will be migrated to the same CPU and will cause th

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Jens Axboe
On 03/31/2016 06:56 PM, Dave Chinner wrote: On Thu, Mar 31, 2016 at 10:21:04AM -0600, Jens Axboe wrote: On 03/31/2016 08:29 AM, Jens Axboe wrote: What I see in these performance dips is the XFS transaction subsystem stalling *completely* - instead of running at a steady state of around 350,000

Re: [PATCHSET v3][RFC] Make background writeback not suck

2016-03-31 Thread Jens Axboe
On 03/31/2016 06:46 PM, Dave Chinner wrote: On Thu, Mar 31, 2016 at 08:29:35AM -0600, Jens Axboe wrote: On 03/31/2016 02:24 AM, Dave Chinner wrote: On Wed, Mar 30, 2016 at 09:07:48AM -0600, Jens Axboe wrote: Hi, This patchset isn't as much a final solution, as it's demonstration of what I bel

Re: [PATCH v3 0/3] Rockchip: rk3399: Add core dtsi for rk3399

2016-03-31 Thread Heiko Stuebner
Hi Jianqun, Am Freitag, 1. April 2016, 10:55:09 schrieb jay.xu: > After talking with xing, we plan to summit dtsi after xing's patches are > applied, > and I will update the patch for rk3399 core dtsi quickly Not sure if you have seen it, but I picked up Xing's most recent clock patches already

[PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-03-31 Thread Thiago Jung Bauermann
In the ppc64 big endian ABI, function symbols point to function descriptors. The symbols which point to the function entry points have a dot in front of the function name. Consequently, when the ftrace filter mechanism searches for the symbol corresponding to an entry point address, it gets the dot

Re: [PATCH] Implement leftpad syscall

2016-03-31 Thread kbuild test robot
Hi David, [auto build test ERROR on v4.6-rc1] [also build test ERROR on next-20160331] [cannot apply to tip/x86/core] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Richard-Weinberger

[v7, 4/5] powerpc/fsl: move mpc85xx.h to include/linux/fsl

2016-03-31 Thread Yangbo Lu
Move mpc85xx.h to include/linux/fsl and rename it to svr.h as a common header file. It has been used for mpc85xx and it will be used for ARM-based SoC as well. Signed-off-by: Yangbo Lu Acked-by: Wolfram Sang --- Changes for v2: - None Changes for v3: - None Changes for v4:

[v7, 5/5] mmc: sdhci-of-esdhc: fix host version for T4240-R1.0-R2.0

2016-03-31 Thread Yangbo Lu
The eSDHC of T4240-R1.0-R2.0 has incorrect vender version and spec version. Acturally the right version numbers should be VVN=0x13 and SVN = 0x1. This patch adds the GUTS driver support for eSDHC driver to get SVR(System version register). And fix host version to avoid that incorrect version number

[v7, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-31 Thread Yangbo Lu
Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ since it's used by not only PowerPC but also ARM. And add a specification for 'little-endian' property. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: - Added

[v7, 1/5] ARM64: dts: ls2080a: add device configuration node

2016-03-31 Thread Yangbo Lu
Add the dts node for device configuration unit that provides general purpose configuration and status for the device. Signed-off-by: Yangbo Lu --- Changes for v2: - None Changes for v3: - None Changes for v4: - None Changes for v5: - Added this patch Changes for v6

[v7, 0/5] Fix eSDHC host version register bug

2016-03-31 Thread Yangbo Lu
This patchset is used to fix a host version register bug in the T4240-R1.0-R2.0 eSDHC controller. To get the SoC version and revision, it's needed to add the GUTS driver to access the global utilities registers. So, the first three patches are to add the GUTS driver. The following two patches are

Re: [PATCH 4/4] mtd: provide helper to prepare buffers for DMA operations

2016-03-31 Thread kbuild test robot
Hi Boris, [auto build test ERROR on spi/for-next] [also build test ERROR on v4.6-rc1 next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Boris-Brezillon/scatterlist-sg_table-from

Re: [PATCH for-4.4 1/2] mtd: spi-nor: fix Spansion regressions (aliased with Winbond)

2016-03-31 Thread James Cameron
On Wed, Mar 30, 2016 at 02:47:48PM +0200, Cyrille Pitchen wrote: > Hi all, > > [...] > > But this is interesting: I see the latest datasheet for Spansion > > s25fl064k says it supports the Block Protect bits in the Status > > Register, so presumably *some* version of s25fl064k should support > >

Re: [PATCH v3 0/3] Rockchip: rk3399: Add core dtsi for rk3399

2016-03-31 Thread jay.xu
Hi Heiko: After talking with xing, we plan to summit dtsi after xing's patches are applied, and I will update the patch for rk3399 core dtsi quickly Best regards Jianqun Xu On 2016年04月01日 05:48, Heiko Stuebner wrote: Hi Jianqun, Am Dienstag, 1. März 2016, 14:39:58 schrieb Jianqun Xu: There

Re: [PATCH 2/2] ARM: delete "*Image is ready" log

2016-03-31 Thread Masahiro Yamada
Hi Russell, 2016-04-01 1:53 GMT+09:00 Russell King - ARM Linux : > On Fri, Apr 01, 2016 at 01:43:02AM +0900, Masahiro Yamada wrote: >> Commit 3939f3345050 ("ARM: 8418/1: add boot image dependencies to not >> generate invalid images") fixed bad image generation in case of >> parallel building, but

Re: [PATCH net-next 1/6] net: skbuff: don't use union for napi_id and sender_cpu

2016-03-31 Thread Eric Dumazet
On Fri, 2016-04-01 at 10:13 +0800, Jason Wang wrote: > > The problem is we want to support busy polling for tun. This needs > napi_id to be passed to tun socket by sk_mark_napi_id() during > tun_net_xmit(). But before reaching this, XPS will set sender_cpu will > make us can't see correct napi_i

Re: [PATCH] ASoC: mediatek: Add second I2S on mt8173-rt5650 machine driver

2016-03-31 Thread PC Liao
Hi Mark, On Wed, 2016-03-30 at 00:07 +0800, Mark Brown wrote: > On Tue, Mar 29, 2016 at 09:28:23PM +0800, PC Liao wrote: > > > - mediatek,rt5650_i2s: I2S mode of rt5650 > > 0: Default setting. Playback and record path use same set of I2S. > > Playback/Record path using same I2S clock connect from

Re: [PATCH 4/4] efi: A misc char interface to update EFI firmware

2016-03-31 Thread deckard
On Thu, 2016-03-17 at 12:57 +, Matt Fleming wrote: > Tested with Intel Quark Galileo GEN1 platform. + * If the capsule is successfully submitted to the firmware, any + * subsequent calls to efi_capsule_pending() will return true. @pages + * must not be released or modified if this function ret

[PATCH] i2c: designware: do not disable adapter after transfer

2016-03-31 Thread Lucas De Marchi
From: Lucas De Marchi Disabling the adapter after each transfer is pretty bad for sensors and other devices doing small transfers at a high rate. It slows down the transfer rate a lot since each of them have to wait the adapter to be enabled again. It was done in order to avoid the adapter to ge

Re: [PATCH] iov_iter: Fix out-of-bound access in iov_iter_advance()

2016-03-31 Thread kbuild test robot
Hi Takashi, [auto build test WARNING on v4.6-rc1] [also build test WARNING on next-20160331] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Takashi-Iwai/iov_iter-Fix-out-of-bound-access-in

Re: [PATCH net-next 1/6] net: skbuff: don't use union for napi_id and sender_cpu

2016-03-31 Thread Jason Wang
On 04/01/2016 04:01 AM, David Miller wrote: > From: Eric Dumazet > Date: Thu, 31 Mar 2016 03:32:21 -0700 > >> On Thu, 2016-03-31 at 13:50 +0800, Jason Wang wrote: >>> We use a union for napi_id and send_cpu, this is ok for most of the >>> cases except when we want to support busy polling for tun

Re: [PATCH v1 2/2] rockchip: power-domain: support qos save and restore

2016-03-31 Thread Elaine Zhang
hi, Heiko I agree with most of your modifications. Except, the u32 *qos_save_regs below On 04/01/2016 12:31 AM, Heiko Stuebner wrote: Hi Elaine, Am Freitag, 18. März 2016, 15:17:24 schrieb Elaine Zhang: support qos save and restore when power domain on/off. Signed-off-by: Elaine Zhang ov

[PATCH 1/2] mm: Refactor find_get_pages() & friends

2016-03-31 Thread Kent Overstreet
Collapse redundant implementations of various gang pagecache lookup - this is also prep work for pagecache iterators, in the next patch. This gives us a single common interface (__find_get_pages()) that the pagecache iterator will make use of. Signed-off-by: Kent Overstreet Cc: Al Viro --- incl

[PATCH 2/2] mm: Real pagecache iterators

2016-03-31 Thread Kent Overstreet
Introduce for_each_pagecache_page() and related macros, with the goal of replacing most/all uses of pagevec_lookup(). For the most part this shouldn't be a functional change. The one functional difference with the new macros is that they now take an @end parameter, so we're able to avoid grabbing

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Eduardo Valentin
On Thu, Mar 31, 2016 at 12:43:22AM -0600, Jonathan Corbet wrote: > On Tue, 22 Mar 2016 12:37:25 + > Andy Champ wrote: > > > There are several places where the English in the document is syntactically > > invalid, or unclear. There are also one or two factual errors. > > I went to apply this

Re: [PATCH] mm: Refactor find_get_pages() & friends

2016-03-31 Thread Kent Overstreet
On Tue, Mar 29, 2016 at 02:29:11PM -0700, Andrew Morton wrote: > On Tue, 8 Mar 2016 16:16:43 -0900 Kent Overstreet > wrote: > > > Collapse redundant implementations of various gang pagecache lookup - this > > is > > also prep work for pagecache iterator work > > Patch looks nice. Unfortunatel

Re: [RFC][PATCH] mm/slub: Skip CPU slab activation when debugging

2016-03-31 Thread Joonsoo Kim
On Mon, Mar 28, 2016 at 03:53:01PM -0700, Laura Abbott wrote: > The per-cpu slab is designed to be the primary path for allocation in SLUB > since it assumed allocations will go through the fast path if possible. > When debugging is enabled, the fast path is disabled and per-cpu > allocations are n

Re: [PATCH 15/18] ARM: vf610: PM: initial suspend/resume support

2016-03-31 Thread Shawn Guo
On Wed, Mar 09, 2016 at 06:16:56PM -0800, Stefan Agner wrote: > Add system suspend and resume support for Vybrid SoC. The standby > sleep state puts the SoC in STOP mode. The SoC can be woken through > an interrupt from GPC (Global Power Controller). The GPC can use any > interrupt as wake-up sourc

Re: [PATCH v2] vfs: constify arguments to utime family of system calls

2016-03-31 Thread Eric Biggers
On Fri, Apr 01, 2016 at 03:05:24AM +0100, Al Viro wrote: > On Thu, Mar 31, 2016 at 08:51:12PM -0500, Eric Biggers wrote: > > The system calls to set file times: utime(), utimes(), futimesat(), and > > utimensat(), all take in pointers to a filename and time information, > > neither of which is modi

Re: [PATCH 01/11] mm/slab: hold a slab_mutex when calling __kmem_cache_shrink()

2016-03-31 Thread Joonsoo Kim
On Thu, Mar 31, 2016 at 01:53:14PM +0300, Nikolay Borisov wrote: > > > On 03/28/2016 08:26 AM, js1...@gmail.com wrote: > > From: Joonsoo Kim > > > > Major kmem_cache metadata in slab subsystem is synchronized with > > the slab_mutex. In SLAB, if some of them is changed, node's shared > > array

Re: [PATCH net-next 1/6] net: skbuff: don't use union for napi_id and sender_cpu

2016-03-31 Thread Jason Wang
On 03/31/2016 06:32 PM, Eric Dumazet wrote: > On Thu, 2016-03-31 at 13:50 +0800, Jason Wang wrote: >> We use a union for napi_id and send_cpu, this is ok for most of the >> cases except when we want to support busy polling for tun which needs >> napi_id to be stored and passed to socket during tu

[PATCH 2/4] mm/page_alloc: correct highmem memory statistics

2016-03-31 Thread js1304
From: Joonsoo Kim ZONE_MOVABLE could be treated as highmem so we need to consider it for accurate statistics. And, in following patches, ZONE_CMA will be introduced and it can be treated as highmem, too. So, instead of manually adding stat of ZONE_MOVABLE, looping all zones and check whether the

[PATCH 4/4] mm/vmstat: make node_page_state() handles all zones by itself

2016-03-31 Thread js1304
From: Joonsoo Kim node_page_state() manually add statistics per each zone and return total value for all zones. Whenever we add a new zone, we need to consider this function and it's really troublesome. Make it handles all zones by itself. Signed-off-by: Joonsoo Kim --- mm/vmstat.c | 18 ++

[PATCH 1/4] mm/writeback: correct dirty page calculation for highmem

2016-03-31 Thread js1304
From: Joonsoo Kim ZONE_MOVABLE could be treated as highmem so we need to consider it for accurate calculation of dirty pages. And, in following patches, ZONE_CMA will be introduced and it can be treated as highmem, too. So, instead of manually adding stat of ZONE_MOVABLE, looping all zones and ch

[PATCH 3/4] mm/highmem: make nr_free_highpages() handles all highmem zones by itself

2016-03-31 Thread js1304
From: Joonsoo Kim nr_free_highpages() manually add statistics per each highmem zone and return total value for them. Whenever we add a new highmem zone, we need to consider this function and it's really troublesome. Make it handles all highmem zones by itself. Signed-off-by: Joonsoo Kim --- mm

[PATCH v2 3/5] mm/vmstat: add zone range overlapping check

2016-03-31 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. There are two places in vmstat.c that iterates pfn range and they don't consider this overlapping. Add

[PATCH v2 4/5] mm/page_owner: add zone range overlapping check

2016-03-31 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. There are one place in page_owner.c that iterates pfn range and it doesn't consider this overlapping.

[PATCH v2 2/5] mm/memory_hotplug: add comment to some functions related to memory hotplug

2016-03-31 Thread js1304
From: Joonsoo Kim __offline_isolated_pages() and test_pages_isolated() are used by memory hotplug. These functions require that range is in a single zone but there is no code about it because memory hotplug checks it before calling these functions. Not to confuse future user of these functions, t

[PATCH v2 5/5] power: add zone range overlapping check

2016-03-31 Thread js1304
From: Joonsoo Kim There is a system that node's pfn are overlapped like as following. -pfn> N0 N1 N2 N0 N1 N2 Therefore, we need to care this overlapping when iterating pfn range. mark_free_pages() iterates requested zone's pfn range and unset all range's bitmap first. And then it

[PATCH v2 1/5] mm/hugetlb: add same zone check in pfn_range_valid_gigantic()

2016-03-31 Thread js1304
From: Joonsoo Kim alloc_gigantic_page() uses alloc_contig_range() and this requires that requested range is in a single zone. To satisfy that requirement, add this check to pfn_range_valid_gigantic(). Acked-by: Vlastimil Babka Signed-off-by: Joonsoo Kim --- mm/hugetlb.c | 9 ++--- 1 file

[PATCH v2 0/5] Add zone overlapping check

2016-03-31 Thread js1304
From: Joonsoo Kim Change from v1 o drop patch 1 ("mm/page_alloc: fix same zone check in __pageblock_pfn_to_page()") per Mel's comment Hello, all. This patchset deals with some problematic sites that iterate pfn range. There is a system that node's pfn are overlapped like as following. -pf

Re: [PATCH 2/4] ARM: bcm2835: Enable CONFIG_PM.

2016-03-31 Thread Stephen Warren
On 03/31/2016 06:30 PM, Eric Anholt wrote: The power domain driver we've enabled doesn't actually do anything without it, and we need it to do its job for VC4 to initialize successfully. Patches 1, 2, and 3, Acked-by: Stephen Warren

  1   2   3   4   5   6   7   8   9   10   >