Re: [PATCH v6 3/4] drivers/leds/leds-menf21bmc: introduce MEN 14F021P00 BMC LED driver

2014-08-29 Thread Lee Jones
On Thu, 28 Aug 2014, Bryan Wu wrote: > On Wed, Aug 27, 2014 at 10:52 AM, Andreas Werner > wrote: > > Added driver to support the 14F021P00 BMC LEDs. > > The BMC is a Board Management Controller including four LEDs which > > can be switched on and off. > > > > Please go ahead with my Ack > Acked

[Bug ?] Loosing synchronization between virtual block device and physical device

2014-08-29 Thread artem rus
Hello guys ! I have flash card /dev/sda. /dev/sda2 is ext3 partition with root, log is enabled. Initially root mounted in read only mode. If I need to change something, I remount to read write, change and remount back to read only. Recently I decide to use md5sum to be sure in my flash integrity,

Re: [PATCH v2 16/17] drm/exynos/ipp: remove file argument from node related functions

2014-08-29 Thread Joonyoung Shim
Hi Andrzej, On 08/28/2014 06:07 PM, Andrzej Hajda wrote: > Since file pointer is preserved in c_node passing it > as argument in node functions is redundant. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos_drm_ipp.c | 14 ++ > 1 file changed, 6 insertions(+),

[PATCH] mm: page_alloc: avoid wakeup kswapd on the unintended node

2014-08-29 Thread Weijie Yang
When enter page_alloc slowpath, we wakeup kswapd on every pgdat according to the zonelist and high_zoneidx. However, this doesn't take nodemask into account, and could prematurely wakeup kswapd on some unintended nodes. This patch uses for_each_zone_zonelist_nodemask() instead of for_each_zone_zon

Re: [PATCH] drivers: char: hw_random: printk replacement

2014-08-29 Thread Michael Ellerman
On Thu, 2014-08-28 at 20:32 +0530, Sudip Mukherjee wrote: > as pr_* macros are more preffered over printk, so printk replaced with > corresponding pr_* macros I suppose ... > drivers/char/hw_random/pasemi-rng.c | 2 +- > drivers/char/hw_random/pseries-rng.c | 2 +- These look OK to me. che

Re: [PATCH v2 17/17] drm/exynos/ipp: add file checks for ioctls

2014-08-29 Thread Joonyoung Shim
Hi Andrzej, On 08/28/2014 06:07 PM, Andrzej Hajda wrote: > Process should not have access to ipp nodes created by another > process. The patch adds necessary checks. > > Signed-off-by: Andrzej Hajda > --- > drivers/gpu/drm/exynos/exynos_drm_ipp.c | 15 ++- > 1 file changed, 10 inser

Re: [PATCH 3/3] gpio: add support for the Diolan DLN-2 USB-GPIO driver

2014-08-29 Thread Linus Walleij
On Wed, Aug 20, 2014 at 1:24 PM, Daniel Baluta wrote: > This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. > > Information about the USB protocol interface can be found in the > Programmer's Reference Manual [1], see section 2.9 for the GPIO > module commands and responses. >

[PATCHv2] ASoC: fsl-sai: using 'lsb-first' property instead of 'big-endian-data'.

2014-08-29 Thread Xiubo Li
The 'big-endian-data' property is originally used to indicate whether the LSB firstly or MSB firstly will be transmitted to the CODEC or received from the CODEC, and there has nothing relation to the memory data. Generally, if the audio data in big endian format, which will be using the bytes reve

RE: [RESEND] clk: ppc-corenet: Add Freescale ARM-based platforms CLK_OF_DECLARE support

2014-08-29 Thread Jingchang Lu
>-Original Message- >From: Wood Scott-B07421 >Sent: Friday, August 29, 2014 12:26 AM >To: Lu Jingchang-B35083 >Cc: mturque...@linaro.org; linuxppc-...@lists.ozlabs.org; linux- >ker...@vger.kernel.org; linux-arm-ker...@lists.infradead.org >Subject: Re: [RESEND] clk: ppc-corenet: Add Freescal

Re: [PATCH] pinctrl: qcom: Release pin ranges when gpiochip_irqchip_add fails

2014-08-29 Thread Pramod Gurav
On 29-08-2014 09:19 AM, Bjorn Andersson wrote: > On Thu 28 Aug 00:13 PDT 2014, Pramod Gurav wrote: > >> On Thursday 28 August 2014 02:54 AM, Bjorn Andersson wrote: >>> On Wed, Aug 27, 2014 at 3:57 AM, Pramod Gurav >>> wrote: This patches adds a call to gpiochip_remove_pin_ranges when

Re: [PATCH v4 1/3] perf/sdt : Raw SDT parsing functions

2014-08-29 Thread Namhyung Kim
Hi Hemant, On Thu, 28 Aug 2014 03:14:20 +0530, Hemant Kumar wrote: > This patch serves as the initial support to identify and list SDT events in > binaries. > When programs containing SDT markers are compiled, gcc with the help of > assembler > directives identifies them and places them in the s

Re: [PATCH v4 3/3] perf/sdt : Documentation for SDT events

2014-08-29 Thread Namhyung Kim
On Thu, 28 Aug 2014 03:23:16 +0530, Hemant Kumar wrote: > SYNOPSIS > > [verse] > -'perf list' [hw|sw|cache|tracepoint|pmu|event_glob] > +'perf list' [hw|sw|cache|tracepoint|pmu|sdt|event_glob] What about adding it to a different line as the 'sdt' subcommand needs an extra argument?

Re: [PATCH 1/3] pinctrl: bindings: Add OMAP pinctrl binding

2014-08-29 Thread Linus Walleij
On Mon, Aug 25, 2014 at 9:03 PM, Nishanth Menon wrote: > ---8<--- > From 74121c6a2524048eb02c3b33a25e13261edd2e99 Mon Sep 17 00:00:00 2001 > From: Nishanth Menon > Date: Thu, 22 May 2014 23:32:09 -0500 > Subject: [PATCH V2] pinctrl: bindings: Add OMAP pinctrl binding > > Add basic skeleton of OM

Re: [PATCH V2 0/5] Drivers: hv: vmbus: Eliminate calls to BUG_ON()

2014-08-29 Thread Sitsofe Wheeler
On Wed, Aug 27, 2014 at 04:25:05PM -0700, K. Y. Srinivasan wrote: > Cleanup the channel management code and eliminate calls to BUG_ON(). > Also fix an error propagation bug in vmbus_open(). > > In this version of the patch-set, I have addressed comments from > Dan Carpenter. > > K. Y. Srinivasan

Re: [PATCH 2/3] pinctrl: single: Add DRA7 pinctrl compatibility

2014-08-29 Thread Linus Walleij
On Fri, Aug 22, 2014 at 4:01 PM, Nishanth Menon wrote: > DRA7 pinctrl definitions now differ from traditional 16 bit OMAP pin > ctrl definitions, in that all 32 bits are used to describe a single pin > > Also the location of wakeupenable and event bits have changed. > > Signed-off-by: Nishanth Me

Re: [PATCH V2 00/18] backlight: fix checkpatch warnings

2014-08-29 Thread Lee Jones
On Wed, 27 Aug 2014, Lee Jones wrote: > On Wed, 27 Aug 2014, Jingoo Han wrote: > > This patchset fixes checkpatch warnings as follows. > > There is no functional change. > > > >WARNING: Missing a blank line after declarations > >WARNING: else is not generally useful after a break or retur

Re: [PATCH v2] tps65910: Work around silicon erratum SWCZ010

2014-08-29 Thread Lee Jones
On Fri, 22 Aug 2014, Arnout Vandecappelle (Essensium/Mind) wrote: > From http://www.ti.com/lit/pdf/SWCZ010 : > > Glitch on SDA-SCL not managed correctly by the I2C IP > > Impact: > The standard specifies that the I2C transfer should restart on a start > event in all cases. The current design doe

Re: [PATCH 3/3] pinctrl: single: AM437x: Add pinctrl compatibility

2014-08-29 Thread Linus Walleij
On Fri, Aug 22, 2014 at 4:01 PM, Nishanth Menon wrote: > From: Keerthy > > AM437x pinctrl definitions now differ from traditional 16 bit OMAP pin > ctrl definitions, in that all 32 bits are used to describe a single pin > > Also the location of wakeupenable and event bits have changed. > > Signe

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread Bart Van Assche
On 08/29/14 08:19, Hannes Reinecke wrote: > On 08/29/2014 04:42 AM, Mike Christie wrote: >> How are distros handling 0x6/0x3f/0x0e (report luns changed) when it >> gets passed to userspace? Is everyone kicking off a new full (add and >> delete) scan to handle this or logging it? Is the driver retur

Re: [PATCH 2/3] GPIO: gpio-dwapb: Support Debounce

2014-08-29 Thread Shevchenko, Andriy
On Thu, 2014-08-28 at 10:11 -0500, atull wrote: > On Wed, 27 Aug 2014, Weike Chen wrote: [] > > +static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) > > +{ > > + struct bgpio_chip *bgc = &gpio->ports[0].bgc; > > + void __iomem *reg_base = gpio->regs; > > + > > + ret

Re: [PATCH 2/2] kvm: x86: fix stale mmio cache bug

2014-08-29 Thread Paolo Bonzini
Il 28/08/2014 23:10, David Matlack ha scritto: > Paolo, > It seems like this patch ("[PATCH 2/2] kvm: x86: fix stale mmio cache") > is ready to go. Is there anything blocking it from being merged? > > (It should be fine to merge this on its own, independent of the fix > discussed in "[PATCH 1/2] K

[PATCH 11/13] vfio: powerpc/spapr: Move locked_vm accounting to helpers

2014-08-29 Thread Alexey Kardashevskiy
There moves locked pages accounting to helpers. Later they will be reused for Dynamic DMA windows (DDW). While we are here, update the comment explaining why RLIMIT_MEMLOCK might be required to be bigger than the guest RAM. Signed-off-by: Alexey Kardashevskiy --- drivers/vfio/vfio_iommu_spapr_t

[PATCH 05/13] powerpc/iommu: Fix IOMMU ownership control functions

2014-08-29 Thread Alexey Kardashevskiy
This adds missing locks in iommu_take_ownership()/ iommu_release_ownership(). This marks all pages busy in iommu_table::it_map in order to catch errors if there is an attempt to use this table while ownership over it is taken. This only clears TCE content if there is no page marked busy in it_map

[PATCH 13/13] vfio: powerpc/spapr: Enable Dynamic DMA windows

2014-08-29 Thread Alexey Kardashevskiy
This defines and implements VFIO IOMMU API which lets the userspace create and remove DMA windows. This updates VFIO_IOMMU_SPAPR_TCE_GET_INFO to return the number of available windows and page mask. This adds VFIO_IOMMU_SPAPR_TCE_CREATE and VFIO_IOMMU_SPAPR_TCE_REMOVE to allow the user space to c

[PATCH 03/13] powerpc/spapr: vfio: Implement spapr_tce_iommu_ops

2014-08-29 Thread Alexey Kardashevskiy
Modern IBM POWERPC systems support multiple IOMMU tables per PE so we need a more reliable way (compared to container_of()) to get a PE pointer from the iommu_table struct pointer used in IOMMU functions. At the moment IOMMU group data points to an iommu_table struct. This introduces a spapr_tce_i

[PATCH 12/13] vfio: powerpc/spapr: Use it_page_size

2014-08-29 Thread Alexey Kardashevskiy
This makes use of the it_page_size from the iommu_table struct as page size can differ. This replaces missing IOMMU_PAGE_SHIFT macro in commented debug code as recently introduced IOMMU_PAGE_XXX macros do not include IOMMU_PAGE_SHIFT. Signed-off-by: Alexey Kardashevskiy --- drivers/vfio/vfio_io

[PATCH 06/13] powerpc/iommu: Move tce_xxx callbacks from ppc_md to iommu_table

2014-08-29 Thread Alexey Kardashevskiy
This adds a iommu_table_ops struct and puts pointer to it into the iommu_table struct. This moves tce_build/tce_free/tce_get/tce_flush callbacks from ppc_md to the new struct where they really belong to. This adds an extra @ops parameter to iommu_init_table() to make sure that we do not leave any

[PATCH 10/13] powerpc/powernv: Implement Dynamic DMA windows (DDW) for IODA

2014-08-29 Thread Alexey Kardashevskiy
SPAPR defines an interface to create additional DMA windows dynamically. "Dynamically" means that the window is not allocated before the guest even started, the guest can request it later. In practice, existing linux guests check for the capability and if it is there, they create and map a DMA wind

[PATCH 07/13] powerpc/powernv: Do not set "read" flag if direction==DMA_NONE

2014-08-29 Thread Alexey Kardashevskiy
Normally a bitmap from the iommu_table is used to track what TCE entry is in use. Since we are going to use iommu_table without its locks and do xchg() instead, it becomes essential not to put bits which are not implied in the direction flag. Signed-off-by: Alexey Kardashevskiy --- arch/powerpc/

[PATCH 09/13] powerpc/pseries/lpar: Enable VFIO

2014-08-29 Thread Alexey Kardashevskiy
The previous patch introduced iommu_table_ops::exchange() callback which effectively disabled VFIO on pseries. This implements exchange() for pseries/lpar so VFIO can work in nested guests. Since exchaange() callback returns an old TCE, it has to call H_GET_TCE for every TCE being put to the table

[PATCH 04/13] powerpc/powernv: Convert/move set_bypass() callback to take_ownership()

2014-08-29 Thread Alexey Kardashevskiy
At the moment the iommu_table struct has a set_bypass() which enables/ disables DMA bypass on IODA2 PHB. This is exposed to POWERPC IOMMU code which calls this callback when external IOMMU users such as VFIO are about to get over a PHB. Since the set_bypass() is not really an iommu_table function

[PATCH 08/13] powerpc/powernv: Release replaced TCE

2014-08-29 Thread Alexey Kardashevskiy
At the moment writing new TCE value to the IOMMU table fails with EBUSY if there is a valid entry already. However PAPR specification allows the guest to write new TCE value without clearing it first. Another problem this patch is addressing is the use of pool locks for external IOMMU users such a

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-29 Thread Inha Song
Hi, Lee Thanks for your review. On Thu, 28 Aug 2014 12:36:51 +0100 Lee Jones wrote: > On Mon, 18 Aug 2014, Inha Song wrote: > > > Some boards need to set the INn_MODE[1:0] register to change > > the input signal patch. This wlf,inmode property is optional. > > If present, values must be specifi

[PATCH 00/13] powerpc/iommu/vfio: Enable Dynamic DMA windows

2014-08-29 Thread Alexey Kardashevskiy
This enables PAPR defined feature called Dynamic DMA windows (DDW). Each Partitionable Endpoint (IOMMU group) has a separate DMA window on a PCI bus where devices are allows to perform DMA. By default there is 1 or 2GB window allocated at the host boot time and these windows are used when an IOMMU

[PATCH 02/13] powerpc/powernv: Make invalidate() a callback

2014-08-29 Thread Alexey Kardashevskiy
At the moment pnv_pci_ioda_tce_invalidate() gets the PE pointer via container_of(tbl). Since we are going to have to add Dynamic DMA windows and that means having 2 IOMMU tables per PE, this is not going to work. This implements pnv_pci_ioda(1|2)_tce_invalidate as a pnv_ioda_pe callback. This add

[PATCH 01/13] powerpc/iommu: Check that TCE page size is equal to it_page_size

2014-08-29 Thread Alexey Kardashevskiy
This checks that the TCE table page size is not bigger that the size of a page we just pinned and going to put its physical address to the table. Otherwise the hardware gets unwanted access to physical memory between the end of the actual page and the end of the aligned up TCE page. Signed-off-by

Re: [PATCH 0/2] Drivers: hv: vmbus: Miscellaneous cleanup

2014-08-29 Thread Sitsofe Wheeler
On Thu, Aug 28, 2014 at 06:29:33PM -0700, K. Y. Srinivasan wrote: > Cleanup hv_post_message() to minimize failures. Also disable preemption > when sampling CPU ID when preemption is otherwise possible. > > K. Y. Srinivasan (2): > Drivers: hv: vmbus: Cleanup hv_post_message() > Drivers: hv: vmb

[PATCH] drivers: media: radio: radio-miropcm20.c: include missing header file

2014-08-29 Thread Sudip Mukherjee
ill persists in next-20140829 also. drivers/media/radio/radio-miropcm20.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/radio/radio-miropcm20.c b/drivers/media/radio/radio-miropcm20.c index 998919e..3309f7c 100644 --- a/drivers/media/radio/radio-miropcm20.c +++ b/drivers/media/r

[PATCH v2] pinctrl: qcom: remove gpiochip in failure cases

2014-08-29 Thread Pramod Gurav
This patch releases gpiochip related resources by calling gpiochip_remove when either of gpiochip_add_pin_range and gpiochip_irqchip_add fails. CC: Linus Walleij CC: Bjorn Andersson CC: "Ivan T. Ivanov" Signed-off-by: Pramod Gurav --- Changes since v1: - In v1 of this patch gpiochip_remove wa

Re: [PATCH] mm: page_alloc: avoid wakeup kswapd on the unintended node

2014-08-29 Thread Mel Gorman
On Fri, Aug 29, 2014 at 03:03:19PM +0800, Weijie Yang wrote: > When enter page_alloc slowpath, we wakeup kswapd on every pgdat > according to the zonelist and high_zoneidx. However, this doesn't > take nodemask into account, and could prematurely wakeup kswapd on > some unintended nodes. > > This

Re: [PATCH 2/2] Drivers: scsi: storvsc: Force discovery of LUNs that may have been removed.

2014-08-29 Thread Hannes Reinecke
On 08/29/2014 09:39 AM, Bart Van Assche wrote: On 08/29/14 08:19, Hannes Reinecke wrote: On 08/29/2014 04:42 AM, Mike Christie wrote: How are distros handling 0x6/0x3f/0x0e (report luns changed) when it gets passed to userspace? Is everyone kicking off a new full (add and delete) scan to handle

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-29 Thread Lee Jones
On Fri, 29 Aug 2014, Inha Song wrote: > Hi, Lee > Thanks for your review. > > On Thu, 28 Aug 2014 12:36:51 +0100 > Lee Jones wrote: > > > On Mon, 18 Aug 2014, Inha Song wrote: > > > > > Some boards need to set the INn_MODE[1:0] register to change > > > the input signal patch. This wlf,inmode p

Re: [PATCH] pwm: Fix uninitialized warnings in pwm_get()

2014-08-29 Thread Thierry Reding
On Thu, Aug 28, 2014 at 11:03:14AM +0200, Geert Uytterhoeven wrote: > With some versions of gcc (e.g. 4.1.2): > > drivers/pwm/core.c: In function ‘pwm_get’: > drivers/pwm/core.c:610: warning: ‘polarity’ may be used uninitialized in this > function > drivers/pwm/core.c:609: warning: ‘period’ may b

Re: [PATCH v2] ARM: dts: Add shmobile platform device tree bindings documentation

2014-08-29 Thread Geert Uytterhoeven
Hi Simon, On Fri, Aug 29, 2014 at 2:34 AM, Simon Horman wrote: > On Thu, Aug 28, 2014 at 10:05:20AM +0200, Geert Uytterhoeven wrote: >> Add Renesas SH-Mobile, R-Mobile, and R-Car Platform Device Tree Bindings >> Documentation, listing supported SoCs and boards. >> >> This allows to use checkpatch

Re: [PATCH 1/2] Drivers: hv: vmbus: Cleanup hv_post_message()

2014-08-29 Thread Sitsofe Wheeler
On Thu, Aug 28, 2014 at 06:29:52PM -0700, K. Y. Srinivasan wrote: > Minimize failures in this function by pre-allocating the buffer > for posting messages. The hypercall for posting the message can fail > for a number of reasons: > > > Cc: Is this patch useful for all longterm (2.6.32.63, 3.2.

[PATCH V5 14/14] input: cyapa: add function to monitor LID close event to off trackpad device

2014-08-29 Thread Dudley Du
Add the function to monitor lid close event to suspend and resume trackpad device. Because system suspend takes some time to trigger from user space, and in that time, the lid panel of the laptop may couple with the active trackpad. This may generate stray input events, which may in turn cancel the

[PATCH V5 13/14] input: cyapa: add gen5 trackpad device read firmware image and raw data functions support

2014-08-29 Thread Dudley Du
Add read firmware image function supported for gen5 trackpad device, which its function is supplied through cyapa core read_fw interface. Through this interface, upper layer application can read out, check and backup the firmware image in trackpad device before updated with new one when new firmwar

[PATCH V5 11/14] input: cyapa: add gen5 trackpad device firmware update function support

2014-08-29 Thread Dudley Du
Add firmware image update function supported for gen5 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/Kconfig | 2 +- drivers/input/mouse/cyapa_gen5.c | 294 +

[PATCH V5 10/14] input: cyapa: add gen5 trackpad device basic functions support

2014-08-29 Thread Dudley Du
Based on the cyapa core, add the gen5 trackpad device's basic functions supported, so gen5 trackpad device can work with kernel input system. And also based on the state parse interface, the cyapa driver can automatically determine the attached is gen3 or gen5 protocol trackpad device, then set the

[PATCH V5 04/14] input: cyapa: add cyapa key function interfaces in sysfs system

2014-08-29 Thread Dudley Du
>From b642644b26f35db9cda9a79e519026c584fcf7bc Mon Sep 17 00:00:00 2001 From: Dudley Du Date: Fri, 29 Aug 2014 14:04:50 + Subject: [PATCH 04/14] input: cyapa: add cyapa key function interfaces in sysfs system To: dmitry.torok...@gmail.com, rydb...@euromail.se Cc: ble...@google.com, pa

[PATCH V5 01/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-08-29 Thread Dudley Du
In order to support two different communication protocol based trackpad device in one cyapa, the new cyapa driver is re-designed with one cyapa driver core and two devices' functions component. The cyapa driver core is contained in this patch, it supplies the basic function with input and kernel sy

[PATCH V5 07/14] input: cyapa: add gen3 trackpad device firmware update function support

2014-08-29 Thread Dudley Du
Add firmware image update function supported for gen3 trackpad device, which its function is supplied through cyapa core update_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 290 +++ 1 file changed, 290

[PATCH V5 06/14] input: cyapa: add gen3 trackpad device basic functions support

2014-08-29 Thread Dudley Du
Based on the cyapa core, add the gen3 trackpad device's basic functions supported, so gen3 trackpad device can work with kernel input system. The basic function is absolutely same as previous cyapa driver only support gen3 trackpad device. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- d

[PATCH V5 05/14] input: cyapa: add read firmware image and raw data interfaces in debugfs system

2014-08-29 Thread Dudley Du
Add read_fw and raw_data debugfs interfaces for easier issues location and collection when report by user. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 221 1 file changed, 221 insertions(+) diff --git a/driver

[PATCH V5 08/14] input: cyapa: add gen3 trackpad device baseline and calibrate functions support

2014-08-29 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen3 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 135 +++

[PATCH V5 02/14] input: cyapa: add cyapa driver power management interfaces support

2014-08-29 Thread Dudley Du
Add suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 85 ++

Re: [Xen-devel] [PATCH] Solved the Xen PV/KASLR riddle

2014-08-29 Thread Stefan Bader
On 29.08.2014 00:42, Andrew Cooper wrote: > On 28/08/2014 19:01, Stefan Bader wrote: So not much further... but then I think I know what I do next. Probably should have done before. I'll replace the WARN_ON in vmalloc that triggers by a panic and at least get a crash dump

[PATCH v2 3/3] iio: accel: BMC150: add support for other Bosch chips

2014-08-29 Thread Laurentiu Palcu
The following chips are either similar or have only the resolution different. Hence, change this driver to support these chips too: BMI055 - combo chip (accelerometer part is identical to BMC150's) BMA255 - identical to BMC150's accelerometer BMA222E - 8 bit resolution BMA250E - 10 bit resolutio

[PATCH V5 0/14] input: cyapa: re-architecture driver to support multi-trackpads in one driver

2014-08-29 Thread Dudley Du
This v5 patch set is updated based on cyapa v4 patches, it has below updates: 1) Uses get_device()/put_device() instead of kobject_get()/kobject_put(); 2) Fix memories freed before debugfs entries issue; 3) Make cyapa_debugs_root valid in driver module level in module_init()/moudle_exit() ; 4) F

[PATCH v2 2/3] iio: accel: BMC150: fix issues when CONFIG_PM_RUNTIME is not set

2014-08-29 Thread Laurentiu Palcu
When CONFIG_PM_RUNTIME is not set, the following issues are seen: * warning message at compilation time: warning: 'bmc150_accel_get_startup_times' defined but not used [-Wunused-function] * bmc150_accel_set_power_state() will always fail and reading the accelerometer data is impossible;

[PATCH v2 0/3] iio: accel: BMC150: add support for more Bosch chips

2014-08-29 Thread Laurentiu Palcu
v2: * fixed the sensitivity value: 75590 -> 76590 * changed comments, commit messages and IDs to reflect that BMA250E and BMA222E are the chips supported (not BMA250/BMA222); To ease reviewers' job (I should've done that from the very beginning, sorry), here's where you cand find the registe

[PATCH v2 1/3] iio: accel: BMC150: fix scale value for 16G

2014-08-29 Thread Laurentiu Palcu
According to documentation ([1] - page 27), the range for 16G is 7.81mg/LSB. Converted to SI, this is: 7.81 * 10^-3 * 9.80665 m/s^2 / LSB = 0.0765899365 m/s^2 / LSB [1] http://ae-bst.resource.bosch.com/media/products/dokumente/bmc150/BST-BMC150-DS000-04.pdf Signed-off-by: Laurentiu Palcu --

[PATCH V5 03/14] input: cyapa: add cyapa driver runtime power management interfaces support

2014-08-29 Thread Dudley Du
Add runtime_suspend_scanrate_ms power management interfaces in device's power group, so users or applications can control the runtime power management strategy of trackpad device as their requirements. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa.c | 142 +

Re: [PATCH 1/2] PCI/MSI/PPC: Remove arch_msi_check_device()

2014-08-29 Thread Michael Ellerman
On Sat, 2014-07-12 at 13:21 +0200, Alexander Gordeev wrote: > PowerPC is the only architecture that makes use of hook > arch_msi_check_device() and does perform some checks to > figure out if MSI/MSI-X could be enabled for a device. > However, there are no reasons why those checks could not > be do

Re: [alsa-devel] [PATCH v3 1/2] mfd: arizona: Add support for INn_Modec register control

2014-08-29 Thread Inha Song
On Fri, 29 Aug 2014 09:17:41 +0100 Lee Jones wrote: > On Fri, 29 Aug 2014, Inha Song wrote: > > > Hi, Lee > > Thanks for your review. > > > > On Thu, 28 Aug 2014 12:36:51 +0100 > > Lee Jones wrote: > > > > > On Mon, 18 Aug 2014, Inha Song wrote: > > > > > > > Some boards need to set the INn_

[patch] VMCI: integer overflow in vmci_datagram_dispatch()

2014-08-29 Thread Dan Carpenter
This is untrusted user data from vmci_host_do_send_datagram() so the VMCI_DG_SIZE() macro can have an integer overflow. Signed-off-by: Dan Carpenter diff --git a/drivers/misc/vmw_vmci/vmci_datagram.c b/drivers/misc/vmw_vmci/vmci_datagram.c index f3cdd90..8226652 100644 --- a/drivers/misc/vmw_vm

[PATCH V5 09/14] input: cyapa: add gen3 trackpad device read firmware image function support

2014-08-29 Thread Dudley Du
Add read firmware image function supported for gen3 trackpad device, which its function is supplied through cyapa core read_fw interface. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen3.c | 73 1 file changed, 73 inse

[PATCH V5 12/14] input: cyapa: add gen5 trackpad device baseline and calibrate functions support

2014-08-29 Thread Dudley Du
Add report baseline and force calibrate functions supported for gen5 trackpad device, which these functions are supplied through cyapa core baseline and calibrate interfaces. TEST=test on Chromebooks. Signed-off-by: Dudley Du --- drivers/input/mouse/cyapa_gen5.c | 670 +++

Re: [PATCH RESEND 0/8] i2c: Relax mandatory I2C ID table passing

2014-08-29 Thread Wolfram Sang
Hi Lee, > Placing this firmly back on your plate. I truly hope we don't miss > another merge-window. Nope, we won't. I'll still need a week or so due to other duties. > This patch-set has the support of some pretty > senior kernel maintainers, so I hope acceptance shouldn't be too > difficult.

Re: For review: namespaces(7) man page

2014-08-29 Thread Vitaly Rybnikov
Hello, Michael et al. You have an errata here: > /proc/[pid]/ns/uts (since Linux 3.0) > This file is a handle for the IPC namespace of the > process. It should be: /proc/[pid]/ns/uts (since Linux 3.0) This file is a handle for the UTS namespace of the process. --- Regards, Vitaly. -- To

Re: [PATCH v5 1/3] ARM: probes: check stack operation when decoding

2014-08-29 Thread Jon Medhurst (Tixy)
On Thu, 2014-08-28 at 11:24 +0100, Will Deacon wrote: > On Thu, Aug 28, 2014 at 11:20:21AM +0100, Russell King - ARM Linux wrote: > > On Thu, Aug 28, 2014 at 06:51:15PM +0900, Masami Hiramatsu wrote: > > > (2014/08/27 22:02), Wang Nan wrote: > > > > This patch improves arm instruction decoder, allo

Re: [PATCH RESEND 0/8] i2c: Relax mandatory I2C ID table passing

2014-08-29 Thread Lee Jones
On Fri, 29 Aug 2014, Wolfram Sang wrote: > > Placing this firmly back on your plate. I truly hope we don't miss > > another merge-window. > > Nope, we won't. I'll still need a week or so due to other duties. Perfectly reasonable. > > This patch-set has the support of some pretty > > senior kern

Re: [PATCH] crypto: qat - Use pci_enable_msix_exact() instead of pci_enable_msix()

2014-08-29 Thread Alexander Gordeev
On Tue, Aug 19, 2014 at 09:32:04AM +0200, Alexander Gordeev wrote: > As result of deprecation of MSI-X/MSI enablement functions > pci_enable_msix() and pci_enable_msi_block() all drivers > using these two interfaces need to be updated to use the > new pci_enable_msi_range() or pci_enable_msi_exact

Re: [PATCH] usb: dwc3: exynos: remove usb_phy_generic support

2014-08-29 Thread Bartlomiej Zolnierkiewicz
On Thursday, August 28, 2014 12:29:52 PM Greg Kroah-Hartman wrote: > On Thu, Aug 28, 2014 at 08:11:04PM +0200, Bartlomiej Zolnierkiewicz wrote: > > > > [ added Alan and Greg to cc: ] > > > > Hi, > > > > On Wednesday, August 27, 2014 11:42:25 PM Vivek Gautam wrote: > > > Hi Baltlomiej, > > > > >

Re: [PATCH] mm: page_alloc: avoid wakeup kswapd on the unintended node

2014-08-29 Thread Weijie Yang
On Fri, Aug 29, 2014 at 4:12 PM, Mel Gorman wrote: > On Fri, Aug 29, 2014 at 03:03:19PM +0800, Weijie Yang wrote: >> When enter page_alloc slowpath, we wakeup kswapd on every pgdat >> according to the zonelist and high_zoneidx. However, this doesn't >> take nodemask into account, and could prematu

[PATCH v2 00/19] powerpc/8xx: Optimise MMU TLB handling and add support of 16k pages

2014-08-29 Thread Christophe Leroy
This patchset: 1) provides several MMU TLB handling optimisation on MPC8xx. 2) adds support of 16k pages on MPC8xx. All changes have been successfully tested on a custom board equipped with MPC885 The two differences with first version of the patch are: 1) I removed the patch number 10, which was

[GIT PULL] MFD: ARM (IMX & R8): Immutable branch for Dialog Semiconductor - vendor prefix consolidation

2014-08-29 Thread Lee Jones
IMX and R8 sub-arch Maintainers, The following changes since commit 52addcf9d6669fa439387610bc65c92fa0980cef: Linux 3.17-rc2 (2014-08-25 15:36:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git tags/ib-mfd-arm-v3.18 for you to fetch

[PATCH v2 04/19] powerpc/8xx: Remove loading of r10 at end of FixupDAR

2014-08-29 Thread Christophe Leroy
Since commit 2321f33790a6c5b80322d907a92d5739e7521a13, r10 is not used anymore after FixupDAR. There is therefore no need to set it up with the value of DAR. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff

[PATCH v2 10/19] powerpc/8xx: Duplicate two insns instead of branching

2014-08-29 Thread Christophe Leroy
Branching takes two cycles on MPC8xx. Lets duplicate the two instructions and avoid the branching. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/kerne

[PATCH v2 09/19] powerpc/8xx: Optimize verification in FixupDAR

2014-08-29 Thread Christophe Leroy
By XORing the upper part of the instruction code, we get a value that can directly be verified with the second test and we can remove the first test. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/

[PATCH v2 16/19] powerpc/8xx: Better readibility of ERRATA CPU6 handling

2014-08-29 Thread Christophe Leroy
This patch hiddes that SPR address needed for CPU6 ERRATA handling in the macro. Then we don't have to worry about this address directly in the code. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 29 - 1 files changed, 16 insertions(+), 13 de

[PATCH v2 11/19] powerpc/8xx: Use M_TW instead of M_TWB

2014-08-29 Thread Christophe Leroy
Use M_TW instead of M_TWB for storing Level 1 table address as M_TWB requires 4k aligned tables, which is only the case with 4k pages. Consequently, we have to calculate the level 1 table index by ourselves. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 48 +

[PATCH v2 19/19] powerpc/8xx: Don't restore regs to save them again.

2014-08-29 Thread Christophe Leroy
There is not need to restore r10, r11 and cr registers at this end of ITLBmiss handler as they are saved again to the same place in ITLBError handler we are jumping to. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |8 +--- 1 files changed, 5 insertions(+), 3 deleti

[PATCH v2 18/19] powerpc/8xx: _PMD_PRESENT already set in level 1 entries

2014-08-29 Thread Christophe Leroy
When a PMD entry is valid, _PMD_PRESENT is set. Therefore, forcing that bit during TLB loading is useless. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S b/arch/powerpc/k

[PATCH v2 05/19] powerpc/8xx: Fix comment about DIRTY update

2014-08-29 Thread Christophe Leroy
Since commit 2321f33790a6c5b80322d907a92d5739e7521a13, dirty handling is not handled here anymore. So we fix the comment. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/arch/powerpc/kernel/head_8

[PATCH v2 06/19] powerpc/8xx: No need to save r10 and r3 when not calling FixupDAR

2014-08-29 Thread Christophe Leroy
r10 and r3 are only used inside FixupDAR function. So lets save them inside that function only. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 27 +-- 1 files changed, 13 insertions(+), 14 deletions(-) diff --git a/arch/powerpc/kernel/head_8xx.S

[PATCH v2 08/19] powerpc/8xx: No need to restore registers and save them again.

2014-08-29 Thread Christophe Leroy
In DTLBError handler there is not need to restore r10, r11 and cr registers after fixing DAR as they are saved again to the same place just after. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/

[PATCH v2 01/19] powerpc/8xx: Declare SPRG2 as a SCRATCH register

2014-08-29 Thread Christophe Leroy
Since coming 469d62be9263b92f2c3329540cbb1c076111f4f3, SPRG2 is used as a scratch register just like SPRG0 and SPRG1. So Declare it as such and fix the comment which is not valid anymore since that commit. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/reg.h |3 ++- arch/power

[PATCH v2 02/19] powerpc/8xx: Use SCRATCH0 and SCRATCH1 also for TLB handlers

2014-08-29 Thread Christophe Leroy
SCRATCH0 and SCRATCH1 are only used in Exceptions prologs where no other exception can happen. There is therefore no need to preserve them accross TLB handlers, we can use them there as in other exceptions. One of the advantages is that they do not suffer CPU6 errata unlike M_TW register. Signed-o

[PATCH v2 07/19] powerpc/8xx: DataAccess exception not generated by MPC8xx

2014-08-29 Thread Christophe Leroy
DataAccess exception is never generated by MPC8xx so do the job directly where it is used to avoid an unnecessary branching. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 23 ++- 1 files changed, 10 insertions(+), 13 deletions(-) diff --git a/arch/p

[PATCH v2 03/19] powerpc/8xx: exception InstructionAccess does not exist on MPC8xx

2014-08-29 Thread Christophe Leroy
Exception InstructionAccess does not exist on MPC8xx. No need to branch there from somewhere else. Handling can be done directly in InstructionTLBError Exception. Signed-off-by: Christophe Leroy --- arch/powerpc/kernel/head_8xx.S | 17 +++-- 1 files changed, 7 insertions(+), 10

[Patch v4] x86, irq, PCI: Keep IRQ assignment for runtime power management

2014-08-29 Thread Jiang Liu
Now IOAPIC driver dynamically allocates IRQ numbers for IOAPIC pins. We need to keep IRQ assignment for PCI devices during runtime power management, otherwise it may cause failure of device wakeups. Commit 3eec595235c17a7 "x86, irq, PCI: Keep IRQ assignment for PCI devices during suspend/hibernati

[PATCH 2/2] ASoC: simple-card: Fix bug of wrong decrement DT node's refcount

2014-08-29 Thread Xiubo Li
DAI links's cpu_of_node's and codec_of_node's refcounts shouldn't be decremented immediately at the end of the probe() fucntion. Because we will still use them before the audio card is removed. Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 52 ++---

[PATCH 0/2] ASoC: simple-card: Fix bug about DT node's refcount

2014-08-29 Thread Xiubo Li
This patch series hasn't any dependency with the previous one: "[RFC][PATCH] ASoC: simple-card: Merge single and muti DAI link code." Xiubo Li (2): ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount ASoC: simple-card: Fix bug of wrong decrement DT node's refcount soun

[PATCH 1/2] ASoC: simple-card: Fix bug of forgetting decrement DT node's refcount

2014-08-29 Thread Xiubo Li
We shouldn't forget decrement the last DT node when the of_get_next_child() has finished searching. Signed-off-by: Xiubo Li --- sound/soc/generic/simple-card.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/generic/simple-card.c b/sound/soc/generic/simple-card.c index 21b0ea2..967

[PATCHv2] clk: ppc-corenet: rename to ppc-qoriq and add CLK_OF_DECLARE support

2014-08-29 Thread Jingchang Lu
The IP is shared on PPC and ARM, this rename it to qoriq for better represention, and this also add the CLK_OF_DECLARE support for being initialized by of_clk_init() on ARM. Signed-off-by: Jingchang Lu --- changes in v2: rename the driver name to ppc-qoriq.c for shared on PPC and ARM. drivers/

[PATCH v2 17/19] powerpc/8xx: set PTE bit 22 off TLBmiss

2014-08-29 Thread Christophe Leroy
No need to re-set this bit at each TLB miss. Let's set it in the PTE. Signed-off-by: Christophe Leroy --- arch/powerpc/include/asm/pgtable-ppc32.h | 21 + arch/powerpc/include/asm/pte-8xx.h |7 +-- arch/powerpc/kernel/head_8xx.S | 10 ++ 3

[PATCH v2 15/19] powerpc/8xx: Implement 16k pages

2014-08-29 Thread Christophe Leroy
This patch activates the handling of 16k pages on the MPC8xx. Signed-off-by: Christophe Leroy --- arch/powerpc/Kconfig |2 +- arch/powerpc/include/asm/mmu-8xx.h |2 ++ arch/powerpc/kernel/head_8xx.S |4 3 files changed, 7 insertions(+), 1 deletions(-) diff --

[hyperv] BUG: unable to handle kernel paging request at ffff8801f5bc7cbb (netvsc_select_queue)

2014-08-29 Thread Sitsofe Wheeler
While booting a 10 vcpu system with a post v3.17-rc2 kernel with the "Drivers: hv: vmbus: Eliminate calls to BUG_ON()", "Drivers: hv: vmbus: Miscellaneous cleanup" patches and debugging/verification config options on I'm seeing the following: [ 31.570860] EXT4-fs (sdb1): mounted filesystem with

Re: [PATCH] include/linux/mfd/davinci_voicecodec.h: Fix typo in include guard

2014-08-29 Thread Lee Jones
On Fri, 22 Aug 2014, Rasmus Villemoes wrote: > The include guard doesn't work as intended due to the transposition > typo DAVINCI -> DAVINIC. > > Signed-off-by: Rasmus Villemoes > --- > include/linux/mfd/davinci_voicecodec.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Corrected non-

  1   2   3   4   5   6   >