RE: [f2fs-dev] [PATCH 3/4] f2fs: record node block allocation in dnode_of_data

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 23, 2015 9:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 3/4] f2fs

Re: [PATCH 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread Henri Roosen
On 12/22/2015 11:14 PM, David Miller wrote: From: Andrew Lunn Date: Tue, 22 Dec 2015 12:06:34 +0100 On Tue, Dec 22, 2015 at 11:58:40AM +0100, Henri Roosen wrote: Commit 651df2183543 ("phy: micrel: Fix finding PHY properties in MAC node.") only fixes finding PHY properties in MAC node for KS

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-23 Thread Oliver Neukum
On Wed, 2015-12-23 at 03:31 +, Hayes Wang wrote: > Oliver Neukum [mailto:oneu...@suse.com] > [...] > > It is clear to me that you cannot get away with using the same operation > > for resume() and reset_resume() in your driver. It is fundamentally > > impossible. Firmware cannot fix it. > > I

Re: [PATCH v1 1/6] dt-bindings: misc: add document for reboot-mode driver

2015-12-23 Thread Moritz Fischer
Rob, On Tue, Dec 22, 2015 at 4:32 PM, Rob Herring wrote: > I would like to see the property names here standardized as much as > possible. I'm not sure if we can define the properties as a u32 or need > some flexibility here. Quick question, semi on topic. I have a similar case (and a driver in

[PATCH] arm64: Store breakpoint single step state into pstate

2015-12-23 Thread Wang Nan
Two 'perf test' fail on arm64: # perf test overflow 17: Test breakpoint overflow signal handler : FAILED! 18: Test breakpoint overflow sampling: FAILED! When breakpoint raises, after perf_bp_event, breakpoint_handler() temporary disables breakpoint and

[PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2015-12-23 Thread Xiangliang Yu
AMD NTB support following main features: (1) Three memory windows; (2) Sixteen 32-bit scratch pad; (3) Two 16-bit doorbell interrupt; (4) Five event interrupts; (5) One system can wake up opposite system of NTB; (6) Flush previous request to the opposite system; (7) There are reset and PME_TO mecha

[PATCH V2 2/3] NTB: Add AMD NTB support in Kconfig and Makefile

2015-12-23 Thread Xiangliang Yu
This patch is to enable AMD NTB support in Kconfig and Makefile. Signed-off-by: Xiangliang Yu --- drivers/ntb/hw/Kconfig | 1 + drivers/ntb/hw/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/ntb/hw/Kconfig b/drivers/ntb/hw/Kconfig index 4d5535c..0c5c2a6 100644 --- a/drive

[PATCH V2 3/3] NTB: Add flush_req and wakeup interface

2015-12-23 Thread Xiangliang Yu
AMD NTB support two features: flush pending requests and wakeup opposite side from low power state. This patch add two interface to support these features. Signed-off-by: Xiangliang Yu --- drivers/ntb/hw/amd/ntb_hw_amd.c | 40 ++-- drivers/ntb/hw/amd/ntb_hw_am

Re: [PATCH v2] i2c: designware: Do not require clock when SSCN and FFCN are provided

2015-12-23 Thread Mika Westerberg
On Tue, Dec 22, 2015 at 02:51:13PM -0600, Suravee Suthikulanit wrote: > So, at this point, I can re-submit the V3 and combine these changes, and we > both can sign-off. How does that sound? Sounds good to me :) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCHSET 00/10] perf tools: Support dynamic sort keys for tracepoints (v4)

2015-12-23 Thread Jiri Olsa
On Wed, Dec 23, 2015 at 02:06:57AM +0900, Namhyung Kim wrote: > Hello, > > This is an attempt to improve perf to deal with tracepoint events > better. The perf tools can handle tracepoint events but perf report > on them is less useful since they're always sampled in a fixed > location and not pr

Re: [PATCH 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread Henri Roosen
On 12/22/2015 11:14 PM, David Miller wrote: From: Andrew Lunn Date: Tue, 22 Dec 2015 12:06:34 +0100 On Tue, Dec 22, 2015 at 11:58:40AM +0100, Henri Roosen wrote: Commit 651df2183543 ("phy: micrel: Fix finding PHY properties in MAC node.") only fixes finding PHY properties in MAC node for

[RESEND PATCH] arm64: Store breakpoint single step state into pstate

2015-12-23 Thread Wang Nan
Two 'perf test' fail on arm64: # perf test overflow 17: Test breakpoint overflow signal handler : FAILED! 18: Test breakpoint overflow sampling: FAILED! When breakpoint raises, after perf_bp_event, breakpoint_handler() temporary disables breakpoint and

Re: [PATCH 03/13] tools lib traceevent: Factor out and export print_event_field[s]

2015-12-23 Thread Wangnan (F)
On 2015/12/23 1:07, Namhyung Kim wrote: The print_event_field() and print_event_field() are to print basic Should be The print_event_field() and print_event_fields() are to print basic ... lost an 's'. information of a given field or event without the print format. They'll be used by dyn

Re: [PATCH v3 1/2] crypto: KEYS: convert public key to the akcipher api

2015-12-23 Thread kbuild test robot
Hi Tadeusz, [auto build test ERROR on cryptodev/master] [also build test ERROR on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Tadeusz-Struk/crypto-KEYS-convert-public-key-to-akcipher-api/20151223-132001 base: https://git.kernel.org/pub/scm/linux/kernel/git

[PATCH] soc: mediatek: PMIC wrap: convert to arch_initcall

2015-12-23 Thread Henry Chen
Move pmic wrap initialization earlier in boot so that real devices can use pmic without probe deferring. Signed-off-by: Henry Chen --- drivers/soc/mediatek/mtk-pmic-wrap.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c b/drivers/soc

[PATCH V2 0/3] Change notes of V2

2015-12-23 Thread Xiangliang Yu
Main changes in V2: 1. Fixed compiler warning; 2. Add marcro argument of ndev in NTB_READ_REG/NTB_WRITE_REG; 3. Add notes for flush and wakeup interfaces; Xiangliang Yu (3): NTB: Add AMD PCI-Express NTB driver NTB: Add AMD NTB support in Kconfig and Makefile NTB: Add flush_req and wakeup int

Re: linux-next: kernel panic in ipv6_defrag

2015-12-23 Thread Florian Westphal
Junxiao Bi wrote: > The following panic happened when I run ocfs2-test on linux-next. Kernel > config is attached. > > [64910.905501] BUG: unable to handle kernel NULL pointer dereference at > (null) > [64910.906466] IP: [] nf_ct_frag6_gather+0x7ad/0x9c0 [..] > ocfs2_stack_o2cb(O) ocfs2

Re: [PATCH v1 1/6] dt-bindings: misc: add document for reboot-mode driver

2015-12-23 Thread Andy Yan
Hi Rob: On 2015年12月23日 08:32, Rob Herring wrote: On Tue, Dec 22, 2015 at 05:05:24PM +0800, Andy Yan wrote: add device tree bindings document for reboot-mode driver Signed-off-by: Andy Yan --- Changes in v1: None .../devicetree/bindings/misc/reboot-mode.txt | 41

[PATCH 1/2] clk: rockchip: rk3036: rename emac ext source clock

2015-12-23 Thread Xing Zheng
There is only support rmii in the RK3036, so we should use the correct ext clock name. Signed-off-by: Xing Zheng --- drivers/clk/rockchip/clk-rk3036.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/rockchip/clk-rk3036.c b/drivers/clk/rockchip/clk-rk3036.c in

[PATCH 2/2] clk: rockchip: rk3036: fix and add node id for emac clock

2015-12-23 Thread Xing Zheng
Due to referred old version TRM, there is incorrect emac clock node, we should fix it. The SEL_21_9 is the parent of SEL_21_4. In the emac driver, we need to refer HCLK_MAC, and because There are only 3PLLs (APLL/GPLL/DPLL) on the rk3036, most clock are under the GPLL, and it is unable to provide

Re: [PATCH 1/2] usb: gadget: f_midi: refactor state machine

2015-12-23 Thread Felipe Ferreri Tonello
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Balbi, On 22/12/15 17:49, Felipe Balbi wrote: > > Hi, > > "Felipe F. Tonello" writes: >> This refactor includes the following: * Cleaner state machine >> code; * Reset state if MIDI message parsed is non-conformant; * >> Fixed bug when a confo

RE: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-23 Thread Hayes Wang
Oliver Neukum [mailto:oneu...@suse.de] > Sent: Wednesday, December 23, 2015 4:20 PM [...] > No, step (2) does not exist. Calls to suspend() and [reset_]resume() > always balance. Usually a driver shouldn't care about system suspend. > The way the driver is currently coded will also fail for Port-Po

[PATCH 3/4] net: ethernet: arc: Add support emac for RK3036

2015-12-23 Thread Xing Zheng
The RK3036's GRFs offset are different with RK3066/RK3188, and need to set mac TX/RX clock before probe emac. Signed-off-by: Xing Zheng --- drivers/net/ethernet/arc/Kconfig |4 ++-- drivers/net/ethernet/arc/emac_rockchip.c |9 +++-- 2 files changed, 9 insertions(+), 4 deleti

[PATCH 2/4] net: ethernet: arc: Keep emac compatibility for more Rockchip SoCs

2015-12-23 Thread Xing Zheng
On the RK3066/RK3188, there was fixed GRF offset configuration to set emac and fixed DIV2 mac TX/RX clock. So, we need to easily set and fit to other SoCs (RK3036) which maybe have different GRF offset, and need adjust mac TX/RX clock. Signed-off-by: Xing Zheng --- drivers/net/ethernet/arc/emac

[PATCH 4/4] ARM: dts: rockchip: Add support emac for RK3036

2015-12-23 Thread Xing Zheng
This patch describe the emac, and we need to let mac clock under the APLL which is able to provide the accurate 50MHz what mac_ref need. Signed-off-by: Xing Zheng --- arch/arm/boot/dts/rk3036-evb.dts | 25 + arch/arm/boot/dts/rk3036-kylin.dts | 23 +

[PATCH 1/4] net: ethernet: arc: Probe emac after set RMII clock

2015-12-23 Thread Xing Zheng
After enter arc_emac_probe, emac will get_phy_id, phy_poll_reset and other connecting PHY via mdiobus_read, so we need to set correct ref clock rate for emac before probe emac. Signed-off-by: Xing Zheng --- drivers/net/ethernet/arc/emac_rockchip.c | 11 +++ 1 file changed, 7 insertion

Re: [PATCH v4 2/2] zram: try vmalloc() after kmalloc()

2015-12-23 Thread Sergey Senozhatsky
On (12/22/15 07:23), Greg KH wrote: > On Tue, Dec 22, 2015 at 03:59:36PM +0900, Sergey Senozhatsky wrote: > > Hello, > > > > Cc stable > > > > Do I need to resend the patch or providing the message-id is enough? > > > > > > lkml.kernel.org/r/1448973390-21170-3-git-send-email-sergey.senozhat...

[PATCH] mfd: mt6397: convert to arch_initcall

2015-12-23 Thread Henry Chen
Since pinctrl or regulator of mt6396 need to initialize earlier to avoid probe deferring, also change the core driver to arch_init. Signed-off-by: Henry Chen --- drivers/mfd/mt6397-core.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/mfd/mt6397-core.c b/drivers

Re: [PATCH V2 1/3] NTB: Add AMD PCI-Express NTB driver

2015-12-23 Thread Christoph Hellwig
Just curious, what do you actually use NTB for? Seems like we're adding a giant subsystem without actual consumers, or did I miss something? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http

Re: [PATCH v1 0/6] misc: add reboot mode driver

2015-12-23 Thread Andy Yan
Hi Alexandre: On 2015年12月23日 00:47, Alexandre Belloni wrote: Hi, On 22/12/2015 at 17:02:29 +0800, Andy Yan wrote : This driver parse the reboot commands like "reboot loader" and "reboot recovery" to get a boot mode described in the device tree , then call the vendor specific write interfae to

Re: [PATCH v1 09/10] ARM: dts: introduce MPS2 AN385/AN386

2015-12-23 Thread Vladimir Murzin
I'd very appreciate some feedback on this (and following) patch from DT camp, so I could incorporate them in the next attempt after merge window closed. Merry Christmas! Vladimir On 02/12/15 09:33, Vladimir Murzin wrote: > Application Notes 385 and 386 shares the same memory map and features > ex

Re: [PATCH] [PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dighe, Niranjan (N.)
On Wed, Dec 23, 2015 at 02:33:29PM +0530, Niranjan Dighe wrote: > From: Niranjan Dighe > > Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed thereby > making functions like - kportal_memhog_alloc(), kportal_memhog_free() and > type - > struct libcfs_device_userstate unused.

[PATCH] [PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed thereby making functions like - kportal_memhog_alloc(), kportal_memhog_free() and type - struct libcfs_device_userstate unused. Signed-off-by: Niranjan Dighe --- .../lustre/include/linux/libcfs/libcfs_p

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Jean-Francois Moine
On Tue, 22 Dec 2015 17:38:00 + Liviu Dudau wrote: > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > Hello, > > > > This is v2 of the patchset trying to make drm_of_component_probe() cope > > with finding > > both local crtc ports and remote encoder ones. Heiko Stübner was n

Re: [PATCH V2 22/23] pci, acpi: Match PCI config space accessors against platfrom specific quirks.

2015-12-23 Thread Hanjun Guo
On 12/22/2015 10:48 PM, Gabriele Paoloni wrote: Hi Tomasz -Original Message- From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- ow...@vger.kernel.org] On Behalf Of Tomasz Nowicki Sent: 22 December 2015 10:20 To: Gabriele Paoloni; bhelg...@google.com; a...@arndb.de; will.dea.

[PATCH] block-LDM: One function call less in ldm_validate_tocblocks() after error detection

2015-12-23 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 22 Dec 2015 22:32:07 +0100 This issue was detected by using the Coccinelle software. Let us return directly if a memory allocation failed. Signed-off-by: Markus Elfring --- block/partitions/ldm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

RE: [PATCH 3/6] ASoC: da7219: Update REFERENCES reg default, in-line with HW

2015-12-23 Thread Opensource [Adam Thomson]
On December 23, 2015 00:10, Mark Brown wrote: > On Tue, Dec 22, 2015 at 06:27:53PM +, Adam Thomson wrote: > > In current AB silicon, BIAS_EN field is enabled by default in the > > REFERENCES register, so the regmap default value should reflect > > this. > > This is the sort of thing where a r

RE: [f2fs-dev] [PATCH 4/4] f2fs: call f2fs_balance_fs only when node was changed

2015-12-23 Thread Chao Yu
Hi Jaegeuk, > -Original Message- > From: Jaegeuk Kim [mailto:jaeg...@kernel.org] > Sent: Wednesday, December 23, 2015 9:00 AM > To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Cc: Jaegeuk Kim > Subject: [f2fs-dev] [PATCH 4/4] f2fs

[PATCH 1/2] f2fs: report error of do_checkpoint

2015-12-23 Thread Chao Yu
do_checkpoint and write_checkpoint can fail due to reasons like triggering in a readonly fs or encountering IO error of storage device. So it's better to report such error info to user, let user be aware of failure of doing checkpoint. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 29 ++

[PATCH 2/2] f2fs: don't convert inline inode when inline_data option is disable

2015-12-23 Thread Chao Yu
If inline_data option is disable, when truncating an inline inode with size which is not exceed maxinum inline size, we should not convert inline inode to regular one to avoid the overhead of synchronizing conversion. Signed-off-by: Chao Yu --- fs/f2fs/inline.c | 3 --- fs/f2fs/namei.c | 2 +-

RE: [f2fs-dev] [PATCH 2/2] f2fs: speed up shrinking extent tree entries

2015-12-23 Thread Chao Yu
> -Original Message- > From: He YunLei [mailto:heyun...@huawei.com] > Sent: Tuesday, December 22, 2015 8:35 PM > To: Chao Yu > Cc: 'Jaegeuk Kim'; linux-fsde...@vger.kernel.org; > linux-kernel@vger.kernel.org; > linux-f2fs-de...@lists.sourceforge.net > Subject: Re: [f2fs-dev] [PATCH 2/2] f2

[PATCH] staging: lustre: Remove unused memhog functionality

2015-12-23 Thread Dighe, Niranjan (N.)
From: Niranjan Dighe Remove IOC_LIBCFS_MEMHOG ioctl functionality as it is no longer needed thereby making functions like - kportal_memhog_alloc(), kportal_memhog_free() and type - struct libcfs_device_userstate unused. Signed-off-by: Niranjan Dighe --- .../lustre/include/linux/libcfs/libcfs_p

[PATCH 2/2] ixgbe: Use core to device locality interface

2015-12-23 Thread Daniel J Blueman
Rather than assuming cores starting from 0 are local to the ethernet device, use the introduced interface to find near cores. Not only does this improve performance due to spreading interrupts via near NUMA nodes, it prevents assigning cores on distant NUMA nodes, which aren't reachable by device

Re: [PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Daniel Stone
Hi, On 22 December 2015 at 17:41, Liviu Dudau wrote: > The HDLCD controller is a display controller that supports resolutions > up to 4096x4096 pixels. It is present on various development boards > produced by ARM Ltd and emulated by the latest Fast Models from the > company. I didn't get to tak

Re: [PATCH v2 0/2] Improve drm_of_component_probe() and move rockchip to use it

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:39:06AM +0100, Jean-Francois Moine wrote: > On Tue, 22 Dec 2015 17:38:00 + > Liviu Dudau wrote: > > > On Fri, Nov 20, 2015 at 02:22:03PM +, Liviu Dudau wrote: > > > Hello, > > > > > > This is v2 of the patchset trying to make drm_of_component_probe() cope > >

Re: [PATCH v7 2/4] drm: Add support for ARM's HDLCD controller.

2015-12-23 Thread Liviu Dudau
On Wed, Dec 23, 2015 at 10:03:00AM +, Daniel Stone wrote: > Hi, > > On 22 December 2015 at 17:41, Liviu Dudau wrote: > > The HDLCD controller is a display controller that supports resolutions > > up to 4096x4096 pixels. It is present on various development boards > > produced by ARM Ltd and e

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Jan Beulich
>>> Borislav Petkov 12/22/15 7:14 PM >>> >On Tue, Dec 22, 2015 at 10:20:36AM -0700, Jan Beulich wrote: >> As said - 4.3.4 (I only now realize that this could also have been a >> kernel version). > >Just fetched stable from >git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable > >$ git

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Borislav Petkov
On Wed, Dec 23, 2015 at 03:06:08AM -0700, Jan Beulich wrote: > Sigh - this was in reply to your gcc version question. Right after having sent > the most recent reply I realized that there's no Linux 4.3.4 yet, so there > really > was no ambiguity from the beginning. Therefore I have a hard time >

Re: [PATCH] x86/ucode: replace redundant string literals

2015-12-23 Thread Jan Beulich
>>> Borislav Petkov 12/23/15 11:10 AM >>> >On Wed, Dec 23, 2015 at 03:06:08AM -0700, Jan Beulich wrote: >> Sigh - this was in reply to your gcc version question. Right after having >> sent >> the most recent reply I realized that there's no Linux 4.3.4 yet, so there >> really >> was no ambiguity

[PATCH] regulator: mt6397: convert to arch_initcall

2015-12-23 Thread Henry Chen
Due to some device may need reulator operation in earlier boot time like gpu module which power domain need regulator power on first. Move regulator of mt6397 initialization earlier in boot so that real devices can use regulator without probe deferring. Signed-off-by: Henry Chen --- drivers/reg

[PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread Daniel J Blueman
Some devices (eg ixgbe) make assumptions about device to core locality when specifying interrupts locality hints and allocate starting from core 0. Moreover, interrupts may not be routable to distant NUMA nodes due to the 8-bit APIC ID space limitations. Provide a mechanism drivers can use to find

Re: [PATCH 00/24] crypto: atmel-aes: global rework of the driver

2015-12-23 Thread Herbert Xu
On Thu, Dec 17, 2015 at 05:48:31PM +0100, Cyrille Pitchen wrote: > Hi all, > > this series of patches is a global rework of the Atmel driver. Some > patches improve the performances whereas others fix some bugs like > the counter overflow in CTR mode. > > It also updates some part of the code to

Re: [PATCH] crypto: 842 - remove WARN inside printk

2015-12-23 Thread Herbert Xu
On Mon, Dec 21, 2015 at 12:52:10PM -0500, Dan Streetman wrote: > Remove the WARN() from the beN_to_cpu macro, which is used as a param to a > pr_debug() call. With a certain kernel config, this printk-in-printk > results in the no_printk() macro trying to recursively call the > no_printk() macro,

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Alexandre Belloni
On 21/12/2015 at 10:24:08 +0100, Ludovic Desroches wrote : > +++ b/Documentation/devicetree/bindings/iio/adc/at91_adc8xx.txt > @@ -0,0 +1,27 @@ > +* AT91 SAMA5D2 Analog to Digital Converter (ADC) > + > +Required properties: > + - compatible: Should be "atmel,sama5d2-adc". > + - reg: Should contai

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Ludovic Desroches
On Tue, Dec 22, 2015 at 06:34:00PM +, Jonathan Cameron wrote: > On 21/12/15 09:24, Ludovic Desroches wrote: > > This driver supports the new version of the Atmel ADC device introduced > > with the SAMA5D2 SoC family. > > > > Signed-off-by: Ludovic Desroches > A few more bits and bobs from me.

[RFC LINUX PATCH] dt: xilinx: xadc: provision to control clock frequency

2015-12-23 Thread Ranjit Waghmode
This patch adds parameter to the xilinx-xadc node for controlling clock frequency. Following are the possible options for user to control the frequency: * 00 : 1/2 of clock frequency * 01 : 1/4 of clock frequency * 10 : 1/8 of clock frequency * 11 : 1/16 of clock fr

Re: [RFD] CAT user space interface revisited

2015-12-23 Thread Marcelo Tosatti
On Tue, Dec 22, 2015 at 06:12:05PM +, Yu, Fenghua wrote: > > From: Thomas Gleixner [mailto:t...@linutronix.de] > > Sent: Wednesday, November 18, 2015 10:25 AM > > Folks! > > > > After rereading the mail flood on CAT and staring into the SDM for a while, > > I > > think we all should sit back

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Ludovic Desroches
On Tue, Dec 22, 2015 at 06:51:18PM -0600, Rob Herring wrote: > On Mon, Dec 21, 2015 at 10:24:08AM +0100, Ludovic Desroches wrote: > > This driver supports the new version of the Atmel ADC device introduced > > with the SAMA5D2 SoC family. > > > > Signed-off-by: Ludovic Desroches > > --- > > .../

Re: [PATCH] x86/vdso: Fix build when CONFIG_KVM_GUEST is not set

2015-12-23 Thread Borislav Petkov
On Tue, Dec 22, 2015 at 07:50:51PM +0100, Borislav Petkov wrote: > From: Borislav Petkov > > Doing randbuilds fails like this here at link time: > > arch/x86/built-in.o: In function `arch_setup_additional_pages': > /home/boris/kernel/linux/arch/x86/entry/vdso/vma.c:174: undefined reference

[GIT PULL] UBI fixes for 4.4-rc

2015-12-23 Thread Richard Weinberger
Linus, the following changes since commit 9f9499ae8e6415cefc4fe0a96ad0e27864353c89: Linux 4.4-rc5 (2015-12-13 17:42:58 -0800) are available in the git repository at: git://git.infradead.org/linux-ubifs.git tags/upstream-4.4-rc7 for you to fetch changes up to 6b238de189f69dc77d660d4cce62eed

fs: WARNING in locks_free_lock_context()

2015-12-23 Thread Dmitry Vyukov
Hello, The following program triggers WARN_ON_ONCE(!list_empty(&ctx->flc_posix)) warning in locks_free_lock_context (run it in a loop): // autogenerated by syzkaller (http://github.com/google/syzkaller) #include #include #include #include #include #ifndef SYS_memfd_create #define SYS_memfd_

[PATCH] ARM: multi_v7_defconfig: Enable fan, sensors and audio for Odroid XU3

2015-12-23 Thread Krzysztof Kozlowski
From: Krzysztof Kozlowski For Odroid XU3-family enable the: - PWM fan (to control the CPU fan using thermal subsystem), - TI INA231 sensors (provide power measurements of big.LITTLE cores, DRAM and GPU), - Samsung sound (for Odroid XU3 and Snow as well). Signed-off-by: Krzysztof Kozlowski

[PATCH] pinctrl: nsp-gpio: fix type of iterator

2015-12-23 Thread Andrzej Hajda
Iterator i declared as unsigned is always non-negative so the loop will never end. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --

[PATCH] ASoC: rsnd: fix usrcnt decrementing bug

2015-12-23 Thread Andrzej Hajda
Field usrcnt is unsigned so it cannot be lesser than zero. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- sound/soc/sh/rcar/ssi

[PATCH] cpufreq/scpi: fix handling return value of topology_physical_package_id

2015-12-23 Thread Andrzej Hajda
The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrze

[PATCH] NFC: nci: fix handling return value of nci_hci_create_pipe

2015-12-23 Thread Andrzej Hajda
The function return NCI_HCI_INVALID_PIPE in case of error. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2038576 Signed-off-by: Andrzej Hajda --- net/nfc/nci/hci.c | 2

Re: [PATCH 1/2] PCI: Add mechanism to find topologically near cores

2015-12-23 Thread kbuild test robot
Hi Daniel, [auto build test WARNING on pci/next] [also build test WARNING on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Daniel-J-Blueman/PCI-Add-mechanism-to-find-topologically-near-cores/20151223-181947 base: https://git.kernel.org/pub/scm/linux/kernel/git

Re: [PATCH] cpufreq/scpi: fix handling return value of topology_physical_package_id

2015-12-23 Thread Viresh Kumar
On 23-12-15, 11:37, Andrzej Hajda wrote: > The function can return negative values, so its result should > be assigned to signed variable. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. > > [1]: http://permalink.gman

Re: [PATCH] block-LDM: One function call less in ldm_validate_tocblocks() after error detection

2015-12-23 Thread Julia Lawall
On Wed, 23 Dec 2015, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 22 Dec 2015 22:32:07 +0100 > > This issue was detected by using the Coccinelle software. > > Let us return directly if a memory allocation failed. > > Signed-off-by: Markus Elfring > --- > block/partitions/ldm.c

[PATCH v2 1/1] phy: micrel: Fix finding PHY properties in MAC node for KSZ9031.

2015-12-23 Thread Henri Roosen
Commit 651df2183543 ("phy: micrel: Fix finding PHY properties in MAC node.") only fixes finding PHY properties in MAC node for KSZ9021. This commit applies the same fix for KSZ9031. Signed-off-by: Henri Roosen --- drivers/net/phy/micrel.c | 13 +++-- 1 file changed, 11 insertions(+), 2

Re: [GIT PULL 3/9] ARM64: EXYNOS: clk: Clock dependency for ARM64 for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:46, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:40AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> Dependency for soc64 changes. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: >> >> Li

[PATCH v1 1/1] device property: add spaces to PROPERTY_ENTRY_STRING macro

2015-12-23 Thread Andy Shevchenko
Just a style fix, no functional changes. To be folded to Andrew's patch. Signed-off-by: Andy Shevchenko --- include/linux/property.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/property.h b/include/linux/property.h index b8c4e42..b51fcd3 100644 --- a/includ

Re: [PATCH v2] r8152: fix lockup when runtime PM is enabled

2015-12-23 Thread Oliver Neukum
On Wed, 2015-12-23 at 09:20 +, Hayes Wang wrote: > Oliver Neukum [mailto:oneu...@suse.de] > > Sent: Wednesday, December 23, 2015 4:20 PM > [...] > > No, step (2) does not exist. Calls to suspend() and [reset_]resume() > > always balance. Usually a driver shouldn't care about system suspend. > >

Re: [GIT PULL 4/9] ARM64: EXYNOS: Soc specific code for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:49, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:41AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> ARM64 change touch also defconfig. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: >> >>

Re: [PATCH] cpufreq/scpi: fix handling return value of topology_physical_package_id

2015-12-23 Thread Sudeep Holla
On 23/12/15 10:37, Andrzej Hajda wrote: The function can return negative values, so its result should be assigned to signed variable. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci [1]. [1]: http://permalink.gmane.org/gmane

Re: [PATCH 1/5] iio:adc:at91_adc8xx: introduce new atmel adc driver

2015-12-23 Thread Ludovic Desroches
On Wed, Dec 23, 2015 at 11:27:00AM +0100, Ludovic Desroches wrote: > On Tue, Dec 22, 2015 at 06:34:00PM +, Jonathan Cameron wrote: > > On 21/12/15 09:24, Ludovic Desroches wrote: > > > This driver supports the new version of the Atmel ADC device introduced > > > with the SAMA5D2 SoC family. > >

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:50, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:42AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> Pinctrl for v4.5. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 8005c49d9aea74d382f474ce11afbbc7d7130bec: >> >> Linux 4.4-rc1

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-23 Thread Tomasz Figa
Hi, 2015-12-23 19:51 GMT+09:00 Krzysztof Kozlowski : > W dniu 22.12.2015 o 13:50, Olof Johansson pisze: >> On Wed, Dec 02, 2015 at 10:39:42AM +0900, Krzysztof Kozlowski wrote: >>> Hi Kukjin, >>> >>> Pinctrl for v4.5. >>> >>> Best regards, >>> Krzysztof >>> >>> >>> The following changes since commi

Re: [RESEND PATCH] arm64: Store breakpoint single step state into pstate

2015-12-23 Thread kbuild test robot
Hi Wang, [auto build test ERROR on arm64/for-next/core] [also build test ERROR on v4.4-rc6 next-20151223] url: https://github.com/0day-ci/linux/commits/Wang-Nan/arm64-Store-breakpoint-single-step-state-into-pstate/20151223-165432 base: https://git.kernel.org/pub/scm/linux/kernel/git/arm64

Re: [PATCH powerpc/next v6 0/4] atomics: powerpc: Implement relaxed/acquire/release variants

2015-12-23 Thread Boqun Feng
On Wed, Dec 23, 2015 at 01:40:05PM +1100, Michael Ellerman wrote: > On Tue, 2015-12-15 at 22:24 +0800, Boqun Feng wrote: > > > Hi all, > > > > This is v6 of the series. > > > > Link for v1: https://lkml.org/lkml/2015/8/27/798 > > Link for v2: https://lkml.org/lkml/2015/9/16/527 > > Link for v3:

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-23 Thread Tomasz Figa
2015-12-23 19:54 GMT+09:00 Tomasz Figa : > Hi, > > 2015-12-23 19:51 GMT+09:00 Krzysztof Kozlowski : >> W dniu 22.12.2015 o 13:50, Olof Johansson pisze: >>> On Wed, Dec 02, 2015 at 10:39:42AM +0900, Krzysztof Kozlowski wrote: Hi Kukjin, Pinctrl for v4.5. Best regards, K

Re: [GIT PULL 6/9] ARM: EXYNOS: clk: Another clock dependency, ARMv7, for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:51, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:43AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> This is also clock dependency. I put it in separate tag in case clock >> folks want to pull it also. >> >> Best regards, >> Krzysztof >> >> >> The following ch

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 23.12.2015 o 19:54, Tomasz Figa pisze: > Hi, > > 2015-12-23 19:51 GMT+09:00 Krzysztof Kozlowski : >> W dniu 22.12.2015 o 13:50, Olof Johansson pisze: >>> On Wed, Dec 02, 2015 at 10:39:42AM +0900, Krzysztof Kozlowski wrote: Hi Kukjin, Pinctrl for v4.5. Best regards,

[PATCH v5 4/5] ARM: amba: Move reading of periphid to amba_match()

2015-12-23 Thread Marek Szyprowski
From: Tomeu Vizoso Reading the periphid when the Primecell device is registered means that the apb pclk must be available by then or the device won't be registered at all. By reading the periphid in amba_match() we can return -EPROBE_DEFER if the apb pclk isn't there yet and the device will be r

[PATCH v5 2/5] ARM: sa1111: ensure no negative value gets returned on positive match

2015-12-23 Thread Marek Szyprowski
This patch ensures that existing bus match callbacks don't return negative values (which might be interpreted as potential errors in the future) in case of positive match. Signed-off-by: Marek Szyprowski --- arch/arm/common/sa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --g

[PATCH v5 1/5] drivers: nvdimm: ensure no negative value gets returned on positive match

2015-12-23 Thread Marek Szyprowski
From: Dan Williams This patch ensures that existing bus match callbacks don't return negative values (which might be interpreted as potential errors in the future) in case of positive match. Signed-off-by: Dan Williams Signed-off-by: Marek Szyprowski --- drivers/nvdimm/bus.c | 2 +- 1 file ch

[PATCH v5 0/5] AMBA: add complete support for power domains

2015-12-23 Thread Marek Szyprowski
(Old thread name: Exynos4210: fix power domain for MDMA1 device) This patchset fixes mysterious boot hang on Exynos 4210 SoCs, when IOMMU is enabled. There is no direct dependency between IOMMU devices and MDMA1. However enabling IOMMU changes the device probe order, what results in LCD0 power dom

[PATCH v5 5/5] ARM: amba: Properly handle devices with power domains

2015-12-23 Thread Marek Szyprowski
To read pid/cid registers, the probed device need to be properly turned on. When it is inside a power domain, the bus code should ensure that the given power domain is enabled before trying to access device's registers. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson --- drivers/amba/b

[PATCH v5 3/5] driver core: handle -EPROBE_DEFER from bus_type.match()

2015-12-23 Thread Marek Szyprowski
From: Tomeu Vizoso Allow implementations of the match() callback in struct bus_type to return errors and if it's -EPROBE_DEFER then queue the device for deferred probing. This is useful to buses such as AMBA in which devices are registered before their matching information can be retrieved from

Re: [GIT PULL 7/9] ARM: EXYNOS: dts: DeviceTree for v4.5

2015-12-23 Thread Krzysztof Kozlowski
W dniu 22.12.2015 o 13:52, Olof Johansson pisze: > On Wed, Dec 02, 2015 at 10:39:44AM +0900, Krzysztof Kozlowski wrote: >> Hi Kukjin, >> >> A lot of stuff here, mostly cleanups. Description in tag. >> >> Best regards, >> Krzysztof >> >> >> The following changes since commit 8005c49d9aea74d382f474ce

Re: [PATCH v5 2/5] ARM: sa1111: ensure no negative value gets returned on positive match

2015-12-23 Thread Russell King - ARM Linux
On Wed, Dec 23, 2015 at 11:59:25AM +0100, Marek Szyprowski wrote: > This patch ensures that existing bus match callbacks don't return > negative values (which might be interpreted as potential errors in the > future) in case of positive match. This actually can't return a negative number - only va

Re: [GIT PULL 5/9] ARM: EXYNOS: Drivers for v4.5

2015-12-23 Thread Tomasz Figa
2015-12-23 19:58 GMT+09:00 Krzysztof Kozlowski : > W dniu 23.12.2015 o 19:54, Tomasz Figa pisze: >> Hi, >> >> 2015-12-23 19:51 GMT+09:00 Krzysztof Kozlowski : >>> W dniu 22.12.2015 o 13:50, Olof Johansson pisze: On Wed, Dec 02, 2015 at 10:39:42AM +0900, Krzysztof Kozlowski wrote: > Hi Kukj

[PATCH 4/6] regulator: lp872x: Add enable GPIO pin support

2015-12-23 Thread Paul Kocialkowski
LP872x regulators are made active via the EN pin, which might be hooked to a GPIO. This adds support for driving the GPIO high when the driver is in use. Signed-off-by: Paul Kocialkowski --- .../devicetree/bindings/regulator/lp872x.txt | 1 + drivers/regulator/lp872x.c

[PATCH 3/6] regulator: lp872x: Remove warning about invalid DVS GPIO

2015-12-23 Thread Paul Kocialkowski
Some devices don't hook the DVS pin to a GPIO but to ground or VCC. In those cases, it is not a problem to have no DVS GPIO. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/regulator/lp872x.c b/drivers

Re: [PATCH v2 0/9] ARM: dts: Add compatible property to "partitions" node

2015-12-23 Thread Gregory CLEMENT
Hi Olof, On mar., déc. 22 2015, Olof Johansson wrote: > Hi, > > On Mon, Dec 21, 2015 at 11:33:44AM +0100, Geert Uytterhoeven wrote: >> Hi, >> >> As of commit e488ca9f8d4f62c2 ("doc: dt: mtd: partitions: add compatible >> property to "partitions" node"), which is in v4.4-rc6, the "partiti

[PATCH 2/6] regulator: lp872x: Get rid of duplicate reference to DVS GPIO

2015-12-23 Thread Paul Kocialkowski
The lp872x structure holds a reference to the DVS GPIO, but it is never actually used anywhere, since a first reference exists from the lp872x_dvs structure. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/regulator/lp8

[PATCH 0/6] LG Optimus Black (P970) codename sniper support and lp872x improvements

2015-12-23 Thread Paul Kocialkowski
This series introduces support for the LG Optimus Black, as described in the patch adding devicetree support for the device. In order to power the external mmc (mmc1), the lp872x regulator is used. Its code had to be improved a bit to work on the device. Note that the patch adding devicetree supp

[PATCH 5/6] ARM: LG Optimus Black (P970) codename sniper support, with basic features

2015-12-23 Thread Paul Kocialkowski
The LG Optimus Black (P970) codename sniper is a smartphone that was designed and manufactured by LG Electronics (LGE) and released back in 2011. It is using an OMAP3630 SoC, GP version. This adds devicetree support for the device, with only a few basic features supported, such as debug uart, i2c,

[PATCH 6/6] ARM: multi_v7_defconfig: Enable LP872x regulator support

2015-12-23 Thread Paul Kocialkowski
The LP872x regulator is used in the LG Optimus Black (P970) codename sniper to supply the external mmc card. Signed-off-by: Paul Kocialkowski --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_

[PATCH 1/6] regulator: lp872x: Add missing of_match in regulators descriptions

2015-12-23 Thread Paul Kocialkowski
In order to select the regulators via of_find_regulator_by_node (and thus use them in devicetree), defining of_match for each regulator is required. Signed-off-by: Paul Kocialkowski --- drivers/regulator/lp872x.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/regula

  1   2   3   4   5   6   >