Re: live kernel upgrades (was: live kernel patching design)

2015-02-23 Thread Vojtech Pavlik
On Mon, Feb 23, 2015 at 11:42:17AM +0100, Richard Weinberger wrote: Of course, if you are random Joe User, you can do whatever you want, i.e. also compile your own home-brew patches and apply them randomly and brick your system that way. But that's in no way different to what you as Joe

Re: [patch 2/2] mm: memcontrol: default hierarchy interface for memory

2015-02-23 Thread Sasha Levin
Hi Johannes, On 01/20/2015 10:31 AM, Johannes Weiner wrote: Introduce the basic control files to account, partition, and limit memory using cgroups in default hierarchy mode. I'm seeing the following while fuzzing: [ 5634.427361] GPF could be caused by NULL-ptr deref or user memory access

Re: Build regressions/improvements in v4.0-rc1

2015-02-23 Thread Arnd Bergmann
On Monday 23 February 2015 11:28:12 Geert Uytterhoeven wrote: On Mon, Feb 23, 2015 at 11:24 AM, Arnd Bergmann a...@arndb.de wrote: On Monday 23 February 2015 10:14:55 Geert Uytterhoeven wrote: On Mon, Feb 23, 2015 at 10:03 AM, Arnd Bergmann a...@arndb.de wrote: +

Re: [PATCH] dma: mmp-tdma: refine dma disable and dma-pos update

2015-02-23 Thread Vinod Koul
On Thu, Feb 05, 2015 at 08:54:19PM +0800, Qiao Zhou wrote: Below are the refinements. 1. Set DMA abort bit when disabling dma channel. This will clear the remaining data in dma FIFO, to fix channel-swap issue. 2. Read DMA HW pointer when updating DMA status. Previously dma position is

[PATCH v5 0/5] Add new MFD drvier for MAX77843

2015-02-23 Thread Jaewon Kim
This patch series adds MAX77843(Multi Function Device) driver. The MAX77843 includes MUIC(Micro USB Interface Controller), Li+ Charger with Fuel Gauge, 2 safeout LDOs for USB device and haptic controller using PWM. It is interfaced to host controller using I2C. Changes in v5: MFD Core - Use

[PATCH v5 3/5] power: max77843_battery: Add Max77843 fuel gauge device driver

2015-02-23 Thread Jaewon Kim
From: Beomho Seo beomho@samsung.com This patch adds device driver of max77843 fuel gauge. The driver support for battery fuel gauge in Maxim Max77843. It is fuel-gauge systems for lithuum-ion batteries in handled and portable devices. Cc: Sebastian Reichel s...@kernel.org Signed-off-by:

[PATCH v5 5/5] Documentation: Add device tree bindings document for max77843

2015-02-23 Thread Jaewon Kim
Add document describing device tree bindings for max77843 MFD. Drivers: MFD core, regulator, extcon, charger and fuelgauge. Cc: Rob Herring robh...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell ijc+devicet...@hellion.org.uk Cc: Kumar Gala

[PATCH v5 1/5] mfd: max77843: Add max77843 MFD driver core driver

2015-02-23 Thread Jaewon Kim
This patch adds MAX77843 core/irq driver to support PMIC, MUIC(Micro USB Interface Controller), Charger, Fuel Gauge, LED and Haptic device. Cc: Lee Jones lee.jo...@linaro.org Signed-off-by: Jaewon Kim jaewon02@samsung.com Signed-off-by: Beomho Seo beomho@samsung.com ---

Re: [PATCH 11/27] microblaze: mb: Remove use of seq_printf return value

2015-02-23 Thread Michal Simek
Hi Joe, On 02/22/2015 03:53 AM, Joe Perches wrote: The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c03da (seq_file: Rename seq_overflow() to seq_has_overflowed() and make public) Signed-off-by: Joe Perches

Re: stand-alone kvmtool

2015-02-23 Thread Andre Przywara
Hi Sasha, thanks for taking a look! On 19/02/15 10:56, Sasha Levin wrote: On 02/13/2015 05:39 AM, Andre Przywara wrote: Hi, as I found it increasingly inconvenient to use kvmtool[1] as part of a Linux repository, I decided to give it a go and make it a stand-alone project. So I filtered

Re: [STLinux Kernel] [PATCH v3 5/8] watchdog: st_wdt: Add new driver for ST's LPC Watchdog

2015-02-23 Thread Peter Griffin
Hi Lee, snip +#ifdef CONFIG_PM_SLEEP +static int st_wdog_suspend(struct device *dev) +{ + struct st_wdog *st_wdog = watchdog_get_drvdata(st_wdog_dev); + + if (watchdog_active(st_wdog_dev)) + st_wdog_stop(st_wdog_dev); + + st_wdog_setup(st_wdog, false); I was

Re: [PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-23 Thread Emil Velikov
On 16/02/15 23:05, Mikko Rapeli wrote: Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Hi Mikko, Can you let us know how you're getting these (series-wise) errors ? I've been meaning to sync the uapi/drm and libdrm headers and would be nice to have an

Re: [PATCH 4/4] cleancache: remove limit on the number of cleancache enabled filesystems

2015-02-23 Thread Vladimir Davydov
Rechecking this patch, I find it rather difficult to review, because it not only rids of fake_pool_id, but also rearranges code of cleancache methods. Here is an updated patch, which attempts to be less intrusive: --- From: Vladimir Davydov vdavy...@parallels.com Subject: [PATCH v2] cleancache:

Re: [STLinux Kernel] [PATCH v2 3/4] clk: Provide an always-on clock domain framework

2015-02-23 Thread Peter Griffin
Hi Lee, On Wed, 18 Feb 2015, Lee Jones wrote: +/* + * ST Clock Domain minor nit, as v2 is a generic driver, comment needs updating. regards, Peter. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo

Re: [PATCH 7/7] thinkpad_acpi: use DEVICE_ATTR_* macros

2015-02-23 Thread Henrique de Moraes Holschuh
On Fri, Feb 20, 2015, at 11:44, Bastien Nocera wrote: Use the DEVICE_ATTR_RW macro to reduce boiler plate So far, so good, but you also used the DEVICE_ATTR_RO macro... and move the attribute declaration to get rid of function signatures. I didn't see any move the attribute declaration done

Re: Build regressions/improvements in v4.0-rc1

2015-02-23 Thread Arnd Bergmann
On Monday 23 February 2015 10:14:55 Geert Uytterhoeven wrote: On Mon, Feb 23, 2015 at 10:03 AM, Arnd Bergmann a...@arndb.de wrote: + /home/kisskb/slave/src/fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: = 266:2 DAX

[PATCH] eCryptfs: ensure copy to crypt_stat-cipher does not overrun

2015-02-23 Thread Colin King
From: Colin Ian King colin.k...@canonical.com The patch 237fead61998: [PATCH] ecryptfs: fs/Makefile and fs/Kconfig from Oct 4, 2006, leads to the following static checker warning: fs/ecryptfs/crypto.c:846 ecryptfs_new_file_context() error: off-by-one overflow 'crypt_stat-cipher' size 32. rl

[PATCH v5 2/5] power: max77843_charger: Add Max77843 charger device driver

2015-02-23 Thread Jaewon Kim
From: Beomho Seo beomho@samsung.com This patch adds device driver of max77843 charger. This driver provide initialize each charging mode(e.g. fast charge, top-off mode and constant charging mode so on.). Additionally, control charging parameters to use i2c interface. Cc: Sebastian Reichel

[PATCH] decnet: Fix obvious o/0 typo

2015-02-23 Thread Rasmus Villemoes
Signed-off-by: Rasmus Villemoes li...@rasmusvillemoes.dk --- net/decnet/dn_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/decnet/dn_route.c b/net/decnet/dn_route.c index 1d7c1256e845..3b81092771f8 100644 --- a/net/decnet/dn_route.c +++ b/net/decnet/dn_route.c @@

Re: [PATCH 2/2] dma: jz4780: add driver for the Ingenic JZ4780 DMA controller

2015-02-23 Thread Vinod Koul
On Thu, Jan 29, 2015 at 12:19:39PM +, Zubair Lutfullah Kakakhel wrote: From: Alex Smith alex.sm...@imgtec.com This patch adds a driver for the DMA controller found in the Ingenic JZ4780. It currently does not implement any support for the programmable firmware feature of the

Re: live kernel upgrades (was: live kernel patching design)

2015-02-23 Thread Pavel Machek
More importantly, both kGraft and kpatch are pretty limited in what kinds of updates they allow, and neither kGraft nor kpatch has any clear path towards applying more complex fixes to kernel images that I can see: kGraft can only apply the simplest of fixes where both versions of a

Re: [PATCH 5/6] input: Add keycodes used by Lenovo Carbon X1 2014

2015-02-23 Thread Bastien Nocera
On Mon, 2015-02-23 at 07:49 -0300, Henrique de Moraes Holschuh wrote: On Mon, Feb 23, 2015, at 07:15, Bastien Nocera wrote: On Wed, 2015-02-18 at 21:34 -0200, Henrique de Moraes Holschuh wrote: On Wed, 18 Feb 2015, Bastien Nocera wrote: Signed-off-by: Bastien Nocera had...@hadess.net

Re: [PATCH 06/12] ARM: DT: apq8064: add pci support in CM QS600

2015-02-23 Thread Srinivas Kandagatla
Hi Kumar, Sorry, I should have dropped this patch.. PCIE is still not in the mainline.. :-) Will fix it in next version. --srini On 23/02/15 11:31, Igor Grinberg wrote: Hi Srini, On 02/23/15 09:55, Srinivas Kandagatla wrote: From: Nicolas Dechesne nicolas.deche...@linaro.org This patch

Re: [PATCH 5/6] input: Add keycodes used by Lenovo Carbon X1 2014

2015-02-23 Thread Bastien Nocera
On Wed, 2015-02-18 at 21:34 -0200, Henrique de Moraes Holschuh wrote: On Wed, 18 Feb 2015, Bastien Nocera wrote: Signed-off-by: Bastien Nocera had...@hadess.net This one requires an ACK from the input maintainers, or no go... Any comments about the other patches? -- To unsubscribe from

Re: [PATCH 05/45] drm.h: include stdlib.h in userspace

2015-02-23 Thread Mikko Rapeli
On Mon, Feb 23, 2015 at 10:26:58AM +, Emil Velikov wrote: On 16/02/15 23:05, Mikko Rapeli wrote: Fixes drm/drm.h compilation error: drm/drm.h:132:2: error: unknown type name ‘size_t’ Hi Mikko, Can you let us know how you're getting these (series-wise) errors ? I've been meaning

[PATCH v8 1/3] of: Decrement refcount of previous endpoint in of_graph_get_next_endpoint

2015-02-23 Thread Philipp Zabel
Decrementing the reference count of the previous endpoint node allows to use the of_graph_get_next_endpoint function in a for_each_... style macro. All current users of this function that pass a non-NULL prev parameter (that is, soc_camera and imx-drm) are changed to not decrement the passed prev

[PATCH v8 3/3] of: Add of_graph_get_port_by_id function

2015-02-23 Thread Philipp Zabel
This patch adds a function to get a port device tree node by port id, or reg property value. Signed-off-by: Philipp Zabel p.za...@pengutronix.de Acked-by: Laurent Pinchart laurent.pinch...@ideasonboard.com --- drivers/of/base.c| 32

[PATCH v2] cxl: Add explicit precision specifiers

2015-02-23 Thread Rasmus Villemoes
C99 says that a precision given as simply '.' with no following digits or * should be interpreted as 0. The kernel's printf implementation, however, treats this case as if the precision was omitted. C99 also says that if both the precision and value are 0, no digits should be printed. Even if the

[PATCH v8 0/3] Add of-graph helpers to loop over endpoints and find ports by id

2015-02-23 Thread Philipp Zabel
Hi, Since there now is a merge conflict in imx-drm-core, I've rebased the series onto v4.0-rc1. Also a new driver touched by this change appeared, so the first patch now includes a fix for am437x-vfpe, too. I'd be happy to get an ack for that. This series converts all existing users of

[PATCH] staging/sm7xxfb: Make 'struct vgamode' static

2015-02-23 Thread Peter Senna Tschudin
sparse was complaining that symbol 'vgamode' was not declared. Declaring vgamode as static. Signed-off-by: Peter Senna Tschudin peter.se...@gmail.com --- Tested by compilation only drivers/staging/sm7xxfb/sm7xx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH] PCI: xgene: Fix the map_bus callback prototype

2015-02-23 Thread Arnd Bergmann
On Monday 23 February 2015 17:21:39 Phong Tran wrote: The return value should be void __iomem *. Tested by compile only. Signed-off-by: Phong Tran tranmanph...@gmail.com Acked-by: Arnd Bergmann a...@arndb.de Thanks for the fix, I had noticed this in the build bot logs but not yet reported

Re: [PATCH] dma: mmp-pdma: fix irq handler overwrite physical chan issue

2015-02-23 Thread Vinod Koul
On Wed, Feb 04, 2015 at 02:16:03PM +0800, Qiao Zhou wrote: Some dma channels may be reserved for other purpose in other layer, like secure driver in EL2/EL3. PDMA driver can see the interrupt status, but it should not try to handle related interrupt, since it doesn't belong to PDMA driver in

[PATCH v5 4/5] Input: add haptic drvier on max77843

2015-02-23 Thread Jaewon Kim
This patch adds support for haptic driver on max77843 MFD(Multi Function Device) with PMIC, MUIC, LED, CHARGER. This driver supports external pwm and LRA(Linear Resonant Actuator) motor. And it supports ff-memless interface from inpu framework. Cc: Dmitry Torokhov dmitry.torok...@gmail.com

[PATCH v2 1/2] remoteproc: microblaze: Document device tree bindings

2015-02-23 Thread Michal Simek
Add device tree binding documentation for the Microblaze remoteproc on Xilinx Zynq. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Applied changed reported by Mark Rutland here https://lkml.org/lkml/2015/1/19/198 .../bindings/remoteproc/mb_remoteproc.txt |

Re: [PATCH] spi: xilinx: Use standard num-cs binding

2015-02-23 Thread Michal Simek
Hi Mark, On 02/14/2015 06:35 AM, Mark Brown wrote: On Wed, Feb 11, 2015 at 12:07:20PM +0100, Michal Simek wrote: 2015-01-16 13:55 GMT+01:00 Michal Simek michal.si...@xilinx.com: Use standard num-cs binding property and setup xlnx,num-ss-bits as deprecated. Any update on this one?

[PATCH] PCI: xgene: Fix the map_bus callback prototype

2015-02-23 Thread Phong Tran
The return value should be void __iomem *. Tested by compile only. Signed-off-by: Phong Tran tranmanph...@gmail.com --- drivers/pci/host/pci-xgene.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/host/pci-xgene.c b/drivers/pci/host/pci-xgene.c index

[PATCH 2/3] ocfs2: remove extra mlog_errno() call in __ocfs2_add_entry()

2015-02-23 Thread Daeseok Youn
Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |8 ++-- 1 files changed, 2 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index 1478a50..c1ab24f 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@ -1689,10 +1689,8 @@ int

[PATCH 1/3] ocfs2: remove unneeded variable 'status'

2015-02-23 Thread Daeseok Youn
Use 'retval' instead of 'status'. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/fs/ocfs2/dir.c b/fs/ocfs2/dir.c index b08050b..1478a50 100644 --- a/fs/ocfs2/dir.c +++ b/fs/ocfs2/dir.c @@

Re: live kernel upgrades (was: live kernel patching design)

2015-02-23 Thread Richard Weinberger
On Mon, Feb 23, 2015 at 9:17 AM, Jiri Kosina jkos...@suse.cz wrote: On Sun, 22 Feb 2015, Arjan van de Ven wrote: Of course, if you are random Joe User, you can do whatever you want, i.e. also compile your own home-brew patches and apply them randomly and brick your system that way. But that's

[PATCH 3/3] ocfs2: need to handle error for ocfs2_journal_access_di() call

2015-02-23 Thread Daeseok Youn
There is no error handle when ocfs2_journal_access_di() is failed. And also it doesn't need to call ocfs2_dx_dir_insert() when ocfs2_journal_access_db() is failed. Signed-off-by: Daeseok Youn daeseok.y...@gmail.com --- fs/ocfs2/dir.c |8 1 files changed, 4 insertions(+), 4

Re: [PATCH 5/6] input: Add keycodes used by Lenovo Carbon X1 2014

2015-02-23 Thread Henrique de Moraes Holschuh
On Mon, Feb 23, 2015, at 07:15, Bastien Nocera wrote: On Wed, 2015-02-18 at 21:34 -0200, Henrique de Moraes Holschuh wrote: On Wed, 18 Feb 2015, Bastien Nocera wrote: Signed-off-by: Bastien Nocera had...@hadess.net This one requires an ACK from the input maintainers, or no go... Any

fs: dax: do not build on ARC or SH

2015-02-23 Thread Arnd Bergmann
The DAX implementation relies on the architecture to provide a working copy_user_page() function, as reported by Michael Ellerman's kisskb build bot: fs/dax.c: error: implicit declaration of function 'copy_user_page' [-Werror=implicit-function-declaration]: = 266:2 We already have a list of

[PATCH v2 2/2] remoteproc: microblaze: Add support for microblaze on Zynq

2015-02-23 Thread Michal Simek
Xilinx Microblaze is placed in programmable logic on Xilinx Zynq architecture. Driver requires specific HW setting described in DT binding. Signed-off-by: Michal Simek michal.si...@xilinx.com --- Changes in v2: - Rebase on 4.0-rc1 - remove DEBUG_SG dependency - Reported-by: Nathan Lynch

Re: [PATCH 06/27] power: wakeup: Remove use of seq_printf return value

2015-02-23 Thread Pavel Machek
On Sun 2015-02-22 13:52:58, Joe Perches wrote: On Sun, 2015-02-22 at 22:38 +0100, Pavel Machek wrote: On Sat 2015-02-21 18:53:33, Joe Perches wrote: The seq_printf return value, because it's frequently misused, will eventually be converted to void. See: commit 1f33c41c03da

[PATCH v4 02/20] power_supply: Move run-time configuration to separate structure

2015-02-23 Thread Krzysztof Kozlowski
Add new structure 'power_supply_config' for holding run-time initialization data like of_node, supplies and private driver data. The power_supply_register() function is changed so all power supply drivers need updating. When registering the power supply this new 'power_supply_config' should be

Re: [PATCH 06/12] ARM: DT: apq8064: add pci support in CM QS600

2015-02-23 Thread Igor Grinberg
Hi Srini, On 02/23/15 09:55, Srinivas Kandagatla wrote: From: Nicolas Dechesne nicolas.deche...@linaro.org This patch adds PCIE support to APQ8064, tested with Ethernet on Compulab QS600 board. Signed-off-by: Nicolas Dechesne nicolas.deche...@linaro.org Thanks for submitting these! I

Re: stand-alone kvmtool

2015-02-23 Thread Russell King - ARM Linux
On Thu, Feb 19, 2015 at 05:56:45AM -0500, Sasha Levin wrote: What inconvenience is caused by having it sit inside the kernel tree beyond an increased requirement in disk space? I've come across this problem with the perf tools - luckily, the perf tools allow the source to be exported from the

Re: [PATCH v3 3/3] lib/string_helpers.c: Change semantics of string_escape_mem

2015-02-23 Thread Andy Shevchenko
On Sat, 2015-02-21 at 02:35 +0100, Rasmus Villemoes wrote: On Tue, Feb 10 2015, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: @@ -301,29 +301,26 @@ static __init void test_string_escape(const char *name, q_test += len; } - q_real =

Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

2015-02-23 Thread Rik van Riel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/23/2015 12:22 AM, Andy Lutomirski wrote: On Sun, Feb 22, 2015 at 5:45 PM, Rik van Riel r...@redhat.com wrote: One implication of this is that in kernel mode, we can no longer just assume that the user space FPU state is always loaded, and

[RFC 1/6] mm, thp: stop preallocating hugepages in khugepaged

2015-02-23 Thread Vlastimil Babka
Khugepaged tries to preallocate a hugepage before scanning for THP collapse candidates. If the preallocation fails, scanning is not attempted. This makes sense, but it is only restricted to !NUMA configurations, where it does not need to predict on which node to preallocate. Besides the !NUMA

[RFC 2/6] mm, thp: make khugepaged check for THP allocability before scanning

2015-02-23 Thread Vlastimil Babka
Khugepaged could be scanning for collapse candidates uselessly, if it cannot allocate a hugepage in the end. The hugepage preallocation mechanism prevented this, but only for !NUMA configurations. It was removed by the previous patch, and this patch replaces it with a more generic mechanism. The

[RFC 0/6] the big khugepaged redesign

2015-02-23 Thread Vlastimil Babka
Recently, there was concern expressed (e.g. [1]) whether the quite aggressive THP allocation attempts on page faults are a good performance trade-off. - THP allocations add to page fault latency, as high-order allocations are notoriously expensive. Page allocation slowpath now does extra checks

[RFC 5/6] mm, thp: wakeup khugepaged when THP allocation fails

2015-02-23 Thread Vlastimil Babka
The previous patch has taken away the THP collapse scanning from khugepaged, leaving it only to maintain the thp_avail_nodes nodemask through heavyweight attempts to make a hugepage available on nodes where it could not be allocated from the process context, both through page fault or the collapse

Re: [PATCH] efi: fix boundary checking in efi_high_alloc()

2015-02-23 Thread Matt Fleming
On Thu, 19 Feb, at 08:18:03PM, Yinghai Lu wrote: While adding support loading kernel and initrd above 4G to grub2 in legacy mode, I was referring to efi_high_alloc(). That will allocate buffer for kernel and then initrd, and initrd will use kernel buffer start as limit. During testing found

Re: [PATCH] drm: msm: Fix build when legacy fbdev support isn't set

2015-02-23 Thread Rob Clark
On Mon, Feb 23, 2015 at 5:29 AM, Archit Taneja arch...@codeaurora.org wrote: The DRM_KMS_FB_HELPER config is selected only when DRM_MSM_FBDEV config is selected. The driver accesses drm_fb_helper_* functions even when legacy fbdev support is disabled in msm. Wrap around these functions with

Re: [PATCH 2/4] spi: imx: checkpatch cleanup

2015-02-23 Thread Mark Brown
On Mon, Feb 23, 2015 at 09:45:50AM +0100, aurélien bouin wrote: I supposed that it was enough clear ... Just use scripts/checkpatch.pl and you will figure out by yourself what does the patch ... Don't top post and sorry but this is just not good enough, running checkpatch myself and figuring

Re: [PATCH 1/2] x86: mce: kdump: use under_crashdumping to turn off MCE in all CPUs together

2015-02-23 Thread Borislav Petkov
On Mon, Feb 23, 2015 at 10:01:50PM +0900, Naoya Horiguchi wrote: userspace. What end users see is like these timeout messages: - Timeout: Not all CPUs entered broadcast exception handler, - Timeout: Subject CPUs unable to finish machine check processing, - Timeout: Monarch CPU unable to

Re: stand-alone kvmtool

2015-02-23 Thread Christoffer Dall
Hi, On Thu, Feb 19, 2015 at 05:56:45AM -0500, Sasha Levin wrote: [...] What inconvenience is caused by having it sit inside the kernel tree beyond an increased requirement in disk space? FWIW: I would prefer seeing this outside the kernel tree; I think it is slightly confusing to keep it

[PATCH v3 1/3] Ethernet packet sniffer: device tree binding and vendor prefix

2015-02-23 Thread Stathis Voukelatos
Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk --- .../bindings/net/linn-ether-packet-sniffer.txt | 39 ++ .../devicetree/bindings/vendor-prefixes.txt| 1 + 2 files changed, 40 insertions(+) create mode 100644

Re: [PATCH] HID: microsoft: Add ID for NE7K wireless keyboard

2015-02-23 Thread Jiri Kosina
On Sat, 21 Feb 2015, Jakub Sitnicki wrote: Microsoft Natural Wireless Ergonomic Keyboard 7000 has special My Favorites 1..5 keys which are handled through a vendor-defined usage page (0xff05). Apply MS_ERGONOMY quirks handling to USB PID 0x071d (Microsoft Microsoft 2.4GHz Transceiver V1.0)

Re: [PATCH v2 1/1] clkdev: change prototype of clk_register_clkdev()

2015-02-23 Thread Lee Jones
On Mon, 23 Feb 2015, Andy Shevchenko wrote: Since clk_register_clkdev() is exported for modules the caller should get a pointer to the allocated resources. Otherwise the memory leak is guaranteed on the -remove() stage. Cc: Tomeu Vizoso tomeu.viz...@collabora.com Reviewed-by: Mika

[PATCH v4 03/20] power_supply: Add API for safe access of power supply function attrs

2015-02-23 Thread Krzysztof Kozlowski
Add simple wrappers for accessing power supply's function attributes: - get_property - power_supply_get_property - set_property - power_supply_set_property - property_is_writeable - power_supply_property_is_writeable - external_power_changed - power_supply_external_power_changed This API

[PATCH v4 09/20] power_supply: bq2415x_charger: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v4 08/20] power_supply: apm_power: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v4 05/20] power_supply: 88pm860x_charger: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property - set_property - power_supply_set_property Signed-off-by: Krzysztof

[PATCH v4 06/20] power_supply: ab8500: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH v4 07/20] mfd: ab8500: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by:

[PATCH 1/3] e820: Don't let unknown DIMM type come out BUSY

2015-02-23 Thread Boaz Harrosh
There is something not very nice (Gentlemen nice) In current e820.c code. At Multiple places for example like (@ memblock_x86_fill()) it will add the different memory resources *except the E820_RESERVED type* Then at e820_reserve_resources() it will mark all !E820_RESERVED as busy. This is all

[PATCH 2/3] resource: Add new flag IORESOURCE_WARN (64bit)

2015-02-23 Thread Boaz Harrosh
Resource providers set this flag if they want that request_region_XXX will print a warning in dmesg if this particular resource is locked by a driver. Thous acting as a Protocol Police about experimental devices that did not pass a comity approval. The warn print looks like this: [Feb22

Re: live patching design (was: Re: [PATCH 1/3] sched: add sched_task_call())

2015-02-23 Thread Jiri Kosina
On Sat, 21 Feb 2015, Ingo Molnar wrote: (It does have some other requirements, such as making all syscalls interruptible to a 'special' signalling method that only live patching triggers - even syscalls that are under the normal ABI uninterruptible, such as sys_sync().) BTW I didn't

Re: [Patch v2 1/3] firmware: dmi_scan: fix dmi_len type

2015-02-23 Thread Matt Fleming
On Wed, 18 Feb, at 01:33:19PM, Ivan Khoronzhuk wrote: According to SMBIOSv3 specification the length of DMI table can be up to 32bits wide. So use appropriate type to avoid overflow. It's obvious that dmi_num theoretically can be more than u16 also, so it's can be changed to u32 or at least

[PATCH 1/3] HID: wacom: Add support for I2C connected devices

2015-02-23 Thread Mika Westerberg
Lenovo Thinkpad 10 has wacom digitizer connected as a I2C-HID device. Add generic support for this. Signed-off-by: Mika Westerberg mika.westerb...@linux.intel.com --- drivers/hid/wacom_wac.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/hid/wacom_wac.c

[PATCH 0/3] HID: Support for Lenovo Thinkpad 10 digitizer

2015-02-23 Thread Mika Westerberg
Hi, Previously I sent a patch that enables GPIO interrupts for i2c-hid. This was not accepted by the community: https://lkml.org/lkml/2015/1/26/398 However, it turned out that there are actually device(s) out there that need this support. One of them is Lenovo Thinkpad 10. It has touch

Re: [PATCHv3 05/24] mm, proc: adjust PSS calculation

2015-02-23 Thread Kirill A. Shutemov
On Fri, Feb 20, 2015 at 06:31:15PM +0100, Jerome Marchand wrote: On 02/12/2015 05:18 PM, Kirill A. Shutemov wrote: With new refcounting all subpages of the compound page are not nessessary have the same mapcount. We need to take into account mapcount of every sub-page. Signed-off-by:

Re: [Patch v2 2/3] firmware: dmi_scan: use full dmi version for SMBIOS3

2015-02-23 Thread Matt Fleming
On Wed, 18 Feb, at 01:33:20PM, Ivan Khoronzhuk wrote: New SMBIOS3 spec adds additional field for versioning - docrev. The docrev identifies the revision of a specification implemented in the table structures, so display SMBIOSv3 versions in format, like 3.22.1. In case of only 32 bit entry

[PATCH] iio:inv-mpu6050: Fix inconsistency for the scale channel

2015-02-23 Thread Adriana Reus
Fix inconsistency in the semantics of the scale attribute. For scale the write_raw function was considering the scale table index and writing the appropriate value into the range register, while for read_raw it was outputting the actual scale. Fix this behaviour and adhere to the iio ABI

[PATCH v4 00/20] power_supply: Allow safe usage of power supply

2015-02-23 Thread Krzysztof Kozlowski
Hi, The patchset fixes invalid memory accesses in certain race scenarios by moving ownership of struct power_supply to the core. All drivers are modified. TLDR for driver and subsystem maintainers = Two patches of patchset change power_supply_register()

[PATCH v4 04/20] power_supply: sysfs: Use power_supply_*() API for accessing function attrs

2015-02-23 Thread Krzysztof Kozlowski
Replace direct calls to power supply function attributes with wrappers. Wrappers provide safe access in case of unregistering the power supply (e.g. by removing the driver). Replace: - get_property - power_supply_get_property - set_property - power_supply_set_property - property_is_writeable -

[PATCH 3/4] pinctrl: baytrail: Rework interrupt handling

2015-02-23 Thread Mika Westerberg
Instead of handling everything in the driver's first level interrupt handler, we can take advantage of already existing flow handlers that are provided by the IRQ core. This changes the functionality a bit also. Previously the driver looped over pending interrupts in a single loop, restarting the

Re: [BISECTED REGRESSION in 3.19-rc1] [drm/i915] WARNING: drivers/gpu/drm/drm_irq.c:1077 drm_wait_one_vblank

2015-02-23 Thread Jani Nikula
On Mon, 23 Feb 2015, Jani Nikula jani.nik...@linux.intel.com wrote: On Mon, 16 Feb 2015, Paul Bolle pebo...@tiscali.nl wrote: I still see this on v3.19. I booted with drm.debug=0x4. The almost 2K lines in dmesg containing either [drm or this WARNING are pasted below. I really know nothing

[PATCH 4/4] pinctrl: baytrail: Save pin context over system sleep

2015-02-23 Thread Mika Westerberg
The BIOS might reconfigure pins as it needs when S3 is entered. This might cause drivers using the GPIOs to fail because the state was wrong or interrupts stopped working. Fix this by saving and restoring enough pin context over system sleep. Reported-by: Hans Holmberg hans.holmb...@intel.com

[PATCH 0/4] pinctrl: baytrail: Assorted fixes

2015-02-23 Thread Mika Westerberg
Hi, This series contains set of fixes that are necessary in order to get some new Intel Baytrail based devices, in particular the GPIO part of those, working. The first patch fixes GPIO request problem that was found on Zotac ZBOX pico 320. Second and third patch deal with Lenovo Thinkpad 10

[PATCH 1/4] pinctrl: baytrail: Relax GPIO request rules

2015-02-23 Thread Mika Westerberg
Zotac ZBOX PI320, a Baytrail based mini-PC, has power button connected to a GPIO pin and it is exposed to the operating system as Windows 8 button array. This is implemented in Linux as a driver using gpio_keys. However, BIOS on this particula machine forgot to mux the pin to be a GPIO instead of

Re: [Qemu-devel] [RFC PATCH v2 04/15] cpu-model/s390: Introduce S390 CPU models

2015-02-23 Thread Christian Borntraeger
Am 23.02.2015 um 13:56 schrieb Christian Borntraeger: Am 20.02.2015 um 16:22 schrieb Alexander Graf: Am 20.02.2015 um 16:00 schrieb Michael Mueller m...@linux.vnet.ibm.com: On Fri, 20 Feb 2015 14:54:23 +0100 Alexander Graf ag...@suse.de wrote: +/* machine related properties */ +typedef

[PATCH 2/3] HID: i2c-hid: Read wMaxInputLength of input report instead of bufsize

2015-02-23 Thread Mika Westerberg
Wacom digitizer (WCOM0008) on Lenovo Thinkpad 10 seems to allow reading of subsequent reports (or part of them) if we read more than wMaxInputLength of data at the time. This data is not always aligned so that the next report would start right after another. For example we might get following

Re: [PATCH v2 2/3] if_link: Add VF multicast promiscuous control

2015-02-23 Thread Edward Cree
On 20/02/15 21:05, Skidmore, Donald C wrote: If a vender specific interface is objectionable maybe a simpler and more generic interface would be for the PF to be able to set a given VF into trusted mode... I admit exactly what 'trusted' meant would vary from vender to vender, but it would

[PATCH 3/3] HID: i2c-hid: Add support for ACPI GPIO interrupts

2015-02-23 Thread Mika Westerberg
The HID over I2C specification allows to have the interrupt for a HID device to be GPIO instead of directly connected to the IO-APIC. Add support for this so that when the driver does not find proper interrupt number from the I2C client structure we check if it has ACPI GpioInt() resource listed

Re: [PATCH] efi: fix boundary checking in efi_high_alloc()

2015-02-23 Thread Mark Rutland
Hi Matt, From 1e7295b5d4c5226a160a9167e61b581e388f7f9a Mon Sep 17 00:00:00 2001 From: Yinghai Lu ying...@kernel.org Date: Thu, 19 Feb 2015 20:18:03 -0800 Subject: [PATCH] efi/libstub: Fix boundary checking in efi_high_alloc() While adding support loading kernel and initrd above 4G to grub2

Re: [RFC 4/6] mm, thp: move collapsing from khugepaged to task_work context

2015-02-23 Thread Peter Zijlstra
On Mon, Feb 23, 2015 at 01:58:40PM +0100, Vlastimil Babka wrote: @@ -7713,8 +7820,15 @@ static void task_tick_fair(struct rq *rq, struct task_struct *curr, int queued) entity_tick(cfs_rq, se, queued); } - if (numabalancing_enabled) - task_tick_numa(rq,

[PATCH v3 3/3] Linn Ethernet packet sniffer driver

2015-02-23 Thread Stathis Voukelatos
Driver for the Ethernet Mii packet sniffer H/W module found in the IMG Pistachio SoC. Signed-off-by: Stathis Voukelatos stathis.voukela...@linn.co.uk --- drivers/net/ethernet/linn/Kconfig | 11 + drivers/net/ethernet/linn/Makefile | 1 +

Differences between builtins and modules

2015-02-23 Thread Lucas De Marchi
Changing the subject because this is unrelated to the patch to kmod. It was: [PATCH] libkmod-module: Remove directory existence check for KMOD_MODULE_BUILTIN CC'ing Michael Marek who created the modules.builtin file a while ago. On Thu, Feb 19, 2015 at 12:25 AM, Rusty Russell

[PATCH v4 14/20] power_supply: charger-manager: Decrement the power supply's device reference counter

2015-02-23 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Acked-by: Pavel Machek pa...@ucw.cz Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Reviewed-by: Sebastian Reichel s...@kernel.org ---

[PATCH v4 20/20] arm: mach-pxa: Decrement the power supply's device reference counter

2015-02-23 Thread Krzysztof Kozlowski
Use power_supply_put() to decrement the power supply's device reference counter. Signed-off-by: Krzysztof Kozlowski k.kozlow...@samsung.com Reviewed-by: Bartlomiej Zolnierkiewicz b.zolnier...@samsung.com Reviewed-by: Sebastian Reichel s...@kernel.org Acked-by: Robert Jarzmik

[PATCH v4 01/20] power_supply: Add driver private data

2015-02-23 Thread Krzysztof Kozlowski
Allow drivers to store private data inside power_supply structure for later usage in power supply operations. Usage of driver private data is necessary to access driver's state container object from power supply calls (like get_property()) if struct 'power_supply' is a stored there as a pointer,

Re: 3.19: Sony playstation controller causes kernel oops

2015-02-23 Thread David Herrmann
Hi Jiri On Sun, Feb 22, 2015 at 10:50 PM, Jiri Kosina jkos...@suse.cz wrote: [ some CCs added and full dmesg kept for reference ] On Sun, 22 Feb 2015, Pavel Machek wrote: Hi! I plugged in part of PS move to the PC, to let it charge. Got: full dmesg in attachment. I believe I charged it in

Re: Linux 4.0-rc1 out..

2015-02-23 Thread Arend van Spriel
On 02/23/15 04:06, Linus Torvalds wrote: On the other hand, the strongest argument for some people advocating 4.0 seems to have been a wish to see 4.1.15 - because that was the version of Linux skynet used for the T-800 terminator. So they have changed our future already as we will likely hit

Re: [PATCH 0/3] vhost_net: support for cross endian guests

2015-02-23 Thread Greg Kurz
On Sun, 22 Feb 2015 10:53:51 +0100 Michael S. Tsirkin m...@redhat.com wrote: On Fri, Feb 20, 2015 at 11:07:24AM +0100, Greg Kurz wrote: Hi, This patchset allows vhost_net to be used with legacy virtio when guest and host have a different endianness. It is based on previous work by

Re: some question about aarch32 for ARM64

2015-02-23 Thread Catalin Marinas
On Mon, Feb 23, 2015 at 12:28:57PM +, loody wrote: I follow below instructions to compile a simple c file as aarch32 but in vain. https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/AArch64-Options.html#AArch64-Options On the above link, there are no instructions on how to compile an AArch32

Re: smp_call_function_single lockups

2015-02-23 Thread Rafael David Tinoco
On Thu, Feb 19, 2015 at 2:14 PM, Linus Torvalds torva...@linux-foundation.org wrote: Hmm. Still just the stack trace for the CPU that is blocked (CPU0), if you can get the core-file to work and figure out where the other CPU is, that would be good. This is v3.19 + your patch (smp

Re: [PATCH] net: macb: Add big endian CPU support

2015-02-23 Thread Michal Simek
Hi Arun, On 02/20/2015 12:45 PM, Arun Chandran wrote: On Thu, Feb 19, 2015 at 5:52 PM, Michal Simek mon...@monstr.eu wrote: On 02/18/2015 12:29 PM, Arun Chandran wrote: This patch converts all __raw_readl and __raw_writel function calls to their corresponding readl_relaxed and writel_relaxed

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