Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-20 Thread Herbert Xu
On Thu, May 21, 2015 at 08:53:13AM +0200, Stephan Mueller wrote: > > Thank you for pointing that out - I have seen that too. But the crux is that > when using wait_event, the cancel function to serialize the destruction code > path will *not* return at all, even when the async callback function

Aw: Re: [PATCH v1] ARM: dts: nitrogen6x: add CAN support

2015-05-20 Thread Peter Seiderer
Hello Shawn, > Gesendet: Donnerstag, 21. Mai 2015 um 03:33 Uhr > Von: "Shawn Guo" > An: "Peter Seiderer" > Cc: linux-kernel@vger.kernel.org, devicet...@vger.kernel.org, > linux-arm-ker...@lists.infradead.org, "Russell King" > , "Kumar Gala" , "Ian Campbell" > , "Mark Rutland" , > "Pawel Moll

Re: [PATCH v11 08/10] iommu/vt-d: assign new page table for dma_map

2015-05-20 Thread Baoquan He
On 05/21/15 at 09:27am, Li, ZhenHua wrote: > Hi Baoquan, > > In the early version of this patchset, old page tables are used by new > kernel. But as discussed, we need to make kernel use new pages when > there is a new dma request , so we need to unmap the pages which were > mapped in old kernel,

Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-20 Thread Stephan Mueller
Am Donnerstag, 21. Mai 2015, 14:36:18 schrieb Herbert Xu: Hi Herbert, >On Thu, May 21, 2015 at 08:10:13AM +0200, Stephan Mueller wrote: >> The cancel operation is needed as otherwise my drbg context handle will be >> removed by the crypto API during the sleep. That is the whole reason why >> wait

Aw: Re: [PATCH v1] ARM: dts: nitrogen6x: add CAN support

2015-05-20 Thread Peter Seiderer
Hello Fabio, > Gesendet: Donnerstag, 21. Mai 2015 um 00:26 Uhr > Von: "Fabio Estevam" > An: "Peter Seiderer" > Cc: linux-kernel , "Mark Rutland" > , "devicet...@vger.kernel.org" > , "Russell King" , "Pawel > Moll" , "Ian Campbell" , > "Rob Herring" , "Sascha Hauer" , > "Kumar Gala" , "Shawn

Re: [PATCH] mtd: blktrans: change blktrans_getgeo rerurn value

2015-05-20 Thread Wenlin Kang
On 2015年05月21日 03:47, nick wrote: On 2015-05-20 03:33 PM, Brian Norris wrote: Hi Wenlin, In the subject: s/rerurn/return/ Thanks for pointing out this, I will modify it. On Wed, May 13, 2015 at 02:29:16PM +0800, Wenlin Kang wrote: Modify function blktrans_getgeo()'s return value to -

[PATCH V5 11/13] selftests, powerpc: Add test for all DSCR sysfs interfaces

2015-05-20 Thread Anshuman Khandual
This test continuously updates the system wide DSCR default value in the sysfs interface and makes sure that the same is reflected across all the sysfs interfaces for each individual CPUs present on the system. Acked-by: Shuah Khan Signed-off-by: Anshuman Khandual --- tools/testing/selftests/po

[PATCH V5 06/13] selftests, powerpc: Add test for system wide DSCR default

2015-05-20 Thread Anshuman Khandual
This patch adds a test case for the system wide DSCR default value, which when changed through it's sysfs interface must be visible to all threads reading DSCR either through the privilege state SPR or the problem state SPR. The DSCR value change should be immediate as well. Acked-by: Shuah Khan

[PATCH V5 12/13] selftests, powerpc: Add thread based stress test for DSCR sysfs interfaces

2015-05-20 Thread Anshuman Khandual
This patch adds a test to update the system wide DSCR value repeatedly and then verifies that any thread on any given CPU on the system must be able to see the same DSCR value whether its is being read through the problem state based SPR or the privilege state based SPR. Acked-by: Shuah Khan Sign

[PATCH V5 07/13] selftests, powerpc: Add test for explicitly changing DSCR value

2015-05-20 Thread Anshuman Khandual
This patch adds a test which modifies the DSCR using mtspr instruction and verifies the change using mfspr instruction. It uses both the privilege state SPR as well as the problem state SPR for the purpose. Acked-by: Shuah Khan Signed-off-by: Anshuman Khandual Signed-off-by: Anton Blanchard ---

[PATCH V5 08/13] selftests, powerpc: Add test for DSCR SPR numbers

2015-05-20 Thread Anshuman Khandual
This patch adds a test which verifies that the DSCR privilege and problem state SPR read & write accesses while making sure that the results are always the same irrespective of which SPR number is being used. Acked-by: Shuah Khan Signed-off-by: Anshuman Khandual Signed-off-by: Anton Blanchard -

[PATCH V5 02/13] powerpc, process: Remove the unused extern dscr_default

2015-05-20 Thread Anshuman Khandual
The process context switch code no longer uses dscr_default variable from the sysfs.c file. The variable became unused when we started storing the CPU specific DSCR value in the PACA structure instead. This patch just removes this extern declaration. It was originally added by the following commit.

[PATCH V5 00/13] POWER DSCR fixes, improvements, docs and tests

2015-05-20 Thread Anshuman Khandual
This patch series has patches for POWER DSCR fixes, improvements, in code documentaion, kernel support user documentation and selftest based test cases. It has got five test cases which are derived from Anton's DSCR test bucket which can be listed as follows. (1) http://ozlabs.org/~anton/j

[PATCH V5 05/13] documentation, powerpc: Add documentation for DSCR support

2015-05-20 Thread Anshuman Khandual
This patch adds a new documentation file explaining the DSCR support on powerpc platforms. This explains DSCR related data structure, code paths and also available user interfaces. Any further functional changes to the DSCR support in the kernel should definitely update the documentation here. Sig

[PATCH V5 04/13] powerpc, dscr: Added some in-code documentation

2015-05-20 Thread Anshuman Khandual
This patch adds some in-code documentation to the DSCR related code to make it more readable without having any functional change to it. Signed-off-by: Anshuman Khandual --- arch/powerpc/include/asm/processor.h | 9 + arch/powerpc/kernel/sysfs.c | 38 +++

[PATCH V5 13/13] selftests, powerpc: Add gitignore file for the new DSCR tests

2015-05-20 Thread Anshuman Khandual
This patch adds .gitignore for all the newly added DSCR tests. Signed-off-by: Anshuman Khandual --- tools/testing/selftests/powerpc/dscr/.gitignore | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 tools/testing/selftests/powerpc/dscr/.gitignore diff --git a/tools/testing/selftes

Re: [PATCH soc] ARM: use ARM_SINGLE_ARMV7M for ARMv7-M platforms

2015-05-20 Thread Uwe Kleine-König
On Thu, May 21, 2015 at 12:35:44AM +0200, Stefan Agner wrote: > Use the new config symbol ARM_SINGLE_ARMV7M which groups config > symbols used by modern ARMv7-M platforms. This allows supporting > multiple ARMv7-M platforms in one kernel image. However, a common > kernel image requires the combined

Re: Filesystem corruption MD (imsm) Raid0 via 2 SSD's + discard

2015-05-20 Thread Holger Kiehl
On Thu, 21 May 2015, NeilBrown wrote: On Thu, 21 May 2015 01:32:13 +0500 Roman Mamedov wrote: On Wed, 20 May 2015 20:12:31 + (UTC) Holger Kiehl wrote: The kernel I was running when I discovered the problem was 4.0.2 from kernel.org. However, after reinstalling from DVD I updated to Fed

[PATCH V5 01/13] powerpc: Fix handling of DSCR related facility unavailable exception

2015-05-20 Thread Anshuman Khandual
Currently DSCR (Data Stream Control Register) can be accessed with mfspr or mtspr instructions inside a thread via two different SPR numbers. One being the user accessible problem state SPR number 0x03 and the other being the privilege state SPR number 0x11. All access through the privilege state S

[PATCH V5 10/13] selftests, powerpc: Add test for DSCR inheritence across fork & exec

2015-05-20 Thread Anshuman Khandual
This patch adds a test case to verify that the changed DSCR value inside any process would be inherited to it's child across the fork and exec system call. Acked-by: Shuah Khan Signed-off-by: Anshuman Khandual Signed-off-by: Anton Blanchard --- tools/testing/selftests/powerpc/dscr/Makefile

[PATCH V5 03/13] powerpc, offset: Change PACA_DSCR to PACA_DSCR_DEFAULT

2015-05-20 Thread Anshuman Khandual
PACA_DSCR offset macro tracks dscr_default element in the paca structure. Better change the name of this macro to match that of the data element it tracks. Makes the code more readable. Signed-off-by: Anshuman Khandual --- arch/powerpc/kernel/asm-offsets.c | 2 +- arch/powerpc/kernel/entry

[PATCH V5 09/13] selftests, powerpc: Add test for DSCR value inheritence across fork

2015-05-20 Thread Anshuman Khandual
This patch adds a test to verify that the changed DSCR value inside any process would be inherited to it's child process across the fork system call. Acked-by: Shuah Khan Signed-off-by: Anshuman Khandual Signed-off-by: Anton Blanchard --- tools/testing/selftests/powerpc/dscr/Makefile | 3

Re: [PATCH] regulator: core: fix constraints debug output

2015-05-20 Thread Stefan Wahren
Hi Joe, > Joe Perches hat am 20. Mai 2015 um 22:35 geschrieben: > > > On Wed, 2015-05-20 at 20:17 +, Stefan Wahren wrote: > > In the case uV_offset is greater than 0 the debug output before > > is accidentally overwritten. So take care of the output count. > > If you are going to take care, p

Re: [PATCH] usb: ulpi: don't register drivers if bus doesn't exist

2015-05-20 Thread Lu, Baolu
On 05/21/2015 05:22 AM, David Cohen wrote: Hi, On Wed, May 20, 2015 at 03:33:26PM -0400, Sasha Levin wrote: ULPI registers it's bus at module_init so if the bus fails to register, the A minor comment: s/it's/its/ module will fail to load and all will be well in the world. However, if the

Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-20 Thread Herbert Xu
On Thu, May 21, 2015 at 08:10:13AM +0200, Stephan Mueller wrote: > > The cancel operation is needed as otherwise my drbg context handle will be > removed by the crypto API during the sleep. That is the whole reason why > wait_event_interruptible is used. > > So, even when using an uninterruptibl

Re: [EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-20 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB >> Hi, >> >> From: Maninder Singh >> >> Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock >> Subject: [PATCH 1/1] kernel/exit.c : Fix missing read_unlock >> This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait >> retu

Re: [PATCH v3] Fix endian issues and remove the board specific codes

2015-05-20 Thread Dmitry Torokhov
Hi Hn, On Mon, May 11, 2015 at 01:11:39AM +0800, HungNien Chen wrote: > Signed-off-by: HungNien Chen Thank you for making the requested changes. Some more comments below. > --- > drivers/input/touchscreen/Kconfig | 12 + > drivers/input/touchscreen/Makefile |1 + > drivers/inp

Re: [PATCH 2/2] misc: Add initial Digital Timing Engine (DTE) driver for cygnus

2015-05-20 Thread Richard Cochran
On Wed, May 20, 2015 at 04:38:02PM -0700, Jonathan Richardson wrote: > > Richard, this design isn't going to work. We need to have both kernel > and user space consumers. But you did not implement even a single kernel consumer. > We don't want all GPIO's in a common timestamp > buffer either, as

Re: [PATCHv2] coccinelle: api: add vma_pages.cocci

2015-05-20 Thread Michal Marek
Dne 18.5.2015 v 04:25 Julia Lawall napsal(a): > On Sun, 17 May 2015, Dmitry Kalinkin wrote: >> This semantic patch replaces explicit computations of vma page count >> with explicit function call. >> >> Signed-off-by: Dmitry Kalinkin > Acked-by: Julia Lawall Thanks, applied to kbuild.git#misc. M

Re: [PATCH 7/7] time: Remove read_boot_clock()

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > From: Xunlei Pang > > Now we have all the read_boot_clock64() for all implementations, > it's time to remove read_boot_clock() completely from the kernel. This sentence does not parse for me. Did you want to say: Now that we have a read_boot_clock64() function availa

Re: [PATCH 6/7] s390: time: Provide read_boot_clock64() and read_persistent_clock64()

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > From: Xunlei Pang > > As part of addressing "y2038 problem" for in-kernel uses, this > patch converts read_boot_clock() to read_boot_clock64() and > read_persistent_clock() to read_persistent_clock64() using > timespec64. s/addressing "y2037 problem"/ addressing the "

Re: [PATCH v6 1/2] PCI/MSI: Don't disable MSI/MSI-X at shutdown

2015-05-20 Thread Fam Zheng
On Tue, 05/19 09:58, Bjorn Helgaas wrote: > On Tue, May 12, 2015 at 03:03:32PM +0200, Michael S. Tsirkin wrote: > > d52877c7b1af ("pci/irq: let pci_device_shutdown to call pci_msi_shutdown > > v2") disabled MSI/MSI-X at device shutdown to address a kexec problem. > > ... Hi Bjorn, > > I know you

Re: [PATCH 5/7] time: include math64.h in time64.h

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > From: Xunlei Pang > > On 32-bit systems, timespec64_add_ns() calls __iter_div_u64_rem() > which needs match64.h, and we want to include time64.h in some s/match64.h math64.h Also, missing comma. Thanks, Ingo -- To unsubscribe from this list: send the line "

Re: [PATCH 0/7] Current queue for tip/timers/core

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > Hey Thomas, Ingo, > Just wanted to send you my current queue of items that I > have pending for tip/timers/core for 4.2 > > Let me know if you have any concerns or objections. > > thanks > -john > > tracing: timer: Add deferrable flag to timer_start > timekeeping:

Re: [PATCH 4/7] tracing: timer: Add deferrable flag to timer_start

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > From: Badhri Jagan Sridharan > > The timer_start event now shows whether the timer is > deferrable in case of a low-res timer. The debug_activate > function now includes deferrable flag while calling > trace_timer_start event. s/now includes deferrable flag/ now inclu

Re: [PATCH v2 4/6] soc: mediatek: Add SMI driver

2015-05-20 Thread Yong Wu
Hi Matthias, Thanks very much for your suggestion. Abort the smi clock name, Could you help check below. The others I will improve in next time. On Tue, 2015-05-19 at 13:14 +0200, Matthias Brugger wrote: > 2015-05-15 11:43 GMT+02:00 Yong Wu : > > This patch add SMI(Smart Multime

[PATCH v2 4/6] i2c-parport: use new parport device model

2015-05-20 Thread Sudip Mukherjee
Modify i2c-parport driver to use the new parallel port device model. Tested-by: Jean Delvare Acked-by: Wolfram Sang Signed-off-by: Sudip Mukherjee --- v2: Changed to one space instead of tab in i2c_parport_driver. i2c_parport_cb is made local, devmodel added to driver structure, and probe rem

Re: [RFD] linux-firmware key arrangement for firmware signing

2015-05-20 Thread Greg Kroah-Hartman
On Thu, May 21, 2015 at 08:41:02AM +0300, Petko Manolov wrote: > > I too don't understand this need to sign something that you don't really > > know > > what it is from some other company, just to send it to a separate device > > that > > is going to do whatever it wants with it if it is signed

Re: [PATCH 3/7] time: Rework debugging variables so they aren't global

2015-05-20 Thread Ingo Molnar
* John Stultz wrote: > Ingo suggested that the timekeeping debugging variables > recently added should not be global, and should be tied > to the timekeeper's read_base. > > Thus this patch implements that suggestion. > > This version is differnet from the earlier versions s/differnet/ diff

Re: [PATCH v9 3/5] crypto: drbg - add async seeding operation

2015-05-20 Thread Stephan Mueller
Am Donnerstag, 21. Mai 2015, 05:44:08 schrieb Herbert Xu: Hi Herbert, > On Wed, May 20, 2015 at 10:03:45PM +0200, Stephan Mueller wrote: > >> @@ -1487,6 +1514,7 @@ unlock: > > */ > > > > static int drbg_uninstantiate(struct drbg_state *drbg) > > { > > > > + cancel_work_sync(&drbg->seed_w

Re: [PATCH] kvm:Return -ENOMEM directly for the function, kvm_create_lapic

2015-05-20 Thread Ingo Molnar
* Nicholas Krause wrote: > In order to make code paths easier to read in the function, > kvm_create_lapic we return -ENOMEM when unable to allocate > memory for a kvm_lapic structure pointer directly. This > makes the code easier to read and cleaner then jumping > to a goto label at the end of t

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-20 Thread Greg Kroah-Hartman
On Thu, May 21, 2015 at 07:51:18AM +0200, Willy Tarreau wrote: > On Wed, May 20, 2015 at 05:46:44PM +0200, Richard Weinberger wrote: > > On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee > > wrote: > > > Lets give the parport subsystem a proper name and start > > > maintaining the files. > > > > E

Re: [PATCH] dma-buf: Minor coding style fixes

2015-05-20 Thread Sumit Semwal
Hi Jagan, On 21 May 2015 at 01:09, Jagan Teki wrote: > - WARNING: Missing a blank line after declarations > - WARNING: line over 80 characters > - WARNING: please, no space before tabs > > Signed-off-by: Jagan Teki > Cc: Sumit Semwal Thanks for the patch; I've queued it up in for-next. Best r

Re: [EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-20 Thread Ingo Molnar
* Maninder Singh wrote: > EP-F6AA0618C49C4AEDA73BFF1B39950BAB > Hi, > > From: Maninder Singh > > Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock > > This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait > returns non zero. > > Signed-off-by: Maninder Singh

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-20 Thread Sudip Mukherjee
On Wed, May 20, 2015 at 10:36:04PM +0200, Richard Weinberger wrote: > Am 20.05.2015 um 18:33 schrieb One Thousand Gnomes: > > On Wed, 20 May 2015 17:46:44 +0200 > > Richard Weinberger wrote: > > > >> On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee > >> wrote: > >>> Lets give the parport subsyst

Re: [PATCH 6/6] MAINTAINERS: maintain parport

2015-05-20 Thread Willy Tarreau
On Wed, May 20, 2015 at 05:46:44PM +0200, Richard Weinberger wrote: > On Wed, May 20, 2015 at 5:27 PM, Sudip Mukherjee > wrote: > > Lets give the parport subsystem a proper name and start > > maintaining the files. > > Excuse me, but usually someone takes over the maintainer role after > proving

Re: [PATCH] arch: alpha: kernel: remove deprecated call to pci_get_slot

2015-05-20 Thread Matt Turner
On Thu, Feb 5, 2015 at 1:17 PM, Pierre Chevalier wrote: > According to Documentation/PCI/pci.txt, pci_get_slot has been > superseded by pci_get_domain_bus_and_slot. > > Signed-off-by: Pierre Chevalier > --- > arch/alpha/kernel/sys_miata.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-)

Re: [RFC PATCH] checkpatch: check for 2 or more spaces around assignment of a declaration

2015-05-20 Thread Willy Tarreau
On Wed, May 20, 2015 at 06:02:06PM -0700, Joe Perches wrote: > Perhaps space aligned declarations should have some > checkpatch --strict warning for 2 or more spaces > around any assignment of the declaration. > > int a = 1;// 2+ spaces before = > int b = 2;

Re: [RFC PATCH 2/4] x86, mwaitt: introduce mwaitx idle with a configurable timer

2015-05-20 Thread Andy Lutomirski
On May 20, 2015 6:34 PM, "Andy Lutomirski" wrote: > If we did that *and* we had a non-crappy mwaitx, then we could apply an > optimization: when going idle, we could turn off the TSC deadline timer and > use mwaitx instead. This would about an interrupt if the event that wakes us > is our time

Re: Crash in crc32_le during kmemleak_scan()

2015-05-20 Thread vigneshr
> Analysis so far : > > I haven't been able to figure out exactly how the dots are connected and > the relation to the change provided earlier but the following is what i > could put together : > > When i checked the post mortem analysis i see the following in the > crashing stack : > > -018|rb_era

Re: [RFD] linux-firmware key arrangement for firmware signing

2015-05-20 Thread Petko Manolov
On 15-05-20 21:41:04, Greg Kroah-Hartman wrote: > On Wed, May 20, 2015 at 07:46:13PM +0300, Petko Manolov wrote: > > On 15-05-20 17:24:46, One Thousand Gnomes wrote: > > > > > > More to the point why do you want to sign firmware files ? Leaving aside > > > the > > > fact that someone will produc

[PATCH 1/1] usb: ulpi: ulpi_init should be used in subsys_initcall

2015-05-20 Thread Lu Baolu
The intention of this change is to fix below kernel panic when USB_ULPI_BUS was configured as buildin. [0.746856] kernel BUG at drivers/base/driver.c:153! [0.752418] invalid opcode: [#1] PREEMPT SMP [0.757804] Modules linked in: [0.893985] Call Trace: [0.896729] [] ? ulpi_register_driver+0x2

Re: [PATCH v8 01/16] scripts: link-vmlinux: Don't pass page offset to kallsyms if XIP Kernel

2015-05-20 Thread Michal Marek
Dne 21.5.2015 v 07:04 Andreas Färber napsal(a): > Am 18.05.2015 um 13:47 schrieb Maxime Coquelin: > But this is definitely an improvement for ARMv7-M debugging, > > Tested-by: Andreas Färber > >> [Hi Michal, ...] could you consider >> taking it for v4.2? I applied it to kbuild.git#kbuild now.

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

2015-05-20 Thread Dr. H. Nikolaus Schaller
Am 21.05.2015 um 00:20 schrieb Sebastian Reichel : > Hi, > > On Tue, May 19, 2015 at 10:28:39AM +0200, Dr. H. Nikolaus Schaller wrote: >> Am 19.05.2015 um 09:13 schrieb Krzysztof Kozlowski : >>> Changes since v1: >>> = >>> 1. Patch 2: fix invalid member used for container_of(). >

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

2015-05-20 Thread Kukjin Kim
On 05/19/15 15:21, Kukjin Kim wrote: > On 05/17/15 17:52, Krzysztof Kozlowski wrote: >> 2015-05-11 12:14 GMT+09:00 Krzysztof Kozlowski : >>> Dear Kukjin, >>> >>> Updated pull request, replacing also the usage of soc_is_exynos4() >>> with of_machine_is_compatible(). You requested this in comments >>

Re: [PATCH] serial: tegra: Fix memory leak on DMA setup failure

2015-05-20 Thread Alexandre Courbot
On Wed, May 20, 2015 at 8:21 PM, Jon Hunter wrote: > If the call to dmaengine_slave_config() fails, then the DMA buffer will > not be freed/unmapped. Fix this by moving the code that stores the > address of the buffer in the tegra_uart_port structure to before the > call to dmaengine_slave_config(

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

2015-05-20 Thread Heiko Schocher
Hello Shawn, Am 21.05.2015 03:04, schrieb Shawn Guo: On Wed, May 20, 2015 at 01:13:54PM +0200, Heiko Schocher wrote: + * Copyright (C) 2015 Heiko Schocher + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this

Re: [PATCH 3/4] perf: Use pmu_events_map table to create event aliases

2015-05-20 Thread Sukadev Bhattiprolu
Andi Kleen [a...@linux.intel.com] wrote: | If you need something else in vfm to identify the CPU | can't you just add it there? I wouldn't really call it vfm, it's | really a "abstract cpu identifier per architecture". So if you | need pvr just add it there. Ok. I will change vfm to cpuid_str and

[EDT][PATCH] kernel/exit.c : Fix missing read_unlock

2015-05-20 Thread Maninder Singh
EP-F6AA0618C49C4AEDA73BFF1B39950BAB Hi, From: Maninder Singh Subject: [PATCH 1/1] kernel/exit.c : Fix missing task_unlock This patch adds missing read_unlock if do_wait_thread or ptrace_do_wait returns non zero. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang Reviewd-by: Akhiles

Re: [PATCH v6 3/6] arm64: Kprobes with single stepping support

2015-05-20 Thread David Long
On 05/20/15 12:39, Catalin Marinas wrote: On Mon, Apr 20, 2015 at 04:19:44PM -0400, David Long wrote: Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes utilizes software breakpoint and single step debug exceptions supported on ARM v8. A software breakpoi

Re: [RFD] linux-firmware key arrangement for firmware signing

2015-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 07:46:13PM +0300, Petko Manolov wrote: > On 15-05-20 17:24:46, One Thousand Gnomes wrote: > > > > More to the point why do you want to sign firmware files ? Leaving aside > > the > > fact that someone will produce a device with GPLv3 firmware just to p*ss > > you > > of

Re: [PATCH 8/8] driver-core: allow enabling async probing for all modules and builtins

2015-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 09:44:59AM -0700, Dmitry Torokhov wrote: > On Wed, May 20, 2015 at 12:27:34AM -0700, Greg Kroah-Hartman wrote: > > On Mon, Mar 30, 2015 at 04:20:10PM -0700, Dmitry Torokhov wrote: > > > From: "Luis R. Rodriguez" > > > > > > Folks wishing to test enabling async probe for al

Re: [PATCH v4 1/2] serial_core: add pci uart early console support

2015-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 02:17:40PM -0700, Bin Gao wrote: > On some Intel Atom SoCs, the legacy IO port UART(0x3F8) is not available. > Instead, a 8250 compatible PCI uart can be used as early console. > This patch adds pci support to the 8250 early console driver uart8250. > For example, to enable

[PATCH 1/2] devicetree:bindings: add devicetree bindings for ceva ahci

2015-05-20 Thread Suneel Garapati
adds bindings for CEVA AHCI SATA controller. optional property broken-gen2 is useful incase of hardware speed limitation. Signed-off-by: Suneel Garapati --- Documentation/devicetree/bindings/ata/ahci-ceva.txt | 20 1 file changed, 20 insertions(+) create mode 100644 Documen

[PATCH 0/2] Support for CEVA SATA Host controller

2015-05-20 Thread Suneel Garapati
Adds support for CEVA SATA Host controller found on Xilinx Zynq Ultrascale+ MPSoC. Suneel Garapati (2): devicetree:bindings: add devicetree bindings for ceva ahci drivers: ata: add support for Ceva sata host controller .../devicetree/bindings/ata/ahci-ceva.txt | 20 ++ drivers/ata/

Re: [REGRESSION] 4.1-rc4: Sound muted after boot

2015-05-20 Thread Takashi Iwai
At Wed, 20 May 2015 16:31:55 +0200, Martin Steigerwald wrote: > > Hello! > > On ThinkPad T520 (Intel Sandybridge) with 4.14-rc4 + two BTRFS patches and > one Intel P-State debug patch I have no sound output on internal Intel HD > audio codec. > > According to ThinkPad T520 LED with striked-thr

Re: [PATCH v2 2/3] fbcon: use the cursor blink interval provided by vt

2015-05-20 Thread Greg Kroah-Hartman
On Wed, May 20, 2015 at 02:36:17PM +0200, Thierry Reding wrote: > On Tue, May 19, 2015 at 04:41:12PM -0700, Greg Kroah-Hartman wrote: > > On Tue, May 19, 2015 at 11:52:29PM +0200, Thierry Reding wrote: > > > On Tue, May 19, 2015 at 02:45:19PM -0700, Kevin Hilman wrote: > > > > On Tue, May 19, 2015

Re: [RESEND][PATCH] Bluetooth: Make request workqueue freezable

2015-05-20 Thread Takashi Iwai
At Wed, 20 May 2015 16:42:44 -0700, Laura Abbott wrote: > > On 05/20/2015 05:44 AM, Takashi Iwai wrote: > > At Wed, 20 May 2015 11:46:31 +0200, > > Marcel Holtmann wrote: > >> > >> Hi Oliver, > >> > The data is cached in RAM. More specifically, the former loaded > firmware files are rel

[PATCH 6/6] perf, tools: Add a --no-desc flag to perf list

2015-05-20 Thread Andi Kleen
From: Andi Kleen Add a --no-desc flag to perf list to not print the event descriptions that were earlier added for JSON events. This may be useful to get a less crowded listing. It's still default to print descriptions as that is the more useful default for most users. v2: Rename --quiet to --n

[PATCH 2/6] perf, tools: Allow events with dot

2015-05-20 Thread Andi Kleen
From: Andi Kleen The Intel events use a dot to separate event name and unit mask. Allow dot in names in the scanner, and remove special handling of dot as EOF. Also remove the hack in jevents to replace dot with underscore. This way dotted events can be specified directly by the user. I'm not fu

[PATCH 1/6] perf, tools: Handle header line in mapfile

2015-05-20 Thread Andi Kleen
From: Andi Kleen Support a header line in the mapfile.csv, to match the existing mapfiles Signed-off-by: Andi Kleen --- tools/perf/pmu-events/jevents.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/perf/pmu-events/jevents.c b/tools/perf/pmu-events/jevents.c index 3afa6e9..0ad5574

[PATCH 3/6] perf, tools: Support CPU id matching for x86

2015-05-20 Thread Andi Kleen
From: Andi Kleen Implement the code to match CPU types to mapfile types for x86 based on CPUID. This extends an existing similar function, but changes it to use the x86 mapfile cpu description. This allows to resolve event lists generated by jevents. Signed-off-by: Andi Kleen --- tools/perf/ar

perf, tools: Event files for Intel x86

2015-05-20 Thread Andi Kleen
This patchkit extends Sukadev builtin event list patches for Intel x86. With that perf can build in event lists. This also adds some missing features from the older JSON patchkits, in particular the ability to print descriptions. I am not posting the actual event files, because they are gigantic

[PATCH 5/6] perf, tools: Query terminal width and use in perf list

2015-05-20 Thread Andi Kleen
From: Andi Kleen Automatically adapt the now wider and word wrapped perf list output to wider terminals. This requires querying the terminal before the auto pager takes over, and exporting this information from the pager subsystem. Acked-by: Namhyung Kim Signed-off-by: Andi Kleen --- tools/pe

[PATCH 4/6] perf, tools: Support alias descriptions

2015-05-20 Thread Andi Kleen
From: Andi Kleen Add support to print alias descriptions in perf list, which are taken from the generated event files. The sorting code is changed to put the events with descriptions at the end. The descriptions are printed as possibly multiple word wrapped lines. Example output: % perf list .

Re: [PATCH v3 1/2] perf/kvm: Port perf kvm to powerpc

2015-05-20 Thread Hemant Kumar
Hi Scott, On 05/13/2015 08:52 AM, Scott Wood wrote: On Tue, 2015-05-12 at 21:34 +0530, Hemant Kumar wrote: Hi Scott, On 05/12/2015 03:38 AM, Scott Wood wrote: On Fri, 2015-05-08 at 06:37 +0530, Hemant Kumar wrote: diff --git a/arch/powerpc/include/uapi/asm/kvm_perf.h b/arch/powerpc/include/

Re: [PATCH v7 6/7] clk: hi6220: Clock driver support for Hisilicon hi6220 SoC

2015-05-20 Thread Bintian
Hello Stephen, Arnd, On 2015/5/21 6:25, Stephen Boyd wrote: On 05/20/15 03:29, Bintian Wang wrote: Add clock drivers for hi6220 SoC, this driver controls the SoC registers to supply different clocks to different IPs in the SoC. We add one divider clock for hi6220 because the divider in hi6220

Re: [PATCH v2 0/3] gpiolib: debugfs: update to show more info for gpios requested as irq

2015-05-20 Thread Alexandre Courbot
On Wed, May 20, 2015 at 7:30 PM, Grygorii Strashko wrote: > This series updates gpiolib debugfs code to show more information about > GPIOs requested as IRQ. > > First patch ensures that information about GPIOs requested as IRQ only > will be provided through GPIO debugfs. > > Other two patches ex

[PATCH 2/2] drivers: ata: add support for Ceva sata host controller

2015-05-20 Thread Suneel Garapati
Adds support for Ceva sata host controller on Xilinx Zynq UltraScale+ MPSoC. Signed-off-by: Suneel Garapati --- drivers/ata/Kconfig | 9 ++ drivers/ata/Makefile| 1 + drivers/ata/ahci_ceva.c | 225 3 files changed, 235 insertions(+) c

[PATCH v4 2/2] perf/kvm: Support HCALL events

2015-05-20 Thread Hemant Kumar
powerpc provides hcall events that also provides insights into guest behaviour. Enhance perf kvm 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 calls fro

[PATCH v4 1/2] perf/kvm: Port perf kvm to powerpc

2015-05-20 Thread Hemant Kumar
From: Srikar Dronamraju 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 rec

Re: [PATCH V4 00/13] POWER DSCR fixes, improvements, docs and tests

2015-05-20 Thread Michael Ellerman
On Mon, 2015-05-18 at 16:26 +0530, Anshuman Khandual wrote: > This patch series has patches for POWER DSCR fixes, improvements, > in code documentaion, kernel support user documentation and selftest based > test cases. It has got five test cases which are derived from Anton's DSCR > test buck

Re: [FYI] tux3: Core changes

2015-05-20 Thread David Lang
On Wed, 20 May 2015, Daniel Phillips wrote: On 05/20/2015 03:51 PM, Daniel Phillips wrote: On 05/20/2015 12:53 PM, Rik van Riel wrote: How does tux3 prevent a user of find_get_page() from reading from or writing into the pre-COW page, instead of the current page? Careful control of the dirty

Re: [RFC PATCH net-next] bridge: allow setting hash_max + multicast_router if interface is down

2015-05-20 Thread Herbert Xu
On Thu, May 21, 2015 at 04:59:22AM +0200, Linus Lüssing wrote: > > * For i=br_multicast_init(), e=br_multicast_enable() and > s=br_multicast_stop() is the order i->e->s->e->s->e->... always > ensured by the netdev API? Will this work even if I have br_multicast_init always happens first obvio

Re: [PATCH v2 6/6] usb: chipidea: add work-around for Marvell HSIC PHY startup

2015-05-20 Thread Rob Herring
On Wed, May 20, 2015 at 10:13 PM, Peter Chen wrote: > On Tue, May 19, 2015 at 09:10:05PM -0500, Rob Herring wrote: >> The Marvell 28nm HSIC PHY requires the port to be forced to HS mode after >> the port power is applied. This is done using the test mode in the PORTSC >> register. >> >> As HSIC is

[PATCH v6 5/5] trace, ras: move ras_event.h under include/trace/events

2015-05-20 Thread Xie XiuQi
From: Naoya Horiguchi Most of header files for tracepoints are located to include/trace/events or their relevant subdirectories under drivers/. One exception is include/ras/ras_events.h, which looks inconsistent. So let's move it to the default places for such headers. Signed-off-by: Naoya Horig

[PATCH v6 1/5] memory-failure: export page_type and action result

2015-05-20 Thread Xie XiuQi
Export 'outcome' and 'action_page_type' to mm.h, so we could use this emnus outside. This patch is preparation for adding trace events for memory-failure recovery action. Acked-by: Naoya Horiguchi Signed-off-by: Xie XiuQi --- include/linux/mm.h | 34 ++ mm/memory-failure.c | 168 ++

[PATCH v6 4/5] tracing: fix build error in mm/memory-failure.c

2015-05-20 Thread Xie XiuQi
next-20150515 fails to build on i386 with the following error: mm/built-in.o: In function `action_result': memory-failure.c:(.text+0x344a5): undefined reference to `__tracepoint_memory_failure_event' memory-failure.c:(.text+0x344d5): undefined reference to `__tracepoint_memory_failure_event' mem

[PATCH v6 0/5] tracing: add trace event for memory-failure

2015-05-20 Thread Xie XiuQi
RAS user space tools like rasdaemon which base on trace event, could receive mce error event, but no memory recovery result event. So, I want to add this event to make this scenario complete. This patchset add a event at ras group for memory-failure. The output like below: # tracer: nop # # ent

[PATCH v6 3/5] tracing: add trace event for memory-failure

2015-05-20 Thread Xie XiuQi
RAS user space tools like rasdaemon which base on trace event, could receive mce error event, but no memory recovery result event. So, I want to add this event to make this scenario complete. This patch add a event at ras group for memory-failure. The output like below: # tracer: nop # # entrie

[PATCH v6 2/5] memory-failure: change type of action_result's param 3 to enum

2015-05-20 Thread Xie XiuQi
Change type of action_result's param 3 to enum for type consistency, and rename mf_outcome to mf_result for clearly. Acked-by: Naoya Horiguchi Signed-off-by: Xie XiuQi --- include/linux/mm.h |2 +- mm/memory-failure.c |3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git

[PATCH v4 3/3] kvm/powerpc: Export HCALL reason codes

2015-05-20 Thread Hemant Kumar
For perf to analyze the KVM events like hcalls, we need the hypervisor calls and their codes to be exported through uapi. This patch moves most of the pSeries hcall codes from arch/powerpc/include/asm/hvcall.h to arch/powerpc/include/uapi/asm/pseries_hcalls.h. It also moves the mapping from arch/

[PATCH v4 1/3] kvm/powerpc: Export kvm exit reasons

2015-05-20 Thread Hemant Kumar
To analyze the kvm exits with perf, we will need to map the exit codes with the exit reasons. Such a mapping exists today in trace_book3s.h. Currently its not exported to perf. This patch moves these kvm exit reasons and their mapping from "arch/powerpc/kvm/trace_book3s.h" to "arch/powerpc/include

[PATCH v4 2/3] kvm/powerpc: Add exit reason for return code 0x0

2015-05-20 Thread Hemant Kumar
This patch adds an exit reason "RETURN_TO_HOST" for the return code 0x0. Note that this is not related to any interrupt vector address, but this is added just to make sure that perf doesn't complain if and when a kvm exit happens with a trap code as 0x0. Signed-off-by: Hemant Kumar --- arch/powe

[RFC][PATCH 1/2] cgroup: Add generic cgroup subsystem permission checks

2015-05-20 Thread John Stultz
From: Colin Cross Rather than using explicit euid == 0 checks when trying to move tasks into a cgroup, move permission checks into each specific cgroup subsystem. If a subsystem does not specify a 'allow_attach' handler, then we fall back to doing the checks the old way. This patch adds a 'allow

[RFC][PATCH 0/2] Android style loosening of cgroup attach permissions

2015-05-20 Thread John Stultz
As a heads up, this is just a first RFC and not a submission. Android currently loosens the cgroup attchment permissions, allowing tasks with CAP_SYS_NICE to be able to allow tasks to move arbitrary tasks across cgroups. At first glance, overloading CAP_SYS_NICE seems a bit hackish, but this show

[RFC][PATCH 2/2] cgroup: Add a memcg and cpu cg allow_attach policy for Android

2015-05-20 Thread John Stultz
From: Rom Lemarchand If CONFIG_CGROUP_NICE_ATTACH is enabled, this implements an allow_attach policy for Android, which allows any process with CAP_SYS_NICE to move tasks across mem and cpu cgroups. Cc: Tejun Heo Cc: Li Zefan Cc: Jonathan Corbet Cc: cgro...@vger.kernel.org Cc: Android Kernel

Re: linux-next: manual merge of the net-next tree with the net tree

2015-05-20 Thread Florian Fainelli
2015-05-20 19:59 GMT-07:00 Stephen Rothwell : > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in > drivers/net/phy/phy.c between commit c15e10e71ce3 ("net: phy: Make sure > phy_start() always re-enables the phy interrupts") from the net tree > and commit 3e2186e02112 ("ne

Re: [PATCH v6 1/6] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2015-05-20 Thread David Long
On 05/20/15 09:39, Catalin Marinas wrote: On Mon, Apr 20, 2015 at 04:19:42PM -0400, David Long wrote: diff --git a/arch/arm64/include/uapi/asm/ptrace.h b/arch/arm64/include/uapi/asm/ptrace.h index 6913643..58c0223 100644 --- a/arch/arm64/include/uapi/asm/ptrace.h +++ b/arch/arm64/include/uapi/a

Re: linux-next: manual merge of the samsung tree with the arm-soc andat91 trees

2015-05-20 Thread Kukjin Kim
On 05/21/15 10:20, Krzysztof Kozlowski wrote: > 2015-05-20 18:47 GMT+09:00 Geert Uytterhoeven : >> On Wed, May 20, 2015 at 11:16 AM, Alexandre Belloni >> wrote: >>> On 20/05/2015 at 09:35:36 +0900, Krzysztof Kozlowski wrote : 2015-05-20 9:27 GMT+09:00 Stephen Rothwell : > Today's linux-ne

  1   2   3   4   5   6   7   8   9   10   >