Re: [PATCH] iio: adc: mxs-lradc: Prefer using the BIT macro

2015-11-09 Thread kbuild test robot
Hi Nizam, [auto build test WARNING on staging/staging-testing] [also build test WARNING on v4.3 next-20151109] url: https://github.com/0day-ci/linux/commits/Nizam-Haider/iio-adc-mxs-lradc-Prefer-using-the-BIT-macro/20151109-222735 config: sparc64-allyesconfig (attached as .config) reproduce

Re: [PATCH 1/3] h8300: Rename ctlr_out/in[bwl] to raw_read/write[bwl]

2015-11-09 Thread Daniel Lezcano
On 11/09/2015 03:36 PM, Daniel Lezcano wrote: For the sake of consistency, let rename all ctrl_out/in calls to the write/read calls so we have the same API consistent with the other architectures hence open the door for the increasing of the test compilation coverage. The unsigned long coercive

Re: [RFC] usb: dwc2: hcd: fix split schedule issue

2015-11-09 Thread Doug Anderson
Hi, On Mon, Nov 9, 2015 at 1:57 AM, Yunzhi Li wrote: > It seems that we are debugging two different issues, your new patch which > rewrite > the microframe scheduler doesn't resolve my problem. My patch fix chrome-os > issue > #46547 not related to the particular Microsoft keyboard any keyboard c

Re: [RFC PATCH v6 00/17] ILP32 for ARM64

2015-11-09 Thread Arnd Bergmann
On Monday 09 November 2015 15:33:51 Andreas Schwab wrote: > Arnd Bergmann writes: > > > On Monday 09 November 2015 14:23:59 Andreas Schwab wrote: > >> Yury Norov writes: > >> > >> > This is what I run: > >> > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t > >> > >> That doesn

[PATCH 2/3] clocksource/drivers/h8300_timer8: Separate the Kconfig option from the arch

2015-11-09 Thread Daniel Lezcano
The current Kconfig option is the H8300 arch option. In order to comply to the current rule, let's create a specific option for the timer8 and select it from the arch's Kconfig. Signed-off-by: Daniel Lezcano --- arch/h8300/Kconfig | 1 + drivers/clocksource/Kconfig | 3 +++ drivers/cl

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-09 Thread Jacob Pan
On Mon, 09 Nov 2015 11:56:51 + Punit Agrawal wrote: > > actually, I was suggesting to start considering idle injection once > > frequency capped to the energy efficient point, which can be much > > higher than the lowest frequency. The idea being, deep idle power is > > negligible compared to

[PATCH 3/3] clocksource/drivers/h8300: Increase the compilation test coverage

2015-11-09 Thread Daniel Lezcano
Add the COMPILE_TEST option so the drivers can be compiled on different architecture with the 'allyesconfig' kernel configuration. Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/drivers/clocksou

[PATCH 1/3] h8300: Rename ctlr_out/in[bwl] to raw_read/write[bwl]

2015-11-09 Thread Daniel Lezcano
For the sake of consistency, let rename all ctrl_out/in calls to the write/read calls so we have the same API consistent with the other architectures hence open the door for the increasing of the test compilation coverage. The unsigned long coercive cast is removed because all variables are set to

Re: [PATCH] [media] mt9t001: constify v4l2_subdev_internal_ops structure

2015-11-09 Thread Laurent Pinchart
Hi Julia, Thank you for the patch. On Sunday 11 October 2015 13:57:13 Julia Lawall wrote: > This v4l2_subdev_internal_ops structure is never modified. All other > v4l2_subdev_internal_ops structures are declared as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall

Re: [RFC PATCH v6 00/17] ILP32 for ARM64

2015-11-09 Thread Andreas Schwab
Arnd Bergmann writes: > On Monday 09 November 2015 14:23:59 Andreas Schwab wrote: >> Yury Norov writes: >> >> > This is what I run: >> > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t >> >> That doesn't work for me: >> >> ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: er

Re: [PATCH V2 1/3] scsi: mptxsas: try 64 bit DMA when 32 bit DMA fails

2015-11-09 Thread Arnd Bergmann
On Monday 09 November 2015 09:07:36 Sinan Kaya wrote: > > On 11/9/2015 3:59 AM, Arnd Bergmann wrote: > > On Monday 09 November 2015 08:09:39 Hannes Reinecke wrote: > >> On 11/09/2015 02:57 AM, Sinan Kaya wrote: > >>> Current code gives up when 32 bit DMA is not supported. > >>> This problem has be

Re: [PATCH] mips: sb1250_swarm_defconfig: disable IDE subsystem

2015-11-09 Thread Maciej W. Rozycki
On Mon, 14 Sep 2015, Bartlomiej Zolnierkiewicz wrote: > This patch disables deprecated IDE subsystem in sb1250_swarm_defconfig > (no IDE host drivers are selected in this config so there is no valid > reason to enable IDE subsystem itself). Someone forgot to enable BLK_DEV_PLATFORM, it would see

Re: [PATCH v3 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-09 Thread Laurent Vivier
On 09/11/2015 15:04, Hannes Reinecke wrote: > On 11/09/2015 02:53 PM, Laurent Vivier wrote: >> QEMU allows until 32 LUNs. >> >> Signed-off-by: Laurent Vivier >> --- >> drivers/scsi/ibmvscsi/ibmvscsi.c | 9 - >> drivers/scsi/ibmvscsi/ibmvscsi.h | 1 + >> 2 files changed, 9 insertions(+),

[PATCH] iio: adc: mxs-lradc: Prefer using the BIT macro

2015-11-09 Thread Nizam Haider
Replaces bit shifting on 1 with the BIT(x) macro Signed-off-by: Nizam Haider --- drivers/staging/iio/adc/mxs-lradc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/iio/adc/mxs-lradc.c b/drivers/staging/iio/adc/mxs-lradc.c index d997d9c..5f1375c 100644 --- a/

Re: The alignment mismatch issues between the of_reserved_mem and the CMA setup requirement

2015-11-09 Thread Rob Herring
On Mon, Nov 9, 2015 at 3:39 AM, Liu Jason wrote: > There is an alignment mismatch issue between the of_reserved_mem and the CMA > setup requirement. > > The alignment in > Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt > > > alignment (optional) - length based on parent's

Re: [PATCH v2 1/2] i2c: mediatek: add i2c first write then read optimization

2015-11-09 Thread Andy Shevchenko
On Mon, Nov 9, 2015 at 7:43 AM, Liguo Zhang wrote: > For platform with auto restart support, between every transfer, > i2c controller will trigger an interrupt and SW need to handle > it to start new transfer. When doing write-then-read transfer, > instead of restart mechanism, using WRRD mode to

Re: [PATCH v5 0/6] arm64: ftrace: fix incorrect output from stack tracer

2015-11-09 Thread Jungseok Lee
On Nov 6, 2015, at 3:44 PM, AKASHI Takahiro wrote: Hi Akashi, > This is the fifth patch series for fixing stack tracer on arm64. > The original issue was reported by Jungseok[1], and then I found more > issues[2]. > > We don't have to care about the original issue because the root cause > (patch

Re: [RFC PATCH v6 00/17] ILP32 for ARM64

2015-11-09 Thread Arnd Bergmann
On Monday 09 November 2015 14:23:59 Andreas Schwab wrote: > Yury Norov writes: > > > This is what I run: > > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t > > That doesn't work for me: > > ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: error: ‘__NR_llseek’ > undeclar > e

Re: [RFC/PATCH] media: omap3isp: Set maximum DMA segment size

2015-11-09 Thread Laurent Pinchart
Hello everybody, Ping ? On Tuesday 13 October 2015 16:18:36 Laurent Pinchart wrote: > The maximum DMA segment size controls the IOMMU mapping granularity. Its > default value is 64kB, resulting in potentially non-contiguous IOMMU > mappings. Configure it to 4GB to ensure that buffers get mapped >

Re: [GIT] Networking

2015-11-09 Thread Rasmus Villemoes
On Mon, Nov 09 2015, Hannes Frederic Sowa wrote: > Hi, > > On Wed, Oct 28, 2015, at 15:27, Rasmus Villemoes wrote: >> >> I agree - proper overflow checking can be really hard. Quick, assuming a >> and b have the same unsigned integer type, is 'a+b> check overflow? Of course not (hint: promotion

Re: [PATCH] gpio: 74xx: fix a possible NULL dereference

2015-11-09 Thread Andy Shevchenko
On Mon, Nov 9, 2015 at 2:21 AM, Alexandre Courbot wrote: > On Fri, Nov 6, 2015 at 12:55 AM, LABBE Corentin > wrote: >> of_match_device could return NULL, and so cause a NULL pointer >> dereference later at line 132: >> priv->flags = (uintptr_t) of_id->data; >> >> Reported-by: coverity (CID 132414

Re: [PATCH] perf tools: Correct typing errors about '-' or '_' in config variable.

2015-11-09 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 07:54:35PM +0900, Taeung Song escreveu: > To improve perf config usability, we should probably also recognize > underscores in perf config entries, i.e. the following variants > should both work: as suggested by Ingo Molnar > > print_percent = 1 > print-perc

Re: [PATCH v2 00/20] Fix handling of compat_siginfo_t

2015-11-09 Thread Oleg Nesterov
On 11/07, Andy Lutomirski wrote: > > On Wed, Nov 4, 2015 at 4:50 PM, Amanieu d'Antras wrote: > > One issue that isn't resolved in this series is sending signals between a > > 32-bit > > process and 64-bit process. Sending a si_int will work correctly, but a > > si_ptr > > value will likely get c

Re: [RFC PATCH 0/3] CFS idle injection

2015-11-09 Thread Peter Zijlstra
On Mon, Nov 09, 2015 at 11:56:51AM +, Punit Agrawal wrote: > Jacob Pan writes: > > My take is that RT and throttling will never go well together since they > > are conflicting in principle. > > I am not sure I follow. If RT (or other higher priority classes) can't > be throttled then the CPUs

Re: [PATCH V2 2/3] scsi: fix compiler warning for sg

2015-11-09 Thread Andy Shevchenko
On Mon, Nov 9, 2015 at 3:57 AM, Sinan Kaya wrote: > The MULDIV macro has been designed for small numbers. > Compiler emits an overflow warning on 64 bit systems. > This patch uses 64 bit numbers in order to suppress > warning. > > Signed-off-by: Sinan Kaya > --- > drivers/scsi/sg.c | 20 ++

Re: [PATCH 22/26] Input: synaptics-rmi4 - Add F30 support

2015-11-09 Thread Benjamin Tissoires
Hey Linus, first thanks for the reviews. Much appreciated. On Mon, Nov 9, 2015 at 2:32 PM, Linus Walleij wrote: > On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > >> From: Benjamin Tissoires >> >> RMI4 Function 0x30 provides support for GPIOs, LEDs and mechanical >> buttons. In particu

Re: [PATCH 1/2] mmc: sdhci: set bus voltage before enabling bus power

2015-11-09 Thread Ulf Hansson
On 9 November 2015 at 14:23, Ludovic Desroches wrote: > On Fri, Nov 06, 2015 at 04:59:29PM +0100, Ludovic Desroches wrote: >> When there is a vmmc regulator, only SD Bus Power is set to 1 in the >> Power Control Register. It means SD Bus Voltage Select field is set to 0 >> that is a reserved value

[PATCH] mvneta: add FIXED_PHY dependency

2015-11-09 Thread Arnd Bergmann
The fixed_phy infrastructure is done in a way that is optional, by providing 'static inline' helper functions doing nothing in include/linux/phy_fixed.h for all its APIs. However, three out of the four users (DSA, BCMGENET, and SYSTEMPORT) always 'select FIXED_PHY', presumably because they need tha

Re: [PATCH 0/5] memcg/kmem: switch to white list policy

2015-11-09 Thread Michal Hocko
On Sat 07-11-15 23:07:04, Vladimir Davydov wrote: > Hi, > > Currently, all kmem allocations (namely every kmem_cache_alloc, kmalloc, > alloc_kmem_pages call) are accounted to memory cgroup automatically. > Callers have to explicitly opt out if they don't want/need accounting > for some reason. Suc

Re: [Patch v7 4/7] PCI/ACPI: Add interface acpi_pci_root_create()

2015-11-09 Thread Tomasz Nowicki
On 06.11.2015 14:22, Jiang Liu wrote: On 2015/11/6 20:40, Tomasz Nowicki wrote: On 06.11.2015 12:46, Jiang Liu wrote: On 2015/11/6 18:37, Tomasz Nowicki wrote: On 06.11.2015 09:52, Jiang Liu wrote: Sure, ARM64 (0-16M IO space) QEMU example: DWordIO (ResourceProducer, MinFixed, MaxFixed, PosDec

Re: [PATCH V2 1/3] scsi: mptxsas: try 64 bit DMA when 32 bit DMA fails

2015-11-09 Thread Sinan Kaya
On 11/9/2015 3:59 AM, Arnd Bergmann wrote: On Monday 09 November 2015 08:09:39 Hannes Reinecke wrote: On 11/09/2015 02:57 AM, Sinan Kaya wrote: Current code gives up when 32 bit DMA is not supported. This problem has been observed on systems without any memory below 4 gig. This patch tests 6

Re: [PATCH v3 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-09 Thread Hannes Reinecke
On 11/09/2015 02:53 PM, Laurent Vivier wrote: > QEMU allows until 32 LUNs. > > Signed-off-by: Laurent Vivier > --- > drivers/scsi/ibmvscsi/ibmvscsi.c | 9 - > drivers/scsi/ibmvscsi/ibmvscsi.h | 1 + > 2 files changed, 9 insertions(+), 1 deletion(-) > Nothing to do with QEMU; this is a d

Re: [PATCH v5 2/6] arm64: ftrace: fix a stack tracer's output under function graph tracer

2015-11-09 Thread Jungseok Lee
On Nov 6, 2015, at 3:44 PM, AKASHI Takahiro wrote: Hi Akashi, > Function graph tracer modifies a return address (LR) in a stack frame > to hook a function return. This will result in many useless entries > (return_to_handler) showing up in a stack tracer's output. > > This patch replaces such en

[PATCH] mmc: core: set regulator not found message as debug

2015-11-09 Thread Ludovic Desroches
Turn the informative message about no vmmc/vqmmc regulator found in debug one. There is no need to indicate that something optional is missing. Moreover, it can bring confusion, people who doesn't know it is optional may consider these messages as warnings or errors. Signed-off-by: Ludovic Desroch

Re: [PATCH 2/2] ASoC: codecs: Add da7218 codec driver

2015-11-09 Thread Mark Brown
On Mon, Nov 09, 2015 at 12:28:39PM +, Opensource [Adam Thomson] wrote: > On November 8, 2015 10:34, Mark Brown wrote: > > What I'm trying to figure out here is if this depends on the audio > > routing at runtime or if it's got dedicated configuration? > This feature is available for any/all m

Re: [PATCH v10 01/22] perf tools: Add 'perf-config' command

2015-11-09 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 10:58:06AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Mon, Nov 09, 2015 at 11:32:54AM +0900, Taeung Song escreveu: > > The perf configuration file contains many variables to change various > > aspects of each of its tools, including output, disk usage, etc. > > But looki

Re: [PATCH V2 3/3] scsi: mptxsas: offload IRQ execution

2015-11-09 Thread Sinan Kaya
On 11/9/2015 2:15 AM, Hannes Reinecke wrote: On 11/09/2015 02:57 AM, Sinan Kaya wrote: The mpt2sas and mpt3sas drivers are spinning forever in their IRQ handlers if there are a lot of jobs queued up by the PCIe card. This handler is causing spikes for the rest of the system and sluggish behavi

Re: [PATCH V2 1/3] scsi: mptxsas: try 64 bit DMA when 32 bit DMA fails

2015-11-09 Thread Sinan Kaya
On 11/9/2015 2:09 AM, Hannes Reinecke wrote: On 11/09/2015 02:57 AM, Sinan Kaya wrote: Current code gives up when 32 bit DMA is not supported. This problem has been observed on systems without any memory below 4 gig. This patch tests 64 bit support before bailing out to find a working combina

[PATCH RESEND] net: Documentation: Fix default value tcp_limit_output_bytes

2015-11-09 Thread Niklas Cassel
Commit c39c4c6abb89 ("tcp: double default TSQ output bytes limit") updated default value for tcp_limit_output_bytes Signed-off-by: Niklas Cassel --- Documentation/networking/ip-sysctl.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/networking/ip-sysctl.txt

[PATCH v2 3/4] ARM: dts: imx7d.dtsi: add ADC support

2015-11-09 Thread Haibo Chen
Add imx7d ADC support. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d.dtsi | 20 1 file changed, 20 insertions(+) diff --git a/arch/arm/boot/dts/imx7d.dtsi b/arch/arm/boot/dts/imx7d.dtsi index ebc053a..87c3319 100644 --- a/arch/arm/boot/dts/imx7d.dtsi +++ b/arch/arm/

Re: [PATCH V2 4/6] dmaengine: tegra-apb: Only save channel state for those in use

2015-11-09 Thread Andy Shevchenko
On Mon, Nov 9, 2015 at 3:23 PM, Jon Hunter wrote: > Currently the tegra-apb DMA driver suspend/resume helpers, save and > restore the registers for all channels regardless of whether they are > in use or not. Change this so that only channels that have been > allocated and configured are saved and

Re: [PATCH 2/3] context_tracking: avoid irq_save/irq_restore on guest entry and exit

2015-11-09 Thread Rik van Riel
On 10/27/2015 09:39 PM, Paolo Bonzini wrote: > guest_enter and guest_exit must be called with interrupts disabled, > since they take the vtime_seqlock with write_seq{lock,unlock}. > Therefore, it is not necessary to check for exceptions, nor to > save/restore the IRQ state, when context tracking fu

Re: [PATCH v10 01/22] perf tools: Add 'perf-config' command

2015-11-09 Thread Arnaldo Carvalho de Melo
Em Mon, Nov 09, 2015 at 11:32:54AM +0900, Taeung Song escreveu: > The perf configuration file contains many variables to change various > aspects of each of its tools, including output, disk usage, etc. > But looking through state of configuration is difficult and > there's no knowing what kind of

Re: [PATCH 1/3] context_tracking: remove duplicate enabled check

2015-11-09 Thread Rik van Riel
On 10/27/2015 09:39 PM, Paolo Bonzini wrote: > All calls to context_tracking_enter and context_tracking_exit > are already checking context_tracking_is_enabled, except the > context_tracking_user_enter and context_tracking_user_exit > functions left in for the benefit of assembly calls. > > Pull t

Re: [PATCH V2 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-11-09 Thread Andy Shevchenko
On Mon, Nov 9, 2015 at 3:23 PM, Jon Hunter wrote: > The tegra-apb DMA driver enables runtime-pm but never calls > pm_runtime_get/put and hence the runtime-pm callbacks are never invoked. > The driver manages the clocks by directly calling clk_prepare_enable() > and clk_unprepare_disable(). > > Fix

[PATCH v3 2/3] ibmvscsi: display default value for max_id, max_lun and max_channel.

2015-11-09 Thread Laurent Vivier
As devices with values greater than that are silently ignored, this gives some hints to the sys admin to know why he doesn't see his devices... Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/s

[PATCH v3 3/3] ibmvscsi: Allow to configure maximum LUN

2015-11-09 Thread Laurent Vivier
QEMU allows until 32 LUNs. Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 9 - drivers/scsi/ibmvscsi/ibmvscsi.h | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c index 04de287..56

[PATCH v3 1/3] ibmvscsi: make parameters max_id and max_channel read-only

2015-11-09 Thread Laurent Vivier
The value of the parameter is never re-read by the driver, so a new value is ignored. Let know the user he can't modify it by removing writable attribute. Signed-off-by: Laurent Vivier --- drivers/scsi/ibmvscsi/ibmvscsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dr

[PATCH v3 0/3] ibmvscsi parameter cleanup

2015-11-09 Thread Laurent Vivier
v3 checks that max_lun is less or equal to 31 v2 of this series only fix the format type of max_lun: drivers/scsi/ibmvscsi/ibmvscsi.c:2298:4: warning: format '%d' expects argument of type 'int', but argument 4 has type 'u64 {aka long long unsigned int}' [-Wformat=] "Maximum ID: %d Maximum

Re: [PATCH v4 5/5] pwm-pca9685: enable ACPI device found on Galileo Gen2

2015-11-09 Thread Andy Shevchenko
On Fri, 2015-10-23 at 12:16 +0300, Andy Shevchenko wrote: > There is a chip connected to i2c bus on Intel Galileo Gen2 board. > Enable it via > ACPI ID INT3492. Thierry, ping? > > Cc: Thierry Reding > Signed-off-by: Andy Shevchenko > --- >  drivers/pwm/Kconfig   |  2 +- >  drivers/pwm/pwm-

[PATCH] power: bq27xxx_battery: Revert "Remove unneeded dependency in Kconfig"

2015-11-09 Thread Arnd Bergmann
The dependency was clearly needed, without it it is possible to build the core i2c driver as a loadable module and the bq27xxx driver built-in, which results in link errors: drivers/built-in.o: In function `bq27xxx_battery_i2c_read': binder.c:(.text+0x360bf0): undefined reference to `i2c_transfer'

Re: [kernel-hardening] Re: [PATCH] video: constify geode ops structures

2015-11-09 Thread Dan Carpenter
Actually, it looks like Emese Revfy is going to merge the GCC plugin constify stuff sooner rather than later so maybe adding all these consts isn't going to be needed. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: [PATCH] acpi: add support for extended IRQ to PCI link

2015-11-09 Thread Timur Tabi
Sinan Kaya wrote: I'm concerned about this though since you warned. This used to consume 1024 bytes now 4096 bytes. static int acpi_irq_penalty[ACPI_MAX_IRQS] = { PIRQ_PENALTY_ISA_ALWAYS,/* IRQ0 timer */ ... } As long as it's not ever put on the stack, it should be fine. -- Sent by

Re: [PATCH v4 2/3] mtd: nand: Add support for Arasan Nand Flash Controller

2015-11-09 Thread Andy Shevchenko
On Thu, 2015-11-05 at 08:19 +0530, Punnaiah Choudary Kalluri wrote: > Added the basic driver for Arasan Nand Flash Controller used in > Zynq UltraScale+ MPSoC. It supports only Hw Ecc and upto 24bit > correction. > > +config MTD_NAND_ARASAN > + tristate "Support for Arasan Nand Flash controll

Re: [PATCH 1/4] staging: comedi: use kmalloc_array instead of kmalloc

2015-11-09 Thread Ian Abbott
On 08/11/15 14:17, Geliang Tang wrote: Use kmalloc_array instead of kmalloc to allocate memory for an array. Signed-off-by: Geliang Tang --- drivers/staging/comedi/drivers/amplc_pci224.c | 8 drivers/staging/comedi/drivers/ni_670x.c | 5 +++-- 2 files changed, 7 insertions(+),

Re: [PATCH V3 3/4] dmaselftest: add memcpy selftest support functions

2015-11-09 Thread Timur Tabi
Sinan Kaya wrote: And why kmalloc anyway? Why not leave it on the stack? char src[] = "hello world"; ? I need to call dma_map_single on this address to convert it to a DMA address. That's why. And you can't do that with an object that's on the stack? -- Sent by an employee of the Qu

[PATCH v2 2/4] Documentation: add the binding file for Freescale imx7d ADC driver

2015-11-09 Thread Haibo Chen
The patch adds the binding file for Freescale imx7d ADC driver. Signed-off-by: Haibo Chen --- .../devicetree/bindings/iio/adc/imx7d-adc.txt | 26 ++ 1 file changed, 26 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/imx7d-adc.txt diff --git a

[PATCH v2 4/4] ARM: dts: imx7d-sdb: add ADC support

2015-11-09 Thread Haibo Chen
Add ADC support for imx7d-sdb board. Signed-off-by: Haibo Chen --- arch/arm/boot/dts/imx7d-sdb.dts | 10 ++ 1 file changed, 10 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts index 432aaf5..b2c4536 100644 --- a/arch/arm/boot/dts/imx7d-sdb.dts

[PATCH v2 1/4] iio: adc: add IMX7D ADC driver support

2015-11-09 Thread Haibo Chen
Freescale i.MX7D soc contains a new ADC IP. This patch add this ADC driver support, and the driver only support ADC software trigger. Signed-off-by: Haibo Chen --- drivers/iio/adc/Kconfig | 9 + drivers/iio/adc/Makefile| 1 + drivers/iio/adc/imx7d_adc.c | 571

Re: [PATCH 26/26] Input: synaptics-rmi4: Change the rmi device's name to be less generic

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:43 AM, Andrew Duggan wrote: > Currently, the rmi device has the name sensorXX. Sensor is very generic > and in cases when there is little context it is hard to tell what the > device is (ie in /sys/devices or /proc/interrupts). This patch changes > the name to rmiXX whic

Re: [PATCH 8/9] Staging: lustre: llite_lib: Remove wrapper function

2015-11-09 Thread Michał Kępień
> Remove the function ll_finish_md_op_data() and replace all its calls > with the standrd function ll_finish_md_op_data(). I believe you meant to write "standard function kfree()". -- Best regards, Michał Kępień -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the bo

Re: [PATCH 25/26] Input: synaptics-rmi4: remove sensor_name in platform data

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:43 AM, Andrew Duggan wrote: > The platform data contained a sensor_name string which was used in debug > logs to identify the device. But, the logs already contain enough > information to uniquely identify the device. This patch removes the > sensor_name and substitutes

Re: [PATCH 24/26] Input: synaptics-rmi4: use device managed memory for the data packet buffer

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > The data packet should use device managed memory since the buffer is > retained until the device goes away. > > Signed-off-by: Andrew Duggan Squash into F11 patch. Acked-by: Linus Walleij Yours, Linus Walleij -- To unsubscribe from this

Re: [PATCH 23/26] Input: synaptics-rmi4: move structures and definitions to rmi.h

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > Move all of the structures and function definitions needed by hid-rmi > into rmi.h so that they can be accessed by hid-rmi. > > Signed-off-by: Andrew Duggan Should be squashed into the core patch I guess so it is om from the beginning. B

Re: [PATCH] mmc: add ifdef around fault_create_debugfs_attr()

2015-11-09 Thread Ulf Hansson
On 6 November 2015 at 13:15, Adrien Schildknecht wrote: > FAIL_MMC_REQUEST can be used without FAULT_INJECTION_DEBUG_FS. > In this case fault_create_debugfs_attr() will always return an error and > lead to the deletion of the whole debugfs directory. > > This patch makes sure that FAULT_INJECTION_

Re: [RFC V2] iommu: correct group reference count

2015-11-09 Thread Peng Fan
Hi Will, On Mon, Nov 09, 2015 at 10:10:59AM +, Will Deacon wrote: >On Mon, Nov 09, 2015 at 02:13:28PM +0800, Peng Fan wrote: >> The basic flow for iommu_group_for_dev is: >> iommu_group_get_for_dev >> |-> iommu_group_get : increase reference count by 1. >> return group;

Re: [PATCH 22/26] Input: synaptics-rmi4 - Add F30 support

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > RMI4 Function 0x30 provides support for GPIOs, LEDs and mechanical > buttons. In particular, the mechanical button support is used in > an increasing number of touchpads. > > [BT] cured the code to rely only on

Re: [GIT PULL] MFD for v4.4

2015-11-09 Thread Sudip Mukherjee
On Sat, Nov 07, 2015 at 12:42:30PM +, Lee Jones wrote: > On Fri, 06 Nov 2015, Linus Torvalds wrote: > > > On Fri, Nov 6, 2015 at 12:04 AM, Lee Jones wrote: > > > > > > git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git > > > tags/mfd-for-linus-4.4 > > > > Ugh. > > > > Maintainers,

Re: [kernel-hardening] Re: [PATCH] video: constify geode ops structures

2015-11-09 Thread Dan Carpenter
Yeah, that's tricky and I don't have an answer but marking things as const is a worth while in itself because it makes static some analysis easier. regards, dan carpenter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.o

Re: [PATCH v4 3/3] sched: optimize migration by forcing rmb() and updating to be called once

2015-11-09 Thread Peter Zijlstra
On Sat, Oct 24, 2015 at 01:16:21AM +0900, byungchul.p...@lge.com wrote: > +++ b/kernel/sched/core.c > @@ -1264,6 +1264,8 @@ EXPORT_SYMBOL_GPL(set_cpus_allowed_ptr); > > void set_task_cpu(struct task_struct *p, unsigned int new_cpu) > { > + unsigned int prev_cpu = task_cpu(p); > + > #ifdef

Re: [PATCH 21/26] Input: synaptics-rmi4: Add support for F12

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > Function 12 implements 2D touch position sensor for newer Synaptics touch > devices. It replaces F11 and no device will contain both functions. > > Signed-off-by: Andrew Duggan (...) > +config RMI4_F12 > + bool "RMI4 Function 12 (2D p

[PATCH V2 3/6] dmaengine: tegra-apb: Save and restore word count

2015-11-09 Thread Jon Hunter
Newer tegra devices have a separate word count register per channel that contains the number of words to be transferred. This register is not saved or restored by the suspend/resume helpers for these newer devices and so ensure that it is. Signed-off-by: Jon Hunter --- drivers/dma/tegra20-apb-dm

[PATCH V2 1/6] dmaengine: tegra-apb: Correct runtime-pm usage

2015-11-09 Thread Jon Hunter
The tegra-apb DMA driver enables runtime-pm but never calls pm_runtime_get/put and hence the runtime-pm callbacks are never invoked. The driver manages the clocks by directly calling clk_prepare_enable() and clk_unprepare_disable(). Fix this by replacing the clk_prepare_enable() and clk_disable_un

Re: [PATCH 20/26] Input: synaptics-rmi4: Create common functions for 2D sensors

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:42 AM, Andrew Duggan wrote: > RMI4 defines two functions for 2D sensors. This patch moves some of the > code which is shared between the two functions into a new file to avoid > duplicating the code on rmi_f11.c and rmi_f12.c. > > Signed-off-by: Andrew Duggan > .../bi

[PATCH V2 4/6] dmaengine: tegra-apb: Only save channel state for those in use

2015-11-09 Thread Jon Hunter
Currently the tegra-apb DMA driver suspend/resume helpers, save and restore the registers for all channels regardless of whether they are in use or not. Change this so that only channels that have been allocated and configured are saved and restored. Signed-off-by: Jon Hunter --- drivers/dma/teg

[PATCH V2 2/6] dmaengine: tegra-apb: Use dev_get_drvdata()

2015-11-09 Thread Jon Hunter
In the tegra_dma_runtime_suspend/resume functions, the pdev structure is not needed, and so just call dev_get_drvdata() to get the device data structure. Signed-off-by: Jon Hunter --- drivers/dma/tegra20-apb-dma.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/

[PATCH v2 0/4] Add i.mx7d adc driver support

2015-11-09 Thread Haibo Chen
This patch add imx7d adc driver support. Changes in V2: -prefix defines with IMX7D_ for all the register -use BIT macro to define a single bit -remove the dma_en from struct adc_feature which is not support currently -use static const array to replace the switch case code Haibo Chen (4): iio: a

[PATCH V2 6/6] dmaengine: tegra-apb: Free interrupts before killing tasklets

2015-11-09 Thread Jon Hunter
On probe failure or driver removal, before killing any tasklets, ensure that the channel interrupt is freed to ensure that another channel interrupt cannot occur and schedule the tasklet again. Signed-off-by: Jon Hunter --- V2 changes: - Updated patch to use free_irq instead of disable_irq driv

[PATCH V2 0/6] DMA: tegra-apb: Clean-up

2015-11-09 Thread Jon Hunter
Some clean-up changes for the tegra-apb DMA driver. These have been compile and boot tested for ARM and ARM64. Summary of the ARM results are below. Test summary Build: zImage: Pass: ( 2/ 2): multi_v7_defconfig, tegra_defconfig Build: Image: Pass: ( 1/ 1): defconfig Boot t

Re: [RFC PATCH v6 00/17] ILP32 for ARM64

2015-11-09 Thread Andreas Schwab
Yury Norov writes: > This is what I run: > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t That doesn't work for me: ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: error: ‘__NR_llseek’ undeclar ed (first use in this function) ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:41:3

[PATCH V2 5/6] dmaengine: tegra-apb: Update driver to use GFP_NOWAIT

2015-11-09 Thread Jon Hunter
The tegra20-apb-dma driver currently uses the flag GFP_ATOMIC when allocating memory for structures used in conjunction with the DMA descriptors. It is preferred that dmaengine drivers use GFP_NOWAIT instead and so the emergency memory pool will not be used by these drivers. Signed-off-by: Jon Hun

Re: [PATCH 1/2] mmc: sdhci: set bus voltage before enabling bus power

2015-11-09 Thread Ludovic Desroches
On Fri, Nov 06, 2015 at 04:59:29PM +0100, Ludovic Desroches wrote: > When there is a vmmc regulator, only SD Bus Power is set to 1 in the > Power Control Register. It means SD Bus Voltage Select field is set to 0 > that is a reserved value. The SD Host Controller specification says: > 'SD Bus Power

Re: [PATCH] dmaengine: pl330: Fix race in residue reporting

2015-11-09 Thread Sjoerd Simons
On Sat, 2015-11-07 at 21:40 +0900, Krzysztof Kozlowski wrote: > W dniu 06.11.2015 o 20:11, Sjoerd Simons pisze: > > When a transfer completes there is a small window between the > > descriptor > > being unset as the current active one in the thread and it being > > marked > > as done. This causes t

Re: [PATCH 19/26] Input: synaptics-rmi4: Add support for packet register descriptors

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:41 AM, Andrew Duggan wrote: > Newer RMI functions make use of packet registers. Packet registers contain > several bytes of data at a RMI address instead of just a single byte. > Packet registers may also contain subpackets which may or may not be > present for a given f

Re: [PATCH 0/2] mmc: sdhci: potentially bad behavior when using vmmc supply

2015-11-09 Thread Ulf Hansson
On 9 November 2015 at 14:14, Ludovic Desroches wrote: > On Mon, Nov 09, 2015 at 11:50:50AM +0100, Ulf Hansson wrote: >> [...] >> >> >> >> >> This doesn't seems like a case where a gpio regulator should be used >> >> and I am not sure what problem it would solve. Beside to suppress the >> >> log wa

Re: [PATCH 18/26] Input: synaptics-rmi4: Add SPI transport driver

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:41 AM, Andrew Duggan wrote: > Add a transport driver for devices using RMI4 over SPI. > > Signed-off-by: Andrew Duggan > .../devicetree/bindings/input/rmi4/rmi_spi.txt | 57 +++ Split off bindings in a separate patch and send to devicet...@vger.kernel.org This

Re: [PATCH 17/26] Input: synaptics-rmi4: Remove unused firmware_name variable

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:41 AM, Andrew Duggan wrote: > Firmware update is not currently supported in the current state of > this driver. We can add it back if we need it when implementing > firmware update. > > Signed-off-by: Andrew Duggan Acked-by: Linus Walleij Squash into core. Yours, Li

Re: [PATCH 0/2] mmc: sdhci: potentially bad behavior when using vmmc supply

2015-11-09 Thread Ludovic Desroches
On Mon, Nov 09, 2015 at 11:50:50AM +0100, Ulf Hansson wrote: > [...] > > >> > >> This doesn't seems like a case where a gpio regulator should be used > >> and I am not sure what problem it would solve. Beside to suppress the > >> log warnings (actually those aren't warnings but informations). > >>

Re: [PATCH] Input: parkbd - Drop bogus __init from parkbd_allocate_serio()

2015-11-09 Thread Geert Uytterhoeven
Hi Sudip, On Mon, Nov 9, 2015 at 2:05 PM, Sudip Mukherjee wrote: > On Sat, Nov 07, 2015 at 04:53:23PM +0100, Geert Uytterhoeven wrote: >> WARNING: vmlinux.o(.text+0x1056606): Section mismatch in reference from the >> function parkbd_attach() to the function .init.text:parkbd_allocate_serio() >>

Re: [PATCH 16/26] Input: synaptics-rmi4: Use ifdef to check if CONFIG_PM_SLEEP is set

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:41 AM, Andrew Duggan wrote: > The pm variables are not included in the struct rmi_driver_data at compile > time. Using the IS_ENABLED macro in rmi_driver.c will result in a compiler > error if CONFIG_PM_SLEEP is not enabled. > > Signed-off-by: Andrew Duggan Tested-by:

Re: [PATCH 15/26] Input: synaptics-rmi4: Remove unused debugfs code

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:40 AM, Andrew Duggan wrote: > Previous versions of the driver reported statistics in debugfs. > But that code has been removed and debugfs is no longer used. This > patch removes all remaining debugfs code. > > Signed-off-by: Andrew Duggan Acked-by: Linus Walleij Squ

Re: [PATCH 14/26] Input: synaptics-rmi4: Clean up Makefile

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:40 AM, Andrew Duggan wrote: > The Makefile contained commands for a different build environment. These > should be removed and are not needed in the upstream kernel. > > Signed-off-by: Andrew Duggan Acked-by: Linus Walleij Squash into the offending commit. Yours, Li

Re: [PATCH 13/26] Input: synaptics-rmi4: Add device tree support for RMI4 I2C devices

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:40 AM, Andrew Duggan wrote: > Add devicetree binding for I2C devices and add bindings for optional > parameters in the function drivers. Parameters for function drivers are > defined in child nodes for each of the functions. > > Signed-off-by: Andrew Duggan This patch

[GIT PULL] ext2 changes for 4.4-rc1

2015-11-09 Thread Jan Kara
Hello Linus, could you please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs.git for_linus to get fixes for DAX for ext2 and a minor fixup for ext4 Kconfig description (leftover from ext3 removal). Top of the tree is 5726b27b09cc. The full shortlog is: Jean Delvare (

Re: [PATCH 12/26] Input: synaptics-rmi4: Use generic interrupt handling

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:40 AM, Andrew Duggan wrote: > Currently the RMI4 driver expects the device to have a GPIO and manages > the that GPIO internally. However, this duplicates functionality which > could be handled by more generic interrupt handling code. Also, some > RMI devices will not ha

Re: [PATCH 11/26] Input: synaptics-rmi4 - f11: add support for kernel tracking

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:39 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > Kernel tracking is used in 2 use cases: > - filter out jumps when the sensor is not relieable enough > - provide a MT protocol B when the sensor is providing MT protocol A data > > Signed-off-by: Benjamin Tissoi

Re: [PATCH] Input: parkbd - Drop bogus __init from parkbd_allocate_serio()

2015-11-09 Thread Sudip Mukherjee
On Sat, Nov 07, 2015 at 04:53:23PM +0100, Geert Uytterhoeven wrote: > WARNING: vmlinux.o(.text+0x1056606): Section mismatch in reference from the > function parkbd_attach() to the function .init.text:parkbd_allocate_serio() > The function parkbd_attach() references > the function __init parkbd_all

Re: [PATCH 10/26] Input: synaptics-rmi4 - f11: allow the top software button property to be set

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:39 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > Currently, in PS/2 we only have the PNPIds list to detect the property. > Unfortunately, it looks like the information is not embeded in the RMI4 > protocol either, so allow the Top software buttons property to

Re: [PATCH 09/26] Input: synaptics-rmi4 - f11: clean up rmi_f11_finger_handler

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:39 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > abs_bit and rel_bits should not be computed at each iteration of the for > loop. > finger_press_count is unused. > Break out rmi_f11_parse_finger_state in its own function. > > Signed-off-by: Benjamin Tissoires

Re: [PATCH 08/26] Input: synaptics-rmi4 - f11: use the unified input node if available

2015-11-09 Thread Linus Walleij
On Fri, Nov 6, 2015 at 12:38 AM, Andrew Duggan wrote: > From: Benjamin Tissoires > > Signed-off-by: Benjamin Tissoires > Tested-by: Andrew Duggan Tested-by: Linus Walleij Is there some device *not* using the unified input node by the end of the day then, I wonder? Or is that non-unified nod

<    2   3   4   5   6   7   8   9   10   >