[PATCH v5 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode

2015-10-21 Thread Han Xu
From: Huang Shijie Deep Sleep Mode(dsm) turns off the power for APBH DMA module, DMA need to be re-initialized when system resumed back. Signed-off-by: Huang Shijie Signed-off-by: Han Xu --- drivers/dma/mxs-dma.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff

[PATCH] scsi: wd719x: Remove use of macro DEFINE_PCI_DEVICE_TABLE

2015-10-21 Thread Muhammad Falak R Wani
Use struct pci_device_id instead of DEFINE_PCI_DEVICE_TABLE with the goal of getting rid of this macro completely, as this macro is deprecated. Signed-off-by: Muhammad Falak R Wani --- drivers/scsi/wd719x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: what's in nvdimm.git for v4.4?

2015-10-21 Thread Dan Williams
On Wed, Oct 21, 2015 at 10:47 AM, Jens Axboe wrote: > On 10/20/2015 05:31 PM, Williams, Dan J wrote: >> >> === >> for-4.4/dax-gup: get_user_pages() support for dax mappings [..] >> === [..] > We really should pull these core block changes in separately. Sounds good to me. I'll refactor the

Re: [PATCH v11 1/6] PCI: designware: move calculation of bus addresses to DRA7xx

2015-10-21 Thread Bjorn Helgaas
Hi Zhou & Gabriele, On Fri, Oct 16, 2015 at 06:23:36PM +0800, Zhou Wang wrote: > From: gabriele paoloni > > Commit f4c55c5a3f7f ("PCI: designware: Program ATU with untranslated > address") added the calculation of PCI BUS addresses in designware, > storing them in new fields added in "struct

Re: [PATCH v4 0/2] powerpc/512x: add LocalPlus Bus FIFO device driver

2015-10-21 Thread Alexander Popov
On 12.10.2015 00:08, Alexander Popov wrote: > This driver for Freescale MPC512x LocalPlus Bus FIFO (called SCLPC > in the Reference Manual) allows Direct Memory Access transfers > between RAM and peripheral devices on LocalPlus Bus. > Changes in v4: > - the race condition is fixed; > - plenty

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

2015-10-21 Thread Han Xu
v1 ---> v2 change the erased page bitflip threshold to ecc strength in bitflip patch v2 ---> v3 remove unnecessary function in mxs-dma change the log message when legacy_set_geometry failed fix the comment message for bitflip add comma for all field entries v3 ---> v4 code style change for

Re: [PATCH v3 1/7] drm/vc4: Add devicetree bindings for VC4.

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 3:57 AM, Eric Anholt wrote: > Rob Herring writes: > >> On Tue, Oct 13, 2015 at 1:17 PM, Eric Anholt wrote: >>> Rob Herring writes: >>> On Fri, Oct 9, 2015 at 4:27 PM, Eric Anholt wrote: [...] > +Required properties for Pixel Valve: > +- compatible:

[PATCH v5 3/7] dmaengine: mxs: add i.MX7D APBH DMA support

2015-10-21 Thread Han Xu
From: Adrian Alonso supports APBH DMA on i.MX7D by add extra clock clk_io Signed-off-by: Fugang Duan Signed-off-by: Adrian Alonso Signed-off-by: Han Xu --- drivers/dma/mxs-dma.c | 53 --- 1 file changed, 46 insertions(+), 7 deletions(-) diff

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

2015-10-21 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

[PATCH v5 1/7] mtd: nand: gpmi: add gpmi dsm supend/resume support

2015-10-21 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

[PATCH v5 5/7] mtd: nand: gpmi: add GPMI NAND support for i.MX7D

2015-10-21 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 | 26 +- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +--

[RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-10-21 Thread Nathan Sullivan
From: Ben Shelton The USB gadget support currently depends on power management (CONFIG_PM) being enabled, but does not actually need it enabled. Remove this dependency. Tested on Bay Trail hardware with dwc3 USB. Signed-off-by: Nathan Sullivan --- drivers/usb/core/Kconfig |1 - 1 file

[PATCH v5 7/7] mtd: nand: gpmi: support NAND on i.MX6UL

2015-10-21 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 | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c

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

2015-10-21 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

[PATCH v5 4/7] mtd: nand: gpmi: may use minimum required ecc for 744 oobsize NAND

2015-10-21 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

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

2015-10-21 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 ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu ---

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

2015-10-21 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 | 26 +- drivers/mtd/nand/gpmi-nand/gpmi-nand.h | 7 +--

Re: [PATCH 02/19] Documentation: devicetree: fix reference to legacy wakeup properties

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 5:09 AM, Sudeep Holla wrote: > This patch marks all the reference to the legacy wakeup bindings > and replaces them with the standard "wakeup-source" property. > > All these legacy property are also listed under a separate section in > the generic wakeup-source binding

Re: [PATCH 01/19] Documentation: devicetree: standardize/consolidate on "wakeup-source" property

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 5:09 AM, Sudeep Holla wrote: > Currently different drivers use multiple forms of annotating devices > that should be set up as wakeup sources for the system. > > This patch adds a separate binding document inorder to standardize and > consolidate to use "wakeup-source"

Re: [PATCH v2 05/15] net: wireless: ti: Return flow can be simplified for wl1271_cmd_interrogate

2015-10-21 Thread Sergei Shtylyov
On 10/21/2015 10:07 PM, Punit Vara wrote: Remove int ret suggested by kbuild test robot This patch is to the wlcore/acx.c file that fixes up warning reported by coccicheck: WARNING: end returns can be simplified if negative or 0 value Prefer direct return value instead of writing 2-3 more

Re: what's in nvdimm.git for v4.4?

2015-10-21 Thread Ross Zwisler
On Tue, Oct 20, 2015 at 11:31:45PM +, Williams, Dan J wrote: > Here is a status summary of the topic-branches nvdimm.git is tracking > for v4.4. Unless indicated these branches are not present in -next. > Please ACK, NAK, or ask for a re-post of any of the below to disposition > it for the

[PATCH] mm, hugetlbfs: Fix new warning in fault-time huge page allocation

2015-10-21 Thread Dave Hansen
From: Dave Hansen Kirill reported that he hit: >> +if (vma || addr) { >> +WARN_ON_ONCE(!addr || addr == -1); > > Trinity triggered the WARN for me: This was just a dumb mistake. I put the WARN_ON() in and planned to have addr=0 mean "use nid". But, I realized pretty quickly

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

2015-10-21 Thread Han Xu
Sorry for sending the wrong patch series, please kindly ignore all patch series v4 and only check the series v5. On Wed, Oct 21, 2015 at 4:40 PM, Han Xu wrote: > support GPMI NAND on i.MX6UL > > Signed-off-by: Han Xu > --- > drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 9 + >

Re: [RFC Patch 10/12] IXGBEVF: Add lock to protect tx/rx ring operation

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: Ring shifting during restoring VF function maybe race with original ring operation(transmit/receive package). This patch is to add tx/rx lock to protect ring related data. Signed-off-by: Lan Tianyu --- drivers/net/ethernet/intel/ixgbevf/ixgbevf.h

[PATCH 5/8] iommu/fsl: Convert to device_group call-back

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel Convert the fsl pamu driver to make use of the new device_group call-back. Cc: Varun Sethi Signed-off-by: Joerg Roedel --- drivers/iommu/fsl_pamu_domain.c | 41 - 1 file changed, 16 insertions(+), 25 deletions(-) diff --git

[PATCH 7/8] iommu: Remove is_pci_dev() fall-back from iommu_group_get_for_dev

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel All callers of iommu_group_get_for_dev() provide a device_group call-back now, so this fall-back is no longer needed. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c

[PATCH 4/8] iommu: Add device_group call-back to x86 iommu drivers

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel Set the device_group call-back to pci_device_group() for the Intel VT-d and the AMD IOMMU driver. Signed-off-by: Joerg Roedel --- drivers/iommu/amd_iommu.c | 1 + drivers/iommu/intel-iommu.c | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/iommu/amd_iommu.c

[PATCH 8/8] iommu: Move default domain allocation to iommu_group_get_for_dev()

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel Now that the iommu core support for iommu groups is not pci-centric anymore, we can move default domain allocation to the bus independent iommu_group_get_for_dev() function. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 18 ++ 1 file changed, 10

[PATCH 6/8] iommu/arm-smmu: Switch to device_group call-back

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel This converts the ARM SMMU and the SMMUv3 driver to use the new device_group call-back. Cc: Will Deacon Signed-off-by: Joerg Roedel --- drivers/iommu/arm-smmu-v3.c | 1 + drivers/iommu/arm-smmu.c| 77 +++-- 2 files changed, 47

[PATCH 1/8] iommu: Revive device_group iommu-ops call-back

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel That call-back is currently unused, change it into a call-back function for finding the right IOMMU group for a device. This is a first step to remove the hard-coded PCI dependency in the iommu-group code. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 9 ++---

[PATCH 0/8] iommu: Make core iommu-groups code more generic

2015-10-21 Thread Joerg Roedel
Hi, this patch-set makes the core code for managing iommu-groups more generic by lifting its dependencies on PCI. The core function iommu_group_get_for_dev() had a hard dev_is_pci() check in it, followed by PCI specific handling. This check is removed in favour of the the revived device_group()

[PATCH v5 0/7] mtd: nand: gpmi: gpmi-nand DSM and bitflip support

2015-10-21 Thread Han Xu
v1 ---> v2 change the erased page bitflip threshold to ecc strength in bitflip patch v2 ---> v3 remove unnecessary function in mxs-dma change the log message when legacy_set_geometry failed fix the comment message for bitflip add comma for all field entries v3 ---> v4 code style change for

[PATCH v5 6/7] mtd: nand: gpmi: correct bitflip for erased NAND page

2015-10-21 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 ecc_strength and if bitflip detected, GPMI driver will correct the data to all 0xFF. Signed-off-by: Han Xu ---

Re: [PATCH v6 3/4] of: overlay: add per overlay sysfs attributes

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 2:37 PM, Pantelis Antoniou wrote: > Hi Rob, > >> On Oct 21, 2015, at 00:54 , Rob Herring wrote: >> >> On Tue, Oct 20, 2015 at 4:11 PM, Pantelis Antoniou >> wrote: >>> Hi Rob, >>> On Oct 21, 2015, at 00:04 , Rob Herring wrote: On Tue, Oct 20, 2015 at 2:13

Re: [PATCH -next] net: hisilicon: Never build on SPARC

2015-10-21 Thread Guenter Roeck
On Wed, Oct 21, 2015 at 09:11:53PM +0200, Arnd Bergmann wrote: > On Wednesday 21 October 2015 10:03:05 Guenter Roeck wrote: > > > > > > Something like this? > > > > > > static inline u64 of_translate_address(struct device_node *np, const > > > __be32 *addr) > > > { > > > #if defined(CONFIG_SPARC)

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

2015-10-21 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 3/8] iommu: Add generic_device_group() function

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel This function can be used as a device_group call-back and just allocates one iommu-group per device. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 15 +++ include/linux/iommu.h | 2 ++ 2 files changed, 17 insertions(+) diff --git

Re: [RFC PATCH 2/2] PCI: pciehp: Add support for delayed power-on

2015-10-21 Thread Guenter Roeck
On Wed, Oct 21, 2015 at 03:23:23PM -0500, Bjorn Helgaas wrote: > Hi Guenter, > > On Mon, Oct 12, 2015 at 12:10:13PM -0700, Guenter Roeck wrote: > > Some oddball devices may experience a PCIe link flap after power-on. > > This may result in the following sequence of events. > > > > fpc0 kernel:

[PATCH 2/8] iommu: Export and rename iommu_group_get_for_pci_dev()

2015-10-21 Thread Joerg Roedel
From: Joerg Roedel Rename that function to pci_device_group() and export it, so that IOMMU drivers can use it as their device_group call-back. Signed-off-by: Joerg Roedel --- drivers/iommu/iommu.c | 8 ++-- include/linux/iommu.h | 3 +++ 2 files changed, 9 insertions(+), 2 deletions(-)

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-21 Thread Oleg Nesterov
On 10/21, Denys Vlasenko wrote: > > On 10/21/2015 09:59 PM, Denys Vlasenko wrote: > > On 10/21/2015 12:31 AM, Andrew Morton wrote: > >> Well, to fix this a distro needs to roll out a new kernel. Or a new > >> init(8). Is there any reason to believe that distributing/deploying a > >> new kernel

Re: [GIT PULL] On-demand device probing

2015-10-21 Thread Frank Rowand
On 10/21/2015 2:12 PM, Rob Herring wrote: > On Wed, Oct 21, 2015 at 1:18 PM, Frank Rowand wrote: >> On 10/21/2015 9:27 AM, Mark Brown wrote: >>> On Wed, Oct 21, 2015 at 08:59:51AM -0700, Frank Rowand wrote: On 10/19/2015 5:34 AM, Tomeu Vizoso wrote: >>> > To be clear, I was saying that

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

2015-10-21 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 | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c

Re: [PATCH v3 for-4.4] block: flush queued bios when process blocks to avoid deadlock

2015-10-21 Thread Mikulas Patocka
On Thu, 22 Oct 2015, Ming Lei wrote: > > Some drivers (dm-snapshot, dm-thin) do acquire a mutex in .make_requests() > > for every bio. It wouldn't be practical to convert them to not acquire the > > mutex (and it would also degrade performance of these drivers, if they had > > to offload every

[PATCH v2 1/1] Tags: Adding tagging feature to security modules

2015-10-21 Thread José Bollo
The Tags security module allows to attach tags to processes. Tags are accessed through the new files /proc/PID/attr/tags and /proc/PID/tasks/TID/attr/tags below named "tag file". Reading a tag file returns all the tags attached to the process (or thread). The tags are listed one per line, each

[PATCH v2 0/1] Tagging: a new Security Module

2015-10-21 Thread José Bollo
INTRODUCTION Adding a feature in the kernel is not something free, it must have some interest. I will try here to explain the reasons why I am posting here a new bag of code. I studied the security of Tizen 3 [1] and modestly participated to it. Tizen 3 uses Smack as its security

Re: [RFC Patch 09/12] IXGBEVF: Add live migration support for VF driver

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: To let VF driver in the guest to know migration status, Qemu will fake PCI configure reg 0xF0 and 0xF1 to show migrate status and get ack from VF driver. When migration starts, Qemu will set reg "0xF0" to 1, notify VF driver via triggering mail box msg

Re: [PATCH] net/phy: micrel: Add workaround for bad autoneg

2015-10-21 Thread Florian Fainelli
On 21/10/15 12:42, Nathan Sullivan wrote: > On Wed, Oct 21, 2015 at 12:20:21PM -0700, Florian Fainelli wrote: >> 2015-10-21 12:17 GMT-07:00 Nathan Sullivan : >>> Very rarely, the KSZ9031 will appear to complete autonegotiation, but >>> will drop all traffic afterwards. When this happens, the idle

Re: [PATCH 15/15] net: wireless: ath: Remove unneeded variable ret returning 0

2015-10-21 Thread Sergei Shtylyov
On 10/21/2015 05:55 PM, Punit Vara wrote: This patch is to the ath5k/eeprom.c that fixes up warning caught by coccicheck: Unneeded variable: "ret". Return "0" on line 980 Remove unneeded variable ret created to return zero. Signed-off-by: Punit Vara ---

Re: [PATCH 1/3] x86, perf: Use a new PMU ack sequence

2015-10-21 Thread Andi Kleen
> > v2: > > Use new ack sequence unconditionally. Remove pmu reset code. > > So this is not something we can easily revert if things go bad. Esp. > since you build on it with the next patches. Ok, and? You want me to go back to the previous patch? That one is easily undoable (just disable the

Re: [PATCH 11/15] net: wireless: iwlegacy: Remove unneeded variable ret

2015-10-21 Thread Sergei Shtylyov
On 10/21/2015 05:55 PM, Punit Vara wrote: This patch is to the 3945-mac.c file that fixes up following warning by coccicheck: drivers/net/wireless/iwlegacy/3945-mac.c:247:5-8: Unneeded variable: "ret". Return "- EOPNOTSUPP" on line 249 Return -EOPNOTSUPP directly instead of return using ret

Re: [PATCH 01/15] net: wireless: ath: use | instead of + for summing bitmasks

2015-10-21 Thread Sergei Shtylyov
Hello. On 10/21/2015 05:55 PM, Punit Vara wrote: This patch is to the ath10k/pci.h file that fixes following warning pci.c, you mean? reported by coccicheck: WARNING: sum of probable bitmasks, consider | I have replaced + with OR operator | for summing bitmasks Signed-off-by: Punit

mmotm 2015-10-21-14-41 uploaded

2015-10-21 Thread akpm
The mm-of-the-moment snapshot 2015-10-21-14-41 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

[PATCH 4/5] perf evsel: Print branch filter state with -vv

2015-10-21 Thread Arnaldo Carvalho de Melo
From: Andi Kleen Add a missing field to the perf_event_attr debug output. Signed-off-by: Andi Kleen Acked-by: Peter Zijlstra (Intel) Cc: Jiri Olsa Link: http://lkml.kernel.org/r/1445366797-30894-4-git-send-email-a...@firstfloor.org [ Print it between config2 and sample_regs_user (peterz)]

[PATCH net-next] bpf: fix bpf_perf_event_read() helper

2015-10-21 Thread Alexei Starovoitov
Fix safety checks for bpf_perf_event_read(): - only !inherited and !pmu->count events can be added to perf_event_array map (do this check statically at map insertion time) - dynamically check that event is local Otherwise buggy bpf program can cause kernel splat. Fixes: 35578d798400 ("bpf:

[PATCH 3/5] perf cpu_map: Fix core dump caused by per-socket/core system-wide stat

2015-10-21 Thread Arnaldo Carvalho de Melo
From: Kan Liang Perf will core dump if --per-socket/core -a are applied for perf stat. The root cause is that cpu_map__build_map set refcnt of evlist's cpu_map to 1. It should set refcnt for the newly created cpu_map, not evlist's cpu_map. Here is the example: # perf stat -e cycles

[GIT PULL 0/5] perf/core improvements and fixes

2015-10-21 Thread Arnaldo Carvalho de Melo
Hi Ingo, Please consider pulling, - Arnaldo The following changes since commit 43e41adc9e8c36545888d78fed2ef8d102a938dc: perf record: Add ability to sample call branches (2015-10-20 10:30:55 +0200) are available in the git repository at:

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Tycho Andersen
Hi Oleg, On Wed, Oct 21, 2015 at 11:07:56PM +0200, Oleg Nesterov wrote: > On 10/21, Tycho Andersen wrote: > > > > Hi Oleg, > > > > On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: > > > > + > > > > + if (WARN_ON(count != 1)) { > > > > + /* The filter tree

[PATCH 5/5] perf annotate: Add debug message for out of bounds sample

2015-10-21 Thread Arnaldo Carvalho de Melo
From: Arnaldo Carvalho de Melo Cc: Adrian Hunter Cc: Borislav Petkov Cc: David Ahern Cc: Frederic Weisbecker Cc: Jiri Olsa Cc: Namhyung Kim Cc: Stephane Eranian Cc: Wang Nan Link: http://lkml.kernel.org/n/tip-q0lde9ajs84oi38nlyjcq...@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo

[PATCH 1/5] perf build: Add fixdep to .gitignore

2015-10-21 Thread Arnaldo Carvalho de Melo
From: Yunlong Song Commit 7c422f5572667fef0db38d2046ecce69dcf0afc8 ("tools build: Build fixdep helper from perf and basic libs") dynamically creates fixdep during the perf building. Add it to .gitignore. Signed-off-by: Yunlong Song Cc: Adrian Hunter Cc: Alexei Starovoitov Cc: David Ahern

[PATCH 2/5] tools lib traceevent: update KVM plugin

2015-10-21 Thread Arnaldo Carvalho de Melo
From: Paolo Bonzini The format of the role word has changed through the years and the plugin was never updated; some VMX exit reasons were missing too. Signed-off-by: Paolo Bonzini Acked-by: Steven Rostedt Cc: David Ahern Cc: Namhyung Kim Cc: k...@vger.kernel.org Link:

Re: [PATCH v2] EDAC: Add ARM64 EDAC

2015-10-21 Thread Mauro Carvalho Chehab
Em Wed, 21 Oct 2015 15:41:37 -0500 Brijesh Singh escreveu: > Add support for Cortex A57 and A53 EDAC driver. > > Signed-off-by: Brijesh Singh > CC: robh...@kernel.org > CC: pawel.m...@arm.com > CC: mark.rutl...@arm.com > CC: ijc+devicet...@hellion.org.uk > CC: ga...@codeaurora.org > CC:

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Kees Cook
On Wed, Oct 21, 2015 at 2:07 PM, Oleg Nesterov wrote: > On 10/21, Tycho Andersen wrote: >> >> Hi Oleg, >> >> On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: >> > > + >> > > + if (WARN_ON(count != 1)) { >> > > + /* The filter tree shouldn't shrink while we're using it. */ >>

[PATCH 2/4] staging: fbtft: remove redundant set_addr_win() function

2015-10-21 Thread Dennis Menschel
This patch removes the function set_addr_win() from fb_st7789v.c, as its definition is redundant to the default implementation fbtft_set_addr_win() which can be found in fbtft-core.c. Signed-off-by: Dennis Menschel --- drivers/staging/fbtft/fb_st7789v.c | 19 --- 1 file changed,

Re: [PATCH V5 1/1] bpf: control events stored in PERF_EVENT_ARRAY maps trace data output when perf sampling

2015-10-21 Thread Alexei Starovoitov
On 10/21/15 9:57 AM, Peter Zijlstra wrote: In summary, your either-or logic doesn't hold in BPF world. A BPF >program can only access perf event in a highly restricted way. We >don't allow it calling perf_event_read_local() across core, so it >can't. That's actually broken. My fault as well,

[PATCH 3/4] staging: fbtft: use init function instead of init sequence

2015-10-21 Thread Dennis Menschel
This patch converts the default init sequence of the ST7789V display controller into an init function, as init sequences are considered deprecated by the maintainers of fbtft. Signed-off-by: Dennis Menschel --- drivers/staging/fbtft/fb_st7789v.c | 43 +- 1

[PATCH 4/4] staging: fbtft: fix voltage settings for C-Berry28

2015-10-21 Thread Dennis Menschel
This patch fixes some internal voltage settings for the C-Berry28 display. The original example source files for the C-Berry28 as provided by its vendor admatec contained six issues where a command parameter's value didn't match its corresponding comment. I've informed admatec about these

[RFC] [PATCH] fs/proc: add poll()ing support to /proc/interrupts

2015-10-21 Thread Haris Okanovic
Implement polling on procfs' "interrupts" file which observes changes to IRQ action handlers. A poll()ed file descriptor will be flagged EPOLLIN each time an action handler is registered or unregistered. Use case: Designing a thread priority policy on a system is critically important for the

[PATCH 0/4] staging: fbtft: cleanup ST7789V and C-Berry28 drivers

2015-10-21 Thread Dennis Menschel
This set of patches brings some improvements for the ST7789V display controller driver based on suggestions by Noralf Trønnes. In addition, the settings for the concrete C-Berry28 display have been adjusted based on feedback by its vendor admatec. Dennis Menschel (4): staging: fbtft: use MIPI

Re: [GIT PULL] On-demand device probing

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 1:18 PM, Frank Rowand wrote: > On 10/21/2015 9:27 AM, Mark Brown wrote: >> On Wed, Oct 21, 2015 at 08:59:51AM -0700, Frank Rowand wrote: >>> On 10/19/2015 5:34 AM, Tomeu Vizoso wrote: >> To be clear, I was saying that this series should NOT affect total boot

[PATCH 1/4] staging: fbtft: use MIPI DCS for ST7789V and C-Berry28

2015-10-21 Thread Dennis Menschel
This patch makes use of the standard MIPI Display Command Set to remove redundant entries from the command enum of the ST7789V display controller and also some of the magic constants found in the init sequence of the C-Berry28 display. Signed-off-by: Dennis Menschel ---

[PATCH] f2fs: refactor __find_rev_next_{zero}_bit

2015-10-21 Thread Jaegeuk Kim
This patch refactors __find_rev_next_{zero}_bit which was disabled previously due to bugs. Signed-off-by: Jaegeuk Kim --- fs/f2fs/segment.c | 106 +- 1 file changed, 49 insertions(+), 57 deletions(-) diff --git a/fs/f2fs/segment.c

Re: [RFC Patch 08/12] IXGBEVF: Rework code of finding the end transmit desc of package

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: When transmit a package, the end transmit desc of package indicates whether package is sent already. Current code records the end desc's pointer in the next_to_watch of struct tx buffer. This code will be broken if shifting desc ring after migration. The

Re: [PATCH 1/2] staging: fbtft: add support for ST7789V display controller

2015-10-21 Thread Dennis Menschel
Am 11.10.2015 um 16:19 schrieb Noralf Trønnes: > > Den 11.10.2015 09:31, skrev Dennis Menschel: >> Am 10.10.2015 um 17:36 schrieb Noralf Trønnes: >>> Den 07.10.2015 22:15, skrev Dennis Menschel: This patch adds support for the Sitronix ST7789V display controller. The controller is

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-21 Thread Oleg Nesterov
On 10/21, Tycho Andersen wrote: > > Hi Oleg, > > On Wed, Oct 21, 2015 at 08:51:46PM +0200, Oleg Nesterov wrote: > > > + > > > + if (WARN_ON(count != 1)) { > > > + /* The filter tree shouldn't shrink while we're using it. */ > > > + ret = -ENOENT; > > > > Yes. but this looks a bit

[GIT PULLv2] at91: dt for 4.4 #2

2015-10-21 Thread Alexandre Belloni
Arnd, As discussed, version 2 of that pull request that removes the last patch to avoid the dependency on the MFD subsystem. The following changes since commit a9b672a636a599cc052afcb6837e3177dc53c143: ARM: at91/dt: sama5d2 Xplained: add device pin muxing (2015-09-23 16:26:47 +0200) are

Re: [GIT PULL] On-demand device probing

2015-10-21 Thread Mark Brown
On Wed, Oct 21, 2015 at 11:18:08AM -0700, Frank Rowand wrote: > On 10/21/2015 9:27 AM, Mark Brown wrote: > > Overall boot time and time to get some individual built in component up > > and running aren't the same thing - what this'll do is get things up > > more in the link order of the leaf

Re: [PATCH] driver core: Disable late probes by default

2015-10-21 Thread Greg Kroah-Hartman
On Wed, Oct 21, 2015 at 03:53:31PM -0500, Rob Herring wrote: > On Wed, Oct 21, 2015 at 1:45 PM, Greg Kroah-Hartman > wrote: > > On Wed, Oct 21, 2015 at 01:09:55PM -0500, Rob Herring wrote: > >> On Wed, Oct 21, 2015 at 11:06 AM, Greg Kroah-Hartman > >> wrote: > >> > On Wed, Oct 21, 2015 at

Re: [PATCH v2 0/7] block: some misc changes

2015-10-21 Thread Jens Axboe
On 10/20/2015 09:13 AM, Ming Lei wrote: Hi, The 1st patch is one fix for automatic flush plug in case of nomerge queue. The following four patches are optimizations related with bio splitting. The 6th patch is one fix for using trace_block_plug(). The 7th patch is to mark ctx as pending at

[PATCH 5/5] clk: scpi: add missing of_node_put

2015-10-21 Thread Julia Lawall
for_each_available_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

[PATCH 0/5] add missing of_node_put

2015-10-21 Thread Julia Lawall
The various for_each device_node iterators performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The complete semantic patch that fixes this problem is (http://coccinelle.lip6.fr): // @r@ local idexpression n; expression e1,e2; iterator name

Re: [PATCH 4.3-rc6] proc: fix oom_adj value read from /proc//oom_adj

2015-10-21 Thread David Rientjes
On Tue, 20 Oct 2015, Hongjie Fang (方洪杰) wrote: > The oom_adj's value reading through /proc//oom_adj is different > with the value written into /proc//oom_adj. /proc/pid/oom_adj is deprecated and has been for years. When writing to /proc/pid/oom_adj, for legacy purposes, the value is

Re: [RFC Patch 06/12] IXGBEVF: Add self emulation layer

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: In order to restore VF function after migration, add self emulation layer to record regs' values during accessing regs. Signed-off-by: Lan Tianyu --- drivers/net/ethernet/intel/ixgbevf/Makefile| 3 ++-

Re: [PATCH] IB/core: avoid 32-bit warning

2015-10-21 Thread Doug Ledford
On 10/07/2015 09:46 AM, Yann Droneaud wrote: > Hi, > > Le mercredi 07 octobre 2015 à 16:19 +0300, Sagi Grimberg a écrit : >> On 10/7/2015 3:29 PM, Arnd Bergmann wrote: >>> The INIT_UDATA() macro requires a pointer or unsigned long argument >>> for >>> both input and output buffer, and all callers

Re: [PATCH] RDMA/cxgb4: re-fix 32-bit build warning

2015-10-21 Thread Doug Ledford
On 10/07/2015 08:10 AM, Arnd Bergmann wrote: > Casting a pointer to __be64 produces a warning on 32-bit architectures: > > drivers/infiniband/hw/cxgb4/mem.c:147:20: warning: cast from pointer to > integer of different size [-Wpointer-to-int-cast] > req->wr.wr_lo = (__force __be64)_wait; > >

[PATCH 1/5] clk: add missing of_node_put

2015-10-21 Thread Julia Lawall
for_each_matching_node_and_match performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression e1,e2,e; local idexpression np; @@

Re: [PATCH v2] iov: restore NumVFs register to 0 before return from virtfn_max_buses()

2015-10-21 Thread Bjorn Helgaas
On Thu, Oct 15, 2015 at 12:16:00PM -0500, Bjorn Helgaas wrote: > Hi Ethan, > > On Wed, Sep 16, 2015 at 12:19:53PM +0900, Ethan Zhao wrote: > > After commit 4449f079722c ("PCI: Calculate maximum number of buses > > required for VFs"),the initial value of NumVFs register was left to > > non-zero

[PATCH 2/5] clk: si5351: add missing of_node_put

2015-10-21 Thread Julia Lawall
for_each_child_of_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. A simplified version of the semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ expression root,e; local idexpression child; @@

Re: [RFC Patch 05/12] IXGBE: Add new sysfs interface of "notify_vf"

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: This patch is to add new sysfs interface of "notify_vf" under sysfs directory of VF PCI device for Qemu to notify VF when migration status is changed. Signed-off-by: Lan Tianyu --- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 30

Re: linux-next: Tree for Oct 21 (regmap-spmi.c caused by QCOM_SPMI_TEMP_ALARM)

2015-10-21 Thread Randy Dunlap
On 10/20/15 23:16, Stephen Rothwell wrote: > Hi all, > > There will be no linux-next releases after tomorrow until Nov 2 (kernel > summit). > > Changes since 20151020: > on x86_64: warning: (QCOM_SPMI_TEMP_ALARM) selects REGMAP_SPMI which has unmet direct dependencies (SPMI)

Re: [PATCH] driver core: Disable late probes by default

2015-10-21 Thread Rob Herring
On Wed, Oct 21, 2015 at 1:45 PM, Greg Kroah-Hartman wrote: > On Wed, Oct 21, 2015 at 01:09:55PM -0500, Rob Herring wrote: >> On Wed, Oct 21, 2015 at 11:06 AM, Greg Kroah-Hartman >> wrote: >> > On Wed, Oct 21, 2015 at 05:53:13PM +0200, Tomeu Vizoso wrote: >> >> On 21 October 2015 at 17:14, Greg

[PATCH 4/5] clk: imx31: add missing of_node_put

2015-10-21 Thread Julia Lawall
for_each_compatible_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e; @@ for_each_compatible_node(n,...) { ... (

[PATCH 3/5] clk: imx27: add missing of_node_put

2015-10-21 Thread Julia Lawall
for_each_compatible_node performs an of_node_get on each iteration, so a break out of the loop requires an of_node_put. The semantic patch that fixes this problem is as follows (http://coccinelle.lip6.fr): // @@ local idexpression n; expression e; @@ for_each_compatible_node(n,...) { ... (

Re: [PATCH v2] PCI: IOV: read SRIOV_NUM_VF after enabling ARI

2015-10-21 Thread Bjorn Helgaas
On Thu, Oct 15, 2015 at 02:31:16PM -0500, Bjorn Helgaas wrote: > On Thu, Oct 08, 2015 at 10:20:17AM -0500, Ben Shelton wrote: > > For some SR-IOV devices, the number of available virtual functions increases > > after enabling ARI. Currently, SRIOV_NUM_VF is read and saved off before > > the > >

Re: [PATCH v2] x86/mm: warn on W+x mappings

2015-10-21 Thread Andy Lutomirski
On Wed, Oct 21, 2015 at 1:45 PM, Matt Fleming wrote: > On Wed, 21 Oct, at 11:46:53AM, Andy Lutomirski wrote: >> >> If the UEFI stuff is mapped in its own PGD entry, we could just RO >> that entire PGD entry everywhere except the UEFI pgd (and make sure to >> clear G so that the TLB entries get

Re: [PATCH 1/2] wait/ptrace: always assume __WALL if the child is traced

2015-10-21 Thread Oleg Nesterov
On 10/21, Andrew Morton wrote: > > On Wed, 21 Oct 2015 19:41:50 +0200 Oleg Nesterov wrote: > > > On 10/20, Andrew Morton wrote: > > > > > > On Tue, 20 Oct 2015 19:17:54 +0200 Oleg Nesterov wrote: > > > > > > > This is not a kernel bug, at least in a sense that everything works as > > > >

Re: [RFC Patch 03/12] IXGBE: Add sysfs interface for Qemu to migrate VF status in the PF driver

2015-10-21 Thread Alexander Duyck
On 10/21/2015 09:37 AM, Lan Tianyu wrote: This patch is to add sysfs interface state_in_pf under sysfs directory of VF PCI device for Qemu to get and put VF status in the PF driver during migration. Signed-off-by: Lan Tianyu --- drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c | 156

Re: [PATCH v2] x86/mm: warn on W+x mappings

2015-10-21 Thread Matt Fleming
On Wed, 21 Oct, at 11:46:53AM, Andy Lutomirski wrote: > > If the UEFI stuff is mapped in its own PGD entry, we could just RO > that entire PGD entry everywhere except the UEFI pgd (and make sure to > clear G so that the TLB entries get zapped). What would be the benefit of making it RO as opposed

Re: [PATCH v2 0/4] Add PCI support on nios2 architecture

2015-10-21 Thread Bjorn Helgaas
Hi Ley, I'm ignoring this series for now because of the build errors reported by the kbuild test robot. Bjorn On Wed, Oct 14, 2015 at 02:31:40PM +0800, Ley Foon Tan wrote: > This is 2nd version of patch to add pci support for nios2 architecture. > This patchset also update asm-generic/pci.h to

Re: [PATCH] usnix: correctly handle kzalloc return value

2015-10-21 Thread Doug Ledford
On 10/17/2015 03:06 PM, Insu Yun wrote: > Since kzalloc returns memory address, not error code, > it should be checked whether it is null or not. > > Signed-off-by: Insu Yun Thanks, applied. > --- > drivers/infiniband/hw/usnic/usnic_ib_qp_grp.c | 8 > 1 file changed, 4

[PATCH v2] EDAC: Add ARM64 EDAC

2015-10-21 Thread Brijesh Singh
Add support for Cortex A57 and A53 EDAC driver. Signed-off-by: Brijesh Singh CC: robh...@kernel.org CC: pawel.m...@arm.com CC: mark.rutl...@arm.com CC: ijc+devicet...@hellion.org.uk CC: ga...@codeaurora.org CC: dougthomp...@xmission.com CC: b...@alien8.de CC: mche...@osg.samsung.com CC:

<    1   2   3   4   5   6   7   8   9   10   >