Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Sudip Mukherjee
d to have more checkpatch errors. > > > > It's a process, don't worry about most intermediate > > warnings when doing checkpatch cleanups. > > > > Adding trailing spaces is not good, nearly every > > other type of message can be ignored. > > > ok, jus

Re: [PATCH 6/8] regulator: max77686: Add external GPIO control

2014-10-31 Thread Alexandre Courbot
On Fri, Oct 31, 2014 at 4:51 PM, Krzysztof Kozlowski wrote: > On pią, 2014-10-31 at 12:31 +0900, Alexandre Courbot wrote: >> On Fri, Oct 31, 2014 at 12:03 AM, Krzysztof Kozlowski >> wrote: >> > On czw, 2014-10-30 at 22:56 +0900, Alexandre Courbot wrote: >> >> Hi, and thanks for bringing this

[PATCH] soc: ti: knav_qmss_queue: Use list_for_each_entry_safe to prevent use after free

2014-10-31 Thread Axel Lin
list_for_each_entry_safe() is necessary if list objects are deleted from the list while traversing it. Signed-off-by: Axel Lin --- drivers/soc/ti/knav_qmss_queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/soc/ti/knav_qmss_queue.c

Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Sudip Mukherjee
d to have more checkpatch errors. > > > > It's a process, don't worry about most intermediate > > warnings when doing checkpatch cleanups. > > > > Adding trailing spaces is not good, nearly every > > other type of message can be ignored. > > > ok, just

Re: [RFD] perf syscall error handling

2014-10-31 Thread Vince Weaver
On Fri, 31 Oct 2014, Stephane Eranian wrote: > On Fri, Oct 31, 2014 at 1:28 PM, Matt Fleming wrote: > > > > I guess we'd run into a problem if userspace doesn't want to just print > > the kernel string but instead wants to parse it in some fashion. If the string interface went in it would be a

Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Sudip Mukherjee
s. > > Adding trailing spaces is not good, nearly every > other type of message can be ignored. > ok, just to verify, i thought of trying to generate a similar patch which will not give checkpatch errors. but this patch is not applying to next-20141031. thanks sudip -- To unsubscribe f

Re: [PATCH v2 6/6] staging: ft1000: space required after that ','

2014-10-31 Thread Sudip Mukherjee
On Sat, Nov 01, 2014 at 10:47:27AM +0800, Chen Weixiang wrote: > Remove following code style error from ft1000/ft1000-usb/ft1000_debug.c: > ERROR: space required after that ',' (ctx:VxV) > from checkpatch: total: 11 errors, 15 warnings, 46 lines checked NOTE: whitespace errors detected, you may

Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Joe Perches
On Sat, 2014-11-01 at 10:35 +0530, Sudip Mukherjee wrote: > On Sat, Nov 01, 2014 at 10:47:22AM +0800, Chen Weixiang wrote: > > Remove following code style errors from ft1000/ft1000-usb/ft1000_debug.c > > and ft1000/ft1000-pcmcia/ft1000_hw.c: > > ERROR: spaces required around that '=' (ctx:VxV) > >

Re: [PATCH v2 5/6] staging: ft1000: else should follow close brace '}'

2014-10-31 Thread Sudip Mukherjee
On Sat, Nov 01, 2014 at 10:47:26AM +0800, Chen Weixiang wrote: > Remove code style error from ft1000/ft1000-pcmcia/ft1000_hw.c: > ERROR: else should follow close brace '}' > from checkpatch: total: 1 errors, 2 warnings, 44 lines checked NOTE: whitespace errors detected, you may wish to use

Re: [PATCH v2 3/6] staging: ft1000: "(foo*)" should be "(foo *)"

2014-10-31 Thread Sudip Mukherjee
On Sat, Nov 01, 2014 at 10:47:24AM +0800, Chen Weixiang wrote: > Remove following code style error from ft1000/ft1000-usb/ft1000_debug.c: > ERROR: "(foo*)" should be "(foo *)" > again checkpatch gives total: 4 errors, 3 warnings, 16 lines checked. this includes whitespace errors. thanks sudip >

Re: [PATCH v2 2/6] staging: ft1000: space prohibited after '(', '&' and before ')'

2014-10-31 Thread Sudip Mukherjee
On Sat, Nov 01, 2014 at 10:47:23AM +0800, Chen Weixiang wrote: > Remove following code style errors from ft1000/ft1000-pcmcia/ft1000_hw.c: > ERROR: space prohibited after that open parenthesis '(' > ERROR: space prohibited before that close parenthesis ')' > ERROR: space prohibited after that '&'

Re: [PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Sudip Mukherjee
On Sat, Nov 01, 2014 at 10:47:22AM +0800, Chen Weixiang wrote: > Remove following code style errors from ft1000/ft1000-usb/ft1000_debug.c > and ft1000/ft1000-pcmcia/ft1000_hw.c: > ERROR: spaces required around that '=' (ctx:VxV) > ERROR: spaces required around that '<' (ctx:VxV) > ERROR: spaces

Re: 3.17.2. issue?

2014-10-31 Thread Udo van den Heuvel
All, On 2014-11-01 05:51, Udo van den Heuvel wrote: > I'll test this today, I hope. Works! Kind regards, Udo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCH v3] staging: panel: Remove outdated TODO tasks

2014-10-31 Thread Sudip Mukherjee
On Fri, Oct 31, 2014 at 11:08:34PM +0100, Konrad Zapalowicz wrote: > On 10/31, Mariusz Gorski wrote: > > Remove Lindent and checkpatch.pl tasks from TODO file as the first one > > is obsolete and the other one is already done. > > when i checked panel.c with checkpatch and with --strict option,

Re: 3.17.2. issue?

2014-10-31 Thread Udo van den Heuvel
Hello, On 2014-10-31 18:47, Hans Verkuil wrote: > Fixed by this patch: https://patchwork.linuxtv.org/patch/26302/ I'll test this today, I hope. Thanks!! Kind regards, Udo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH] Remove outdated TODO tasks

2014-10-31 Thread Sudip Mukherjee
On Fri, Oct 31, 2014 at 10:06:46PM +0100, Mariusz Gorski wrote: > Remove Lindent and checkpatch.pl tasks from TODO file as the first one > is obsolete and the other one is already done. when i checked panel.c with checkpatch and with --strict option, i got 20 checks. thanks sudip > >

[PATCH v2] iio: adc: exynos_adc: Add support for exynos7

2014-10-31 Thread Abhilash Kesavan
The ADC on exynos7 is quite similar to ADCv2. The differences are as follows: - exynos7-adc has 8 input channels (as against 10 in ADCv2). - exynos7 does not include an ADC PHY control register. - Some ADC_CON2 register bits being used in ADCv2 are listed as

Re: [PATCH] iio: adc: exynos_adc: Add support for ADCv3 on exynos7

2014-10-31 Thread Abhilash Kesavan
Hi Chanwoo, On Fri, Oct 31, 2014 at 9:44 PM, Chanwoo Choi wrote: > Hi Abhilash, > > On Fri, Oct 31, 2014 at 11:01 PM, Abhilash Kesavan > wrote: >> Hi Chanwoo, >> >> Thanks for the quick response. >> >> On Fri, Oct 31, 2014 at 6:17 PM, Chanwoo Choi wrote: >>> Hi Abhilash, >>> >>> On 10/31/2014

Re: [PATCH] drivers: net: ethernet: xilinx: xilinx_emaclite: Compatible with 'xlnx,xps-ethernetlite-2.00.b' for QEMU using

2014-10-31 Thread Chen Gang
On 11/1/14 11:08, Chen Gang wrote: > When use current latest upstream qemu (current version: 2.1.2), need let > driver compatible with 'xlnx,xps-ethernetlite-2.00.b', or can not find > net device in microblaze qemu. Related QEMU commands under fedora 20: > > yum install libvirt > yum install

[PATCH 2/2] regulator: of: Add support for parsing microvolts for suspend state

2014-10-31 Thread Doug Anderson
Leverage all the work that was done in (40e20d6 regulator: of: Add support for parsing regulator_state for suspend state) and throw in the ability to set suspend microvolts from the device tree. Signed-off-by: Doug Anderson --- drivers/regulator/of_regulator.c | 4 1 file changed, 4

[PATCH 1/2] regulator: Document binding for regulator suspend voltage

2014-10-31 Thread Doug Anderson
This patch builds upon (291d761 regulator: Document binding for regulator suspend state for PM state) to allow setting the uV in addition to the state at suspend time. Signed-off-by: Doug Anderson --- Documentation/devicetree/bindings/regulator/regulator.txt | 2 ++ 1 file changed, 2

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-10-31 Thread Andy Lutomirski
On Fri, Oct 31, 2014 at 7:59 PM, Eric W. Biederman wrote: > Andy Lutomirski writes: >>> @@ -1862,6 +1904,7 @@ static struct file_system_type cgroup_fs_type = { >>> .name = "cgroup", >>> .mount = cgroup_mount, >>> .kill_sb = cgroup_kill_sb, >>> + .fs_flags =

[PATCH] ASoC: simple-card: add "invert" property for detect GPIOs

2014-10-31 Thread Jianqun
Since hardware may invert detect GPIO of headphone or mic, add one property to support software invert. Signed-off-by: Jianqun --- sound/soc/generic/simple-card.c | 15 +++ 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/sound/soc/generic/simple-card.c

[PATCH] drivers: net: ethernet: xilinx: xilinx_emaclite: Compatible with 'xlnx,xps-ethernetlite-2.00.b' for QEMU using

2014-10-31 Thread Chen Gang
When use current latest upstream qemu (current version: 2.1.2), need let driver compatible with 'xlnx,xps-ethernetlite-2.00.b', or can not find net device in microblaze qemu. Related QEMU commands under fedora 20: yum install libvirt yum install tunctl tunctl -b ip link set tap0 up

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-10-31 Thread Eric W. Biederman
Andy Lutomirski writes: >> @@ -1862,6 +1904,7 @@ static struct file_system_type cgroup_fs_type = { >> .name = "cgroup", >> .mount = cgroup_mount, >> .kill_sb = cgroup_kill_sb, >> + .fs_flags = FS_USERNS_MOUNT, > > Aargh, another one! Eric, can you either ack or nack

[PATCH v2] ASoC: rockchip: i2s: add text after tristate for SND_SOC_ROCKCHIP_I2S

2014-10-31 Thread Jianqun
For SND_SOC_ROCKCHIP_I2S, adding some text after the tristate to make this directly user selectable. Signed-off-by: Jianqun --- changes since v1: -to make this directlyuser selectable by adding some text after the tristate as well as the rest, suggested by Mark -to use the existing MAX98090

Re: [PATCH v2] Input: i8042 - add mux quirk for HP EliteBook

2014-10-31 Thread Dmitry Torokhov
On Tue, Oct 28, 2014 at 04:08:41PM -0700, Dmitry Torokhov wrote: > On Tue, Oct 28, 2014 at 10:27:12PM +, Luis Henriques wrote: > > This laptop requires active multiplexing to be enabled in order to be able > > to separate the PS/2 mouse and the touchpad. > > > > Signed-off-by: Luis Henriques

[PATCH v17 0/5] Rockchip soc thermal driver

2014-10-31 Thread Caesar Wang
This series patchs tested on rk3288 SDK board and pinky-v1,v2 board. I believe the driver can be used on the rk3288-evb board. Add this driver, The system will shutdown when the thermal temperture over 100C.If for some reason we are unable to shut it down in orderly fashion (kernel is stuck

[PATCH v17 4/5] ARM: dts: add main Thermal info to rk3288

2014-10-31 Thread Caesar Wang
This patch is depend on rk3288-thermal.dtsi,or it will compile error. If for some reason we are unable to shut it down in orderly fashion (kernel is stuck holding a lock or similar), then hardware TSHUT will reset it. If the temperature over a period of time High,over 105C the resulting TSHUT

[PATCH v17 5/5] ARM: dts: enable Thermal on rk3288-evb board

2014-10-31 Thread Caesar Wang
when a thermal temperature over TSHUT.Default to via CRU reset the entire chip on rk3288-evb Board, TSHUT is low active on rk3288-evb board. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-evb.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git

[PATCH v17 2/5] dt-bindings: document Rockchip thermal

2014-10-31 Thread Caesar Wang
This add the necessary binding documentation for the thermal found on Rockchip SoCs Signed-off-by: zhaoyifeng Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- .../bindings/thermal/rockchip-thermal.txt | 63 ++ 1 file changed, 63 insertions(+) create

[PATCH v17 3/5] ARM: dts: add RK3288 Thermal data

2014-10-31 Thread Caesar Wang
This patch changes a dtsi file to contain the thermal data on RK3288 and later SoCs. This data will enable a thermal shutdown over 100C. Signed-off-by: Caesar Wang Reviewed-by: Dmitry Torokhov --- arch/arm/boot/dts/rk3288-thermal.dtsi | 78 +++ 1 file changed,

[PATCH v17 1/5] thermal: rockchip: add driver for thermal

2014-10-31 Thread Caesar Wang
Thermal is TS-ADC Controller module supports user-defined mode and automatic mode. User-defined mode refers,TSADC all the control signals entirely by software writing to register for direct control. Automaic mode refers to the module automatically poll TSADC output, and the results were

Re: [PATCH] KVM: x86: fix access memslots w/o hold srcu read lock

2014-10-31 Thread Wanpeng Li
Hi Paolo, On 14/10/31 下午6:36, Paolo Bonzini wrote: On 31/10/2014 06:30, Chen, Tiejun wrote: @@ -4442,6 +4442,7 @@ static void vmx_vcpu_reset(struct kvm_vcpu *vcpu) { struct vcpu_vmx *vmx = to_vmx(vcpu); struct msr_data apic_base_msr; + int idx;

[PATCH v2 4/6] staging: ft1000: "foo * bar" should be "foo *bar"

2014-10-31 Thread Chen Weixiang
Remove following code style error from ft1000/ft1000-pcmcia/ft1000_hw.c: ERROR: "foo * bar" should be "foo *bar" Signed-off-by: Chen Weixiang --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 2/6] staging: ft1000: space prohibited after '(', '&' and before ')'

2014-10-31 Thread Chen Weixiang
Remove following code style errors from ft1000/ft1000-pcmcia/ft1000_hw.c: ERROR: space prohibited after that open parenthesis '(' ERROR: space prohibited before that close parenthesis ')' ERROR: space prohibited after that '&' (ctx:WxW) Signed-off-by: Chen Weixiang ---

[PATCH v2 3/6] staging: ft1000: "(foo*)" should be "(foo *)"

2014-10-31 Thread Chen Weixiang
Remove following code style error from ft1000/ft1000-usb/ft1000_debug.c: ERROR: "(foo*)" should be "(foo *)" Signed-off-by: Chen Weixiang --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[PATCH v2 6/6] staging: ft1000: space required after that ','

2014-10-31 Thread Chen Weixiang
Remove following code style error from ft1000/ft1000-usb/ft1000_debug.c: ERROR: space required after that ',' (ctx:VxV) Signed-off-by: Chen Weixiang --- drivers/staging/ft1000/ft1000-usb/ft1000_debug.c | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

[PATCH v2 5/6] staging: ft1000: else should follow close brace '}'

2014-10-31 Thread Chen Weixiang
Remove code style error from ft1000/ft1000-pcmcia/ft1000_hw.c: ERROR: else should follow close brace '}' Signed-off-by: Chen Weixiang --- drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 15 +-- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git

[PATCH v2 1/6] staging: ft1000: spaces required around that '=', '<' and '=='

2014-10-31 Thread Chen Weixiang
Remove following code style errors from ft1000/ft1000-usb/ft1000_debug.c and ft1000/ft1000-pcmcia/ft1000_hw.c: ERROR: spaces required around that '=' (ctx:VxV) ERROR: spaces required around that '<' (ctx:VxV) ERROR: spaces required around that '==' (ctx:VxV) Signed-off-by: Chen Weixiang ---

[PATCH v2 0/6] Remove checkpatch.pl errors from drivers/staging/ft1000

2014-10-31 Thread Chen Weixiang
This is the version 2 of the patch series. The following code style error is removed from the patch because it was already merged into Greg K-H staging.tree: ERROR: do not initialise statics to 0 or NULL This patch series are removing following code style errors from drivers/staging/ft1000:

[PATCH v3] KVM: x86: fix access memslots w/o hold srcu read lock

2014-10-31 Thread Wanpeng Li
The srcu read lock must be held while accessing memslots (e.g. when using gfn_to_* functions), however, commit c24ae0dcd3e8 ("kvm: x86: Unpin and remove kvm_arch->apic_access_page") call gfn_to_page() in kvm_vcpu_reload_apic_access_page() w/o hold it in vmx_vcpu_reset() path which leads to

Re: [PATCH] x86_64, entry: Fix out of bounds read on sysenter

2014-10-31 Thread Rusty Russell
Andy Lutomirski writes: > Rusty noticed a Really Bad Bug (tm) in my NT fix. The entry code > reads out of bounds, causing the NT fix to be unreliable. But, and > this is much, much worse, if your stack is somehow just below the > top of the direct map (or a hole), you read out of bounds and

Re: Machine crashes right *after* ~successful resume

2014-10-31 Thread Yinghai Lu
On Fri, Oct 31, 2014 at 5:00 PM, Wilmer van der Gaast wrote: > Hello, > > Patch #1 worked after a simple s/&&/)/. And patch #2 seems to fix the > problem as well! updated first #1. --- drivers/pci/pci.c | 18 ++ 1 file changed, 18 insertions(+) Index:

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-10-31 Thread Eric W. Biederman
Aditya Kali writes: > This patch enables cgroup mounting inside userns when a process > as appropriate privileges. The cgroup filesystem mounted is > rooted at the cgroupns-root. Thus, in a container-setup, only > the hierarchy under the cgroupns-root is exposed inside the container. > This

[PATCH] x86_64, entry: Fix out of bounds read on sysenter

2014-10-31 Thread Andy Lutomirski
Rusty noticed a Really Bad Bug (tm) in my NT fix. The entry code reads out of bounds, causing the NT fix to be unreliable. But, and this is much, much worse, if your stack is somehow just below the top of the direct map (or a hole), you read out of bounds and crash. Excerpt from the crash: [

Re: [PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-10-31 Thread Russell King - ARM Linux
On Sat, Nov 01, 2014 at 12:55:14AM +, Russell King - ARM Linux wrote: > On Sat, Nov 01, 2014 at 01:45:47AM +0100, Rafael J. Wysocki wrote: > > On Monday, October 20, 2014 11:04:46 AM Krzysztof Kozlowski wrote: > > > @@ -198,8 +217,10 @@ static int amba_probe(struct device *dev) > > >

Re: [PATCH v4 0/2] x86_64,entry: Clear NT on entry and speed up switch_to

2014-10-31 Thread Andy Lutomirski
On Fri, Oct 31, 2014 at 5:20 PM, Rusty Russell wrote: > Andy Lutomirski writes: >> Anish Bhatt noticed that user programs can set RFLAGS.NT before >> syscall or sysenter, and the kernel entry code doesn't filter out >> NT. This causes kernel C code and, depending on thread flags, the >> exit

Re: [PATCHv2 5/7] cgroup: introduce cgroup namespaces

2014-10-31 Thread Eric W. Biederman
Andy Lutomirski writes: > On Fri, Oct 31, 2014 at 12:18 PM, Aditya Kali wrote: >> +static void *cgroupns_get(struct task_struct *task) >> +{ >> + struct cgroup_namespace *ns = NULL; >> + struct nsproxy *nsproxy; >> + >> + rcu_read_lock(); >> + nsproxy = task->nsproxy;

Re: [PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-10-31 Thread Russell King - ARM Linux
On Sat, Nov 01, 2014 at 01:45:47AM +0100, Rafael J. Wysocki wrote: > On Monday, October 20, 2014 11:04:46 AM Krzysztof Kozlowski wrote: > > @@ -198,8 +217,10 @@ static int amba_probe(struct device *dev) > > pm_runtime_enable(dev); > > > > ret = pcdrv->probe(pcdev, id); >

[PATCH] davinci: Use standard logging styles

2014-10-31 Thread Joe Perches
Convert printks to pr_ and pr_warning to pr_warn. Other miscellanea: o Coalesce formats o Realign arguments o Use %s, __func__ instead of embedded function names o Add pr_fmt to mityomapl138 and mux Signed-off-by: Joe Perches --- arch/arm/mach-davinci/board-da830-evm.c| 89

Re: [PATCH v4 0/2] x86_64,entry: Clear NT on entry and speed up switch_to

2014-10-31 Thread Rusty Russell
Andy Lutomirski writes: > Anish Bhatt noticed that user programs can set RFLAGS.NT before > syscall or sysenter, and the kernel entry code doesn't filter out > NT. This causes kernel C code and, depending on thread flags, the > exit slow path to run with NT set. OK, this causes oopsen as a

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-10-31 Thread Laurent Pinchart
Hi Krzysztof, On Friday 31 October 2014 15:40:16 Krzysztof Kozlowski wrote: > On pią, 2014-10-31 at 15:22 +0100, Pavel Machek wrote: > > On Fri 2014-10-31 10:14:55, Krzysztof Kozlowski wrote: > >> On pon, 2014-10-20 at 11:04 +0200, Krzysztof Kozlowski wrote: > >>> Add a simple getter

Re: [PATCH v8 3/5] amba: Don't unprepare the clocks if device driver wants IRQ safe runtime PM

2014-10-31 Thread Rafael J. Wysocki
On Monday, October 20, 2014 11:04:46 AM Krzysztof Kozlowski wrote: > The AMBA bus driver defines runtime Power Management functions which > disable and unprepare AMBA bus clock. This is problematic for runtime PM > because unpreparing a clock might sleep so it is not interrupt safe. > > However

(Song) book of stamps. Lennart reigns, Linus follows.

2014-10-31 Thread John Garret
http://youtu.be/OBb488Ke6JQ How we really feel. A friend of mine and me laid down this track to let you all know how it really is that we feel, Lyrics: ... ... ... "why" ... ... We want you to take this to heart Linus, and everyone who's letting this happen. We invested our soul in this

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-10-31 Thread Rafael J. Wysocki
On Friday, October 31, 2014 11:04:52 PM Russell King - ARM Linux wrote: > On Sat, Nov 01, 2014 at 12:11:05AM +0100, Rafael J. Wysocki wrote: > > [CC list trimmed + added Kevin Hilman] > > > > On Monday, October 20, 2014 11:04:44 AM Krzysztof Kozlowski wrote: > > > Add a simple getter

[PATCH v3] drivers: s390: net: ctcm: migrate variables to handle y2038 problem

2014-10-31 Thread Aya Mahfouz
This patch is concerned with migrating the time variables for the s390 network driver. The changes handle the y2038 problem where timespec will overflow in the year 2038. timespec was replaced by unsigned long and all time variables get their values from the jiffies global variable. This was done

Re: [PATCHv2 7/7] cgroup: mount cgroupns-root when inside non-init cgroupns

2014-10-31 Thread Andy Lutomirski
On Fri, Oct 31, 2014 at 12:19 PM, Aditya Kali wrote: > This patch enables cgroup mounting inside userns when a process > as appropriate privileges. The cgroup filesystem mounted is > rooted at the cgroupns-root. Thus, in a container-setup, only > the hierarchy under the cgroupns-root is exposed

Re: [PATCH v2] x86, boot: add hex output for debugging

2014-10-31 Thread Joe Perches
On Fri, 2014-10-31 at 16:45 -0700, Josh Triplett wrote: > I don't think we need the full generality of printf in the decompression > stub. I prefer Kees' patch, though I'd still like to see __puthex made > conditional. Maybe use a statement expression macro instead? Something like this could

Re: [PATCHv2 5/7] cgroup: introduce cgroup namespaces

2014-10-31 Thread Andy Lutomirski
On Fri, Oct 31, 2014 at 12:18 PM, Aditya Kali wrote: > Introduce the ability to create new cgroup namespace. The newly created > cgroup namespace remembers the cgroup of the process at the point > of creation of the cgroup namespace (referred as cgroupns-root). > The main purpose of cgroup

Re: Machine crashes right *after* ~successful resume

2014-10-31 Thread Wilmer van der Gaast
Hello, Patch #1 worked after a simple s/&&/)/. And patch #2 seems to fix the problem as well! Wilmer v/d Gaast. -- + .''`. - -- ---+ +- -- --- - --+ | wilmer : :' : gaast.net | | OSS Programmer www.bitlbee.org | | lintux `. `~' debian.org | |

Re: [PATCH] x86, boot: add hex output for debugging

2014-10-31 Thread Josh Triplett
On Fri, Oct 31, 2014 at 01:55:33PM -0700, Kees Cook wrote: > On Fri, Oct 31, 2014 at 1:33 PM, wrote: > > On Fri, Oct 31, 2014 at 09:20:37AM -0700, Kees Cook wrote: > >> This is useful for reporting various addresses or other values while > >> debugging early boot. > >> > >> Signed-off-by: Kees

[git pull] Input updates for 3.18-rc0

2014-10-31 Thread Dmitry Torokhov
Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input.git for-linus or master.kernel.org:/pub/scm/linux/kernel/git/dtor/input.git for-linus to receive updates for the input subsystem. You will get a bunch of fixes for minor defects reported by

Re: [PATCH v2] x86, boot: add hex output for debugging

2014-10-31 Thread Josh Triplett
On Fri, Oct 31, 2014 at 04:31:32PM -0700, Yinghai Lu wrote: > On Fri, Oct 31, 2014 at 1:58 PM, Kees Cook wrote: > > This is useful for reporting various addresses or other values while > > debugging early boot. For example, when CONFIG_X86_VERBOSE_BOOTUP is set, > > this is now visible at boot

Re: [PATCH v2 1/1] ARM: exynos_defconfig: Enable options for display panel support

2014-10-31 Thread Javier Martinez Canillas
Hello Kukjin, On Mon, Aug 25, 2014 at 10:45 AM, Javier Martinez Canillas wrote: > Many Exynos devices have a display panel. Most of them just have > a simple panel while others have more complex configurations that > requires an embedded DisplayPort (eDP) to LVDS bridges. > > This patch enables

[PATCH v2] Staging: android: ion: fix typos in comments

2014-10-31 Thread tristan
From: Tristan Lelong s/comming/coming/ in drivers/staging/android/ion/ion.c s/specfic/specific/ in drivers/staging/android/ion/ion.h s/peformance/performance/ in drivers/staging/android/ion/ion_priv.h Signed-off-by: Tristan Lelong --- v2: update changelog message per Randy Dunlap suggestion.

Re: [PATCH v2] x86, boot: add hex output for debugging

2014-10-31 Thread Yinghai Lu
On Fri, Oct 31, 2014 at 1:58 PM, Kees Cook wrote: > This is useful for reporting various addresses or other values while > debugging early boot. For example, when CONFIG_X86_VERBOSE_BOOTUP is set, > this is now visible at boot time: > > early console in setup code > early console

Re: [GIT PULL] ext4 bug fixes for 3.18

2014-10-31 Thread Linus Torvalds
On Fri, Oct 31, 2014 at 2:49 PM, Theodore Ts'o wrote: > > Theodore Ts'o (1): > jbd2: use a better hash function for the revoke table Does it really make sense to use hash_u64()? It can be quite expensive (mainly on 32-bit targets), and since the low bits are where all the information is

Re: [PATCH] i8k: Add support for Dell Latitude E6440

2014-10-31 Thread Pali Rohár
On Friday 24 October 2014 20:44:59 Pali Rohár wrote: > On Saturday 18 October 2014 12:40:56 Greg Kroah-Hartman wrote: > > On Sat, Oct 18, 2014 at 12:23:39AM +0200, Pali Rohár wrote: > > > On Friday 10 October 2014 22:56:55 Guenter Roeck wrote: > > > > On 10/10/2014 02:12 AM, Pali Rohár wrote: > >

[PATCH RFC] sched/deadline: support dl task migrate during cpu hotplug

2014-10-31 Thread Wanpeng Li
Hi all, I observe that dl task can't be migrated to other cpus during cpu hotplug, in addition, task may/may not be running again if cpu is added back. The root cause which I found is that dl task will be throtted and removed from dl rq after comsuming all budget, which leads to stop task

Re: Machine crashes right *after* ~successful resume

2014-10-31 Thread Yinghai Lu
On Fri, Oct 31, 2014 at 2:22 PM, Yinghai Lu wrote: > On Fri, Oct 31, 2014 at 2:13 PM, Wilmer van der Gaast > wrote: >> On 31-10-14 16:11, Yinghai Lu wrote: >>> >>> >>> Good. Please check if attached one on top of 3.17 only would work too. >>> >> No luck, sadly. :-( Unsuccessful third resume.

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-10-31 Thread Russell King - ARM Linux
On Sat, Nov 01, 2014 at 12:11:05AM +0100, Rafael J. Wysocki wrote: > [CC list trimmed + added Kevin Hilman] > > On Monday, October 20, 2014 11:04:44 AM Krzysztof Kozlowski wrote: > > Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime > > PM IRQ safe was set or not. > > > >

Re: [PATCH 0/5] staging: comedi: split bus support into separate modules

2014-10-31 Thread Ian Abbott
On 31/10/14 22:53, Ian Abbott wrote: I like the idea of the core comedi module being separated from all the various buses. And other buses can be added easily without pulling extra dependencies into the core (e.g. for platform or spi devices). And if this get's accepted, I'd like to complete

Re: [PATCH v3] clk: rockchip: disable unused clocks

2014-10-31 Thread Doug Anderson
Kever, On Thu, Oct 30, 2014 at 10:10 PM, Kever Yang wrote: > The rockchip clock driver use CLK_IGNORE_UNUSED flag to make sure > all the clocks are available like default power on state. > We have implement the clock manage in most of rockchip drivers, > it is time to remove it for power save. >

Re: [PATCH 0/5] staging: comedi: split bus support into separate modules

2014-10-31 Thread Ian Abbott
On 31/10/14 22:18, Hartley Sweeten wrote: On Friday, October 31, 2014 3:09 PM, Ian Abbott wrote: On 31/10/14 18:19, Hartley Sweeten wrote: On Friday, October 31, 2014 10:48 AM, Ian Abbott wrote: The Comedi core module doesn't need support for PCI, USB or PCMCIA. Only the low-level Comedi

Re: [PATCH v8 1/5] PM / Runtime: Add getter for querying the IRQ safe option

2014-10-31 Thread Rafael J. Wysocki
[CC list trimmed + added Kevin Hilman] On Monday, October 20, 2014 11:04:44 AM Krzysztof Kozlowski wrote: > Add a simple getter pm_runtime_is_irq_safe() for querying whether runtime > PM IRQ safe was set or not. > > Various bus drivers implementing runtime PM may use choose to suspend >

Re: [PATCH 7/7] sched: Use WARN_ONCE for the might_sleep() TASK_RUNNING test

2014-10-31 Thread Oleg Nesterov
On 10/31, Peter Zijlstra wrote: > > In some cases this can trigger a true flood of output. > > Requested-by: Ingo Molnar > Signed-off-by: Peter Zijlstra (Intel) > --- > kernel/sched/core.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > --- a/kernel/sched/core.c > +++

[PATCH] m501fb: don't return zero on failure path in sm501fb_probe()

2014-10-31 Thread Alexey Khoroshilov
If no framebuffers found, sm501fb_probe() breaks off initialization, deallocates sm501fb_info, but returns zero. As a result, use after free can happen in sm501fb_remove(). The patch adds -ENODEV as a return value in this case. Found by Linux Driver Verification project (linuxtesting.org).

Re: [PATCH 3/3] ACPI / processor: Rename acpi_(un)map_lsapic() to acpi_(un)map_cpu()

2014-10-31 Thread Rafael J. Wysocki
On Friday, October 31, 2014 07:49:49 AM Hanjun Guo wrote: > On 2014年10月31日 04:12, Rafael J. Wysocki wrote: > > On Thursday, October 30, 2014 05:53:00 PM Hanjun Guo wrote: > >> acpi_map_lsapic() will allocate a logical CPU number and map it to > >> physical CPU id (such as APIC id) for the

Re: [PATCH 0/1] Compact interface for Device-Tree

2014-10-31 Thread Rafael J. Wysocki
On Saturday, November 01, 2014 05:13:45 AM Rob Herring wrote: > On Fri, Oct 31, 2014 at 6:59 AM, Gilad Avidov wrote: > > > > Device-Tree compact API > > > > > > Common code seen in driver’s probe reads device tree values and handling > > erroneous return codes from all

RE: [PATCH 0/5] staging: comedi: split bus support into separate modules

2014-10-31 Thread Hartley Sweeten
On Friday, October 31, 2014 3:09 PM, Ian Abbott wrote: > On 31/10/14 18:19, Hartley Sweeten wrote: >> On Friday, October 31, 2014 10:48 AM, Ian Abbott wrote: >>> The Comedi core module doesn't need support for PCI, USB or PCMCIA. >>> Only the low-level Comedi drivers need it. Split the support

Re: [PATCH 1/7] sched,wait: Fix a kthread race with wait_woken()

2014-10-31 Thread Oleg Nesterov
On 10/31, Peter Zijlstra wrote: > > There is a race between kthread_stop() and the new wait_woken() that > can result in a lack of progress. Likewise, the user of wait_woken() can miss any other event which is not associated with wq we are going to sleep on. Please see below. > +static inline

Re: [PATCH 7/8] cdrom: cdrom: export sysctl code

2014-10-31 Thread Joe Perches
On Fri, 2014-10-31 at 22:48 +0100, Fabian Frederick wrote: > -Move all sysctl operations to cdrom_sysctl > -Remove static/add extern in cdrom.h for some variables > -Rename debug to cdrom_debug > -Fix some checkpatch warnings > -Update cdrom makefile accordingly. [] > diff --git

Re: [PATCH] [v2] x86 mpx: give bndX registers actual names

2014-10-31 Thread Thomas Gleixner
On Fri, 31 Oct 2014, Dave Hansen wrote: > > Changes from V1: > * name it 'bndreg' instead plain 'bnd' Peter wanted you to do s/struct bndreg_struct/struct bndreg/ Which makes a lot of sense as there is no point of having the extra _struct. Except you are part of the bndreg_struct_t

[GIT PULL] ACPI and power management fixes for 3.18-rc3

2014-10-31 Thread Rafael J. Wysocki
Hi Linus, Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git \ pm+acpi-3.18-rc3 to receive ACPI and power management fixes for v3.18-rc3 with top-most commit 7d627280b359a965105bcdd8f08224dfa14a3961 Merge branches 'pm-cpufreq' and 'pm-sleep' on top of commit

Re: [PATCH 0/5] staging: comedi: split bus support into separate modules

2014-10-31 Thread Ian Abbott
On 31/10/14 18:19, Hartley Sweeten wrote: On Friday, October 31, 2014 10:48 AM, Ian Abbott wrote: The Comedi core module doesn't need support for PCI, USB or PCMCIA. Only the low-level Comedi drivers need it. Split the support for these bus types out of the core "comedi" module and into new

Re: [PATCH v3] staging: panel: Remove outdated TODO tasks

2014-10-31 Thread Konrad Zapalowicz
On 10/31, Mariusz Gorski wrote: > Remove Lindent and checkpatch.pl tasks from TODO file as the first one > is obsolete and the other one is already done. > > Signed-off-by: Mariusz Gorski > --- > v3: Fixed commit summary Great. Thanks. regards, konrad > drivers/staging/panel/TODO | 2 -- >

[PATCH] ftracetest: Take the first debugfs mount found

2014-10-31 Thread Steven Rostedt
Running ftracetests on a box that mounted debugfs in two locations made the ftracetests fail. This is because the tests uses a grep of debugfs from the /proc/mounts file to find the debugfs mount point, and then appends "/tracing" to that string to get the tracing directory. If the debugfs

[PATCH v3] staging: panel: Remove outdated TODO tasks

2014-10-31 Thread Mariusz Gorski
Remove Lindent and checkpatch.pl tasks from TODO file as the first one is obsolete and the other one is already done. Signed-off-by: Mariusz Gorski --- v3: Fixed commit summary drivers/staging/panel/TODO | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/panel/TODO

Re: [Cocci] [PATCH 1/1] btrfs: Deletion of unnecessary checks before six function calls

2014-10-31 Thread Julia Lawall
On Fri, 31 Oct 2014, SF Markus Elfring wrote: > The following functions test whether their argument is NULL and then > return immediately. > * btrfs_free_path() > * free_extent_buffer() > * free_extent_map() > * free_extent_state() > * iput() > * kfree() > > Thus the test around the call is

[PATCH] [v2] x86 mpx: give bndX registers actual names

2014-10-31 Thread Dave Hansen
Changes from V1: * name it 'bndreg' instead plain 'bnd' -- From: Dave Hansen Consider the bndX MPX registers. There 4 registers each containing a 64-bit lower and a 64-bit upper bound. That's 8*64 bits and we declare it thusly: struct bndregs_struct { u64

Re: [PATCH] ovl: initialize ->is_cursor

2014-10-31 Thread Al Viro
On Fri, Oct 31, 2014 at 08:02:42PM +0100, Miklos Szeredi wrote: > From: Miklos Szeredi > > Signed-off-by: Miklos Szeredi > --- > This goes on top of "ovl: fix check for cursor". Applied -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH 2/7] wait: Reimplement wait_event_freezable()

2014-10-31 Thread Oleg Nesterov
On 10/31, Oleg Nesterov wrote: > > On 10/31, Peter Zijlstra wrote: > > > > Provide better implementations of wait_event_freezable() APIs. > > > > The problem is with freezer_do_not_count(), it hides the thread from > > the freezer, even though this thread might not actually freeze/sleep > > at

Re: [PATCH v3 2/7] iio: core: Introduce IIO_ACTIVITY channel

2014-10-31 Thread Hartmut Knaack
Just some typos left, maybe Jonathan can take care of them, if there are no issues for having a V4. Daniel Baluta schrieb am 28.10.2014 11:19: > This channel will be used for exposing information about > activity composite sensors. Activities supported so far: > * running > * jogging

[PATCH 1/1] btrfs: Deletion of unnecessary checks before six function calls

2014-10-31 Thread SF Markus Elfring
The following functions test whether their argument is NULL and then return immediately. * btrfs_free_path() * free_extent_buffer() * free_extent_map() * free_extent_state() * iput() * kfree() Thus the test around the call is not needed. This issue was detected by using the Coccinelle software.

[PATCH 4/8] cdrom: move EXPORT_SYMBOL after functions

2014-10-31 Thread Fabian Frederick
Signed-off-by: Fabian Frederick --- drivers/cdrom/cdrom.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index deda0f1..ca47919 100644 --- a/drivers/cdrom/cdrom.c +++ b/drivers/cdrom/cdrom.c @@ -638,6

[PATCH 3/8] cdrom: fix spaces required errors

2014-10-31 Thread Fabian Frederick
Signed-off-by: Fabian Frederick --- drivers/cdrom/cdrom.c | 38 +++--- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/drivers/cdrom/cdrom.c b/drivers/cdrom/cdrom.c index c311e0d..deda0f1 100644 --- a/drivers/cdrom/cdrom.c +++

[GIT PULL] ext4 bug fixes for 3.18

2014-10-31 Thread Theodore Ts'o
The following changes since commit cac7f2429872d3733dc3f9915857b1691da2eb2f: Linux 3.18-rc2 (2014-10-26 16:48:41 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4.git tags/ext4_for_linus_stable for you to fetch changes up to

Re: [PATCH 2/7] wait: Reimplement wait_event_freezable()

2014-10-31 Thread Peter Zijlstra
On Fri, Oct 31, 2014 at 10:38:02PM +0100, Oleg Nesterov wrote: > On 10/31, Peter Zijlstra wrote: > > > > Provide better implementations of wait_event_freezable() APIs. > > > > The problem is with freezer_do_not_count(), it hides the thread from > > the freezer, even though this thread might not

[PATCH 5/8] cdrom: remove bool comparison/assignment to 0/1

2014-10-31 Thread Fabian Frederick
Fix the following coccinelle warnings: drivers/cdrom/cdrom.c:615:5-14: WARNING: Comparison of bool to 0/1 drivers/cdrom/cdrom.c:617:5-14: WARNING: Comparison of bool to 0/1 drivers/cdrom/cdrom.c:619:5-13: WARNING: Comparison of bool to 0/1 drivers/cdrom/cdrom.c:621:5-21: WARNING: Comparison of

  1   2   3   4   5   6   7   8   9   10   >