Re: [PATCH 5/5] Export the temperatures via hwmon

2014-08-06 Thread Goffredo Baroncelli
On 08/07/2014 01:18 AM, Guenter Roeck wrote: > On Wed, Aug 06, 2014 at 09:05:03PM +, Goffredo Baroncelli wrote: >> From: Goffredo Baroncelli >> >> Export the temperature via the hwmon subsystem. >> See the list below for the sensors exported: >> >> $ cd /sys/devices/temperature/hwmon/hwmon0

Re: [PATCH 02/15] cpufreq: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Hans Wennborg
On 08/06/2014 01:35 PM, Rafael J. Wysocki wrote: On Tuesday, August 05, 2014 09:41:48 PM Hans Wennborg wrote: The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg This

[PATCH 1/1] cpufreq: fix decimal printf specifiers prefixed with 0x

2014-08-06 Thread Hans Wennborg
The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Also, these are 32-bit values, so drop the l characters. Signed-off-by: Hans Wennborg --- drivers/cpufreq/speedstep-smi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH 2/2] [media] dvb: return the error from i2c_transfer if negative

2014-08-06 Thread Hans Wennborg
Signed-off-by: Hans Wennborg --- drivers/media/dvb-frontends/mb86a16.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/dvb-frontends/mb86a16.c b/drivers/media/dvb-frontends/mb86a16.c index 1f7fce7..0e65d35 100644 --- a/drivers/media/dvb-frontends/mb86a16.c +++

[PATCH 1/2] [media] dvb: remove 0x prefix from decimal value in printf

2014-08-06 Thread Hans Wennborg
Signed-off-by: Hans Wennborg --- drivers/media/dvb-frontends/mb86a16.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-frontends/mb86a16.c b/drivers/media/dvb-frontends/mb86a16.c index 9ae40ab..1f7fce7 100644 --- a/drivers/media/dvb-frontends/mb86a16.c +++

[PATCH] scsi: Check if WSR already defined

2014-08-06 Thread Nick Krause
On xtensa arch there is this warning drivers/scsi/sym53c8xx_2/sym_defs.h:109:0: warning: "WSR" redefined [enabled by default] arch/xtensa/include/asm/processor.h:188:0: note: this is the location of the previous definition I can remove WSR since it is not being used but more documentation

Re: [PATCH] Staging: rtl8192u: fix sparse warnings in r8192U_core.c

2014-08-06 Thread Greg KH
On Thu, Aug 07, 2014 at 10:10:47AM +0530, A Raghavendra Rao wrote: > Fix the following sparse warnings: > drivers/staging/rtl8192u/r8192U_core.c:670:6: warning: symbol 'dump_eprom' > was not declared. Should it be static? > drivers/staging/rtl8192u/r8192U_core.c:1556:14: warning: symbol >

Re: [PATCH] rtl8150: Check if RSR is already defined

2014-08-06 Thread David Miller
From: Nick Krause Date: Thu, 7 Aug 2014 07:24:54 +0200 > I am getting the following warn > > drivers/net/usb/rtl8150.c:30:0: warning: "RSR" redefined > arch/xtensa/include/asm/processor.h:189:0: note: this is the location of the > previous definition > > I wanted to remove RSR as it is not

Guten Tag,

2014-08-06 Thread Thaung Lin Yan
Guten Tag, Meine Namen sind Thaung Lin Yan ein kanadischer Staatsbürger in Asien und ein Konto Offizier Manager für Wei Gu Steel Company seit 23 Jahren. Wei Gu Stahl Angebote für die Herstellung von verschiedenen Stahl in Hong Kong und wir haben auch ein Vertriebsbüro in China. Ich bin in der

Re: [PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Greg KH
On Thu, Aug 07, 2014 at 08:10:25AM +0300, Valentina Manea wrote: > This is a resend of the patch series from March. > > After migrating userspace code to libudev, converting usbip-host > to a device driver and various bug fixes and enhancements, USB/IP > is fully functional and can be moved out

RE: [PATCH v6 1/2] i2c: imx: add DMA support for freescale i2c driver

2014-08-06 Thread fugang.d...@freescale.com
From: Yuan Yao-B46683 Data: Wednesday, August 06, 2014 3:07 PM >To: Duan Fugang-B38611; w...@the-dreams.de; ma...@denx.de >Cc: l...@karo-electronics.de; mark.rutl...@arm.com; shawn@linaro.org; >linux-kernel@vger.kernel.org; linux-arm-ker...@lists.infradead.org; linux- >i...@vger.kernel.org; Li

Re: [PATCH 08/15] rtlwifi: rtl8192de: fix decimal printf format specifiers prefixed with 0x

2014-08-06 Thread Hans Wennborg
On 08/06/2014 07:38 AM, Larry Finger wrote: On 08/05/2014 11:43 PM, Hans Wennborg wrote: The prefix suggests the number should be printed in hex, so use the %x specifier to do that. Found by using regex suggested by Joe Perches. Signed-off-by: Hans Wennborg ---

[PATCH] rtl8150: Check if RSR is already defined

2014-08-06 Thread Nick Krause
I am getting the following warn drivers/net/usb/rtl8150.c:30:0: warning: "RSR" redefined arch/xtensa/include/asm/processor.h:189:0: note: this is the location of the previous definition I wanted to remove RSR as it is not being used but it is not clear if being used for documenting purpose.

Re: [PATCH] spi: Initialize variable to prevent uninitialized warning

2014-08-06 Thread Guenter Roeck
On Thu, Aug 07, 2014 at 06:51:00AM +0200, Nick Krause wrote: > While compiling we see the following waring > > drivers/spi/spi-bfin5xx.c: In function 'bfin_spi_pump_transfers': > drivers/spi/spi-bfin5xx.c:695:6: warning: 'cr_width' may be used uninitialized > in this function [-Wuninitialized] >

[PATCH 1/3] usbip: move usbip userspace code out of staging

2014-08-06 Thread Valentina Manea
At this point, USB/IP userspace code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea --- {drivers/staging/usbip/userspace => tools/usb/usbip}/.gitignore | 0 {drivers/staging/usbip/userspace => tools/usb/usbip}/AUTHORS | 0

[PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Valentina Manea
After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to tools/usb/usbip * kernel code to drivers/usb/usbip

[PATCH 2/3] usbip: move usbip kernel code out of staging

2014-08-06 Thread Valentina Manea
At this point, USB/IP kernel code is fully functional and can be moved out of staging. Signed-off-by: Valentina Manea --- drivers/staging/Kconfig| 2 -- drivers/staging/Makefile | 1 - drivers/{staging => usb}/usbip/Kconfig

[PATCH 0/3] usbip: move usbip out of staging

2014-08-06 Thread Valentina Manea
This is a resend of the patch series from March. After migrating userspace code to libudev, converting usbip-host to a device driver and various bug fixes and enhancements, USB/IP is fully functional and can be moved out of staging. This patch series moves it as following: * userspace code to

[PATCH 3/3] usbip: remove struct usb_device_id table

2014-08-06 Thread Valentina Manea
This was used back when usbip-host was an interface device driver; after the conversion to device driver, the table remained unused. Remove it in order to stop receiving a warning about it. Signed-off-by: Valentina Manea --- drivers/usb/usbip/stub_dev.c | 27 --- 1 file

Re: [PATCH] sh: bug: add unreachable() to silence warnings

2014-08-06 Thread Josh Triplett
On Thu, Aug 07, 2014 at 03:42:20AM +0200, Nick Krause wrote: > SuperH BUG() have warnings like > > kernel/sched/core.c:2692:1: warning: control reaches end of non-void function > [-Wreturn-type] > net/core/ethtool.c:236:1: warning: control reaches end of non-void function > [-Wreturn-type] > >

[git pull] Please pull powerpc.git next branch

2014-08-06 Thread Benjamin Herrenschmidt
Hi Linus ! First an apology ... a lot of the stuff in there was only very recently committed. This is not the normal process. I'm at fault here, my only excuse is having been insanely swamped with other things. That's one of the reasons for co-opting Michael as co-maintainer, to help with

Re: [PATCH 1/1] bug: Add unreachable() to generic BUG() to silence warnings

2014-08-06 Thread Josh Triplett
On Thu, Aug 07, 2014 at 03:13:41AM +0200, Nick Krause wrote: > Architectures which use generic BUG() have warnings like > > kernel/sched/core.c:2692:1: warning: control reaches end of non-void function > [-Wreturn-type] > net/core/ethtool.c:236:1: warning: control reaches end of non-void

Re: [PATCH v2 20/29] nios2: Cpuinfo handling

2014-08-06 Thread Ley Foon Tan
On Fri, Jul 18, 2014 at 10:43 AM, Ley Foon Tan wrote: > On Tue, Jul 15, 2014 at 5:47 PM, Arnd Bergmann wrote: >> On Tuesday 15 July 2014 16:45:47 Ley Foon Tan wrote: >>> +static void *cpuinfo_start(struct seq_file *m, loff_t *pos) >>> +{ >>> + unsigned long i = *pos; >>> + >>> +

Re: [RFC PATCH 0/3] ftrace: Add a ftrace test collection

2014-08-06 Thread Masami Hiramatsu
(2014/08/06 6:37), Steven Rostedt wrote: > Hi Masami, > > This looks great. I'm a bit busy at the moment (just came back from > vacation, and digging myself out of the hole that left me). But I > definitely want this in. I have a bunch of tests too, that I can put on > top of this. My tests are

[PATCH] spi: Initialize variable to prevent uninitialized warning

2014-08-06 Thread Nick Krause
While compiling we see the following waring drivers/spi/spi-bfin5xx.c: In function 'bfin_spi_pump_transfers': drivers/spi/spi-bfin5xx.c:695:6: warning: 'cr_width' may be used uninitialized in this function [-Wuninitialized] Initialize it to prevent the above warning Signed-off-by: Nick Krause

[PATCH] Staging: rtl8192u: fix sparse warnings in r8192U_core.c

2014-08-06 Thread A Raghavendra Rao
Fix the following sparse warnings: drivers/staging/rtl8192u/r8192U_core.c:670:6: warning: symbol 'dump_eprom' was not declared. Should it be static? drivers/staging/rtl8192u/r8192U_core.c:1556:14: warning: symbol 'txqueue2outpipe' was not declared. Should it be static?

Re: [PATCH] drivers/gpio: Check return value to silence warning

2014-08-06 Thread Alexandre Courbot
On Thu, Aug 7, 2014 at 1:40 PM, Nick Krause wrote: > Check for return value to fix the following error > > drivers/gpio/gpio-sch311x.c: In function 'sch311x_gpio_probe': > drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of > 'gpiochip_remove', declared with attribute

[PATCH] drivers/gpio: Check return value to silence warning

2014-08-06 Thread Nick Krause
Check for return value to fix the following error drivers/gpio/gpio-sch311x.c: In function 'sch311x_gpio_probe': drivers/gpio/gpio-sch311x.c:286:18: warning: ignoring return value of 'gpiochip_remove', declared with attribute warn_unused_result [-Wunused-result] in the context we do not need to

Re: [alsa-devel] [PATCH V1 1/2] ASoC: fsl: esai: refine esai for tdm support

2014-08-06 Thread Nicolin Chen
About the title, please follow the old pattern: ASoC: fsl_esai: Refine You can get the history from 'git log --oneline sound/soc/fsl/fsl_esai.c' On Wed, Aug 06, 2014 at 06:23:03PM +0800, Shengjiu Wang wrote: > Add parameter for slots, and caculate the number of TX/RX pins and bclk with >

Re: [PATCH v2] Hibernate: check unsafe page should not in e820 reserved region

2014-08-06 Thread joeyli
Hi experts, On Mon, Aug 04, 2014 at 11:23:21PM +0800, Lee, Chun-Yi wrote: > When the machine doesn't well handle the e820 persistent when hibernate > resuming, then it may causes page fault when writing image to snapshot > buffer: > > [ 17.929495] BUG: unable to handle kernel paging request

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread caesar
Doug, 在 2014年08月07日 11:46, Doug Anderson 写道: Caesar, On Wed, Aug 6, 2014 at 8:37 PM, caesar wrote: Doug, 在 2014年08月07日 11:26, Doug Anderson 写道: caesar, On Wed, Aug 6, 2014 at 8:23 PM, caesar wrote: 在 2014年08月07日 10:16, Doug Anderson 写道: Caesar, On Wed, Aug 6, 2014 at 6:27 PM, caesar

Re: [GIT PULL] trivial for 3.17

2014-08-06 Thread Linus Torvalds
On Wed, Aug 6, 2014 at 2:37 AM, Jiri Kosina wrote: > > You are going to get two conflicts super-easy to resolve: > > - arch/arm/mach-msm/Kconfig removal of unused MSM_SCM config value > conflicts with addition of MSM_TIMER to the same spot; resolution is to > keep MSM_TIMER and remove MSM_SCM

[PATCH] cris: bug: add unreachable() to silence warnings

2014-08-06 Thread Nick Krause
Cris BUG() have warnings like drivers/memstick/core/ms_block.c:677:1: warning: control reaches end of non-void function drivers/memstick/core/ms_block.c:720:1: warning: control reaches end of non-void function drivers/memstick/core/ms_block.c:654:1: warning: control reaches end of non-void

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread Doug Anderson
Caesar, On Wed, Aug 6, 2014 at 8:37 PM, caesar wrote: > Doug, > > 在 2014年08月07日 11:26, Doug Anderson 写道: > >> caesar, >> >> On Wed, Aug 6, 2014 at 8:23 PM, caesar wrote: >>> >>> 在 2014年08月07日 10:16, Doug Anderson 写道: >>> Caesar, On Wed, Aug 6, 2014 at 6:27 PM, caesar wrote:

[PATCH] powerpc: Fix warnings about right shift count

2014-08-06 Thread Nick Krause
Fix warnings like the following using upper_32_bits(), discussed after mail with someone on kernelnewbies arch/powerpc/boot/addnote.c:183:3: warning: right shift count >= width of type arch/powerpc/boot/addnote.c:188:3: warning: right shift count >= width of type

[PATCH] USB: atmel_usba_udc: fix it to deal with final DMA channel

2014-08-06 Thread Bo Shen
As, the interrupt for DMA is counted from 1, so need to checked the USBA_NR_DMAS, in old way, it only check (USBA_NR_DMAS - 1), so fix it. Reported-by: Max Liao Signed-off-by: Bo Shen --- drivers/usb/gadget/udc/atmel_usba_udc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread caesar
Doug, 在 2014年08月07日 11:26, Doug Anderson 写道: caesar, On Wed, Aug 6, 2014 at 8:23 PM, caesar wrote: 在 2014年08月07日 10:16, Doug Anderson 写道: Caesar, On Wed, Aug 6, 2014 at 6:27 PM, caesar wrote: Doug, 在 2014年08月07日 06:46, Doug Anderson 写道: Caesar, On Thu, Jul 24, 2014 at 3:21 AM,

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Doug Anderson
Kever, On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang wrote: > According to the "dr_mode", the otg controller can work as > device role and host role. Some boards always want to use host mode > and some other boards want to use gadget mode. We use the dts setting > to set dwc2's mode, rather than

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread Doug Anderson
caesar, On Wed, Aug 6, 2014 at 8:23 PM, caesar wrote: > > 在 2014年08月07日 10:16, Doug Anderson 写道: > >> Caesar, >> >> On Wed, Aug 6, 2014 at 6:27 PM, caesar wrote: >>> >>> Doug, >>> >>> 在 2014年08月07日 06:46, Doug Anderson 写道: >>> Caesar, On Thu, Jul 24, 2014 at 3:21 AM, Caesar Wang

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread caesar
在 2014年08月07日 10:16, Doug Anderson 写道: Caesar, On Wed, Aug 6, 2014 at 6:27 PM, caesar wrote: Doug, 在 2014年08月07日 06:46, Doug Anderson 写道: Caesar, On Thu, Jul 24, 2014 at 3:21 AM, Caesar Wang wrote: +static const struct rockchip_pwm_data pwm_data_v1 = { + .regs.duty = PWM_HRC, +

linux-next: build failure after merge of the modules tree

2014-08-06 Thread Stephen Rothwell
Hi Rusty, After merging the modules tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/platforms/powernv/opal-elog.c:85:28: error: macro "__ATTR_RO" passed 2 arguments, but takes just 1 __ATTR_RO(id, elog_id_show); ^

[GIT] Networking

2014-08-06 Thread David Miller
This fixes the most immediate fallout from yesterday's networking merge. 1) sock_tx_timestamp() must not clear the passed in tx_flags, but rather add to them. Fix from Eric Dumazet. 2) The hyperv driver sendbuf region increase needs to be decreased slightly to handle older backends.

RE: [PATCH V2 2/3] ARM: clk-imx6q: Add missing lvds and anaclk clock to the clock tree

2014-08-06 Thread shengjiu.w...@freescale.com
Hi Stash, Shawn Do we have such API for exclusive clock? Or Do you have example for these exclusive clocks? Best regards Wang shengjiu -Original Message- From: Lucas Stach [mailto:l.st...@pengutronix.de] Sent: Wednesday, August 06, 2014 10:42 PM To: Wang Shengjiu-B02247 Cc: Guo

Re: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Dinh Nguyen
On 8/6/14, 5:57 PM, Paul Zimmerman wrote: >> From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug >> Anderson >> Sent: Wednesday, August 06, 2014 3:25 PM >> >> On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang wrote: >>> According to the "dr_mode", the otg controller can work as

RE: [PATCH V2 3/3] ARM: imx6q: Add the clock route from external OSC to ESAI clock

2014-08-06 Thread shengjiu.w...@freescale.com
Ok, thanks. -Original Message- From: Shawn Guo [mailto:shawn@freescale.com] Sent: Thursday, August 07, 2014 11:12 AM To: Wang Shengjiu-B02247 Cc: ker...@pengutronix.de; li...@arm.linux.org.uk; robh...@kernel.org; pawel.m...@arm.com; mark.rutl...@arm.com;

Re: [PATCH V2 3/3] ARM: imx6q: Add the clock route from external OSC to ESAI clock

2014-08-06 Thread Shawn Guo
On Wed, Aug 06, 2014 at 04:35:15PM +0800, Shengjiu Wang wrote: > This patch mainly adds the clock route from external 24.576MHz OSC to internal > ESAI clock via analog clock2 PADs on the SoC and pll4 so that ESAI can get an > entirely synchronous clock source against CS42888. > > [ 1, We found if

Re: [PATCH] staging: rtl8192u: fix sparse warnings in r8192U_core.c

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 02:14:16PM +0530, A Raghavendra Rao wrote: > Fix the following sparse warnings: > drivers/staging/rtl8192u/r8192U_core.c:670:6: warning: symbol 'dump_eprom' > was not declared. Should it be static? > drivers/staging/rtl8192u/r8192U_core.c:1556:14: warning: symbol >

Re: testing result of loop-aio patchset on ext3

2014-08-06 Thread Rui Xiang
On 2014/7/21 10:34, Rui Xiang wrote: > On 2014/7/18 17:10, Lukáš Czerner wrote: >> On Wed, 16 Jul 2014, Rui Xiang wrote: >> >>> Date: Wed, 16 Jul 2014 17:28:10 +0800 >>> From: Rui Xiang >>> To: Lukáš Czerner >>> Cc: Dave Kleikamp , linux-e...@vger.kernel.org, >>>

[PATCH] HID:hid-logitech: Prevent possibility of infinite loop when using /sys interface

2014-08-06 Thread Simon Wood
If the device data is not accessible for some reason, returning 0 will cause the call to be continuously called again as none of the string has been 'consumed'. --- drivers/hid/hid-lg4ff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c

Re: testing result of loop-aio patchset on ext3

2014-08-06 Thread Rui Xiang
On 2014/7/21 10:34, Rui Xiang wrote: > On 2014/7/18 17:10, Lukáš Czerner wrote: >> On Wed, 16 Jul 2014, Rui Xiang wrote: >> >>> Date: Wed, 16 Jul 2014 17:28:10 +0800 >>> From: Rui Xiang >>> To: Lukáš Czerner >>> Cc: Dave Kleikamp , linux-e...@vger.kernel.org, >>>

[PATCH 1/1] ACPI: Check if acpi_device->handler is NULL when ACPI_HOTPLUG_MEMORY is not configured.

2014-08-06 Thread Tang Chen
When ACPI_HOTPLUG_MEMORY is not configured, memory_device_handler.attach is not set. And in acpi_scan_attach_handler(), the acpi_device->handler will not be initialized. In acpi_scan_hot_remove(), it doesn't check if acpi_device->handler is NULL. If we do memory hot-remove without

[no subject]

2014-08-06 Thread MR MARK CARNEY
Hello,i have a business proposal worth a sum of Twenty Million Six Hundred Thousand Great British Pounds.if interested please response through this email:markcarnetdept...@outlook.com. Regard Mark Carney -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [PATCH 1/7] arm: use generic fixmap.h

2014-08-06 Thread Laura Abbott
On 8/6/2014 12:32 PM, Kees Cook wrote: > From: Mark Salter > > ARM is different from other architectures in that fixmap pages are indexed > with a positive offset from FIXADDR_START. Other architectures index with > a negative offset from FIXADDR_TOP. In order to use the generic fixmap.h >

Re: [PATCH 1/2] [media] V4L: Add camera pan/tilt speed controls

2014-08-06 Thread Pawel Osciak
On Thu, Aug 7, 2014 at 12:10 AM, Vincent Palatin wrote: > > On Sun, Aug 3, 2014 at 10:52 PM, Pawel Osciak wrote: > > This looks good to me in general (with one comment below). I don't think we > > can easily implement current V4L2 pan and tilt controls that are for > > movement by a specified

Re: [PATCH 1/1] ARM: dts: Add Peach Pit and Pi dts entry for atmel touchpad

2014-08-06 Thread Doug Anderson
Fabio, On Wed, Aug 6, 2014 at 6:35 PM, Fabio Estevam wrote: > On Wed, Aug 6, 2014 at 10:08 PM, Javier Martinez Canillas > wrote: > >> +_8 { >> + status = "okay"; >> + clock-frequency = <333000>; > > Doesn't it work at the more standard 400kHz i2c frequency? I'm pretty sure that

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread Doug Anderson
Caesar, On Wed, Aug 6, 2014 at 6:27 PM, caesar wrote: > Doug, > > 在 2014年08月07日 06:46, Doug Anderson 写道: > >> Caesar, >> >> On Thu, Jul 24, 2014 at 3:21 AM, Caesar Wang >> wrote: >>> >>> +static const struct rockchip_pwm_data pwm_data_v1 = { >>> + .regs.duty = PWM_HRC, >>> +

Re: [PATCH v2 3/8] mm/page_alloc: fix pcp high, batch management

2014-08-06 Thread Zhang Yanfei
Hi Joonsoo, On 08/06/2014 03:18 PM, Joonsoo Kim wrote: > per cpu pages structure, aka pcp, has high and batch values to control > how many pages we perform caching. This values could be updated > asynchronously and updater should ensure that this doesn't make any > problem. For this purpose,

Re: [PATCH] alarmtimer: Add the verification code for rtc device error.

2014-08-06 Thread Hyogi Gim
On 07/31/2014 02:58 AM, John Stultz wrote: > > Hey! Sorry for the late response here. > > So this seems reasonable as always failing suspend is problematic, but > I worry that for the case where we do have a failure to read or set > the RTC, we'd suspend and not wake up as specified, which is

Re: [3.13.y.z extended stable] Patch "locking/mutex: Disable optimistic spinning on some architectures" has been added to staging queue

2014-08-06 Thread Andev
On Wed, Aug 6, 2014 at 9:55 PM, Kamal Mostafa wrote: > > On Wed, 2014-08-06 at 14:30 -0700, Davidlohr Bueso wrote: >> Well 3.13.y.z isn't an Ubuntu kernel, its upstream, and those archs >> *are* supported. > > Davidlohr's answer is correct: This is not an "Ubuntu kernel". > > 3.13.y.z is an

Re: [PATCH] driver/rtc/class.c: check the error after rtc_read_time()

2014-08-06 Thread Hyogi Gim
On 07/24/2014 09:19 AM, Andrew Morton wrote: > > So what should rtc do in this case? At present it pretends the read > succeeded. Either way, this doesn't seem to be the place to be making > such policy decisions.. > > > I agree. But, in this case, RTC device driver can not do anything.

Re: [3.13.y.z extended stable] Patch "locking/mutex: Disable optimistic spinning on some architectures" has been added to staging queue

2014-08-06 Thread Kamal Mostafa
> On Wed, 2014-08-06 at 17:25 -0400, Andev wrote: > > On Wed, Aug 6, 2014 at 4:54 PM, Kamal Mostafa wrote: > > > This is a note to let you know that I have just added a patch titled > > > > > > locking/mutex: Disable optimistic spinning on some architectures > > > > > > to the

[PATCH] sh: bug: add unreachable() to silence warnings

2014-08-06 Thread Nick Krause
SuperH BUG() have warnings like kernel/sched/core.c:2692:1: warning: control reaches end of non-void function [-Wreturn-type] net/core/ethtool.c:236:1: warning: control reaches end of non-void function [-Wreturn-type] Other BUG() implementations have added unreachable() at end becuase of which I

RE: [PATCH 1/3] libsas: modify SATA error handler

2014-08-06 Thread Xiangliang Yu
Hi, Dan I haven't receive your review comments, could you send it to me again, thanks! PS: I can't login my gmail, so please send mail to this count. -Original Message- From: Dan Williams [mailto:dan.j.willi...@intel.com] Sent: 2014年8月7日 1:22 To: Xiangliang Yu Cc:

Re: vmstat: On demand vmstat workers V8

2014-08-06 Thread Sasha Levin
On 08/06/2014 10:12 AM, Christoph Lameter wrote: > On Tue, 5 Aug 2014, Sasha Levin wrote: > >> > I can easily trigger it by cranking up the cpu hotplug code. Just try to >> > frequently offline and online cpus, it should reproduce quickly. > Thats what I thought. > > The test was done with this

Re: [PATCH 1/1] ARM: dts: Add Peach Pit and Pi dts entry for atmel touchpad

2014-08-06 Thread Javier Martinez Canillas
Hello Fabio, On 08/07/2014 03:35 AM, Fabio Estevam wrote: > On Wed, Aug 6, 2014 at 10:08 PM, Javier Martinez Canillas > wrote: > >> +_8 { >> + status = "okay"; >> + clock-frequency = <333000>; > > Doesn't it work at the more standard 400kHz i2c frequency? > Most bits of this DTS

Re: [PATCH v2 1/8] mm/page_alloc: correct to clear guard attribute in DEBUG_PAGEALLOC

2014-08-06 Thread Zhang Yanfei
On 08/06/2014 03:18 PM, Joonsoo Kim wrote: > In __free_one_page(), we check the buddy page if it is guard page. > And, if so, we should clear guard attribute on the buddy page. But, > currently, we clear original page's order rather than buddy one's. > This doesn't have any problem, because

Re: [PATCH 1/2] Input: atmel_mxt_ts - Get IRQ edge/level flags on DT booting

2014-08-06 Thread Javier Martinez Canillas
Hello Tomasz, Thanks a lot for your feedback. On 08/07/2014 03:14 AM, Tomasz Figa wrote: > Hi Javier, > > > Have you observed an actual failure due to this? I believe that Yes, I found this issue since the driver was not taking into account the value defined in the edge/level type cells from

Re: [PATCH 1/1] ARM: dts: Add Peach Pit and Pi dts entry for atmel touchpad

2014-08-06 Thread Fabio Estevam
On Wed, Aug 6, 2014 at 10:08 PM, Javier Martinez Canillas wrote: > +_8 { > + status = "okay"; > + clock-frequency = <333000>; Doesn't it work at the more standard 400kHz i2c frequency? -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

RE: [PATCH] KVM: x86: always exit on EOIs for interrupts listed in the IOAPIC redir table

2014-08-06 Thread Zhang, Yang Z
Paolo Bonzini wrote on 2014-08-06: > Il 06/08/2014 16:03, Zhang, Yang Z ha scritto: >> Paolo Bonzini wrote on 2014-07-31: >>> Probably, the guest is masking the interrupt in the redirection >>> table in the interrupt routine, i.e. while the interrupt is set in a >>> LAPIC's ISR. >>> The simplest

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Dave Young
On 08/06/14 at 02:40pm, Ard Biesheuvel wrote: > On 6 August 2014 10:38, Dave Young wrote: > > > > Adding a noefi boot param like in X86 to disable efi runtime services > > support. > > > > This will be useful for debugging uefi problems. Also it will be useful > > for later kexec/kdump work.

Re: [PATCH v4 2/2] pwm: rockchip: Added to support for RK3288 SoC

2014-08-06 Thread caesar
Doug, 在 2014年08月07日 06:46, Doug Anderson 写道: Caesar, On Thu, Jul 24, 2014 at 3:21 AM, Caesar Wang wrote: +static const struct rockchip_pwm_data pwm_data_v1 = { + .regs.duty = PWM_HRC, + .regs.period = PWM_LRC, + .regs.cntr = PWM_CNTR, + .regs.ctrl = PWM_CTRL, +

Re: [PATCH RFC] sched: deferred set priority (dprio)

2014-08-06 Thread Sergey Oboguev
On Tue, Aug 5, 2014 at 10:41 PM, Mike Galbraith wrote: >> > SCHED_NORMAL where priority escalation does not work as preemption proofing >> >> Remember, DPRIO is not for lock holders only. >> >> Using DPRIO within SCHED_NORMAL policy would make sense for an application >> that >> has "soft"

Re: [PATCH 1/2] UEFI arm64: add noefi boot param

2014-08-06 Thread Dave Young
On 08/06/14 at 03:01pm, Matt Fleming wrote: > On Wed, 06 Aug, at 02:29:41PM, Leif Lindholm wrote: > > On Wed, Aug 06, 2014 at 02:20:21PM +0100, Matt Fleming wrote: > > > > Since this is really turning an x86-specific feature into a generic > > > > one, could it be moved to core code? > > > > Maybe

Re: [PATCH 1/2] Input: atmel_mxt_ts - Get IRQ edge/level flags on DT booting

2014-08-06 Thread Tomasz Figa
Hi Javier, On 07.08.2014 02:48, Javier Martinez Canillas wrote: > The Atmel maXTouch driver assumed that the IRQ type flags will > always be passed using platform data but this is not true when > booting using Device Trees. In these setups the interrupt type > was ignored by the driver when

[PATCH 1/1] bug: Add unreachable() to generic BUG() to silence warnings

2014-08-06 Thread Nick Krause
Architectures which use generic BUG() have warnings like kernel/sched/core.c:2692:1: warning: control reaches end of non-void function [-Wreturn-type] net/core/ethtool.c:236:1: warning: control reaches end of non-void function [-Wreturn-type] Other BUG() implementations have added

[PATCH 1/1] ARM: dts: Add Peach Pit and Pi dts entry for atmel touchpad

2014-08-06 Thread Javier Martinez Canillas
From: Sjoerd Simons The Peach Pit and Pi boards have an Atmel maXTouch device. Add the needed Device Tree nodes to support it. Signed-off-by: Sjoerd Simons [javier.martinez: added linux,gpio-keymap property and changed IRQ type] Signed-off-by: Javier Martinez Canillas --- With only this

Re: [PATCH] seq_file: Allow private data to be supplied on seq_open

2014-08-06 Thread Eric W. Biederman
Al Viro writes: > On Wed, Aug 06, 2014 at 05:16:49PM +0100, Rob Jones wrote: > >> I'm not quite sure I understand your meaning when you say "via seq_open" >> though, that function call format needs to stay the same or lots of >> code will break, so I can't just add the third parameter on the

Re: [PATCH v2 0/8] fix freepage count problems in memory isolation

2014-08-06 Thread Zhang Yanfei
Hi Joonsoo, The first 3 patches in this patchset are in a bit of mess. On 08/06/2014 03:18 PM, Joonsoo Kim wrote: > Hello, > > This patchset aims at fixing problems during memory isolation found by > testing my patchset [1]. > > These are really subtle problems so I can be wrong. If you find

[PATCH 2/2] Input: atmel_mxt_ts - Add keycodes array example

2014-08-06 Thread Javier Martinez Canillas
The Atmel maXTouch driver allows to dynamically define the event keycodes set that the device is capable of. This may not be evident when reading the DT binding document so add an example to make it easier to understand how this works. Also, the current documentation says that the array limit is

[PATCH 1/2] Input: atmel_mxt_ts - Get IRQ edge/level flags on DT booting

2014-08-06 Thread Javier Martinez Canillas
The Atmel maXTouch driver assumed that the IRQ type flags will always be passed using platform data but this is not true when booting using Device Trees. In these setups the interrupt type was ignored by the driver when requesting an IRQ. This means that it will fail if a machine specified other

RE: [PATCH] Input: hyperv-keyboard: register as a wakeup source

2014-08-06 Thread Dexuan Cui
> -Original Message- > From: linux-kernel-ow...@vger.kernel.org [mailto:linux-kernel- > ow...@vger.kernel.org] On Behalf Of Dmitry Torokhov > > Hi Dmitry, > > Sorry, I didn't realize it's not public... :-) > > > > I'll remove the line and re-send the patch. > > > > No need to resend, I

Re: [GIT PULL] Global signal cleanup

2014-08-06 Thread Stephen Rothwell
Hi Richard, On Wed, 06 Aug 2014 13:29:10 +0200 Richard Weinberger wrote: > > Am 06.08.2014 13:27, schrieb Stephen Rothwell: > > > > On Wed, 06 Aug 2014 13:18:54 +0200 Richard Weinberger > > wrote: > >> > >> the following changes since commit > >> 19583ca584d6f574384e17fe7613dfaeadcdc4a6: >

Re: [PATCH] staging: nokia_h4: nokia_core.c: use usleep_range() instead of msleep()

2014-08-06 Thread Greg KH
On Wed, Aug 06, 2014 at 11:30:55PM +0200, Pavel Machek wrote: > On Wed 2014-08-06 13:56:33, Marcel Holtmann wrote: > > Hi Greg, > > > > >>> Creating this patch for the Eudyptula Challenge. > > >>> Replaced msleep() for a delay < 20ms with a > > >>> usleep_range() between 1us and

Re: [PATCH] Input: hyperv-keyboard: register as a wakeup source

2014-08-06 Thread Dmitry Torokhov
On Wed, Aug 6, 2014 at 5:19 PM, Dexuan Cui wrote: > > > -Original Message- > > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > > Sent: Thursday, August 7, 2014 4:34 AM > > To: Dexuan Cui > > On Fri, Aug 01, 2014 at 07:28:24AM -0700, Dexuan Cui wrote: > > > With this patch, we

[PATCH v3 1/2] staging: iio: accel: Add blank lines between declarations and code

2014-08-06 Thread Murilo Opsfelder Araujo
This patch adds missing blank lines between declarations and code and fixes lines starting by spaces, satisfying checkpatch.pl. Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/adis16201_core.c | 5 +++-- drivers/staging/iio/accel/adis16203_core.c | 2 ++

[PATCH v3 2/2] staging: iio: accel: sca3000_core.c: Adjust code to fit 80-chars limit

2014-08-06 Thread Murilo Opsfelder Araujo
Signed-off-by: Murilo Opsfelder Araujo --- drivers/staging/iio/accel/sca3000_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index bc53fedb..e4e5639 100644 ---

[PATCH v3 0/2] staging: iio: accel: Multiple coding style fixes

2014-08-06 Thread Murilo Opsfelder Araujo
The following patches fix almost all warnings reported by checkpatch.pl. v2 -> v3 changes: - Folded blank line patches into a single patch. - Fit code in 80-chars limit and still be human-readable. Murilo Opsfelder Araujo (2): staging: iio: accel: Add blank lines between declarations and code

RE: [PATCH] Input: hyperv-keyboard: register as a wakeup source

2014-08-06 Thread Dexuan Cui
> -Original Message- > From: Dmitry Torokhov [mailto:dmitry.torok...@gmail.com] > Sent: Thursday, August 7, 2014 4:34 AM > To: Dexuan Cui > On Fri, Aug 01, 2014 at 07:28:24AM -0700, Dexuan Cui wrote: > > With this patch, we can press a key to wake up the VM after the VM > executes > >

[PATCH to be tested] serial: msm_serial: add missing sysrq handling

2014-08-06 Thread Frank Rowand
Stephen, Can you test this patch on v 1.3 hardware? It works on my v 1.4. If you use kdmx2, the way to send a break is '~B'. The previous key pressed must be for the '~' escape to be recognized. Thanks! -Frank From: Frank Rowand Add missing sysrq handling to msm_serial. Signed-off-by:

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread Josh Triplett
On Wed, Aug 06, 2014 at 04:37:54PM -0700, David Rientjes wrote: > On Wed, 6 Aug 2014, Josh Triplett wrote: > > On Wed, Aug 06, 2014 at 03:38:56PM -0700, David Rientjes wrote: > > > On Wed, 6 Aug 2014, Josh Triplett wrote: > > > > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > > > > index

Re: WARN_ON_ONCE(in_nmi()) hit in irq_work_queue_on

2014-08-06 Thread Frederic Weisbecker
On Wed, Aug 06, 2014 at 07:01:51PM +0200, Peter Zijlstra wrote: > > Sigh, that's d84153d6c96f61a so that's been there a while, and been > > broken equally long. > > > > So this is where we run a low period (!freq) hardware event on a > > nohz_full cpu or so? And because it throttles, we need to

Re: [PATCH 2/2] x86: Add "make tinyconfig" to configure the tiniest possible kernel

2014-08-06 Thread David Rientjes
On Wed, 6 Aug 2014, Josh Triplett wrote: > On Wed, Aug 06, 2014 at 03:38:56PM -0700, David Rientjes wrote: > > On Wed, 6 Aug 2014, Josh Triplett wrote: > > > diff --git a/arch/x86/Makefile b/arch/x86/Makefile > > > index 1568678..2b5ca16 100644 > > > --- a/arch/x86/Makefile > > > +++

Re: [PATCH v3 2/2] ARM : change fixmap mapping region to support 32 CPUs

2014-08-06 Thread Kees Cook
On Wed, Aug 6, 2014 at 3:16 PM, Russell King - ARM Linux wrote: > On Wed, Aug 06, 2014 at 10:28:37AM -0700, Kees Cook wrote: >> That's what I was thinking. I tried this, and things are still weird, >> though I think I'm narrowing it down. I made the early_pte_alloc >> happen, but after boot it

Re: [PATCH 5/5] Export the temperatures via hwmon

2014-08-06 Thread Guenter Roeck
On Wed, Aug 06, 2014 at 09:05:03PM +, Goffredo Baroncelli wrote: > From: Goffredo Baroncelli > > Export the temperature via the hwmon subsystem. > See the list below for the sensors exported: > > $ cd /sys/devices/temperature/hwmon/hwmon0 > $ echo "name: $(cat name)"; for i in temp*; do

Re: [PATCH 3/4] brd: Fix all partitions BUGs

2014-08-06 Thread Ross Zwisler
On Wed, 2014-08-06 at 14:33 +0300, Boaz Harrosh wrote: > This patch fixes up brd's partitions scheme, now enjoying all worlds. > > The MAIN fix here is that currently if one fdisks some partitions, > a BAD bug will make all partitions point to the same start-end sector > ie: 0 - brd_size And an

Re: [PATCH net-next v3] tcp: md5: check md5 signature without socket lock

2014-08-06 Thread David Miller
From: Dmitry Popov Date: Thu, 7 Aug 2014 02:38:22 +0400 > Since a8afca032 (tcp: md5: protects md5sig_info with RCU) tcp_md5_do_lookup > doesn't require socket lock, rcu_read_lock is enough. Therefore socket lock is > no longer required for tcp_v{4,6}_inbound_md5_hash too, so we can move these >

RE: [PATCH v4 2/2] usb: dwc2: add 'mode' which based on Kconfig select or dts setting

2014-08-06 Thread Paul Zimmerman
> From: diand...@google.com [mailto:diand...@google.com] On Behalf Of Doug > Anderson > Sent: Wednesday, August 06, 2014 3:25 PM > > On Tue, Aug 5, 2014 at 6:01 PM, Kever Yang wrote: > > According to the "dr_mode", the otg controller can work as > > device role and host role. Some boards always

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-06 Thread Russell King - ARM Linux
On Wed, Aug 06, 2014 at 03:23:23PM +0100, Jon Medhurst (Tixy) wrote: > On Tue, 2014-08-05 at 15:28 +0800, Wang Nan wrote: > > +static inline int > > +arm_branch_to_addr(unsigned int *pinst, void *src, void *dest) > > +{ > > + unsigned int inst = 0xea00; > > + long offset = (unsigned

Re: [RFC PATCH] kprobes: arm: enable OPTPROBES for arm 32

2014-08-06 Thread Russell King - ARM Linux
On Tue, Aug 05, 2014 at 03:28:17PM +0800, Wang Nan wrote: > This patch introduce kprobeopt for ARM 32. > > Limitations: > - Currently only kernel compiled with ARM ISA is supported. > > - offset between probe point and kprobe pre_handler must not larger > than 64MiB. Masami Hiramatsu

Re: [PATCH 1/3] mtd: nand: omap: Revert to using software ECC by default

2014-08-06 Thread Grazvydas Ignotas
On Wed, Aug 6, 2014 at 11:02 AM, Roger Quadros wrote: > Hi Gražvydas, > > On 08/05/2014 07:15 PM, Grazvydas Ignotas wrote: >> On Tue, Aug 5, 2014 at 1:11 PM, Roger Quadros wrote: >>> For v3.12 and prior, 1-bit Hamming code ECC via software was the >>> default choice. Commit c66d039197e4 in v3.13

  1   2   3   4   5   6   7   8   9   10   >