Re: Possible broken MM code in dell-laptop.c?

2015-06-17 Thread Michal Hocko
On Tue 16-06-15 20:43:34, Darren Hart wrote: [...] Michal - thanks for the context. I'm surprised by your recommendation to use __free_page() out here in platform driver land. I'd also prefer that the driver consistently free the same address to avoid confusion. For these reasons,

Re: [PATCH] selftests: add seccomp suite

2015-06-17 Thread Michael Ellerman
On Tue, 2015-06-16 at 10:54 -0700, Kees Cook wrote: This imports the existing seccomp test suite into the kernel's selftests tree. It contains extensive testing of seccomp features and corner cases. There remain additional tests to move into the kernel tree, but they have not yet been ported

[PATCH v6 00/14] crypto: add a new driver for Marvell's CESA

2015-06-17 Thread Boris Brezillon
Hello, This patch series adds a new driver supporting Marvell's CESA IP. This driver addresses some limitations of the existing one. From a performance and CPU load point of view the most important limitation in the existing driver is the lack of DMA support, thus preventing us from chaining

[PATCH v6 04/14] crypto: add a new driver for Marvell's CESA

2015-06-17 Thread Boris Brezillon
The existing mv_cesa driver supports some features of the CESA IP but is quite limited, and reworking it to support new features (like involving the TDMA engine to offload the CPU) is almost impossible. This driver has been rewritten from scratch to take those new features into account. This

[PATCH v6 03/14] crypto: mv_cesa: explicitly define kirkwood and dove compatible strings

2015-06-17 Thread Boris Brezillon
We are about to add a new driver to support new features like using the TDMA engine to offload the CPU. Orion, Dove and Kirkwood platforms are already using the mv_cesa driver, but Orion SoCs do not embed the TDMA engine, which means we will have to differentiate them if we want to get TDMA

[PATCH v6 01/14] crypto: mv_cesa: document the clocks property

2015-06-17 Thread Boris Brezillon
On Dove platforms, the crypto engine requires a clock. Document this clocks property in the mv_cesa bindings doc. Signed-off-by: Boris Brezillon boris.brezil...@free-electrons.com --- Documentation/devicetree/bindings/crypto/mv_cesa.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git

[PATCH v6 02/14] crypto: mv_cesa: use gen_pool to reserve the SRAM memory region

2015-06-17 Thread Boris Brezillon
The mv_cesa driver currently expects the SRAM memory region to be passed as a platform device resource. This approach implies two drawbacks: - the DT representation is wrong - the only one that can access the SRAM is the crypto engine The last point is particularly annoying in some cases: for

Re: [PATCH 7/8] staging: sm7xxfb: move mode table

2015-06-17 Thread Sudip Mukherjee
On Tue, Jun 16, 2015 at 10:33:57AM -0700, Joe Perches wrote: On Tue, 2015-06-16 at 19:12 +0530, Sudip Mukherjee wrote: move vgamode table from the header file to the C file and mark it as const. The slightly odd indentation could be fixed here too. Ok. I am sending v2. But if I am

Re: [PATCH v2 09/13] KVM: x86: pass kvm_mmu_page to gfn_to_rmap

2015-06-17 Thread Paolo Bonzini
On 09/06/2015 05:28, Xiao Guangrong wrote: -rmapp = gfn_to_rmap(kvm, sp-gfn, PT_PAGE_TABLE_LEVEL); +slots = kvm_memslots(kvm); +slot = __gfn_to_memslot(slots, sp-gfn); +rmapp = __gfn_to_rmap(sp-gfn, PT_PAGE_TABLE_LEVEL, slot); Why @sp is not available here? Because the

Re: [PATCH v2 1/1] perf tools: Check access permission when reading /proc/kcore file.

2015-06-17 Thread Sukadev Bhattiprolu
Li Zhang [zhlci...@linux.vnet.ibm.com] wrote: | When using command perf report --kallsyms=/proc/kallsyms with a non-root | user, symbols are resolved. Then select one symbol and annotate it, it | reports the error as the following: | Can't annotate __clear_user: No vmlinux file with build id xxx

Re: [PATCH] selftests: add seccomp suite

2015-06-17 Thread Michael Ellerman
On Tue, 2015-06-16 at 10:54 -0700, Kees Cook wrote: This imports the existing seccomp test suite into the kernel's selftests tree. It contains extensive testing of seccomp features and corner cases. There remain additional tests to move into the kernel tree, but they have not yet been ported

Re: [PATCH 0/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 12:19:15AM +0200, Igor Mammedov wrote: On Tue, 16 Jun 2015 23:16:07 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Tue, Jun 16, 2015 at 06:33:34PM +0200, Igor Mammedov wrote: Series extends vhost to support upto 509 memory regions, and adds some

Re: [PATCH v4 0/4] remoteproc: Introduce wkup_m3_rproc driver

2015-06-17 Thread Ohad Ben-Cohen
On Fri, May 22, 2015 at 11:45 PM, Dave Gerlach d-gerl...@ti.com wrote: Hi, This patch series is v4 of the series to add a wkup_m3_rproc driver for TI AM335xi and AM437x SoCs. This family of SoCs contains an ARM Cortex M3 coprocessor that is responsible for low-level power tasks that cannot be

Re: [PATCH V1] x86, espfix: postpone the initialization of espfix stack for AP

2015-06-17 Thread H. Peter Anvin
On 06/04/2015 02:45 AM, Gu Zheng wrote: The following lockdep warning occurrs when running with latest kernel: [3.178000] [ cut here ] [3.183000] WARNING: CPU: 128 PID: 0 at kernel/locking/lockdep.c:2755 lockdep_trace_alloc+0xdd/0xe0() [3.193000]

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:28:02AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 08:34:26 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 12:00:56AM +0200, Igor Mammedov wrote: On Tue, 16 Jun 2015 23:14:20 +0200 Michael S. Tsirkin m...@redhat.com wrote:

Re: [PATCH 0/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 09:33:57AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 08:31:23 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 12:19:15AM +0200, Igor Mammedov wrote: On Tue, 16 Jun 2015 23:16:07 +0200 Michael S. Tsirkin m...@redhat.com wrote:

Re: [PATCH 5/5] ARM64: MediaTek MT8173: Add SCPSYS device node

2015-06-17 Thread Sascha Hauer
On Tue, Jun 16, 2015 at 11:17:53AM -0700, Kevin Hilman wrote: Sascha Hauer s.ha...@pengutronix.de writes: This adds the SCPSYS device node to the MT8173 dtsi file. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de --- arch/arm64/boot/dts/mediatek/mt8173.dtsi | 10 ++ 1

Re: [PATCH 7/8] staging: sm7xxfb: move mode table

2015-06-17 Thread Joe Perches
On Wed, 2015-06-17 at 13:45 +0530, Sudip Mukherjee wrote: On Tue, Jun 16, 2015 at 10:33:57AM -0700, Joe Perches wrote: On Tue, 2015-06-16 at 19:12 +0530, Sudip Mukherjee wrote: move vgamode table from the header file to the C file and mark it as const. The slightly odd indentation

Re: [RESUBMIT Patch 1/1] net: replace if()/BUG with BUG_ON

2015-06-17 Thread Frans Klaver
On Wed, Jun 17, 2015 at 10:26 AM, Alexander Drozdov al.droz...@gmail.com wrote: On Wed, 17 Jun 2015 09:36:11 +0200, Frans Klaver wrote: On Wed, Jun 17, 2015 at 6:36 AM, Maninder Singh maninder...@samsung.com wrote: Use BUG_ON(condition) instead of if(condition)/BUG() . Signed-off-by:

[PATCH v2 1/7] Revert staging: board: disable as it breaks the build

2015-06-17 Thread Geert Uytterhoeven
This reverts commit d13778d537a0ed6115d2a79a942af999cfb8eec6. Commit 13c11072536f2613 (staging:board: remove unnecessary function) fixed the build of drivers/staging/board/board.c. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be Reviewed-by: Simon Horman horms+rene...@verge.net.au ---

[PATCH v2 2/7] staging: board: Initialize staging board code earlier

2015-06-17 Thread Geert Uytterhoeven
Currently the staging board code is initialized from a late_initcall(). However, unused PM domains are also disabled from a late_initcall(), which happens before due to link order. Change the initialization of staging board code from using late_initcall() to device_initcall() to fix this.

Re: call_rcu from trace_preempt

2015-06-17 Thread Daniel Wagner
On 06/17/2015 10:11 AM, Daniel Wagner wrote: On 06/16/2015 07:20 PM, Alexei Starovoitov wrote: On 6/16/15 5:38 AM, Daniel Wagner wrote: static int free_thread(void *arg) +{ +unsigned long flags; +struct htab_elem *l; + +while (!kthread_should_stop()) { +

[PATCH v2 3/7] staging: board: Add support for translating hwirq to virq numbers

2015-06-17 Thread Geert Uytterhoeven
As of commit 9a1091ef0017c40a (irqchip: gic: Support hierarchy irq domain.), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ numbers in platform device resources. Add support for translating hardware IRQ numbers to virtual IRQ numbers, and fixing up platform device resources with

[PATCH v2 6/7] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-06-17 Thread Geert Uytterhoeven
Add staging board support for the r8a7740-based armadillo800eva board and add platform devices to allow in-tree continuous development of the drivers on the armadillo800eva board. When DT bindings are ready for theses drivers then the platform devices in the armadillo800eva staging board code can

[PATCH v2 0/7] staging: board: armadillo800eva: Board staging for sh_mobile_lcdc_fb

2015-06-17 Thread Geert Uytterhoeven
clk_add_alias() instead of open coding. Dependencies: - This is against next-20150617, - The gpio-hog in patch 7 depends on a bug fix like [PATCH] [RFC] gpio: Retry deferred GPIO hogging on pin range change (https://lkml.org/lkml/2015/6/16/455). It can be applied as-is though

Re: [Xen-devel] [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Jan Beulich
On 16.06.15 at 21:10, julien.gr...@citrix.com wrote: Append 0x to all %x in order to avoid while reading when there is other decimal value in the log. To save on the space taken by the format strings you should prefer %#x over 0x%x (like we do in the hypervisor). Jan -- To unsubscribe from

Re: [PATCH RFC v7 0/3] crypto: Introduce Public Key Encryption API

2015-06-17 Thread Herbert Xu
On Tue, Jun 16, 2015 at 10:30:50AM -0700, Tadeusz Struk wrote: This patch set introduces a Public Key Encryption API. What is proposed is a new crypto type called crypto_akcipher_type, plus new struct akcipher_alg and struct crypto_akcipher, together with number of helper functions to register

Re: [Patch v3] driver/clk/clk-si5338: Add common clock framework driver for si5338

2015-06-17 Thread Paul Bolle
On Tue, 2015-06-16 at 09:31 -0700, York Sun wrote: COMMON_CLK in Kconfig is changed from bool to tristate so all common clock framework drivers can be selected by users. A bool to tristate change isn't needed to make it possible to set a symbol manually. That's achieved by adding a prompt

Re: [PATCH 1/3] x86, acpi: Eliminate saved_eip

2015-06-17 Thread Pavel Machek
On Tue 2015-06-16 14:46:20, Denys Vlasenko wrote: On 06/16/2015 12:05 PM, Pavel Machek wrote: diff --git a/arch/x86/kernel/acpi/wakeup_32.S b/arch/x86/kernel/acpi/wakeup_32.S index 665c6b7..eef2bd3 100644 --- a/arch/x86/kernel/acpi/wakeup_32.S +++ b/arch/x86/kernel/acpi/wakeup_32.S

Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Ian Campbell
On Wed, 2015-06-17 at 10:30 +0100, Julien Grall wrote: I see different opinion on whether using 0x% or %#. As I plan to resend a version with the commit message update, shall I use %#? I think it's mostly pointless bike-shedding over a saving measured in single digit bytes, use whichever you

Re: [PATCH 12/12] msm: msm_fb: Remove dead code

2015-06-17 Thread Tomi Valkeinen
On 16/06/15 21:43, Stephen Boyd wrote: On 03/13/2015 11:51 AM, Jean-Christophe PLAGNIOL-VILLARD wrote: On 11:09 Fri 13 Mar , Stephen Boyd wrote: This code is no longer used now that mach-msm has been removed. Delete it. Cc: Jean-Christophe Plagniol-Villard plagn...@jcrosoft.com Cc:

Re: [BUG] fs: inotify_handle_event() reading un-init memory

2015-06-17 Thread Jesper Dangaard Brouer
On Wed, 17 Jun 2015 10:13:19 +0200 Jan Kara j...@suse.cz wrote: On Tue 16-06-15 22:22:34, Jesper Dangaard Brouer wrote: On Tue, 16 Jun 2015 15:52:09 +0200 Jan Kara j...@suse.cz wrote: On Tue 16-06-15 13:33:18, Jesper Dangaard Brouer wrote: Caught by kmemcheck. Don't know

Re: [BUG] fs: inotify_handle_event() reading un-init memory

2015-06-17 Thread Jan Kara
On Wed 17-06-15 11:57:07, Jesper Dangaard Brouer wrote: On Wed, 17 Jun 2015 10:13:19 +0200 Jan Kara j...@suse.cz wrote: On Tue 16-06-15 22:22:34, Jesper Dangaard Brouer wrote: On Tue, 16 Jun 2015 15:52:09 +0200 Jan Kara j...@suse.cz wrote: On Tue 16-06-15 13:33:18, Jesper

[PATCH 1/2] media: atmel-isi: setup the ISI_CFG2 register directly

2015-06-17 Thread Josh Wu
In the function configure_geometry(), we will setup the ISI CFG2 according to the sensor output format. It make no sense to just read back the CFG2 register and just set part of it. So just set up this register directly makes things simpler. Currently only support YUV format from camera sensor.

[PATCH] clockevents: check 'state' instead of 'mode' in suspend/resume path

2015-06-17 Thread Viresh Kumar
CLOCK_EVT_MODE_* macros are present for backward compatibility (as most of the drivers are still using old -set_mode() interface). These macro's shouldn't be used anymore in code, that is common to both driver interfaces, i.e. -set_mode() and -set_state_*(). Drivers implementing -set_state_*()

Re: Re: [PATCH] perf probe: Fix failure to probe events on arm

2015-06-17 Thread Masami Hiramatsu
On 2015/06/17 0:26, hekuang wrote: hi, Arnaldo On 06/15/2015 10:49 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 15, 2015 at 08:06:53AM +, He Kuang escreveu: Fix failure to probe events on arm, problem is introduced by commit 5a51fcd1f30c (perf probe: Skip kernel symbols which is out

[PATCH] gpio: zynq: add missing module_exit function

2015-06-17 Thread Masahiro Yamada
This driver is tristate, so it should be cleanable. Signed-off-by: Masahiro Yamada yamada.masah...@socionext.com --- drivers/gpio/gpio-zynq.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/gpio/gpio-zynq.c b/drivers/gpio/gpio-zynq.c index 184c4b1..1d38da7 100644 ---

[RESEND PATCH 1/2] ARM: at91/dt: trivial: fix USB udc compatible string

2015-06-17 Thread Nicolas Ferre
To please checkpatch and the tiresome reader, add the atmel, prefix to the USB udc compatible string. Signed-off-by: Nicolas Ferre nicolas.fe...@atmel.com Cc: sta...@vger.kernel.org #4.0+ --- Documentation/devicetree/bindings/usb/atmel-usb.txt | 6 +++--- 1 file changed, 3 insertions(+), 3

[RESEND PATCH 2/2] ARM: at91/dt: update udc compatible strings

2015-06-17 Thread Nicolas Ferre
From: Boris Brezillon boris.brezil...@free-electrons.com at91sam9g45, at91sam9x5 and sama5 SoCs should not use atmel,at91sam9rl-udc for their USB device compatible property since this compatible is attached to a specific hardware bug fix. Signed-off-by: Boris Brezillon

[PATCH v2 7/7] ARM: shmobile: armadillo800eva dts: Add pinctrl and gpio-hog for lcdc0

2015-06-17 Thread Geert Uytterhoeven
Configure pinctrl and a GPIO-controller board mux for LCD use. This allows the armadillo800eva board staging code to enable lcdc0. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- v2: - New. --- arch/arm/boot/dts/r8a7740-armadillo800eva.dts | 13 + 1 file changed, 13

Re: [PATCH 2/3] spi: mediatek: Add spi bus for Mediatek MT8173

2015-06-17 Thread Eddie Huang
Hi Mark, On Wed, 2015-06-10 at 16:06 +0800, Eddie Huang wrote: On Tue, 2015-06-09 at 11:39 +0100, Mark Brown wrote: On Tue, Jun 09, 2015 at 06:05:21PM +0800, Eddie Huang wrote: --- a/drivers/spi/spi.c +++ b/drivers/spi/spi.c @@ -539,8 +539,8 @@ static int __spi_map_msg(struct

[PATCH] watchdog: docs: omap_wdt also understands nowayout

2015-06-17 Thread poeschel
From: Lars Poeschel poesc...@lemonage.de The omap_wdt kernel driver also understands the nowayout module parameter. This updates the watchdog-parameters.txt to reflect this fact. Signed-off-by: Lars Poeschel poesc...@lemonage.de --- Documentation/watchdog/watchdog-parameters.txt | 2 ++ 1 file

[PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space

2015-06-17 Thread Ingo Molnar
* Riku Voipio riku.voi...@iki.fi wrote: Hi, The commit: commit d72da4a4d973d8a0a0d3c97e7cdebf287fbe3a99 Author: Peter Zijlstra pet...@infradead.org Date: Wed May 27 11:09:36 2015 +0930 rbtree: Make lockless searches non-fatal Adds linux/rcupdate.h to rbtree.h, which in turn

Re: [RFC v3 1/4] fs: Add generic file system event notifications

2015-06-17 Thread Beata Michalska
Hi, On 06/16/2015 06:21 PM, Al Viro wrote: On Tue, Jun 16, 2015 at 03:09:30PM +0200, Beata Michalska wrote: Introduce configurable generic interface for file system-wide event notifications, to provide file systems with a common way of reporting any potential issues as they emerge. The

Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Julien Grall
Hi Ian, On 17/06/2015 10:25, Ian Campbell wrote: On Tue, 2015-06-16 at 20:10 +0100, Julien Grall wrote: Append 0x to all %x in order to avoid while reading when there is other decimal value in the log. Also replace some of the hexadecimal print to decimal to uniformize the format with

Re: [RFC/INCOMPLETE 01/13] context_tracking: Add context_tracking_assert_state

2015-06-17 Thread Ingo Molnar
* Andy Lutomirski l...@kernel.org wrote: This will let us sprinkle sanity checks around the kernel without making too much of a mess. Signed-off-by: Andy Lutomirski l...@kernel.org --- include/linux/context_tracking.h | 8 1 file changed, 8 insertions(+) diff --git

Re: [PATCH] tools/perf, rbtree: Add RCU wrappers to make rbtree.h usable in user-space

2015-06-17 Thread Riku Voipio
On Wednesday, June 17, 2015 12:17:04 PM EEST, Ingo Molnar wrote: * Riku Voipio riku.voi...@iki.fi wrote: Hi, The commit: commit d72da4a4d973d8a0a0d3c97e7cdebf287fbe3a99 Author: Peter Zijlstra pet...@infradead.org Date: Wed May 27 11:09:36 2015 +0930 ... Does the patch below make things

Magnetic assembles for your electric motor

2015-06-17 Thread Thomas
Dear, This is Thomas from Chinese magnets company. My friend introduce me,most of your items may use the bonded magnets or injection magnets. Maybe we can help you for the magnet items,if you need,please feel free to let us know. Thanks Thomas --- Sales Engineer Mobile: 0086-15889706837

[PATCH] net: Update out-of-date comment

2015-06-17 Thread Zhaowei Yuan
Struct inet_proto no longer exists, so update the comment which is out of date. Signed-off-by: Zhaowei Yuan zhaowei.y...@samsung.com --- include/net/sock.h |1 - 1 file changed, 1 deletion(-) diff --git a/include/net/sock.h b/include/net/sock.h index 3a4898e..356fd91 100644 ---

Re: [RFC/INCOMPLETE 00/13] x86: Rewrite exit-to-userspace code

2015-06-17 Thread Richard Weinberger
On Wed, Jun 17, 2015 at 11:48 AM, Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: This is incomplete, but it's finally good enough that I think it's time to get other opinions on it. It is a complete rewrite of the slow path code that handles exits to user mode.

Re: [Resend PATCH v8 0/4] sched: Rewrite runnable load and utilization average tracking

2015-06-17 Thread Yuyang Du
Hi, The sched_debug is informative, lets first give it some analysis. The workload is 12 CPU hogging tasks (always runnable) and 1 dbench task doing fs ops (70% runnable) running at the same time. Actually, these 13 tasks are in a task group /autogroup-9617, which has weight 1024. So the 13

[PATCH v2 5/7] staging: board: Add support for devices with complex dependencies

2015-06-17 Thread Geert Uytterhoeven
Add support for easy registering of one ore more platform devices that may: - need clocks that are described in DT, - be part of a PM Domain. All these dependencies are optional. Signed-off-by: Geert Uytterhoeven geert+rene...@glider.be --- v2: - Drop support for pinctrl, use standard

[PATCH v2 4/7] staging: board: kzm9d: Translate hwirq numbers to virq numbers

2015-06-17 Thread Geert Uytterhoeven
As of commit 9a1091ef0017c40a (irqchip: gic: Support hierarchy irq domain.), GIC IRQ numbers are virtual, breaking hardcoded hardware IRQ numbers in platform device resources. Translate the hardware IRQ numbers to virtual IRQ numbers to fix this. Signed-off-by: Geert Uytterhoeven

Re: [PATCH v3 01/18] x86/tsc: Inline native_read_tsc and remove __native_read_tsc

2015-06-17 Thread Borislav Petkov
On Tue, Jun 16, 2015 at 05:35:49PM -0700, Andy Lutomirski wrote: In cdc7957d1954 (x86: move native_read_tsc() offline), native_read_tsc was moved out of line, presumably for some now-obsolete vDSO-related reason. Undo it. The entire rdtsc, shl, or sequence is only 11 bytes, and calls via

[PATCH v4] iio: light: Add support for ROHM RPR0521 sensor

2015-06-17 Thread Daniel Baluta
This patch adds support for ROHM RPR0521 ambient light and proximity sensor. It offers raw readings for intensity and proximity. Signed-off-by: Daniel Baluta daniel.bal...@intel.com --- Changes since v3: * use GENMASK instead BIT(x) | BIT(y) * remove (now) unused

Re: [PATCH RFC] storage:rbd: make the size of request is equal to the, size of the object

2015-06-17 Thread juncheng bai
On 2015/6/17 16:24, Ilya Dryomov wrote: On Wed, Jun 17, 2015 at 6:04 AM, juncheng bai baijunch...@unitedstack.com wrote: Hi. Yeah, you are right, use the default max_segments, the request size can be the object size, because the bi_phys_segments of bio could be recount, there's just a

Re: [RFC/INCOMPLETE 00/13] x86: Rewrite exit-to-userspace code

2015-06-17 Thread Ingo Molnar
* Andy Lutomirski l...@kernel.org wrote: This is incomplete, but it's finally good enough that I think it's time to get other opinions on it. It is a complete rewrite of the slow path code that handles exits to user mode. Modulo the small comments I made about the debug checks interface

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Igor Mammedov
On Wed, 17 Jun 2015 12:11:09 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 10:54:21AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 09:39:06 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 09:28:02AM +0200, Igor Mammedov wrote: On

Re: [PATCH v6 17/21] libnvdimm: infrastructure for btt devices

2015-06-17 Thread Christoph Hellwig
The block change need to be a separate patch. They should go in through Jens tree or at least get an ACK from him. -- 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

Re: [PATCH] mailmap: add rdunlap email auto-correction

2015-06-17 Thread Joe Perches
On Tue, 2015-06-16 at 16:45 -0700, Kees Cook wrote: To avoid having xenotime bounce when things like get_maintainers gives me addresses, add Randy's current address. Signed-off-by: Kees Cook keesc...@chromium.org --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap

[PATCH] ahci, msix: Fix build error for !PCI_MSI

2015-06-17 Thread Robert Richter
From fd984f3be22f27b8d3c4cf577dbbf0a39792ea89 Mon Sep 17 00:00:00 2001 From: Robert Richter rrich...@cavium.com Date: Wed, 17 Jun 2015 10:33:22 +0200 Subject: [PATCH] ahci, msix: Fix build error for !PCI_MSI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit

Re: sysctl_writes_strict documentation + an oddity?

2015-06-17 Thread Michael Kerrisk (man-pages)
Hi Kees, On 06/16/2015 06:32 PM, Kees Cook wrote: On Tue, Jun 16, 2015 at 3:03 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: On 06/04/2015 09:36 PM, Kees Cook wrote: On Sat, May 9, 2015 at 1:54 AM, Michael Kerrisk (man-pages) mtk.manpa...@gmail.com wrote: = 2) Behavior

Re: [PATCH 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-06-17 Thread Sreekanth Reddy
On Tue, Jun 16, 2015 at 9:29 PM, Tomas Henzl the...@redhat.com wrote: On 06/12/2015 11:42 AM, Sreekanth Reddy wrote: Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. This patch will make sure that 1.Driver to send

Re: [PATCH] livepatch: add sysfs interface /sys/kernel/livepatch/state

2015-06-17 Thread Li Bin
On 2015/6/17 16:13, Miroslav Benes wrote: On Wed, 17 Jun 2015, Li Bin wrote: The added sysfs interface /sys/kernel/livepatch/state is read-only, it shows the patches that have been applied, incluing the stack index and the state of each patch. $ cat /sys/kernel/livepatch/state Index

Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Ian Campbell
On Tue, 2015-06-16 at 20:10 +0100, Julien Grall wrote: Append 0x to all %x in order to avoid while reading when there is other decimal value in the log. Also replace some of the hexadecimal print to decimal to uniformize the format with netfront. Signed-off-by: Julien Grall

Re: [RFC v3 3/4] ext4: Add support for generic FS events

2015-06-17 Thread Beata Michalska
On 06/17/2015 08:15 AM, Leon Romanovsky wrote: On Tue, Jun 16, 2015 at 4:09 PM, Beata Michalska b.michal...@samsung.com wrote: Add support for generic FS events including threshold notifications, ENOSPC and remount as read-only warnings, along with generic internal warnings/errors.

Re: [PATCH] perf probe: Fix failure to probe events on arm

2015-06-17 Thread He Kuang
hi, Masami On 2015/6/17 16:52, Masami Hiramatsu wrote: On 2015/06/17 0:26, hekuang wrote: hi, Arnaldo On 06/15/2015 10:49 PM, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 15, 2015 at 08:06:53AM +, He Kuang escreveu: Fix failure to probe events on arm, problem is introduced by commit

Re: [RFC/INCOMPLETE 08/13] x86/entry/64: Migrate 64-bit syscalls to new exit hooks

2015-06-17 Thread Ingo Molnar
* Andy Lutomirski l...@kernel.org wrote: This is separate for ease of bisection. Signed-off-by: Andy Lutomirski l...@kernel.org --- arch/x86/entry/entry_64.S | 68 +-- 1 file changed, 7 insertions(+), 61 deletions(-) diff --git

Re: [PATCH 02/21] ARM: tegra: Add gpio-ranges property

2015-06-17 Thread Tomeu Vizoso
On 16 June 2015 at 22:32, Stephen Warren swar...@wwwdotorg.org wrote: On 06/16/2015 02:42 AM, Tomeu Vizoso wrote: On 2 June 2015 at 17:40, Stephen Warren swar...@wwwdotorg.org wrote: On 06/02/2015 05:28 AM, Linus Walleij wrote: On Tue, May 26, 2015 at 9:41 PM, Stephen Warren

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 10:54:21AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 09:39:06 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 09:28:02AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 08:34:26 +0200 Michael S. Tsirkin m...@redhat.com wrote:

[PATCH] media: atmel-isi: increase timeout to disable/enable isi

2015-06-17 Thread Josh Wu
If ISI is working on a 1024x768 or higher resolution, it needs longer time to disable ISI. So this patch will increase timeout to 500ms. Signed-off-by: Josh Wu josh...@atmel.com --- drivers/media/platform/soc_camera/atmel-isi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Igor Mammedov
On Wed, 17 Jun 2015 09:39:06 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 09:28:02AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 08:34:26 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 12:00:56AM +0200, Igor Mammedov wrote: On

Re: [alsa-devel][PATCH v2] ASoC: wm8960: add dapm kcontrols to select left/right ADC input source

2015-06-17 Thread Zidan Wang
On Tue, Jun 16, 2015 at 01:18:39PM +0100, Charles Keepax wrote: On Tue, Jun 16, 2015 at 02:23:19PM +0800, Zidan Wang wrote: Add dapm kcontrols to select left/right ADC input source, one to select the left ADC input source and one for the right ADC input source. In default, the left ADC

Re: [PATCH] ahci, msix: Fix build error for !PCI_MSI

2015-06-17 Thread Jiang Liu
On 2015/6/17 16:48, Robert Richter wrote: From fd984f3be22f27b8d3c4cf577dbbf0a39792ea89 Mon Sep 17 00:00:00 2001 From: Robert Richter rrich...@cavium.com Date: Wed, 17 Jun 2015 10:33:22 +0200 Subject: [PATCH] ahci, msix: Fix build error for !PCI_MSI MIME-Version: 1.0 Content-Type:

Re: [RFC v3 4/4] shmem: Add support for generic FS events

2015-06-17 Thread Beata Michalska
On 06/17/2015 08:08 AM, Leon Romanovsky wrote: } - if (error == -ENOSPC !once++) { + if (error == -ENOSPC) { + if (!once++) { info = SHMEM_I(inode); spin_lock(info-lock); shmem_recalc_inode(inode);

[PATCH v2] spi: img-spfi: Same Edge bit set to double supported transfer speed

2015-06-17 Thread Sifan Naeem
Same edge bit set in SPFI Control register to double the supported spfi clock speed. Setting this bit increases the supported spfi frequency from 1/8 to 1/4 of the core clock frequency. Without this bit set the maximum speed supported was 25MHz on Pistachio. Change-Id:

Re: [PATCH v3 04/18] x86/tsc: Replace rdtscll with native_read_tsc

2015-06-17 Thread Borislav Petkov
On Tue, Jun 16, 2015 at 05:35:52PM -0700, Andy Lutomirski wrote: Now that the read_tsc paravirt hook is gone, rdtscll() is just a wrapper around native_read_tsc(). Unwrap it. Signed-off-by: Andy Lutomirski l...@kernel.org --- arch/x86/boot/compressed/aslr.c | 2 +-

Re: [RFC/INCOMPLETE 08/13] x86/entry/64: Migrate 64-bit syscalls to new exit hooks

2015-06-17 Thread Ingo Molnar
* Ingo Molnar mi...@kernel.org wrote: * Andy Lutomirski l...@kernel.org wrote: This is separate for ease of bisection. Signed-off-by: Andy Lutomirski l...@kernel.org --- arch/x86/entry/entry_64.S | 68 +-- 1 file changed, 7

Re: [PATCH v1 1/2] iio: adc: Determine sampling frequencies by using minimum sample time

2015-06-17 Thread maitysanchayan
Hello, On 15-06-14 12:16:07, Jonathan Cameron wrote: On 08/06/15 18:51, Rob Herring wrote: On Mon, Jun 8, 2015 at 12:42 AM, Sanchayan Maity maitysancha...@gmail.com wrote: The driver currently does not take into account the minimum sample time as per the Figure 6-8 Chapter 9.1.1 12-bit

[PATCH 2/2] media: atmel-isi: move configure_geometry() to start_streaming()

2015-06-17 Thread Josh Wu
As in set_fmt() function we only need to know which format is been set, we don't need to access the ISI hardware in this moment. So move the configure_geometry(), which access the ISI hardware, to start_streaming() will make code more consistent and simpler. Signed-off-by: Josh Wu

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Michael S. Tsirkin
On Wed, Jun 17, 2015 at 12:37:42PM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 12:11:09 +0200 Michael S. Tsirkin m...@redhat.com wrote: On Wed, Jun 17, 2015 at 10:54:21AM +0200, Igor Mammedov wrote: On Wed, 17 Jun 2015 09:39:06 +0200 Michael S. Tsirkin m...@redhat.com wrote:

[PATCH v3] spi: img-spfi: Same Edge bit set to double supported transfer speed

2015-06-17 Thread Sifan Naeem
Same edge bit set in SPFI Control register to double the supported spfi clock speed. Setting this bit increases the supported spfi frequency from 1/8 to 1/4 of the core clock frequency. Without this bit set the maximum speed supported was 25MHz on Pistachio. Signed-off-by: Sifan Naeem

Re: kexec_load(2) bypasses signature verification

2015-06-17 Thread One Thousand Gnomes
[1] Yes, it doesn't buy all that much, since if the system is rooted the adversary can just replace the kernel in /boot and force a normal, slower reboot, but the same could be said for signed modules --- the adversary could just replace all of /boot/vmlinux-kver and /lib/modules/kver. But

Re: [PATCH] perf tools: Fix a problem when opening old perf.data with different byte order

2015-06-17 Thread Jiri Olsa
On Wed, Jun 17, 2015 at 03:40:42AM +, Wang Nan wrote: Following error occurs when trying to use 'perf report' on x86_64 to cross analysis a perf.data generated by an old perf on a big-endian machine: SNIP - attr-branch_sample_type = bswap_64(attr-branch_sample_type); -

Re: [PATCH] driver/i2c/mux: Add register based mux i2c-mux-reg

2015-06-17 Thread Paul Bolle
A nit and a question follow. On Tue, 2015-06-16 at 10:28 -0700, York Sun wrote: --- /dev/null +++ b/drivers/i2c/muxes/i2c-mux-reg.c + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by

Re: [PATCH v4 3/3] net/xen-netback: Don't mix hexa and decimal with 0x in the printf format

2015-06-17 Thread Ian Campbell
On Tue, 2015-06-16 at 16:55 -0700, Joe Perches wrote: 0x%x is easier and simpler to visualize than %#x. They also don't produce the same output if the value is 0 (0x%x=0x0, % #x=0), which can matter if you are trying to line up a column or whatever. Ian. -- To unsubscribe from this list: send

Re: [PATCH 3/5] vhost: support upto 509 memory regions

2015-06-17 Thread Paolo Bonzini
On 17/06/2015 08:34, Michael S. Tsirkin wrote: Also - 509? userspace memory slots in terms of KVM, I made it match KVM's allotment of memory slots for userspace side. Maybe KVM has its reasons for this #. Nice power of two (512) - number of reserved slots required by Intel's

[PATCH] watchdog: omap_wdt: implement get_timeleft

2015-06-17 Thread poeschel
From: Lars Poeschel poesc...@lemonage.de The omap watchdog hardware is able to read the watchdog timer counter register. This implements this functionality in the omap_wdt driver, so one is can read the time until the watchdog will trigger the reset in seconds using WDIOC_GETTIMELEFT.

[PATCH v1 02/20] [SCSI] mpt3sas: Get IOC_FACTS information using handshake protocol only after HBA card gets into READY or Operational state.

2015-06-17 Thread Sreekanth Reddy
Driver initialization fails if driver tries to send IOC facts request message when the IOC is in reset or in a fault state. This patch will make sure that 1.Driver to send IOC facts request message only if HBA is in operational or ready state. 2.If IOC is in fault state, a diagnostic reset

Re: [PATCH v4] ARM: early fixmap support for earlycon

2015-06-17 Thread Ard Biesheuvel
On 17 June 2015 at 01:22, Stephen Boyd sb...@codeaurora.org wrote: On 06/16/2015 02:51 PM, Stefan Agner wrote: Add early fixmap support, initially to support permanent, fixed mapping support for early console. A temporary, early pte is created which is migrated to a permanent mapping in

Re: MCE Bug?

2015-06-17 Thread Borislav Petkov
Hi Rui, On Wed, Jun 17, 2015 at 02:04:56AM +, Wang, Rui Y wrote: Is it a known problem? I'm based on Linux 4.1.0-rc3-7. Yeah, I triggered a similar thing in conjunction with testing Gong's stuff: https://lkml.kernel.org/r/20150611082747.ga30...@pd.tnic And I was waiting in line to get a

Re: [PATCH v3 02/18] x86/msr/kvm: Remove vget_cycles()

2015-06-17 Thread Borislav Petkov
On Tue, Jun 16, 2015 at 05:35:50PM -0700, Andy Lutomirski wrote: The only caller was kvm's read_tsc. The only difference between vget_cycles and native_read_tsc was that vget_cycles returned zero instead of crashing on TSC-less systems. KVM's already checks vclock_mode before calling that

Re: [PATCH v6 05/14] crypto: marvell/CESA: add TDMA support

2015-06-17 Thread Herbert Xu
On Wed, Jun 17, 2015 at 09:45:33AM +0200, Boris Brezillon wrote: + ret = dma_map_sg(cesa_dev-dev, req-src, creq-src_nents, + DMA_TO_DEVICE); + if (!ret) + return -ENOMEM; + + creq-src_nents = ret; DMA-API-HOWTO says that you must retain the

Re: [PATCH v2] USB SERIAL: option.c: add 2020:4000 IDs

2015-06-17 Thread Johan Hovold
On Fri, Jun 12, 2015 at 09:32:31AM +0200, Claudio Cappelli wrote: On Wednesday 10 June 2015 20:38:30 Claudio Cappelli wrote: From: Claudio Cappelli claudio.cappelli.li...@gmail.com Add device Olivetti Olicard 300 (Network Connect: MT6225) - IDs 2020:4000. Signed-off-by: Claudio

Re: [PATCH v3 03/18] x86/tsc/paravirt: Remove the read_tsc and read_tscp paravirt hooks

2015-06-17 Thread Borislav Petkov
+ paravirt list. On Tue, Jun 16, 2015 at 05:35:51PM -0700, Andy Lutomirski wrote: We've had read_tsc and read_tscp paravirt hooks since the very beginning of paravirt, i.e., d3561b7fa0fb ([PATCH] paravirt: header and stubs for paravirtualisation). AFAICT the only paravirt guest

[PATCH v2] perf tools: Fix a problem when opening old perf.data with different byte order

2015-06-17 Thread Wang Nan
Following error occurs when trying to use 'perf report' on x86_64 to cross analysis a perf.data generated by an old perf on a big-endian machine: # perf report *** Error in `/home/w00229757/perf': free(): invalid next size (fast): 0x032c99f0 *** === Backtrace: =

Re: [RFC/INCOMPLETE 00/13] x86: Rewrite exit-to-userspace code

2015-06-17 Thread Ingo Molnar
* Andy Lutomirski l...@kernel.org wrote: The main things that are missing are that I haven't done the 32-bit parts (anyone want to help?) and therefore I haven't deleted the old C code. I also think this may break UML for trivial reasons. So I'd suggest moving most of the SYSRET fast

Panic when cpu hot-remove

2015-06-17 Thread 范冬冬
Hi maintainer, We found a problem that a panic happen when cpu was hot-removed. We also trace the problem according to the calltrace information. An endless loop happen because value head is not equal to value tail forever in the function qi_check_fault( ). The location code is as follows: do

Re: [PATCH v2 2/3] watchdog: bcm2835: Add poweroff code for the Raspberry Pi

2015-06-17 Thread Noralf Trønnes
Den 17.06.2015 03:28, skrev Stephen Warren: On 06/16/2015 03:39 AM, Noralf Trønnes wrote: Den 16.06.2015 05:07, skrev Stephen Warren: On 06/13/2015 05:39 AM, Noralf Trønnes wrote: This adds a new poweroff function to the watchdog driver for the Raspberry Pi. Currently poweroff/halt results

Re: [PATCH] isdn: disable HiSax NetJet driver on microblaze arch

2015-06-17 Thread Nicolai Stange
Acked-by: Jean Delvare jdelv...@suse.de Jean, thank you very much for your prompt reaction! -- 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

<    3   4   5   6   7   8   9   10   11   12   >