Re: [Xen-devel] [PATCH 6/8] video/xen-fbfront: Further s/MFN/GFN clean-up

2015-07-28 Thread David Vrabel
On 28/07/15 16:02, Julien Grall wrote: > The PV driver xen-fbfront is only dealing with GFN and not MFN. Rename > all the occurence of MFN to GFN. > > Also take the opportunity to replace to usage of pfn_to_gfn by > page_to_pfn. Reviewed-by: David Vrabel David -- To unsubscribe from this list:

Re: [Xen-devel] [PATCH 4/8] xen: Use the correctly the Xen memory terminologies

2015-07-28 Thread David Vrabel
On 28/07/15 16:02, Julien Grall wrote: > Based on include/xen/mm.h [1], Linux is mistakenly using MFN when GFN > is meant, I suspect this is because the first support for Xen was for > PV. This brough some misimplementation of helpers on ARM and make the > developper confused the expected behavior.

Re: [Xen-devel] [PATCH 7/8] hvc/xen: Further s/MFN/GFN clean-up

2015-07-28 Thread David Vrabel
On 28/07/15 16:02, Julien Grall wrote: > HVM_PARAM_CONSOLE_PFN is used to retrieved the console PFN for HVM > guest. It returns a PFN (aka GFN) and not a MFN. > > Furthermore, use directly virt_to_gfn for both PV and HVM domain rather > than doing a special case for each of the them. Reviewed-by:

Re: [PATCH RFC 1/1] Documentation: describe how to add a system call

2015-07-28 Thread Kees Cook
On Tue, Jul 28, 2015 at 10:13 AM, David Drysdale wrote: > On Tue, Jul 28, 2015 at 5:43 PM, Kees Cook wrote: >> On Tue, Jul 28, 2015 at 4:41 AM, David Drysdale wrote: >>> Add a document describing the process of adding a new system call, >>> including the need for a flags argument for future comp

Re: [RFC PATCH 03/14] kthread: Add drain_kthread_worker()

2015-07-28 Thread Tejun Heo
Hello, On Tue, Jul 28, 2015 at 04:39:20PM +0200, Petr Mladek wrote: > +/* > + * Test whether @work is being queued from another work > + * executing on the same kthread. > + */ > +static bool is_chained_work(struct kthread_worker *worker) > +{ > + struct kthread_worker *current_worker; > + > +

Re: [PATCH 5/9] x86/intel_rdt: Add new cgroup and Class of service management

2015-07-28 Thread Peter Zijlstra
On Wed, Jul 01, 2015 at 03:21:06PM -0700, Vikas Shivappa wrote: > static int __init intel_rdt_late_init(void) > { > struct cpuinfo_x86 *c = &boot_cpu_data; > + static struct clos_cbm_map *ccm; > + u32 maxid, max_cbm_len; > + size_t sizeb; Why 'sizeb' ? 'size' is still available

Re: [Xen-devel] [PATCH 8/8] xen/privcmd: Further s/MFN/GFN/ clean-up

2015-07-28 Thread David Vrabel
On 28/07/15 16:02, Julien Grall wrote: > The privcmd code is mixing the usage of GFN and MFN within the same > functions which make the code difficult to understand when you only work > with auto-translated guests. > > The privcmd driver is only dealing with GFN so replace all the mention > of MFN

Re: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-07-28 Thread Dmitry Torokhov
On Tue, Jul 28, 2015 at 09:40:19AM +0100, Lee Jones wrote: > On Mon, 27 Jul 2015, Dmitry Torokhov wrote: > > > On Mon, Jul 27, 2015 at 03:43:00PM -0700, Dmitry Torokhov wrote: > > > On Thu, Jul 23, 2015 at 05:17:41PM +0100, S Twiss wrote: > > > > From: S Twiss > > > > > > > > Add device tree bin

Re: [PATCH -v2 6/8] jump_label: Add a new static_key interface

2015-07-28 Thread Peter Zijlstra
On Tue, Jul 28, 2015 at 07:00:55PM +0200, Rabin Vincent wrote: > > This is missing an include of asm/unified.h for the WASM(): > > diff --git a/arch/arm/include/asm/jump_label.h > b/arch/arm/include/asm/jump_label.h > index f8bc12f..34f7b69 100644 > --- a/arch/arm/include/asm/jump_label.h > +++

[PATCH] x86, fpu: correct XSAVE xstate size calculation

2015-07-28 Thread Dave Hansen
From: Dave Hansen Note: our xsaves support is currently broken and disabled. This patch does not fix it, but it is an incremental improvement. It might be useful to someone backporting the entire set of XSAVES patches at some point, but it should not be backported alone. There are currently t

Re: [RFC PATCH 05/14] kthread: Add wakeup_and_destroy_kthread_worker()

2015-07-28 Thread Tejun Heo
Hello, On Tue, Jul 28, 2015 at 04:39:22PM +0200, Petr Mladek wrote: ... > +void wakeup_and_destroy_kthread_worker(struct kthread_worker *worker) > +{ > + struct task_struct *task = worker->task; > + > + if (WARN_ON(!task)) > + return; > + > + spin_lock_irq(&worker->lock); >

RE: [RFC 0/2] VFIO: Add virtual MSI doorbell support.

2015-07-28 Thread Bhushan Bharat
Hi Alex, > -Original Message- > From: Alex Williamson [mailto:alex.william...@redhat.com] > Sent: Tuesday, July 28, 2015 9:52 PM > To: Pranavkumar Sawargaonkar > Cc: k...@vger.kernel.org; kvm...@lists.cs.columbia.edu; linux-arm- > ker...@lists.infradead.org; linux-kernel@vger.kernel.org; >

Re: [PATCH] of/irq: introduce of_has_named_irqs helper

2015-07-28 Thread Dmitry Torokhov
On Tue, Jul 28, 2015 at 06:53:52PM +0530, Vignesh R wrote: > Hi Dmitry, > > On 07/25/2015 01:46 AM, Dmitry Torokhov wrote: > > On Fri, Jul 24, 2015 at 12:26:19PM -0700, Dmitry Torokhov wrote: > >> On Fri, Jul 24, 2015 at 02:14:57PM -0500, Rob Herring wrote: > >>> On Fri, Jul 24, 2015 at 1:26 PM, D

Re: [PATCH] perf, tools, stat: Fix perf stat -T

2015-07-28 Thread Andi Kleen
> > I'm not talking about it being urgent or not, I'm talking about it being > > a bug present only in perf/core or if this is something that is in > > perf/urgent, i.e. affects what is in Linus's upstream tree, etc. > > ah ok, it affects perf/urgent as well I think there are some more typos in t

Re: [RFC 0/2] VFIO: Add virtual MSI doorbell support.

2015-07-28 Thread Alex Williamson
On Tue, 2015-07-28 at 17:55 +0100, Marc Zyngier wrote: > Hi Alex, > > On 28/07/15 17:21, Alex Williamson wrote: > > On Fri, 2015-07-24 at 14:33 +0530, Pranavkumar Sawargaonkar wrote: > >> In current VFIO MSI/MSI-X implementation, linux host kernel > >> allocates MSI/MSI-X vectors when userspace re

Re: [RFC PATCH 06/14] kthread: Add kthread_worker_created()

2015-07-28 Thread Tejun Heo
Hello, On Tue, Jul 28, 2015 at 04:39:23PM +0200, Petr Mladek wrote: > I would like to make cleaner kthread worker API and hide the definition > of struct kthread_worker. It will prevent any custom hacks and make > the API more secure. > > This patch provides an API to check if the worker has been

Re: [PATCH V3 3/3] devicetree: da9062: Add device tree bindings for DA9062 OnKey

2015-07-28 Thread Lee Jones
On Tue, 28 Jul 2015, Dmitry Torokhov wrote: > On Tue, Jul 28, 2015 at 09:40:19AM +0100, Lee Jones wrote: > > On Mon, 27 Jul 2015, Dmitry Torokhov wrote: > > > > > On Mon, Jul 27, 2015 at 03:43:00PM -0700, Dmitry Torokhov wrote: > > > > On Thu, Jul 23, 2015 at 05:17:41PM +0100, S Twiss wrote: > >

Re: [PATCH v1 4/7] ARM: dts: apq8064: Add MDP support

2015-07-28 Thread Andreas Färber
Hi, Am 28.07.2015 um 14:54 schrieb Srinivas Kandagatla: > From: Rob Clark > > This patch adds MDP node to APQ8064 dt. > > Signed-off-by: Rob Clark > [Srinivas Kandagatla] : updated with new style rpm regulators > Signed-off-by: Srinivas Kandagatla > --- > arch/arm/boot/dts/qcom-apq8064.dtsi

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Lee Jones
On Tue, 28 Jul 2015, Guenter Roeck wrote: > On 07/28/2015 08:28 AM, Lee Jones wrote: > >On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > >>On 07/28/2015 08:00 AM, Lee Jones wrote: > >>>On Tue, 28 Jul 2015, Matt Fleming wrote: > On Tue, 28 Jul, at 12:37:21PM, Lee Jones wrote: > > > >The

Re: Requesting inclusion of mtd/nand patches in linux-3.14.y

2015-07-28 Thread Greg KH
On Tue, Jul 28, 2015 at 03:40:46PM +0200, Mason wrote: > Hello everyone, > > This is my second time requesting inclusion of a patch, please > point out any breach of protocol :-) I never saw your first request, where did you send that? > I have cherry-picked two mtd/nand patches on my local bran

Re: [PATCH v1 3/7] ARM: dts: apq8064-ifc6410: add heart-beat led support.

2015-07-28 Thread Andreas Färber
Am 28.07.2015 um 14:54 schrieb Srinivas Kandagatla: > This patch adds heart-beat led support on IFC6410. > > Signed-off-by: Srinivas Kandagatla > --- > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 22 ++ > 1 file changed, 22 insertions(+) > > diff --git a/arch/arm/boot/dts/q

Re: [RFC PATCH 07/14] mm/huge_page: Convert khugepaged() into kthread worker API

2015-07-28 Thread Tejun Heo
Hello, On Tue, Jul 28, 2015 at 04:39:24PM +0200, Petr Mladek wrote: > -static void khugepaged_wait_work(void) > +static void khugepaged_wait_func(struct kthread_work *dummy) > { > if (khugepaged_has_work()) { > if (!khugepaged_scan_sleep_millisecs) > - retu

Re: X-Gene: Unhandled fault: synchronous external abort in pci_generic_config_read32

2015-07-28 Thread Duc Dang
On Mon, Jul 27, 2015 at 4:36 AM, Catalin Marinas wrote: > On Fri, Jul 24, 2015 at 05:05:19PM -0700, Duc Dang wrote: >> On Fri, Jul 24, 2015 at 3:42 PM, Bjorn Helgaas wrote: >> > I regularly see faults like this on an APM X-Gene: >> > >> > U-Boot 2013.04-mustang_sw_1.14.14 (Dec 16 2014 - 15:59:3

Re: [RFC PATCH 13/14] kthread_worker: Add set_kthread_worker_user_nice()

2015-07-28 Thread Tejun Heo
On Tue, Jul 28, 2015 at 04:39:30PM +0200, Petr Mladek wrote: ... > +/* > + * set_kthread_worker_user_nice - set scheduling priority for the kthread > worker > + * @worker: target kthread_worker > + * @nice: niceness value > + */ > +void set_kthread_worker_user_nice(struct kthread_worker *worker, l

Re: [RFC PATCH 08/14] rcu: Convert RCU gp kthreads into kthread worker API

2015-07-28 Thread Tejun Heo
On Tue, Jul 28, 2015 at 04:39:25PM +0200, Petr Mladek wrote: ... > -static int __noreturn rcu_gp_kthread(void *arg) > +static void rcu_gp_kthread_func(struct kthread_work *work) > { > int fqs_state; > int gf; > unsigned long j; > int ret; > - struct rcu_state *rsp = arg

Re: [RFC PATCH 14/14] kthread_worker: Add set_kthread_worker_scheduler*()

2015-07-28 Thread Tejun Heo
On Tue, Jul 28, 2015 at 04:39:31PM +0200, Petr Mladek wrote: > +/** > + * set_kthread_worker_scheduler - change the scheduling policy and/or RT > + * priority of a kthread worker. > + * @worker: target kthread_worker > + * @policy: new policy > + * @sched_priority: new RT priority > + * > + * Ret

[PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-07-28 Thread Graham Moore
Signed-off-by: Graham Moore --- V2: use NULL instead of modalias in spi_nor_scan call V3: Use existing property is-decoded-cs instead of creating duplicate. V4: Support Micron quad mode by snooping command stream for EVCR command and subsequently configuring Cadence controller for quad mode. V5: C

[PATCH V6 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver.

2015-07-28 Thread Graham Moore
Signed-off-by: Graham Moore --- V2: Add cdns prefix to driver-specific bindings. V3: Use existing property "is-decoded-cs" instead of creating a duplicate, "ext-decoder". Timing parameters are in nanoseconds, not master reference clocks. Remove bus-num completely. V4: Add new properties fifo-wid

Re: X-Gene: Unhandled fault: synchronous external abort in pci_generic_config_read32

2015-07-28 Thread Duc Dang
On Tue, Jul 28, 2015 at 9:43 AM, Bjorn Helgaas wrote: > On Fri, Jul 24, 2015 at 7:05 PM, Duc Dang wrote: >> Hi Bjorn, >> >> On Fri, Jul 24, 2015 at 3:42 PM, Bjorn Helgaas wrote: >>> >>> I regularly see faults like this on an APM X-Gene: >>> >>> U-Boot 2013.04-mustang_sw_1.14.14 (Dec 16 2014 -

Re: [PATCH] of/irq: introduce of_has_named_irqs helper

2015-07-28 Thread R, Vignesh
Hi, On 7/28/2015 10:53 PM, Dmitry Torokhov wrote: > On Tue, Jul 28, 2015 at 06:53:52PM +0530, Vignesh R wrote: >> Hi Dmitry, >> >> On 07/25/2015 01:46 AM, Dmitry Torokhov wrote: >>> On Fri, Jul 24, 2015 at 12:26:19PM -0700, Dmitry Torokhov wrote: On Fri, Jul 24, 2015 at 02:14:57PM -0500, Rob

Re: [PATCH V3 RESEND 8/8] staging: rtl8712: change SupportedRates to rates

2015-07-28 Thread Joshua Clayton
On Tuesday, July 28, 2015 06:56:38 PM Dan Carpenter wrote: > On Tue, Jul 28, 2015 at 08:50:04AM -0700, Joshua Clayton wrote: > > On Tuesday, July 28, 2015 05:37:16 PM Julia Lawall wrote: > > > > diff --git a/drivers/staging/rtl8712/rtl871x_ioctl_linux.c > > > > b/drivers/staging/rtl8712/rtl871x_io

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-07-28 Thread Andreas Färber
Am 28.07.2015 um 14:54 schrieb Srinivas Kandagatla: > This patch adds LVDS panel for IFC6410. > > Signed-off-by: Rob Clark > [Rob Clark: WIP patch] > Signed-off-by: Srinivas Kandagatla > --- > arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 66 > ++ > 1 file changed, 6

Re: [PATCH 0/2 RESEND] power: reset: Add syscon reboot/poweroff device nodes for APM X-Gene platform

2015-07-28 Thread Duc Dang
On Sun, Jul 26, 2015 at 11:37 AM, Olof Johansson wrote: > On Sat, Jul 25, 2015 at 11:34:42AM -0700, Duc Dang wrote: >> Hi Olof, >> >> We are debating whether we should setup a company server (where we can >> have full control about storage, user permissions, backup, ...) or >> just use github.com

Re: Revised futex(2) man page for review

2015-07-28 Thread Davidlohr Bueso
On Tue, 2015-07-28 at 09:44 +0200, Michael Kerrisk (man-pages) wrote: > Maybe you still have some further improvements for the paragraph? Nah, this is fine enough. Looks good. Thanks, Davidlohr -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH V6 1/2] mtd: spi-nor: Bindings for Cadence Quad SPI Flash Controller driver.

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 07:38:02 PM, Graham Moore wrote: A commit message would be really nice :-) > Signed-off-by: Graham Moore > --- > V2: Add cdns prefix to driver-specific bindings. > V3: Use existing property "is-decoded-cs" instead of creating a duplicate, > "ext-decoder". Timing par

[RFC PATCH 0/1] iommu: Detach device from domain when removed from group

2015-07-28 Thread Gerald Schaefer
Hi, during IOMMU API function testing on s390 I hit the following scenario: After binding a device to vfio-pci, the user completes the VFIO_SET_IOMMU ioctl and stops, see the sample C program below. Now the device is manually removed via "echo 1 > /sys/bus/pci/devices/.../remove". Although the S

[RFC PATCH 1/1] iommu: Detach device from domain when removed from group

2015-07-28 Thread Gerald Schaefer
This patch adds a call to __iommu_detach_device() to the iommu_group_remove_device() function, which will trigger a missing detach_dev callback in (at least) the following scenario: When a user completes the VFIO_SET_IOMMU ioctl for a vfio-pci device, and the corresponding device is removed therea

[PATCH 1/6] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-07-28 Thread Han Xu
From: Huang Shijie i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power during suspend, add gpmi nand suspend/resume function to release DMA channel in suspend function and re-init GPMI/BCH controller during resume function. Although it is not necessary to restore GPMI/BCH regi

[PATCH v2 02/10] cgroup: introduce cgroup_subsys->legacy_name

2015-07-28 Thread Tejun Heo
This allows cgroup subsystems to use a different name on the unified hierarchy. cgroup_subsys->name is used on the unified hierarchy, ->legacy_name elsewhere. If ->legacy_name is not explicitly set, it's automatically set to ->name and the userland visible behavior remains unchanged. v2: Make pa

[PATCH 6/6] mtd: nand: gpmi: support NAND on i.MX6UL

2015-07-28 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 6 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpm

Re: [PATCH 4/6] pci: altera: Add Altera PCIe MSI driver

2015-07-28 Thread Marc Zyngier
Hi Ley, On 28/07/15 11:45, Ley Foon Tan wrote: > This patch adds Altera PCIe MSI driver. This soft IP supports configurable > number of vectors, which is a dts parameter. Can't you read this configuration from the HW? > > Signed-off-by: Ley Foon Tan > --- > drivers/pci/host/Kconfig

[PATCH 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-07-28 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to gf/2 and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-re

Re: [RFC 0/2] VFIO: Add virtual MSI doorbell support.

2015-07-28 Thread Alex Williamson
On Tue, 2015-07-28 at 17:23 +, Bhushan Bharat wrote: > Hi Alex, > > > -Original Message- > > From: Alex Williamson [mailto:alex.william...@redhat.com] > > Sent: Tuesday, July 28, 2015 9:52 PM > > To: Pranavkumar Sawargaonkar > > Cc: k...@vger.kernel.org; kvm...@lists.cs.columbia.edu; l

Re: [PATCH 0/5] kmod: Cleanups, simplifications, and make isolation friendly v3

2015-07-28 Thread Tejun Heo
Hello, Frederic. On Mon, Jul 27, 2015 at 11:05:41PM +0200, Frederic Weisbecker wrote: > > IMHO, system_wq should be fine and if it isn't turning off numa > > affinity or raising max worker limit later is pretty trivial. > > That's what I think too. How many workers system_unbound_wq can handle? I

[GIT PULL] arm64 fix for 4.2-rc5

2015-07-28 Thread Catalin Marinas
Hi Linus, Please pull the arm64 fix below. Thanks. The following changes since commit cbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f: Linux 4.2-rc4 (2015-07-26 12:26:21 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux tags/arm64-fixes for

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-07-28 Thread Rik van Riel
On 07/28/2015 01:15 PM, Kees Cook wrote: > From: Ricky Zhou > > Checking mm_users > 1 does not mean a process is multithreaded. For > example, reading /proc/PID/maps temporarily increments mm_users, allowing > other processes to (accidentally) interfere with unshare() calls. > > This fixes obser

Re: [PATCH 4.2] ata: ahci_brcmstb: Fix warnings with CONFIG_PM_SLEEP=n

2015-07-28 Thread Tejun Heo
On Mon, Jul 27, 2015 at 12:54:07PM -0700, Florian Fainelli wrote: > On 14/07/15 15:06, Brian Norris wrote: > > On Tue, Jul 14, 2015 at 01:03:33PM -0700, Florian Fainelli wrote: > >> When CONFIG_PM_SLEEP is disabled, brcm_ahci_{suspend,resume} are not > >> used, which causes such a build warning to

Re: [PATCH V5 0/7] Allow user to request memory to be locked on page fault

2015-07-28 Thread Eric B Munson
On Tue, 28 Jul 2015, Vlastimil Babka wrote: > On 07/28/2015 03:49 PM, Eric B Munson wrote: > >On Tue, 28 Jul 2015, Michal Hocko wrote: > > > > [...] > > >The only > >remaining question I have is should we have 2 new mlockall flags so that > >the caller can explicitly set VM_LOCKONFAULT in the mm

Re: [PATCH] of/irq: introduce of_has_named_irqs helper

2015-07-28 Thread Dmitry Torokhov
On Tue, Jul 28, 2015 at 11:16:44PM +0530, R, Vignesh wrote: > Hi, > > On 7/28/2015 10:53 PM, Dmitry Torokhov wrote: > > On Tue, Jul 28, 2015 at 06:53:52PM +0530, Vignesh R wrote: > >> Hi Dmitry, > >> > >> On 07/25/2015 01:46 AM, Dmitry Torokhov wrote: > >>> On Fri, Jul 24, 2015 at 12:26:19PM -0700

Re: [PATCH 0/5] kmod: Cleanups, simplifications, and make isolation friendly v3

2015-07-28 Thread Frederic Weisbecker
On Tue, Jul 28, 2015 at 02:01:14PM -0400, Tejun Heo wrote: > Hello, Frederic. > > On Mon, Jul 27, 2015 at 11:05:41PM +0200, Frederic Weisbecker wrote: > > > IMHO, system_wq should be fine and if it isn't turning off numa > > > affinity or raising max worker limit later is pretty trivial. > > > >

Re: [PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 07:38:03 PM, Graham Moore wrote: DTTO here. Thanks a lot for working on the driver though -- would you like me to continue reviewing or just take over please ? > Signed-off-by: Graham Moore > --- > V2: use NULL instead of modalias in spi_nor_scan call > V3: Use exi

Re: Revised futex(2) man page for review

2015-07-28 Thread Michael Kerrisk (man-pages)
On 07/28/2015 07:52 PM, Davidlohr Bueso wrote: > On Tue, 2015-07-28 at 09:44 +0200, Michael Kerrisk (man-pages) wrote: >> Maybe you still have some further improvements for the paragraph? > > Nah, this is fine enough. Looks good. Okay. Thanks. I added a Reviewed-by: for you. Cheers, Michael -

[PATCH 3/6] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-07-28 Thread Han Xu
By default NAND driver will choose the highest ecc strength that oob could contain, in this case, for some 8K+744 NAND flash, the ecc strength will be up to 52bit, which beyonds the i.MX6QDL BCH capability (40bit). This patch allows the NAND driver try to use minimum required ecc strength if it fa

[PATCH 2/6] dmaengine: mxs: support i.MX7D and deep sleep mode

2015-07-28 Thread Han Xu
From: Huang Shijie The patch support i.MX7D platform by adding extra DMA clock. Deep Sleep Mode(dsm) turns off the power for APBH DMA module, add suspend/resume function and re-init the APBH DMA during resume. Signed-off-by: Huang Shijie Signed-off-by: Han Xu Signed-off-by: Adrian Alonso ---

[PATCH 4/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-07-28 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 24 drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +-- 4 f

Re: linux-next: build failure after merge of the akpm-current tree

2015-07-28 Thread Davidlohr Bueso
On Mon, 2015-07-27 at 13:31 -0700, j...@joshtriplett.org wrote: > That sounds interesting! mmap_sem is definitely a performance > bottleneck. How do you handle writes versus reads? The idea is to make vmas srcu aware, such that their lookups in the vmacache are lockless and can survive the entir

Re: [PATCH 1/2] mtd: spi-nor: rework spi nor read and write.

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 11:23:02 AM, Michal Suchanek wrote: > The spi_nor read and write functions pass thru the mtd retlen to the > chip-specific read and write function. This makes it difficult to check > for errors in read and write functions and these errors are not checked. > This leads t

Re: linux-next: build failure after merge of the tip tree

2015-07-28 Thread Luis R. Rodriguez
On Tue, Jul 28, 2015 at 06:34:19PM +0200, Luis R. Rodriguez wrote: > On Tue, Jul 28, 2015 at 03:33:03PM +1000, Stephen Rothwell wrote: > > Hi all, > > > > After merging the tip tree, today's linux-next build (powerpc > > allyesconfig) failed like this: > > > > drivers/video/fbdev/aty/atyfb_base.c

Build regressions/improvements in v4.2-rc3

2015-07-28 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.2-rc3[1] compared to v4.1[2]. Summarized: - build errors: +28/-51 - build warnings: +150/-308 JFYI, when comparing v4.2-rc3[1] to v4.2-rc2[3], the summaries are: - build errors: +24/-8 - build warnings: +82/-125 Note

Re: ATA failure regression in kernel 4.2

2015-07-28 Thread Alex Deucher
On Mon, Jul 27, 2015 at 12:30 PM, Jiang Liu wrote: > On 2015/7/27 23:21, Alex Deucher wrote: >> On Sun, Jul 26, 2015 at 11:01 PM, Jiang Liu >> wrote: >>> On 2015/7/25 1:38, Alex Deucher wrote: On Thu, Jul 23, 2015 at 2:44 PM, Alex Deucher wrote: > On Thu, Jul 23, 2015 at 2:35 PM,

Re: [PATCH] user_ns: use correct check for single-threadedness

2015-07-28 Thread Eric W. Biederman
Kees Cook writes: > From: Ricky Zhou > > Checking mm_users > 1 does not mean a process is multithreaded. For > example, reading /proc/PID/maps temporarily increments mm_users, allowing > other processes to (accidentally) interfere with unshare() calls. > > This fixes observed failures of unshare

[PATCH] arch/*/io.h: Add ioremap_uc() to all architectures

2015-07-28 Thread Luis R. Rodriguez
From: "Luis R. Rodriguez" This adds ioremap_uc() only for architectures that do not include asm-generic.h/io.h as that already provides a default definition for them for both cases where you have CONFIG_MMU and you do not, and because of this, the number of architectures this patch address is les

Re: [PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-07-28 Thread Graham Moore
On 07/28/2015 01:07 PM, Marek Vasut wrote: On Tuesday, July 28, 2015 at 07:38:03 PM, Graham Moore wrote: DTTO here. Thanks a lot for working on the driver though -- would you like me to continue reviewing or just take over please ? Aha, I see your strategy :) You must *really* want to take

Re: [PATCH V6 2/2] mtd: spi-nor: Add driver for Cadence Quad SPI Flash Controller.

2015-07-28 Thread Marek Vasut
On Tuesday, July 28, 2015 at 08:22:05 PM, Graham Moore wrote: > On 07/28/2015 01:07 PM, Marek Vasut wrote: > > On Tuesday, July 28, 2015 at 07:38:03 PM, Graham Moore wrote: > > > > DTTO here. > > > > Thanks a lot for working on the driver though -- would you like me to > > continue reviewing or j

Re: [PATCH v1 4/7] ARM: dts: apq8064: Add MDP support

2015-07-28 Thread Rob Clark
On Tue, Jul 28, 2015 at 1:31 PM, Andreas Färber wrote: > Hi, > > Am 28.07.2015 um 14:54 schrieb Srinivas Kandagatla: >> From: Rob Clark >> >> This patch adds MDP node to APQ8064 dt. >> >> Signed-off-by: Rob Clark >> [Srinivas Kandagatla] : updated with new style rpm regulators >> Signed-off-by:

Re: linux-next: build failure after merge of the akpm-current tree

2015-07-28 Thread josh
On Tue, Jul 28, 2015 at 11:14:40AM -0700, Davidlohr Bueso wrote: > On Mon, 2015-07-27 at 13:31 -0700, j...@joshtriplett.org wrote: > > That sounds interesting! mmap_sem is definitely a performance > > bottleneck. How do you handle writes versus reads? > > The idea is to make vmas srcu aware, suc

Re: hugetlb pages not accounted for in rss

2015-07-28 Thread Jörn Engel
On Mon, Jul 27, 2015 at 04:26:47PM -0700, Mike Kravetz wrote: > I started looking at the hugetlb self tests. The test hugetlbfstest > expects hugetlb pages to be accounted for in rss. However, there is > no code in the kernel to do this accounting. > > It looks like there was an effort to add th

Re: X-Gene: Unhandled fault: synchronous external abort in pci_generic_config_read32

2015-07-28 Thread Bjorn Helgaas
On Tue, Jul 28, 2015 at 12:39 PM, Duc Dang wrote: > On Mon, Jul 27, 2015 at 4:36 AM, Catalin Marinas > wrote: >> On Fri, Jul 24, 2015 at 05:05:19PM -0700, Duc Dang wrote: >>> On Fri, Jul 24, 2015 at 3:42 PM, Bjorn Helgaas wrote: >>> > I regularly see faults like this on an APM X-Gene: >>> > >>>

Re: ATA failure regression in kernel 4.2

2015-07-28 Thread Alexander Holler
Am 28.07.2015 um 20:19 schrieb Alex Deucher: On Mon, Jul 27, 2015 at 12:30 PM, Jiang Liu wrote: On 2015/7/27 23:21, Alex Deucher wrote: On Sun, Jul 26, 2015 at 11:01 PM, Jiang Liu wrote: On 2015/7/25 1:38, Alex Deucher wrote: On Thu, Jul 23, 2015 at 2:44 PM, Alex Deucher wrote: On Thu, Ju

[PATCH V3 4/5] perf,tools: caculate and save freq/CPU%/CORE_BUSY% in he_stat

2015-07-28 Thread kan . liang
From: Kan Liang Caculate freq/CPU%/CORE_BUSY% in add_entry_cb, and update the value in he_stat. Signed-off-by: Kan Liang --- tools/perf/builtin-report.c | 36 tools/perf/util/sort.h | 3 +++ 2 files changed, 39 insertions(+) diff --git a/tools/perf/b

[PATCH V3 0/5] Freq/CPU%/CORE_BUSY% support

2015-07-28 Thread kan . liang
From: Kan Liang This patch set supports per-sample freq/CPU%/CORE_BUSY% print in perf report -D and --stdio. For printing these information, the perf.data file must have been obtained by group read and using special events cycles, ref-cycles, msr/tsc/, msr/aperf/ or msr/mperf/. - Freq (MHz): Th

[PATCH V3 2/5] perf,tools: read msr pmu type from header.

2015-07-28 Thread kan . liang
From: Kan Liang Get msr pmu type when processing pmu_mappings Signed-off-by: Kan Liang --- tools/perf/util/header.c | 3 +++ tools/perf/util/header.h | 1 + 2 files changed, 4 insertions(+) diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c index 31be7bc..3fa8503 100644 --- a/to

[PATCH V3 3/5] perf,tools: Dump per-sample freq/CPU%/CORE_BUSY% in report -D

2015-07-28 Thread kan . liang
From: Kan Liang The group read results from cycles/ref-cycles/TSC/ASTATE/MSTATE event can be used to calculate the frequency, CPU Utilization and percent performance during each sampling period. This patch shows them in report -D. Here is an example: $ perf record -e '{cycles,ref-cycles,msr/tsc

[PATCH V3 5/5] perf,tools: Show freq/CPU%/CORE_BUSY% in perf report --stdio

2015-07-28 Thread kan . liang
From: Kan Liang Show frequency, CPU Utilization and percent performance for each symbol in perf report by --stdio --show-freq-perf In sampling group, only group leader do sampling. So only need to print group leader's freq in --group. Here is an example. $ perf report --stdio --group --show-fr

[PATCH] rx51-battery: Set name to rx51-battery

2015-07-28 Thread Pali Rohár
For compatibility between board code and DT, set battery name to same value. Signed-off-by: Pali Rohár --- drivers/power/rx51_battery.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/power/rx51_battery.c b/drivers/power/rx51_battery.c index ac62069..af9383d 100644

[PATCH V3 1/5] perf,tools: introduce generic FEAT for CPU attributes

2015-07-28 Thread kan . liang
From: Kan Liang This patch introduces generic FEAT for CPU attributes. For the patch set, we only need cpu max frequency. But it can be easily extented to support more other CPU attributes. The cpu max frequency is from the first online cpu. Signed-off-by: Kan Liang --- tools/perf/util/cpumap.

Re: [PATCH v1 7/7] ARM: dts: ifc6410: add inforce LVDS panel support

2015-07-28 Thread Rob Clark
On Tue, Jul 28, 2015 at 1:50 PM, Andreas Färber wrote: > Am 28.07.2015 um 14:54 schrieb Srinivas Kandagatla: >> This patch adds LVDS panel for IFC6410. >> >> Signed-off-by: Rob Clark >> [Rob Clark: WIP patch] >> Signed-off-by: Srinivas Kandagatla >> --- >> arch/arm/boot/dts/qcom-apq8064-ifc6410

Re: [PATCH] genirq: Export irq_{get,set}_irqchip_state()

2015-07-28 Thread Thomas Gleixner
On Mon, 27 Jul 2015, Linus Walleij wrote: > On Wed, Jul 22, 2015 at 9:43 PM, Bjorn Andersson > wrote: > > > Export these functions to be able to build the Qualcomm family A PMIC > > gpio and mpp drivers as modules. > > > > Signed-off-by: Bjorn Andersson > > Reviewed-by: Linus Walleij > > TGL

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Guenter Roeck
On Tue, Jul 28, 2015 at 06:32:16PM +0100, Lee Jones wrote: > On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > On 07/28/2015 08:28 AM, Lee Jones wrote: > > >On Tue, 28 Jul 2015, Guenter Roeck wrote: > > > > > >>On 07/28/2015 08:00 AM, Lee Jones wrote: > > >>>On Tue, 28 Jul 2015, Matt Fleming wrote:

[PATCH] PCI: iproc: Fix BCMA dependency in Kconfig

2015-07-28 Thread Ray Jui
The current iProc BCMA front-end driver can only work on ARM32 based platforms; therefore its config option in Kconfig should be changed to reflect that. This fixes arm64 allmodconfig build failure when compiling the the iProc BCMA driver that contains struct pci_sys_data that is arm32 specific Si

Re: Build regressions/improvements in v4.2-rc3

2015-07-28 Thread Geert Uytterhoeven
On Tue, Jul 28, 2015 at 8:14 PM, Geert Uytterhoeven wrote: > JFYI, when comparing v4.2-rc3[1] to v4.2-rc2[3], the summaries are: > - build errors: +24/-8 > [1] http://kisskb.ellerman.id.au/kisskb/head/9157/ (all 254 configs) > [3] http://kisskb.ellerman.id.au/kisskb/head/9134/ (253 out of 254 c

[PATCH] lib: Make _find_next_bit helper function inline

2015-07-28 Thread Cassidy Burden
I've tested Yury Norov's find_bit reimplementation with the test_find_bit module (https://lkml.org/lkml/2015/3/8/141) and measured about 35-40% performance degradation on arm64 3.18 run with fixed CPU frequency. The performance degradation appears to be caused by the helper function _find_next_bit

Re: [PATCH 0/4] Add support for Hyperlinks and Markup on kernel-doc

2015-07-28 Thread Danilo Cesar Lemes de Paula
On 07/25/2015 07:20 AM, Stephan Mueller wrote: > Am Donnerstag, 23. Juli 2015, 15:16:23 schrieb Danilo Cesar Lemes de Paula: > > Hi Danilo, > >> This series add supports for hyperlink cross-references on Docbooks and >> an optional markup syntax for in-source Documentation. > > Can you please g

Re: [PATCH] ext4 crypto: remove duplicate header file

2015-07-28 Thread Theodore Ts'o
On Thu, Jul 16, 2015 at 03:58:41PM +0800, liuzilo...@gmail.com wrote: > From: "zilong.liu" > > Remove key.h which is included twice in crypto_fname.c > > Signed-off-by: zilong.liu Applied, thanks. - Ted -- To unsubscribe from this list: send the line "u

Re: [PATCH 4/8] xen: Use the correctly the Xen memory terminologies

2015-07-28 Thread Boris Ostrovsky
On 07/28/2015 11:02 AM, Julien Grall wrote: Based on include/xen/mm.h [1], Linux is mistakenly using MFN when GFN is meant, I suspect this is because the first support for Xen was for PV. This brough some misimplementation of helpers on ARM and make the developper confused the expected behavior.

Re: [PATCH 1/5] iTCO_wdt: Expose watchdog properties using platform data

2015-07-28 Thread Aaron Sierra
> > > > @@ -933,7 +956,7 @@ gpe0_done: > > > > lpc_chipset_info[priv->chipset].use_gpio = ret; > > > > lpc_ich_enable_gpio_space(dev); > > > > > > > > - lpc_ich_finalize_cell(dev, &lpc_ich_cells[LPC_GPIO]); > > > > + lpc_ich_finalize_gpio_cell(dev); > > > > ret

Re: [PATCH 2/2] Input - elantech: Add special check for fw_version 0x470f01 touchpad

2015-07-28 Thread ulrik . debie-os
Hi Duson, Thanks for your update. Your latest patch has 2 trailing whitespaces problems as shown by checkpatch.pl. There was another comment you probably overlooked in my previous mail: > + if (etd->send_cmd(psmouse, ETP_SAMPLE_QUERY, > + etd->samples)) { Is this wise to run on al

[PATCH] x86: Kill E820_RESERVED_KERN

2015-07-28 Thread Yinghai Lu
E820_RESERVED_KERN was introduced to do early allocation for setup_data when we were using original early_res with e820 map. Now we are using memblock to do early resource reserve/allocation, and setup_data is reserved in memblock early already. For kexec path, kexec generate setup_data (Now kexe

[PATCH] nvdimm: fix inline function return type warning

2015-07-28 Thread Randy Dunlap
From: Randy Dunlap Fix multiple build warnings when CONFIG_BTT is not enabled: In file included from ../drivers/nvdimm/bus.c:29:0: ../drivers/nvdimm/nd.h:169:15: warning: return type defaults to 'int' [-Wreturn-type] static inline nd_btt_probe(struct nd_namespace_common *ndns, void *drvdata)

[PATCH v2 2/6] power: bq27x00_battery: Renaming for consistency

2015-07-28 Thread Andrew F. Davis
Rename functions that are used by multiple devices. New devices have been added and the function names and driver name are no longer general enough for the functionality they provide. Signed-off-by: Andrew F. Davis --- MAINTAINERS| 4 +- arch/arm/configs

[PATCH v2 1/6] power: bq27x00_battery: Remove unneeded i2c MODULE_ALIAS

2015-07-28 Thread Andrew F. Davis
The MODULE_DEVICE_TABLE macro automatically adds all needed i2c MODULE_ALIASes so remove the extra MODULE_ALIAS. Signed-off-by: Andrew F. Davis --- drivers/power/bq27x00_battery.c | 4 1 file changed, 4 deletions(-) diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_batte

[PATCH v2 4/6] power: bq27xxx_battery: Fix typos and change naming for state of charge functions

2015-07-28 Thread Andrew F. Davis
Fix typos and change "relative state of charge" to "state of charge" as not all supported devices use relative state of charge. Signed-off-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/dr

[PATCH v2 6/6] power: bq27xxx_battery: Cleanup health checking

2015-07-28 Thread Andrew F. Davis
Reorganize the logic checking battery health and add under temperature condition checking. Signed-off-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 64 +++-- 1 file changed, 42 insertions(+), 22 deletions(-) diff --git a/drivers/power/bq27xxx_batt

RE: [Xen-devel] [PATCH 4/8] xen: Use the correctly the Xen memory terminologies

2015-07-28 Thread Chris (Christopher) Brand
> Based on include/xen/mm.h [1], Linux is mistakenly using MFN when GFN is > meant, > I suspect this is because the first support for Xen was for PV. This brough > some Typo : "brought" Perhaps "resulted in" would be better ? > misimplementation of helpers on ARM and make the developper confused

[PATCH v2 5/6] power: bq27xxx_battery: Add support for additional bq27xxx family devices

2015-07-28 Thread Andrew F. Davis
Add support for additional devices and register equivalent family devices including the bq27010, bq27210, bq272500, bq27510, bq27520, bq27530, bq27531, bq27541, bq27542, bq27546, bq27545, bq27441, bq27421, and the bq27641. To facilitate this process the register mapings have been moved to tables a

[PATCH v2 3/6] power: bq27xxx_battery: Platform initialization must declare a device

2015-07-28 Thread Andrew F. Davis
When initialized as a platform device the initializer must now specify a device. An empty device name is no longer valid. Signed-off-by: Andrew F. Davis --- drivers/power/bq27xxx_battery.c | 9 ++--- drivers/w1/slaves/w1_bq27000.c| 1 + include/linux/power/bq27xxx_battery.h | 6

[PATCH v2 0/6] Add support for additional bq27xxx devices

2015-07-28 Thread Andrew F. Davis
This series adds support for several additional bq27xxx devices and makes a few related fixes. v1 can be found here: [1] Changes from v1: - Drop first four patches from series as they have been queued at git://git.infradead.org/battery-2.6.git - Remove MODULE_ALIAS - Add comment about State

[PATCH v2 0/4] Add support for Hyperlinks and Markup on kernel-doc

2015-07-28 Thread Danilo Cesar Lemes de Paula
This series add supports for hyperlink cross-references on Docbooks and an optional markup syntax for in-source Documentation. eg: https://people.collabora.com/~danilo/intel/Documentation.MarkDown/DocBook/drm/API-drm-dev-ref.html old: https://people.collabora.com/~danilo/intel/Documentation.

[PATCH v2 1/4] scripts/kernel-doc: Adding cross-reference links to html documentation.

2015-07-28 Thread Danilo Cesar Lemes de Paula
Functions, Structs and Parameters definitions on kernel documentation are pure cosmetic, it only highlights the element. To ease the navigation in the documentation we should use inside those tags so readers can easily jump between methods directly. This was discussed in 2014[1] and is implement

[PATCH v2 4/4] drm/doc: Convert to markdown

2015-07-28 Thread Danilo Cesar Lemes de Paula
DRM Docbook is now Markdown ready. This means its doc is able to use markdown text on it. * Documentation/DocBook/drm.tmpl: Contains a table duplicated from drivers/gpu/drm/i915/i915_reg.h. This is not needed anymore * drivers/gpu/drm/drm_modeset_lock.c: had a code example that used to look p

<    1   2   3   4   5   6   7   8   9   10   >