Re: [PATCH 2/4] pinctrl: baytrail: Clear interrupt triggering from pins that are in GPIO mode

2015-03-06 Thread Linus Walleij
On Mon, Feb 23, 2015 at 1:53 PM, Mika Westerberg wrote: > If the pin is already configured as GPIO and it has any of the triggering > flags set, we may get spurious interrupts depending on the state of the > pin. > > Prevent this by clearing the triggering flags on such pins. However, if the > pi

[PATCH 02/14] tools build: Add feature check for lzma library

2015-03-06 Thread Jiri Olsa
Will be used to decompress 'xz' objects. The check detects the liblzma.so devel library normally delivered by xz package. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar

Re: Using regmap_update_bits to update a write only register

2015-03-06 Thread Mark Brown
On Thu, Mar 05, 2015 at 08:14:14PM +0200, Daniel Baluta wrote: > On Mar 5, 2015 7:54 PM, "Mark Brown" wrote: > > Probably, or there's a bug. What should happen is that if the register > > default appeared successfully then the read will get statisfied from the > > cache in the manner you describ

Re: [PATCH 1/4] pinctrl: baytrail: Relax GPIO request rules

2015-03-06 Thread Linus Walleij
On Mon, Feb 23, 2015 at 1:53 PM, Mika Westerberg wrote: > Zotac ZBOX PI320, a Baytrail based mini-PC, has power button connected to a > GPIO pin and it is exposed to the operating system as Windows 8 button > array. This is implemented in Linux as a driver using gpio_keys. > > However, BIOS on th

[PATCH 01/14] perf tools: Remove superfluous thread->comm_set setting

2015-03-06 Thread Jiri Olsa
It is set by calling thread__set_comm right before the removed line. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijl

[PATCH 04/14] perf tools: Add kmod_path__parse function

2015-03-06 Thread Jiri Olsa
Provides united way of parsing kernel module path into several components. The new kmod_path__parse function and few defines: int __kmod_path__parse(struct kmod_path *m, const char *path, bool alloc_name, bool alloc_ext); #define kmod_path__parse(__m, __p) __kmo

[PATCHv2 00/14] perf tools: Adding xz decompression support

2015-03-06 Thread Jiri Olsa
hi, adding support to decompress kernel modules on Fedora 21 (lzma compression) vaguely continuing in previous RFC: http://marc.info/?l=linux-kernel&m=142261340327588&w=2 I'm basically extending he decompression framework Namhyung introduced earlier plus other fixes for kernel modules dso object

[PATCH 03/14] perf tools: Add lzma decompression support for kernel module

2015-03-06 Thread Jiri Olsa
In short, Fedora compresses kernel modules now (since version 21) with lzma compression. Adding lzma decompress support into the dso.c:compressions array introduced by Nmahyung earlier. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey As

Re: [Patch V7 03/10] ASoC: qcom: Document Storm bindings

2015-03-06 Thread Mark Brown
On Tue, Mar 03, 2015 at 04:21:52PM -0800, Kenneth Westfield wrote: > +Required properties: > + > +- compatible : "google,storm" I'm not convinced about this compatible - it's the name of the entire machine from the looks of it which means it'll collide with any other similar machine driver type t

[PATCH 06/14] perf tools: Add machine__module_dso function

2015-03-06 Thread Jiri Olsa
Separate the dso object addition and update when adding new kernel module. Currently we update dso's symtab_type any time we find it in the list, because we can't distinguish between new and found dso from __dsos__findnew function. Adding machine__module_dso that separates finding and adding new

[PATCH 08/14] perf tools: Use kmod_path__parse in map_groups__set_modules_path_dir

2015-03-06 Thread Jiri Olsa
Replacing the file name parsing with kmod_path__parse and moving the dso update into new separate function. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung

[PATCH 10/14] perf tools: Use kmod_path__parse in is_kernel_module

2015-03-06 Thread Jiri Olsa
Replacing the current parsing code with kmod_path__parse function call. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Z

[PATCH 11/14] perf tools: Remove compressed argument from is_kernel_module

2015-03-06 Thread Jiri Olsa
We no longer need the 'compressed' argument, because all current users use 'NULL' for it. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mack

Re: [RFC 2/4] power: core: Add generic interface to get battery specification.

2015-03-06 Thread Oliver Neukum
On Fri, 2015-03-06 at 16:03 +0530, Jenny TC wrote: > In power supply system, battery specification's dealt as static > information regardless of battery chainging. And it often assumed > fuelgauge's role to hold battery specification even same driver is > used with different batteries. To make subs

[PATCH 09/14] perf tools: Use kmod_path__parse in decompress_kmodule

2015-03-06 Thread Jiri Olsa
Replacing the file name parsing with kmod_path__parse. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Step

[PATCH 12/14] perf tools: Remove is_kmodule_extension function

2015-03-06 Thread Jiri Olsa
Because it's no longer needed. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyung Kim Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian --- tools

[PATCH 13/14] perf tools: Try to lookup kernel module map before creating one

2015-03-06 Thread Jiri Olsa
Currently we assume machine__new_module is called only once for each module so we create its map&dso unconditionally. However it's possible that it's called multiple times for same module. Like for perf record: 1) via machine__create_module during machine init 2) via kernel MMAP event processi

[PATCH 07/14] perf tools: Use kmod_path__parse for machine__new_dso

2015-03-06 Thread Jiri Olsa
Using kmod_path__parse to get the module name and update the dso short name within machine__new_dso function. This way it's done only first time when dso is created, unlike the current way when we update it all the time we process memory map of the kernel module. Signed-off-by: Jiri Olsa Acked-b

[PATCH 14/14] perf annotate: Allow annotation for decompressed kernel modules

2015-03-06 Thread Jiri Olsa
Decompressing kernel module file for objdump command if needed. Annotation commands now display annotation for compressed kernel modules. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker

[PATCH 05/14] perf tools: Add dsos__addnew function

2015-03-06 Thread Jiri Olsa
Separate the creation of new dso object and its addition to the dsos list. It will be used in following patch. Signed-off-by: Jiri Olsa Acked-by: Namhyung Kim Cc: Adrian Hunter Cc: Arnaldo Carvalho de Melo Cc: Corey Ashford Cc: David Ahern Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Namhyu

[PATCH 3.16.y-ckt 019/183] tty/serial: at91: enable peripheral clock before accessing I/O registers

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit d4f641876a68d1961e30c202709cc2d484f69f6f upstream. atmel_serial_probe() calls atmel_init_port(). In turn, atmel_init_port() calls clk_disable_unprepare() to dis

Re: [PATCH 3/5] dt-bindings: mediatek: Add smi dts binding

2015-03-06 Thread Mark Rutland
On Fri, Mar 06, 2015 at 10:48:18AM +, yong...@mediatek.com wrote: > From: Yong Wu > > This patch add smi binding document. Please move binding documents to the start of the series. It makes things far easier to review. > > Signed-off-by: Yong Wu > --- > .../devicetree/bindings/soc/mediat

[PATCH 3.16.y-ckt 002/183] [media] em28xx: ensure "closing" messages terminate with a newline

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 0418ca6073478f54f1da2e4013fa50d36838de75 upstream. The lockdep splat addressed in a previous commit revealed that at least one message in em28xx-input.c was missin

Re: [RFC 1/4] power_supply: Introduce charging object table

2015-03-06 Thread Oliver Neukum
On Fri, 2015-03-06 at 16:03 +0530, Jenny TC wrote: > Charging current (CC) and charging voltage (CV) may vary based on > battery temperature. To support CC and CV for different temperature > zones, defined a charging object which holds the properties related > to battery charging. > > Signed-off-b

[PATCH 3.16.y-ckt 017/183] PCI: Generate uppercase hex for modalias var in uevent

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ricardo Ribalda Delgado commit 145b3fe579db66fbe999a2bc3fd5b63dffe9636d upstream. Some implementations of modprobe fail to load the driver for a PCI device automatically because the "

[PATCH 3.16.y-ckt 022/183] btrfs: fix leak of path in btrfs_find_item

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 381cf6587f8a8a8e981bc0c18859b51dc756 upstream. If btrfs_find_item is called with NULL path it allocates one locally but does not free it. Affected paths are in

[PATCH 3.16.y-ckt 006/183] [media] em28xx-audio: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit fbaa48d1853002c2e7bcf12c1fdc0f6fb16d1525 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-audio. Fix these. Fixes: 6d7

[PATCH 3.16.y-ckt 007/183] [media] em28xx-dvb: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit a084c57fc1ccd24ef8e6ca41e75afa745d5dbb98 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-dvb. Fix these. Fixes: ca2b4

[PATCH 3.16.y-ckt 008/183] [media] em28xx-video: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 32e63f0368ed16e5ac417dc0bc2a5f8acbfb1511 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-video. Fix these. Fixes: a61

[PATCH 3.16.y-ckt 001/183] [media] em28xx: fix em28xx-input removal

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit bbfebeea7640973613c484f0281bdd15d68fd873 upstream. Removing the em28xx-rc module results in the following lockdep splat, which is caused by trying to call cancel_d

Re: [PATCH] MIPS: Provide fallback reboot/poweroff/halt implementations

2015-03-06 Thread Maciej W. Rozycki
On Wed, 4 Mar 2015, Andrew Bresticker wrote: > If a machine-specific hook is not implemented for restart, poweroff, > or halt, fall back to halting secondary CPUs, disabling interrupts, > and spinning. In the case of restart, attempt to restart the system > via do_kernel_restart() (which will cal

[PATCH 3.16.y-ckt 020/183] tty/serial: at91: fix error handling in atmel_serial_probe()

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit 6fbb9bdf0f3fbe23aeff806489791aa876adaffb upstream. -EDEFER error wasn't handle properly by atmel_serial_probe(). As an example, when atmel_serial_probe() is cal

[PATCH 3.16.y-ckt 005/183] [media] em28xx-audio: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 7818b0aab87b680fb10f68eccebeeb6cd8283c73 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-audio. Fix these. Fixes: 1b3

Re: [Xen-devel] [PATCH 3/4] usb: Introduce Xen pvUSB backend

2015-03-06 Thread Pasi Kärkkäinen
On Wed, Mar 04, 2015 at 02:46:33PM +, Ian Campbell wrote: > On Wed, 2015-03-04 at 15:41 +0100, Juergen Gross wrote: > > On 03/04/2015 03:29 PM, Ian Campbell wrote: > > > On Wed, 2015-03-04 at 14:19 +, David Vrabel wrote: > > >> On 04/03/15 14:09, Juergen Gross wrote: > > >>> > > >>> The mai

[PATCH 3.16.y-ckt 004/183] [media] em28xx-core: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 522adc7c1f70d302155bb07f7fdf5a7fe4ff9094 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-core. Fix these. Fixes: 9c66

[PATCH 3.16.y-ckt 003/183] [media] em28xx-input: fix missing newlines

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit ebfd59cf549899a166d595bf1eab7eec3299ebe7 upstream. Inspection shows that newlines are missing from several kernel messages in em28xx-input. Fix these. Fixes: 502

Re: [PATCH v2 5/6] watchdog: at91sam9: request the irq with IRQF_NO_SUSPEND

2015-03-06 Thread Mark Rutland
[...] > > The request_irq path never results in a call to chip->irq_set_wake(), > > even with the IRQF_NO_SUSPEND flag. So requesting an irq with > > IRQF_NO_SUSPEND does not guarantee wakeup; it only guarantees that the > > CPU can take the interrupt _around_ the suspended state, not necessarily

[PATCH 3.16.y-ckt 030/183] mmc: sdhci-pxav3: fix unbalanced clock issues during probe

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 62cf983ad84275f8580c807e5e596216c46773cf upstream. Commit 0dcaa2499b7d ("sdhci-pxav3: Fix runtime PM initialization") tries to fix one hang issue caused by callin

Re: [PATCH 2/2] pinctrl: mediatek: Adjust mt8173 pinctrl kconfig

2015-03-06 Thread Paul Bolle
On Fri, 2015-03-06 at 14:24 +0800, Yingjoe Chen wrote: > --- a/drivers/pinctrl/mediatek/Kconfig > +++ b/drivers/pinctrl/mediatek/Kconfig > @@ -8,11 +8,13 @@ config PINCTRL_MTK_COMMON > select OF_GPIO > > config PINCTRL_MT8135 > - def_bool MACH_MT8135 > + def_bool MACH_MT8135 || CO

[PATCH 3.16.y-ckt 029/183] tpm/tpm_i2c_stm_st33: Add status check when reading data on the FIFO

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit c4eadfafb91d5501095c55ffadaa1168743f39d3 upstream. Add a return value check when reading data from the FIFO register. Reviewed-by: Jason Gunthorpe Signed-of

[PATCH v2] MIPS: OCTEON: Use correct CSR to soft reset

2015-03-06 Thread Aleksey Makarov
From: Chandrakala Chavva Also delete unused cvmx_reset_octeon() This fixes reboot for Octeon III boards Signed-off-by: Chandrakala Chavva Signed-off-by: Aleksey Makarov --- arch/mips/cavium-octeon/setup.c | 5 - arch/mips/include/asm/octeon/cvmx.h | 8 2 files changed, 4 inse

[PATCH 3.16.y-ckt 028/183] tpm/tpm_i2c_stm_st33: Fix potential bug in tpm_stm_i2c_send

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Christophe Ricard commit 1ba3b0b6f218072afe8372d12f1b6bf26a26008e upstream. When sending data in tpm_stm_i2c_send, each loop iteration send buf. Send buf + i instead as the goal of th

[PATCH 3.16.y-ckt 027/183] tpm: Fix NULL return in tpm_ibmvtpm_get_desired_dma

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: "Hon Ching (Vicky) Lo" commit 84eb186bc37c0900b53077ca21cf6dd15823a232 upstream. There was an oops in tpm_ibmvtpm_get_desired_dma, which caused kernel panic during boot when vTPM is e

[PATCH 3.16.y-ckt 024/183] TPM: Add new TPMs to the tail of the list to prevent inadvertent change of dev

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: David Howells commit 398a1e71dc827b994b7f2f56c7c2186fea7f8d75 upstream. Add newly registered TPMs to the tail of the list, not the beginning, so that things that are specifying TPM_AN

[PATCH 3.16.y-ckt 025/183] char: tpm: Add missing error check for devm_kzalloc

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Kiran Padwal commit bb95cd34ba4c9467114acc78eeddd53ab1c10085 upstream. Currently these driver are missing a check on the return value of devm_kzalloc, which would cause a NULL pointer

[PATCH 3.16.y-ckt 026/183] tpm_tis: verify interrupt during init

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Scot Doyle commit 448e9c55c12d6bd4fa90a7e31d802e045666d7c8 upstream. Some machines, such as the Acer C720 and Toshiba CB35, have TPMs that do not send IRQs while also having an ACPI T

[PATCH 3.16.y-ckt 033/183] power: bq24190: Fix ignored supplicants

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 478913fdbdfd4a781d91c993eb86838620fe7421 upstream. The driver mismatched 'num_supplicants' with 'num_supplies' of power_supply structure. It provided list

[PATCH 3.16.y-ckt 010/183] ARM: pxa: add regulator_has_full_constraints to poodle board file

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit 9bc78f32c2e430aebf6def965b316aa95e37a20c upstream. Add regulator_has_full_constraints() call to poodle board file to let regulator core know that we do

[PATCH 3.16.y-ckt 034/183] ARM: DRA7: hwmod: Fix boot crash with DEBUG_LL enabled on UART3

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Lokesh Vutla commit 1c7e36bfc3e2fb2df5e2d1989a4b6fb9055a0f9b upstream. With commit '7dedd34: ARM: OMAP2+: hwmod: Fix a crash in _setup_reset() with DEBUG_LL' we moved from parsing cmd

[PATCH 3.16.y-ckt 036/183] Bluetooth: btusb: Add Broadcom patchram support for ASUSTek devices

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Rick Dunn commit 9a5abdaaf9d2e80e157c7a756f9d9fd933dee48e upstream. T: Bus=03 Lev=01 Prnt=01 Port=06 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=01 Prot=01 MxPS=

[PATCH 3.16.y-ckt 032/183] power: gpio-charger: balance enable/disable_irq_wake calls

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit faeed51bb65ce0241052d8dc24ac331ade12e976 upstream. enable_irq_wakeup returns 0 in case it correctly enabled the IRQ to generate the wakeup event (and th

[PATCH 3.16.y-ckt 035/183] Bluetooth: ath3k: Add support of AR3012 bluetooth 13d3:3423 device

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Tunin commit 033efa920a7f22a8caf7a38d851a2f451781bbf7 upstream. Add support of 13d3:3423 device. BugLink: https://bugs.launchpad.net/bugs/1411193 T: Bus=01 Lev=02 Prnt=03 Por

Re: [PATCH v3 2/3] pci: iproc: Add Broadcom iProc PCIe support

2015-03-06 Thread Paul Bolle
On Thu, 2015-03-05 at 17:01 -0800, Ray Jui wrote: > --- a/drivers/pci/host/Kconfig > +++ b/drivers/pci/host/Kconfig > @@ -106,4 +106,21 @@ config PCI_VERSATILE > bool "ARM Versatile PB PCI controller" > depends on ARCH_VERSATILE > > +config PCIE_IPROC > + bool "Broadcom iProc PCIe

[PATCH 3.16.y-ckt 031/183] iwlwifi: mvm: validate tid and sta_id in ba_notif

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Eyal Shapira commit 2cee4762c528a9bd2cdff793197bf591a2196c11 upstream. These are coming from the FW and are used to access arrays. Bad values can cause an out of bounds access so disc

[PATCH 3.16.y-ckt 043/183] btrfs: set proper message level for skinny metadata

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: David Sterba commit 5efa0490cc94aee06cd8d282683e22a8ce0a0026 upstream. This has been confusing people for too long, the message is really just informative. Signed-off-by: David Sterb

Re: [PATCH v4 2/9] mfd: syscon: Add atmel system timer registers definition

2015-03-06 Thread Lee Jones
On Thu, 05 Mar 2015, Alexandre Belloni wrote: > AT91RM920 has a memory range reserved for timer and watchdog configuration. > Expose those registers so that drivers can make use of the system timer syscon > declared in at91 DTs. > > Signed-off-by: Alexandre Belloni > --- > include/linux/mfd/sys

[PATCH 3.16.y-ckt 041/183] xfs: set buf types when converting extent formats

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit fe22d552b82d7cc7de1851233ae8bef579198637 upstream. Conversion from local to extent format does not set the buffer type correctly on the new extent buffer when a sy

[PATCH 3.16.y-ckt 040/183] xfs: inode unlink does not set AGI buffer type

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit f19b872b086711bb4b22c3a0f52f16aa920bcc61 upstream. This leads to log recovery throwing errors like: XFS (md0): Mounting V5 Filesystem XFS (md0): Starting recovery

Re: [PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-06 Thread Will Deacon
On Fri, Mar 06, 2015 at 10:48:17AM +, yong...@mediatek.com wrote: > From: Yong Wu > > This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). > Currently this only supports m4u gen 2 with 2 levels of page table on mt8173. [...] > diff --git a/drivers/iommu/mtk_iommu_pa

[PATCH 3.16.y-ckt 037/183] cfq-iosched: fix incorrect filing of rt async cfqq

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Moyer commit c6ce194325cef342313e3d27620411ce90a89c50 upstream. Hi, If you can manage to submit an async write as the first async I/O from the context of a process with realtime

[PATCH 3.16.y-ckt 039/183] xfs: ensure buffer types are set correctly

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 0d612fb570b71ea2e49554a770cff4c489018b2c upstream. Jan Kara reported that log recovery was finding buffers with invalid types in them. This should not happen, and

[PATCH 3.16.y-ckt 042/183] xfs: set superblock buffer type correctly

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dave Chinner commit 3443a3bca54588f43286b725d8648d33a38c86f1 upstream. When the superblock is modified in a transaction, the commonly modified fields are not actually copied to the su

[PATCH 3.16.y-ckt 056/183] staging: comedi: comedi_compat32.c: fix COMEDI_CMD copy back

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit 42b8ce6f55facfa101462e694d33fc6bca471138 upstream. `do_cmd_ioctl()` in "comedi_fops.c" handles the `COMEDI_CMD` ioctl. This returns `-EAGAIN` if it has copied a modi

[PATCH 3.16.y-ckt 038/183] smack: fix possible use after frees in task_security() callers

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ryabinin commit 6d1cff2a885850b78b40c34777b46cf5da5d1050 upstream. We hit use after free on dereferncing pointer to task_smack struct in smk_of_task() called from smack_task_to

[PATCH 3.16.y-ckt 044/183] KVM: s390: base hrtimer on a monotonic clock

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 0ac96caf0f9381088c673a16d910b1d329670edf upstream. The hrtimer that handles the wait with enabled timer interrupts should not be disturbed by changes of the h

Re: [PATCH] pinctrl: freescale: make of_device_id array const

2015-03-06 Thread Linus Walleij
On Tue, Feb 3, 2015 at 11:41 AM, Sanjeev Sharma wrote: > Make of_device_id array const. > > Signed-off-by: Sanjeev Sharma Patch applied. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More ma

Re: [PATCH 16/27] mfd: ab8500-debugfs: Remove use of seq_printf return value

2015-03-06 Thread Lee Jones
On Sat, 21 Feb 2015, Joe Perches wrote: > The seq_printf return value, because it's frequently misused, > will eventually be converted to void. > > See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to > seq_has_overflowed() and make public") I'm not a fan of mixing functional patch

[PATCH 3.16.y-ckt 045/183] KVM: s390: avoid memory leaks if __inject_vm() fails

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: David Hildenbrand commit 428d53be5e7468769d4e7899cca06ed5f783a6e1 upstream. We have to delete the allocated interrupt info if __inject_vm() fails. Otherwise user space can keep flood

[PATCH 3.16.y-ckt 046/183] samsung-laptop: Add use_native_backlight quirk, and enable it on some models

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 4690555e13c48fef07f2762f6b0cd6b181e326d0 upstream. Since kernel 3.14 the backlight control has been broken on various Samsung Atom based netbooks. This has been b

[PATCH 3.16.y-ckt 051/183] Bluetooth: btusb: Add support for Dynex/Insignia USB dongles

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Marcel Holtmann commit d049f4e513e861167361b06c7ca85f9e872c8cde upstream. The Dynex/Insignia USB dongles are Broadcom BCM20702B0 based and require firmware update before operation. T

[PATCH 3.16.y-ckt 053/183] mmc: sdhci-pxav3: Remove checks for mandatory host clock

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Hesselbarth commit 20d5a70344e526f51efe50861be10f6d743b7706 upstream. NULL-checking a struct clk it not only wrong but also not required as for PXAv3 driver the correspondin

[PATCH 3.16.y-ckt 023/183] ksoftirqd: Enable IRQs and call cond_resched() before poking RCU

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Calvin Owens commit 28423ad283d5348793b0c45cc9b1af058e776fd6 upstream. While debugging an issue with excessive softirq usage, I encountered the following note in commit 3e339b5dae24a7

[PATCH 3.16.y-ckt 054/183] mmc: sdhci-pxav3: fix race between runtime pm and irq

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 3bb10f60933e84abfe2be69f60b3486f9b96348b upstream. This patch is to fix a race condition that may cause an unhandled irq, which results in big sdhci interrupt num

[PATCH 3.16.y-ckt 052/183] clk: zynq: Force CPU_2X clock to be ungated

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Soren Brinkmann commit 3dccfecdb867fe35b305a4e493ef5652b7d9d4cb upstream. The CPU_2X clock does not have a classical in-kernel user, but is, amongst other things, required for OCM and

[PATCH v3 2/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
From: Cyrille Pitchen macb and at91_ether drivers can be compiled as modules, but the at91_ether driver use some functions and variables defined in the macb one, thus creating a dependency on the macb driver. Since these drivers are sharing the same logic we can easily merge at91_ether into macb

Re: Re: [PATCH 2/2] livepatch: fix patched module loading race

2015-03-06 Thread Petr Mladek
On Fri 2015-03-06 10:24:27, Masami Hiramatsu wrote: > (2015/03/05 23:18), Josh Poimboeuf wrote: > > On Thu, Mar 05, 2015 at 09:52:41AM +0900, Masami Hiramatsu wrote: > >> (2015/03/04 22:17), Petr Mladek wrote: > >>> On Tue 2015-03-03 17:02:22, Josh Poimboeuf wrote: > It's possible for klp_regi

[PATCH v3 1/2] net/macb: unify clock management

2015-03-06 Thread Boris Brezillon
From: Cyrille Pitchen Most of the functions from the Common Clk Framework handle NULL pointer as input argument. Since the TX clock is optional, we now set tx_clk to NULL value instead of ERR_PTR(-ENOENT) when this clock is not available. This simplifies the clock management and avoid the need t

Re: [PATCH] mfd: rtsx_usb: prevent DMA from stack

2015-03-06 Thread Lee Jones
On Fri, 06 Mar 2015, Roger Tseng wrote: > Functions rtsx_usb_ep0_read_register() and rtsx_usb_get_card_status() > both use arbitrary buffer addresses from arguments directly for DMA and > the buffers could be located in stack. This was caught by DMA-API debug > check. > > Fixes this by using doub

[PATCH] reiserfs: fix several reiserfs_warning calls

2015-03-06 Thread Nicolas Iooss
Since commit 45b03d5e8e67 ("reiserfs: rework reiserfs_warning"), reiserfs_warning takes an id and a format as arguments, not a single format argument. However 4 calls still follow the old interface. Update them. This bug was initially found by adding __printf(4, 5) attribute to __reiserfs_warning

[PATCH 5/5] dts: mt8173: Add iommu/smi nodes for mt8173

2015-03-06 Thread yong.wu
From: Yong Wu This patch add the iommu/larbs nodes for mt8173 Signed-off-by: Yong Wu --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 60 include/dt-bindings/iommu/mt8173-iommu-port.h | 127 ++ 2 files changed, 187 insertions(+) create mode 100644 incl

Re: [PATCH 10/21] userfaultfd: add new syscall to provide memory externalization

2015-03-06 Thread Michael Kerrisk (man-pages)
Hi Andrea, On 5 March 2015 at 18:17, Andrea Arcangeli wrote: > Once an userfaultfd has been created and certain region of the process > virtual address space have been registered into it, the thread > responsible for doing the memory externalization can manage the page > faults in userland by tal

[PATCH 1/5] soc: mediatek: Add SMI driver

2015-03-06 Thread yong.wu
From: Yong Wu This patch add SMI(Smart Multimedia Interface) driver. This driver is responsible to enable/disable iommu and control the clocks of each local arbiter. Signed-off-by: Yong Wu --- drivers/soc/mediatek/Kconfig | 7 ++ drivers/soc/mediatek/Makefile | 1 + drivers/so

[PATCH 3/5] dt-bindings: mediatek: Add smi dts binding

2015-03-06 Thread yong.wu
From: Yong Wu This patch add smi binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/soc/mediatek/mediatek,smi.txt | 17 + 1 file changed, 17 insertions(+) create mode 100644 Documentation/devicetree/bindings/soc/mediatek/mediatek,smi.txt diff --git a/Docu

[PATCH 3.16.y-ckt 058/183] mmc: sdhci-pxav3: Fix SDR50 and DDR50 capabilities for the Armada 38x flavor

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Gregory CLEMENT commit d4b803c559843e3774736e5108cf6331cf75f64c upstream. According to erratum 'FE-2946959' both SDR50 and DDR50 modes require specific clock adjustments in SDIO3 Conf

[RFC PATCH 0/5] MT8173 IOMMU support

2015-03-06 Thread yong.wu
This is based on Robin Murphy's arm64: IOMMU-backed DMA mapping[1]. This patch adds support for m4u(Multimedia Memory Management Unit), Currently it only support the m4u with 2 levels of page table on mt8173. Please check the hardware block diagram of Mediatek IOMMU. EMI (Exter

[PATCH 4/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-03-06 Thread yong.wu
From: Yong Wu This patch add mediatek iommu dts binding document. Signed-off-by: Yong Wu --- .../devicetree/bindings/iommu/mediatek,iommu.txt | 41 ++ 1 file changed, 41 insertions(+) create mode 100644 Documentation/devicetree/bindings/iommu/mediatek,iommu.txt diff --g

[PATCH 3.16.y-ckt 059/183] mmc: sdhci-pxav3: Fix Armada 38x controller's caps according to erratum ERR-7878951

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit a39128bcd6f1e56c6514abf489b40b67d226093b upstream. According to erratum 'ERR-7878951' Armada 38x SDHCI controller has different capabilities than the ones shown i

[PATCH 2/5] iommu/mediatek: Add mt8173 IOMMU driver

2015-03-06 Thread yong.wu
From: Yong Wu This patch adds support for mediatek m4u (MultiMedia Memory Management Unit). Currently this only supports m4u gen 2 with 2 levels of page table on mt8173. Signed-off-by: Yong Wu --- drivers/iommu/Kconfig | 11 + drivers/iommu/Makefile | 1 + drivers

[PATCH v3 0/2] net/macb: merge at91_ether driver into macb driver

2015-03-06 Thread Boris Brezillon
Hello, The rm9200 boards use the dedicated at91_ether driver instead of the regular macb driver. Both the macb and at91_ether drivers can be compiled as separated modules. Since the at91_ether driver uses code from the macb driver, at91_ether.ko depends on macb.ko. However the macb.ko module alw

[PATCH 3.16.y-ckt 066/183] iwlwifi: mvm: always use mac color zero

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit 5523d11cc46393a1e61b7ef4a0b2d4e7ed9521e4 upstream. We don't really need to use different mac colors when adding mac contexts, because they're not used anywhere.

[PATCH 3.16.y-ckt 067/183] iwlwifi: pcie: disable the SCD_BASE_ADDR when we resume from WoWLAN

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Emmanuel Grumbach commit cd8f438405032ac8ff88bd8f2eca5e0c0063b14b upstream. The base address of the scheduler in the device's memory (SRAM) comes from two different sources. The perip

[PATCH 3.16.y-ckt 055/183] power_supply: 88pm860x: Fix leaked power supply on probe fail

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 24727b45b484e8937dcde53fa8d1aa70ac30ec0c upstream. Driver forgot to unregister power supply if request_threaded_irq() failed in probe(). In such case the me

[PATCH 3.16.y-ckt 065/183] USB: fix use-after-free bug in usb_hcd_unlink_urb()

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit c99197902da284b4b723451c1471c45b18537cde upstream. The usb_hcd_unlink_urb() routine in hcd.c contains two possible use-after-free errors. The dev_dbg() statement at

[PATCH 3.16.y-ckt 057/183] mmc: sdhci-pxav3: fix setting of pdata->clk_delay_cycles

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jisheng Zhang commit 14460dbaf7a5a0488963fdb8232ad5c8a8cca7b7 upstream. Current code checks "clk_delay_cycles > 0" to know whether the optional "mrvl,clk_delay_cycles" is set or not.

[PATCH 3.16.y-ckt 068/183] iwlwifi: mvm: fix failure path when power_update fails in add_interface

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Luciano Coelho commit fd66fc1cafd72ddf27dbec3a5e29e99839d1bc84 upstream. When iwl_mvm_power_update_mac() is called, we have already added the mac context, so if this call fails we sho

[PATCH 3.16.y-ckt 064/183] USB: add flag for HCDs that can't receive wakeup requests (isp1760-hcd)

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 074f9dd55f9cab1b82690ed7e44bcf38b9616ce0 upstream. Currently the USB stack assumes that all host controller drivers are capable of receiving wakeup requests from dow

[PATCH 3.16.y-ckt 061/183] [media] si2168: define symbol rate limits

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Antti Palosaari commit f1ecc5d119530fce01094307e029ed7f2c9067d8 upstream. w_scan complains about missing symbol rate limits: This dvb driver is *buggy*: the symbol rate limits are und

[PATCH 3.16.y-ckt 060/183] ARM: 8284/1: sa1100: clear RCSR_SMR on resume

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Dmitry Eremin-Solenikov commit e461894dc2ce7778ccde1c3483c9b15a85a7fc5f upstream. StrongARM core uses RCSR SMR bit to tell to bootloader that it was reset by entering the sleep mode.

[PATCH 3.16.y-ckt 062/183] nfs: don't call blocking operations while !TASK_RUNNING

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Jeff Layton commit 6ffa30d3f734d4f6b478081dfc09592021028f90 upstream. Bruce reported seeing this warning pop when mounting using v4.1: [ cut here ]

[PATCH 3.16.y-ckt 063/183] cdc-acm: add sanity checks

2015-03-06 Thread Luis Henriques
3.16.7-ckt8 -stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit 7e860a6e7aa62b337a61110430cd633db5b0d2dd upstream. Check the special CDC headers for a plausible minimum length. Another big operating systems ignores such garbag

<    2   3   4   5   6   7   8   9   10   >