Re: [PATCH] tty/metag_da: initialize number_written to zero

2016-02-06 Thread Colin Ian King
On 07/02/16 07:41, Greg Kroah-Hartman wrote: > On Thu, Jan 28, 2016 at 06:48:17PM +, Colin Ian King wrote: >> On 27/01/16 11:42, James Hogan wrote: >>> Hi Colin, >>> >>> On Tue, Jan 26, 2016 at 11:37:25PM +, Colin King wrote: From: Colin Ian King number_written is not

[PATCH v2 10/10] fs: btrfs: Replace CURRENT_TIME by current_fs_time()

2016-02-06 Thread Deepa Dinamani
CURRENT_TIME macro is not appropriate for filesystems as it doesn't use the right granularity for filesystem timestamps. Use current_fs_time() instead. Signed-off-by: Deepa Dinamani Cc: Chris Mason Cc: Josef Bacik Cc: David Sterba Cc: linux-bt...@vger.kernel.org --- changes since v1:

[PATCH] clk: provider: Remove of_gpio_{gate,mux}_clk_setup() prototypes

2016-02-06 Thread Stephen Boyd
These functions either never existed or were only used in OF_CLK_DECLARE() macros. Remove the dead prototypes. Cc: Jyri Sarha Signed-off-by: Stephen Boyd --- include/linux/clk-provider.h | 4 1 file changed, 4 deletions(-) diff --git a/include/linux/clk-provider.h

Re: [PATCH] tty/metag_da: initialize number_written to zero

2016-02-06 Thread Greg Kroah-Hartman
On Thu, Jan 28, 2016 at 06:48:17PM +, Colin Ian King wrote: > On 27/01/16 11:42, James Hogan wrote: > > Hi Colin, > > > > On Tue, Jan 26, 2016 at 11:37:25PM +, Colin King wrote: > >> From: Colin Ian King > >> > >> number_written is not initialized, so it can be any value. In the > >>

Re: [PATCH] tty: vt: use memdup_user to reuse the code

2016-02-06 Thread Greg KH
On Sun, Dec 20, 2015 at 12:15:33AM +0530, Rahul Pathak wrote: > Fixing coccicheck warning which recommends to use memdup_user instead > to reimplement its code, using memdup_user simplifies the code > > ./drivers/tty/vt/keyboard.c:1709:9-16: WARNING opportunity for memdup_user >

Re: [PATCH V2] tty/n_gsm.c: use gsm->num to remove mux itself from gsm_mux[]

2016-02-06 Thread Greg Kroah-Hartman
On Tue, Jan 05, 2016 at 03:42:52PM +0800, Pan Xinhui wrote: > From: Pan Xinhui > > There is one filed gsm->num to store mux's index of gsm_mux[]. So use > gsm->num to remove itself from gsm_mux[] instead of the for-loop > traverse in gsm_cleanup_mux(). > > Signed-off-by: Pan Xinhui >

Re: [PATCH v8 2/4] kobject: export kset_find_obj() for module use

2016-02-06 Thread Greg KH
On Thu, Jan 28, 2016 at 09:23:12AM -0500, Gabriel L. Somlo wrote: > From: Gabriel Somlo > > Signed-off-by: Gabriel Somlo > --- > lib/kobject.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/kobject.c b/lib/kobject.c > index 7cbccd2..90d1be6 100644 > --- a/lib/kobject.c > +++

[PATCH 0/2] DAX bdev fixes - move flushing calls to FS

2016-02-06 Thread Ross Zwisler
The first patch in the series just adds a bdev argument to dax_clear_blocks(), and should be relatively straightforward. The second patch is slightly more controversial. During testing of raw block devices + DAX I noticed that the struct block_device that we were using for DAX operations was

[PATCH 1/2] dax: pass bdev argument to dax_clear_blocks()

2016-02-06 Thread Ross Zwisler
dax_clear_blocks() needs a valid struct block_device and previously it was using inode->i_sb->s_bdev in all cases. This is correct for normal inodes on mounted ext2, ext4 and XFS filesystems, but is incorrect for DAX raw block devices and for XFS real-time devices. Instead, have the caller pass

[PATCH 2/2] dax: move writeback calls into the filesystems

2016-02-06 Thread Ross Zwisler
Previously calls to dax_writeback_mapping_range() for all DAX filesystems (ext2, ext4 & xfs) were centralized in filemap_write_and_wait_range(). dax_writeback_mapping_range() needs a struct block_device, and it used to get that from inode->i_sb->s_bdev. This is correct for normal inodes mounted

Re: [PATCH v2 03/12] serial: mvebu-uart: initial support for Armada-3700 serial port

2016-02-06 Thread Greg Kroah-Hartman
On Wed, Feb 03, 2016 at 07:41:20PM +0100, Gregory CLEMENT wrote: > +static struct console mvebu_uart_console = { > + .name = "ttyS", You aren't ttyS, that's a reserved name for a different chip, please use a new name and major/minor numbers. thanks, greg k-h

Re: [2/3] net: wireless: rt2x00: Pointer issue

2016-02-06 Thread Kalle Valo
> Code Style: pointer is declared wrong > > Signed-off-by: Paul McQuade > Acked-by: Helmut Schaa This patch didn't apply, so please resend. Kalle

Re: [1/3] net: wireless: rt2x00: Space issue

2016-02-06 Thread Kalle Valo
> Removed empty spaces before/after parenthesis > > Signed-off-by: Paul McQuade > Acked-by: Helmut Schaa Thanks, 2 patches applied to wireless-drivers-next.git: b2cc2dd8ebb8 net: wireless: rt2x00: Space issue 5b451715e94d net: wireless: rt2x00: Space Required 1 patches skipped: [2/3] net:

Re: [PATCH v2 04/10] serial: mps2-uart: add MPS2 UART driver

2016-02-06 Thread Greg KH
On Tue, Feb 02, 2016 at 11:39:53AM +, Vladimir Murzin wrote: > This driver adds support to the UART controller found on ARM MPS2 > platform. > > Signed-off-by: Vladimir Murzin > --- > drivers/tty/serial/Kconfig | 12 + > drivers/tty/serial/Makefile |1 + >

Re: net: wireless: rt2x00: Fixed Spacing issues

2016-02-06 Thread Kalle Valo
> Removed empty spaces before/after parenthesis > > Signed-off-by: Paul McQuade > Acked-by: Helmut Schaa Thanks, applied to wireless-drivers-next.git. Kalle Valo

Re: [PATCH v5 10/14] serial: pic32_uart: Add PIC32 UART driver

2016-02-06 Thread Greg Kroah-Hartman
On Wed, Jan 13, 2016 at 06:15:43PM -0700, Joshua Henderson wrote: > From: Andrei Pistirica > > This adds UART and a serial console driver for Microchip PIC32 class > devices. > > Signed-off-by: Andrei Pistirica > Signed-off-by: Joshua Henderson > Cc: Ralf Baechle > --- Acked-by: Greg

Re: [PATCH] sc16is7xx: don't need "uart_handle_cts_change"

2016-02-06 Thread Greg KH
On Tue, Dec 22, 2015 at 05:19:56PM +0800, Wills Wang wrote: > SC16is7xx has feature for auto hardware flow control using RTS/CTS, > so we don't need "uart_handle_cts_change" to invoke "start_tx/stop_tx" > for flow control. > > In addition, for software CTS, interrupt "SC16IS7XX_IIR_CTSRTS_SRC" >

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-02-06 Thread Ross Zwisler
On Sun, Feb 07, 2016 at 10:40:53AM +1100, Dave Chinner wrote: > On Fri, Feb 05, 2016 at 03:25:00PM -0700, Ross Zwisler wrote: > > On Thu, Feb 04, 2016 at 09:29:57PM +0100, Jan Kara wrote: > > > I think changes aren't very intrusive so we can feed them in during RC > > > phase and frankly, you have

Re: [PATCH v5] serial: 8250: add gpio support to exar

2016-02-06 Thread Greg Kroah-Hartman
On Tue, Jan 19, 2016 at 11:36:35AM +0530, Sudip Mukherjee wrote: > Exar XR17V352/354/358 chips have 16 multi-purpose inputs/outputs which > can be controlled using gpio interface. > Add support to use these pins. > > Signed-off-by: Sudip Mukherjee > --- I need an ack from the gpio maintainer

Re: [PATCHv2 2/2] x86: SROP mitigation: implement signal cookies

2016-02-06 Thread Mika Penttilä
Hi, On 07.02.2016 01:39, Scott Bauer wrote: > This patch adds SROP mitigation logic to the x86 signal delivery > and sigreturn code. The cookie is placed in the unused alignment > space above the saved FP state, if it exists. If there is no FP > state to save then the cookie is placed in the

Re: [PATCH v6] serial: rewrite pxa2xx-uart to use 8250_core

2016-02-06 Thread Greg Kroah-Hartman
On Thu, Dec 24, 2015 at 06:15:14PM +0300, Sergei Ianovich wrote: > pxa2xx-uart was a separate uart platform driver. It was declaring > the same device names and numbers as 8250 driver. As a result, > it was impossible to use 8250 driver on PXA SoCs. > > Upon closer examination pxa2xx-uart turned

Re: [PATCH v2] tty: serial: jsm_tty: fixed redundant variable issue.

2016-02-06 Thread Greg KH
On Fri, Feb 05, 2016 at 03:21:03PM +0100, Jakob Østergaard Jensen wrote: > Fixes unnecessary variable reassignment to a new redundant variable. > > Signed-off-by: Jakob Østergaard Jensen > --- > drivers/tty/serial/jsm/jsm_tty.c | 10 -- > 1 file changed, 4 insertions(+), 6 deletions(-)

Re: [char-misc-next v4 0/7] mei: create proper iAMT watchdog driver

2016-02-06 Thread Greg Kroah-Hartman
On Fri, Jan 08, 2016 at 12:49:20AM +0200, Tomas Winkler wrote: > Instead of integrating the iAMT watchdog within the mei core driver > we will create a watchdog device on the mei client bus and > create a proper watchdog driver for it. > I applied the first 4 patches here, please fix up the rest

Re: [RFC PATCH] mm: CONFIG_NR_ZONES_EXTENDED

2016-02-06 Thread Dan Williams
On Mon, Feb 1, 2016 at 9:42 PM, Andrew Morton wrote: > On Wed, 27 Jan 2016 22:19:14 -0800 Dan Williams > wrote: >> #define GFP_ZONE_TABLE ( \ >> - (ZONE_NORMAL << 0 * ZONES_SHIFT) \ >> - | (OPT_ZONE_DMA << ___GFP_DMA * ZONES_SHIFT)

Re: [char-misc-next RESEND 0/6] mei updates

2016-02-06 Thread Greg Kroah-Hartman
On Thu, Jan 07, 2016 at 02:46:33PM +0200, Tomas Winkler wrote: > I've sent those patches ~ two months ago but were probably dropped from > the queue so resending them again. > > Alexander Usyskin (2): > mei: prevent queuing new flow control credit. > mei: always copy the read buffer if data

Re: [PATCH v6 00/12] Earlycon cleanup

2016-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2016 at 09:19:56AM +, Jon Hunter wrote: > Hi all, > > On 16/01/16 23:23, Peter Hurley wrote: > > Hi Greg, Grant & Rob, > > > > This patch series is a rebase of the v3 from April last year. > > > > This patch series builds on my earlier "Extensible console matching & > >

Re: [PATCH] staging: wilc1000: fix compilation without CONFIG_PM

2016-02-06 Thread Greg Kroah-Hartman
On Fri, Feb 05, 2016 at 04:21:50PM +0100, Arnd Bergmann wrote: > After the addition of the wakeup code in wilc1000, it no longer > builds when CONFIG_PM is disabled: > > drivers/staging/wilc1000/wilc_wfi_cfgoperations.c: In function > 'wilc_create_wiphy': >

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-02-06 Thread Mike Galbraith
On Sun, 2016-02-07 at 06:19 +0100, Mike Galbraith wrote: > On Sat, 2016-02-06 at 11:07 -0200, Henrique de Moraes Holschuh wrote: > > On Fri, 05 Feb 2016, Tejun Heo wrote: > > > On Fri, Feb 05, 2016 at 09:59:49PM +0100, Mike Galbraith wrote: > > > > On Fri, 2016-02-05 at 15:54 -0500, Tejun Heo

Re: [PATCH] iio: adc: Move mxs-lradc out of staging

2016-02-06 Thread Greg KH
On Sat, Feb 06, 2016 at 11:23:23PM +0100, Ksenija Stanojevic wrote: > Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. > > Signed-off-by: Ksenija Stanojevic Acked-by: Greg Kroah-Hartman

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-02-06 Thread Ross Zwisler
On Sun, Feb 07, 2016 at 10:15:12AM +1100, Dave Chinner wrote: > On Thu, Feb 04, 2016 at 10:15:58AM +0100, Jan Kara wrote: > > On Wed 03-02-16 13:13:28, Ross Zwisler wrote: > > > Here is the comment from Dave Chinner that had me move to having the > > > calls to > > > dax_writeback_mapping_range()

[PATCH] bonding: Return correct error code

2016-02-06 Thread Amitoj Kaur Chawla
The return value of kzalloc on failure of allocation of memory should be -ENOMEM and not -1. Found using Coccinelle. A simplified version of the semantic patch used is: // @@ expression *e; @@ e = kzalloc(...); if (e == NULL) { ... return - -1 + -ENOMEM ; } // The single call site only checks

[GIT PULL] USB driver fixes for 4.5-rc3

2016-02-06 Thread Greg KH
The following changes since commit 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3: Linux 4.5-rc2 (2016-01-31 18:12:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.5-rc3 for you to fetch changes up to

[GIT PULL] Staging driver fixes for 4.5-rc3

2016-02-06 Thread Greg KH
The following changes since commit 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3: Linux 4.5-rc2 (2016-01-31 18:12:16 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging.git/ tags/staging-4.5-rc3 for you to fetch changes up to

Re: Crashes with 874bbfe600a6 in 3.18.25

2016-02-06 Thread Mike Galbraith
On Sat, 2016-02-06 at 11:07 -0200, Henrique de Moraes Holschuh wrote: > On Fri, 05 Feb 2016, Tejun Heo wrote: > > On Fri, Feb 05, 2016 at 09:59:49PM +0100, Mike Galbraith wrote: > > > On Fri, 2016-02-05 at 15:54 -0500, Tejun Heo wrote: > > > > > > > What are you suggesting? > > > > > > That

Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check into error

2016-02-06 Thread Paul Gortmaker
[Re: [PATCH tip v6 2/5] kbuild: Add option to turn incompatible pointer check into error] On 05/02/2016 (Fri 09:16) Daniel Wagner wrote: > On 02/01/2016 07:49 AM, Daniel Wagner wrote: > > On 01/29/2016 07:55 PM, Paul Gortmaker wrote: > >> [Re: [PATCH tip v6 2/5] kbuild: Add option to turn

[PATCH] netfilter: nft_counter: fix erroneous return values

2016-02-06 Thread Anton Protopopov
The nft_counter_init() and nft_counter_clone() functions should return negative error value -ENOMEM instead of positive ENOMEM. Signed-off-by: Anton Protopopov --- net/netfilter/nft_counter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/netfilter/nft_counter.c

[PATCH] media: i2c/adp1653: probe: fix erroneous return value

2016-02-06 Thread Anton Protopopov
The adp1653_probe() function may return positive value EINVAL which is obviously wrong. Signed-off-by: Anton Protopopov --- drivers/media/i2c/adp1653.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/i2c/adp1653.c b/drivers/media/i2c/adp1653.c index

[PATCH] drm/qxl: fix erroneous return value

2016-02-06 Thread Anton Protopopov
The qxl_gem_prime_mmap() function returns ENOSYS instead of -ENOSYS Signed-off-by: Anton Protopopov --- drivers/gpu/drm/qxl/qxl_prime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/qxl/qxl_prime.c b/drivers/gpu/drm/qxl/qxl_prime.c index 3d031b5..9f029dd

Re: [PATCH 0/3] OOM detection rework v4

2016-02-06 Thread Tetsuo Handa
Michal Hocko wrote: > On Thu 04-02-16 22:10:54, Tetsuo Handa wrote: > > Michal Hocko wrote: > > > I am not sure we can fix these pathological loads where we hit the > > > higher order depletion and there is a chance that one of the thousands > > > tasks terminates in an unpredictable way which

[PATCH v3 1/3] staging: rtl8723au: use list_for_each_entry*()

2016-02-06 Thread Geliang Tang
Use list_for_each_entry*() instead of list_for_each*() to simplify the code. Signed-off-by: Geliang Tang --- Changes in v3: - split it into three patches. Changes in v2: - drop the coding style fixing in v1. --- drivers/staging/rtl8723au/core/rtw_ap.c | 55 ---

[PATCH v3 3/3] staging: rtl8723au: whitespace and blank line cleaning

2016-02-06 Thread Geliang Tang
This patch cleans whitespaces and blank lines surrounding list_for_each_entry*(). Signed-off-by: Geliang Tang --- Changes in v3: - split it into three patches. Changes in v2: - drop the coding style fixing in v1. --- drivers/staging/rtl8723au/core/rtw_ap.c | 41

[PATCH v3 2/3] staging: rtl8723au: core: rtw_recv: remove useless codes

2016-02-06 Thread Geliang Tang
There are some useless codes in rtw_free_recvframe23a_queue() and recvframe_defrag(), so remove them. Signed-off-by: Geliang Tang --- Changes in v3: - split it into three patches. Changes in v2: - drop the coding style fixing in v1. --- drivers/staging/rtl8723au/core/rtw_recv.c | 7 +-- 1

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-06 Thread Fu Wei
On 7 February 2016 at 02:57, Guenter Roeck wrote: > On 02/06/2016 10:02 AM, Fu Wei wrote: >> >> Hi Guenter, >> >> On 6 February 2016 at 07:54, Guenter Roeck wrote: >>> >>> On 02/05/2016 10:21 AM, Fu Wei wrote: On 5 February 2016 at 22:42, Guenter Roeck wrote: > > > On

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-06 Thread Fu Wei
On 7 February 2016 at 02:55, Timur Tabi wrote: > Fu Wei wrote: >> >> if (action) { >> wdd->min_timeout = 1; >> wdd->max_timeout = U32_MAX / gwdt->clk; >> } else { >> wdd->min_timeout = 2; >> wdd->max_timeout = U32_MAX / gwdt->clk * 2; >> } > > > Why would the

Re: [PATCH v5 0/3] crypto: KEYS: convert public key to akcipher api

2016-02-06 Thread Herbert Xu
On Sun, Feb 07, 2016 at 12:43:53AM +, David Howells wrote: > > Ummm. I did say I'd take it on top of my patches. How did you take it? Did > you merge Tadeusz's branch? If so, I can probably merge it into mine also and > git will Just Do The Right Thing™. No I merged them as individual

Re: [PATCH] psmouse: added BYD touchpad driver

2016-02-06 Thread Richard Pospesel
Updated BYD driver to report absolute coordinates and single-touch events. init and gesture packet documentation. Confirmed working with both synaptics and libinput xorg touchpad drivers. Patched against 98ee377144935857d8ad5d7d70cdab1da4ede32e on

Re: [PATCH v16 1/6] fpga: add bindings document for fpga region

2016-02-06 Thread atull
On Fri, 5 Feb 2016, Josh Cartwright wrote: > Hey Alan- > > First off, thanks for all of your (and others') work on this. > > On Fri, Feb 05, 2016 at 03:29:58PM -0600, at...@opensource.altera.com wrote: > > From: Alan Tull > > > > New bindings document for FPGA Region to support programming >

Re: Email handling - please share what tools you use

2016-02-06 Thread Greg KH
On Sun, Feb 07, 2016 at 01:53:34AM +0200, Andrey Utkin wrote: > BEGIN PERSONAL COMPLAINTS = Stop complaining and bend one of the existing tools to your will. I recommend configuring mutt to do what you want and take a week or two to learn how to use it well. Many distros provide

Re: [PATCH v5 0/3] crypto: KEYS: convert public key to akcipher api

2016-02-06 Thread David Howells
Herbert Xu wrote: > > Hmmm... That means that the crypto branch and the security branch are going > > to conflict. > > I thought you were OK with it going in now as you said that you'll > fix it up later. Sorry for the misunderstanding. Do you want me to > revert? Ummm. I did say I'd take

Re: [PATCH] psmouse: added BYD touchpad driver

2016-02-06 Thread Richard Pospesel
Hy Chris, I'll send updated patch in a follow-up once I've verified thunderbird hasn't messed up the formatting yet again (seems like there are 3 separate settings I have to set, argh). On 02/05/2016 10:55 AM, Chris Diamand wrote: Hi Richard, Thanks for this. Rebased patch against

Re: [PATCH] powerpc: fix dedotify for binutils >= 2.26

2016-02-06 Thread Anton Blanchard
> Since binutils 2.26 BFD is doing suffix merging on STRTAB sections. > But dedotify modifies the symbol names in place, which can also modify > unrelated symbols with a name that matches a suffix of a dotted > name. To remove the leading dot of a symbol name we can just > increment the pointer

Re: [PATCH v2 1/3] lib/list_batch: A simple list insertion/deletion batching facility

2016-02-06 Thread Dave Chinner
On Wed, Feb 03, 2016 at 06:11:56PM -0500, Waiman Long wrote: > On 01/31/2016 07:47 PM, Dave Chinner wrote: > >So at what point does simply replacing the list_head with a list_lru > >become more efficient than this batch processing (i.e. > >https://lkml.org/lkml/2015/3/10/660)? The list_lru isn't

Email handling - please share what tools you use

2016-02-06 Thread Andrey Utkin
Please share how you handle tons of email and how happy are you with how you do it. Which services and applications do you use. What is good, what is bad, what is ugly. And thanks a lot in advance for your time. You are appreciated to share this "survey" to somebody interested, or to repost on

Re: [PATCH v2 3/3] vfs: Enable list batching for the superblock's inode list

2016-02-06 Thread Dave Chinner
On Wed, Feb 03, 2016 at 05:59:17PM -0500, Waiman Long wrote: > On 02/01/2016 05:03 PM, Waiman Long wrote: > >On 02/01/2016 12:45 PM, Andi Kleen wrote: > >>>I'm wondering, why are inode_sb_list_add()/del() even called > >>>for a presumably > >>>reasonably well cached benchmark running on a system

[PATCHv2 1/2] SROP Mitigation: Architecture independent code for signal cookies

2016-02-06 Thread Scott Bauer
This patch adds a per-process secret to the task struct which will be used during signal delivery and during a sigreturn. Also, logic is added in signal.c to generate, place, extract, clear and verify the signal cookie. Cc: Abhiram Balasubramanian Signed-off-by: Scott Bauer --- fs/exec.c

[PATCHv2 0/2] SROP Mitigation: Signal cookies

2016-02-06 Thread Scott Bauer
Erik Bosman previously attempted to upstream some patches which mitigate SROP exploits in userland. Unfortunately he never pursued it further and they never got merged in. The previous patches can be seen here: https://lkml.org/lkml/2014/5/15/660 https://lkml.org/lkml/2014/5/15/661

[PATCHv2 2/2] x86: SROP mitigation: implement signal cookies

2016-02-06 Thread Scott Bauer
This patch adds SROP mitigation logic to the x86 signal delivery and sigreturn code. The cookie is placed in the unused alignment space above the saved FP state, if it exists. If there is no FP state to save then the cookie is placed in the alignment space above the sigframe. Cc: Abhiram

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-02-06 Thread Dave Chinner
On Fri, Feb 05, 2016 at 03:25:00PM -0700, Ross Zwisler wrote: > On Thu, Feb 04, 2016 at 09:29:57PM +0100, Jan Kara wrote: > > I think changes aren't very intrusive so we can feed them in during RC > > phase and frankly, you have to move to using ->writepages() anyway to make > > sync(2) work

Re: [PATCH 2/2] dax: fix bdev NULL pointer dereferences

2016-02-06 Thread Dave Chinner
On Thu, Feb 04, 2016 at 10:15:58AM +0100, Jan Kara wrote: > On Wed 03-02-16 13:13:28, Ross Zwisler wrote: > > Here is the comment from Dave Chinner that had me move to having the calls > > to > > dax_writeback_mapping_range() into the generic mm code: > > > >> Lastly, this flushing really

[PATCH] iio: adc: Move mxs-lradc out of staging

2016-02-06 Thread Ksenija Stanojevic
Move mxs-lradc driver from drivers/staging/iio/adc to drivers/iio/adc. Signed-off-by: Ksenija Stanojevic --- drivers/iio/adc/Kconfig | 14 + drivers/iio/adc/Makefile|1 + drivers/iio/adc/mxs-lradc.c | 1770 +++

[PATCH v2] net: ethernet: davicom: fix devicetree irq resource

2016-02-06 Thread Robert Jarzmik
The dm9000 driver doesn't work in at least one device-tree configuration, spitting an error message on irq resource : [1.062495] dm9000 800.ethernet: insufficient resources [1.068439] dm9000 800.ethernet: not found (-2). [1.073451] dm9000: probe of 800.ethernet failed with

[GIT PULL] another floppy fix

2016-02-06 Thread Jiri Kosina
Jens, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/linux-block.git for-4.5/for-jens to receive another floppy fix for bug found by syzkaller tool (and reported by Dmitry Vyukov); this time O_NONBLOCK handling is (and has always been) broken for /dev/fdX, potentially

Re: [PATCH v2 3/3] paravirt: rename paravirt_enabled to paravirt_legacy

2016-02-06 Thread Borislav Petkov
On Sat, Feb 06, 2016 at 12:05:32PM -0800, Andy Lutomirski wrote: > int __init microcode_init(void) > { > [...] > if (paravirt_enabled() || dis_ucode_ldr) > return -EINVAL; > > This is also asking "are we the natively booted kernel?" This is > plausibly useful for

Re: [PATCH v2 20/51] mtd: docg3: switch to mtd_ooblayout_ops

2016-02-06 Thread Robert Jarzmik
Boris Brezillon writes: > Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops > definition. > > Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik Cheers. -- Robert

Re: [PATCH v2 18/51] mtd: docg3: use mtd_set_ecclayout() where appropriate

2016-02-06 Thread Robert Jarzmik
Boris Brezillon writes: > Use the mtd_set_ecclayout() helper instead of directly assigning the > mtd->ecclayout field. > > Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik Cheers. -- Robert

Re: [PATCH] iio: health: Add driver for the TI AFE4403 heart monitor

2016-02-06 Thread Jonathan Cameron
On 06/02/16 19:35, Andrew F. Davis wrote: > Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. > This device detects reflected LED light fluctuations and presents an ADC > value to the user space for further signal processing. > > Data sheet located here: >

[PATCH] ARM: pxa: pxa3xx device-tree support cleanup

2016-02-06 Thread Robert Jarzmik
Clocks, timer and several other drivers have well defined and working device-tree bindings. Clean-up the code to leave only the strict minimum. The final goal will be to remove the lookup array. Signed-off-by: Robert Jarzmik --- arch/arm/mach-pxa/pxa-dt.c | 24 1 file

Re: [PATCH] ARM: pxa: fix irq initialization for pxa3xx devicetree

2016-02-06 Thread Robert Jarzmik
Robert Jarzmik writes: > The initialization of interrupt controller for devicetree platform was > done for pxa2xx platforms, but not for pxa3xx ones. > > Fix this my adding the missing initialization call. > > Fixes: 089d03629b04 ("ARM: pxa: add devicetree code for irq handling") >

Re: [PATCH 4/5] ARM: dts: NSP: Add SP805 Support to DT

2016-02-06 Thread Sergei Shtylyov
On 02/06/2016 11:47 PM, Scott Branden wrote: Add support for the ARM SP805 Watchdog timer to the Northstar Plus device tree. Signed-off-by: Jon Mason mailto:jonma...@broadcom.com>> --- arch/arm/boot/dts/bcm-nsp.dtsi | 8

Re: [PATCH] net: phy: dp83848: Add support for TI TLK10x Ethernet PHYs

2016-02-06 Thread Florian Fainelli
Le 05/02/2016 15:13, Andrew F. Davis a écrit : > The TI TLK10x Ethernet PHYs are similar in the interrupt relevant > registers and so are compatible with the DP83848x devices already > supported. Add these and re-order code to support additional PHYs. This looks fine, but this could also be

[PATCH v2] net: smc91x: propagate irq return code

2016-02-06 Thread Robert Jarzmik
The smc91x driver doesn't honor the probe deferral mechanism when the interrupt source is not yet available, such as one provided by a gpio controller not probed. Fix this by propagating the platform_get_irq() error code as the probe return value. Signed-off-by: Robert Jarzmik Cc: Sergei

[PATCH v2] mmc: pxamci: fix the device-tree probe deferral path

2016-02-06 Thread Robert Jarzmik
When the gpio driver is probed after the mmc one, the read/write gpio and card detection one return -EPROBE_DEFER. Unfortunately, the memory region remains requested, and upon the next probe, the probe will fail anyway with -EBUSY. Fix this by releasing the memory resource upon probe failure.

Re: [PATCH v2 3/3] paravirt: rename paravirt_enabled to paravirt_legacy

2016-02-06 Thread Andy Lutomirski
On Sat, Feb 6, 2016 at 12:59 AM, Luis R. Rodriguez wrote: > On Fri, Feb 05, 2016 at 11:11:34PM -0800, Andy Lutomirski wrote: >> On Feb 5, 2016 8:30 PM, "Luis R. Rodriguez" wrote: >> > >> > paravirt_enabled conveys the idea that if this is set or if >> > paravirt_enabled() returns true you are in

[PATCH] iio: health: Add driver for the TI AFE4403 heart monitor

2016-02-06 Thread Andrew F. Davis
Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing. Data sheet located here: http://www.ti.com/product/AFE4403/datasheet Signed-off-by: Andrew F. Davis

Re: [PATCH v2] clk: gpio: Make into a platform driver

2016-02-06 Thread Jyri Sarha
On 02/03/16 23:10, Stephen Boyd wrote: clk_get() for DT based clks already returns EPROBE_DEFER when the OF clk provider is not present. So having all this code in the clk provider to return EPROBE_DEFER when the gpio isn't ready yet can be replaced with a platform driver that doesn't add the

Re: [PATCH] iio: Add IIO support for the DAC on the Apex Embedded Systems STX104

2016-02-06 Thread Jonathan Cameron
On 02/02/16 23:30, William Breathitt Gray wrote: > The Apex Embedded Systems STX104 is a 16-channel 16-bit analog input and > 2-channel 16-bit analog output PC/104 card. The STX104 incorporates a > large one mega-sample FIFO. > > This driver provides IIO support for the 2-channel DAC on the

Re: [PATCH v5 4/4] iio: health: Add driver for the TI AFE4403 heart monitor

2016-02-06 Thread Andrew F. Davis
On 02/06/2016 01:02 PM, Jonathan Cameron wrote: On 02/02/16 17:50, Andrew F. Davis wrote: Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. This device detects reflected LED light fluctuations and presents an ADC value to the user space for further signal processing. Data

Re: [PATCH v5 4/4] iio: health: Add driver for the TI AFE4403 heart monitor

2016-02-06 Thread Jonathan Cameron
On 02/02/16 17:50, Andrew F. Davis wrote: > Add driver for the TI AFE4403 heart rate monitor and pulse oximeter. > This device detects reflected LED light fluctuations and presents an ADC > value to the user space for further signal processing. > > Data sheet located here: >

Re: [PATCH v5 3/4] Documentation: afe4403: Add DT bindings for the AFE4403 heart monitor

2016-02-06 Thread Jonathan Cameron
On 02/02/16 17:50, Andrew F. Davis wrote: > Add the TI AFE4403 heart monitor DT bindings documentation. > > Signed-off-by: Andrew F. Davis Given this is near identical to the AFE4404 binding I'll assume the lack of comment on that means this one is fine too ;) Applied to the togreg branch of

Re: [PATCH v5 2/4] iio: health: Add driver for the TI AFE4404 heart monitor

2016-02-06 Thread Jonathan Cameron
On 02/02/16 17:50, Andrew F. Davis wrote: > Add driver for the TI AFE4404 heart rate monitor and pulse oximeter. > This device detects reflected LED light fluctuations and presents an ADC > value to the user space for further signal processing. > > Datasheet:

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-06 Thread Guenter Roeck
On 02/06/2016 10:02 AM, Fu Wei wrote: Hi Guenter, On 6 February 2016 at 07:54, Guenter Roeck wrote: On 02/05/2016 10:21 AM, Fu Wei wrote: On 5 February 2016 at 22:42, Guenter Roeck wrote: On 02/05/2016 01:51 AM, Fu Wei wrote: Hi Guenter, On 4 February 2016 at 13:17, Guenter Roeck

Re: [PATCH v10 5/5] Watchdog: ARM SBSA Generic Watchdog half timeout panic support

2016-02-06 Thread Timur Tabi
Fu Wei wrote: if (action) { wdd->min_timeout = 1; wdd->max_timeout = U32_MAX / gwdt->clk; } else { wdd->min_timeout = 2; wdd->max_timeout = U32_MAX / gwdt->clk * 2; } Why would the minimum timeout be 2? You can program WOR to timeout in half a second,

Re: [PATCH v5 1/4] Documentation: afe4404: Add DT bindings for the AFE4404 heart monitor

2016-02-06 Thread Jonathan Cameron
On 02/02/16 17:50, Andrew F. Davis wrote: > Add the TI afe4404 heart monitor DT bindings documentation. > Create health directory created under iio. > > Signed-off-by: Andrew F. Davis Nothing terribly controversial in here I think and its been around in roughly this form for a long time so I'm

[PATCH V4 1/6] SLIMbus: Device management on SLIMbus

2016-02-06 Thread Sagar Dharia
SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses Time-Division-Multiplexing to accommodate

[PATCH V4 5/6] slimbus: Add support for 'clock-pause' feature

2016-02-06 Thread Sagar Dharia
Per slimbus specification, a reconfiguration sequence known as 'clock pause' needs to be broadcast over the bus while entering low- power mode. Clock-pause is initiated by the controller driver. To exit clock-pause, controller typically wakes up the framer device. Since wakeup precedure is

[PATCH V4 3/6] slimbus: Add messaging APIs to slimbus framework

2016-02-06 Thread Sagar Dharia
Slimbus devices use value-element, and information elements to control device parameters (e.g. value element is used to represent gain for codec, information element is used to represent interrupt status for codec when codec interrupt fires). Messaging APIs are used to set/get these value and

[PATCH V4 6/6] slim: qcom: Add runtime-pm support using clock-pause feature

2016-02-06 Thread Sagar Dharia
Slimbus HW mandates that clock-pause sequence has to be executed before disabling relevant interface and core clocks. Runtime-PM's autosuspend feature is used here to enter/exit low power mode for Qualcomm's Slimbus controller. Autosuspend feature enables driver to avoid changing power-modes too

[PATCH V4 2/6] of/slimbus: OF helper for SLIMbus

2016-02-06 Thread Sagar Dharia
OF helper routine scans the SLIMbus DeviceTree, allocates resources, and creates slim_devices according to the hierarchy. Signed-off-by: Sagar Dharia --- Documentation/devicetree/bindings/slimbus/bus.txt | 54 drivers/slimbus/slim-core.c | 75

[PATCH V4 4/6] slim: qcom: Add Qualcomm Slimbus controller driver

2016-02-06 Thread Sagar Dharia
This controller driver programs manager, interface, and framer devices for Qualcomm's slimbus HW block. Manager component currently implements logical address setting, and messaging interface. Interface device reports bus synchronization information, and framer device clocks the bus from the time

[PATCH V4 0/6] Introduce framework for SLIMbus device drivers

2016-02-06 Thread Sagar Dharia
SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses Time-Division-Multiplexing to accommodate

Re: [PATCHv3] staging: iio: replace clk_get() with devm_clk_get()

2016-02-06 Thread Jonathan Cameron
On 02/02/16 12:56, Gujulan Elango, Hari Prasath (H.) wrote: > This patch replaces the clk_get() with devm_clk_get().Accordingly,modified > the error paths,rename error labels and removed clk_put() in probe() & > remove functions. > > Signed-off-by: Hari Prasath Gujulan Elango Applied to the

Re: [PATCH] iio: chemical: select IRQ_WORK for ATLAS ph sensor

2016-02-06 Thread Jonathan Cameron
On 03/02/16 07:55, Matt Ranostay wrote: > Reviewed-by: Matt Ranostay > > On Tue, Feb 2, 2016 at 6:36 AM, Arnd Bergmann wrote: >> The newly added atlas-ph-sensor driver uses irq_work_queue, which >> may not always be enabled: >> >> ERROR: "irq_work_queue"

complete boot failure in 4.5-rc1 caused by nvme: make SG_IO support optional

2016-02-06 Thread James Bottomley
The reason is fairly obvious: the default for the new option BLK_DEV_NVME_SCSI is N and all the distribution kernels (and me when testing) take the default options (I checked in the OBS kernel builds and this is true). The net result is that scsi_id from udev no longer works on nvme disks and

Re: [PATCH net] net: dsa: mv88e6xxx: do not leave reserved VLANs

2016-02-06 Thread Andrew Lunn
On Fri, Feb 05, 2016 at 02:07:14PM -0500, Vivien Didelot wrote: > BRIDGE_VLAN_FILTERING automatically adds a newly bridged port to the > VLAN with the bridge's default_pvid. > > The mv88e6xxx driver currently reserves VLANs 4000+ for unbridged ports > isolation. When a port joins a bridge, it

sound: heap out-of-bounds write in dummy_systimer_prepare

2016-02-06 Thread Dmitry Vyukov
Hello, I am still seeing these eap out-of-bounds writes in dummy_systimer_prepare. Even when we've disabled the hrtimer sysctl. The fuzzer does not change sysctls at the moment and I think we've overlooked a very simple possibility that can happen when sysctls are not changed (i.e. triggered by

Re: [PATCH net] net: dsa: mv88e6xxx: fix software VLAN deletion

2016-02-06 Thread Andrew Lunn
On Fri, Feb 05, 2016 at 02:04:39PM -0500, Vivien Didelot wrote: > The current bridge code calls switchdev_port_obj_del on a VLAN port even > if the corresponding switchdev_port_obj_add call returned -EOPNOTSUPP. > > If the DSA driver doesn't return -EOPNOTSUPP for a software port VLAN in > its

Re: [REGRESSION] mm: filemap_map_pages NULL pointer dereference

2016-02-06 Thread Jeremiah Mahler
Andrew, On Fri, Feb 05, 2016 at 02:19:40PM -0800, Andrew Morton wrote: > On Fri, 5 Feb 2016 10:05:02 -0800 Jeremiah Mahler wrote: > [...] > > unable to handle kernel NULL pointer dereference > > This should fix it up. > [...] > > include/linux/radix-tree.h |6 +++--- > 1 file changed,

Re: [PATCH] Staging:iio:Remove exceptional & on function name

2016-02-06 Thread Jonathan Cameron
On 05/02/16 03:53, Bhumika Goyal wrote: > In this file,function names are otherwise used as pointers without &. > Found using coccinelle. > // > @r@ > identifier f; > @@ > > f(...) { ... } > @@ > identifier r.f; > @@ > > - > + f > // > > Signed-off-by: Bhumika Goyal Nice little bit of

Re: [PATCH v3 1/2] iio: pressure: ms5611: Add IIO_CHAN_INFO_SCALE to mask

2016-02-06 Thread Jonathan Cameron
On 03/02/16 16:50, Daniel Baluta wrote: > This allows data exported via buffer interface to be converted > to standard units in userspace. > > Signed-off-by: Daniel Baluta Applied. > --- > drivers/iio/pressure/ms5611_core.c | 18 -- > 1 file changed, 16 insertions(+), 2

Re: [PATCH v3 2/2] iio: pressure: ms5611: Add triggered buffer support

2016-02-06 Thread Jonathan Cameron
On 03/02/16 16:50, Daniel Baluta wrote: > This will be used together with an external trigger (e.g hrtimer > based software trigger). > > Signed-off-by: Daniel Baluta Applied to the togreg branch of iio.git - initially pushed out as testing for the autobuilders to play with it. Thanks,

  1   2   3   4   >