Re: [PATCH 4/4] x86: mm: support ARCH_MMAP_RND_BITS.

2015-11-18 Thread Kees Cook
On Wed, Nov 18, 2015 at 2:48 PM, Daniel Cashman wrote: > From: dcashman > > x86: arch_mmap_rnd() uses hard-coded values, 8 for 32-bit and 28 for > 64-bit, to generate the random offset for the mmap base address. > This value represents a compromise between increased ASLR > effectiveness and avoid

[PATCH 8/9] thp: handle file pages in split_huge_pmd()

2015-11-18 Thread Kirill A. Shutemov
Splitting THP PMD is simple: just unmap it as in DAX case. Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/mm/huge_memory.c b/mm/huge_memory.c index 661e144a619d..acd367b04730 100644 --- a/mm/huge_memory.c +++ b/m

[PATCH 6/9] rmap: support file THP

2015-11-18 Thread Kirill A. Shutemov
Naive approach: on mapping/unmapping the page as compound we update ->_mapcount on each 4k page. That's not efficient, but it's not obvious how we can optimize this. We can look into optimization later. PG_double_map optimization doesn't work for file pages since lifecycle of file pages is differe

[PATCH 9/9] WIP: shmem: add huge pages support

2015-11-18 Thread Kirill A. Shutemov
This is very early prototype of huge pages support in shmem/tmpfs. I'm still learning how shmem works. A lot of work is ahead. Currently, it's able to handle only very basic use-cases. Some notes: - we allocate pages only within i_size for now; - split_huge_page() in not implemented yet: alwa

[PATCH 2/9] mm: introduce fault_env

2015-11-18 Thread Kirill A. Shutemov
The idea borrowed from Peter's patch from patchset on speculative page faults[1]: Instead of passing around the endless list of function arguments, replace the lot with a single structure so we can change context without endless function signature changes. The changes are mostly mechanical with e

[PATCH 4/9] mm: introduce do_set_pmd()

2015-11-18 Thread Kirill A. Shutemov
With postponed page table allocation we have chance to setup huge pages. do_set_pte() calls do_set_pmd() if following criteria met: - page is compound; - pmd entry in pmd_none(); - vma has suitable size and alignment; Signed-off-by: Kirill A. Shutemov --- mm/huge_memory.c | 8 --- mm/in

Re: [PATCH perf/core 01/13] perf probe: Fix to free temporal Dwarf_Frame

2015-11-18 Thread Namhyung Kim
On November 19, 2015 7:36:39 AM GMT+09:00, Arnaldo Carvalho de Melo wrote: >Em Wed, Nov 18, 2015 at 03:40:12PM +0900, Masami Hiramatsu escreveu: >> Since dwarf_cfi_addrframe returns malloc'd Dwarf_Frame >> object, it has to be freed after used. > >Applied to perf/urgent > >> Signed-off-by: Masam

mmotm 2015-11-18-15-38 uploaded

2015-11-18 Thread akpm
The mm-of-the-moment snapshot 2015-11-18-15-38 has been uploaded to http://www.ozlabs.org/~akpm/mmotm/ mmotm-readme.txt says README for mm-of-the-moment: http://www.ozlabs.org/~akpm/mmotm/ This is a snapshot of my -mm patch queue. Uploaded at random hopefully more than once a week. You wi

[RFC] In-kernel fuzz testing for apps

2015-11-18 Thread Andrey Utkin
Me and my friend have once talked about careful application development, which includes awareness about all possible error conditions. So we have collected ideas about making kernel (or, in some cases, libc) "hostile" to careless application, and we present it so that the idea doesn't get lost, and

more statistics (was: [PATCH] unix: avoid use-after-free in ep_remove_wait_queue (w/ Fixes:))

2015-11-18 Thread Rainer Weikusat
Rainer Weikusat writes: [...] > Some more information on this: Running the test program included below > on my 'work' system (otherwise idle, after logging in via VT with no GUI > running)/ quadcore AMD A10-5700, 3393.984 for 20 times/ patched 4.3 resulted > in the > following throughput statis

Re: [PATCH 2/2] power: Add support for TI BQ24261 charger

2015-11-18 Thread Andreas Dannenberg
Hi Ram, I'm back in the battery charger game, please find additional feedback below. Generally speaking I'd like us to pick up the work on this driver again to get it over the hump. If you are B/W constrained I'd be happy to take over the upstreaming process - your call. It's just like I said earli

[PATCH 2/2] s390/mm: allow gmap code to retry on faulting in guest memory

2015-11-18 Thread Dominik Dingel
The userfaultfd does need FAULT_FLAG_ALLOW_RETRY to not return VM_FAULT_SIGBUS. So we improve the gmap code to handle one VM_FAULT_RETRY. Signed-off-by: Dominik Dingel --- arch/s390/mm/pgtable.c | 28 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/ar

[PATCH 1/2] mm: fixup_userfault returns VM_FAULT_RETRY if asked

2015-11-18 Thread Dominik Dingel
When calling fixup_userfault with FAULT_FLAG_ALLOW_RETRY, fixup_userfault didn't care about VM_FAULT_RETRY and returned 0. If the VM_FAULT_RETRY flag is set we will return the complete result of handle_mm_fault. Signed-off-by: Dominik Dingel --- mm/gup.c | 2 ++ 1 file changed, 2 insertions(+)

[PATCH 0/2] Allow gmap fault to retry

2015-11-18 Thread Dominik Dingel
Hello, during Jasons work with postcopy migration support for s390 a problem regarding gmap faults was discovered. The gmap code will call fixup_userfault which will end up always in handle_mm_fault. Till now we never cared about retries, but as the userfaultfd code kind of relies on it, this nee

Re: [PATCH 9/9] rtc-pcf2123: adjust the clock rate via sysfs

2015-11-18 Thread Joshua Clayton
On Wednesday, November 04, 2015 07:36:40 AM Joshua Clayton wrote: > pcf2123 has an offset register, which can be used to make minor > adjustments to the clock rate to compensate for temperature or > a crystal that is not exactly right. > > The adjustment is calculated in parts per billion. The dat

Re: [PATCH 8/9] rtc-pcf2123: use sysfs groups

2015-11-18 Thread Joshua Clayton
On Wednesday, November 04, 2015 07:36:39 AM Joshua Clayton wrote: > Switch from manually creating all the sysfs attributes to > defining them mostly in the canonical way. > We are adding them to an spi driver, so we must still add and remove > the group manually, but everythig else is done by The B

Re: [PATCH v4 2/4] Always running timer correlated clocksource

2015-11-18 Thread Jacob Pan
On Mon, 12 Oct 2015 11:45:20 -0700 "Hall, Christopher S" wrote: took a while to read the code, i have a few comments/questions > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > index c3f7602..c3f098c 100644 > --- a/arch/x86/kernel/tsc.c > +++ b/arch/x86/kernel/tsc.c > @@ -820,7 +820

Re: [PATCH 2/3] ARM: dts: enable clock support for Broadcom NSP

2015-11-18 Thread Ray Jui
Would this patch merge properly with the other NSP DT clean up patch + I2C DT patch that you worked out internally but have not sent out? I thought it's going to make the maintainers' life easier if you can group DT changes per platform and send them out in the same series. I also have some i

Re: [PATCH] hid: usbhid: hid-core: fix recursive deadlock

2015-11-18 Thread Josh Cartwright
On Wed, Nov 18, 2015 at 11:05:44PM +0200, Ioan-Adrian Ratiu wrote: > On Wed, 18 Nov 2015 21:37:42 +0100 (CET) > Jiri Kosina wrote: > > > On Wed, 18 Nov 2015, Ioan-Adrian Ratiu wrote: > > > > > The critical section protected by usbhid->lock in hid_ctrl() is too > > > big and in rare cases causes

Re: [PATCH 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-18 Thread Ray Jui
On 11/18/2015 3:13 PM, Jon Mason wrote: Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++- 1 file changed, 79 insertions(+), 1 deletion(-) diff --git a/arch/arm

Re: [PATCH 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-18 Thread Florian Fainelli
On 18/11/15 16:03, Ray Jui wrote: > > > On 11/18/2015 3:13 PM, Jon Mason wrote: >> Add device tree entries for clock support for Broadcom Northstar 2 SoC >> >> Signed-off-by: Jon Mason >> --- >> arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 >> ++- >> 1 file chang

Re: [PATCH 3/3] ARM64: dts: enable clock support for Broadcom NS2

2015-11-18 Thread Ray Jui
On 11/18/2015 4:07 PM, Florian Fainelli wrote: On 18/11/15 16:03, Ray Jui wrote: On 11/18/2015 3:13 PM, Jon Mason wrote: Add device tree entries for clock support for Broadcom Northstar 2 SoC Signed-off-by: Jon Mason --- arch/arm64/boot/dts/broadcom/ns2.dtsi | 80 ++

Re: [PATCH] include: asm-generic: page.h: Remove useless get_user_page and free_user_page

2015-11-18 Thread Russell King - ARM Linux
On Thu, Nov 19, 2015 at 03:40:25AM +0800, Chen Gang wrote: > >From ba7c00c4cb976109b6a35812ce9649aaeda81e2d Mon Sep 17 00:00:00 2001 > From: Chen Gang > Date: Thu, 19 Nov 2015 03:24:42 +0800 > Subject: [PATCH] include: asm-generic: page.h: Remove useless get_user_page > and free_user_page > > Th

[3.13.y-ckt stable] Linux 3.13.11-ckt30

2015-11-18 Thread Kamal Mostafa
I am announcing the release of the Linux 3.13.11-ckt30 kernel. The updated 3.13.y-ckt tree can be found at: git://kernel.ubuntu.com/ubuntu/linux.git linux-3.13.y and can be browsed at: http://kernel.ubuntu.com/git/ubuntu/linux.git/log/?h=linux-3.13.y The diff from v3.13.11-ckt29 is posted

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-11-18 Thread Herbert Xu
On Wed, Nov 18, 2015 at 07:58:56AM -0800, Tim Chen wrote: > > IPSec will invoke this multi-buffer encrypt with async request. > The work is done in crypto daemon, so it wouldn't be in atomic > context. But anyway, I'm okay with switching to ablkcipher walk, > as long as it doesn't incur too much m

Re: [PATCH v3 1/4] mm: mmap: Add new /proc tunable for mmap_base ASLR.

2015-11-18 Thread Daniel Cashman
On 11/18/2015 03:20 PM, Daniel Cashman wrote: > == > > +mmap_rnd_bits: > + > +This value can be used to select the number of bits to use to > +determine the random offset to the base address of vma regions > +resulting from mmap allocat

[PATCHv2] arm: Update all mm structures with section adjustments

2015-11-18 Thread Laura Abbott
Currently, when updating section permissions to mark areas RO or NX, the only mm updated is current->mm. This is working off the assumption that there are no additional mm structures at the time. This may not always hold true. (Example: calling modprobe early will trigger a fork/exec). Ensure all m

Re: [3.13.y-ckt stable] Linux 3.13.11-ckt30

2015-11-18 Thread Kamal Mostafa
diff --git a/Makefile b/Makefile index ff695f0..22bc611 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = 3 PATCHLEVEL = 13 SUBLEVEL = 11 -EXTRAVERSION = -ckt29 +EXTRAVERSION = -ckt30 NAME = King of Alienated Frog Porn # *DOCUMENTATION* diff --git a/arch/arm/plat-orion/common.c

Re: [PATCH 1/2] mm: fixup_userfault returns VM_FAULT_RETRY if asked

2015-11-18 Thread Kirill A. Shutemov
On Thu, Nov 19, 2015 at 12:49:57AM +0100, Dominik Dingel wrote: > When calling fixup_userfault with FAULT_FLAG_ALLOW_RETRY, fixup_userfault > didn't care about VM_FAULT_RETRY and returned 0. If the VM_FAULT_RETRY flag is > set we will return the complete result of handle_mm_fault. > > Signed-off-b

Re: [PATCH v3 4/4] x86: mm: support ARCH_MMAP_RND_BITS.

2015-11-18 Thread Daniel Cashman
On 11/18/2015 03:20 PM, Daniel Cashman wrote: > - /* > - * 8 bits of randomness in 32bit mmaps, 20 address space bits > - * 28 bits of randomness in 64bit mmaps, 40 address space bits > - */ This should be removed. -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH 3/3] security/apparmor: do not define list_entry_next

2015-11-18 Thread Sergey Senozhatsky
On (11/18/15 10:19), John Johansen wrote: > On 11/18/2015 04:14 AM, Sergey Senozhatsky wrote: > > Cosmetic. > > > > Do not define list_entry_next() and use list_next_entry() > > from list.h. > > > > two days to late, > > Geliang Tang already submitted the same patch in > [PATCH 3/3] apparmor: u

Re: [RFD] CAT user space interface revisited

2015-11-18 Thread Marcelo Tosatti
On Wed, Nov 18, 2015 at 07:25:03PM +0100, Thomas Gleixner wrote: > Folks! > > After rereading the mail flood on CAT and staring into the SDM for a > while, I think we all should sit back and look at it from scratch > again w/o our preconceptions - I certainly had to put my own away. > > Let's loo

Re: [PATCH 1/3] misc:scif: do not define list_entry_next

2015-11-18 Thread Sergey Senozhatsky
On (11/18/15 08:17), Sudeep Dutt wrote: > On Wed, 2015-11-18 at 21:10 +0900, Sergey Senozhatsky wrote: > > Cosmetic. > > > > Do not define list_entry_next() and use list_next_entry() > > from list.h. > > > > Hi Sergey, > > A similar patch was posted @ https://lkml.org/lkml/2015/11/16/328 Oh, s

Re: [PATCH 01/39] pinctrl: Move am4372 and dra7 macros to the the SoC header files

2015-11-18 Thread Tony Lindgren
* Javier Martinez Canillas [151117 05:51]: > Hello Linus, > > On 11/17/2015 10:47 AM, Linus Walleij wrote: > > On Fri, Nov 13, 2015 at 5:53 AM, Javier Martinez Canillas > > wrote: > > > >> The header file defines a set of macros > >> for different SoCs families that falls under the OMAP sub-ar

linux-next: manual merge of the drm-intel tree with Linus' tree

2015-11-18 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the drm-intel tree got a conflict in: drivers/gpu/drm/i915/intel_runtime_pm.c between commitis: bc5f2ab11ca6 ("drm/i915/skl: Don't call intel_prepare_ddi when encoder list isn't yet initialized.") 1b0e3a049efe ("drm/i915/skl: disable display side power

Re: [PATCH] tree wide: Use kvfree() than conditional kfree()/vfree()

2015-11-18 Thread David Rientjes
On Mon, 9 Nov 2015, Tetsuo Handa wrote: > There are many locations that do > > if (memory_was_allocated_by_vmalloc) > vfree(ptr); > else > kfree(ptr); > > but kvfree() can handle both kmalloc()ed memory and vmalloc()ed memory > using is_vmalloc_addr(). Unless callers have special rea

Re: [PATCH 0/9] rtc-2123: access the clock offset feature

2015-11-18 Thread Joshua Clayton
On Tuesday, November 17, 2015 05:25:30 PM Alexandre Belloni wrote: > On 17/11/2015 at 07:30:48 -0800, Joshua Clayton wrote : > > On Wednesday, November 04, 2015 07:36:31 AM Joshua Clayton wrote: > > Any comments on this series? > > I realize now that I submitted it during the merge window, so it ma

[patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread David Rientjes
VM_VPAGES is unnecessary, it's easier to check is_vmalloc_addr() when reading /proc/vmallocinfo. Signed-off-by: David Rientjes --- include/linux/vmalloc.h | 1 - mm/vmalloc.c| 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/include/linux/vmalloc.h b/include/linux

linux-next: build failure after merge of the sound-asoc tree

2015-11-18 Thread Stephen Rothwell
:43:13: error: 'struct snd_soc_card' has no member named 'rtd' rtd = card->rtd + i; ^ Caused by commit a86d505783e4 ("ASoC: Intel: Skylake: Adding nau88l25+ssm4567 machine driver") I have used the sound-asoc tree from next-20151118 for today. -- Cheers, Steph

平时最多也就联系了三千家,全球还有十几万客户在哪里?

2015-11-18 Thread Anny
您好: 您还在用ali平台开发外贸客户? 还在使用展会宣传企业和产品? 你out了!!! 当前外贸客户开发难,您是否也在寻找展会,B2B之外好的渠道? 行业全球十几万客户,平时最多也就联系了三千家,您是否想把剩下的也开发到? 加QQ2821117472给您演示下主动开发客户的方法,先用先受益,已经有近万家企业领先您使用!!。 广东省商业联合会推荐,主动开发客户第一品牌,近万家企业正在获益。您可以没有使用,但是不能没有了解。 -- To unsubscribe from this list: send the line "unsubsc

Re: [RFD] CAT user space interface revisited

2015-11-18 Thread Marcelo Tosatti
On Wed, Nov 18, 2015 at 08:34:07PM -0200, Marcelo Tosatti wrote: > On Wed, Nov 18, 2015 at 07:25:03PM +0100, Thomas Gleixner wrote: > > Folks! > > > > After rereading the mail flood on CAT and staring into the SDM for a > > while, I think we all should sit back and look at it from scratch > > agai

Re: [lkp] [x86, perf] 7aba70e47c: BUG: unable to handle kernel paging request at 696d2f62

2015-11-18 Thread Huang, Ying
Hi, Peter, Peter Zijlstra writes: > On Wed, Nov 18, 2015 at 02:33:00PM +0800, kernel test robot wrote: >> FYI, we noticed the below changes on >> >> https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git perf/core >> commit 7aba70e47ca4e961acb5af96d5127e3fad651c7c ("x86, perf: Optimiz

Re: [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread kbuild test robot
Hi David, [auto build test WARNING on: next-20151118] [also build test WARNING on: v4.4-rc1] url: https://github.com/0day-ci/linux/commits/David-Rientjes/mm-vmalloc-remove-VM_VPAGES/20151119-083326 config: x86_64-randconfig-x015-11181928 (attached as .config) reproduce: # save the

Re: [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread kbuild test robot
Hi David, [auto build test ERROR on: next-20151118] [also build test ERROR on: v4.4-rc1] url: https://github.com/0day-ci/linux/commits/David-Rientjes/mm-vmalloc-remove-VM_VPAGES/20151119-083326 config: i386-tinyconfig (attached as .config) reproduce: # save the attached .config to

Re: [PATCH v3 3/5] soc: rockchip: add reboot notifier driver

2015-11-18 Thread kbuild test robot
Hi Andy, [auto build test WARNING on rockchip/for-next] [also build test WARNING on v4.4-rc1 next-20151118] url: https://github.com/0day-ci/linux/commits/Andy-Yan/Add-reboot-notifier-driver-for-rockchip-platform/20151118-181000 base: https://git.kernel.org/pub/scm/linux/kernel/git/mmind

[RESEND PATCH v3] dt-bindings: Consolidate SRAM bindings from all vendors

2015-11-18 Thread Krzysztof Kozlowski
SRAM bindings for various SoCs, using the mmio-sram genalloc API, are spread over different places - per SoC vendor. Since all of these are quite similar (they depend on mmio-sram) move them to a common place. Suggested-by: Rob Herring Signed-off-by: Krzysztof Kozlowski Cc: Heiko Stuebner Cc: M

[PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulpanit
This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead, it should check the of_node of the host bridge. Fixes: 50230713b639 ("PCI: OF: Move of_pci_dma_configure() to pci_dma_configure()") Reported-by: Robin Murphy Cc: Rafael J

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Suravee Suthikulanit
Arg... sorry for the typo in the subject. It should say: [PATCH] PCI: Fix OF logic in pci_dma_configure() Suravee On 11/18/2015 6:49 PM, Suravee Suthikulpanit wrote: This patch fixes a bug introduced by previous commit, which incorrectly checkes the of_node of the end-point device. Instead, it

Re: [PATCH 3/3 v2] dl2k: Implement suspend

2015-11-18 Thread Francois Romieu
Ondrej Zary : [...] > diff --git a/drivers/net/ethernet/dlink/dl2k.c > b/drivers/net/ethernet/dlink/dl2k.c > index 9e9baa0..28a96d3 100644 > --- a/drivers/net/ethernet/dlink/dl2k.c > +++ b/drivers/net/ethernet/dlink/dl2k.c [...] > @@ -1824,11 +1831,55 @@ rio_remove1 (struct pci_dev *pdev) >

Re: [PATCH v3 5/5] x86/entry/64: Bypass enter_from_user_mode on non-context-tracking boots

2015-11-18 Thread Frederic Weisbecker
On Mon, Nov 16, 2015 at 03:57:05PM -0800, Andy Lutomirski wrote: > On Mon, Nov 16, 2015 at 2:50 PM, Frederic Weisbecker > wrote: > > On Mon, Nov 16, 2015 at 11:10:55AM -0800, Andy Lutomirski wrote: > >> On Nov 13, 2015 7:26 AM, "Frederic Weisbecker" wrote: > >> > > >> > On Thu, Nov 12, 2015 at 1

Re: [PATCH v3] SPI: s3c64xx: pass DMA arguments in platform data

2015-11-18 Thread Krzysztof Kozlowski
On 18.11.2015 23:21, Arnd Bergmann wrote: > The s3c64xx platform data already contains a pointer to the > DMA filter function, but not to the associated data. > > This simplifies the code and makes it more generic by > passing the data along with the filter function like > we do for other drivers.

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-18 Thread Takuya Yoshikawa
On 2015/11/18 11:44, Xiao Guangrong wrote: On 11/12/2015 07:50 PM, Takuya Yoshikawa wrote: +if (!ret) { +clear_unsync_child_bit(sp, i); +continue; +} else if (ret > 0) { nr_unsync_leaf += ret; Just a single line here, b

Re: [patch -mm] mm, vmalloc: remove VM_VPAGES

2015-11-18 Thread David Rientjes
On Thu, 19 Nov 2015, kbuild test robot wrote: > Hi David, > > [auto build test ERROR on: next-20151118] > [also build test ERROR on: v4.4-rc1] > You need to teach your bot what patches I'm proposing for the -mm tree (notice the patch title) instead of your various tree

Re: kernel BUG at drivers/scsi/scsi_lib.c:1096!

2015-11-18 Thread Michael Ellerman
On Wed, 2015-11-18 at 09:03 -0500, Mark Salter wrote: > On Wed, 2015-11-18 at 20:18 +1100, Michael Ellerman wrote: > > Hi folks, > > > > I'm intermittently seeing the following oops on at least one powerpc box. > > > > The BUG_ON() is from: > > > > static int scsi_init_sgtable(struct request *re

linux-next: manual merge of the audit tree with Linus' tree

2015-11-18 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the audit tree got a conflict in: kernel/audit.c between commit: d0164adc89f6 ("mm, page_alloc: distinguish between being unable to sleep, unwilling to sleep and avoiding waking kswapd") from Linus' tree and commit: 14eeba1d242e ("audit: include aud

Re: [RFD] CAT user space interface revisited

2015-11-18 Thread Marcelo Tosatti
On Wed, Nov 18, 2015 at 10:01:53PM -0200, Marcelo Tosatti wrote: > On Wed, Nov 18, 2015 at 07:25:03PM +0100, Thomas Gleixner wrote: > > Folks! > > > > After rereading the mail flood on CAT and staring into the SDM for a > > while, I think we all should sit back and look at it from scratch > > agai

[PATCH V2] regulator: pv88060: new regulator driver

2015-11-18 Thread James Ban
From: James Ban This is the driver for the Powerventure PV88060 BUCKs and LDOs regulator. It communicates via an I2C bus to the device. Signed-off-by: James Ban --- Changes since PATCH V1 - Removed parsing the DT manually. - Removed setting the constraints in driver. - Removed printing an err

Re: [PATCH 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-18 Thread Stephen Boyd
On 11/16, Viresh Kumar wrote: > @@ -794,20 +806,32 @@ static int _opp_add_v1(struct device *dev, unsigned > long freq, long u_volt, > } > > /* TODO: Support multiple regulators */ > -static int opp_parse_supplies(struct dev_pm_opp *opp, struct device *dev) > +static int opp_parse_supplies(stru

Re: [PATCH v3 2/5] dt-bindings: soc: add document for rockchip reboot notifier driver

2015-11-18 Thread Andy Yan
Hi Rob: On 2015年11月19日 06:59, Rob Herring wrote: On Wed, Nov 18, 2015 at 05:53:30PM +0800, Andy Yan wrote: Add devicetree binding document for rockchip reboot nofifier driver Just reading the subject this is way too specific to the Linux driver needs rather than a h/w description. Please don't

Re: [PATCH 1/2] usb: doc: dwc3-xilinx: Add devicetree bindings

2015-11-18 Thread Rob Herring
On Wed, Nov 18, 2015 at 5:02 PM, Felipe Balbi wrote: > > Hi, > > Rob Herring writes: >> On Wed, Nov 18, 2015 at 06:20:31PM +0530, Subbaraya Sundeep Bhatta wrote: >>> This patch adds binding doc for Xilinx DWC3 glue driver. >>> >>> Signed-off-by: Subbaraya Sundeep Bhatta >> >> I really dislike ho

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m make: Entering directory '/home/git/linux/tools/perf' BUILD: Doing 'make -j4' para

Re: [PATCH] PCI: Fix logic OF logic in pci_dma_configure()

2015-11-18 Thread Rafael J. Wysocki
On Wednesday, November 18, 2015 06:54:16 PM Suravee Suthikulanit wrote: > Arg... sorry for the typo in the subject. It should say: > > [PATCH] PCI: Fix OF logic in pci_dma_configure() OK, applied. Thanks, Rafael -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [PATCH] perf test: Add bpf-output event

2015-11-18 Thread Wangnan (F)
On 2015/11/19 7:14, Alexei Starovoitov wrote: On Wed, Nov 18, 2015 at 05:50:39PM -0300, Arnaldo Carvalho de Melo wrote: Em Wed, Nov 18, 2015 at 11:26:04AM -0800, Sukadev Bhattiprolu escreveu: >From 8f71d55dd3e27e6ca2138e3ed6dfeceb1c00a426 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu Da

Re: [PATCH 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-18 Thread Ray Jui
Hi Marc, On 11/18/2015 12:48 AM, Marc Zyngier wrote: On Tue, 17 Nov 2015 16:31:54 -0800 Ray Jui wrote: Hi Ray, A few comments below. This patch adds PCIe MSI support for both PAXB and PAXC interfaces on all iProc based platforms. The patch follows the latest trend in the kernel to use MSI d

Re: [PATCH v2 2/2] usb: dwc2: host: Clear interrupts before handling them

2015-11-18 Thread John Youn
On 11/16/2015 9:22 AM, Doug Anderson wrote: > Felipe, > > On Mon, Nov 16, 2015 at 8:28 AM, Felipe Balbi wrote: >> >> Hi, >> >> Douglas Anderson writes: >>> In general it is wise to clear interrupts before processing them. If >>> you don't do that, you can get: >>> 1. Interrupt happens >>> 2.

Re: [PATCH V6 RESEND 1/3] reset: hisilicon: document hisi-hi6220 reset controllers bindings

2015-11-18 Thread chenfeng
On 2015/11/19 1:27, Philipp Zabel wrote: > Am Freitag, den 30.10.2015, 11:19 +0800 schrieb Chen Feng: >> Add DT bindings documentation for hi6220 SoC reset controller. >> >> Signed-off-by: Chen Feng >> --- >> .../bindings/reset/hisilicon,hi6220-reset.txt | 34 +++ >> include/dt-bin

Re: [PATCH V6 RESEND 2/3] reset: hi6220: Reset driver for hisilicon hi6220 SoC

2015-11-18 Thread chenfeng
Zabel, On 2015/11/19 1:27, Philipp Zabel wrote: > Am Freitag, den 30.10.2015, 11:19 +0800 schrieb Chen Feng: >> Add reset driver for hi6220-hikey board,this driver supply deassert >> of IP on hi6220 SoC. >> >> Signed-off-by: Chen Feng > [...] >> diff --git a/drivers/reset/hisilicon/Kconfig >> b/

Re: [PATCH 1/3] ARM: imx: clk-vf610: fix SAI clock tree

2015-11-18 Thread Stefan Agner
Hi Shawn, Any thoughts on that patchset? I kind of hoped that it would make it into 4.4 since it actually fixes issues (at least 1 and 2)... That said, I don't think it is stable material since it also breaks the device tree... -- Stefan On 2015-10-17 21:05, Stefan Agner wrote: > The Synchronous

Re: [PATCH 2/3] PM / OPP: Parse 'opp-supported-hw' binding

2015-11-18 Thread Viresh Kumar
On 18-11-15, 14:53, Stephen Boyd wrote: > Why do we need to allocate an array to check the property a u32 > at a time? We should be able to call of_property_read_u32_index() > in a loop and check that against the version array. No allocation > needed. -8<---

Re: [PATCH RESEND] pwm: ftm: fix clock enable/disable when using PM

2015-11-18 Thread Stefan Agner
Thierry, I realized that this patch did not make it into 4.4-rc1, while others, IMHO less important patches which have been posted later (e.g. sunxi whitespace fixes) have made it! :-( Anything wrong with that? Or am I on your spam list? Note that this is already a RESEND :-) -- Stefan On 2015-

...

2015-11-18 Thread Albert James
Hello, DO YOU NEED FINANCIAL HELP? IF YES, CONTACT US VIA EMAIL: ( f-cs...@att.net ). Thank you. Albert James. -- 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://vger.kernel.org/majordomo-

Re: kernel oops on mmotm-2015-10-15-15-20

2015-11-18 Thread Minchan Kim
On Tue, Nov 17, 2015 at 11:32:13AM +0200, Kirill A. Shutemov wrote: > On Tue, Nov 17, 2015 at 04:35:39PM +0900, Minchan Kim wrote: > > On Mon, Nov 16, 2015 at 12:54:53PM +0200, Kirill A. Shutemov wrote: > > > On Mon, Nov 16, 2015 at 07:32:20PM +0900, Minchan Kim wrote: > > > > On Mon, Nov 16, 2015

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 9:24, Wangnan (F) wrote: On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m make: Entering directory '/home/git/linux/too

Re: [PATCH 07/10] KVM: x86: MMU: Encapsulate the type of rmap-chain head in a new struct

2015-11-18 Thread Takuya Yoshikawa
On 2015/11/18 18:09, Paolo Bonzini wrote: On 18/11/2015 04:21, Xiao Guangrong wrote: On 11/12/2015 07:55 PM, Takuya Yoshikawa wrote: @@ -1720,7 +1724,7 @@ static struct kvm_mmu_page *kvm_mmu_alloc_page(struct kvm_vcpu *vcpu, * this feature. See the comments in kvm_zap_obsolete_pages(

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-18 Thread Finn Thain
On Wed, 18 Nov 2015, Ondrej Zary wrote: > On Wednesday 18 November 2015, Finn Thain wrote: > > > Like my previous work on the NCR5380 drivers, this patch series has > > bug fixes, code cleanup and modernization. These drivers suffer from > > mistakes, poor style and neglect and this long serie

Re: perf BPF/elfdep intermitent build problems

2015-11-18 Thread Wangnan (F)
On 2015/11/19 10:21, Wangnan (F) wrote: On 2015/11/19 9:24, Wangnan (F) wrote: On 2015/11/19 6:44, Arnaldo Carvalho de Melo wrote: Have you guys ever saw this? [acme@zoo linux]$ alias m alias m='perf stat -e cycles make O=/tmp/build/perf -C tools/perf install-bin' [acme @zoo linux]$ m ma

[PATCH 0/3] Improve bitmap_empty and bitmap_full

2015-11-18 Thread Jia He
find_fisrt_{zero_}bit are too heavy for bitmap_{full,empty}. We don't need to calculate and compare the position of bitmap. This set of patch instroduces lightweight api and replaces the heavy one. Jia He (3): linux/bitmap: Move 2 mask macro from bitmap.h to bitops.h lib: Introduce 2 find bit

[PATCH 1/3] linux/bitmap: Move 2 mask macro to bitops.h

2015-11-18 Thread Jia He
This patch moves the mask macro to bitops.h and then the new introduced api in find_bit.c can use it. Signed-off-by: Jia He --- include/linux/bitmap.h | 3 --- include/linux/bitops.h | 4 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/linux/bitmap.h b/include/linux/b

[PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread Jia He
This is to replace find_fisrt_{zero_}bit with the new lightweight api all_bit_is_{one,zero} in bitmap_{full,empty} Signed-off-by: Jia He --- include/asm-generic/bitops/find.h | 3 +++ include/linux/bitmap.h| 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/incl

[PATCH 2/3] lib: Introduce 2 find bit api: all_is_bit_{one,zero}

2015-11-18 Thread Jia He
This patch introduces 2 lightweight bit api. all_bit_is_zero return 1 if the bit string is all zero. The addr is the start address, the size is the bit size of the bit string. all_bit_is_one is the opposite. Signed-off-by: Jia He --- lib/find_bit.c | 50 ++

Re: [PATCH] usb: gadget: Add the console support for usb-to-serial port

2015-11-18 Thread Baolin Wang
On 18 November 2015 at 23:32, Peter Hurley wrote: > Hi Baolin, > > On 11/16/2015 02:05 AM, Baolin Wang wrote: >> It dose not work when we want to use the usb-to-serial port based >> on one usb gadget as a console. Thus this patch adds the console >> initialization to support this request. > > I ha

Re: A new, fast and "unbreakable" encryption algorithm

2015-11-18 Thread Ismail Kizir
I am not a cyrptoanalyst, not a mathematicien. But, I wanted to enumerate some facts about "The Hohha Dynamic XOR Encryption" algorithm I mentioned earlier. My algorithm is "fundamentally different" from classical encryption methods, because, it dynamically "encrypts" the key itself "during a sing

Re: [PATCH v2 1/5] crypto: Multi-buffer encryptioin infrastructure support

2015-11-18 Thread Tim Chen
On Thu, 2015-11-19 at 08:12 +0800, Herbert Xu wrote: > On Wed, Nov 18, 2015 at 07:58:56AM -0800, Tim Chen wrote: > > > > IPSec will invoke this multi-buffer encrypt with async request. > > The work is done in crypto daemon, so it wouldn't be in atomic > > context. But anyway, I'm okay with switchi

[PATCH 2/7] drm/fsl-dcu: remove regmap return value checks

2015-11-18 Thread Stefan Agner
It is not common to do regmap return value checks, especially not for memory mapped device. We can rule out most error returns since the conditions are static and we know they are ok (e.g. offset aligned to register stride). Also without proper error handling they are not really valuable for the us

[PATCH 6/7] drm/fsl-dcu: fix alpha blending

2015-11-18 Thread Stefan Agner
Fix alpha blending by enabling alpha blending for the whole frame if a color mode with alpha channel is selected (DRM_FORMAT_ARGB*). Also support color modes without alpha channel (DRM_FORMAT_XRGB*) by just not enabling alpha blending on layer level. Signed-off-by: Stefan Agner --- drivers/gpu/d

[PATCH 7/7] drm/fsl-dcu: use mode flags for hsync/vsync pixelclk polarity

2015-11-18 Thread Stefan Agner
The current default configuration is as follows: - Display samples data on the falling edge - Invert VSYNC signal (active LOW) - Invert HSYNC signal (active LOW) The mode flags allow to specify the required polarity per display. Furthermore, none of the current driver settings is actually a standa

[PATCH 1/7] drm/fsl-dcu: specify volatile registers

2015-11-18 Thread Stefan Agner
Since we are using cached registers, we need to specify volatile registers explicitly to avoid reading their value from the cache. This allows to read the correct interrupt status in fsl_dcu_drm_irq and clear the asserted bits only. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu

[PATCH 3/7] drm/fsl-dcu: avoid memory leak on errors

2015-11-18 Thread Stefan Agner
Improve error handling during CRTC initialization. Especially avoid memory leaks in the primary plane initialization error path. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_crtc.c | 7 ++- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_plane.c | 1 + 2 files changed, 7 insertio

[PATCH 5/7] drm/fsl-dcu: mask all interrupts on initialization

2015-11-18 Thread Stefan Agner
The state of the interrupt mask register on initialization is unknown, e.g. U-Boot could already used the DCU. So depending on the boot loader, the outcome of the interrupt mask register could be different. A defined state is much more preferable. Also, there is no value in keeping interrupts enabl

[PATCH 4/7] drm/fsl-dcu: handle initialization errors properly

2015-11-18 Thread Stefan Agner
If initialization fails (e.g. due to missing panel node or deferred probe) make sure to roll-back all operations and return the error code. Signed-off-by: Stefan Agner --- drivers/gpu/drm/fsl-dcu/fsl_dcu_drm_kms.c | 24 1 file changed, 20 insertions(+), 4 deletions(-) d

[PATCH 0/7] drm/fsl-dcu: fixes and enhancements

2015-11-18 Thread Stefan Agner
During testing the DCU DRM driver on the Freescale Vybrid platform I came across some (platform independent) bugs and problems which this patchset addresses. Note: To use the driver on Vybrid some platform/device-tree enhancements are needed which are not part of this patchset. I still need to cle

Re: [PATCH v4 3/3] ARM: dts: rockchip: Add the OTP gpio pinctrl

2015-11-18 Thread Caesar Wang
Hi Heiko, 在 2015年10月25日 15:55, Heiko Stübner 写道: Am Freitag, 23. Oktober 2015, 08:25:08 schrieb Doug Anderson: On Fri, Oct 23, 2015 at 4:25 AM, Caesar Wang wrote: Add the "init" anf "sleep" pinctrl as the OTP gpio state. We need the OTP pin is gpio state before resetting the TSADC controller,

Re: [RESEND RFC/PATCH 1/8] dt-bindings: Add a binding for Mediatek Video Processor Unit

2015-11-18 Thread andrew-ct chen
On Tue, 2015-11-17 at 14:13 +, Mark Rutland wrote: > On Tue, Nov 17, 2015 at 08:54:38PM +0800, Tiffany Lin wrote: > > From: Andrew-CT Chen > > > > Add a DT binding documentation of Video Processor Unit for the > > MT8173 SoC from Mediatek. > > > > Signed-off-by: Andrew-CT Chen > > --- > >

Re: [PATCH 02/10] KVM: x86: MMU: Add helper function to clear a bit in unsync child bitmap

2015-11-18 Thread Xiao Guangrong
On 11/19/2015 08:59 AM, Takuya Yoshikawa wrote: On 2015/11/18 11:44, Xiao Guangrong wrote: On 11/12/2015 07:50 PM, Takuya Yoshikawa wrote: +if (!ret) { +clear_unsync_child_bit(sp, i); +continue; +} else if (ret > 0) {

Re: [PATCH 00/71] More fixes, cleanup and modernization for NCR5380 drivers

2015-11-18 Thread Michael Schmitz
Hi Finn, >>> >>> I have compile-tested all patches to all NCR5380 drivers (x86, ARM, >>> m68k) and regression tested mac_scsi and dmx3191d modules on suitable >>> hardware. Testing the mac_scsi and dmx3191d modules provides only >>> limited coverage. It would be good to see some testing of ISA

Re: [PATCH 3/3] linux/bitmap: Replace find_fisrt_{zero_}bit with the new lightweight api

2015-11-18 Thread kbuild test robot
Hi Jia, [auto build test ERROR on: v4.4-rc1] [also build test ERROR on: next-20151118] url: https://github.com/0day-ci/linux/commits/Jia-He/Improve-bitmap_empty-and-bitmap_full/20151119-103554 config: m68k-allyesconfig (attached as .config) reproduce: wget https://git.kernel.org

RE: [PATCH perf/core 00/13] perf memory/refcnt leak fixes

2015-11-18 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] > >Em Wed, Nov 18, 2015 at 03:40:09PM +0900, Masami Hiramatsu escreveu: >> Hi, >> >> Here is a series to fix some memory leaks and refcount >> leaks on map and dso. This also includes the refcnt APIs >> with backtrace debugging feature. > >Coo

Re: [PATCH 4/5] PCI: iproc: Add iProc PCIe MSI support

2015-11-18 Thread Ray Jui
Hi Marc, On 11/18/2015 5:37 PM, Ray Jui wrote: Hi Marc, On 11/18/2015 12:48 AM, Marc Zyngier wrote: On Tue, 17 Nov 2015 16:31:54 -0800 Ray Jui wrote: +static int iproc_msi_irq_domain_alloc(struct irq_domain *domain, + unsigned int virq, unsigned int nr_irqs, +

Re: linux-next: build failure after merge of the sound-asoc tree

2015-11-18 Thread Vinod Koul
On Thu, Nov 19, 2015 at 11:35:28AM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the sound-asoc tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > sound/soc/fsl/fsl-asoc-card.c: In function 'fsl_asoc_card_late_probe': > sound/soc/fsl/fsl-asoc-card.c:420:38:

Re: [PATCH 3/3] PM / OPP: Parse 'opp--' bindings

2015-11-18 Thread Viresh Kumar
On 18-11-15, 17:12, Stephen Boyd wrote: > > + /* Operations on OPP structures must be done from within rcu locks */ > > + rcu_read_lock(); > > + > > + dev_opp = _add_device_opp(dev); > > + if (!dev_opp) > > + return -ENOMEM; > > + > > + /* Do we already have a prop-name associat

<    4   5   6   7   8   9   10   11   >