RE: [PATCH 4/5] f2fs: should fail mount when trying to recover data on read-only dev

2015-01-29 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Jaegeuk Kim Sent: Wednesday, January 28, 2015 7:32 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org;

[PATCH 0/2] blk-mq: one revert and one blk-mq kobject fix candidate

2015-01-29 Thread Ming Lei
The 1st patch reverts commit blk-mq: fix hctx/ctx kobject use-after-free (commit 76d697d10769048e) which is wrong and causes scsi regression. The 2nd patch is another candidate/approach for fixing hctx/ctx kobject use-after-free. Sorry for causing the mess, and I am happy to see it fixed by

Re: [PATCH 2/7] pm: at91: pm_suspend: add the WFI support for ARMv7

2015-01-29 Thread Lorenzo Pieralisi
On Thu, Jan 29, 2015 at 02:36:01AM +, Yang, Wenyou wrote: Hi Lorenzo, Thank you for your review. -Original Message- From: Lorenzo Pieralisi [mailto:lorenzo.pieral...@arm.com] Sent: Wednesday, January 28, 2015 7:26 PM To: Yang, Wenyou Cc: Ferre, Nicolas;

Re: [PATCH v2] MediaTek PMIC support

2015-01-29 Thread Matthias Brugger
Hi Sascha, 2015-01-26 12:47 GMT+01:00 Sascha Hauer s.ha...@pengutronix.de: Olof, Arnd, OK to put the driver into drivers/soc/mediatek? Can you take these patches? How does this patches fit together with the one James clock framework patches? Both use the same compatible

RE: [PATCH 5/5] f2fs: introduce a batched trim

2015-01-29 Thread Chao Yu
Hi Jaegeuk, -Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Jaegeuk Kim Sent: Wednesday, January 28, 2015 7:32 AM To: linux-kernel@vger.kernel.org; linux-fsde...@vger.kernel.org;

Re: [PATCH 27/42] perf tools: Protect dso symbol loading using a mutex

2015-01-29 Thread Namhyung Kim
Hi Arnaldo, On Thu, Jan 29, 2015 at 9:34 PM, Arnaldo Carvalho de Melo a...@kernel.org wrote: Em Thu, Jan 29, 2015 at 05:07:08PM +0900, Namhyung Kim escreveu: When multi-thread support for perf report is enabled, it's possible to access a dso concurrently. Add a new pthread_mutex to protect it

Re: [PATCH 2/2] blk-mq: release mq's kobjects in blk_release_queue()

2015-01-29 Thread Bart Van Assche
On 01/29/15 13:18, Ming Lei wrote: The kobject memory inside blk-mq hctx/ctx shouldn't have been freed before the kobject is released because driver core can access it freely before its release. We can't do that in all ctx/hctx/mq_kobj's release handler because it can be run before

Re: [PATCH 2/3 v3] hyperv: hyperv_fb.c: match wait_for_completion_timeout return type

2015-01-29 Thread Vitaly Kuznetsov
Nicholas Mc Guire der.h...@hofr.at writes: The return type of wait_for_completion_timeout is unsigned long not int. This patch fixes up the declarations only. Signed-off-by: Nicholas Mc Guire der.h...@hofr.at I would be slightly better to remove .c from your subject like, anyway:

[GIT PULL]: clockevents: new material for 3.20

2015-01-29 Thread Daniel Lezcano
Hi Thomas, this pull request contains the following changes: * Barry Song renamed the marco timer to atlas7 * Baruch Siach provided a new driver for the Conexant Digicolor SoCs * Daniel Lezcano added a new driver for the rockchip rk3288 board * Oleksij Rempel added a new driver asm9260

[PATCH 8/9] clocksource: versatile: Adapt for Versatile AB and PB boards

2015-01-29 Thread Daniel Lezcano
From: Rob Herring r...@kernel.org The same 24MHz counter is also present on Versatile AB and PB boards, so add the compatible string for them. Signed-off-by: Rob Herring r...@kernel.org Acked-by: Liviu Dudau liviu.du...@arm.com Cc: Liviu Dudau liviu.du...@arm.com Cc: Sudeep Holla

[PATCH 1/9] clocksource: sirf: Remove unused variable

2015-01-29 Thread Daniel Lezcano
From: Thierry Reding tred...@nvidia.com Commit ef89af1f4380 (clocksource: sirf: Remove hard-coded clock rate) removes all uses of the timer_div variable. Since the variable is no longer used it should be removed. Signed-off-by: Thierry Reding tred...@nvidia.com Signed-off-by: Daniel Lezcano

[PATCH 2/9] clocksource: marco: Rename marco to atlas7

2015-01-29 Thread Daniel Lezcano
From: Barry Song baohua.s...@csr.com marco project is replaced by atlas7 and we should obliterate its all traces. Signed-off-by: Barry Song baohua.s...@csr.com Acked-by: Arnd Bergmann a...@arndb.de Acked-by: Daniel Lezcano daniel.lezc...@linaro.org Signed-off-by: Daniel Lezcano

[PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer

2015-01-29 Thread Daniel Lezcano
From: Baruch Siach bar...@tkos.co.il Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here. Use timer B for sched_clock, and timer C for clock_event.

Re: [PATCH v11 23/28] scripts/gdb: Ignore byte-compiled python files

2015-01-29 Thread Michal Marek
On 2015-01-29 07:46, Jan Kiszka wrote: --- a/Makefile +++ b/Makefile @@ -1179,7 +1179,8 @@ MRPROPER_FILES += .config .config.old .version .old_version $(version_h) \ Module.symvers tags TAGS cscope* GPATH GTAGS GRTAGS GSYMS \ signing_key.priv signing_key.x509

Re: [PATCH 2/3] hv: vmbus_post_msg: retry the hypercall on HV_STATUS_INVALID_CONNECTION_ID

2015-01-29 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: I got the hypercall error code on Hyper-V 2008 R2 when keeping running rmmod hv_netvsc; modprobe hv_netvsc; rmmod hv_utils; modprobe hv_utils in a Linux guest. Without the patch, the driver can occasionally fail to load. CC: K. Y. Srinivasan

[PATCH v4 5/7] mfd: cros_ec: Instantiate ChromeOS EC character device

2015-01-29 Thread Javier Martinez Canillas
The ChromeOS EC character device is an user-space interface to allow applications to access the Embedded Controller. Add a cell for this device so it's spawned from the mfd driver. Signed-off-by: Javier Martinez Canillas javier.marti...@collabora.co.uk Acked-by: Lee Jones lee.jo...@linaro.org

[PATCH v4 2/7] mfd: cros_ec: Add char dev and virtual dev pointers

2015-01-29 Thread Javier Martinez Canillas
The ChromeOS Embedded Controller has to be accessed by applications. A virtual character device is used as an interface with user-space. Extend the struct cros_ec_device with the fields needed by the driver of this virtual character device. Signed-off-by: Javier Martinez Canillas

RE: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Ong, Boon Leong
Bryan, Once you have the next revision ready, I would like to test it on my end across both Galileo Gen v1 v2. Cheers, BL -Original Message- From: Bryan O'Donoghue [mailto:pure.lo...@nexus-software.ie] Sent: Thursday, January 29, 2015 6:12 PM To: Andy Shevchenko; Ingo Molnar Cc:

Re: module: fix module_refcount() return when running in a module exit routine

2015-01-29 Thread Bart Van Assche
On 01/28/15 22:45, James Bottomley wrote: On Wed, 2015-01-28 at 10:23 +0100, Bart Van Assche wrote: Is this the latest version of this patch that is available ? I have tried to test the above patch. However, I couldn't test the impact of this patch on the SRP initiator driver since my test

Re: [PATCH_V3 1/3] dt: usb: jz4740: Add DT binding document for OHCI

2015-01-29 Thread Arnd Bergmann
On Wednesday 28 January 2015 13:26:03 Zubair Lutfullah Kakakhel wrote: + - clocks: Should contain a single clock specifier for the SoC UHC clock. + - clock-names: Must be uhc Same comment as for the watchdog binding, this should probably be removed. See what the other ohci drivers use and

[PATCH v3 4/6] vfio: type1: replace domain wide protection flags with supported capabilities

2015-01-29 Thread GAUGUEY Rémy 228890
Hi Antonios, On Thu, 27 Nov 2014 18:22:53 Antonios Motakis wrote: VFIO_IOMMU_TYPE1 keeps track for each domain it knows a list of protection flags it always applies to all mappings in the domain. This is used for domains that support IOMMU_CAP_CACHE_COHERENCY. Refactor this slightly, by keeping

Re: [PATCH] staging: comedi: drivers: dt2814: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 28/01/15 22:33, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard Strandqvist

Re: [PATCH] staging: comedi: drivers: dt2814: Removed variables that is never used

2015-01-29 Thread Ian Abbott
On 29/01/15 12:52, Ian Abbott wrote: On 28/01/15 22:33, Rickard Strandqvist wrote: Variable ar assigned a value that is never used. I have also removed all the code that thereby serves no purpose. This was found using a static code analysis program called cppcheck Signed-off-by: Rickard

Re: [PATCH v2 4/6] mmc: pwrseq_simple: Add optional reference clock support

2015-01-29 Thread Ulf Hansson
On 28 January 2015 at 19:15, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Some WLAN chips attached to a SDIO interface, need a reference clock. Since this is very common, extend the prseq_simple driver to support an optional clock that is enabled prior the card power up

[PATCH] iio: gyro: bmg160: optimize i2c transfers in trigger handler

2015-01-29 Thread Irina Tirdea
Some i2c busses (e.g.: Synopsys DesignWare I2C adapter) need to enable/disable the bus at each i2c transfer and must wait for the enable/disable to happen before sending the data. When reading data in the trigger handler, the bmg160 driver does one i2c transfer for each axis. This has an impact

Re: [PATCH 29/42] perf tools: Protect dso cache fd with a mutex

2015-01-29 Thread Namhyung Kim
On Thu, Jan 29, 2015 at 09:31:07AM -0300, Arnaldo Carvalho de Melo wrote: Em Thu, Jan 29, 2015 at 05:07:10PM +0900, Namhyung Kim escreveu: When dso cache is accessed in multi-thread environment, it's possible to close other dso-data.fd during operation due to open file limit. Protect the

Re: [PATCH v13 4/6] clk: Add rate constraints to clocks

2015-01-29 Thread Geert Uytterhoeven
Hi Tomeu, Mike, On Fri, Jan 23, 2015 at 12:03 PM, Tomeu Vizoso tomeu.viz...@collabora.com wrote: Adds a way for clock consumers to set maximum and minimum rates. This can be used for thermal drivers to set minimum rates, or by misc. drivers to set maximum rates to assure a minimum performance

[PATCH] time, ntp: Do not update time_state in middle of leap second

2015-01-29 Thread Prarit Bhargava
During leap second insertion testing it was noticed that a small window exists where the time_state could be reset such that time_state = TIME_OK, which then causes the leap second to not occur, or causes the entire leap second state machine to fail. While this is highly unlikely to ever happen

[PATCH] lib/int_sqrt.c: Optimize square root function

2015-01-29 Thread Anshul Garg
From: Anshul Garg aksgarg1...@gmail.com Unnecessary instructions are executing even though m is greater than x so added logic to make m less than equal to x before performing these operations. Signed-off-by: Anshul Garg aksgarg1...@gmail.com --- lib/int_sqrt.c |3 +++ 1 file changed, 3

Re: [perf] WARNING: CPU: 0 PID: 1457 at kernel/events/core.c:890 add_event_to_ctx()

2015-01-29 Thread Mark Rutland
On Wed, Jan 28, 2015 at 12:38:13PM +, Peter Zijlstra wrote: On Mon, Jan 26, 2015 at 06:45:54PM +, Mark Rutland wrote: Peter, does the below patch look OK to you? More or lessish, but its failing to apply on top of the broken patch. Could you send me a fresh patch that's both rolled

Re: [PATCH] vt_buffer: drop console buffer copying optimisations

2015-01-29 Thread Peter Hurley
On 01/28/2015 11:11 PM, Dave Airlie wrote: These two copy to/from VGA memory, however on the Silicon Motion SMI750 VGA card on a 64-bit system cause console corruption. This is due to the hw being buggy and not handling a 64-bit transaction correctly. We could try and create a 32-bit

Re: [lm-sensors] [PATCH] hwmon: (ads7828) Make sample interval configurable

2015-01-29 Thread Robert Rosengren
On 01/29/2015 08:05 AM, Guenter Roeck wrote: Ah, don't bother then. I should hopefully get the samples in a couple of days. i2cdump was easily built, so here is the output: 0,8 1,9 2,a 3,b 4,c 5,d 6,e 7,f 00: 1301 1301 1301 1301 1301 1301 1301 1301 08: 4101 6901 6a01 6901 6901 6901

Re: [PATCH 0/2] ASoC: pcm512x: Fixups for the Clock master modes series

2015-01-29 Thread Mark Brown
On Thu, Jan 29, 2015 at 12:21:54PM +0100, Peter Rosin wrote: From: Peter Rosin p...@axentia.se These fixups can either be squashed in with 5/7 from the Clock master mode series, or they can be added on top of the current topic/pcm512x. Sorry for the trouble. applied, thanks. signature.asc

Re: [PATCH 29/42] perf tools: Protect dso cache fd with a mutex

2015-01-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 29, 2015 at 05:07:10PM +0900, Namhyung Kim escreveu: When dso cache is accessed in multi-thread environment, it's possible to close other dso-data.fd during operation due to open file limit. Protect the file descriptors using a separate mutex. Signed-off-by: Namhyung Kim

Re: [PATCH v2 linux-trace 1/8] tracing: attach eBPF programs to tracepoints and syscalls

2015-01-29 Thread Namhyung Kim
On Thu, Jan 29, 2015 at 4:04 PM, Alexei Starovoitov a...@plumgrid.com wrote: On Wed, Jan 28, 2015 at 10:41 PM, Namhyung Kim namhy...@kernel.org wrote: I think it's not a problem of bpf. An user process can be killed anytime while it enabed events without bpf. The only thing it should care

Re: [PATCH v3 01/12] clk: samsung: exynos5433: Add clocks using common clock framework

2015-01-29 Thread Sylwester Nawrocki
Hi Chanwoo, On 23/01/15 21:54, Chanwoo Choi wrote: On Sat, Jan 24, 2015 at 2:40 AM, Sylwester Nawrocki s.nawro...@samsung.com wrote: On 21/01/15 07:26, Chanwoo Choi wrote: +/* list of all parent clock list */ +PNAME(mout_bus_pll_user_p) = { fin_pll, sclk_bus_pll, }; ... + +static

Re: [PATCH 1/3] hv: hv_util: move vmbus_open() to a later place

2015-01-29 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: Before the line vmbus_open() returns, srv-util_cb can be already running and the variablies, like util_fw_version, are needed by the srv-util_cb. So we have to make sure the variables are initialized before the vmbus_open(). CC: K. Y. Srinivasan

Re: [PATCH v2] samsung-laptop: enable better lid handling

2015-01-29 Thread Julijonas Kikutis
Patch is generally fine, thanks for addressing my comments. Prior to merging I always run checkpatch.pl just in case I missed anything obvious: $ scripts/checkpatch.pl ~/samsung/01-lid-handling.patch WARNING: Prefer kstrtotype to single variable sscanf #219: FILE:

Re: [PATCH 1/2] x86: Add Isolated Memory Regions for Quark X1000

2015-01-29 Thread Bryan O'Donoghue
On 29/01/15 07:44, Ingo Molnar wrote: Hi Ingo. I'll transmit those changes in with the following exception + ret = imr_write(idev, reg, imr, false); So 'ret' here gets mixed with other potential failure modes. If imr_write() fails here then that's a highly anomalous internal failure

[PATCH v4 1/7] mfd: cros_ec: Use fixed size arrays to transfer data with the EC

2015-01-29 Thread Javier Martinez Canillas
The struct cros_ec_command will be used as an ioctl() argument for the API to control the ChromeOS EC from user-space. So the data structure has to be 64-bit safe to make it compatible between 32 and 64 avoiding the need for a compat ioctl interface. Since pointers are self-aligned to different

[PATCH v4 0/7] platform/chrome: Add user-space dev inferface support

2015-01-29 Thread Javier Martinez Canillas
Hello, The mainline ChromeOS Embedded Controller (EC) driver is still missing some features that are present in the downstream ChromiumOS tree. These are: - Low Pin Count (LPC) interface - User-space device interface - Access to vboot context stored on a block device - Access to vboot

[PATCH v4 7/7] platform/chrome: Expose Chrome OS Lightbar to users

2015-01-29 Thread Javier Martinez Canillas
From: Bill Richardson wfric...@chromium.org This adds some sysfs entries to provide userspace control of the four-element LED lightbar on the Chromebook Pixel. This only instantiates the lightbar controls if the device actually exists. To prevent DoS attacks, this interface is limited to 20

[PATCH v4 6/7] platform/chrome: Create sysfs attributes for the ChromeOS EC

2015-01-29 Thread Javier Martinez Canillas
From: Bill Richardson wfric...@chromium.org This adds the first few sysfs attributes for the Chrome OS EC. These controls are made available under /sys/devices/virtual/chromeos/cros_ec flashinfo - display current flash info reboot - tell the EC to reboot in various ways

[PATCH v4 3/7] misc: Add cros_ec_lpc driver for x86 devices

2015-01-29 Thread Javier Martinez Canillas
From: Bill Richardson wfric...@chromium.org Chromebooks have an Embedded Controller (EC) that is used to implement various functions such as keyboard, power and battery. The AP can communicate with the EC through different bus types such as I2C, SPI or LPC. The cros_ec mfd driver is then

Re: [PATCH 27/42] perf tools: Protect dso symbol loading using a mutex

2015-01-29 Thread Arnaldo Carvalho de Melo
Em Thu, Jan 29, 2015 at 05:07:08PM +0900, Namhyung Kim escreveu: When multi-thread support for perf report is enabled, it's possible to access a dso concurrently. Add a new pthread_mutex to protect it from concurrent dso__load(). Signed-off-by: Namhyung Kim namhy...@kernel.org ---

Re: [PATCH v2 2/2] leds: add Qualcomm PM8941 WLED driver

2015-01-29 Thread Ivan T. Ivanov
Hi Bjorn, Just few nitpick comments. On Fri, 2015-01-23 at 16:54 -0800, Bjorn Andersson wrote: From: Courtney Cavin ca...@sonymobile.com This adds support for the WLED ('White' LED) block on Qualcomm's PM8941 PMICs. Signed-off-by: Courtney Cavin ca...@sonymobile.com Signed-off-by:

Re: [PATCH 1/1] gpio: sch: Consolidate similar algorithms

2015-01-29 Thread Linus Walleij
On Wed, Jan 21, 2015 at 11:32 AM, Chang Rebecca Swee Fun rebecca.swee.fun.ch...@intel.com wrote: Consolidating similar algorithms into common functions to make GPIO SCH simpler and manageable. Signed-off-by: Chang Rebecca Swee Fun rebecca.swee.fun.ch...@intel.com Applied again, with the

[PATCH 4/9] clockevents: rockchip: Add rockchip timer for rk3288

2015-01-29 Thread Daniel Lezcano
The rk3288 board uses the architected timers and these ones are shutdown when the cpu is powered down. There is a need of a broadcast timer in this case to ensure proper wakeup when the cpus are in sleep mode and a timer expires. This driver provides the basic timer functionnality as a backup for

[PATCH 7/9] dt/bindings: Add binding for Versatile system registers

2015-01-29 Thread Daniel Lezcano
From: Rob Herring r...@kernel.org Add binding for Versatile board system registers found in the FPGA of the Versatile/AB and Versatile/PB boards. Signed-off-by: Rob Herring r...@kernel.org Cc: Pawel Moll pawel.m...@arm.com Cc: Mark Rutland mark.rutl...@arm.com Cc: Ian Campbell

[PATCH 9/9] dts: versatile: Add sysregs node

2015-01-29 Thread Daniel Lezcano
From: Rob Herring r...@kernel.org The Versatile boards have the same sysregs as other ARM Ltd boards. Add the nodes in order to enable support for 24MHz counter as sched_clock. This is a minimal node definition as the existing sub node definition used on VExpress has some issues raised by Linus

[PATCH 5/9] clocksource: devicetree: Document Conexant Digicolor timer binding

2015-01-29 Thread Daniel Lezcano
From: Baruch Siach bar...@tkos.co.il The Conexant CX92755 SoC provides 8 32-bit timers as part of its so called Agent Communication block. Timers can be configures either as free running or one shot. Each timer has a dedicated interrupt source in the CX92755 interrupts controller. The first timer

Re: [PATCH 1/2] dt: dma: Add DT binding document for jz4780-dma

2015-01-29 Thread Arnd Bergmann
On Thursday 29 January 2015 12:19:38 Zubair Lutfullah Kakakhel wrote: +1. Transmit request type: The DMA request type for transfers to the device on + the allocated channel, as defined in the SoC documentation. If set to 0, + transfers to the device will not be allowed on the channel. +

Re: [PATCH v5 00/13] AT91 pm cleanup for 3.20

2015-01-29 Thread Nicolas Ferre
Le 29/01/2015 07:35, Wenyou Yang a écrit : Hi Nicolas, This version is rebased on the branch: at91-3.20-cleanup of the repository git://git.kernel.org/pub/scm/linux/kernel/git/nferre/linux-at91.git It is purpose to clean up the PM code, includes the patches from Peter Rosin and

[PATCH] mm: fix arithmetic overflow in __vm_enough_memory()

2015-01-29 Thread Roman Gushchin
I noticed, that allowed can easily overflow by falling below 0, because (total_vm / 32) can be larger than allowed. The problem occurs in OVERCOMMIT_NONE mode. In this case, a huge allocation can success and overcommit the system (despite OVERCOMMIT_NONE mode). All subsequent allocations will

Re: [PATCH v2] MediaTek PMIC support

2015-01-29 Thread Matthias Brugger
2015-01-29 13:39 GMT+01:00 Matthias Brugger matthias@gmail.com: Hi Sascha, 2015-01-26 12:47 GMT+01:00 Sascha Hauer s.ha...@pengutronix.de: Olof, Arnd, OK to put the driver into drivers/soc/mediatek? Can you take these patches? How does this patches fit together with the one James

Re: [PATCH 3/3] hv: vmbus_open(): reset the channel state on ENOMEM

2015-01-29 Thread Vitaly Kuznetsov
Dexuan Cui de...@microsoft.com writes: Without this patch, the state is put to CHANNEL_OPENING_STATE, and when the driver is loaded next time, vmbus_open() will fail immediately due to newchannel-state != CHANNEL_OPEN_STATE. The patch makes sense, but I have one small doubt. We call

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

2015-01-29 Thread Andy Shevchenko
On Thu, 2015-01-29 at 11:03 +0100, Rasmus Villemoes wrote: Thanks for an update. Few comments below. The current semantics of string_escape_mem are inadequate for one of its two current users, vsnprintf(). If that is to honour its contract, it must know how much space would be needed for the

Re: [PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer

2015-01-29 Thread Paul Bolle
On Thu, 2015-01-29 at 14:08 +0100, Daniel Lezcano wrote: From: Baruch Siach bar...@tkos.co.il Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future watchdog driver so we don't use it here.

[PATCH v4 4/7] platform/chrome: Add Chrome OS EC userspace device interface

2015-01-29 Thread Javier Martinez Canillas
From: Bill Richardson wfric...@chromium.org This patch adds a device interface to access the Chrome OS Embedded Controller from user-space. Signed-off-by: Bill Richardson wfric...@chromium.org Reviewed-by: Simon Glass s...@google.com Signed-off-by: Javier Martinez Canillas

Re: [PATCH v2 2/3] lib/string_helpers.c: Refactor string_escape_mem

2015-01-29 Thread Andy Shevchenko
On Thu, 2015-01-29 at 14:10 +0100, Rasmus Villemoes wrote: On Thu, Jan 29 2015, Andy Shevchenko andriy.shevche...@linux.intel.com wrote: - *out++ = '\\'; - *out++ = to; + if (out + 0 end) + out[0] = '\\'; + if (out + 1 end) + out[1] = to; Could we do

Re: [PATCH v11 01/28] scripts/gdb: Add infrastructure

2015-01-29 Thread Jan Kiszka
On 2015-01-29 14:23, Michal Marek wrote: On 2015-01-29 07:46, Jan Kiszka wrote: --- a/scripts/Makefile +++ b/scripts/Makefile @@ -36,6 +36,7 @@ subdir-$(CONFIG_MODVERSIONS) += genksyms subdir-y += mod subdir-$(CONFIG_SECURITY_SELINUX) += selinux subdir-$(CONFIG_DTC)

Re: [PATCH 6/9] clocksource: Driver for Conexant Digicolor SoC timer

2015-01-29 Thread Daniel Lezcano
On 01/29/2015 02:37 PM, Paul Bolle wrote: On Thu, 2015-01-29 at 14:08 +0100, Daniel Lezcano wrote: From: Baruch Siach bar...@tkos.co.il Add clocksource driver to the Conexant CX92755 SoC, part of the Digicolor SoCs series. Hardware provides 8 timers, A to H. Timer A is dedicated to a future

[PATCH] blk-mq: use BUG_ON()

2015-01-29 Thread Sudip Mukherjee
use BUG_ON() instead of using if(condition) BUG() Signed-off-by: Sudip Mukherjee su...@vectorindia.org --- block/blk-mq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/block/blk-mq.c b/block/blk-mq.c index 8107962..d8f0922 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c

[PATCH] x86/boot/compressed: head_64.S/head_32.S - use predefined flags from bootparam.h

2015-01-29 Thread Alexander Kuleshov
Signed-off-by: Alexander Kuleshov kuleshovm...@gmail.com --- arch/x86/boot/compressed/head_32.S | 3 ++- arch/x86/boot/compressed/head_64.S | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/arch/x86/boot/compressed/head_32.S b/arch/x86/boot/compressed/head_32.S index

Re: randconfig bug: ARM/KVM link error in hyp_idmap section

2015-01-29 Thread Marc Zyngier
On 29/01/15 17:40, Christoffer Dall wrote: On Thu, Jan 29, 2015 at 5:01 PM, Marc Zyngier marc.zyng...@arm.com mailto:marc.zyng...@arm.com wrote: Hi Arnd, On 29/01/15 15:53, Arnd Bergmann wrote: On Thursday 29 January 2015 16:23:42 Christoffer Dall wrote: the changes

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-29 Thread David Cohen
On Thu, Jan 29, 2015 at 10:20:49AM -0600, Felipe Balbi wrote: On Thu, Jan 29, 2015 at 04:30:53PM +0200, Heikki Krogerus wrote: Also, I was chatting in private with David and, apparently, there's a way to request for eye diagram data from BIOS straight. That's more in-line with what we

Re: [PATCH v5 0/3] mfd: max8997: add regmap support

2015-01-29 Thread Dmitry Torokhov
Hi Robert, On Wed, Jan 28, 2015 at 03:20:11PM +0100, Robert Baldyga wrote: Hi, The first version of this patchset was send to kernel list almost 9 months ago and still I don't have all needed Acks. The missing ones are for changes in INPUT and RTC subsystems. Dmitry, Alessandro, could

Re: [PATCH 0/3] An alternative to SPI NAND

2015-01-29 Thread Ezequiel Garcia
On 01/20/2015 11:11 PM, Qi Wang 王起 (qiwang) wrote: On 01/20/2015 6:36 PM, Ezequiel Garcia wrote: On 01/12/2015 12:10 PM, Qi Wang 王起 (qiwang) wrote: Hi Ezequiel, On 01/08/2015 11:27 AM, Ezequiel Garcia wrote: Hi Qi Wang, On 01/07/2015 11:45 PM, Qi Wang 王起 (qiwang) wrote: Hi Brian, On

Re: [PATCH 7/7] spi: spi-fsl-dspi: Add support for TCFQ transfer mode

2015-01-29 Thread Stefan Agner
On 2015-01-29 13:53, BhuvanChandra.DV wrote: On 01/29/2015 05:43 PM, Mark Brown wrote: On Thu, Jan 29, 2015 at 11:58:25AM +, BhuvanChandra.DV wrote: As far as i understood the major difference between the two modes are when the interrupt to trigger, as EOQ mode will trigger the interrupt

Re: [PATCH 01/24] Documentation: DT: document compatible string existence requirement

2015-01-29 Thread Rob Herring
On Thu, Jan 29, 2015 at 10:43 AM, Javier Martinez Canillas javier.marti...@collabora.co.uk wrote: Hello Paul, On 01/29/2015 12:49 AM, Paul Walmsley wrote: DT maintainers require all compatible strings used in chip or board DTS file to be previously documented somewhere in

Re: [Linaro-acpi] [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-29 Thread Ard Biesheuvel
On 29 January 2015 at 15:19, Catalin Marinas catalin.mari...@arm.com wrote: On Wed, Jan 28, 2015 at 06:18:44PM +, Timur Tabi wrote: On 01/28/2015 12:14 PM, Catalin Marinas wrote: So it looks like there's a whole conversation about this already in this thread that I didn't notice.

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-29 Thread David Cohen
On Thu, Jan 29, 2015 at 10:04:16AM -0800, David Cohen wrote: On Thu, Jan 29, 2015 at 10:20:49AM -0600, Felipe Balbi wrote: On Thu, Jan 29, 2015 at 04:30:53PM +0200, Heikki Krogerus wrote: Also, I was chatting in private with David and, apparently, there's a way to request for eye

Re: [PATCH] net, ethernet, LLVMLinux: Add missing MODULE_DEVICE_TABLE()

2015-01-29 Thread Behan Webster
On 01/28/15 22:42, David Miller wrote: From: Behan Webster beh...@converseincode.com Date: Wed, 28 Jan 2015 17:36:14 -0800 Missing MODULE_DEVICE_TABLE for pci ids from benet driver found by clang. Signed-off-by: Behan Webster beh...@converseincode.com Suggested-by: Arnd Bergmann

Re: [PATCH 2/5] f2fs: support norecovery mount option

2015-01-29 Thread Jaegeuk Kim
Hi Chao, On Thu, Jan 29, 2015 at 07:52:56PM +0800, Chao Yu wrote: Hi Jaegeuk, -Original Message- From: linux-fsdevel-ow...@vger.kernel.org [mailto:linux-fsdevel-ow...@vger.kernel.org] On Behalf Of Jaegeuk Kim Sent: Wednesday, January 28, 2015 7:32 AM To:

Re: [Linaro-acpi] [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-29 Thread Ard Biesheuvel
On 29 January 2015 at 18:21, Timur Tabi ti...@codeaurora.org wrote: On 01/29/2015 12:20 PM, Ard Biesheuvel wrote: If we are going with this solution, we should also mandate that an ACPI enabled firmware should not supply a non-DT DTB What is a non-DT DTB? I thought the DT in DTB stood for

Re: [PATCH v5 2/5] iio: sensorhub: Add sensorhub bindings

2015-01-29 Thread Jonathan Cameron
On 28/01/15 14:05, Karol Wrona wrote: Add sensorhub bindings for sensorhub on Galaxy Gear 2. Signed-off-by: Karol Wrona k.wr...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com It's simple and hasn't changed in months, so applied to the togreg branch of iio.git. ---

Re: [PATCH 3.12 000/176] 3.12.37-stable review

2015-01-29 Thread Guenter Roeck
On Thu, Jan 29, 2015 at 03:49:33PM +0100, Jiri Slaby wrote: On 01/28/2015, 05:48 PM, Guenter Roeck wrote: On Wed, Jan 28, 2015 at 03:29:35PM +0100, Jiri Slaby wrote: This is the start of the stable review cycle for the 3.12.37 release. There are 176 patches in this series, all will be

Re: [PATCH v3 1/3] iio: core: Introduce IIO_CHAN_INFO_DEBOUNCE_COUNT and _TIME

2015-01-29 Thread Jonathan Cameron
On 27/01/15 18:41, Irina Tirdea wrote: The pedometer needs to filter out false steps that might be generated by tapping the foot, sitting, etc. To do that it computes the number of steps that occur in a given time and decides the user is moving only if this value is over a threshold. E.g.: the

[PATCH] einj: Documentation text corrections and streamlining

2015-01-29 Thread Borislav Petkov
From: Borislav Petkov b...@suse.de Streamline and simplify formulations, improve formatting and extend the injection example in the error injection write up for users which we carry in Documentation/. Signed-off-by: Borislav Petkov b...@suse.de --- Documentation/acpi/apei/einj.txt | 159

Re: [RFC PATCH v6 6/9] thermal: cpu_cooling: implement the power cooling device API

2015-01-29 Thread Eduardo Valentin
:x Hi Eduardo, Eduardo Valentin edubez...@gmail.com writes: Hello Javi, On Fri, Dec 05, 2014 at 07:04:17PM +, Javi Merino wrote: Add a basic power model to the cpu cooling device to implement the power cooling device API. The power model uses the current frequency, current

Re: [PATCH v5 1/3] mfd: max8997: use regmap to access registers

2015-01-29 Thread Dmitry Torokhov
On Wed, Nov 12, 2014 at 08:23:14AM +0100, Robert Baldyga wrote: This patch modifies max8997 driver and each associated function driver, to use regmap instead of operating directly on i2c bus. It will allow to simplify IRQ handling using regmap-irq. Signed-off-by: Robert Baldyga

Re: [PATCH 8/8] phy: add driver for TI TUSB1210 ULPI PHY

2015-01-29 Thread David Cohen
Hi Heikki, Felipe, On Thu, Jan 29, 2015 at 10:20:23AM -0600, Felipe Balbi wrote: Hi On Thu, Jan 29, 2015 at 04:14:12PM +0200, Heikki Krogerus wrote: Can you share how tusb1210 is connected on the platform you're using as test for this patch? I don't think this driver

Re: [PATCH 1/5 v2] f2fs: fix not to drop mount options when retrying fill_super

2015-01-29 Thread Jaegeuk Kim
Chang log from v1: o fix memory leak pointed by Chao From 82760814db6a01539ad15026b0469686110d92bc Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim jaeg...@kernel.org Date: Fri, 23 Jan 2015 17:41:39 -0800 Subject: [PATCH] f2fs: fix not to drop mount options when retrying fill_super If wrong mount

Re: [GIT PULL] EFI changes for v3.20

2015-01-29 Thread Ingo Molnar
* Matt Fleming m...@codeblueprint.co.uk wrote: On Wed, 21 Jan, at 02:02:50PM, Matt Fleming wrote: Folks, please consider pulling the following changes for v3.20. There's nothing super scary, mainly cleanups, and a merge from Ricardo who kindly picked up some patches from the linux-efi

Re: [PATCH] net, ethernet, LLVMLinux: Add missing MODULE_DEVICE_TABLE()

2015-01-29 Thread Behan Webster
On 01/29/15 01:10, Arnd Bergmann wrote: On Wednesday 28 January 2015 22:42:28 David Miller wrote: From: Behan Webster beh...@converseincode.com Date: Wed, 28 Jan 2015 17:36:14 -0800 Missing MODULE_DEVICE_TABLE for pci ids from benet driver found by clang. Signed-off-by: Behan Webster

Re: [PATCH v5 1/5] iio: common: ssp_sensors: Add sensorhub driver

2015-01-29 Thread Jonathan Cameron
On 28/01/15 14:05, Karol Wrona wrote: Sensorhub is MCU dedicated to collect data and manage several sensors. Sensorhub is a spi device which provides a layer for IIO devices. It provides some data parsing and common mechanism for sensorhub sensors. Adds common sensorhub library for

Re: [PATCH v5 3/5] iio: common: ssp_sensors: Add sensorhub iio commons

2015-01-29 Thread Jonathan Cameron
On 28/01/15 14:05, Karol Wrona wrote: This patch adds common library for sensorhub iio drivers. Signed-off-by: Karol Wrona k.wr...@samsung.com Acked-by: Kyungmin Park kyungmin.p...@samsung.com Applied with the make file line brought forward from patch 1. Pushed out as testing for the

[PATCH] arm/mm: fix compiler warning in pmdp_invalidate() (in -next)

2015-01-29 Thread Andre Przywara
Commit ff61d185f4e7 (mm: convert p[te|md]_mknonnuma and remaining page table manipulations) removed a check in mm/pgtable-generic.c:pmdp_invalidate(), which leaves the pmd_mknotpresent macro the only user of the entry variable. For ARM/LPAE we use a constant 0 without referencing the argument to

[PATCH] thermal: step_wise: spelling fixes

2015-01-29 Thread Brian Norris
Signed-off-by: Brian Norris computersforpe...@gmail.com --- drivers/thermal/step_wise.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/step_wise.c index fdd1f523a1ed..5a0f12d08e8b 100644 --- a/drivers/thermal/step_wise.c +++

[PATCH 2/5] ACPI / cpuidle: Clean up fallback to C1 checks

2015-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com acpi_idle_enter_simple() and acpi_idle_enter_bm() both check if C2/C3 type entry is supported on MP in the same way, so move those checks to a separate function and call it from both places (and it doesn't need to check if the state type is not

[PATCH 5/5] ACPI / cpuidle: Drop flags.bm_check tests from acpi_idle_enter_bm()

2015-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com Since acpi_idle_enter_bm() is only used if flags.bm_check is set for the given acpi_processor object, it doesn't make sense to check that flag in there. For this reason, drop flags.bm_check tests (and some code depending on them) from

[PATCH 4/5] ACPI / cpuidle: Clean up white space in a switch statement

2015-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com White space in the switch statement in acpi_processor_setup_cpuidle_states() does not adhere to the kernel coding style and that makes the code difficult to read. Clean that up. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com ---

[PATCH 0/5] ACPI / cpuidle: More driver cleanups

2015-01-29 Thread Rafael J. Wysocki
Hi, More ACPI cpuidle driver cleanups on top of the one I sent yesterday: https://patchwork.kernel.org/patch/5734101/ Thanks! -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the

[PATCH 1/5] ACPI / cpuidle: Drop unnecessary calls from -enter callback routines

2015-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com acpi_idle_enter_simple() and acpi_idle_enter_bm() don't need to call sched_clock_idle_sleep/wakeup_event(), because that's taken care of by the core already. Namely, sched_clock_idle_sleep_event() is called by tick_nohz_start_idle() called by

[PATCH 3/5] ACPI / cpuidle: Drop irrelevant comment from acpi_idle_enter_simple()

2015-01-29 Thread Rafael J. Wysocki
From: Rafael J. Wysocki rafael.j.wyso...@intel.com The comment about bus master disable in acpi_idle_enter_simple() is irrelevant, because the function doesn't disable bus mastering, so drop it. Signed-off-by: Rafael J. Wysocki rafael.j.wyso...@intel.com --- drivers/acpi/processor_idle.c |4

[RFC PATCH 0/1] PM / domains: Add support for virtual power domains

2015-01-29 Thread Karol Wrona
Hello, This patch adds virtual power domain handling. Some comments are needed if such approach has any sense. The goal is to know the state of devices residing in domain which is never gated or are gated only during sleep. I.e. in Exynos3250 SoC there is one domain which is only put into

Re: [Linaro-acpi] [PATCH v7 04/17] ARM64 / ACPI: Introduce early_param for acpi and pass acpi=force to enable ACPI

2015-01-29 Thread Timur Tabi
On 01/29/2015 12:20 PM, Ard Biesheuvel wrote: If we are going with this solution, we should also mandate that an ACPI enabled firmware should not supply a non-DT DTB What is a non-DT DTB? I thought the DT in DTB stood for device tree. -- Qualcomm Innovation Center, Inc. The Qualcomm

Re: [PATCH -mm v2 1/3] slub: never fail to shrink cache

2015-01-29 Thread Vladimir Davydov
On Thu, Jan 29, 2015 at 10:22:16AM -0600, Christoph Lameter wrote: On Thu, 29 Jan 2015, Vladimir Davydov wrote: Yeah, but the tool just writes 1 to /sys/kernel/slab/cache/shrink, i.e. invokes shrink_store(), and I don't propose to remove slab placement optimization from there. What I

intel-iommu/vfio-pci: crash in dmar_insert_dev_info

2015-01-29 Thread Jan Kiszka
Hi Alex, starting to play with Intel IGD pass-through in KVM, I managed to trigger this with linux git head: [ 232.317043] BUG: unable to handle kernel NULL pointer dereference at 0037 [ 232.325249] IP: [8142ed36] dmar_insert_dev_info+0x86/0x220 [ 232.331905] PGD 0 [

Re: [f2fs-dev] [PATCH 2/5 v2] f2fs: support norecovery mount option

2015-01-29 Thread Jaegeuk Kim
Change log from v1: o add description for the new mount option in Documentation/filesystems/f2fs.txt From 079dbb14c7d91d90863c9be4d9337b8ec086db7e Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim jaeg...@kernel.org Date: Fri, 23 Jan 2015 18:33:46 -0800 Subject: [PATCH] f2fs: support norecovery mount

<    1   2   3   4   5   6   7   8   9   10   >