Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

2015-05-19 Thread Krzysztof Kozlowski
2015-05-19 14:57 GMT+09:00 Kukjin Kim kg...@kernel.org: On 05/18/15 10:47, Krzysztof Kozlowski wrote: From: Krzysztof Kozlowski k.kozlowsk...@gmail.com Enable support for Thermal Monitoring Unit present on Exynos SoCs. This allows detection of overheat and handling this gracefully.

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Jaegeuk Kim
On Tue, May 19, 2015 at 01:49:45PM +0800, Herbert Xu wrote: On Mon, May 18, 2015 at 10:46:56PM -0700, Jaegeuk Kim wrote: This patch adds a parameter, gfp_t, for __crypto_alloc_tfm. Now EXT4 and F2FS use the crypto engine to encrypt a page when writing it to the disk. That happens

[PATCH 16/19] x86, mpx: support 32-bit binaries on 64-bit kernel

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Right now, the kernel can only switch between 64-bit and 32-bit binaries at compile time. This patch adds support for 32-bit binaries on 64-bit kernels when we support ia32 emulation. We essentially choose which set of table sizes to use when doing

[PATCH 13/19] x86, mpx: Add temporary variable to reduce masking

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com When we allocate a bounds table, we call mmap(), then add a valid bit to the value before storing it in to the bounds directory. If we fail along the way, we go and mask that valid bit _back_ out. That seems a little silly, and this makes it much

Re: [PATCH v1 2/2] ARM: vf610: Add SoC bus support for Vybrid

2015-05-19 Thread Shawn Guo
On Mon, May 18, 2015 at 11:50:07AM +0530, Sanchayan Maity wrote: Implements SoC bus support to export SoC specific information. Read the unique SoC ID from the Vybrid On Chip One Time Programmable (OCOTP) controller, SoC specific information from the Miscellaneous System Control Module (MSCM),

Re: [f2fs-dev] [PATCH v2] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Jaegeuk Kim
Change log from v1: - fix missing change -- 8 -- This patch adds a parameter, gfp_t, for __crypto_alloc_tfm. Now EXT4 and F2FS use the crypto engine to encrypt a page when writing it to the disk. That happens during -writepage and it needs to allocate memory with GFP_NOFS. Otherwise, in the

[PATCH 06/19] x86, mpx: Restrict mmap size check to bounds tables

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The comment and code here are confusing. We do not currently allocate the bounds directory in the kernel. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Reviewed-by: Thomas Gleixner t...@linutronix.de --- b/arch/x86/mm/mpx.c |4 ++--

[PATCH 01/19] x86, mpx, xsave: Fix up bad get_xsave_addr() assumptions

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com get_xsave_addr() assumes that if an xsave bit is present in the hardware (pcntxt_mask) that it is present in a given xsave buffer. Due to an bug in the xsave code on all of the systems that have MPX (and thus all the users of this code), that has

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Herbert Xu
On Mon, May 18, 2015 at 11:24:30PM -0700, Jaegeuk Kim wrote: The call path in fs/ext4/crypto.c is: - writepage - ext4_encrypt - ext4_get_crypto_ctx - crypto_alloc_ablkcipher AFAIK, this way can achieve to reduce memory footprint gracefully. Just before submitting bios, fs

[PATCH 1/3 v3] drivers: hwspinlock: add CSR atlas7 implementation

2015-05-19 Thread Barry Song
From: Wei Chen wei.c...@csr.com Add hwspinlock support for the CSR atlas7 SoC. The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP). Cc: Suman Anna s-a...@ti.com

Re: fix queue_lock usage in blk-mq and nvme

2015-05-19 Thread Christoph Hellwig
ping? On Thu, May 07, 2015 at 09:38:12AM +0200, Christoph Hellwig wrote: Historically we always take queue_lock with irqs disabled. Blk-mq doesn't really use the queue_lock much, but when it does it needs to follow this rules to make lockdep happy. The first patch removes a queue_lock

[PATCH] mmc: card: Fixup request missing in mmc_blk_issue_rw_rq

2015-05-19 Thread 王丁
From 05849da563c80c20597ab6275d5881a8ed426f96 Mon Sep 17 00:00:00 2001 From: justin.wang justin.w...@spreadtrum.com Date: Mon, 18 May 2015 20:14:15 +0800 Subject: [PATCH] mmc: card: Fixup request missing in mmc_blk_issue_rw_rq The current handler of MMC_BLK_CMD_ERR in mmc_blk_issue_rw_rq function

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

2015-05-19 Thread Stephen Rothwell
Hi Andrew, Today's linux-next merge of the akpm-current tree got a conflict in kernel/watchdog.c between commit ab992dc38f9a (watchdog: Fix merge 'conflict') from Linus' tree and commit fbfec4606e07 (kernel/watchdog.c: fix watchdog_nmi_enable_all()) from the akpm-current tree. I fixed it up (the

Re: Modifying sg_dma_len(sg)?

2015-05-19 Thread Geert Uytterhoeven
On Tue, May 19, 2015 at 6:01 AM, Vinod Koul vinod.k...@intel.com wrote: On Fri, May 15, 2015 at 03:46:27PM +0200, Geert Uytterhoeven wrote: am ccing LKML, perhaps this needs wider discussion.. Several drivers reuse mapped scatterlists, and modify sg_dma_len(sg) to match the actual number of

Re: [PATCH 11/40] perf tools: Add a test case for thread comm handling

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:29:03PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:26AM +0900, Namhyung Kim wrote: SNIP diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c index f42af98a5c16..372b6395a448 100644 --- a/tools/perf/tests/builtin-test.c

Re: [PATCH v3] arm64: dts: qcom: Add msm8916 CoreSight components

2015-05-19 Thread Ivan T. Ivanov
On Mon, 2015-05-18 at 13:52 -0500, Kumar Gala wrote: On May 11, 2015, at 2:21 PM, Mathieu Poirier poir...@linaro.org wrote: On 11 May 2015 at 02:31, Ivan T. Ivanov iva...@linaro.org wrote: Add initial set of CoreSight components found on Qualcomm's 8x16 chipset. Kumar, I'm

Re: [PATCH 14/40] perf tools: Introduce machine__find*_thread_by_time()

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:50:06PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:29AM +0900, Namhyung Kim wrote: SNIP +static struct thread * +__machine__findnew_thread_by_time(struct machine *machine, pid_t pid, pid_t tid, + u64 timestamp, bool

[RFC/RFT v2 2/2] power_supply: Fix possible NULL pointer dereference on early uevent

2015-05-19 Thread Krzysztof Kozlowski
Don't call the power_supply_changed() from power_supply_register() when parent is still probing because it may lead to accessing parent too early. In bq27x00_battery this caused NULL pointer exception because uevent of power_supply_changed called back the the get_property() method provided by the

[RFC/RFT v2 1/2] power_supply: Fix NULL pointer dereference during bq27x00_battery probe

2015-05-19 Thread Krzysztof Kozlowski
Power supply is often registered during probe of a driver. The power_supply_register() returns pointer to newly allocated structure as return value. However before returning the power_supply_register() calls back the get_property() method provided by the driver through uevent. In that time the

[RFC/RFT v2 0/2] power_supply: Fix NULL pointer dereference from uevent

2015-05-19 Thread Krzysztof Kozlowski
Hi, Changes since v1: = 1. Patch 2: fix invalid member used for container_of(). 2. Patch 2: Replace WARN with pr_warn() in __power_supply_register() if parent is missing. Description: This is an idea to fix issue in bq27x00 driver (and probably in others)

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Jaegeuk Kim
On Tue, May 19, 2015 at 02:59:29PM +0800, Herbert Xu wrote: On Mon, May 18, 2015 at 11:58:12PM -0700, Jaegeuk Kim wrote: So where does the key get generated? The crypto tfm should be allocated when you generate the key. In fs/ext4/crypto.c, - writepage - ext4_encrypt

Re: suspend regression in 4.1-rc1

2015-05-19 Thread Michal Hocko
On Mon 18-05-15 10:10:50, Linus Torvalds wrote: On Mon, May 18, 2015 at 2:31 AM, Peter Zijlstra pet...@infradead.org wrote: Subject: watchdog: Fix merge 'conflict' Two watchdog changes that came through different trees had a non conflicting conflict, that is, one changed the semantics of

[tip:sched/core] sched/preempt, mm/fault: Count pagefault_disable () levels in pagefault_disabled

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: 8bcbde5480f9777f8b74d71493722c663e22c21b Gitweb: http://git.kernel.org/tip/8bcbde5480f9777f8b74d71493722c663e22c21b Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:06 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

[PATCH 2/2] power_supply: charger-manager: Add parent for power supply

2015-05-19 Thread Krzysztof Kozlowski
The 'parent' argument passed to power_supply_register() is now used to postpone callbacks to the driver until the driver's probe end. Pass current device from charger-manager to utilize that. This will move created power supply from virtual to platform devices. Signed-off-by: Krzysztof Kozlowski

[tip:sched/core] sched/preempt: Rename PREEMPT_CHECK_OFFSET to PREEMPT_DISABLE_OFFSET

2015-05-19 Thread tip-bot for Frederic Weisbecker
Commit-ID: 90b62b5129d5cb50f62f40e684de7a1961e57197 Gitweb: http://git.kernel.org/tip/90b62b5129d5cb50f62f40e684de7a1961e57197 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 12 May 2015 16:41:48 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May 2015

[tip:sched/core] sched/preempt: Optimize preemption operations on __schedule() callers

2015-05-19 Thread tip-bot for Frederic Weisbecker
Commit-ID: b30f0e3ffedfa52b1d67a302ae5860c49998e5e2 Gitweb: http://git.kernel.org/tip/b30f0e3ffedfa52b1d67a302ae5860c49998e5e2 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 12 May 2015 16:41:49 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May 2015

[tip:sched/core] sched/preempt: Remove PREEMPT_ACTIVE unmasking off in_atomic()

2015-05-19 Thread tip-bot for Frederic Weisbecker
Commit-ID: 3e51f3c4004c9b01f66da03214a3e206f5ed627b Gitweb: http://git.kernel.org/tip/3e51f3c4004c9b01f66da03214a3e206f5ed627b Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 12 May 2015 16:41:51 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May 2015

[tip:sched/core] sched/preempt: Fix out of date comment

2015-05-19 Thread tip-bot for Frederic Weisbecker
Commit-ID: e017cf21ae82e0b36f026b22083a8ae67926f465 Gitweb: http://git.kernel.org/tip/e017cf21ae82e0b36f026b22083a8ae67926f465 Author: Frederic Weisbecker fweis...@gmail.com AuthorDate: Tue, 12 May 2015 16:41:50 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May 2015

[tip:sched/core] sched/dl/Documentation: Split Section 3

2015-05-19 Thread tip-bot for Luca Abeni
Commit-ID: 6aaa10254dfe61c8c5e87c26e21be0664782a5b4 Gitweb: http://git.kernel.org/tip/6aaa10254dfe61c8c5e87c26e21be0664782a5b4 Author: Luca Abeni luca.ab...@unitn.it AuthorDate: Mon, 18 May 2015 15:00:32 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May 2015 08:39:21

Re: Mwait usage on AMD processors

2015-05-19 Thread Huang Rui
On Thu, May 14, 2015 at 10:20:51PM +0800, Borislav Petkov wrote: On Thu, May 14, 2015 at 09:38:57PM +0800, Huang Rui wrote: Is C1E here you mentioned is waiting state that use mwaitx enters at AMD platform? If yes, please see below comments: Current processor: Power saving: C0 C1E

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Jaegeuk Kim
On Tue, May 19, 2015 at 03:15:21PM +0800, Herbert Xu wrote: On Tue, May 19, 2015 at 12:13:17AM -0700, Jaegeuk Kim wrote: The key generation is done by ext4_generate_encryption_key in fs/ext4/crypto_key.c. And, ext4_file_mmap and ext4_file_open trigger it. Well that's where you should

Re: [PATCH] Documentation: dt: mtd: replace nor-jedec binding with jedec,spi-nor

2015-05-19 Thread Rafał Miłecki
On 19 May 2015 at 03:34, Brian Norris computersforpe...@gmail.com wrote: So how about the following patch? It seems like we'll need to be able to ignore useless 'modalias' values in cases like this: // modalias = shinynewdevice compatible = myvendor,shinynewdevice,

Re: [PATCH 33/40] perf session: Separate struct machines from session

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:52:59AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, May 18, 2015 at 09:30:48AM +0900, Namhyung Kim escreveu: With multi-thread report, separate sessions can be passed to each thread, in this case we should keep a single machine state for all struct sessions.

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-19 Thread Sascha Hauer
On Tue, May 19, 2015 at 02:54:41PM +0800, Daniel Kurtz wrote: + while (1) { + ret = regmap_read(infracfg, INFRA_TOPAXI_PROTECTSTA1, val); + if (ret) + return ret; + + if ((val mask) == mask) +

Re: [PATCH v11 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-05-19 Thread Li, ZhenHua
Hi Dave, Don't worry :). Of cause I have read your comments, but most of them contains no actual code change request, so I did not reply them one by one. When we are sure there is no actual code change needed, I will update the comments and other format problems if necessary. Regards Zhenhua

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

2015-05-19 Thread Herbert Xu
On Tue, May 19, 2015 at 09:35:15AM +0200, Stephan Mueller wrote: Thank you for the hints. I will follow your guidance. Just for my edification: why is this (rather complex sounding) approach preferred over a simple cancel API? Other async APIs (e.g. the AIO syscalls with io_cancel) have

btrfs: kernel BUG at mm/page-writeback.c:2286!

2015-05-19 Thread Govindarajulu Varadarajan
Hi all I am seeing the following crash on my btrfs filesystem with nfs export. If I disable the nfs share and reboot, I do not hit the crash. Look like the crash happens on btrfs with nfs export. Is this a known issue? Has anyone else faced this? Let me know if you need more information.

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

2015-05-19 Thread Stephan Mueller
Am Dienstag, 19. Mai 2015, 15:51:55 schrieb Herbert Xu: Hi Herbert, You're right. The cancel function is indeed simpler. I can certainly live with that. Thank you. I will test my patch a bit more and then release it with the discussed changes. Ciao Stephan -- To unsubscribe from this list:

Re: [PATCH 35/40] perf record: Synthesize COMM event for a command line workload

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:45:35AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, May 18, 2015 at 09:30:50AM +0900, Namhyung Kim escreveu: When perf creates a new child to profile, the events are enabled on exec(). And in this case, it doesn't synthesize any event for the child since

Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Maxime Ripard
On Mon, May 18, 2015 at 11:32:31AM +0200, Jens Kuske wrote: Hi, On 05/17/15 16:19, Maxime Ripard wrote: On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: Add a remove function and export the init and remove function to allow us to build the SoC specific drivers as modules.

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Jaegeuk Kim
On Tue, May 19, 2015 at 03:30:12PM +0800, Herbert Xu wrote: On Tue, May 19, 2015 at 12:27:40AM -0700, Jaegeuk Kim wrote: So, IMHO, it can consume memory too much, since tfm should be allocated for every inodes and be alive until inode eviction. Are you sure this is a real problem? Have

[RFC PATCH 1/4] x86, mwaitt: add monitorx and mwaitx instruction

2015-05-19 Thread Huang Rui
On AMD Carrizo processors (Family 15h, Model 60h-6fh), there is a new feature called MWAITT (Mwait with a timer) as an extension of Monitor/Mwait. MWAITT, another name is MWAITX (MWAIT with extensions), has a configurable timer that causes MWAITX to exit on expiration. Compared with

[RFC PATCH 4/4] x86, mwait: fix redundant comment

2015-05-19 Thread Huang Rui
This patch removes the redundant comment. Signed-off-by: Huang Rui ray.hu...@amd.com --- arch/x86/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/process.c b/arch/x86/kernel/process.c index 9d68193..e3e12b6 100644 ---

Re: [LKP] [flow_dissect] 06635a35d13: kernel BUG at include/linux/skbuff.h:1702!

2015-05-19 Thread Jiri Pirko
Tue, May 19, 2015 at 03:33:49AM CEST, ying.hu...@linux.intel.com wrote: FYI, we noticed the below changes on git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master commit 06635a35d13d42b95422bba6633f175245cc644e (flow_dissect: use programable dissector in skb_flow_dissect and

[PATCH v2 08/11] mfd: mediatek: Add GPIO sub module support into mfd.

2015-05-19 Thread Hongzhou Yang
Register pinctrl subnode into 6397 mfd cell. Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com --- drivers/mfd/mt6397-core.c |3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c index 09bc780..012c620 100644 ---

[PATCH v2 07/11] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt8127

2015-05-19 Thread Hongzhou Yang
From: Yingjoe Chen yingjoe.c...@mediatek.com MT8127 pinctrl/eint are similar to mt8135 and mt8173, add support for mt8127 using mediatek common pinctrl driver. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com ---

Re: Audio crackles with 4.1-rc1

2015-05-19 Thread Takashi Iwai
At Sat, 2 May 2015 16:05:13 +0100, Jonathan McDowell wrote: On Thu, Apr 30, 2015 at 07:06:31PM +0200, Takashi Iwai wrote: At Thu, 30 Apr 2015 16:01:31 +0100, Jonathan McDowell wrote: On Wed, Apr 29, 2015 at 01:54:57PM +0200, Takashi Iwai wrote: One patch you can try (with or

[PATCH v2 09/11] ARM: dts: mt8127: add pinctrl/GPIO/EINT node for mt8127

2015-05-19 Thread Hongzhou Yang
From: Yingjoe Chen yingjoe.c...@mediatek.com Add pinctrl,GPIO and EINT node to mt8127.dtsi. Signed-off-by: Yingjoe Chen yingjoe.c...@mediatek.com Signed-off-by: Hongzhou Yang hongzhou.y...@mediatek.com --- arch/arm/boot/dts/mt8127-pinfunc.h | 742

Re: [PATCH v2 3/4] ARM: multi_v7_defconfig: Enable TMU for Exynos

2015-05-19 Thread Kukjin Kim
On 05/19/15 15:01, Krzysztof Kozlowski wrote: 2015-05-19 14:57 GMT+09:00 Kukjin Kim kg...@kernel.org: On 05/18/15 10:47, Krzysztof Kozlowski wrote: From: Krzysztof Kozlowski k.kozlowsk...@gmail.com Enable support for Thermal Monitoring Unit present on Exynos SoCs. This allows detection of

[PATCH 17/19] x86, mpx: rewrite unmap code

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The MPX code needs to clear out bounds tables for memory which is no longer in use. We do this when a userspace mapping is torn down (unmapped). There are two modes: 1. An entire bounds table becomes unused, and can be freed and its pointer

[PATCH 15/19] x86, mpx: do 32-bit-only cmpxchg for 32-bit apps

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com user_atomic_cmpxchg_inatomic() actually looks at sizeof(*ptr) to figure out how many bytes to copy. If we run it on a 64-bit kernel with a 64-bit pointer, it will copy a 64-bit bounds directory entry. That's fine, except when we have 32-bit

[PATCH 14/19] x86, mpx: new directory entry to addr helper

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com Currently, to get from a bounds directory entry to the virtual address of a bounds table, we simply mask off a few low bits. However, the set of bits we mask off is different for 32 and 64-bit binaries. This breaks the operation out in to a helper

[PATCH 19/19] x86, mpx: allow mixed binaries again

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com We explicitly disable allowing 32-bit binaries to enable MPX on 64-bit kernels. Re-allow that. Signed-off-by: Dave Hansen dave.han...@linux.intel.com Reviewed-by: Thomas Gleixner t...@linutronix.de --- b/arch/x86/mm/mpx.c |6 -- 1 file

[PATCH 18/19] x86, mpx: do not count MPX VMAs as neighbors when unmapping

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The comment pretty much says it all. I wrote a test program that does lots of random allocations and forces bounds tables to be created. It came up with a layout like this: | BOUNDS DIRECTORY ENTRY COVERS | |BOUNDS

[PATCH 00/19] x86, mpx updates for 4.2 (take 7)

2015-05-19 Thread Dave Hansen
Note: this has been lightly tested. There were no major changes since the last version, and I ran my normal compile tests, but this was a bit hurried because I'm about to get on a plane and will not be reading email for the next week. Changes from take 7 / v21: * Address a bunch of Thomas's

[PATCH 2/3 v3] Documentation: dt: add the CSR atlas7 hwspinlock bindings document

2015-05-19 Thread Barry Song
From: Wei Chen wei.c...@csr.com The Hardware Spinlock device on atlas7 provides hardware assistance for synchronization between the multiple processors in the system (dual Cortex-A7, CAN bus Cortex-M3 and audio DSP). This patch adds the DT bindings information for this hwspinlock module. Cc:

[PATCH 3/3 v3] ARM: dts: atlas7: use general dt-binding for hwspinlock

2015-05-19 Thread Barry Song
From: Wei Chen wei.c...@csr.com This patch moves to use generic dt-binding for hwspinlock providers and clients. add #hwlock-cells for the provider and hwlocks for clients. Cc: Suman Anna s-a...@ti.com Cc: Bjorn Andersson bj...@kryo.se Signed-off-by: Wei Chen wei.c...@csr.com Signed-off-by:

Re: [PATCH 05/40] perf tools: Introduce perf_evlist__mmap_track()

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 08:09:16PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:20AM +0900, Namhyung Kim wrote: The perf_evlist__mmap_track function creates data mmaps and optionally hum, there's no perf_evlist__mmap_track in the patch ;-) Oops, I missed to update the changelog ;-P

Re: [PATCH 07/40] perf tools: Handle indexed data file properly

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 08:37:28PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:22AM +0900, Namhyung Kim wrote: When perf detects data file has index table, process header part first and then rest data files in a row. Note that the indexed sample data is recorded for each

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

2015-05-19 Thread Stephan Mueller
Am Montag, 18. Mai 2015, 11:02:34 schrieb Theodore Ts'o: Hi Theodore, Herbert, The simplest thing to do is to put a refcount on inside the DRBG handle structure. The caller instantiates the DRBG handle, and invokes the the DRBG. The DRBG, since it is kicking off an asynchronous operation,

Re: [PATCH 1/5] soc: mediatek: Add infracfg misc driver support

2015-05-19 Thread Daniel Kurtz
On Mon, May 18, 2015 at 4:16 PM, Sascha Hauer s.ha...@pengutronix.de wrote: Hi Daniel, On Fri, May 15, 2015 at 10:17:33PM +0800, Daniel Kurtz wrote: Hi Sascha, On Tue, May 12, 2015 at 3:23 AM, Sascha Hauer s.ha...@pengutronix.de wrote: This adds support for some miscellaneous bits of the

Re: [PATCH 13/40] perf tools: Convert dead thread list into rbtree

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:34:25PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:28AM +0900, Namhyung Kim wrote: SNIP @@ -38,6 +39,7 @@ struct thread *thread__new(pid_t pid, pid_t tid) thread-ppid = -1; thread-cpu = -1;

Re: [PATCH v2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-19 Thread Heiko Schocher
Hello Shawn, Am 18.05.2015 13:31, schrieb Shawn Guo: On Mon, May 11, 2015 at 11:02:54AM +0200, Heiko Schocher wrote: This patch add support for the imx6dl based aristainetos2 board What are the differences between aristainetos2 and aristainetos board? aristainetos is a i.MX6 design with a

Re: BUG: rwlock bad magic on CPU#1, NetworkManager/

2015-05-19 Thread Jeremiah Mahler
Johannes, You mentioned off-list that you might have a fix for this somewhere in mac80211-next. Do you have any idea when this will make it in to -next? It is still broken as of -next 20150518. -- - Jeremiah Mahler -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Herbert Xu
On Tue, May 19, 2015 at 12:13:17AM -0700, Jaegeuk Kim wrote: The key generation is done by ext4_generate_encryption_key in fs/ext4/crypto_key.c. And, ext4_file_mmap and ext4_file_open trigger it. Well that's where you should be doing crypto_alloc_ablkcipher and crypto_ablkcipher_setkey. The

[tip:sched/core] sched/preempt, futex: Disable preemption in UP futex_atomic_cmpxchg_inatomic() explicitly

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: d9b9ff8c18891d74dc7076800bde81b774f7d032 Gitweb: http://git.kernel.org/tip/d9b9ff8c18891d74dc7076800bde81b774f7d032 Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:14 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

2015-05-19 Thread Herbert Xu
On Tue, May 19, 2015 at 07:58:25AM +0200, Stephan Mueller wrote: Herbert, do you have any ideas? On the /dev/random side, 1) Add a struct module argument in addition to func/data. 2) Grab module ref count when func/data is registered. 3) Drop module ref count after func returns. On the drbg

[tip:sched/core] mm/fault, arch: Use pagefault_disable() to check for disabled pagefaults in the handler

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: 70ffdb9393a7264a069265edded729078dcf0425 Gitweb: http://git.kernel.org/tip/70ffdb9393a7264a069265edded729078dcf0425 Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:11 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

[tip:sched/core] sched/preempt, futex: Update comments to clarify that preemption doesn't have to be disabled

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: 2f09b227eeed4b3a072fe818c82a4c773b778cde Gitweb: http://git.kernel.org/tip/2f09b227eeed4b3a072fe818c82a4c773b778cde Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:17 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

[tip:sched/core] sched/preempt, arm/futex: Disable preemption in UP futex_atomic_cmpxchg_inatomic() explicitly

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: 39919b01ae4c1949736b40b79e27178d0c0bc406 Gitweb: http://git.kernel.org/tip/39919b01ae4c1949736b40b79e27178d0c0bc406 Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:15 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

[tip:sched/core] sched/preempt, arm/futex: Disable preemption in UP futex_atomic_op_inuser() explicitly

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: 388b0e0adbc98a1b12a077dc92851a3ce016db42 Gitweb: http://git.kernel.org/tip/388b0e0adbc98a1b12a077dc92851a3ce016db42 Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:16 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

[tip:sched/core] sched/preempt, futex: Disable preemption in UP futex_atomic_op_inuser() explicitly

2015-05-19 Thread tip-bot for David Hildenbrand
Commit-ID: f3dae07e442a8131a5485b6a38db2aa22a7a48cf Gitweb: http://git.kernel.org/tip/f3dae07e442a8131a5485b6a38db2aa22a7a48cf Author: David Hildenbrand d...@linux.vnet.ibm.com AuthorDate: Mon, 11 May 2015 17:52:13 +0200 Committer: Ingo Molnar mi...@kernel.org CommitDate: Tue, 19 May

linux-next: Tree for May 19

2015-05-19 Thread Stephen Rothwell
Hi all, Changes since 20150518: The akpm-current tree gained a conflict against Linus' tree. Non-merge commits (relative to Linus' tree): 4713 4246 files changed, 207445 insertions(+), 103657 deletions(-) I have

Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Herbert Xu
On Tue, May 19, 2015 at 12:27:40AM -0700, Jaegeuk Kim wrote: So, IMHO, it can consume memory too much, since tfm should be allocated for every inodes and be alive until inode eviction. Are you sure this is a real problem? Have you actually looked at how much memory it consumes? Apart from

Re: [PATCH v6 1/5] random: Blocking API for accessing nonblocking_pool

2015-05-19 Thread Stephan Mueller
Am Dienstag, 19. Mai 2015, 15:22:27 schrieb Herbert Xu: Hi Herbert, On Tue, May 19, 2015 at 07:58:25AM +0200, Stephan Mueller wrote: Herbert, do you have any ideas? On the /dev/random side, 1) Add a struct module argument in addition to func/data. 2) Grab module ref count when

Re: [PATCH 1/3] mm/page_alloc: don't break highest order freepage if steal

2015-05-19 Thread Joonsoo Kim
On Tue, May 12, 2015 at 09:51:56AM +0200, Vlastimil Babka wrote: On 04/27/2015 09:23 AM, Joonsoo Kim wrote: When we steal whole pageblock, we don't need to break highest order freepage. Perhaps, there is small order freepage so we can use it. This also gives us some code size reduction

Re: [PATCH 1/3] mm/page_alloc: don't break highest order freepage if steal

2015-05-19 Thread Joonsoo Kim
On Tue, May 12, 2015 at 09:54:51AM +0200, Vlastimil Babka wrote: On 05/12/2015 09:51 AM, Vlastimil Babka wrote: { struct page *page; + bool steal_fallback; -retry_reserve: +retry: page = __rmqueue_smallest(zone, order, migratetype); if (unlikely(!page) migratetype !=

Re: [PATCH v2] arm, imx6, dts: add DT for aristainetos2 board

2015-05-19 Thread Shawn Guo
On Tue, May 19, 2015 at 09:09:06AM +0200, Heiko Schocher wrote: @@ -0,0 +1,124 @@ +/* + * support fot the imx6 based aristainetos2 board + * + * Copyright (C) 2015 Heiko Schocher h...@denx.de + * + * This program is free software; you can redistribute it and/or modify + * it under the

Re: [PATCH v2 02/10] clk: sunxi: Add support for multiple parents to gates

2015-05-19 Thread Maxime Ripard
On Mon, May 18, 2015 at 11:11:34AM +0200, Jens Kuske wrote: Hi, On 05/17/15 14:50, Maxime Ripard wrote: Hi Jens, On Fri, May 15, 2015 at 06:38:52PM +0200, Jens Kuske wrote: Some newer sunxi SoCs (A83T, H3) don't have individual registers for AHB1, APB1 and APB2 gates anymore, but

Re: [PATCH v2 04/10] pinctrl: sunxi: Prepare for building SoC specific drivers as modules

2015-05-19 Thread Chen-Yu Tsai
On Tue, May 19, 2015 at 3:55 PM, Maxime Ripard maxime.rip...@free-electrons.com wrote: On Mon, May 18, 2015 at 11:32:31AM +0200, Jens Kuske wrote: Hi, On 05/17/15 16:19, Maxime Ripard wrote: On Fri, May 15, 2015 at 06:38:54PM +0200, Jens Kuske wrote: Add a remove function and export the

Re: [RFC PATCH 3/3] mm: support active anti-fragmentation algorithm

2015-05-19 Thread Joonsoo Kim
On Tue, May 12, 2015 at 11:01:48AM +0200, Vlastimil Babka wrote: On 04/28/2015 09:45 AM, Joonsoo Kim wrote: On Mon, Apr 27, 2015 at 09:29:23AM +0100, Mel Gorman wrote: On Mon, Apr 27, 2015 at 04:23:41PM +0900, Joonsoo Kim wrote: We already have antifragmentation policy in page allocator. It

Re: [PATCH 01/12] target: Convert se_node_acl-device_list[] to RCU hlist

2015-05-19 Thread Nicholas A. Bellinger
(resending) On Mon, 2015-05-18 at 10:01 +0200, Christoph Hellwig wrote: On Mon, May 18, 2015 at 09:41:02AM +0200, Christoph Hellwig wrote: Here's a first pass at this along with kref + completion conversion for the special case PR ALL_TGT_PT=1 pointer dereference. Btw, I started

Re: [PATCH v2 0/4] ARM: multi_v7_defconfig: Stuff for Exynos

2015-05-19 Thread Kukjin Kim
On 05/18/15 16:03, Javier Martinez Canillas wrote: Hello Krzysztof, On Mon, May 18, 2015 at 3:47 AM, Krzysztof Kozlowski k.kozlow...@samsung.com wrote: Dear Kukjin, Changes since v1: = 1. Select drivers as modules, whenever possible. Suggested by Javier. 2. Patch 2: The

[PATCH v2 06/11] pinctrl: mediatek: Add Pinctrl/GPIO driver for mt6397.

2015-05-19 Thread Hongzhou Yang
Add mt6397 support using mediatek common pinctrl driver. mt6397 is a PMIC, and pinctrl/GPIO is part of 6397 chip. Pinctrl/GPIO driver should obtain regmap from PMIC, so adding this support to common code. Also, mt6397 is no need to support interrupt controller, so changing common code to skip

[PATCH v2 03/11] pinctrl: mediatek: data struct optimize and remove unused member

2015-05-19 Thread Hongzhou Yang
From: Yingjoe Chen yingjoe.c...@mediatek.com struct mtk_desc_pin.chip, mtk_pinctrl_devdata.invser_offset and mtk_pinctrl_devdata.chip_type are never used in code. Remove them. Some per-pin data are using int for pin number and offsets. Change to short and rearrange to reduce const data size.

[PATCH v2 05/11] pinctrl: mediatek: add ies/smt control to common code.

2015-05-19 Thread Hongzhou Yang
Input enable and smt setting have different register, modify code to fix it. Several mediatek soc use similar input enable/smt setting procedure as mt8173, some soc use generic input enable/smt setting, some soc has no input enable/smt setting. Adding common code to handle all those cases, so

[PATCH v2 04/11] pinctrl: mediatek: add mtk_pctrl_spec_pull_set_samereg common code

2015-05-19 Thread Hongzhou Yang
From: Yingjoe Chen yingjoe.c...@mediatek.com Several mediatek soc use similar pull setting procedure as mt8173, the pupd enable and resistance setting are in the same register. Add common code mtk_pctrl_spec_pull_set_samereg out of spec_pull_set in mt8173 to handle this case, so future soc driver

Re: [GIT PULL] ARM: EXYNOS: Improvements for 4.2, second try

2015-05-19 Thread Kukjin Kim
On 05/17/15 17:52, Krzysztof Kozlowski wrote: 2015-05-11 12:14 GMT+09:00 Krzysztof Kozlowski k.kozlow...@samsung.com: Dear Kukjin, Updated pull request, replacing also the usage of soc_is_exynos4() with of_machine_is_compatible(). You requested this in comments for ARM: EXYNOS: Fix failed

Re: [PATCH v2 RESEND] block: discard bdi_unregister() in favour of bdi_destroy()

2015-05-19 Thread Christoph Hellwig
Looks good, Reviewed-by: Christoph Hellwig h...@lst.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 01/12] target: Convert se_node_acl-device_list[] to RCU hlist

2015-05-19 Thread Christoph Hellwig
On Mon, May 18, 2015 at 11:05:47PM -0700, Nicholas A. Bellinger wrote: [ 12.830576] kernel BUG at ../drivers/target/target_core_device.c:337! How did you hit this..? tcm_node --block iblock_0/array /dev/sda line=$(tcm_loop --createnexus=0) wwn=$(echo $line | awk '{print $15}') tcm_loop

[PATCH 02/19] x86, fpu: Wrap get_xsave_addr() to make it safer

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The MPX code appears to be saving off the FPU in an unsafe way. It does not disable preemption or ensure that the FPU state has been allocated. All of the preemption safety comes from the unfortunatley-named 'unlazy_fpu()'. This patch introduces a

[PATCH 08/19] x86, mpx: trace #BR exceptions

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com This is the first in a series of MPX tracing patches. I've found these extremely useful in the process of debugging applications and the kernel code itself. This exception hooks in to the bounds (#BR) exception very early and allows capturing the

Re: [PATCH 03/40] perf tools: Introduce copyfile_offset() function

2015-05-19 Thread Namhyung Kim
On Mon, May 18, 2015 at 09:57:23AM -0300, Arnaldo Carvalho de Melo wrote: Em Mon, May 18, 2015 at 09:30:18AM +0900, Namhyung Kim escreveu: The copyfile_offset() function is to copy source data from given offset to a destination file with an offset. It'll be used to build an indexed data

[PATCH 03/19] x86, mpx: Use new get_xsave_field_ptr()

2015-05-19 Thread Dave Hansen
From: Dave Hansen dave.han...@linux.intel.com The MPX registers (bndcsr/bndcfgu/bndstatus) are not directly accessible via normal instructions. They essentially act as if they were floating point registers and are saved/restored along with those registers. There are two main paths in the MPX

[PATCH 05/19] x86, mpx: remove redundant MPX_BNDCFG_ADDR_MASK

2015-05-19 Thread Dave Hansen
From: Qiaowei Ren qiaowei@intel.com MPX_BNDCFG_ADDR_MASK is defined two times, so this patch removes redundant one. Signed-off-by: Qiaowei Ren qiaowei@intel.com Signed-off-by: Dave Hansen dave.han...@linux.intel.com Reviewed-by: Thomas Gleixner t...@linutronix.de ---

Re: [PATCH] uio: add support for ioctl

2015-05-19 Thread Christoph Hellwig
On Mon, May 18, 2015 at 10:41:02AM -0700, Stephen Hemminger wrote: I will send that driver as soon as the DPDK folks are ready, like a couple of days from now. Then jsut send the preparation patch that isn't useful without it together with that one. -- To unsubscribe from this list: send the

Re: [f2fs-dev] [PATCH v2] crypto: allow to assign gfp_t for __crypto_alloc_tfm

2015-05-19 Thread Herbert Xu
On Mon, May 18, 2015 at 11:31:42PM -0700, Jaegeuk Kim wrote: Change log from v1: - fix missing change Please do not resend your patch until you have addressed my questions. -- Email: Herbert Xu herb...@gondor.apana.org.au Home Page: http://gondor.apana.org.au/~herbert/ PGP Key:

Re: [PATCH 04/40] perf tools: Create separate mmap for dummy tracking event

2015-05-19 Thread Namhyung Kim
Hi Jiri, On Mon, May 18, 2015 at 08:07:13PM +0200, Jiri Olsa wrote: On Mon, May 18, 2015 at 09:30:19AM +0900, Namhyung Kim wrote: SNIP -static int perf_evlist__alloc_mmap(struct perf_evlist *evlist) +static int perf_evlist__alloc_mmap(struct perf_evlist *evlist, bool track_mmap) {

Re: [PATCH] leds: put hard limit on minimum blink period for slow leds

2015-05-19 Thread Jacek Anaszewski
On 05/18/2015 10:28 AM, Jacek Anaszewski wrote: Hi Stas, On 05/15/2015 06:47 PM, Stas Sergeev wrote: Currently the timer trigger allows to set blink period as small as 1mS. But in fact the minimum period is jiffy, which is usually 10mS. The following mail says:

Re: [PATCH 1/4] modsign: Abort modules_install when signing fails

2015-05-19 Thread Woodhouse, David
On Mon, 2015-05-18 at 21:29 -0400, Mimi Zohar wrote: On Fri, 2015-05-15 at 17:52 +0100, David Woodhouse wrote: Signed-off-by: David Woodhouse david.woodho...@intel.com I assume the patch descriptions will be added before being upstreamed. This patch aborts modules_install when signing

  1   2   3   4   5   6   7   8   9   10   >