Re: [PATCH v2 6/6] mtd: nand: gpmi: support NAND on i.MX6UL

2015-08-17 Thread Huang Shijie
On Mon, Aug 17, 2015 at 10:25:07PM -0500, Han Xu wrote: > support GPMI NAND on i.MX6UL > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + > drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 6 -- > 2 files changed, 13 insertions(+), 2 deletions(-) > > diff --git

linux-next: build failure after merge of the gpio tree

2015-08-17 Thread Stephen Rothwell
Hi Linus, After merging the gpio tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/media/i2c/tc358743.c: In function 'tc358743_probe_of': drivers/media/i2c/tc358743.c:1786:22: error: too few arguments to function 'devm_gpiod_get' state->reset_gpio = devm_gpiod_get(

Re: [PATCH v2 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-08-17 Thread Huang Shijie
On Mon, Aug 17, 2015 at 10:25:01PM -0500, Han Xu wrote: > i.MX6QP and i.MX7D BCH module integrated a new feature to detect the > bitflip number for erased NAND page. So for these two platform, set the > erase threshold to gf/2 and if bitflip detected, GPMI driver will > correct the data to all 0xFF

[PATCH v2] i2c: allow specifying separate wakeup interrupt in device tree

2015-08-17 Thread Dmitry Torokhov
Instead of having each i2c driver individually parse device tree data in case it or platform supports separate wakeup interrupt, and handle enabling and disabling wakeup interrupts in their power management routines, let's have i2c core do that for us. Platforms wishing to specify separate wakeup

Re: [PATCH v2 4/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-08-17 Thread Huang Shijie
On Mon, Aug 17, 2015 at 10:24:55PM -0500, Han Xu wrote: > support GPMI NAND on i.MX7D > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- > drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 24

[PATCH] Staging: fbtft: Fix iomem dereference

2015-08-17 Thread Ronit Halder
This patch fixes the warning generated by sparse "cast removes address space of expression" by using ioread16 function insted of directly dereferencing I/O memory. Signed-off-by: Ronit halder --- drivers/staging/fbtft/fb_agm1264k-fl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) d

Re: [PATCH V8 08/25] perf tools: Add Intel BTS support

2015-08-17 Thread Adrian Hunter
On 17/08/15 22:58, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 17, 2015 at 10:09:26PM +0300, Adrian Hunter escreveu: >> On 17/08/2015 8:58 p.m., Arnaldo Carvalho de Melo wrote: >>> Em Mon, Aug 17, 2015 at 08:43:09PM +0300, Adrian Hunter escreveu: On 17/08/2015 6:52 p.m., Arnaldo Carvalho de

Re: [PATCH v2 3/6] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-08-17 Thread Huang Shijie
On Mon, Aug 17, 2015 at 10:24:49PM -0500, Han Xu wrote: > By default NAND driver will choose the highest ecc strength that oob > could contain, in this case, for some 8K+744 NAND flash, the ecc > strength will be up to 52bit, which beyonds the i.MX6QDL BCH capability > (40bit). > > This patch allo

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-17 Thread Stas Sergeev
13.08.2015 23:07, Linus Torvalds пишет: On Thu, Aug 13, 2015 at 12:59 PM, Stas Sergeev wrote: It doesn't: fedora provides a "sanitized up" version of sigcontext.h in /usr/include/bits, which comes from glibc-headers-2.21-7.fc22.x86_64. So it seems the "sanitized up" headers come from glibc, whi

Re: [PATCH] lpfc: Fix possible use-after-free and double free in lpfc_mbx_cmpl_rdp_page_a2()

2015-08-17 Thread Johannes Thumshirn
Sebastian Herbszt writes: > Johannes Thumshirn wrote: >> If the bf_get() call in lpfc_mbx_cmpl_rdp_page_a2() does succeeds, execution >> continues normally and mp gets kfree()d. >> >> If the subsequent call to lpfc_sli_issue_mbox() fails execution jumps to the >> error label where lpfc_mbuf_free

Re: [PATCH v2 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-17 Thread Peter Chen
On Mon, Aug 17, 2015 at 10:26:23AM -0700, Mark Brown wrote: > On Mon, Aug 17, 2015 at 09:07:08AM +0800, Peter Chen wrote: > > On Fri, Aug 14, 2015 at 05:47:46PM +0800, Baolin Wang wrote: > > > > + 1500, > > > + 1800, > > > + 550, > > > +}; > > > Why 550 is the last, but not 1800? > > You'd have

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-17 Thread Stas Sergeev
13.08.2015 20:00, Brian Gerst пишет: On Thu, Aug 13, 2015 at 11:43 AM, Andy Lutomirski wrote: On Thu, Aug 13, 2015 at 8:37 AM, Linus Torvalds wrote: On Tue, Aug 11, 2015 at 5:17 PM, Stas Sergeev wrote: I realize this patch may be good to have in general, but breaking userspace without a sin

[PATCHi v2] ARM: dts: Fix bootup issue on smdk5250

2015-08-17 Thread Pankaj Dubey
From: Yadwinder Singh Brar With default config on smdk5250 latest tree throws below message : [2.226049] thermal thermal_zone0: critical temperature reached(224 C),shutting down [2.227840] reboot: Failed to start orderly shutdown: forcing the issue and hangs randomly because it reads w

[PATCH] dmaengine: pxa_dma: fix debug information

2015-08-17 Thread Robert Jarzmik
This fixes the following error: drivers/dma/pxa_dma.c: In function ‘dbg_show_requester_chan’: drivers/dma/pxa_dma.c:192:2: error: void value not ignored as it ought to be pos += seq_printf(s, "DMA channel %d requester :\n", phy->idx); ^ drivers/dma/pxa_dma.c:197:8: error: void value not ignored

Re: [regression] x86/signal/64: Fix SS handling for signals delivered to 64-bit programs breaks dosemu

2015-08-17 Thread Stas Sergeev
14.08.2015 04:37, Andy Lutomirski пишет: On Thu, Aug 13, 2015 at 6:32 PM, Stas Sergeev wrote: 14.08.2015 04:21, Andy Lutomirski пишет: On Thu, Aug 13, 2015 at 5:50 PM, Stas Sergeev wrote: 14.08.2015 03:27, Linus Torvalds пишет: On Thu, Aug 13, 2015 at 5:17 PM, Stas Sergeev wrote: For exa

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-17 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 02:02:49AM -0400, Raphaël Beamonte wrote: > 2015-08-18 1:44 GMT-04:00 Sudip Mukherjee : > > I think that will be better, since you are sending the patch for > > consistent spacing. > > Actually, going through the bunch of patches, it seems that the > whitespace neatening on

Re: [Patch V3 9/9] mm, x86: Enable memoryless node support to better support CPU/memory hotplug

2015-08-17 Thread Tang Chen
Hi Liu, On 08/17/2015 11:19 AM, Jiang Liu wrote: .. diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index b3a1a5d77d92..5d7ad70ace0d 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -2069,6 +2069,9 @@ config USE_PERCPU_NUMA_NODE_ID def_bool y depends on NUMA +conf

Re: [PATCHv3] staging: wilc1000: use netdev_* instead of printk

2015-08-17 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 01:27:31AM -0400, Raphaël Beamonte wrote: > 2015-08-18 0:24 GMT-04:00 Sudip Mukherjee : > >> + netdev_err("[Sendconfigpkt]Get Timed out\n"); > > This will not compile. you can not just replace printk with > > netdev_*, you need to mention a net_de

Re: provide more common DMA API functions V2

2015-08-17 Thread Stephen Rothwell
Hi Andrew, On Tue, 18 Aug 2015 07:53:15 +0200 Christoph Hellwig wrote: > > On Mon, Aug 17, 2015 at 10:45:52PM -0700, Andrew Morton wrote: > > > > > > > > I'll merge these 5 patches for 4.3. That means I'll release them into > > > > linux-next after 4.2 is released. > > > > > > So you only add

[PATCH] crypto: sahara: Use dmam_alloc_coherent

2015-08-17 Thread Vaishali Thakkar
This patch moves the data allocated using dma_alloc_coherent to the corresponding managed interface. To be compatible with the change, various gotos are replaced with direct returns and unneeded labels are dropped. Signed-off-by: Vaishali Thakkar --- drivers/crypto/sahara.c | 46 +---

Re: rt2x00: adjust EEPROM_SIZE for rt2500usb

2015-08-17 Thread Kalle Valo
> rt2500usb_validate_eeprom() read data up to 0x6e (EEPROM_CALIBRATE_OFFSET) > but only 0x6a bytes has been allocated and read from the eeprom. > > This lead to out-of-bound accesses and invalid values for > EEPROM_BBPTUNE_R17 and EEPROM_CALIBRATE_OFFSET. > > Change the EEPROM_SIZE to 0x6e in or

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-17 Thread Raphaël Beamonte
2015-08-18 1:44 GMT-04:00 Sudip Mukherjee : > I think that will be better, since you are sending the patch for > consistent spacing. Actually, going through the bunch of patches, it seems that the whitespace neatening one is taking care of that. That one patch was mostly about taking care of the c

linux-next: build failure after merge of the tty tree

2015-08-17 Thread Stephen Rothwell
Hi Greg, After merging the tty tree, today's linux-next build (arm multi_v7_defconfig) failed like this: make[2]: *** No rule to make target 'arch/arm/boot/dts/imx6sl-fox-p1.dtb', needed by '__build'. Stop. Caused by commit 189550b8644e ("serial: imx: introduce serial_imx_enable_wakeup()")

Re: provide more common DMA API functions V2

2015-08-17 Thread Christoph Hellwig
On Mon, Aug 17, 2015 at 10:45:52PM -0700, Andrew Morton wrote: > > > > > > I'll merge these 5 patches for 4.3. That means I'll release them into > > > linux-next after 4.2 is released. > > > > So you only add for-4.3 code to -next after 4.2 is odd? Isn't thast the > > wrong way around? > > Lin

Re: [GIT PULL] x86 fixes

2015-08-17 Thread H. Peter Anvin
I should make it clear: I was using a 486SX model in Qemu. On August 17, 2015 5:19:10 PM PDT, Andy Lutomirski wrote: >On Mon, Aug 17, 2015 at 5:06 PM, H. Peter Anvin wrote: >> User space does not need to treat for FPU instructions, except for >performance reasons, because the kernel emulates the

Re: [GIT PULL] x86 fixes

2015-08-17 Thread H. Peter Anvin
I used a very old userspace, and embedded systems are much more likely to use uclibc than glibc. However, if they try to use SSE without checking they will break on a hell of a lot more hardware. On August 17, 2015 5:19:10 PM PDT, Andy Lutomirski wrote: >On Mon, Aug 17, 2015 at 5:06 PM, H. Pet

Re: [PATCH 1/2] regulator: pbias: use untranslated address to program pbias regulator

2015-08-17 Thread Kishon Vijay Abraham I
Hi Mark Brown, On Friday 14 August 2015 11:30 PM, Mark Brown wrote: > On Mon, Jul 27, 2015 at 04:54:09PM +0530, Kishon Vijay Abraham I wrote: > >> vsel_reg and enable_reg of the pbias regulator descriptor should actually >> have the offset from syscon. However after the pbias device tree node >

Re: [PATCH v2] asus-laptop: Add key found on Asus F3M

2015-08-17 Thread Darren Hart
On Wed, Aug 12, 2015 at 09:06:08AM +0200, Corentin Chary wrote: > On Wed, Aug 5, 2015 at 10:29 PM, Darren Hart wrote: > > On Wed, Jul 29, 2015 at 09:31:23PM +0200, Łukasz Stelmach wrote: > >> Asus F3M has two keys labeled with an icon of a touchpad. The first, > >> reported as 0x6B is next to the

Re: [PATCH] leds: leds-fsg: Use devm_led_classdev_register

2015-08-17 Thread Vaishali Thakkar
On Mon, Aug 17, 2015 at 2:02 PM, Vaishali Thakkar wrote: > > On 17 Aug 2015 13:57, "Jacek Anaszewski" wrote: >> >> Hi Vaishali, >> >> Thanks for the patch. Unfortunately it causes build break. >> Please fix the issues and resubmit. > > Oops! I am really very sorry. By mistake I sent a basic versi

Re: provide more common DMA API functions V2

2015-08-17 Thread Andrew Morton
On Tue, 18 Aug 2015 07:38:25 +0200 Christoph Hellwig wrote: > On Mon, Aug 17, 2015 at 02:24:29PM -0700, Andrew Morton wrote: > > 110254 bytes saved, shrinking the kernel by a whopping 0.17%. > > Thoughts? > > Sounds fine to me. OK, I'll clean it up a bit, check that each uninlining actually ma

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-17 Thread Sudip Mukherjee
On Tue, Aug 18, 2015 at 01:38:21AM -0400, Raphaël Beamonte wrote: > 2015-08-18 1:02 GMT-04:00 Sudip Mukherjee : > > since you are modifying these lines for consistent spacing, it will be > > better to have: > > (priv->ShortRetryLimit << TCR_SRL_OFFSET) | // Short retry limit > > > This shoul

Re: [PATCH v2] rtc: s3c: fix disabled clocks for alarm

2015-08-17 Thread Krzysztof Kozlowski
On 12.08.2015 19:21, Joonyoung Shim wrote: > The clock enable/disable codes for alarm have been removed from > commit 24e1455493da ("drivers/rtc/rtc-s3c.c: delete duplicate clock > control") and the clocks are disabled even if alarm is set, so alarm > interrupt can't happen. > > The s3c_rtc_setaie

Re: [PATCH 12/20] staging: rtl8192u: r8192U_core: fix externs in .c file code style issue

2015-08-17 Thread Raphaël Beamonte
2015-08-18 1:30 GMT-04:00 Sudip Mukherjee : > These are not externs. These are forward declarations. I copied the message from checkpatch. Will edit that to make it more accurate! Thanks, Raphaël -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-17 Thread Raphaël Beamonte
2015-08-18 1:02 GMT-04:00 Sudip Mukherjee : > since you are modifying these lines for consistent spacing, it will be > better to have: > (priv->ShortRetryLimit << TCR_SRL_OFFSET) | // Short retry limit > This should be: > priv->eeprom_CustomerID = eprom_read(dev, (EEPROM_Customer_ID>>1)) >>

Re: provide more common DMA API functions V2

2015-08-17 Thread Christoph Hellwig
On Mon, Aug 17, 2015 at 02:24:29PM -0700, Andrew Morton wrote: > 110254 bytes saved, shrinking the kernel by a whopping 0.17%. > Thoughts? Sounds fine to me. > > I'll merge these 5 patches for 4.3. That means I'll release them into > linux-next after 4.2 is released. So you only add for-4.3 c

Re: [PATCH block/for-linus] writeback: fix syncing of I_DIRTY_TIME inodes

2015-08-17 Thread Damien Wyart
> > I had an unstable system when running latest Linus tree with Tejun's > > patch applied on top. Nothing fishy in the logs after rebooting without > > the patch, but remote access with ssh when patch applied did not work > > (as if /home partition could not be read). This system has / as ext4 and

Re: [PATCH 12/20] staging: rtl8192u: r8192U_core: fix externs in .c file code style issue

2015-08-17 Thread Sudip Mukherjee
On Sat, Aug 15, 2015 at 09:34:08PM -0400, Raphaël Beamonte wrote: > Externs should be avoided in .c files. These one were not useful and > are thus removed. These are not externs. These are forward declarations. regards sudip -- To unsubscribe from this list: send the line "unsubscribe linux-kerne

Re: [PATCHv3] staging: wilc1000: use netdev_* instead of printk

2015-08-17 Thread Raphaël Beamonte
2015-08-18 0:24 GMT-04:00 Sudip Mukherjee : >> + netdev_err("[Sendconfigpkt]Get Timed out\n"); > This will not compile. you can not just replace printk with > netdev_*, you need to mention a net_device. You're right! I'm making a lot of mistakes. It seems I called the m

Re: [v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread David Miller
From: Noam Camus Date: Tue, 18 Aug 2015 05:04:20 + > I followed "Hardware Architecture" section from: > http://www.linuxfoundation.org/collaborate/workgroups/networking/napi > and came up with "reduce processing latency" idea. That document has lots of incorrect advice, that's for sure. For

Re: [PATCH 07/20] staging: rtl8192u: r8192_core: whitespace neatening

2015-08-17 Thread Sudip Mukherjee
On Sat, Aug 15, 2015 at 09:34:03PM -0400, Raphaël Beamonte wrote: > Signed-off-by: Raphaël Beamonte > --- > @@ -2182,30 +2182,30 @@ static void rtl8192_init_priv_variable(struct > net_device *dev) > priv->EarlyRxThreshold = 7; > priv->enable_gpio0 = 0; > priv->TransmitConfig =

Re: [PATCH 06/20] staging: rtl8192u: r8192U_core: fix missing struct leading to consistent spacing code style error

2015-08-17 Thread Sudip Mukherjee
On Sat, Aug 15, 2015 at 09:34:02PM -0400, Raphaël Beamonte wrote: > A missing struct keyword in variable declaration triggered a > need consistent spacing around '*' code style error. struct rtl8192_rx_info is typedef as rtl8192_rx_info. This same file is having few more use of rtl8192_rx_info with

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-17 Thread Mark Brown
On Tue, Aug 18, 2015 at 08:15:35AM +0530, Vaishali Thakkar wrote: > I think yes may be code was good before this. But devm_clk_put part should > work > fine as call of it is before PM stuff. So, can I send a patch > reverting the change > of component part or do you want me to send a patch revert

RE: [PATCH V4 4/7] Drivers: hv: vmbus: add APIs to register callbacks to process hvsock connection

2015-08-17 Thread KY Srinivasan
> -Original Message- > From: Dexuan Cui > Sent: Friday, August 7, 2015 3:27 AM > To: KY Srinivasan ; David Miller > > Cc: o...@aepfle.de; gre...@linuxfoundation.org; jasow...@redhat.com; > driverdev-de...@linuxdriverproject.org; linux-kernel@vger.kernel.org; > step...@networkplumber.org;

Re: [PATCH v2 3/3] power: wm831x_power: Support USB charger current limit management

2015-08-17 Thread Mark Brown
On Mon, Aug 17, 2015 at 06:58:16PM -0500, Felipe Balbi wrote: > On Mon, Aug 17, 2015 at 10:26:23AM -0700, Mark Brown wrote: > > On Mon, Aug 17, 2015 at 09:07:08AM +0800, Peter Chen wrote: > > > On Fri, Aug 14, 2015 at 05:47:46PM +0800, Baolin Wang wrote: > > > > + if (wm831x_pdata && wm831x_

RE: [v1 0/6] *** nps_enet fixups ***

2015-08-17 Thread Noam Camus
From: David Miller [mailto:da...@davemloft.net] Sent: Monday, August 17, 2015 8:36 PM > You should not move TX completion out of NAPI handling, NAPI poll is exactly > where it belongs. > > If you handle it in hardware interrupt context you have to use > dev_kfree_skb_irq() which defers the oper

Re: [PATCH 02/20] staging: rtl8192u: r8192U_core: fix consistent spacing code style error

2015-08-17 Thread Sudip Mukherjee
On Sat, Aug 15, 2015 at 09:33:58PM -0400, Raphaël Beamonte wrote: > Fix multiple occurences of the need consistent spacing code style error > > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/rtl8192u/r8192U_core.c | 28 ++-- > 1 file changed, 14 insertions(+), 14

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

2015-08-17 Thread Ezequiel Garcia
On 11 Aug 09:57 PM, Robert Jarzmik wrote: > Add verbose debug for register accesses. This enables easier debugging > by following where and how hardware is stimulated, and how it answers. > I really don't see why we want this patch. It's probably an useful hack to use in some cases, but can't see

Re: [PATCHv3] staging: wilc1000: use netdev_* instead of printk

2015-08-17 Thread Sudip Mukherjee
On Mon, Aug 17, 2015 at 07:06:40PM -0400, Raphaël Beamonte wrote: > Signed-off-by: Raphaël Beamonte > --- > drivers/staging/wilc1000/coreconfigurator.c | 4 ++-- > drivers/staging/wilc1000/linux_wlan.c| 8 > drivers/staging/wilc1000/linux_wlan_common.h | 28 > ++--

Re: [PATCH v3 33/51] resources: Make allocate_resource return just fit resource

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:51PM -0700, Yinghai Lu wrote: > Find all suitable empty slots and pick one just fit, so we could save > the big slot for needed ones later when we have several pcie switches > and some bridges get assigned bios and we need to assign others in kernel. By "just fit," do

Re: [PATCH v3 32/51] resources: Split out __allocate_resource()

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:50PM -0700, Yinghai Lu wrote: > It will not hold lock, so we could use it in other functions that > hold the resource lock already. What's the benefit of this patch? Does it fix something? Does it add some functionality we need? > > -v2: according to Linus, using "

Re: [PATCH v3 28/51] PCI: Unifiy calculate_size for io port and mmio

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:46PM -0700, Yinghai Lu wrote: > We should check size+size1 with min_size for io port. > For example, when hotplug bridge has two children bridges, > every child bridge will need 0x1000, so size1 will be 0x2000 > and size is 0. The min_size for the hotplug bridge is 0x1

Re: [PATCH v3 27/51] PCI: Move ISA ioport align out of calculate_iosize

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:45PM -0700, Yinghai Lu wrote: > So we could unify calculate_iosize and calculate_memsize later. Please make this a complete sentence, not just a continuation of the summary line. > when one bridge have several children devices, and every devices > have several io por

Re: [PATCH v3 25/51] PCI: Fix size calculation with old_size on rescan path

2015-08-17 Thread Bjorn Helgaas
On Mon, Jul 27, 2015 at 04:29:43PM -0700, Yinghai Lu wrote: > On booting path, we don't pass realloc at first, and treat all optional just > as must, in some case we can smaller size/align with optional than must only. > > 04:00.0 has four child bridges: 05:01.0, 05:02.0, 05:03.0, 05:04.0 > pref l

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-08-17 Thread Paul Turner
Apologies for the repeat. Gmail ate its plain text setting for some reason. Shame bells. On Mon, Aug 17, 2015 at 9:02 PM, Paul Turner wrote: > > > On Wed, Aug 5, 2015 at 7:31 AM, Tejun Heo wrote: >> >> Hello, >> >> On Wed, Aug 05, 2015 at 11:10:36AM +0200, Peter Zijlstra wrote: >> > > I've bee

linux-next: manual merge of the trivial tree with the v4l-dvb tree

2015-08-17 Thread Stephen Rothwell
Hi Jiri, Today's linux-next merge of the trivial tree got a conflict in: drivers/media/v4l2-core/videobuf2-memops.c between commit: 6690c8c78c74 ("[media] media: vb2: Remove unused functions") from the v4l-dvb tree and commit: e1c05067c323 ("treewide: fix typos in comment blocks") from

[PATCH v2 6/6] mtd: nand: gpmi: support NAND on i.MX6UL

2015-08-17 Thread Han Xu
support GPMI NAND on i.MX6UL Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 6 -- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpm

Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection

2015-08-17 Thread John Stultz
On Mon, Aug 17, 2015 at 7:57 PM, Shaohua Li wrote: > On Mon, Aug 17, 2015 at 03:17:28PM -0700, John Stultz wrote: >> That said, I agree the "should"s and other vague qualifiers in the >> commit description you point out should have more specifics to back >> things up. And I'm fine delaying this (a

[PATCH v2 4/6] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-08-17 Thread Han Xu
support GPMI NAND on i.MX7D Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-regs.h | 14 +++--- drivers/mtd/nand/gpmi-nand/gpmi-lib.c | 10 ++ drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 24 drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +-- 4 f

[PATCH v2 3/6] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-08-17 Thread Han Xu
By default NAND driver will choose the highest ecc strength that oob could contain, in this case, for some 8K+744 NAND flash, the ecc strength will be up to 52bit, which beyonds the i.MX6QDL BCH capability (40bit). This patch allows the NAND driver try to use minimum required ecc strength if it fa

[PATCH v2 1/6] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-08-17 Thread Han Xu
From: Huang Shijie i.MX6SX supports deep sleep mode(DSM) that may turn off GPMI/BCH power during suspend, add gpmi nand suspend/resume function to release DMA channel in suspend function and re-init GPMI/BCH controller during resume function. Although it is not necessary to restore GPMI/BCH regi

[PATCH v2 5/6] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-08-17 Thread Han Xu
i.MX6QP and i.MX7D BCH module integrated a new feature to detect the bitflip number for erased NAND page. So for these two platform, set the erase threshold to gf/2 and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu --- drivers/mtd/nand/gpmi-nand/bch-re

[PATCH v2 2/6] dmaengine: mxs: support i.MX7D and deep sleep mode

2015-08-17 Thread Han Xu
From: Huang Shijie The patch support i.MX7D platform by adding extra DMA clock. Deep Sleep Mode(dsm) turns off the power for APBH DMA module, add suspend/resume function and re-init the APBH DMA during resume. Signed-off-by: Huang Shijie Signed-off-by: Han Xu Signed-off-by: Adrian Alonso ---

[PATCH v2 0/6] mtd: nand: gpmi: gpmi-nand DSM and bitflip support

2015-08-17 Thread Han Xu
send the patchs to Huang Shijie's latest e-mail address v1 ---> v2 change the erased page bitflip threshold to ecc strength in bitflip patch Han Xu (4): mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND mtd: nand: gpmi: add GPMI NAND support for i.MX7D mtd: nand: gpmi: cor

[PATCH] video: fbdev: Use devm_clk_get

2015-08-17 Thread Vaishali Thakkar
This patch introduces the use of managed resource function devm_clk_get instead of clk_get and removes corresponding calls to clk_put in the probe and remove functions. To be compatible with the change various gotos are replaced with direct returns, and unneeded label failed_put_clk is dropped. S

Re: [PATCH RESEND] powerpc/numa: initialize distance lookup table from drconf path

2015-08-17 Thread Michael Ellerman
On Tue, 2015-08-11 at 15:25 +0530, Nikunj A Dadhania wrote: > Hi Michael, > > Nikunj A Dadhania writes: > > In some situations, a NUMA guest that supports > > ibm,dynamic-memory-reconfiguration node will end up having flat NUMA > > distances between nodes. This is because of two problems in the >

linux-next: manual merge of the block tree with the crypto tree

2015-08-17 Thread Stephen Rothwell
Hi Jens, Today's linux-next merge of the block tree got a conflict in: crypto/ccm.c between commit: 81c4c35eb61a ("crypto: ccm - Convert to new AEAD interface") from the crypto tree and commit: c56f6d1270b9 ("crypto: replace scatterwalk_sg_chain with sg_chain") from the block tree. I

Re: [PATCH] ARM: keystone: add a work around to handle asynchronous external abort

2015-08-17 Thread santosh.shilim...@oracle.com
Murali, On 8/17/15 3:12 PM, Murali Karicheri wrote: On 08/14/2015 05:56 PM, Russell King - ARM Linux wrote: On Fri, Aug 14, 2015 at 05:53:00PM -0400, Murali Karicheri wrote: We have spend some time already to debug the root cause. Do you have idea on how this was hunted down on OMAP that we ca

Re: linux-next: build failure after merge of the drm-exynos tree

2015-08-17 Thread Stephen Rothwell
Hi Inki, On Mon, 17 Aug 2015 16:08:36 +0900 Inki Dae wrote: > > And today, I re-based exynos-drm/for-next on top of mainline. Could you > update and try to build it again? It is OK in today's linux-next. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe fro

Re: [PATCH 8/9] clocksource: Improve unstable clocksource detection

2015-08-17 Thread Shaohua Li
On Mon, Aug 17, 2015 at 03:17:28PM -0700, John Stultz wrote: > On Mon, Aug 17, 2015 at 3:04 PM, Thomas Gleixner wrote: > > On Mon, 17 Aug 2015, John Stultz wrote: > > > >> From: Shaohua Li > >> > >> >From time to time we saw TSC is marked as unstable in our systems, while > > > > Stray '>' > > >

RE: [Intel-wired-lan] [PATCH] e100: Add a check after pci_pool_create to avoid null pointer dereference

2015-08-17 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Jia-Ju Bai > Sent: Sunday, August 02, 2015 7:17 PM > To: Kirsher, Jeffrey T; Brandeburg, Jesse > Cc: net...@vger.kernel.org; Jia-Ju Bai; intel-wired-...@lists.osuosl.org; > linux-kernel@vger.kernel.org > Subjec

RE: [PATCH 7/7] ipmi/kcs: Don't run the KCS state machine when it is KCS_IDLE

2015-08-17 Thread 河合英宏 / KAWAI,HIDEHIRO
> From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard > > This patch will break ATN handling on the interfaces. So we can't do this. I understand. So how about doing like this: /* All states wait for ibf, so just do it here. */ - if (!check_ibf(kcs, status

RE: [Intel-wired-lan] [PATCH] e100: Release skb when DMA mapping is failed in e100_xmit_prepare

2015-08-17 Thread Brown, Aaron F
> From: Intel-wired-lan [mailto:intel-wired-lan-boun...@lists.osuosl.org] On > Behalf Of Jia-Ju Bai > Sent: Sunday, August 02, 2015 7:41 PM > To: Kirsher, Jeffrey T; Brandeburg, Jesse > Cc: net...@vger.kernel.org; Jia-Ju Bai; intel-wired-...@lists.osuosl.org; > linux-kernel@vger.kernel.org > Subjec

Re: [PATCH v6 2/3] pwm: add MediaTek display PWM driver support

2015-08-17 Thread YH Huang
On Mon, 2015-08-17 at 15:23 +0200, Thierry Reding wrote: > On Mon, Jul 20, 2015 at 04:17:16PM +0800, YH Huang wrote: > > Add display PWM driver support to modify backlight for MT8173 and MT6595. > > The PWM has one channel to control the brightness of the display. > > When the (high_width / period)

Re: [PATCH] ASoC: tegra: Convert to managed resources

2015-08-17 Thread Vaishali Thakkar
On Tue, Aug 18, 2015 at 2:17 AM, Mark Brown wrote: > On Mon, Aug 17, 2015 at 03:02:29PM +0530, Vaishali Thakkar wrote: > >> I think you are right. I missed that. But now thing is , this patch is >> already >> applied here: >> https://git.kernel.org/cgit/linux/kernel/git/broonie/sound.git/commit/?

Re: [PATCH 1/2] Fixing vmx-crypto AES-CTR counter bug

2015-08-17 Thread Herbert Xu
On Fri, Aug 14, 2015 at 10:12:22AM -0300, Leonidas S Barbosa wrote: > AES-CTR is using a counter 8bytes-8bytes what miss match with > kernel specs. > > In the previous code a vadduwm was done to increment counter. > Replacing this for a vadduqm now considering both cases counter > 8-8 bytes and fu

Re: [PATCH 2/2] crypto: qat - Don't move data inside output buffer

2015-08-17 Thread Herbert Xu
On Mon, Aug 17, 2015 at 06:05:04PM -0700, Tadeusz Struk wrote: > On 08/17/2015 01:50 AM, Herbert Xu wrote: > >> If you don't like the first option then we still need this, as you pointed > >> out. > > Yes this looks like the right fix for qat. Please add a sign-off. > > You might be able to just

linux-next: manual merge of the net-next tree with the net tree

2015-08-17 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/usb/qmi_wwan.c between commit: a8079092c1bb ("net: qmi_wwan: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module") from the net tree and commit: 2070c48cf2b7 ("qmi_wwan: Add support for Dell Wireless 5809e 4G

Re: [PATCH] ceph: remove redundant test of head->safe and silence static analysis warnings

2015-08-17 Thread Yan, Zheng
> On Aug 17, 2015, at 09:05, Brad Hubbard wrote: > >ceph: remove redundant test of head->safe and silence static analysis > warnings > >Signed-off-by: Brad Hubbard > --- > fs/ceph/mds_client.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/fs/ceph/mds_client.

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

2015-08-17 Thread Eduardo Valentin
Russell, On Mon, Aug 17, 2015 at 12:55 AM, Russell King - ARM Linux wrote: > On Mon, Aug 17, 2015 at 12:17:54PM +1000, Stephen Rothwell wrote: >> Hi Eduardo, >> >> Today's linux-next merge of the thermal-soc tree got a conflict in: >> >> drivers/thermal/cpu_cooling.c >> >> between commit: >> >

Re: 0be964be0 "module: Sanitize RCU usage and locking" breaks symbol_put_addr?

2015-08-17 Thread Peter Zijlstra
On Mon, Aug 17, 2015 at 04:20:09PM -0700, Laura Abbott wrote: > Hi, > > We received a few bug backtraces: > > [ 41.536933] [ cut here ] > [ 41.537545] WARNING: CPU: 1 PID: 813 at kernel/module.c:291 > module_assert_mutex_or_preempt+0x49/0x90() > [ 41.538174] Modules

Re: [PATCH] regulator: core: Use IS_ERR_OR_NULL()

2015-08-17 Thread Viresh Kumar
On 17-08-15, 13:06, Mark Brown wrote: > On Mon, Aug 17, 2015 at 12:30:58PM +0530, Viresh Kumar wrote: > > Use IS_ERR_OR_NULL() rather than open coding it. > > Neither of the patches you sent today applied cleanly against current > code, please submit patches against the tree they're intended to be

Re: 3.18: lockdep problems in cpufreq

2015-08-17 Thread Eduardo Valentin
Hi there, On Mon, Aug 17, 2015 at 6:32 PM, Rafael J. Wysocki wrote: > > Well, that's the situation as per MAINTAINERS today. You seem to be concerned > that it may not reflect the reality, but in that case I can only recommend > sending a patch against MAINTAINERS to remove Eduardo from there

Re: Can I use static keys from asm?

2015-08-17 Thread Peter Zijlstra
On Mon, Aug 17, 2015 at 06:34:08PM -0700, Andy Lutomirski wrote: > 2. Context tracking enabled in config but completely disabled at > runtime. Distros do this. I want to nop out the context tracking > hooks. We have a static_key for this, but half the hooks are in asm. > To unsuck case 2, stati

Re: [PATCH v6 1/3] dt-bindings: pwm: add MediaTek display PWM bindings

2015-08-17 Thread YH Huang
On Mon, 2015-08-17 at 15:23 +0200, Thierry Reding wrote: > On Mon, Jul 20, 2015 at 04:17:15PM +0800, YH Huang wrote: > > Document the device-tree binding of MediatTek display PWM. > > I already mentioned this a while back: s/MediatTek/MediaTek/. > Sorry, I will correct it to "MediaTek". Regards,

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-17 Thread Yu Chen
Hi Pavel, thanks for your review, On 08/17/2015 09:27 PM, Pavel Machek wrote: On Mon 2015-08-17 12:11:15, Ingo Molnar wrote: * Chen Yu wrote: A bug is reported(https://bugzilla.redhat.com/show_bug.cgi?id=1227208) Access denied :-( Might need to register for accessing. What HW is this o

[V2] rdmsr before the CPUID test produces KVM warning

2015-08-17 Thread Huaitong Han
If KVM does not support INTEL_PT, guest MSR_IA32_RTIT_CTL reading will produce host warning like "kvm [2469]: vcpu0 unhandled rdmsr: 0x570". Guest can determine whether the CPU supports Intel_PT according to CPUID, so test_cpu_cap function is added before rdmsr,and it is more in line with the code

RE: [PATCH 6/7] ipmi: Handle queued messages more certainly on panic

2015-08-17 Thread 河合英宏 / KAWAI,HIDEHIRO
Hello Corey, > -Original Message- > From: Corey Minyard [mailto:tcminy...@gmail.com] On Behalf Of Corey Minyard > Sent: Wednesday, August 12, 2015 1:13 PM > To: 河合英宏 / KAWAI,HIDEHIRO > Cc: openipmi-develo...@lists.sourceforge.net; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 6/7] ipm

Re: [PATCH] x86, suspend: Save/restore THERM_CONTROL register for suspend

2015-08-17 Thread Yu Chen
(not sure if previous reply has been sent out) Hi, Ingo, thanks for your review, On 08/17/2015 06:11 PM, Ingo Molnar wrote: * Chen Yu wrote: So what your changelog fails to mention: - You only add this code to the 64-bit kernel. Are 32-bit kernels not affected? I missed the 32-bit case,

Re: [RFC PATCH v2] memory-barriers: remove smp_mb__after_unlock_lock()

2015-08-17 Thread Michael Ellerman
On Mon, 2015-08-17 at 09:57 +0100, Will Deacon wrote: > On Mon, Aug 17, 2015 at 07:15:01AM +0100, Paul E. McKenney wrote: > > On Mon, Aug 17, 2015 at 02:06:07PM +1000, Michael Ellerman wrote: > > > On Wed, 2015-08-12 at 08:43 -0700, Paul E. McKenney wrote: > > > I thought the end result of this thr

Re: [PATCH 2/3] QIB: Removing usage of pcie_set_mps()

2015-08-17 Thread Jason Gunthorpe
On Mon, Aug 17, 2015 at 07:06:10PM -0500, Bjorn Helgaas wrote: > On Mon, Aug 17, 2015 at 5:50 PM, Jiang, Dave wrote: > > On Mon, 2015-08-17 at 17:30 -0500, Bjorn Helgaas wrote: > >> [+cc Mike, linux-rdma] > >> > >> On Wed, Jul 29, 2015 at 04:18:54PM -0600, Keith Busch wrote: > >> > From: Dave Jian

Re: [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Baolin Wang
On 18 August 2015 at 01:24, Mark Brown wrote: > On Mon, Aug 17, 2015 at 11:03:26AM +0800, Baolin Wang wrote: >> On 14 August 2015 at 23:27, Greg KH wrote: >> > On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: > >> >> + * This program is free software; you can redistribute it and/or mo

Re: [Device-mainlining] [PATCH v2 2/3] gadget: Introduce the usb charger framework

2015-08-17 Thread Baolin Wang
On 17 August 2015 at 23:25, Tim Bird wrote: > > > On 08/16/2015 08:03 PM, Baolin Wang via device-mainlining wrote: >> On 14 August 2015 at 23:27, Greg KH wrote: >>> On Fri, Aug 14, 2015 at 05:47:45PM +0800, Baolin Wang wrote: + * + * This program is free software; you can redistribute i

Re: [PATCH] [v2] surface pro 3: Add support driver for Surface Pro 3 buttons

2015-08-17 Thread Yu Chen
On 08/11/2015 10:45 AM, Darren Hart wrote: On Fri, Aug 07, 2015 at 08:48:18AM +, Chen, Yu C wrote: On Fri, 2015-08-07 at 01:27 -0700, Joe Perches wrote: On Fri, 2015-08-07 at 15:57 +0800, Chen Yu wrote: \ I think the older switch/case was easier to un

Can I use static keys from asm?

2015-08-17 Thread Andy Lutomirski
I have the following silly problem: For kernels with context tracking compiled in, we need to call the context tracking hooks if context tracking is enabled. There are four interesting cases: 1. Context tracking disabled in config. This is easy to handle. 2. Context tracking enabled in config

Re: [PATCH] [PATCH v4] mtd:spi-nor: Add Altera Quad SPI Driver

2015-08-17 Thread Marek Vasut
On Tuesday, August 18, 2015 at 03:24:44 AM, Brian Norris wrote: > I'm not very helpful here, so hopefully Viet can be of more use: Yup :) > On Mon, Aug 17, 2015 at 07:53:23PM +0200, Marek Vasut wrote: > > On Monday, August 17, 2015 at 06:03:38 PM, Brian Norris wrote: > > Also, I cannot find any d

Re: [PATCH] [PATCH v4] mtd:spi-nor: Add Altera Quad SPI Driver

2015-08-17 Thread Brian Norris
I'm not very helpful here, so hopefully Viet can be of more use: On Mon, Aug 17, 2015 at 07:53:23PM +0200, Marek Vasut wrote: > On Monday, August 17, 2015 at 06:03:38 PM, Brian Norris wrote: > Also, I cannot find any documentation for this IP block even if I search > through > Quartus/QSys, is t

Re: linux-next: rebase of the drm-exynos tree

2015-08-17 Thread Inki Dae
Hi Stephen, On 2015년 08월 18일 07:50, Stephen Rothwell wrote: > Hi Inki, > > I noticed today that your tree > (git://git.kernel.org/pub/scm/linux/kernel/git/daeinki/drm-exynos.git#exynos-drm/for-next) > has been merged by Dave into his drm tree. Unfortunately, your tree > has also been rebased ont

Re: [PATCH v4 5/5] PM / devfreq: drop comment about thermal setting max_freq

2015-08-17 Thread MyungJoo Ham
> The thermal infrastructure should use the devfreq cooling device, which > uses the OPP library to disable OPPs as necessary. > > Fix a couple of typos in the same comment while we are at it. > > Cc: MyungJoo Ham > Signed-off-by: Javi Merino > --- > drivers/devfreq/devfreq.c | 6 +++--- > 1 f

Re: [PATCH 2/2] crypto: qat - Don't move data inside output buffer

2015-08-17 Thread Tadeusz Struk
On 08/17/2015 01:50 AM, Herbert Xu wrote: >> If you don't like the first option then we still need this, as you pointed >> out. > Yes this looks like the right fix for qat. Please add a sign-off. > You might be able to just do it by replying to this thread, and > patchwork may be able to pick it

linux-next: build failure after merge of the nfs tree

2015-08-17 Thread Stephen Rothwell
Hi Trond, After merging the nfs tree, today's linux-next build (x86_64 allmodconfig) failed like this: drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c: In function 'kiblnd_pmr_pool_map': drivers/staging/lustre/lnet/klnds/o2iblnd/o2iblnd.c:1828:2: error: implicit declaration of function 'ib_

  1   2   3   4   5   6   7   8   >