[PATCH] arm: pxa: create a unified defconfig for PXA27X-DT

2015-12-18 Thread Sergei Ianovich
Instead of one defconfig file per board, pxa27x-dt_defconfig is expected to provide a configuration for kernel which can test any PXA27X-DT compatible board Signed-off-by: Sergei Ianovich CC: Robert Jarzmik CC: Arnd Bergmann --- Documentation/arm/pxa/pxa27x_defconfig.txt | 7 ++

Re: [PATCH V10 7/7] dma: qcom_hidma: add support for object hierarchy

2015-12-18 Thread kbuild test robot
Hi Sinan, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151218] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-driver/20151218-010637 config: sparc64-allmodconfig (attached as .config) reproduce: wget https

[git pull] Input updates for 4.4-rc5

2015-12-18 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. Just a few assorted driver fixes. Changelog: - Charles Keepax (1): Input: arizona-haptic - fix disabling of haptics device

Re: [PATCH V10 7/7] dma: qcom_hidma: add support for object hierarchy

2015-12-18 Thread kbuild test robot
Hi Sinan, [auto build test ERROR on v4.4-rc5] [also build test ERROR on next-20151218] url: https://github.com/0day-ci/linux/commits/Sinan-Kaya/dma-add-Qualcomm-Technologies-HIDMA-driver/20151218-010637 config: sparc-allyesconfig (attached as .config) reproduce: wget https

Re: [PATCH v5] arm: pxa: support ICP DAS LP-8x4x FPGA irq

2015-12-18 Thread Sergei Ianovich
On Fri, 2015-12-18 at 21:58 -0600, Rob Herring wrote: > On Tue, Dec 15, 2015 at 10:26:21PM +0300, Sergei Ianovich wrote: > > +Example: > > + > > + fpga: fpga@1706 { > > Nothing else in the fpga? In any case, this node should be named > interrupt-controller@1706. > > > +

Re: [PATCH 1/1] staging: coding style cleanups for staging/panel driver

2015-12-18 Thread Willy Tarreau
On Sat, Dec 19, 2015 at 11:55:13AM +0530, Sudip Mukherjee wrote: > On Fri, Dec 18, 2015 at 08:01:58AM -0800, Greg KH wrote: > > On Fri, Dec 18, 2015 at 02:48:58PM +0530, Bijosh T wrote: > > > From: Bijosh T > > > > > > This patch fixes coding style errors for staging/panel driver. > > > > > >

Re: futex(3) man page, final draft for pre-release review

2015-12-18 Thread Michael Kerrisk (man-pages)
On 12/18/2015 12:21 PM, Torvald Riegel wrote: > On Tue, 2015-12-15 at 13:18 -0800, Darren Hart wrote: >> On Tue, Dec 15, 2015 at 02:43:50PM +0100, Michael Kerrisk (man-pages) wrote: >>> >>>When executing a futex operation that requests to block a thread, >>>the kernel will block

Re: futex(3) man page, final draft for pre-release review

2015-12-18 Thread Michael Kerrisk (man-pages)
On 12/18/2015 12:11 PM, Torvald Riegel wrote: > On Wed, 2015-12-16 at 16:54 +0100, Michael Kerrisk (man-pages) wrote: >> Hello Darren, >> >> On 12/15/2015 10:18 PM, Darren Hart wrote: >>> On Tue, Dec 15, 2015 at 02:43:50PM +0100, Michael Kerrisk (man-pages) wrote: >> >> [...] >> When

Re: [PATCH v4] of: fix declaration of of_io_request_and_map

2015-12-18 Thread Sudip Mukherjee
On Thu, Dec 17, 2015 at 11:55:28AM -0600, Rob Herring wrote: > On Tue, Dec 8, 2015 at 2:47 AM, Sudip Mukherjee > wrote: > > We are having build failure with linux-next for sparc allmodconfig with > > the error messages: > > > > drivers/built-in.o: In function `meson6_timer_init': > >

Re: [PATCH] x86/signal: Cleanup get_nr_restart_syscall

2015-12-18 Thread H. Peter Anvin
On 12/18/15 15:37, Dmitry V. Levin wrote: Check for TS_COMPAT instead of TIF_IA32 to distinguish ia32 tasks from 64-bit tasks. Check for __X32_SYSCALL_BIT only if CONFIG_X86_X32_ABI is defined. Signed-off-by: Dmitry V. Levin Cc: Elvira Khabirova Cc: Andy Lutomirski ---

Re: [PATCH 1/1] staging: coding style cleanups for staging/panel driver

2015-12-18 Thread Sudip Mukherjee
On Fri, Dec 18, 2015 at 08:01:58AM -0800, Greg KH wrote: > On Fri, Dec 18, 2015 at 02:48:58PM +0530, Bijosh T wrote: > > From: Bijosh T > > > > This patch fixes coding style errors for staging/panel driver. > > > > Signed-off-by: Bijosh T > > I need a "full" name here, not just "T" as a last

Re: Indent issus in kernel module development

2015-12-18 Thread Joe Perches
On Sat, 2015-12-19 at 13:50 +0800, chunguang qu wrote: > Yes, I just tried `scripts/Lindent` and it has the same problem. > > I had compared the source of `Lindent` with `-linux` option of > `indent` long time ago, there's seems no major difference. > So i used `indent -linux ` above. > > Thanks

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2015-12-18 Thread Leo Yan
Hi Steve, On Fri, Dec 18, 2015 at 11:15:01AM -0800, Steve Muckle wrote: > On 12/16/2015 11:17 PM, Leo Yan wrote: > > Could you check if below corner case will introduce logic error? > > The task still will be removed from rq if timer tick is triggered > > between two time's set_current_state(). >

Re: Indent issus in kernel module development

2015-12-18 Thread chunguang qu
Yes, I just tried `scripts/Lindent` and it has the same problem. I had compared the source of `Lindent` with `-linux` option of `indent` long time ago, there's seems no major difference. So i used `indent -linux ` above. Thanks for your advice about `emace`, but `vi` is my only editor for dozens

[PATCH v5 3/7] mm: add find_get_entries_tag()

2015-12-18 Thread Ross Zwisler
Add find_get_entries_tag() to the family of functions that include find_get_entries(), find_get_pages() and find_get_pages_tag(). This is needed for DAX dirty page handling because we need a list of both page offsets and radix tree entries ('indices' and 'entries' in this function) that are

[PATCH v5 2/7] dax: support dirty DAX entries in radix tree

2015-12-18 Thread Ross Zwisler
Add support for tracking dirty DAX entries in the struct address_space radix tree. This tree is already used for dirty page writeback, and it already supports the use of exceptional (non struct page*) entries. In order to properly track dirty DAX pages we will insert new exceptional entries into

[PATCH v5 4/7] dax: add support for fsync/sync

2015-12-18 Thread Ross Zwisler
To properly handle fsync/msync in an efficient way DAX needs to track dirty pages so it is able to flush them durably to media on demand. The tracking of dirty pages is done via the radix tree in struct address_space. This radix tree is already used by the page writeback infrastructure for

[PATCH v5 5/7] ext2: call dax_pfn_mkwrite() for DAX fsync/msync

2015-12-18 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can track when user pages are dirtied. Signed-off-by: Ross Zwisler --- fs/ext2/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ext2/file.c

[PATCH v5 7/7] xfs: call dax_pfn_mkwrite() for DAX fsync/msync

2015-12-18 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can track when user pages are dirtied. Signed-off-by: Ross Zwisler --- fs/xfs/xfs_file.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/fs/xfs/xfs_file.c

Re: [PATCH v3 2/7] dax: support dirty DAX entries in radix tree

2015-12-18 Thread Ross Zwisler
On Fri, Dec 18, 2015 at 10:01:10AM +0100, Jan Kara wrote: > On Tue 08-12-15 12:18:40, Ross Zwisler wrote: > > Add support for tracking dirty DAX entries in the struct address_space > > radix tree. This tree is already used for dirty page writeback, and it > > already supports the use of

[PATCH v5 6/7] ext4: call dax_pfn_mkwrite() for DAX fsync/msync

2015-12-18 Thread Ross Zwisler
To properly support the new DAX fsync/msync infrastructure filesystems need to call dax_pfn_mkwrite() so that DAX can track when user pages are dirtied. Signed-off-by: Ross Zwisler --- fs/ext4/file.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fs/ext4/file.c

[PATCH v5 1/7] pmem: add wb_cache_pmem() to the PMEM API

2015-12-18 Thread Ross Zwisler
The function __arch_wb_cache_pmem() was already an internal implementation detail of the x86 PMEM API, but this functionality needs to be exported as part of the general PMEM API to handle the fsync/msync case for DAX mmaps. One thing worth noting is that we really do want this to be part of the

[PATCH v5 0/7] DAX fsync/msync support

2015-12-18 Thread Ross Zwisler
Changes from v4: - Explicity prevent shadow entries from being added to radix trees for DAX mappings in patch 2. The only shadow entries that would be generated for DAX radix trees would be to track zero page mappings that were created for holes. These pages would receive minimal

Re: [PATCH] netcp: fix regression in receive processing

2015-12-18 Thread David Miller
From: Arnd Bergmann Date: Fri, 18 Dec 2015 15:18:08 +0100 > A cleanup patch I did was unfortunately wrong and introduced > multiple serious bugs in the netcp rx processing, as indicated > by these correct gcc warnings: > > drivers/net/ethernet/ti/netcp_core.c:776:14: warning: 'buf_ptr' may be

Re: [LKP] [PATCH v2] rhashtable: Kill harmless RCU warning in rhashtable_walk_init

2015-12-18 Thread Fengguang Wu
On Fri, Dec 18, 2015 at 11:42:59PM -0500, David Miller wrote: > From: Herbert Xu > Date: Sat, 19 Dec 2015 10:45:28 +0800 > > > On Fri, Dec 18, 2015 at 04:27:31PM -0500, David Miller wrote: > >> From: Herbert Xu > >> Date: Fri, 18 Dec 2015 21:14:08 +0800 > >> > >> > On Fri, Dec 18, 2015 at

Re: [PATCH v2] rhashtable: Kill harmless RCU warning in rhashtable_walk_init

2015-12-18 Thread David Miller
From: Herbert Xu Date: Sat, 19 Dec 2015 10:45:28 +0800 > On Fri, Dec 18, 2015 at 04:27:31PM -0500, David Miller wrote: >> From: Herbert Xu >> Date: Fri, 18 Dec 2015 21:14:08 +0800 >> >> > On Fri, Dec 18, 2015 at 04:54:14AM -0800, Eric Dumazet wrote: >> >> >> >> You can avoid the comment by

Re: [PATCH V5 1/2] watchdog: Use static struct class watchdog_class in stead of pointer

2015-12-18 Thread Pratyush Anand
On 17/12/2015:06:56:27 AM, Guenter Roeck wrote: > On 12/17/2015 04:23 AM, Pratyush Anand wrote: > >We need few sysfs attributes to know different status of a watchdog device. > >To do that, we need to associate .dev_groups with watchdog_class. So > >convert it from pointer to static. > >Putting

Re: [PATCH v4 1/3] dt-binding: power: Add otg regulator binding

2015-12-18 Thread Rob Herring
On Tue, Dec 15, 2015 at 11:52:10AM -0800, Tim Bird wrote: > Add a binding for the regulator which controls the OTG chargepath switch. > The OTG switch gets its power from pm8941_5vs1, and that should be > expressed as a usb_otg_in-supply property in the DT node for the > charger driver. The

Re: [PATCH v5] arm: pxa: support ICP DAS LP-8x4x FPGA irq

2015-12-18 Thread Rob Herring
On Tue, Dec 15, 2015 at 10:26:21PM +0300, Sergei Ianovich wrote: > ICP DAS LP-8x4x contains FPGA chip. The chip functions as an interrupt > source providing 16 additional interrupts among other things. The > interrupt lines are muxed to a GPIO pin of a 2nd level PXA-GPIO > interrupt controller.

Re: [PATCH] gpio: sx150x: Add support for sx1502

2015-12-18 Thread Rob Herring
On Tue, Dec 15, 2015 at 11:01:34PM +0100, Peter Rosin wrote: > From: Peter Rosin > > Signed-off-by: Peter Rosin > --- > .../devicetree/bindings/gpio/gpio-sx150x.txt | 3 +- For the binding: Acked-by: Rob Herring > drivers/gpio/gpio-sx150x.c | 53 >

Re: [PATCH v2 1/3] clk: bcm2835: Add bindings for the auxiliary peripheral clock gates.

2015-12-18 Thread Rob Herring
On Tue, Dec 15, 2015 at 03:35:57PM -0800, Eric Anholt wrote: > These will be used for enabling UART1, SPI1, and SPI2. > > Signed-off-by: Eric Anholt > --- > > v2: Make the binding cover both the IRQ and clock enable registers. > > .../bindings/clock/brcm,bcm2835-aux-clock.txt | 31 >

Re: [PATCH] devicetree: sound: add binding for WM8974 codec

2015-12-18 Thread Rob Herring
On Wed, Dec 16, 2015 at 01:55:13PM +, Mans Rullgard wrote: > This adds a binding for the Wolfson WM8974 mono audio codec. > > Signed-off-by: Mans Rullgard > --- > Sending this patch again, this time including Mark Brown. > --- > Documentation/devicetree/bindings/sound/wlf,wm8974.txt | 15

Re: [PATCH 1/2] devicetree: sound: add binding for WM8974 codec

2015-12-18 Thread Rob Herring
On Wed, Dec 16, 2015 at 01:31:30PM +, Måns Rullgård wrote: > Mark, > > This is the 1/1 you were missing. > > Am I the only one who is annoyed by scripts/get_maintainer.pl not > returning all the addresses it should in cases like this? Is there some > trick I'm missing?

[PATCH] ARM64: Fix compiling with GCC 6 and Atomics enabled

2015-12-18 Thread Andrew Pinski
The problem here is that GCC 6 and above emits .arch now for each function so now the global .arch_extension has no effect. This fixes the problem by putting .arch_extension inside ARM64_LSE_ATOMIC_INSN so it is enabled for each place where LSE is used. Signed-off-by: Andrew Pinski ---

Re: [RESEND PATCH v2 2/2] ASoC: atmel-classd: DT binding for PDMIC driver

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 05:50:00PM +0800, Songjun Wu wrote: > DT binding documentation for this new ASoC driver. > > Signed-off-by: Songjun Wu > --- > > Changes in v2: None > > .../devicetree/bindings/sound/atmel-pdmic.txt | 55 > > 1 file changed, 55

Re: [PATCH v2 3/8] dt-bindings: Add root properties for Raspberry Pi 2

2015-12-18 Thread Rob Herring
On Wed, Dec 16, 2015 at 03:55:10PM -0800, Eric Anholt wrote: > Signed-off-by: Eric Anholt > --- > Documentation/devicetree/bindings/arm/bcm/brcm,bcm2835.txt | 4 > 1 file changed, 4 insertions(+) Acked-by: Rob Herring -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 6/6] dt-bindings: add document for rk3036-vop

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 11:45:19AM +0800, Mark Yao wrote: > Cc: Rob Herring > Cc: Pawel Moll > Cc: Mark Rutland > Cc: Ian Campbell > Cc: Kumar Gala > Cc: devicet...@vger.kernel.org > > Signed-off-by: Mark Yao Acked-by: Rob Herring -- To unsubscribe from this list: send the line

Re: [PATCH v1 4/6] ARM: dts: rockchip: add the kylin board for rk3036

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 10:21:50PM +0800, Caesar Wang wrote: > This patchset is the initiation version to try work > for kylin board. > > Signed-off-by: Caesar Wang > --- > > Documentation/devicetree/bindings/arm/rockchip.txt | 4 + > arch/arm/boot/dts/Makefile | 1

Re: [PATCH v5 1/2] spi: dts: Add new device property to specifcy a wait time between word transmissions

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 12:40:26PM +0100, Marcus Weseloh wrote: > Adds a new property "spi-word-wait-ns" to the spi-bus binding that allows > SPI slave devices to set a wait time between the transmission of words. > > Signed-off-by: Marcus Weseloh > --- >

Re: [PATCH 5/8 v6] thermal: rcar: enable to use thermal-zone on DT

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 12:25:51AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > This patch enables to use thermal-zone on DT if it was calles as > "renesas,rcar-thermal-gen2". > Previous style (= non thermal-zone) is still supported by > "renesas,rcar-thermal" to keep

Re: [PATCH V10 2/7] dma: hidma: Add Device Tree support

2015-12-18 Thread Rob Herring
On Thu, Dec 17, 2015 at 12:01:17PM -0500, Sinan Kaya wrote: > Add documentation for the Qualcomm Technologies HIDMA driver. > > Signed-off-by: Sinan Kaya > --- > .../devicetree/bindings/dma/qcom_hidma_mgmt.txt| 79 > ++ > 1 file changed, 79 insertions(+) > create mode

Re: [PATCH v4] extcon: add Maxim MAX3355 driver

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 01:47:14AM +0300, Sergei Shtylyov wrote: > Maxim Integrated MAX3355E chip integrates a charge pump and comparators to > enable a system with an integrated USB OTG dual-role transceiver to > function as an USB OTG dual-role device. In addition to sensing/controlling > Vbus,

Re: [PATCH v7 1/5] dt-bindings: iommu: Add binding for mediatek IOMMU

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 04:09:39PM +0800, Yong Wu wrote: > This patch add mediatek iommu dts binding document. > > Signed-off-by: Yong Wu Acked-by: Rob Herring -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More

Re: [RESEND][PATCH v2] block: partition: Add partition specific uevent callbacks for partition info

2015-12-18 Thread John Stultz
On Thu, Dec 10, 2015 at 12:00 PM, John Stultz wrote: > From: San Mehat > > This patch has been carried in the Android tree for quite some > time and is one of the few patches required to get a mainline > kernel up and running with an exsiting Android userspace. So I > wanted to submit it for

Re: [PATCH v3 1/3] ARM: sunxi: Introduce Allwinner for A83T support

2015-12-18 Thread Rob Herring
On Fri, Dec 18, 2015 at 09:30:49PM +0800, Vishnu Patekar wrote: > Allwinner A83T is octa-core cortex-a7 based SoC. > It's clock control unit and prcm, pinmux are different from previous sun8i > series. > Its processor cores are arragned in two clusters 4 cores each, > similar to A80. > >

[GIT PULL] Power management fixes for v4.4-rc6

2015-12-18 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-4.4-rc6 to receive power management fixes for v4.4-rc6 with top-most commit f1b9fc591e437ec07626ba84e1d81be19cb00eb6 Merge branches 'powercap', 'pm-cpufreq' and 'pm-domains' on top of

Re: [BUG] perf test 21("Test object code reading") failure on ARM64

2015-12-18 Thread xiakaixu
>>>... > > Hi, > > What is your objdump version? Hi, Sorry for the late reply. # objdump --version GNU objdump (GNU Binutils) 2.25. I am sure that the system is Little endian. > >>> >>> So the following patch is needed. >>> diff --git a/tools/perf/tests/code-reading.c >>>

Re: [PATCH v4 55/58] mtd: nand: add helpers to access ->priv

2015-12-18 Thread Boris Brezillon
Hi Brian, On Fri, 18 Dec 2015 14:17:58 -0800 Brian Norris wrote: > Hi Boris, > > On Thu, Dec 10, 2015 at 09:00:39AM +0100, Boris Brezillon wrote: > > Add two helpers to access the field reserved for private controller data. > > This makes it clearer what this field is reserved for and ease

[linux-sunxi] [PATCH v7 2/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
This is the second part, actually adding FM, Line and Mic inputs. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 182 +++- 1 file changed, 178 insertions(+), 4 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c

[linux-sunxi] [PATCH v7 1/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
This is the first part: sun4i-codec: make it possible to use different codec_widgets for A10 and A20. Signed-off-by: Danny Milosavljevic --- b/sound/soc/sunxi/sun4i-codec.c | 45 ++-- 1 file changed, 34 insertions(+), 11 deletions(-) diff --git

[PATCH] ceph: Avoid to propagate the invalid page point

2015-12-18 Thread Minfei Huang
The variant pagep will still get the invalid page point, although ceph fails in function ceph_update_writeable_page. To fix this issue, Assigne the page to pagep until there is no failure in function ceph_update_writeable_page. Signed-off-by: Minfei Huang --- fs/ceph/addr.c | 1 - 1 file

[PATCH v7 0/2] sun4i-codec: Add FM, Line and Mic inputs

2015-12-18 Thread Danny Milosavljevic
Hi, this is the seventh version of the patch set that adds inputs to sun4i-codec. Changes compared to v6 are: - preparation for different A20, A10 controls is now in an extra patch. - all register definitions are now at the top - sun7i-specific things (A20-specific things) are now less

[PATCH v2] rhashtable: Kill harmless RCU warning in rhashtable_walk_init

2015-12-18 Thread Herbert Xu
On Fri, Dec 18, 2015 at 04:27:31PM -0500, David Miller wrote: > From: Herbert Xu > Date: Fri, 18 Dec 2015 21:14:08 +0800 > > > On Fri, Dec 18, 2015 at 04:54:14AM -0800, Eric Dumazet wrote: > >> > >> You can avoid the comment by using the self documented and lockdep > >> enabled primitive > >> >

Re: [PATCH] natsemi: add checks for dma mapping errors

2015-12-18 Thread David Miller
From: Alexey Khoroshilov Date: Sat, 19 Dec 2015 00:55:37 +0300 > @@ -2093,6 +2099,10 @@ static netdev_tx_t start_tx(struct sk_buff *skb, > struct net_device *dev) > np->tx_skbuff[entry] = skb; > np->tx_dma[entry] = pci_map_single(np->pci_dev, >

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-18 Thread Andy Shevchenko
On Sat, Dec 19, 2015 at 1:16 AM, Måns Rullgård wrote: > Julian Margetson writes: > >> On 12/18/2015 6:33 PM, Måns Rullgård wrote: >>> Julian Margetson writes: >>> On 12/18/2015 1:18 PM, Måns Rullgård wrote: > Julian Margetson writes: > >> On 12/18/2015 8:49 AM, Måns Rullgård

Re: ahash alg that does not implement import/export failed to register

2015-12-18 Thread Herbert Xu
On Fri, Dec 18, 2015 at 05:31:34PM -0800, Tim Chen wrote: > Herbert, > > There are some ahash algorithms like x86's sha1-mb and > ghash that failed to register because of the newly added > check of non-zero statesize from commit 8996eafd. But > since there are algorithms that do not implement an

RE: [PATCH V3 4/4] scsi: storvsc: Tighten up the interrupt path

2015-12-18 Thread KY Srinivasan
> -Original Message- > From: James Bottomley [mailto:james.bottom...@hansenpartnership.com] > Sent: Friday, December 18, 2015 8:48 AM > To: KY Srinivasan ; Hannes Reinecke ; > gre...@linuxfoundation.org; linux-kernel@vger.kernel.org; > de...@linuxdriverproject.org; oher...@suse.com; >

Re: Indent issus in kernel module development

2015-12-18 Thread Randy Dunlap
On 12/18/15 18:07, chunguang qu wrote: > `indent -linux` sometimes made my code totally a mess. > I know it most likely a bug of GNU INDENT. And this is not a bug report. > I only want to know other kernel developers how to deal with this problem. > Since GUN INDENT is recommend in kernel's

Re: [PATCH] mtd: sh_flctl: pass FIFO as physical address

2015-12-18 Thread Brian Norris
On Tue, Dec 08, 2015 at 04:38:12PM +0100, Arnd Bergmann wrote: > By convention, the FIFO address we pass using dmaengine_slave_config > is a physical address in the form that is understood by the DMA > engine, as a dma_addr_t, phys_addr_t or resource_size_t. > > The sh_flctl driver however passes

Re: [PATCH] mtd: denali: make MTD_NAND_DENALI_DT dependent on OF

2015-12-18 Thread Brian Norris
On Wed, Dec 16, 2015 at 02:00:09PM +0900, Masahiro Yamada wrote: > The build passes even if CONFIG_OF is undefined, but it makes sense > to let it depend on OF. > > Signed-off-by: Masahiro Yamada Applied to l2-mtd.git -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

Re: [PATCH 20/43] MAINTAINERS: add git URL for KVM/s390

2015-12-18 Thread Fengguang Wu
On Fri, Dec 18, 2015 at 01:42:09PM +0100, Cornelia Huck wrote: > On Fri, 18 Dec 2015 20:32:15 +0800 > Fengguang Wu wrote: > > > Thanks! The background is, the 0day patch test script relies on the > > information in MAINTAINERS to decide which tree it can apply the LKML > > patches to. So I need

Re: [PATCH 18/43] MAINTAINERS: add kdbus

2015-12-18 Thread Fengguang Wu
On Fri, Dec 18, 2015 at 07:33:36AM -0800, Greg KH wrote: > On Fri, Dec 18, 2015 at 03:51:41PM +0800, Fengguang Wu wrote: > > CC: Greg Kroah-Hartman > > Signed-off-by: Fengguang Wu > > --- > > MAINTAINERS | 10 ++ > > 1 file changed, 10 insertions(+) > > > > --- linux.orig/MAINTAINERS

[GIT PULL] SCSI fixes for 4.4-rc5

2015-12-18 Thread James Bottomley
Three fixes this time, two in SES picked up by KASAN for various types of buffer overrun. The first is a USB array which returns page 8 whatever is asked for and causes us to overrun with incorrect data format assumptions and the second is an invalid iteration of page 10 (the additional

Indent issus in kernel module development

2015-12-18 Thread chunguang qu
`indent -linux` sometimes made my code totally a mess. I know it most likely a bug of GNU INDENT. And this is not a bug report. I only want to know other kernel developers how to deal with this problem. Since GUN INDENT is recommend in kernel's CodingStyle, I think surely someone here encounter

Re: [PATCH] blackfin-cpufreq: Change return type of cpu_set_cclk() to that of clk_set_rate()

2015-12-18 Thread Viresh Kumar
On 18-12-15, 20:07, SF Markus Elfring wrote: > From: Markus Elfring > Date: Fri, 18 Dec 2015 19:43:27 +0100 > > The return type "unsigned long" was used by the cpu_set_cclk() function > while the type "int" is provided by the clk_set_rate() function. > Let us make this usage consistent. > >

Re: [PATCH v2 2/2] Input: uinput: Sanity check on ff_effects_max and EV_FF

2015-12-18 Thread Dmitry Torokhov
On Sun, Nov 08, 2015 at 06:37:34PM +0100, Elias Vanderstuyft wrote: > Currently the user can set ff_effects_max to zero with the EV_FF bit > (and the FF_GAIN and/or FF_AUTOCENTER bits) set, > in this case the uninitialized methods > ff->set_gain and/or ff->set_autocenter can be dereferenced, >

Re: [PATCH v3] Input: uinput - add new UINPUT_DEV_SETUP and UI_ABS_SETUP ioctl

2015-12-18 Thread Dmitry Torokhov
On Wed, Oct 28, 2015 at 11:10:06AM -0400, Benjamin Tissoires wrote: > Hi, > > On Oct 25 2015 or thereabouts, David Herrmann wrote: > > Hi > > > > On Sun, Oct 25, 2015 at 12:53 AM, Dmitry Torokhov > > wrote: > > > Hi Benjamin, > > > > > > On Tue, Aug 25, 2015 at 11:12:59AM -0400, Benjamin

Re: [PATCH 1/2] HID: Use multitouch driver for Type Covers

2015-12-18 Thread Akihiko Odaki
No, it doesn't work. On 12/19/2015 12:06 AM, Bastien Nocera wrote: > On Mon, 2015-12-14 at 21:50 +0900, Akihiko Odaki wrote: >> Use multitouch driver instead of microsoft one for Microsoft Surface >> Type Covers. >> >> By using MT_CLS_EXPORT_ALL_INPUTS, the keyboards function as well as >> the

ahash alg that does not implement import/export failed to register

2015-12-18 Thread Tim Chen
Herbert, There are some ahash algorithms like x86's sha1-mb and ghash that failed to register because of the newly added check of non-zero statesize from commit 8996eafd. But since there are algorithms that do not implement an import or export, there is no state required for them. Wonder if the

net, ipv6: out of bounds access in secret_stable

2015-12-18 Thread Sasha Levin
ot tainted 4.4.0-rc5-next-20151218-sasha-00021-gaba8d84-dirty #2750 [ 459.559809] 549d0aa3 8802ab0ef860 a1042384 [ 459.561036] 41b58ab3 ac667cdb a10422d9 8802ab0ef848 [ 459.562245] 9f6a417e 549d0aa3 88

[PATCH] mm, oom: initiallize all new zap_details fields before use

2015-12-18 Thread Sasha Levin
Commit "mm, oom: introduce oom reaper" forgot to initialize the two new fields of struct zap_details in unmap_mapping_range(). This caused using stack garbage on the call to unmap_mapping_range_tree(). Signed-off-by: Sasha Levin --- mm/memory.c |1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH 1/1 linux-next] mtd: cfi_cmdset_0002: use swap() in cfi_cmdset_0002()

2015-12-18 Thread Brian Norris
Garbage collecting old patches... On Wed, Jun 10, 2015 at 06:31:32PM +0200, Fabian Frederick wrote: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. > > Signed-off-by: Fabian Frederick Applied to l2-mtd.git -- To unsubscribe from this list: send

Re: [PATCH 1/1 linux-next] mtd/ftl: use swap() in copy_erase_unit()

2015-12-18 Thread Brian Norris
Garbage collecting old patches... On Wed, Jun 10, 2015 at 06:31:06PM +0200, Fabian Frederick wrote: > Use kernel.h macro definition. > > Thanks to Julia Lawall for Coccinelle scripting support. > > Signed-off-by: Fabian Frederick Applied to l2-mtd.git -- To unsubscribe from this list: send the

Re: [PATCH] futex: Allow FUTEX_CLOCK_REALTIME with FUTEX_WAIT op

2015-12-18 Thread Davidlohr Bueso
On Fri, 18 Dec 2015, Darren Hart wrote: While reviewing Michael Kerrisk's recent futex manpage update, I noticed that we allow the FUTEX_CLOCK_REALTIME flag for FUTEX_WAIT_BITSET but not for FUTEX_WAIT. FUTEX_WAIT is treated as a simple version for FUTEX_WAIT_BITSET internally (with a bitmask

Re: [PATCH 1/3] mtd: nand: pxa3xx_nand: add register access debug

2015-12-18 Thread Brian Norris
Garbage collecting some old patches before vacation... On Mon, Aug 24, 2015 at 10:46:18AM -0300, Ezequiel Garcia wrote: > I agree that the hack is useful for debugging purposes, it's just that I don't > see why we want it in mainline - where we usually avoid clutter. I'm not sure this is really

Re: [PATCH] Staging: comedi: pcmcia: fixed a line with over 80 chars

2015-12-18 Thread Greg KH
On Sun, Dec 13, 2015 at 05:40:34PM +0100, Philippe Loctaux wrote: > This patch fixes the checkpatch.pl warning: > > WARNING: line over 80 characters > > Signed-off-by: Philippe Loctaux > --- > drivers/staging/comedi/comedi_pcmcia.h | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-)

Re: [PATCH] staging: wilc1000: fix double mutex_unlock on failure path in wilc_wlan_cleanup()

2015-12-18 Thread Greg Kroah-Hartman
On Sat, Dec 05, 2015 at 01:04:34AM +0300, Alexey Khoroshilov wrote: > If hif_read_reg() or hif_write_reg() fail in wilc_wlan_cleanup(), > it calls release_bus() and continues execution. But it leads to double > release_bus() call that means double unlock of g_linux_wlan->hif_cs mutex. > > The

Re: [PATCH 08/10] bpf samples: Add utils.[ch] for using BPF

2015-12-18 Thread Alexei Starovoitov
On Fri, Dec 18, 2015 at 03:04:00PM +0800, Wangnan (F) wrote: > > >>However, linux/err.h is not a part of uapi. To make libbpf work, one has to > >>create its > >>own err.h. > >Why tools/include/linux/err.h is not suitable for everyone? > > > >>Now I'm thinking provide LIBBPF_{IS_ERR,PTR_ERR}(),

mm, vmstat: kernel BUG at mm/vmstat.c:1408!

2015-12-18 Thread Sasha Levin
Hi all, I've started seeing the following in the latest -next kernel. [ 531.127489] kernel BUG at mm/vmstat.c:1408! [ 531.128157] invalid opcode: [#1] PREEMPT SMP KASAN [ 531.128872] Modules linked in: [ 531.129324] CPU: 6 PID: 407 Comm: kworker/6:1 Not tainted 4.4.0-rc5-next-20151218

Re: [PATCHv3] RTC: RK808: Compensate for Rockchip calendar deviation on November 31st

2015-12-18 Thread Julius Werner
> There's actually a real world case that's pretty common where we want > to work with dates before 2016. When I power cycle my device and it > totally loses battery, I notice that the firmware seems to start as: > > 2013-01-21 00:50:02 > > It's possible we could need to run for a while in this

Re: [PATCHv3] RTC: RK808: Compensate for Rockchip calendar deviation on November 31st

2015-12-18 Thread Doug Anderson
Julius, On Tue, Dec 15, 2015 at 3:02 PM, Julius Werner wrote: > In A.D. 1582 Pope Gregory XIII found that the existing Julian calendar > insufficiently represented reality, and changed the rules about > calculating leap years to account for this. Similarly, in A.D. 2013 > Rockchip hardware

Re: [PATCHv3] RTC: RK808: Compensate for Rockchip calendar deviation on November 31st

2015-12-18 Thread Doug Anderson
Julius, On Tue, Dec 15, 2015 at 3:14 PM, Julius Werner wrote: > Okay, wrote up and tested the anchor date version. I think once you > get over the initial weirdness of the approach this one is really much > cleaner and safer. > > I tested this with the older rtc_tm_to_time() API and only ported

Re: [PATCH] CHROMIUM: Input: elants_i2c: fixed wake-on-touch issue

2015-12-18 Thread Dmitry Torokhov
Hi James, On Fri, Dec 18, 2015 at 10:48:48AM +0800, james.chen wrote: > From: "james.chen" > > Something wrong in suspend/resume of kernel v3.14 for the function of > wake-on-touch. The function of device_may_wakeup will return true if > the device supports wake-on-touch (for example, kitty and

[PATCH] x86/signal: Cleanup get_nr_restart_syscall

2015-12-18 Thread Dmitry V. Levin
Check for TS_COMPAT instead of TIF_IA32 to distinguish ia32 tasks from 64-bit tasks. Check for __X32_SYSCALL_BIT only if CONFIG_X86_X32_ABI is defined. Signed-off-by: Dmitry V. Levin Cc: Elvira Khabirova Cc: Andy Lutomirski --- arch/x86/kernel/signal.c | 13 - 1 file changed, 8

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Linus Torvalds
On Fri, Dec 18, 2015 at 3:16 PM, Andy Lutomirski wrote: > > Yes, I think. If I'm using protection keys to protect some critical > data structure (important stuff in shared memory, important memory > mapped files, pmem, etc), then I'll allocate a protection key and set > PKRU to deny writes. The

[PATCH v5] extcon: add Maxim MAX3355 driver

2015-12-18 Thread Sergei Shtylyov
Maxim Integrated MAX3355E chip integrates a charge pump and comparators to enable a system with an integrated USB OTG dual-role transceiver to function as an USB OTG dual-role device. In addition to sensing/controlling Vbus, the chip also passes thru the ID signal from the USB OTG connector. On

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Andy Lutomirski
On Fri, Dec 18, 2015 at 3:08 PM, Linus Torvalds wrote: > On Fri, Dec 18, 2015 at 2:28 PM, Andy Lutomirski wrote: >> >> Apps that don't want to use the baseline_pkru mechanism could use >> syscalls to claim ownership of protection keys but then manage them >> purely with WRPKRU directly. We

Re: [PATCH 1/3] ata: sata_dwc_460ex: use "dmas" DT property to find dma channel

2015-12-18 Thread Måns Rullgård
Julian Margetson writes: > On 12/18/2015 6:33 PM, Måns Rullgård wrote: >> Julian Margetson writes: >> >>> On 12/18/2015 1:18 PM, Måns Rullgård wrote: Julian Margetson writes: > On 12/18/2015 8:49 AM, Måns Rullgård wrote: >> Andy Shevchenko writes: >> > [

Re: Rethinking sigcontext's xfeatures slightly for PKRU's benefit?

2015-12-18 Thread Linus Torvalds
On Fri, Dec 18, 2015 at 2:28 PM, Andy Lutomirski wrote: > > Apps that don't want to use the baseline_pkru mechanism could use > syscalls to claim ownership of protection keys but then manage them > purely with WRPKRU directly. We could optionally disallow > mprotect_key on keys that weren't

Re: [PATCH] futex: Prevent pi_state from double freeing in case of error

2015-12-18 Thread Darren Hart
On Fri, Dec 18, 2015 at 02:13:43PM +0530, bhuvanesh_surach...@mentor.com wrote: > From: Bhuvanesh Surachari > > In case of error from rt_mutex_start_proxy_lock pi_state is freed > twice in futex_requeue function. Hence removing free_pi_state in > else branch and branching to the location where

Re: [PATCH] Revert "kernel/stop_machine.c: remove CONFIG_SMP dependencies"

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 15:35:55 +0530 Sudip Mukherjee wrote: > This reverts commit 64dab25b058c12f935794cb239089303bda7dbc1. > > CONFIG_SMP dependency is needed for some arch like tile, tilegx and > m32r. They use stop_machine() but they donot have HOTPLUG_CPU and as a > result their builds are

Re: [RESEND PATCH] mtd: mtk-nor: adjust sequence of trigger function and assignment function

2015-12-18 Thread Brian Norris
On Fri, Dec 18, 2015 at 11:02:40AM +0800, Bayi Cheng wrote: > Move write data register before excute command to avoid > missing first byte write to nor flash > > Signed-off-by: Bayi Cheng > --- > the previous patch didn't drop the Change-Id Applied to l2-mtd.git -- To unsubscribe from this

Re: [PATCH v3 4/4] printk/nmi: Increase the size of NMI buffer and make it configurable

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 13:11:41 +0100 Peter Zijlstra wrote: > On Fri, Dec 18, 2015 at 12:29:02PM +0100, Peter Zijlstra wrote: > > On Fri, Dec 18, 2015 at 10:18:08AM +, Daniel Thompson wrote: > > > I'm not entirely sure that this is an improvement. > > > > What I do these days is delete

Re: [PATCH] mtd: nand: support JEDEC additional redundant parameter pages

2015-12-18 Thread Brian Norris
On Fri, Dec 11, 2015 at 09:16:20AM +0100, Antoine Tenart wrote: > On Thu, Dec 10, 2015 at 12:20:52PM -0800, Brian Norris wrote: > > On Fri, Dec 04, 2015 at 11:35:28PM +0100, Antoine Tenart wrote: > > > The JEDEC standard defines the JEDEC parameter page data structure. > > > One page plus two

Re: [PATCH] ideapad: Report hard block off if it is never on

2015-12-18 Thread Darren Hart
On Wed, Dec 16, 2015 at 11:49:33AM +0800, Ike Panhc wrote: Hi Ike, +David Woodhouse (MODULE_AUTHOR) > Hardware radio switch is rare on recently ideapad and some of them > reported radio hardware blocked by error. With more and more ideapads > available in market to maintain the dmi table

Re: [PATCH v2] mtd: spi-nor: fsl-quadspi: add big-endian support

2015-12-18 Thread Brian Norris
On Fri, Dec 18, 2015 at 09:12:13AM +, Yao Yuan wrote: > Hi Woodhouse, Norris, > > Do you have any comments for this patch? No, it looks fine. But the driver maintainer (Han) already asked you for DT binding documentation already. This is a requirement before I can merge your patch. See

Re: [PATCH] memory-hotplug: don't BUG() in register_memory_resource()

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 15:50:24 +0100 Vitaly Kuznetsov wrote: > Out of memory condition is not a bug and while we can't add new memory in > such case crashing the system seems wrong. Propagating the return value > from register_memory_resource() requires interface change. > > ---

Re: Problems with x86/x86_64 qemu tests in linux-next due to 'Enhance __assign_irq_vector() to rollback ...'

2015-12-18 Thread Andy Shevchenko
On Fri, Dec 18, 2015 at 11:14 AM, Jiang Liu wrote: > On 2015/12/18 7:59, Guenter Roeck wrote: Ah, again spend few hours to get the same. I found this on today's linux-next on some HP PC. Does the fix available anywhere on public? -- With Best Regards, Andy Shevchenko -- To unsubscribe from

Re: [PATCH v2] mm: memcontrol: fix possible memcg leak due to interrupted reclaim

2015-12-18 Thread Andrew Morton
On Fri, 18 Dec 2015 19:24:05 +0300 Vladimir Davydov wrote: > > OK, got it, thanks. Here goes the incremental patch (it should also fix > the warning regarding unused cmpxchg returned value): > --- > diff --git a/mm/memcontrol.c b/mm/memcontrol.c > index fc25dc211eaf..908c075e04eb 100644 > ---

Re: [PATCH] mtd: onenand: omap2: Simplify the DMA setup for various paths

2015-12-18 Thread Brian Norris
On Fri, Dec 18, 2015 at 09:48:09PM +0200, Peter Ujfalusi wrote: > On 12/18/2015 08:11 PM, Brian Norris wrote: > > Peter, are you actually using this, or are you just refactoring for the > > fun of it? > > Not really for fun, but I want to get rid of all legacy/direct sDMA use so at > the end we

  1   2   3   4   5   6   7   8   9   10   >