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

2015-09-24 Thread Boris Brezillon
Hi Peter, This comment is not related to the code itself, but next time you send a patch series, could you send all patches as a reply to the cover letter? This is automatically done when you use git send-email unless you pass the --no-thread option. The following command should do the trick: git

Re: [PATCH cgroup/for-4.3-fixes] cgroup, writeback: don't enable cgroup writeback on traditional hierarchies

2015-09-24 Thread Artem Bityutskiy
On Thu, 2015-09-24 at 16:45 -0400, Tejun Heo wrote: > Hello, Artem. > > On Thu, Sep 24, 2015 at 11:09:46AM +0300, Artem Bityutskiy wrote: > > On Wed, 2015-09-23 at 17:07 -0400, Tejun Heo wrote: > > > So, this should make the regression go away. It doesn't fix the > > > underlying bugs but they sh

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

2015-09-24 Thread peterpandong
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 10/12] mtd: nand_bbt: remove NAND_BBT_DYNAMICSTRUCT macro

2015-09-24 Thread peterpandong
nand_bbt doesn't need nand badblock_pattern any more. So remove NAND_BBT_DYNAMICSTRUCT from nand_bbt.h Signed-off-by: Brian Norris --- include/linux/mtd/nand_bbt.h | 7 --- 1 file changed, 7 deletions(-) diff --git a/include/linux/mtd/nand_bbt.h b/include/linux/mtd/nand_bbt.h index 48a0620.

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

2015-09-24 Thread peterpandong
With new nand_bbt.c, nand_chip doesn't need bbt element any more Signed-off-by: Brian Norris --- 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 fb3f148..bc49f04 100644 --- a/include/linux/mtd/nand.h +++ b/in

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

2015-09-24 Thread peterpandong
remove old BBT APIs Signed-off-by: Brian Norris --- drivers/mtd/nand/nand_bbt.c | 110 +--- include/linux/mtd/nand.h| 3 -- 2 files changed, 22 insertions(+), 91 deletions(-) diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c ind

[PATCH v2 17/19] tools: bpf_jit_disasm: make get_last_jit_image return unsigned

2015-09-24 Thread Andrzej Hajda
The function returns always non-negative values. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- v2: fixed indentation --- tools

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

2015-09-24 Thread peterpandong
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 --- drivers/mtd/nand/nand_bbt.c | 393 ++-- 1 file changed

[PATCH v2 03/19] libata: samsung_cf: fix handling platform_get_irq result

2015-09-24 Thread Andrzej Hajda
The function can return negative value. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- v2: changed type of irq field --- driver

Re: [Linux v4.2] workqueue: llvmlinux: acpid: BUG: sleeping function called from invalid context at kernel/workqueue.c:2680

2015-09-24 Thread Sedat Dilek
On Thu, Sep 24, 2015 at 10:21 AM, Jiri Kosina wrote: > On Thu, 24 Sep 2015, Sedat Dilek wrote: > >> >> > >> [ 24.705767] [] dump_stack+0x7d/0xa0 >> >> > >> [ 24.705774] [] ___might_sleep+0x28a/0x2a0 >> >> > >> [ 24.705779] [] __might_sleep+0x4f/0xc0 >> >> > >> [ 24.705784] [] start_flu

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

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

RE: [PATCH][RFC] ACPI / PM: Fix incorrect wakeup irq setting before suspend-to-idle

2015-09-24 Thread Chen, Yu C
Hi,Rafael, thanks a lot for your review, will resend v2 version. > -Original Message- > From: Rafael J. Wysocki [mailto:r...@rjwysocki.net] > Sent: Friday, September 25, 2015 9:24 AM > To: Chen, Yu C > Cc: Wysocki, Rafael J; jiang@linux.intel.com; Zhang, Rui; Brown, Len; > linux- > ke

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

2015-09-24 Thread peterpandong
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 Pan --- drivers/mtd/na

[PATCH v2 18/19] mac80211: make ieee80211_new_mesh_header return unsigned

2015-09-24 Thread Andrzej Hajda
The function returns always non-negative values. The problem has been detected using proposed semantic patch scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2046107 Signed-off-by: Andrzej Hajda --- v2: added missing declaration ch

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

2015-09-24 Thread peterpandong
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 nand_default_bbt() in nand_base.

[PATCH v2] net: Fix Hisilicon Network Subsystem Support Compilation

2015-09-24 Thread huangdaode
This patch fixes the compilation error with arm allmodconfig, this error generated due to unavailability of readq() on 32-bit platform which was found during net-next daily compilation. In the same time, fix all the hns drivers compilation warnings. Signed-off-by: huangdaode Signed-off-by: zhaung

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

2015-09-24 Thread peterpandong
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 chang

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

2015-09-24 Thread peterpandong
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 nand_bbt_isreserved(stru

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

2015-09-24 Thread peterpandong
We put every information nand_bbt.c needed from outside into struct nand_bbt, include: @mtd: pointer to MTD device structure @is_bad_bbm:check if a block is factory bad block @mark_bad_bbm: imitate a block as factory bad block @erase: erase block bypassing res

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

2015-09-24 Thread peterpandong
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 | 118 ++

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

2015-09-24 Thread peterpandong
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 | 118 ++

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

2015-09-24 Thread peterpandong
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 nand_chi

[PATCH] soc: mediatek: Fix random hang up issue while kernel init

2015-09-24 Thread James Liao
In kernel late init, it turns off all unused clocks, which needs to access subsystem registers such as VENC and VENC_LT. Accessing MT8173 VENC registers needs two top clocks, mm_sel and venc_sel. Accessing VENC_LT registers needs mm_sel and venclt_sel. So we need to keep these clocks on before acc

Re: [PATCH v2] sound: oss: ad1848: Fix returned errno code in ad1848_init()

2015-09-24 Thread Takashi Iwai
On Thu, 24 Sep 2015 21:08:39 +0200, Luis de Bethencourt wrote: > > On 24/09/15 19:56, Takashi Iwai wrote: > > On Thu, 24 Sep 2015 19:58:30 +0200, > > Luis de Bethencourt wrote: > >> > >> The driver is using -1 instead of the -ENOMEM defined macro to specify > >> that a buffer allocation failed. Si

[PATCH v8 1/4] perf,kvm/{x86,s390}: Remove dependency on uapi/kvm_perf.h

2015-09-24 Thread Hemant Kumar
Its better to remove the dependency on uapi/kvm_perf.h to allow dynamic discovery of kvm events (if its needed). To do this, some extern variables have been introduced with which we can keep the generic functions generic. Signed-off-by: Hemant Kumar --- Changes since v7: - Removed __maybe_unused

[PATCH v8 2/4] perf,kvm/{x86,s390}: Remove const from kvm_events_tp

2015-09-24 Thread Hemant Kumar
This patch removes the "const" qualifier from kvm_events_tp declaration to account for the fact that powerpc will need to update this variable dynamically depending on the machine type. Signed-off-by: Hemant Kumar --- tools/perf/arch/s390/util/kvm-stat.c | 2 +- tools/perf/arch/x86/util/kvm-stat

[PATCH v8 3/4] perf,kvm/powerpc: Port perf kvm stat to powerpc

2015-09-24 Thread Hemant Kumar
perf kvm can be used to analyze guest exit reasons. This support already exists in x86. Hence, porting it to powerpc. - To trace KVM events : perf kvm stat record If many guests are running, we can track for a specific guest by using --pid as in : perf kvm stat record --pid - To see the

[PATCH v8 4/4] perf,kvm/powerpc: Add support for HCALL reasons

2015-09-24 Thread Hemant Kumar
Powerpc provides hcall events that also provides insights into guest behaviour. Enhance perf kvm stat to record and analyze hcall events. - To trace hcall events : perf kvm stat record - To show the results : perf kvm stat report --event=hcall The result shows the number of hypervisor call

Re: Linux 4.3-rc1 build error on CentOS 5.11 "scripts/sign-file.c:23:25: fatal error: openssl/cms.h: No such file or directory"

2015-09-24 Thread David Howells
Vinson Lee wrote: > After a similar edit to line 289, replacing i2d_PKCS7_bio_stream with > i2d_PKCS7_bio, sign-file.c builds for me on CentOS 5.11. Okay, thanks. Does it then work? David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to maj

Re: [PATCH 26/26] x86, pkeys: Documentation

2015-09-24 Thread Ingo Molnar
* Dave Hansen wrote: > > I.e. AFAICS pkeys could be used to create true '--x' permissions for > > executable > > (user-space) pages. > > Just remember that all of the protections are dependent on the contents of > PKRU. > If an attacker controls the Access-Disable bit in PKRU for the > ex

Re: [PATCH/RFC] perf buildid: Cache kernel DSO created when reading buildid header table

2015-09-24 Thread Namhyung Kim
On Thu, Sep 24, 2015 at 12:56:31PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Sep 25, 2015 at 12:01:12AM +0900, Namhyung Kim escreveu: > > Hi Arnaldo, > > > > On Thu, Sep 24, 2015 at 10:42:28AM -0300, Arnaldo Carvalho de Melo wrote: > > > Namhyung, > > > > > > Can you take a look and perh

Re: [PATCH v3 0/9] Phy, mdiobus, and netdev struct device fixes

2015-09-24 Thread David Miller
From: Florian Fainelli Date: Thu, 24 Sep 2015 18:39:56 -0700 > On 24/09/15 12:17, Russell King - ARM Linux wrote: >> Hi, >> >> The third version of this series fixes the build error which David >> identified, and drops the broken changes for the Cavium Thunger BGX >> ethernet driver as this driv

Re: [PATCH V2] kexec: Use file name as the output message prefix

2015-09-24 Thread Minfei Huang
On 09/25/15 at 01:24pm, Dave Young wrote: > On 09/25/15 at 01:04pm, Dave Young wrote: > > On 09/24/15 at 02:07pm, Minfei Huang wrote: > > > kexec output message misses the prefix "kexec", when Dave Young split > > > the kexec code. Now, we use file name as the output message prefix. > > > > > > Cu

Re: [Linux 4.2-rc8+...v4.3-rc2] REGRESSION: ppp: circular locking dependency detected: [pppd] ppp_dev_uninit() | rtnl_lock()

2015-09-24 Thread Sedat Dilek
On Thu, Sep 24, 2015 at 8:00 PM, David Miller wrote: > From: Sedat Dilek > Date: Thu, 24 Sep 2015 18:19:16 +0200 > >> OK, I guess DaveM will take your patch into net.git#master first... >> and tag it there with CC-stable? > > I do not tag anything with stable. > > I queue it up into a patchwork b

[PATCH v3] zbud: allow up to PAGE_SIZE allocations

2015-09-24 Thread Vitaly Wool
>From e219a88f4cd68842e7e04e37461aba6e06555d6a Mon Sep 17 00:00:00 2001 From: Vitaly Vul Date: Tue, 22 Sep 2015 14:07:01 +0200 Subject: [PATCH] zbud: allow up to PAGE_SIZE allocations Currently zbud is only capable of allocating not more than PAGE_SIZE - ZHDR_SIZE_ALIGNED - CHUNK_SIZE. This is ok

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-24 Thread Vitaly Wool
Hello Seth, On Thu, Sep 24, 2015 at 12:41 AM, Seth Jennings wrote: > On Wed, Sep 23, 2015 at 10:59:00PM +0200, Vitaly Wool wrote: >> Okay, how about this? It's gotten smaller BTW :) >> >> zbud: allow up to PAGE_SIZE allocations >> >> Currently zbud is only capable of allocating not more than >> P

Re: [PATCH] net/ibm/emac: bump version numbers for correct work with ethtool

2015-09-24 Thread David Miller
From: Ivan Mikhaylov Date: Fri, 25 Sep 2015 08:07:52 +0400 > Ben proposed one, is it eligible? > Need I resubmit patch with sign and detailed description? If I genuinely need to answer that question, maybe you should sit back for a little while and think about it yourself, ok? -- To unsubscribe

RE: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-24 Thread Zhao Qiang
On Fri, Sep 25, 2015 at 1:08 PM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 25, 2015 1:08 PM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b

Re: [PATCH v3 9/9] zram: use crypto decompress_noctx API

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 02:29:18PM +0900, Sergey Senozhatsky wrote: > On (09/18/15 14:19), Joonsoo Kim wrote: > > -/* Never return NULL, may sleep */ > > +/* May return NULL, may sleep */ > > struct zcomp_strm *zcomp_decompress_begin(struct zcomp *comp) > > { > > + if (comp->tfm_noctx) > > +

Re: [PATCH v4 4/5] ARM: dts: mt8135: enable basic SMP bringup for mt8135

2015-09-24 Thread Yingjoe Chen
On Thu, 2015-09-24 at 23:38 +0800, Yingjoe Chen wrote: > Add arch timer node to enable arch-timer support. MT8135 firmware > doesn't correctly setup arch-timer frequency and CNTVOFF, add > properties to workaround this. > > This also set cpu enable-method to enable SMP. > > Signed-off-by: Yingjoe

Re: [PATCH v3 9/9] zram: use crypto decompress_noctx API

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 04:56:00PM +0900, Sergey Senozhatsky wrote: > On (09/18/15 14:19), Joonsoo Kim wrote: > [..] > > + /* > > +* Prepare to use crypto decompress_noctx API. One tfm is required > > +* to initialize crypto algorithm properly and fetch corresponding > > +* function p

Re: [PATCH v3 9/9] zram: use crypto decompress_noctx API

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 12:51:28PM +0900, Minchan Kim wrote: > On Fri, Sep 18, 2015 at 02:19:24PM +0900, Joonsoo Kim wrote: > > Crypto subsystem now supports decompress_noctx API that requires > > special tfm_noctx. This tfm can be shared by multiple concurrent > > decompress user because this API

Re: [PATCH v3 8/9] zram: use crypto API for compression

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 12:45:12PM +0900, Minchan Kim wrote: > Hi Joonsoo, > > On Fri, Sep 18, 2015 at 02:19:23PM +0900, Joonsoo Kim wrote: > > Until now, zram uses compression algorithm through direct call > > to core algorithm function, but, it has drawback that we need to add > > compression al

Re: [PATCH] pidns: fix set/getpriority and ioprio_set/get in PRIO_USER mode

2015-09-24 Thread Eric W. Biederman
bseg...@google.com writes: > ebied...@xmission.com (Eric W. Biederman) writes: > >> Andrew Morton writes: >> >>> On Wed, 16 Sep 2015 12:58:04 -0700 bseg...@google.com wrote: >>> setpriority(PRIO_USER, 0, x) will change the priority of tasks outside of the current pid namespace. This is

Re: [PATCH v3 8/9] zram: use crypto API for compression

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 02:19:03PM +0900, Sergey Senozhatsky wrote: > On (09/18/15 14:19), Joonsoo Kim wrote: > [..] > > -static struct zcomp_backend *find_backend(const char *compress) > > +static const char *find_backend(const char *compress) > > { > > int i = 0; > > while (backends[i])

Re: Glibc recvmsg from kernel netlink socket hangs forever

2015-09-24 Thread Guenter Roeck
Herbert, On 09/24/2015 09:58 PM, Herbert Xu wrote: On Thu, Sep 24, 2015 at 09:36:53PM -0700, Guenter Roeck wrote: http://comments.gmane.org/gmane.linux.network/363085 might explain your problem. I thought this was resolved in 4.1, but it looks like the problem still persists there. At least

Re: [PATCH v3 0/9] zram: introduce crypto decompress noctx API and use it on zram

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 12:58:12PM +0900, Minchan Kim wrote: > On Fri, Sep 18, 2015 at 02:19:15PM +0900, Joonsoo Kim wrote: > > This patchset makes zram to use crypto API in order to support > > more compression algorithm. > > > > The reason we need to support vairous compression algorithms is tha

Re: [PATCH v3 1/9] crypto: introduce decompression API that can be called via sharable tfm object

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 02:38:59PM +0900, Sergey Senozhatsky wrote: > On (09/18/15 14:19), Joonsoo Kim wrote: > [..] > > @@ -61,7 +61,8 @@ static struct crypto_alg alg = { > > .cra_module = THIS_MODULE, > > .cra_u = { .compress = { > > .coa_compress

Re: [PATCH v3 1/9] crypto: introduce decompression API that can be called via sharable tfm object

2015-09-24 Thread Joonsoo Kim
On Tue, Sep 22, 2015 at 08:43:46PM +0800, Herbert Xu wrote: > On Fri, Sep 18, 2015 at 02:19:16PM +0900, Joonsoo Kim wrote: > > Until now, tfm object embeds (de)compression context in it and > > (de)compression in crypto API requires tfm object to use > > this context. But, there are some algorithms

Re: [PATCH v3 1/9] crypto: introduce decompression API that can be called via sharable tfm object

2015-09-24 Thread Joonsoo Kim
On Mon, Sep 21, 2015 at 03:18:17PM +0900, Sergey Senozhatsky wrote: > On (09/18/15 14:19), Joonsoo Kim wrote: > [..] > > static int __init lzo_mod_init(void) > > diff --git a/include/linux/crypto.h b/include/linux/crypto.h > > index e71cb70..31152b1 100644 > > --- a/include/linux/crypto.h > > +++

Re: [PATCH V2] kexec: Use file name as the output message prefix

2015-09-24 Thread Dave Young
On 09/25/15 at 01:04pm, Dave Young wrote: > On 09/24/15 at 02:07pm, Minfei Huang wrote: > > kexec output message misses the prefix "kexec", when Dave Young split > > the kexec code. Now, we use file name as the output message prefix. > > > > Currectly, the format of output message: s/Currectly/Cu

Re: [PATCH] ethtool: add new emac_regs struct from driver, add new chip types.

2015-09-24 Thread Ivan Mikhaylov
* add new version of emac_regs struct from driver structure perspective and passing size from actual struct size, not from memory area variable which set in dts file. * add three types of network chips for new struct : emac, emac4, emac4sync. * add emac4sync processing in print_emac_regs. * thi

Error: arch/arm/boot/dts/mt8127.dtsi:56.21-22 syntax error

2015-09-24 Thread kbuild test robot
Hi Yingjoe, FYI, build test results on v4.3-rc2 (pls ignore if it's inappropriate base for your patch). config: arm-multi_v7_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/b

Re: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-24 Thread Scott Wood
On Thu, 2015-09-24 at 21:50 -0500, Zhao Qiang-B45475 wrote: > On Fri, Sep 25, 2015 at 7:30 AM +0800, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, September 25, 2015 7:30 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org; linux

Re: [PATCH] net/ibm/emac: bump version numbers for correct work with ethtool

2015-09-24 Thread Ivan Mikhaylov
On Wed, 23 Sep 2015 11:05:49 -0700 (PDT) "David Miller" wrote: > From: Ivan Mikhaylov > Date: Wed, 23 Sep 2015 14:42:22 +0400 > > > Register dump out work preventing with > > old ethtool + new driver and new ethtool + old driver. > > First of all you didn't provide a proper Signoff. > > Seco

Re: [PATCH V2] kexec: Use file name as the output message prefix

2015-09-24 Thread Dave Young
On 09/24/15 at 02:07pm, Minfei Huang wrote: > kexec output message misses the prefix "kexec", when Dave Young split > the kexec code. Now, we use file name as the output message prefix. > > Currectly, the format of output message: > [ 140.290795] SYSC_kexec_load: hello, world > [ 140.291534] kex

linux-next: Tree for Sep 25

2015-09-24 Thread Stephen Rothwell
Hi all, Changes since 20150924: The berlin tree lost its build failure. I used the h8300 tree from next-20150828 since the current tree has been rebased onto something very old :-( The net-next tree gained a conflict against the net tree. The cgroup tree gained a build failure for which I

Re: Glibc recvmsg from kernel netlink socket hangs forever

2015-09-24 Thread Herbert Xu
On Thu, Sep 24, 2015 at 09:36:53PM -0700, Guenter Roeck wrote: > > http://comments.gmane.org/gmane.linux.network/363085 > > might explain your problem. > > I thought this was resolved in 4.1, but it looks like the problem still > persists > there. At least I have reports from my workplace that 4

sunxi, Allwinner TDM Support?

2015-09-24 Thread Caleb Crome
Hi, I was wondering if the sunxi parts support TDM mode on their DAI ports? Those parts sure have attractive pricing, and as you may have gathered, I'm all about many microphone channels. :-) Thanks, -Caleb -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Error: arch/arm/boot/dts/mt8135.dtsi:81.21-22 syntax error

2015-09-24 Thread kbuild test robot
Hi Yingjoe, FYI, build test results on v4.3-rc2 (pls ignore if it's inappropriate base for your patch). config: arm-multi_v7_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/b

Re: Glibc recvmsg from kernel netlink socket hangs forever

2015-09-24 Thread Guenter Roeck
On Thu, Sep 24, 2015 at 05:29:34PM -0700, Steven Schlansker wrote: > Hello linux-kernel, > > I write to you on behalf of many developers at my company, who > are having trouble with their applications endlessly locking up > inside of libc code, with no hope of recovery. > > Currently it affects o

Re: [RFC] PCI: Unassigned Expansion ROM BARs

2015-09-24 Thread Yinghai Lu
On Thu, Sep 24, 2015 at 12:01 PM, Yinghai Lu wrote: > Or do we want to keep a white list to say which device should have > ROM bar as mush have, and other is optional to have ? Subject: [RFC PATCH] PCI: Add pci_dev_need_rom_bar() Only set that for 1. if BIOS/firmware already set ROM bar. 2. via

[PATCH] mm doc: Fix misleading code reference of overcommit_memory

2015-09-24 Thread Chun Chen
The origin document references to cap_vm_enough_memory is because cap_vm_enough_memory invoked __vm_enough_memory before and it no longer does now. Signed-off-by: Chun Chen --- Documentation/sysctl/vm.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/sysctl/vm

Re: netlink: Add barrier to netlink_connect for theoretical case

2015-09-24 Thread Herbert Xu
On Thu, Sep 24, 2015 at 08:24:56PM -0700, Linus Torvalds wrote: > > The above looks very suspicious. You're right Linus. I've added the READ_ONCE there. The reason I kept the conditional is because the helper is always called in a context where the result is used as part of an if statement. Th

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

2015-09-24 Thread Stephen Rothwell
q_flow_handler_t handle) ^ Caused by commit 776180848b57 ("pinctrl: introduce driver for Atmel PIO4 controller") I have used the pinctrl tree from next-20150924 for today. -- Cheers, Stephen Rothwells...@canb.auug.org.au -- To unsubscribe from this list: send the line

Re: [PATCH] Documentation: Update the default value of crashkernel low

2015-09-24 Thread Baoquan He
On 09/24/15 at 03:44pm, Jonathan Corbet wrote: > On Thu, 24 Sep 2015 16:51:25 +0800 > Baoquan He wrote: > > > In commit 94fb933 ("x86/crash: Allocate enough low memory when > > crashkernel=high") the default value of crashkernel low memory > > is changed to 256M. In this patch update it according

Re: [Patch v3 10/10] regulator: qcom-smd: Add support for PMA8084

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds support and documentation for the PMA8084 regulators > found on APQ8084 platforms. > Acked-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Andy Gross > --- > .../bindings/soc/qcom/qcom,smd-rpm-regulator.txt | 35 +

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

2015-09-24 Thread Stephen Rothwell
Hi Tejun, After merging the cgroup tree, today's linux-next build (x86_64 allmodconfig) failed like this: mm/vmscan.c: In function 'sane_reclaim': mm/vmscan.c:178:2: error: implicit declaration of function 'cgroup_on_dfl' [-Werror=implicit-function-declaration] if (cgroup_on_dfl(memcg->css.cgr

Re: netlink: Add barrier to netlink_connect for theoretical case

2015-09-24 Thread Linus Torvalds
On Thu, Sep 24, 2015 at 6:43 PM, Herbert Xu wrote: > On Thu, Sep 24, 2015 at 04:05:10PM -0400, Tejun Heo wrote: > > +static inline bool netlink_bound(struct netlink_sock *nlk) > +{ > + /* Ensure nlk is hashed and visible. */ > + if (nlk->bound) > + smp_rmb(); > + > +

Re: [Patch v3 09/10] arm: dts: Add support for PMA8084 on APQ8084

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds support for the PMA8084 regulators found on APQ8084 > platforms. > Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.ke

Re: [Patch v3 08/10] arm: dts: Add RPM/SMD support on APQ8084

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds support for RPM and SMD nodes that are present on APQ8084 > platforms. > Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [Patch v3 05/10] arm64: dts: Add PM8916 support on MSM8916

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds the PM8916 regulator nodes found on MSM8916 platforms. > Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org M

Re: [Patch v3 07/10] arm: dts: Add APQ8084 SMEM nodes

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds all the required nodes to support SMEM on APQ8084 > Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More m

Re: [Patch v3 03/10] arm64: dts: qcom: Add MSM8916 SMEM nodes

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > This patch adds the nodes necessary to support the SMEM driver on MSM8916 > platforms. > Looks reasonable, I've not reviewed the addresses of things, but I presume you have :) Acked-by: Bjorn Andersson Reards, Bjorn -- To unsubscribe from this

Re: [Patch v3 04/10] arm64: dts: qcom: Add RPM/SMD support on MSM8916

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > Add support for the SMD and RPM devices found on MSM8916 platforms. > Looks reasonable Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vg

[PATCH 2/2] perf tools: Enable event_config terms to tracepoint events

2015-09-24 Thread He Kuang
This patch enable config terms for tracepoint perf events. Valid terms for tracepoint events are call-graph and stack-size, so we can use different callgraph settings for each event and eliminate unnecessary overhead. Here is an example for using different call-graph config for each tracepoint.

[PATCH 1/2] perf tools: Prompt error message for wrong terms of hw/sw events

2015-09-24 Thread He Kuang
Prompt proper error message when wrong config terms is specificed for hw/sw type perf events. Currently, unknown terms is not reported as an error because pmu events have valid terms in sysfs. But for hw/sw events, valid config terms are fixed and it should be reported if wrong terms are given. Be

Re: [Patch v3 01/10] soc: qcom: documentation: Update SMD/RPM Docs

2015-09-24 Thread Bjorn Andersson
On Thu 24 Sep 12:18 PDT 2015, Andy Gross wrote: > 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. > Acked-by: Bjorn Andersson Regards, Bjorn -- To unsubscribe from this list: se

Re: [PATCH v3 0/1] USB DWC2 parity fix in isochronous mode

2015-09-24 Thread John Youn
On 9/24/2015 10:28 AM, Roman Bacik wrote: >> -Original Message- >> From: John Youn [mailto:john.y...@synopsys.com] >> Sent: September-23-15 9:21 PM >> To: Scott Branden; John Youn; Greg Kroah-Hartman; linux- >> u...@vger.kernel.org; Roman Bacik >> Cc: linux-kernel@vger.kernel.org; bcm-kerne

Re: [PATCH 1/2] KVM: introduce __vmx_flush_tlb to handle specific vpid

2015-09-24 Thread Wanpeng Li
On 9/25/15 12:12 AM, Bandan Das wrote: Wanpeng Li writes: Introduce __vmx_flush_tlb() to handle specific vpid. Signed-off-by: Wanpeng Li --- arch/x86/kvm/vmx.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.

Re: [PATCH] dax: fix deadlock in __dax_fault

2015-09-24 Thread Dave Chinner
On Thu, Sep 24, 2015 at 09:50:29AM -0600, Ross Zwisler wrote: > On Thu, Sep 24, 2015 at 12:52:25PM +1000, Dave Chinner wrote: > > On Wed, Sep 23, 2015 at 02:40:00PM -0600, Ross Zwisler wrote: > > > Fix the deadlock exposed by xfstests generic/075. Here is the sequence > > > that was causing us to

RE: [PATCH v10 3/5] CPM/QE: use genalloc to manage CPM/QE muram

2015-09-24 Thread Zhao Qiang
On Fri, Sep 25, 2015 at 7:30 AM +0800, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Friday, September 25, 2015 7:30 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061; b.

Re: [regression] Re: Linux 4.3-rc1

2015-09-24 Thread Sedat Dilek
On Wed, Sep 23, 2015 at 11:37 PM, Sedat Dilek wrote: > On Wed, Sep 23, 2015 at 10:48 PM, Sedat Dilek wrote: >> On Wed, Sep 23, 2015 at 3:31 PM, Shuah Khan wrote: >>> On 09/23/2015 02:56 AM, Daniel Vetter wrote: Another regression for Jairo to track. -Daniel >>> >>> Saw the same problem

Re: [PATCH 16/16] mm: sanitize page->mapping for tail pages

2015-09-24 Thread Jerome Glisse
On Thu, Sep 24, 2015 at 05:51:04PM +0300, Kirill A. Shutemov wrote: > We don't define meaning of page->mapping for tail pages. Currently it's > always NULL, which can be inconsistent with head page and potentially lead > to problems. > > Let's poison the pointer to catch all illigal uses. > > pa

Re: [PATCH v1 1/3] clocksource: rockchip: Make the driver more readability and compatible

2015-09-24 Thread Caesar Wang
Daniel, 在 2015年09月25日 08:25, Daniel Lezcano 写道: Hi Caesar, so thinking a bit more about this patch. I would like to split it into two. One fixing the NO_IRQ and another fixing the dsb(). IIUC, the ARMv8 support is not yet ready and dsb() is not necessary as a fix for the previous kernel ve

[PATCH v2 0/4] Support the timer on RK3368 SoC

2015-09-24 Thread Caesar Wang
Timer0~11 count up from zero to a programmed value and generate an interrupt when the count reaches the programmed value. TIMER0, TIMER1, TIMER2, Timer3, TIMER4 and TIMER5 are in the CPU subsystem, using timer ch0 ~ ch5 respectively. The timer clock is 24MHz OSC. This series are found on RK3368 S

[PATCH v2 4/4] arm64: dts: rockchip: Add the needed timer for RK3368 SoC

2015-09-24 Thread Caesar Wang
There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. Signed-off-by: Caesar Wang --- Changes in v2: None Changes in v1: - As the Heiko comments, add the "rockchip,rk3368-timer" for timer. Although the 'rockchip,rk3288-tim

[PATCH v2 2/4] clocksource: rockchip: trivial: Make the driver more readability

2015-09-24 Thread Caesar Wang
Let's checkstyle to clean up the macros with such trivial details. Signed-off-by: Caesar Wang --- Changes in v2: None Changes in v1: None drivers/clocksource/rockchip_timer.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/clocksource/rockchip_t

[PATCH v2 1/4] clocksource: rockchip: Make the driver more compatible

2015-09-24 Thread Caesar Wang
Build the arm64 SoCs (e.g.: RK3368) on Rockchip platform, There are some failure with build up on timer driver for rockchip. Says: /tmp/ccdAnNy5.s:47: Error: missing immediate expression at operand 1 -- `dsb` ... The problem was different semantics of dsb on btw arm32 and arm64, Here we can conv

[PATCH v2 3/4] arm64: Enable the timer on Rockchip architecture

2015-09-24 Thread Caesar Wang
On the RK3368 SoC, support the APB timers for rockchip platform. Signed-off-by: Caesar Wang --- Changes in v2: None Changes in v1: None arch/arm64/Kconfig.platforms | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 23800a1..0d

Re: [PATCH v2] zbud: allow up to PAGE_SIZE allocations

2015-09-24 Thread Minchan Kim
Hello, On Wed, Sep 23, 2015 at 04:57:26PM -0500, Seth Jennings wrote: > On Wed, Sep 23, 2015 at 09:54:02AM +0200, Vitaly Wool wrote: > > On Wed, Sep 23, 2015 at 5:18 AM, Seth Jennings > > wrote: > > > On Tue, Sep 22, 2015 at 02:17:33PM +0200, Vitaly Wool wrote: > > >> Currently zbud is only capa

Re: [PATCH 0/3] i2c: uniphier: add two I2C controller drivers for UniPhier SoC platform

2015-09-24 Thread Masahiro Yamada
Hi Wolfram, Could you have some time for reviewing this series? Perhaps, after ELCE? 2015-07-30 17:12 GMT+09:00 Masahiro Yamada : > > This series adds two I2C controller drivers. > (they are completely different IPs.) > > The first one is a very simple FIFO-less I2C controller, > which is used

Re: [PATCH 09/19] dmaengine: xgene-dma: fix handling xgene_dma_get_ring_size result

2015-09-24 Thread Vinod Koul
On Thu, Sep 24, 2015 at 04:00:17PM +0200, Andrzej Hajda wrote: > The function can return negative value. > > The problem has been detected using proposed semantic patch > scripts/coccinelle/tests/assign_signed_to_unsigned.cocci [1]. This has a bad code indentation, which if you had ran checkpatch

RE: [PATCH] perf probe: Fix module probing with shortname

2015-09-24 Thread 平松雅巳 / HIRAMATU,MASAMI
From: Arnaldo Carvalho de Melo [mailto:a...@kernel.org] >> >Sent: Thursday, September 24, 2015 10:50 AM >> >To: Wangnan (F) >> >Cc: linux-kernel@vger.kernel.org; lize...@huawei.com; pi3or...@163.com; >> >Namhyung Kim; Jiri Olsa; 平松雅巳 / HIRAMATU,MASAMI >> >Subject: Re: [PATCH] perf probe: Fix modul

RE: [PATCH v9 00/18] Add VT-d Posted-Interrupts support - including prerequisite series

2015-09-24 Thread Wu, Feng
Hi Paolo, Thanks for your review on this series! I'd like to confirm this series (plus the patch fixing the compilation error) is okay to you and I don't need to do extra things for it, right? Thanks, Feng > -Original Message- > From: Wu, Feng > Sent: Friday, September 18, 2015 10:30 PM

Re: [PATCH] dmaengine: pxa_dma: fix initial list move

2015-09-24 Thread Vinod Koul
On Thu, Sep 24, 2015 at 09:39:32PM +0200, Robert Jarzmik wrote: > Vinod Koul writes: > > > On Mon, Sep 21, 2015 at 11:06:32AM +0200, Robert Jarzmik wrote: > >> Since the commit to have an allocated list of virtual descriptors was > >> reverted, the pxa_dma driver is broken, as it assumes the desc

[GIT PULL] Thermal management updates for v4.3-rc3

2015-09-24 Thread Zhang Rui
Hi, Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux.git next to receive the latest Thermal Management updates for 4.3-rc3 with top-most commit 97584d1838b7e2545c3b10aacef3327fcaa9531b: thermal: power_allocator: exit early if there are no cooling devices (20

netlink: Add barrier to netlink_connect for theoretical case

2015-09-24 Thread Herbert Xu
On Thu, Sep 24, 2015 at 04:05:10PM -0400, Tejun Heo wrote: > > > I've decided to apply this and queue it up for -stable. Thanks Dave! > This is mostly correct; however, if there are or can be in-kernel > users which create the client side of netlink socket, it isn't. Let's > say such in-kernel u

Re: [PATCH v3 0/9] Phy, mdiobus, and netdev struct device fixes

2015-09-24 Thread Florian Fainelli
On 24/09/15 12:17, Russell King - ARM Linux wrote: > Hi, > > The third version of this series fixes the build error which David > identified, and drops the broken changes for the Cavium Thunger BGX > ethernet driver as this driver requires some complex changes to > resolve the leakage - and this i

[PATCH] soc: qcom: smd: Reject send of too big packets

2015-09-24 Thread Bjorn Andersson
Attempting to find room for a packet that's bigger than the fifo will never succeed and the calling process will be sleeping forever in the loop, waiting for enough room. So fail early instead. Reported-by: Courtney Cavin Signed-off-by: Bjorn Andersson --- drivers/soc/qcom/smd.c | 4 1 fil

  1   2   3   4   5   6   7   8   >