[PATCH v5 4/6] ARM: OMAP2+: DRA7: Add hwmod entries for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R Add hwmod entries for the PWMSS on DRA7. Set l4_root_clk_div as the main_clk of PWMSS. It is fixed-factored clock equal to L4PER2_L3_GICLK/2(l3_iclk_div/2). Signed-off-by: Vignesh R [fcoo...@ti.com: Do not add eQEP, ePWM and eCAP hwmod

[PATCH v5 3/6] ARM: AM335x/AM437x: hwmod: Remove eQEP, ePWM and eCAP hwmod entries

2016-03-07 Thread Franklin S Cooper Jr
Devices that utilize the OCP registers and/or PRCM registers and register bit fields should be modelled using hwmod. Since eQEP, ePWM and eCAP don't fall under this category, remove their hwmod entries. Instead these clocks simply use the clock that is pass through by its parent PWMSS. Therefore,

[PATCH v5 2/6] ARM: dts: am437x/am33xx: Remove eCAP and ePWM hwmod properties

2016-03-07 Thread Franklin S Cooper Jr
ECAP and ePWM do not have OCP integration registers, have L3/L4 ports, etc. Therefore, they shouldn't be using hwmod at all. Remove their hwmod properties. For ePWM add the tbclk to the node rather than depending on hwmod to do so. Signed-off-by: Franklin S Cooper Jr ---

[PATCH v5 5/6] ARM: dts: DRA7: Add TBCLK for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R tbclk is used by ehrpwm to generate PWM waveform on DRA7 SoC. Add Linux clock to control ehrpwm tbclk. The TRM says, tbclk is derived from SYSCLKOUT. SYSCLKOUT is nothing but ehrpwm functional clock derived from the gateable interface and functional clock of

[PATCH v5 1/6] pwms: pwm-ti*: Get the clock from the PWMSS (parent)

2016-03-07 Thread Franklin S Cooper Jr
The eCAP and ePWM doesn't have their own separate clocks. They simply utilize the clock provided directly by the PWMSS. Therefore, they simply need to grab a reference to their parent's clock. Signed-off-by: Franklin S Cooper Jr --- drivers/pwm/pwm-tiecap.c | 2 +-

[PATCH v5 6/6] ARM: dts: DRA7: Add dt nodes for PWMSS

2016-03-07 Thread Franklin S Cooper Jr
From: Vignesh R Add PWMSS device tree nodes for DRA7 SoC family and add documentation for dt bindings. Signed-off-by: Vignesh R [fcoo...@ti.com: Add eCAP and use updated bindings for PWMSS and ePWM] Signed-off-by: Franklin S Cooper Jr ---

[PATCH v5 0/6] ARM: am335x/am437x/dra7: Add PWM support for DRA7

2016-03-07 Thread Franklin S Cooper Jr
This patch series adds support for PWM for DRA7. The IP is same as that present in AM33XX and AM437XX. However, before doing so remove unnecessary hwmod entries for eCAP, ePWM and eQEP. This series is almost identical to v4. Only difference is the addition of eCAP DT nodes in the dra7.dtsi file.

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread Rob Gardner
On 03/07/2016 10:39 AM, Khalid Aziz wrote: On 03/07/2016 11:12 AM, Dave Hansen wrote: On 03/07/2016 09:53 AM, Andy Lutomirski wrote: Also, what am I missing? Tying these tags to the physical page seems like a poor design to me. This seems really awkward to use. Yeah, can you describe the

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Leizhen (ThunderTown)
On 2016/3/8 6:59, Andrew Morton wrote: > On Mon, 7 Mar 2016 18:43:47 +0800 "Leizhen (ThunderTown)" > wrote: > >> Suppose: >> CONFIG_SPARSEMEM is opened. >> CONFIG_DMA_API_DEBUG or CONFIG_CMA is opened. >> >> Then virt_to_page or phys_to_page will be called.

Re: [PATCH v5 10/26] mtd: nand: omap: Update DT binding documentation

2016-03-07 Thread Roger Quadros
On 05/03/16 04:04, Brian Norris wrote: > On Fri, Feb 19, 2016 at 11:15:32PM +0200, Roger Quadros wrote: >> Add compatible id and interrupts. The NAND interrupts are >> provided by the GPMC controller node. >> >> Signed-off-by: Roger Quadros >> --- >>

[PATCH v4 00/52] mtd: rework ECC layout definition

2016-03-07 Thread Boris Brezillon
Hello, This patchset aims at getting rid of the nand_ecclayout limitations. struct nand_ecclayout is defining fixed eccpos and oobfree arrays which can only be increased by modifying the MTD_MAX_ECCPOS_ENTRIES_LARGE and MTD_MAX_OOBFREE_ENTRIES_LARGE macros. This approach forces us to modify the

[PATCH v4 30/52] mtd: nand: denali: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/denali.c | 50 +-- 1 file changed, 35 insertions(+), 15

Re: [PATCH 1/4] ovl: honor flag MS_SILENT at mount

2016-03-07 Thread Miklos Szeredi
On Mon, Jun 29, 2015 at 7:18 PM, Konstantin Khlebnikov wrote: > This patch hides error about missing lowerdir if MS_SILENT is set. > > We use mount(NULL, "/", "overlay", MS_SILENT, NULL) for testing support of > overlayfs: syscall returns -ENODEV if it's not supported.

Re: [PATCH 2/2 v5] irqchip/Layerscape: Add SCFG MSI controller support

2016-03-07 Thread Marc Zyngier
On Mon, 7 Mar 2016 11:36:22 +0800 Minghuan Lian wrote: > Some kind of NXP Layerscape SoC provides a MSI > implementation which uses two SCFG registers MSIIR and > MSIR to support 32 MSI interrupts for each PCIe controller. > The patch is to support it. > > Signed-off-by:

Re: 4.4.3: OOPS when running "stress-ng --sock 5"

2016-03-07 Thread Holger Schurig
I have rejoiced prematurely, it just now took way longer I hit the segfault. Previously 1m or at max 2m was enough. root@ptxc:~# stress-ng --sock 20 stress-ng: info: [359] dispatching hogs: 0 I/O-Sync, 0 CPU, 0 VM-mmap, 0 HDD-Write, 0 Fork, 0 Context-switch, 0 Pipe, 0 Cache, 20 Socket, 0 Yield,

[PATCH v4 19/52] mtd: create an mtd_ooblayout_ops struct to ease ECC layout definition

2016-03-07 Thread Boris Brezillon
ECC layout definitions are currently exposed using the nand_ecclayout struct which embeds oobfree and eccpos arrays with predefined size. This approach was acceptable when NAND chips were providing relatively small OOB regions, but MLC and TLC now provide OOB regions of several hundreds of bytes,

[PATCH v4 13/52] mtd: onenand: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

Re: [PATCH v5 13/26] memory: omap-gpmc: Support general purpose input for WAITPINs

2016-03-07 Thread Boris Brezillon
On Mon, 7 Mar 2016 12:02:02 +0200 Roger Quadros wrote: > Hi Boris, > > On 07/03/16 11:34, Boris Brezillon wrote: > > Hi Roger, > > > > On Fri, 19 Feb 2016 23:15:35 +0200 > > Roger Quadros wrote: > > > >> OMAPs can have 2 to 4 WAITPINs that can be used as general

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Jan Kara
On Mon 07-03-16 11:52:48, Jan Kara wrote: > On Mon 07-03-16 19:12:33, Sergey Senozhatsky wrote: > > Hello, > > > > On (03/07/16 09:22), Jan Kara wrote: > > [..] > > > > hm, just for note, none of system-wide wqs seem to have a ->rescuer > > > > thread > > > > (WQ_MEM_RECLAIM). > > > > > > > >

[PATCH v4 18/52] mtd: docg3: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon Acked-by: Robert Jarzmik --- drivers/mtd/devices/docg3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH v4 10/52] mtd: nand: gpmi: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH] dma: sun4i: expose block size and wait cycle configuration to DMA users

2016-03-07 Thread Boris Brezillon
Some drivers might need to tweak the block size and wait cycles values to get better performances. Create and export the sun4i_dma_set_chan_config() to do that. Signed-off-by: Boris Brezillon --- drivers/dma/sun4i-dma.c | 44

[PATCH] [media] dw2102: fix unreleased firmware

2016-03-07 Thread Sudip Mukherjee
On the particular case when the product id is 0x2101 we have requested for a firmware but after processing it we missed releasing it. Signed-off-by: Sudip Mukherjee --- drivers/media/usb/dvb-usb/dw2102.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Jan Kara
On Mon 07-03-16 19:12:33, Sergey Senozhatsky wrote: > Hello, > > On (03/07/16 09:22), Jan Kara wrote: > [..] > > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > > (WQ_MEM_RECLAIM). > > > > > > [..] > > > > Even if you use printk_wq with WQ_MEM_RECLAIM for

Re: [PATCH 3/5] usb: gadget: gmidi: remove bus powered requirement on bmAttributes

2016-03-07 Thread Felipe Ferreri Tonello
Hi Balbi, how are you? On 07/03/16 10:59, Felipe Balbi wrote: > > Hi, > > Felipe Ferreri Tonello writes: > "Felipe F. Tonello" writes: >> [ text/plain ] >> This gadget uses a bmAttributes and MaxPower that requires the USB > bus

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Tetsuo Handa
Sergey Senozhatsky wrote: > Hello, > > On (03/07/16 09:22), Jan Kara wrote: > [..] > > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > > (WQ_MEM_RECLAIM). > > > > > > [..] > > > > Even if you use printk_wq with WQ_MEM_RECLAIM for printing_work work > > > > item,

Re: [PATCH v10 1/9] dt-bindings: phy: Add NVIDIA Tegra XUSB pad controller binding

2016-03-07 Thread Thierry Reding
On Fri, Mar 04, 2016 at 10:31:45PM -0600, Rob Herring wrote: > On Fri, Mar 04, 2016 at 05:19:31PM +0100, Thierry Reding wrote: > > From: Thierry Reding > > > > The NVIDIA Tegra XUSB pad controller provides a set of pads, each with a > > set of lanes that are used for PCIe,

Re: [PATCH 1/3] crypto: authenc - add TLS type encryption

2016-03-07 Thread Cristian Stoica
Hi Tadeusz, +static int crypto_encauth_dgst_verify(struct aead_request *req, + unsigned int flags) +{ + struct crypto_aead *tfm = crypto_aead_reqtfm(req); + unsigned int authsize = crypto_aead_authsize(tfm); + struct aead_instance *inst =

Re: [alsa-devel] ERROR: "isa_io_base" [sound/pci/vx222/snd-vx222.ko] undefined!

2016-03-07 Thread Takashi Iwai
On Mon, 07 Mar 2016 12:28:05 +0100, Nicolai Stange wrote: > > Takashi Iwai writes: > > > On Mon, 07 Mar 2016 09:20:37 +0100, > > Tomi Valkeinen wrote: > >> > >> On 06/03/16 14:38, kbuild test robot wrote: > >> > Hi Nicolai, > >> > > >> > FYI, the error/warning still remains. >

[PATCH] i2c: i2c-core: do not use bus internal data

2016-03-07 Thread Sudip Mukherjee
The variable p is a data structure which is used by the driver core internally and it is not expected that busses will be directly accessing these driver core internal only data. Signed-off-by: Sudip Mukherjee --- Reference of Greg's comment about it at:

Re: mwifiex: Use to_delayed_work()

2016-03-07 Thread Kalle Valo
> Introduce the use of to_delayed_work() helper function instead of open > coding it with container_of() > > A simplified version of the Coccinelle semantic patch used to make > this change is: > > // > @@ > expression a; > symbol work; > @@ > - container_of(a, struct delayed_work, work) > +

Re: at76c50x-usb: avoid double usb_put_dev() after downloading internalfirmware in at76_probe()

2016-03-07 Thread Kalle Valo
> There is no need in usb_put_dev() if at76_load_internal_fw() succeed. > > Found by Linux Driver Verification project (linuxtesting.org). > > Signed-off-by: Alexey Khoroshilov Thanks, applied to wireless-drivers-next.git. Kalle Valo

[PATCH v4 09/52] mtd: nand: fsl_ifc: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 11/52] mtd: nand: lpc32xx: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH v4 02/52] mtd: create an mtd_oobavail() helper and make use of it

2016-03-07 Thread Boris Brezillon
Currently, all MTD drivers/sublayers exposing an OOB area are doing the same kind of test to extract the available OOB size based on the mtd_info and mtd_oob_ops structures. Move this common logic into an inline function and make use of it. Signed-off-by: Boris Brezillon

[PATCH v4 15/52] mtd: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/mtdconcat.c | 2 +- drivers/mtd/mtdpart.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git

RE: [v3 PATCH 1/3] panic: Change nmi_panic from macro to function

2016-03-07 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Borislav Petkov [mailto:b...@alien8.de] > On Thu, Mar 03, 2016 at 07:57:44PM +0900, Hidehiro Kawai wrote: > > Change nmi_panic() macro to a normal function for the portability. > > portability? I wanted to say encapsulating things into a function makes modules only have to know about the

Re: [PATCH 08/17] clk: Add PLX Technology OXNAS Standard Clocks

2016-03-07 Thread Neil Armstrong
On 03/04/2016 03:25 AM, Stephen Boyd wrote: > On 03/03, Neil Armstrong wrote: >> diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig >> index eca8e01..b75ef5c 100644 >> --- a/drivers/clk/Kconfig >> +++ b/drivers/clk/Kconfig >> @@ -192,6 +192,12 @@ config COMMON_CLK_PXA >> ---help--- >>

Re: [ceph] what's going on with d_rehash() in splice_dentry()?

2016-03-07 Thread Sage Weil
On Mon, 7 Mar 2016, Al Viro wrote: > On Wed, Mar 02, 2016 at 11:00:01AM +0800, Yan, Zheng wrote: > > > > This code dates back to when Ceph was originally upstreamed, so the > > > history is murky, but I expect at that point I wanted to avoid hashing in > > > the no-lease case. But I don't

[PATCH] Kernel: Power: main.c: Cleaned up a comment block

2016-03-07 Thread Philippe Loctaux
Removed a * in the beginning of the block, and removed an unnecessary space. Signed-off-by: Philippe Loctaux --- kernel/power/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/power/main.c b/kernel/power/main.c index 2794697..d7386cb

Re: [PATCH RESEND] 8021q:Add missing statements to switch case in the function, register_vlan_device

2016-03-07 Thread Patrick McHardy
On 06.03, Nicholas Krause wrote: > This adds the proper snprintf and break statement for formatting > the vlan_net structure pointer, vn's name using snprintf for if > the switch case, VLAN_NAME_TYPE_PLUS_VID occurs for this particular > switch statement inside the function, register_vlan_device.

[PATCH] md/bitmap: remove redundant check

2016-03-07 Thread Eric Engestrom
daemon_sleep is an unsigned, so testing if it's 0 or less than 1 does the same thing. Signed-off-by: Eric Engestrom --- drivers/md/bitmap.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index

Re: [PATCH v6 2/2] mmc: sdhci-of-arasan: add phy support for sdhci-of-arasan

2016-03-07 Thread Adrian Hunter
On 05/03/16 04:24, Shawn Lin wrote: > This patch adds Generic PHY access for sdhci-of-arasan. Driver > can get PHY handler from dt-binding, and power-on/init the PHY. > Currently, it's just mandatory for arasan,sdhci-5.1. > > Signed-off-by: Shawn Lin > >

[PATCH v5 10/11] tpm: Add documentation for the tpm_vtpm device driver

2016-03-07 Thread Stefan Berger
Add documentation for the tpm_vtpm device driver that implements support for providing TPM functionality to Linux containers. Parts of this documentation were recycled from the Xen vTPM device driver documentation. Signed-off-by: Stefan Berger CC:

[PATCH v5 08/11] tpm: Driver for supporting multiple emulated TPMs

2016-03-07 Thread Stefan Berger
This patch implements a driver for supporting multiple emulated TPMs in a system. The driver implements a device /dev/vtpmx that is used to created a client device pair /dev/tpmX (e.g., /dev/tpm10) and a server side that is accessed using a file descriptor returned by an ioctl. The device

Re: [V2] rtlwifi: pass struct rtl_stats by reference as it is moreefficient

2016-03-07 Thread Kalle Valo
> From: Colin Ian King > > passing rtl_stats by value is inefficient; the structure is over 300 > bytes in size and generally just one field (packet_report_type) > is being accessed, so the pass by value is a relatively large overhead. > This change just affects just

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Leizhen (ThunderTown)
On 2016/3/7 19:41, One Thousand Gnomes wrote: > On Mon, 7 Mar 2016 17:21:25 +0800 > Zhen Lei wrote: > >> Do this to keep consistent with kfree, which tolerate ptr is NULL. >> >> Signed-off-by: Zhen Lei > > This is inlined code so you

[PATCH v5 09/11] tpm: Initialize TPM and get durations and timeouts

2016-03-07 Thread Stefan Berger
Add the retrieval of TPM 1.2 durations and timeouts. Since this requires the startup of the TPM, do this for TPM 1.2 and TPM 2. Signed-off-by: Stefan Berger CC: linux-kernel@vger.kernel.org CC: linux-...@vger.kernel.org CC: linux-...@vger.kernel.org ---

[PATCH v4 48/52] mtd: nand: vf610: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/vf610_nfc.c | 34 -- 1 file changed, 4 insertions(+), 30 deletions(-)

Re: [TRIVIAL PATCH] treewide: Remove unnecessary 0x prefixes before %pa extension uses

2016-03-07 Thread Nicolas Ferre
Le 05/03/2016 08:46, Joe Perches a écrit : > Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code > to special_hex_number()") %pa uses have been ouput with a 0x prefix. > > These 0x prefixes in the formats are unnecessary. > > Signed-off-by: Joe Perches > --- >

Re: [PATCH 1/2] Documentation: synopsys-dw-mshc: add binding for resets

2016-03-07 Thread Jaehoon Chung
Hi Shawn, On 03/07/2016 06:35 PM, Shawn Lin wrote: > Hi Jaehoon, > > On 2016/3/7 8:53, Jaehoon Chung wrote: >> Hi Goudong, >> >> On 03/06/2016 05:47 PM, Guodong Xu wrote: >>> Add resets property to synopsys-dw-mshc bindings. It is intended to >>> represent the hardware reset signal present

Re: [PATCH] mm: ZONE_DEVICE depends on SPARSEMEM_VMEMMAP

2016-03-07 Thread Vlastimil Babka
On 03/05/2016 01:42 AM, Dan Williams wrote: The primary use case for devm_memremap_pages() is to allocate an memmap array from persistent memory. That capabilty requires vmem_altmap which requires SPARSEMEM_VMEMMAP. Some if the ifdefs around to_vmem_altmap() could now be simplified, but that

[PATCH v4 16/52] mtd: nand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/nand/nand_base.c

[PATCH v4 07/52] mtd: nand: core: use mtd_ooblayout_xxx() helpers where appropriate

2016-03-07 Thread Boris Brezillon
The mtd_ooblayout_xxx() helper functions have been added to avoid direct accesses to the ecclayout field, and thus ease for future reworks. Use these helpers in all places where the oobfree[] and eccpos[] arrays where directly accessed. Signed-off-by: Boris Brezillon

[PATCH] HID: multitouch: force retrieving of Win8 signature blob

2016-03-07 Thread Benjamin Tissoires
The Synaptics 0x11e5 over I2C found in the Asus T100-CHI requires to fetch the signature blob to actually start sending events. With this patch, we should be close enough to the Windows driver which checks the content of the blob at plugin to validate or not the touchscreen. Fixes:

[PATCH v4 17/52] mtd: onenand: use mtd_set_ecclayout() where appropriate

2016-03-07 Thread Boris Brezillon
Use the mtd_set_ecclayout() helper instead of directly assigning the mtd->ecclayout field. Signed-off-by: Boris Brezillon --- drivers/mtd/onenand/onenand_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 4/5] x86/microcode/intel: Improve microcode sanity-checking error messages

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov Turn them into proper sentences. Add comments to microcode_sanity_check() to explain what it does. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel_lib.c | 36 ++- 1 file changed, 26

[PATCH] nfsd: recover: fix memory leak

2016-03-07 Thread Sudip Mukherjee
nfsd4_cltrack_grace_start() will allocate the memory for grace_start but when we returned due to error we missed freeing it. Signed-off-by: Sudip Mukherjee --- fs/nfsd/nfs4recover.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/nfsd/nfs4recover.c

Re: [RFC][PATCH v2 1/2] printk: Make printk() completely async

2016-03-07 Thread Sergey Senozhatsky
Hello, On (03/07/16 09:22), Jan Kara wrote: [..] > > hm, just for note, none of system-wide wqs seem to have a ->rescuer thread > > (WQ_MEM_RECLAIM). > > > > [..] > > > Even if you use printk_wq with WQ_MEM_RECLAIM for printing_work work item, > > > printing_work_func() will not be called until

[PATCH 5/5] x86/microcode/intel: Drop orig_sum from ext signature checksum

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov It is 0 because for !0 values we would have exited already. Signed-off-by: Borislav Petkov --- arch/x86/kernel/cpu/microcode/intel_lib.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH 1/5] x86/microcode/intel: Change checksum variables to u32

2016-03-07 Thread Borislav Petkov
From: Chris Bainbridge Microcode checksum verification should be done using unsigned 32-bit values otherwise the calculation overflow results in undefined behaviour. This is also nicely documented in the SDM, section "Microcode Update Checksum": "To check for a

[PATCH 2/5] x86/microcode/intel: Get rid of DWSIZE

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov sizeof(u32) is perfectly clear as it is. Signed-off-by: Borislav Petkov --- arch/x86/include/asm/microcode_intel.h| 1 - arch/x86/kernel/cpu/microcode/intel_lib.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-07 Thread Peter Zijlstra
On Thu, Mar 03, 2016 at 03:40:49PM -0800, Stephane Eranian wrote: > On Thu, Mar 3, 2016 at 1:43 PM, Andi Kleen wrote: > > > > > + /* > > > + * There are cases where, even though, the PEBS ovfl bit is > > > set in > > > + *

Re: [PATCH 09/13] efi/arm64: Check for h/w support before booting a >4 KB granule kernel

2016-03-07 Thread Matt Fleming
On Sun, 06 Mar, at 04:35:32AM, Ard Biesheuvel wrote: > > Hi Matt, > > This patch turned up in -next with 'granule' replaced with 'granular', > both in the commit log and in the patch itself. The term 'granule' is > part of the idiom used by the ARM Architecture Reference Manual, and > so

Re: Kernel docs: muddying the waters a bit

2016-03-07 Thread Mauro Carvalho Chehab
Em Mon, 7 Mar 2016 00:29:08 +0100 Johannes Stezenbach escreveu: > On Sat, Mar 05, 2016 at 11:29:37PM -0300, Mauro Carvalho Chehab wrote: > > > > I converted one of the big tables to CSV. At least now it recognized > > it as a table. Yet, the table was very badly formated: > >

Re: linux-next: manual merge of the watchdog tree with the arm-soc tree

2016-03-07 Thread Sudeep Holla
Hi Olof, On 07/03/16 05:41, Olof Johansson wrote: Hi Wim, It's much easier for us if all DTS changes go in through the arm-soc trees, to avoid these kind of conflicts. Is this on a branch where you can easily drop it and we pick it up instead, or is it on a now-stable branch? Sorry for

Re: [PATCH 2/3] perf/x86/pebs: add workaround for broken OVFL status on HSW

2016-03-07 Thread Peter Zijlstra
On Mon, Mar 07, 2016 at 11:24:13AM +0100, Peter Zijlstra wrote: > I suspect Andi is having something along: > > lkml.kernel.org/r/1445458568-16956-1-git-send-email-a...@firstfloor.org > > applied to his tree. OK, I munged a bunch of patches together, please have a hard look at the end result

Re: rt2x00: add new rt2800usb device Buffalo WLI-UC-G450

2016-03-07 Thread Kalle Valo
> Add USB ID 0411:01fd for Buffalo WLI-UC-G450 wireless adapter, > RT chipset 3593 > > Signed-off-by: Anthony Wong > Cc: sta...@vger.kernel.org > Acked-by: Stanislaw Gruszka Thanks, applied to wireless-drivers-next.git. Kalle Valo

RE: [PATCH] thermal: tegra_soctherm: fix sign bit of temperature

2016-03-07 Thread Zhang, Rui
Oh, BTW, you need to CC linux...@vger.kernel.org as well, so that we can see your patch via patchwork. Please resend patch V2 to linux...@vger.kernel.org. Thanks, rui > -Original Message- > From: Wei Ni [mailto:w...@nvidia.com] > Sent: Monday, March 07, 2016 5:16 PM > To: Zhang, Rui

Re: [PATCH v2 2/8] perf tools: Introduce perf_hpp__setup_hists_formats()

2016-03-07 Thread Namhyung Kim
On Fri, Mar 04, 2016 at 06:59:23PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 04, 2016 at 06:58:22PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Fri, Mar 04, 2016 at 11:59:36PM +0900, Namhyung Kim escreveu: > > > The perf_hpp__setup_hists_formats() is to build hists-specific output

Re: Suspicious error for CMA stress test

2016-03-07 Thread Vlastimil Babka
On 03/07/2016 05:34 AM, Joonsoo Kim wrote: On Fri, Mar 04, 2016 at 03:35:26PM +0800, Hanjun Guo wrote: Sad to hear that. Could you tell me your system's MAX_ORDER and pageblock_order? MAX_ORDER is 11, pageblock_order is 9, thanks for your help! I thought that CMA regions/operations (and

Re: [PATCH 2/4] nmi_backtrace: generate one-line reports for idle cpus

2016-03-07 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 11:01:42AM -0500, Chris Metcalf wrote: > +++ b/kernel/sched/idle.c > @@ -52,15 +52,25 @@ static int __init cpu_idle_nopoll_setup(char *__unused) > __setup("hlt", cpu_idle_nopoll_setup); > #endif > +static DEFINE_PER_CPU(bool, cpu_idling); > + > +/* Was the cpu was in the

[PATCH v4 35/52] mtd: nand: fsmc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 298 --- 1 file changed, 82 insertions(+), 216

[PATCH v4 40/52] mtd: nand: lpc32xx: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/lpc32xx_mlc.c | 50 -- drivers/mtd/nand/lpc32xx_slc.c | 41

[PATCH v4 36/52] mtd: nand: fsmc: get rid of the fsmc_nand_eccplace struct

2016-03-07 Thread Boris Brezillon
Now that mtd_ooblayout_ecc() returns the ECC byte position using the OOB free method, we can get rid of the fsmc_nand_eccplace struct. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsmc_nand.c | 60 +++-

[PATCH v4 38/52] mtd: nand: hisi504: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/hisi504_nand.c | 26 +++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff

Re: [PATCH net-next 1/9] bpf: prevent kprobe+bpf deadlocks

2016-03-07 Thread Daniel Borkmann
On 03/07/2016 02:58 AM, Alexei Starovoitov wrote: if kprobe is placed within update or delete hash map helpers that hold bucket spin lock and triggered bpf program is trying to grab the spinlock for the same bucket on the same cpu, it will deadlock. Fix it by extending existing recursion

Re: [PATCH 0/2] Fix hardlinks in overlay

2016-03-07 Thread Miklos Szeredi
On Fri, Oct 9, 2015 at 9:34 PM, Alexander Morozov wrote: > There were reports that overlay doesn't work very well with unix-sockets. > In particular you can't access unix-socket through hardlink on overlay fs. > Problem is that overlay creates different inodes for

Re: [PATCH] iio: adc: imx25-gcq: fix do_div

2016-03-07 Thread Sudip Mukherjee
gt; > Markus, can you take a quick look at this. > > Thanks. I think this was already fixed by Arnd. > "iio: adc/imx25-gcq: move incorrect do_div" It should. But I still have the same build failure with next-20160307 and not only tilepro, even m32r is also having the same build failure. regards sudip

Re: [PATCH 2/2] PM / clk: Add support for obtaining clocks from device-tree

2016-03-07 Thread Geert Uytterhoeven
Hi Jon, On Mon, Mar 7, 2016 at 11:45 AM, Jon Hunter wrote: > On 07/03/16 08:48, Geert Uytterhoeven wrote: >> On Fri, Mar 4, 2016 at 4:33 PM, Jon Hunter wrote: >>> The PM clocks framework requires clients to pass either a con-id or a >>> valid clk

Re: [Qemu-devel] [RFC qemu 0/4] A PV solution for live migration optimization

2016-03-07 Thread Michael S. Tsirkin
On Mon, Mar 07, 2016 at 06:49:19AM +, Li, Liang Z wrote: > > > No. And it's exactly what I mean. The ballooned memory is still > > > processed during live migration without skipping. The live migration code > > > is > > in migration/ram.c. > > > > So if guest acknowledged

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-07 Thread Pali Rohár
On Sunday 06 March 2016 16:23:39 Sebastian Reichel wrote: > Hi Pali, > > On Tue, Jan 05, 2016 at 12:34:12AM +0100, Pali Rohár wrote: > > On Tuesday 04 August 2015 09:02:39 Peter Ujfalusi wrote: > > > On 08/03/2015 09:48 PM, Jarkko Nikula wrote: > > > > It is well possible that some regression got

Re: [V3] mt7601u: do not free dma_buf when ivp allocation fails

2016-03-07 Thread Kalle Valo
> From: Colin Ian King > > If the allocation of ivp fails the error handling attempts to > free an uninitialized dma_buf; this data structure just contains > garbage on the stack, so the freeing will cause issues when the > urb, buf and dma fields are free'd. Fix this

RE: [TRIVIAL PATCH] treewide: Remove unnecessary 0x prefixes before %pa extension uses

2016-03-07 Thread Bounine, Alexandre
> From: Joe Perches [mailto:j...@perches.com] > Sent: Saturday, March 05, 2016 2:47 AM . > Subject: [TRIVIAL PATCH] treewide: Remove unnecessary 0x prefixes > before %pa extension uses > > Since commit 3cab1e711297 ("lib/vsprintf: refactor duplicate code > to special_hex_number()") %pa uses

Re: [PATCH v2 4/8] perf tools: Support multiple sort keys in a hierarchy level

2016-03-07 Thread Namhyung Kim
Hi Arnaldo, On Fri, Mar 04, 2016 at 06:48:48PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Mar 04, 2016 at 11:59:38PM +0900, Namhyung Kim escreveu: > > This implements having multiple sort keys in a single hierarchy level. > > > +++ b/tools/perf/util/sort.c > > @@ -2310,18 +2310,40 @@

[PATCH 2/5] x86/mce/AMD, EDAC: Enable error decoding of Scalable MCA errors

2016-03-07 Thread Borislav Petkov
From: Aravind Gopalakrishnan For Scalable MCA enabled processors, errors are listed per IP block. And since it is not required for an IP to map to a particular bank, we need to use HWID and McaType values from the MCx_IPID register to figure out which IP a given

[PATCH 0/5] x86/RAS: Enable error decoding of AMD Scalable MCA errors

2016-03-07 Thread Borislav Petkov
From: Borislav Petkov Hi, this adds support for the upcoming AMD Scalable MCA error decoding scheme to Linux (F17h stuff) (patch 2). The rest is cleanups and clarifications. Patches ontop of tip/ras/core. Aravind Gopalakrishnan (5): x86/mce: Move MCx_CONFIG MSR definitions

[PATCH v4 27/52] mtd: nand: brcm: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/brcmnand/brcmnand.c | 258 +-- 1 file changed, 157 insertions(+), 101

[PATCH v4 22/52] mtd: nand: bch: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the nand_ecclayout definition by the equivalent mtd_ooblayout_ops definition. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_bch.c | 33 +++-- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git

[PATCH v4 33/52] mtd: nand: fsl_elbc: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/fsl_elbc_nand.c | 83 +++- 1 file changed, 47 insertions(+), 36

[PATCH v4 14/52] mtd: add mtd_set_ecclayout() helper function

2016-03-07 Thread Boris Brezillon
Add an mtd_set_ecclayout() helper function to avoid direct accesses to the mtd->ecclayout field. This will ease future reworks of ECC layout definition. Signed-off-by: Boris Brezillon --- include/linux/mtd/mtd.h | 6 ++ 1 file changed, 6 insertions(+)

[PATCH v4 31/52] mtd: nand: diskonchip: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/diskonchip.c | 60 --- 1 file changed, 45 insertions(+), 15

[PATCH v4 21/52] mtd: nand: implement the default mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Replace the default nand_ecclayout definitions for large and small page devices with the equivalent mtd_ooblayout_ops. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/nand_base.c | 148 --- include/linux/mtd/nand.h

[PATCH v4 28/52] mtd: nand: cafe: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon --- drivers/mtd/nand/cafe_nand.c | 44 1 file changed, 32 insertions(+), 12

[PATCH v4 39/52] mtd: nand: jz4780: switch to mtd_ooblayout_ops

2016-03-07 Thread Boris Brezillon
Implementing the mtd_ooblayout_ops interface is the new way of exposing ECC/OOB layout to MTD users. Signed-off-by: Boris Brezillon Tested-by: Harvey Hunt --- drivers/mtd/nand/jz4780_nand.c | 19 +-- 1 file changed, 5

Re: perf, tools: Refactor and support interval and CSV metrics

2016-03-07 Thread Jiri Olsa
On Thu, Mar 03, 2016 at 03:57:31PM -0800, Andi Kleen wrote: SNIP > > % perf stat -x, --metric-only -a -I 1000 > 1.001381652,frontend cycles idle,insn per cycle,stalled cycles per > insn,branch-misses of all branches, > 1.001381652,173.32,0.83,2.09,1.73, >

Re: [PATCH v3 0/8] i2c mux cleanup and locking update

2016-03-07 Thread Wolfram Sang
> My offer is going to be this, I'll look after any unforeseen future problems > caused by this rework, and I can be the i2c-mux maintainer. But if being Yay, thanks a lot! > the i2c-mux maintainer turns out to be a huge time-sink, there is no way I > can stay on in the long run. But I guess

[PATCH] [media] cx231xx: fix memory leak

2016-03-07 Thread Sudip Mukherjee
When we returned on error we missed freeing p_current_fw and p_buffer. Signed-off-by: Sudip Mukherjee --- drivers/media/usb/cx231xx/cx231xx-417.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c

Re: [PATCH] gpio: xgene: Fix kconfig for standby GIPO contoller

2016-03-07 Thread Matthias Brugger
On 07/03/16 08:41, Linus Walleij wrote: On Fri, Mar 4, 2016 at 6:42 PM, Matthias Brugger wrote: The standby GPIO controller can be used as a interrupt controller. Select GPIOLIB_IRQCHIP when compiling this driver. Otherwise we get a compilation error:

Re: [PATCH 1/1] dma-mapping: to avoid exception when cpu_addr is NULL

2016-03-07 Thread Leizhen (ThunderTown)
Suppose: CONFIG_SPARSEMEM is opened. CONFIG_DMA_API_DEBUG or CONFIG_CMA is opened. Then virt_to_page or phys_to_page will be called. Finally, in __pfn_to_page, __sec = __pfn_to_section(__pfn) is NULL. So access section->section_mem_map will trigger exception. - #define

  1   2   3   4   5   6   7   8   9   10   >