Re: 4.4-rc5: ugly warn on: 5 W+X pages found

2015-12-14 Thread Pavel Machek
On Mon 2015-12-14 13:24:08, Arjan van de Ven wrote: > > >That's weird. The only API to do that seems to be manually setting > >kmap_prot to _PAGE_KERNEL_EXEC, and nothing does that. (Why is > >kmap_prot a variable on x86 at all? It has exactly one writer, and > >that's the code that

Re: [PATCH 08/11] KVM: MMU: use page track for non-leaf shadow pages

2015-12-14 Thread Kai Huang
On 12/01/2015 02:26 AM, Xiao Guangrong wrote: non-leaf shadow pages are always write protected, it can be the user of page track Signed-off-by: Xiao Guangrong --- arch/x86/include/asm/kvm_page_track.h | 8 + arch/x86/kvm/mmu.c| 26 +---

Re: [LKP] [lkp] [x86/irq] 4c24cee6b2: IP-Config: Auto-configuration of network failed

2015-12-14 Thread Jiang Liu
On 2015/12/14 17:54, Borislav Petkov wrote: > On Mon, Dec 14, 2015 at 02:54:02PM +0800, Huang, Ying wrote: >> No, there are no other systems reporting the same issue. I will queue >> more tests for make sure this is not a false positive. > > I can trigger this too with my guest here. > > I have

Re: [PATCH] perf tests: Fix false TEST_OK result for 'perf test hist'

2015-12-14 Thread Namhyung Kim
Hi, On Tue, Dec 15, 2015 at 04:18:44AM +, Wang Nan wrote: > Commit 71d6de64feddd4b45326fba2111b3006d9e0 ('perf test: Fix hist > testcases when kptr_restrict is on') solves a double free problem when > 'perf test hist' calling setup_fake_machine(). However, the result is > still incorrect.

Re: [lkp] [mtd] e0460264db: BUG: unable to handle kernel NULL pointer dereference at 000005c4

2015-12-14 Thread Boris Brezillon
On Tue, 15 Dec 2015 08:55:16 +0800 kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/bbrezillon/linux-0day nand/ecclayout-squashed > commit e0460264db239f81a05a0f116efc84b9c650e0df ("mtd: use mtd_eccpos() and > mtd_oobfree() where appropriate") Should be

[PATCH] mtd: onenand: omap2: Convert to use dmaengine for memcpy

2015-12-14 Thread Peter Ujfalusi
Do not use the legacy and deprecated omap-dma interface for setting up the memcpy. Signed-off-by: Peter Ujfalusi --- Hi, this patch depends on the dma setup simplification patch: https://www.mail-archive.com/linux-omap@vger.kernel.org/msg122375.html We could try to enable the DMA memcpy

Re: Linux 4.3.3

2015-12-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 1a4953b3e10f..2070d16bb5a4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 3 -SUBLEVEL = 2 +SUBLEVEL = 3 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/block/blk-merge.c b/block/blk-merge.c index

Linux 4.3.3

2015-12-14 Thread Greg KH
I'm announcing the release of the 4.3.3 kernel. All users of the 4.3 kernel series must upgrade. The updated 4.3.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.3.y and can be browsed at the normal kernel.org git web browser:

[PATCH 1/1] Support for CMedia CM6533 HID audio jack controls.

2015-12-14 Thread Ben Chen
Signed-off-by: Ben Chen --- drivers/hid/Kconfig | 6 ++ drivers/hid/Makefile | 1 + drivers/hid/hid-cm6533.c | 168 +++ drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h| 1 + 5 files changed, 177 insertions(+) create mode

Re: [PATCH 2/4] doc: efi-stub.txt: Fix arm64 paths

2015-12-14 Thread Ard Biesheuvel
On 14 December 2015 at 19:26, Matt Fleming wrote: > From: Alan Ott > > Update documented paths for arm64 files to match current tree. > > Signed-off-by: Alan Ott > Cc: Roy Franz > Cc: Jonathan Corbet > Cc: Ard Biesheuvel > Cc: Leif Lindholm > Signed-off-by: Matt Fleming Acked-by: Ard

[PATCH v3] i2c: mediatek: fix i2c multi transfer issue in high speed mode

2015-12-14 Thread Liguo Zhang
For mt8173 platform with auto restart support, when doing i2c multi transfer in high speed, we should ignore the first restart irq after the master code, otherwise the first transfer will be discarded. Signed-off-by: Liguo Zhang Reviewed-by: Eddie Huang --- Change in v3: ignore the first

Re: [PATCH 05/11] KVM: page track: introduce kvm_page_track_{add,remove}_page

2015-12-14 Thread Kai Huang
On 12/01/2015 02:26 AM, Xiao Guangrong wrote: These two functions are the user APIs: - kvm_page_track_add_page(): add the page to the tracking pool after that later specified access on that page will be tracked - kvm_page_track_remove_page(): remove the page from the tracking pool, the

Re: [PATCH v6 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-12-14 Thread Archit Taneja
Hi, On 12/15/2015 09:00 AM, Jitao Shi wrote: This patch adds drm_bridge driver for parade DSI to eDP bridge chip. Signed-off-by: Jitao Shi --- Changes since v5 -fix compile errors when CONFIG_GPIOLIB=n --- drivers/gpu/drm/bridge/Kconfig | 10 + drivers/gpu/drm/bridge/Makefile

Re: [PATCH 8/9] tools/testing/libnvdimm: cleanup mock resource lookup

2015-12-14 Thread Dan Williams
On Mon, Dec 14, 2015 at 6:15 PM, Dan Williams wrote: > Push the locking around get_nfit_res() into get_nfit_res(). > > Signed-off-by: Dan Williams > --- > tools/testing/nvdimm/test/iomap.c | 86 > + > 1 file changed, 39 insertions(+), 47 deletions(-) > >

Re: [PATCH 04/11] KVM: page track: add the framework of guest page tracking

2015-12-14 Thread Kai Huang
Hi Guangrong, I am starting to review this series, and should have some comments or questions, you can determine whether they are valuable :) See below. On 12/01/2015 02:26 AM, Xiao Guangrong wrote: The array, gfn_track[mode][gfn], is introduced in memory slot for every guest page, this is

Query regarding Coverity tool

2015-12-14 Thread pavi1729
Hi, May I know if the community uses the Coverity tool and, if yes where can I find a repo of Coverity scans of kernels and IGNORE LIST; cause there obviously be false positives. Cheers, Pavi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [RFC PATCH v6 3/3] arm: fix a migrating irq bug when hotplug cpu

2015-12-14 Thread Yang Yingliang
Hi, Russell On 2015/10/22 19:13, Russell King - ARM Linux wrote: On Thu, Oct 22, 2015 at 06:56:29PM +0800, Yang Yingliang wrote: I described it in v2 cover letter and kept the change history in v6 cover letter. There is no comment on the change when patch the was reviewing in v2, so I thought

Re: [PATCH v6 2/2] drm/bridge: Add I2C based driver for ps8640 bridge

2015-12-14 Thread Daniel Kurtz
On Tue, Dec 15, 2015 at 11:30 AM, Jitao Shi wrote: > This patch adds drm_bridge driver for parade DSI to eDP bridge chip. > > Signed-off-by: Jitao Shi > --- > Changes since v5 > -fix compile errors when CONFIG_GPIOLIB=n > --- > drivers/gpu/drm/bridge/Kconfig | 10 + >

Re: [PATCH for-4.4] mtd: fix cmdlinepart parser, early naming for auto-filled MTD

2015-12-14 Thread Heiko Schocher
Hello Brian, Am 14.12.2015 um 20:24 schrieb Brian Norris: On Fri, Dec 11, 2015 at 09:39:18PM -0800, Brian Norris wrote: On Sat, Dec 12, 2015 at 05:45:21AM +0100, Heiko Schocher wrote: Am 12.12.2015 um 00:58 schrieb Brian Norris: Commit 807f16d4db95 ("mtd: core: set some defaults when

Re: [PATCH] powerpc: Enable UBSAN support

2015-12-14 Thread Daniel Axtens
>> Have you tried running with KVM? OK, I ran a UBSAN kvm guest on a UBSAN host and I ran trinity inside the guest. It all appears to work as usual. I really don't have the knowledge to determine what we should exclude, but I'm very very happy to respin with a greater list of excludes if you

Re: linux-next: manual merge of the akpm-current tree with the powerpc tree

2015-12-14 Thread Stephen Rothwell
Hi Andrew, On Tue, 15 Dec 2015 16:53:42 +1100 Stephen Rothwell wrote: > > diff --git a/arch/powerpc/include/asm/book3s/64/hash.h > b/arch/powerpc/include/asm/book3s/64/hash.h > index 8b929e531758..4e69d9a273ed 100644 > --- a/arch/powerpc/include/asm/book3s/64/hash.h > +++

Re: [RFC] mm: change find_vma() function

2015-12-14 Thread yalin wang
> On Dec 15, 2015, at 05:11, Kirill A. Shutemov wrote: > > On Mon, Dec 14, 2015 at 06:55:09PM +0100, Oleg Nesterov wrote: >> On 12/14, Kirill A. Shutemov wrote: >>> >>> On Mon, Dec 14, 2015 at 07:02:25PM +0800, yalin wang wrote: change find_vma() to break ealier when found the adderss

Re: Linux 4.2.8

2015-12-14 Thread Greg KH
diff --git a/Makefile b/Makefile index f5014eaf2532..06b988951ccb 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 2 -SUBLEVEL = 7 +SUBLEVEL = 8 EXTRAVERSION = NAME = Hurr durr I'ma sheep diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index

Linux 4.2.8

2015-12-14 Thread Greg KH
I'm announcing the release of the 4.2.8 kernel. All users of the 4.2 kernel series must upgrade. NOTE: This is the LAST 4.2.y kernel to be released. It is now end-of-life. Please move to the 4.3.y kernel series at this time. The updated 4.2.y git tree can be found at:

Re: [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Greg KH
Why is the "Re:" in the Subject? Why is "Patch" in the subject"? The Subject doesn't even make sense. On Mon, Dec 14, 2015 at 08:58:30PM -0500, Sanidhya Solanki wrote: > Patch contains the spacing fixes that led to checkpatch.pl warnings. > > Signed-off-by: Sanidhya Solanki > --- >

Re: [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Amitoj Kaur Chawla
On Tue, Dec 15, 2015 at 7:28 AM, Sanidhya Solanki wrote: > > Patch contains the spacing fixes that led to checkpatch.pl warnings. > > Signed-off-by: Sanidhya Solanki > --- > drivers/staging/dgnc/dgnc_cls.c| 4 +- > drivers/staging/dgnc/dgnc_driver.h | 8 -- >

[PATCH v2 05/12] mtd: nand: use new BBT API instead of old ones

2015-12-14 Thread Peter Pan
From: Brian Norris Use new BBT APIs (nand_bbt_*()) in NAND. Keep old APIs (nand_*_bbt()) exist temporarily. Signed-off-by: Brian Norris [Peter: 1. use nand_bbt_markbad_factory() in docg4.c and implement 2. nand_create_factory_badblock_pattern(), nand_is_bad_bbm() and

[PATCH v2 09/12] mtd: nand_bbt: remove old API definitions

2015-12-14 Thread Peter Pan
From: Brian Norris remove old BBT APIs Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 110 +--- include/linux/mtd/nand.h| 3 -- 2 files changed, 22 insertions(+), 91 deletions(-) diff --git

Re: Commit 81a43adae3b9 (locking/mutex: Use acquire/release semantics) causing failures on arm64 (ThunderX)

2015-12-14 Thread Paul E. McKenney
On Mon, Dec 14, 2015 at 06:49:31PM +, One Thousand Gnomes wrote: > On Fri, 11 Dec 2015 14:35:40 -0800 > "Paul E. McKenney" wrote: > > > On Fri, Dec 11, 2015 at 02:48:03PM +0100, Peter Zijlstra wrote: > > > On Fri, Dec 11, 2015 at 01:33:14PM +, Will Deacon wrote: > > > > On Fri, Dec 11,

[PATCH v2 02/12] mtd: nand_bbt: introduce struct nand_bbt

2015-12-14 Thread Peter Pan
From: Brian Norris Currently nand_bbt.c is tied with struct nand_chip, and it makes other NAND family chips hard to use nand_bbt.c. Maybe it's the reason why onenand has own bbt(onenand_bbt.c). Separate struct nand_chip from BBT code can make current BBT shareable. We create struct nand_bbt to

[PATCH v2 04/12] mtd: nand_bbt: add nand_bbt_markbad_factory() interface

2015-12-14 Thread Peter Pan
Some nand controller drivers(like docg4.c) mark factory bad block mark by accessing bbt buffer directly, so create this API to avoid breaking layer. Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 32 +--- include/linux/mtd/nand_bbt.h | 1 + 2 files

[PATCH v2 00/12] mtd: nand_bbt: introduce independent nand BBT

2015-12-14 Thread Peter Pan
Currently nand_bbt.c is tied with struct nand_chip, and it makes other NAND family chips hard to use nand_bbt.c. Maybe it's the reason why onenand has own bbt(onenand_bbt.c). Separate struct nand_chip from BBT code can make current BBT shareable. We create struct nand_bbt to take place of

RE: [PATCH v4 7/7] ACPI / x86: introduce acpi_os_readable() support

2015-12-14 Thread Chen, Yu C
Hi, Andy > -Original Message- > From: Andy Lutomirski [mailto:l...@amacapital.net] > Sent: Tuesday, December 15, 2015 7:28 AM > To: Zheng, Lv > Cc: Wysocki, Rafael J; Brown, Len; Andy Lutomirski; Lv Zheng; linux- > ker...@vger.kernel.org; Linux ACPI; Chen, Yu C > Subject: Re: [PATCH v4

[PATCH V3] Fix INT1 Recursion with unregistered breakpoints

2015-12-14 Thread Jeff Merkey
Please consider the attached patch. SUMMARY This patch corrects a hard lockup failure of the system kernel if the operating system receives a breakpoint exception at a code execution address which was not registered with the operating system. The patch allows kernel debuggers, application

Re: [PATCH 2/2] iio: mma8452: add freefall detection for Freescale's accelerometers

2015-12-14 Thread Martin Kepplinger
Am 2015-12-12 um 16:34 schrieb Jonathan Cameron: > On 08/12/15 16:21, Martin Kepplinger wrote: >> This adds freefall event detection to the supported devices. It adds >> the in_accel_x_mag_falling_en iio event attribute, which activates >> freefall mode. >> >> In freefall mode, the current

Linux 4.1.15

2015-12-14 Thread Greg KH
I'm announcing the release of the 4.1.15 kernel. All users of the 4.1 kernel series must upgrade. The updated 4.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.1.y and can be browsed at the normal kernel.org git web browser:

[PATCH v2 07/12] mtd: nand: make nand_erase_nand() static

2015-12-14 Thread Peter Pan
From: Brian Norris nand_bbt.c doesn't need to call nand_erase_nand() any more. Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_base.c | 5 - include/linux/mtd/nand.h | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git

Re: [PATCH 3/3] staging: dgnc: Patch updates the TODO file

2015-12-14 Thread Sanidhya Solanki
Patch updates the TODO file. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/TODO b/drivers/staging/dgnc/TODO index 0e0825b..0bdfd26 100644 --- a/drivers/staging/dgnc/TODO +++ b/drivers/staging/dgnc/TODO @@

Re: [PATCH 2/3] staging: dgnc: Patch includes CamelCase & Macro fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the CamelCase fixes & Macro fixes that led to checkpatch.pl errors. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_driver.c | 56 - drivers/staging/dgnc/dgnc_driver.h | 25 ++-- drivers/staging/dgnc/dgnc_mgmt.c | 28 ++---

[PATCH v2 11/12] mtd: nand: remove nand_chip.bbt

2015-12-14 Thread Peter Pan
From: Brian Norris With new nand_bbt.c, nand_chip doesn't need bbt element any more Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- include/linux/mtd/nand.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/linux/mtd/nand.h b/include/linux/mtd/nand.h index

Re: Linux 4.1.15

2015-12-14 Thread Greg KH
diff --git a/Makefile b/Makefile index 091280d66452..cf35f6bcffd8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 1 -SUBLEVEL = 14 +SUBLEVEL = 15 EXTRAVERSION = NAME = Series 4800 diff --git a/drivers/block/rbd.c b/drivers/block/rbd.c index

[PATCH v2 10/12] mtd: nand_bbt: remove NAND_BBT_DYNAMICSTRUCT macro

2015-12-14 Thread Peter Pan
From: Brian Norris nand_bbt doesn't need nand badblock_pattern any more. So remove NAND_BBT_DYNAMICSTRUCT from nand_bbt.h Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- include/linux/mtd/nand_bbt.h | 7 --- 1 file changed, 7 deletions(-) diff --git

[PATCH v2 06/12] mtd: nand_bbt: use erase() and is_bad_bbm() hook in BBT

2015-12-14 Thread Peter Pan
From: Brian Norris Since NAND already create its nand_bbt struct, we can use erase() hook instead of call nand_erase_nand() directly. Also, we can use is_bad_bbm() to avoid passing badblock_pattern to BBT. Signed-off-by: Brian Norris [Peter: remove @buf in create_bbt()] Signed-off-by: Peter

[PATCH v2 12/12] mtd: nand-bbt: move nand_bbt.c to mtd folder

2015-12-14 Thread Peter Pan
Since struct nand_chip is removed from nand_bbt.c, BBT is now shareable. Both NAND and SPI NAND can use it. So move nand_bbt.c from nand/ foler to mtd/ folder and create MTD_NAND_BBT config. Both NAND and SPI NAND should depend on MTD_NAND_BBT. Signed-off-by: Peter Pan --- drivers/mtd/Kconfig

[PATCH v2 03/12] mtd: nand_bbt: add new API definitions

2015-12-14 Thread Peter Pan
From: Brian Norris Add new API definitions for nand_bbt to replace old ones without any users. These API includes: int nand_bbt_init(struct nand_bbt *bbt); void nand_bbt_release(struct nand_bbt *bbt); int nand_bbt_markbad(struct nand_bbt *bbt, loff_t offs); int

[PATCH v2 08/12] mtd: nand_bbt: remove struct nand_chip from nand_bbt.c

2015-12-14 Thread Peter Pan
From: Brian Norris This commit contains most of modification. But the job is quite simple --- replace struct nand_chip with struct nand_bbt. There is no algorithm change, just replacement. Signed-off-by: Brian Norris Signed-off-by: Peter Pan --- drivers/mtd/nand/nand_bbt.c | 391

[PATCH v2 01/12] mtd: nand_bbt: new header for nand family BBT

2015-12-14 Thread Peter Pan
From: Brian Norris Migrating existing BBT definitions from bbm.h to nand_bbt.h Signed-off-by: Brian Norris [Peter: correct misspelling. s/neccecary/necessary/] Signed-off-by: Peter Pan --- include/linux/mtd/bbm.h | 96 +-- include/linux/mtd/nand_bbt.h |

Re: [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the spacing fixes that led to checkpatch.pl warnings. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_cls.c| 4 +- drivers/staging/dgnc/dgnc_driver.h | 8 -- drivers/staging/dgnc/dgnc_neo.c| 235 -

Re: [PATCH FIXED 1/3] staging: dgnc: Patch includes spacing fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the spacing fixes that led to checkpatch.pl warnings. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_cls.c| 4 +- drivers/staging/dgnc/dgnc_driver.h | 8 -- drivers/staging/dgnc/dgnc_neo.c| 235 -

RE: [lkp] [f2fs] 9f88450ff1: stderr.mount:wrong_fs_type,bad_option,bad_superblock_on/dev/sda3

2015-12-14 Thread Chao Yu
Hi Ying Huang, > -Original Message- > From: Huang, Ying [mailto:ying.hu...@linux.intel.com] > Sent: Tuesday, December 15, 2015 12:06 PM > To: Chao Yu > Cc: l...@01.org; 'LKML'; '0day robot' > Subject: Re: [lkp] [f2fs] 9f88450ff1: >

linux-next: manual merge of the akpm-current tree with the powerpc tree

2015-12-14 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got conflicts in: arch/powerpc/include/asm/nohash/64/pgtable.h arch/powerpc/mm/pgtable_64.c between various commits from the powerpc tree and commits: e56ebae0dd4c ("powerpc, thp: remove infrastructure for handling splitting

Re: [PATCH v6 3/5] memory: mediatek: Add SMI driver

2015-12-14 Thread Daniel Kurtz
Hi Yong, On Tue, Dec 15, 2015 at 10:38 AM, Yong Wu wrote: > On Mon, 2015-12-14 at 19:18 +0100, Matthias Brugger wrote: >> On Tuesday 08 Dec 2015 17:49:11 Yong Wu wrote: >> > This patch add SMI(Smart Multimedia Interface) driver. This driver >> > is responsible to enable/disable iommu and control

Re: [PATCH FIXED 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Greg KH
On Mon, Dec 14, 2015 at 08:22:47PM -0500, Sanidhya Solanki wrote: > Patch contains the spacing fixes that checkpatch prompted for, > as asked by the TODO. > > Signed-off-by: Sanidhya Solanki What is the FIXED doing in the subject? And the subject is horrid, please make it sane... -- To

Re: [PATCH] tty/n_gsm.c: fix false positive WARN_ON and do some codes improvement

2015-12-14 Thread Pan Xinhui
Hi, Greg This patch is dropped, I have created another patch based on Jiri' patch. On 2015/12/15 02:55, Greg Kroah-Hartman wrote: On Wed, Nov 25, 2015 at 07:18:37PM +0800, xinhui wrote: From: xinhui If gsm driver fails to activate one mux, and this mux is not stored in gsm_mux[],

Re: [PATCH V9 2/5] dma: add Qualcomm Technologies HIDMA management driver

2015-12-14 Thread Sinan Kaya
Hi Mark, On 12/14/2015 7:05 AM, Mark Rutland wrote: >> +Required properties: >> +- compatible: "qcom,hidma-mgmt-1.0"; >> +- reg: Address range for DMA device > > Does this cover just the management registers, or those for channels as > well? just management.

Re: [PATCH 4.3 34/71] vrf: fix double free and memory corruption on register_netdevice failure

2015-12-14 Thread Greg Kroah-Hartman
On Mon, Dec 14, 2015 at 11:59:15AM -0700, David Ahern wrote: > On 12/14/15 10:45 AM, Ben Hutchings wrote: > >On Sat, 2015-12-12 at 12:05 -0800, Greg Kroah-Hartman wrote: > >>4.3-stable review patch. If anyone has any objections, please let me > >>know. > >> > >>-- > >> > >>From:

[PATCH 8/8] f2fs: fix to avoid deadlock between checkpoint and writepages

2015-12-14 Thread Chao Yu
This patch fixes to move f2fs_balance_fs out of sbi->writepages' coverage to avoid potential ABBA deadlock which was found by lockdep: Possible unsafe locking scenario: CPU0CPU1 lock(>writepages);

[PATCH 7/8] f2fs: introduce new option for controlling data flush

2015-12-14 Thread Chao Yu
Add a new option 'data_flush' to enable/disable data flush functionality in checkpoint. Signed-off-by: Chao Yu --- Documentation/filesystems/f2fs.txt | 2 ++ fs/f2fs/checkpoint.c | 2 +- fs/f2fs/f2fs.h | 1 + fs/f2fs/super.c| 7 +++ 4

[PATCH 6/8] f2fs: stat dirty regular/symlink inodes

2015-12-14 Thread Chao Yu
Add to stat dirty regular and symlink inode for showing in debugfs. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 4 fs/f2fs/debug.c | 4 fs/f2fs/f2fs.h | 8 +++- 3 files changed, 15 insertions(+), 1 deletion(-) diff --git a/fs/f2fs/checkpoint.c

[PATCH 5/8] f2fs: support data flush in checkpoint

2015-12-14 Thread Chao Yu
Previously, when finishing a checkpoint, we only keep consistency of all fs meta info including meta inode, node inode, dentry page of directory inode, so, after a sudden power cut, f2fs can recover from last checkpoint with full directory structure. But during checkpoint, we didn't flush dirty

[PATCH 4/8] f2fs: record dirty status of regular/symlink inode

2015-12-14 Thread Chao Yu
Maintain regular/symlink inode which has dirty pages in global dirty list like the way of handling directory inode. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 66 ++-- fs/f2fs/data.c | 4 ++-- fs/f2fs/dir.c| 2 +-

[Patch v2 1/3] soc: qcom: documentation: Update SMD/RPM Docs

2015-12-14 Thread Andy Gross
From: Andy Gross This patch moves the qcom,smd-rpm.txt to the correct location and splits out the smd and rpm documentation. In addition, a smd-rpm-regulator document is added. Signed-off-by: Andy Gross Acked-by: Bjorn Andersson --- .../bindings/regulator/qcom,smd-rpm-regulator.txt | 106

[Patch v2 3/3] regulator: qcom-smd: Add support for PMA8084

2015-12-14 Thread Andy Gross
From: Andy Gross This patch adds support and documentation for the PMA8084 regulators found on APQ8084 platforms. Signed-off-by: Andy Gross Acked-by: Bjorn Andersson --- .../bindings/regulator/qcom,smd-rpm-regulator.txt | 35 drivers/regulator/qcom_smd-regulator.c | 95

[PATCH 3/8] f2fs: introduce __remove_dirty_inode

2015-12-14 Thread Chao Yu
Introduce __remove_dirty_inode to clean up codes in remove_dirty_dir_inode. Signed-off-by: Chao Yu --- fs/f2fs/checkpoint.c | 24 +++- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/fs/f2fs/checkpoint.c b/fs/f2fs/checkpoint.c index 1aca402..a4392f0 100644 ---

[Patch v2 2/3] regulator: qcom-smd: Add PM8916 support

2015-12-14 Thread Andy Gross
From: Andy Gross This patch adds support and documentation for the PM8916 regulators found on MSM8916 platforms. Acked-by: Bjorn Andersson Signed-off-by: Andy Gross --- .../bindings/regulator/qcom,smd-rpm-regulator.txt | 18 ++ drivers/regulator/qcom_smd-regulator.c | 64

[PATCH 2/8] f2fs: introduce dirty list node in inode info

2015-12-14 Thread Chao Yu
Add a new dirt list node member in inode info for linking the inode to global dirty list in superblock, instead of old implementation which allocate slab cache memory as an entry to inode. It avoids memory pressure due to slab cache allocation, and also makes codes more clean. Signed-off-by:

Re: [PATCH v2] net/macb: add support for resetting PHY using GPIO

2015-12-14 Thread Florian Fainelli
On December 14, 2015 2:56:34 PM PST, Rob Herring wrote: >On Fri, Dec 11, 2015 at 11:34:53AM +0100, Gregory CLEMENT wrote: >> With device tree it is no more possible to reset the PHY at board >> level. Furthermore, doing in the driver allow to power down the PHY >when >> the network interface is

[Patch v2 0/3] Add support for APQ8084 and MSM8916 Regulators

2015-12-14 Thread Andy Gross
This patch set is a resend of part of the following series: https://lkml.org/lkml/2015/9/24/561 This adds support for the PMA8084 regulators found on APQ8084 platforms and the PM8916 regulators found on MSM8916 platforms. This also adds in the Documentation dependency required for the regulator

[PATCH 1/8] f2fs: rename {add,remove,release}_dirty_inode to {add,remove,release}_ino_entry

2015-12-14 Thread Chao Yu
remove_dirty_dir_inode will be renamed to remove_dirty_inode as a generic function in following patch for removing directory/regular/symlink inode in global dirty list. Here rename ino management related functions for readability, also in order to avoid name conflict. Signed-off-by: Chao Yu ---

Re: [PATCH FIXED 3/3] staging: dgnc: Patch updates the TODO file

2015-12-14 Thread Sanidhya Solanki
Patch updates the TODO file. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/TODO b/drivers/staging/dgnc/TODO index 0e0825b..0bdfd26 100644 --- a/drivers/staging/dgnc/TODO +++ b/drivers/staging/dgnc/TODO @@

Re: [PATCH FIXED 2/3] staging: dgnc: Patch for CamelCase fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the CamelCase fixes & Macro fixes that checkpatch prompted for, as asked by the TODO. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_driver.c | 56 - drivers/staging/dgnc/dgnc_driver.h | 25 ++-- drivers/staging/dgnc/dgnc_mgmt.c | 28 ++---

Re: [PATCH FIXED 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the spacing fixes that checkpatch prompted for, as asked by the TODO. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_cls.c| 4 +- drivers/staging/dgnc/dgnc_driver.h | 8 -- drivers/staging/dgnc/dgnc_neo.c| 235 -

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Greg KH
On Mon, Dec 14, 2015 at 07:45:25PM -0500, Sanidhya Solanki wrote: > Can you tell me what was incorrect about them? The subjects are all wrong, go look at them... PATCH twice? 1/3 for every message? Same string for every message? > I thought you requested the dgnc patches to be resent without

Re: [PATCH] powerpc: Enable UBSAN support

2015-12-14 Thread Daniel Axtens
Michael Ellerman writes: > Hi Daniel, > > Great work thanks for getting this going. > > Have you tried running with KVM? > > I'm wondering if we should be excluding some of the KVM code that runs in > real mode, eg: > > arch/powerpc/kvm/book3s_hv_rm_mmu.c >

Re: [RFCv6 PATCH 09/10] sched: deadline: use deadline bandwidth in scale_rt_capacity

2015-12-14 Thread Vincent Guittot
On 14 December 2015 at 22:12, Luca Abeni wrote: > On Mon, 14 Dec 2015 16:56:17 +0100 > Vincent Guittot wrote: > [...] >> >> diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h >> >> index 08858d1..e44c6be 100644 >> >> --- a/kernel/sched/sched.h >> >> +++ b/kernel/sched/sched.h >> >> @@

Re: [PATCH v2] Fix INT1 Exception with unregistered breakpoints

2015-12-14 Thread Jeff Merkey
On 12/14/15, H. Peter Anvin wrote: > On December 14, 2015 4:49:51 PM PST, Jeff Merkey > wrote: >>On 12/14/15, Jeff Merkey wrote: >>> Please consider the attached patch. >>> >>> SUMMARY >>> >>> This patch corrects a hard lockup failure of the system kernel if the >>> operating system receives a

Re: [PATCH 0/8 v5] enable to use thermal-zone on r8a7790/1

2015-12-14 Thread Simon Horman
On Tue, Dec 15, 2015 at 01:16:20AM +, Kuninori Morimoto wrote: > > Hi > > These are v5 of thermal-zone support for r8a7790/r8a7791. > > Kuninori Morimoto (8): > 1) thermal: rcar: move rcar_thermal_dt_ids to upside > 2) thermal: rcar: check every rcar_thermal_update_temp() return

Re: [PATCH v2] Fix INT1 Exception with unregistered breakpoints

2015-12-14 Thread H. Peter Anvin
On December 14, 2015 4:49:51 PM PST, Jeff Merkey wrote: >On 12/14/15, Jeff Merkey wrote: >> Please consider the attached patch. >> >> SUMMARY >> >> This patch corrects a hard lockup failure of the system kernel if the >> operating system receives a breakpoint exception at a code execution >>

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Can you tell me what was incorrect about them? I thought you requested the dgnc patches to be resent without the headers. There are 3 of them because Dan Carpenter asked my patch to be broken up so each one does only one thing. I also resent you the skein subsystem patches, as I did not hear

[PATCH] 82xx: FCC: Fixing a bug causing to FCC port lock-up

2015-12-14 Thread Martin Roth
The patch fixes FCC port lock-up, which occurs as a result of a bug during underrun/collision handling. Within the tx_startup() function in mac-fcc.c, the address of last BD is not calculated correctly. As a result of wrong calculation of the last BD address, the next transmitted BD may be set to

Re: [RFCv6 PATCH 09/10] sched: deadline: use deadline bandwidth in scale_rt_capacity

2015-12-14 Thread Vincent Guittot
On 14 December 2015 at 17:51, Peter Zijlstra wrote: > On Mon, Dec 14, 2015 at 04:56:17PM +0100, Vincent Guittot wrote: >> I agree that if the WCET is far from reality, we will underestimate >> available capacity for CFS. Have you got some use case in mind which >> overestimates the WCET ? > >

Re: [PATCH 1/2] cris: debugport: Fix section mismatches

2015-12-14 Thread Guenter Roeck
On 11/10/2015 02:04 PM, Guenter Roeck wrote: Section mismatches can now cause build failures, such as for cris:allnoconfig. Rename affected variables to end with _console to make section mismatch checks happy. Signed-off-by: Guenter Roeck ping ... cris:allnoconfig still fails to build in

Re: FW: Commit 81a43adae3b9 (locking/mutex: Use acquire/release semantics) causing failures on arm64 (ThunderX)

2015-12-14 Thread Paul E. McKenney
On Mon, Dec 14, 2015 at 09:28:55PM +0100, Peter Zijlstra wrote: > On Fri, Dec 11, 2015 at 02:35:40PM -0800, Paul E. McKenney wrote: > > On Fri, Dec 11, 2015 at 02:48:03PM +0100, Peter Zijlstra wrote: > > > On Fri, Dec 11, 2015 at 01:33:14PM +, Will Deacon wrote: > > > > On Fri, Dec 11, 2015 at

Re: [PATCH] powerpc: Enable UBSAN support

2015-12-14 Thread Michael Ellerman
Hi Daniel, Great work thanks for getting this going. On Tue, 2015-12-15 at 14:46 +1100, Daniel Axtens wrote: > This hooks up UBSAN support for PowerPC. > > So far it's found some interesting cases where we don't properly sanitise > input to shifts, including one in our futex handling. It's

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Greg KH
On Mon, Dec 14, 2015 at 07:03:31PM -0500, Sanidhya Solanki wrote: > Patch updates the TODO file. > > Signed-off-by: Sanidhya Solanki > --- > drivers/staging/dgnc/TODO | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/staging/dgnc/TODO b/drivers/staging/dgnc/TODO > index

[PATCH] perf tests: Fix false TEST_OK result for 'perf test hist'

2015-12-14 Thread Wang Nan
Commit 71d6de64feddd4b45326fba2111b3006d9e0 ('perf test: Fix hist testcases when kptr_restrict is on') solves a double free problem when 'perf test hist' calling setup_fake_machine(). However, the result is still incorrect. For example: $ ./perf test -v 'filtering hist entries' 25: Test

Re: WARNING in crypto_wait_for_test

2015-12-14 Thread Herbert Xu
On Mon, Dec 14, 2015 at 11:45:02PM +0100, Stephan Mueller wrote: > > But with the given code, when you remove the bogus mask setting (which in > turn > leaves it as 0), the code works flawless. Please find out exactly why this would be triggering the warning because your previous explanation of

RE: [PATCH RESEND 09/27] drivers:hv: Export the API to invoke a hypercall on Hyper-V

2015-12-14 Thread KY Srinivasan
> -Original Message- > From: Greg KH [mailto:gre...@linuxfoundation.org] > Sent: Monday, December 14, 2015 7:08 PM > To: KY Srinivasan > Cc: linux-kernel@vger.kernel.org; de...@linuxdriverproject.org; > o...@aepfle.de; a...@canonical.com; vkuzn...@redhat.com; > jasow...@redhat.com; Jake

Re: [PATCH] Staging: Skein: Moved macros from skein_block.c to header file.

2015-12-14 Thread Sanidhya Solanki
The original code defined macros in the source code, making it harder to read. Moved them to the header file, as per the TODO file. Updated the TODO file. Signed-off-by: Sanidhya Solanki --- drivers/staging/skein/TODO | 1 - drivers/staging/skein/skein_block.c | 6 --

Re: [lkp] [f2fs] 9f88450ff1: stderr.mount:wrong_fs_type,bad_option,bad_superblock_on/dev/sda3

2015-12-14 Thread Huang, Ying
Chao Yu writes: > Hi Ying Huang, > >> -Original Message- >> From: kernel test robot [mailto:ying.hu...@linux.intel.com] >> Sent: Monday, December 14, 2015 3:06 PM >> To: Chao Yu >> Cc: l...@01.org; LKML; 0day robot >> Subject: [lkp] [f2fs] 9f88450ff1: >>

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Patch updates the TODO file. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/TODO | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/dgnc/TODO b/drivers/staging/dgnc/TODO index 0e0825b..0bdfd26 100644 --- a/drivers/staging/dgnc/TODO +++ b/drivers/staging/dgnc/TODO @@

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the spacing fixes that checkpatch prompted for, as asked by the TODO. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_cls.c| 4 +- drivers/staging/dgnc/dgnc_driver.h | 8 -- drivers/staging/dgnc/dgnc_neo.c| 235 -

Re: [PATCH 05/16] perf test: Fix hist testcases when kptr_restrict is on

2015-12-14 Thread Wangnan (F)
Hi, On 2015/12/15 1:44, Arnaldo Carvalho de Melo wrote: From: Namhyung Kim Currently if kptr_restrict is enabled, all hist tests failed with segfaults. This is because machine__create_kernel_maps() in setup_fake_machine() failed in that situation, and it called machine__delete() on the error

Re: [PATCH] [PATCH 1/3] staging: dgnc: Patch includes the checkpatch fixes

2015-12-14 Thread Sanidhya Solanki
Patch contains the CamelCase fixes & Macro fixes that checkpatch prompted for, as asked by the TODO. Signed-off-by: Sanidhya Solanki --- drivers/staging/dgnc/dgnc_driver.c | 56 - drivers/staging/dgnc/dgnc_driver.h | 25 ++-- drivers/staging/dgnc/dgnc_mgmt.c | 28 ++---

[PATCH] powerpc: Enable UBSAN support

2015-12-14 Thread Daniel Axtens
This hooks up UBSAN support for PowerPC. So far it's found some interesting cases where we don't properly sanitise input to shifts, including one in our futex handling. It's also found an out of bounds read in an array. Nothing critical, but worth fixing. Tested-by: Andrew Donnellan CC: Andrey

ARM64/KVM: Bad page state in process iperf

2015-12-14 Thread Bhushan Bharat
Hi All, I am running "iperf" in KVM guest on ARM64 machine and observing below crash. = $iperf -c 3.3.3.3 -P 4 -t 0 -i 5 -w 90k Client connecting to 3.3.3.3, TCP port 5001 TCP window size: 180 KByte

Re: [PATCH 0/15] copy offload patches

2015-12-14 Thread Douglas Gilbert
On 15-12-14 08:22 PM, Mikulas Patocka wrote: On Thu, 10 Dec 2015, Martin K. Petersen wrote: "Mikulas" == Mikulas Patocka writes: Mikulas, Mikulas> This patch series adds copy offload (the XCOPY command) to the Mikulas> block layer, SCSI subsystems and device mapper. Now that the VFS

Re: [PATCH v4 01/20] PM / devfreq: exynos: Add generic exynos bus frequency driver

2015-12-14 Thread Krzysztof Kozlowski
On 14.12.2015 15:38, Chanwoo Choi wrote: > This patch adds the generic exynos bus frequency driver for AMBA AXI bus > of sub-blocks in exynos SoC with DEVFREQ framework. The Samsung Exynos SoC > have the common architecture for bus between DRAM and sub-blocks in SoC. > This driver can support the

[PATCH v3 1/3] perf tools: Fix PowerPC native building

2015-12-14 Thread Wang Nan
Checks BPF syscall number, turn off libbpf building on platform doesn't correctly support sys_bpf instead of blocking compiling. Reported-by: Naveen N. Rao Signed-off-by: Wang Nan Cc: Arnaldo Carvalho de Melo Cc: Jiri Olsa Cc: Sukadev Bhattiprolu --- tools/build/feature/test-bpf.c | 20

[PATCH v3 0/3] perf build: PowerPC: Fix build breakage due to libbpf

2015-12-14 Thread Wang Nan
Hi Naveen, Now I know your problem is in native building and the reason is missing proper $(ARCH). I think other than that there's another problem in libbpf's building: if your problem is unable to compile libbpf, feature checker should find it and set NO_LIBBPF=1 for perf, so perf building

  1   2   3   4   5   6   7   8   9   10   >