[PROBLEM] interrupt 24 happens

2017-05-09 Thread qiaonuohan
Hi, Recently, when I trying to destroy a virtual machine, I came across a panic. The stack is listed at the end of this mail. After analyze, I think it is a problem of cpu, it generate an interrupt of vector 24. SS/ESP/EFLAGS/CS/RIP are push into stack. and EFLAGS is changed from 0x286 to 0x100

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-05-09 Thread Richard Weinberger
Oleksij, Am 09.05.2017 um 07:52 schrieb Oleksij Rempel: >> >> If VFS maintainers are fine with that, I'll take it. >> From UBIFS' POV it does not matter much. :-) >> >> >> Ping to VFS maintainers? >> >> >> What ping? Al made it clear that a flag is not needed. >> BTW, xfs s_uui

[tip:timers/urgent] clocksource/arm_arch_timer: Fix arch_timer_mem_find_best_frame()

2017-05-09 Thread tip-bot for Sudeep Holla
Commit-ID: f63d947c1673930bfc5f2f9bd1073a02c179a890 Gitweb: http://git.kernel.org/tip/f63d947c1673930bfc5f2f9bd1073a02c179a890 Author: Sudeep Holla AuthorDate: Mon, 8 May 2017 13:32:27 +0100 Committer: Thomas Gleixner CommitDate: Tue, 9 May 2017 08:56:41 +0200 clocksource/arm_arch_time

Re: [PATCH] x86/intel_rdt: Fix a typo in Documentation

2017-05-09 Thread Thomas Gleixner
On Wed, 3 May 2017, Xiaochen Shen wrote: > The typo is in example 3. > > "C0" in "# echo C0 > p0/cpus" is wrong because it specifies core > 6-7 instead of wanted core 4-7. > > Correct this typo to avoid confusion. > > Signed-off-by: Xiaochen Shen > Signed-off-by: Fenghua Yu That SOB chain is

Re: CFP: KVM Forum 2017

2017-05-09 Thread Paolo Bonzini
- Original Message - > From: "Jon Masters" > To: "Paolo Bonzini" , "KVM list" , > linux-kernel@vger.kernel.org, "Linux > Virtualization" > Sent: Tuesday, May 9, 2017 7:42:48 AM > Subject: Re: CFP: KVM Forum 2017 > > On 05/02/2017 06:41 AM, Paolo Bonzini wrote: > >

Re: [PATCH] qca_debug: Reduce function calls for sequence output in qcaspi_info_show()

2017-05-09 Thread Stefan Wahren
Am 08.05.2017 um 19:29 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Mon, 8 May 2017 19:21:27 +0200 > > A bit of data was put into a sequence by separate function calls. > Print the same data together with adjusted seq_printf() calls instead. Sorry, i'm not happy with this patch. It d

Re: [PATCH] Fix NR_IRQS printk()

2017-05-09 Thread Thomas Gleixner
On Wed, 3 May 2017, Vincent Legoll wrote: > Subject : [PATCH] Fix NR_IRQS printk() The subject line is missing a subsystem token. Please consult Documentation/process/submitting-patches.rst and run 'git log path/to/affected.file' to see how a proper subject line should look like. > - Missing

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-05-09 Thread Amir Goldstein
On Tue, May 9, 2017 at 10:01 AM, Richard Weinberger wrote: > > Oleksij, > > Am 09.05.2017 um 07:52 schrieb Oleksij Rempel: > >> > >> If VFS maintainers are fine with that, I'll take it. > >> From UBIFS' POV it does not matter much. :-) > >> > >> > >> Ping to VFS maintainers? >

Re: [regression, bisected] 4.11+ imx uarts broken

2017-05-09 Thread Uwe Kleine-König
Hello Mika, On Tue, May 09, 2017 at 07:18:09AM +0300, Mika Penttilä wrote: > The following commit e61c38d85b7 makes the uarts on i.MX6 nonfunctional (no > data transmitted or received). > With e61c38d85b7 reverted the uarts work ok. > > --- > commit e61c38d85b7392e033ee03bca46f1

Re: [PATCH v7 4/5] i2c: aspeed: added driver for Aspeed I2C

2017-05-09 Thread Benjamin Herrenschmidt
On Mon, 2017-05-08 at 16:28 -0700, Brendan Higgins wrote: > > I am curious what everyone thinks about this. It seemed that, earlier > on, people did not like me disabling multi-master mode, but I think > that it would make bus recovery not work as well. Given that, I think > it makes the most sens

Re: [patch 0/6] hwmon/coretemp: Hotplug fixes, cleanups and state machine conversion

2017-05-09 Thread Thomas Gleixner
On Thu, 4 May 2017, Tommi Rantala wrote: > 2017-04-23 18:01 GMT+03:00 Thomas Gleixner : > > On Sat, 15 Apr 2017, Tommi Rantala wrote: > > > >> Testing with 4.10.8-200.fc25.x86_64: freezer, devices and platform are > >> OK, it breaks at "processors". > >> The screen stays off, and the machine no lon

Re: [PATCH] x86/intel_rdt: Fix a typo in Documentation

2017-05-09 Thread Xiaochen Shen
Hi Thomas, I am sorry, this is the reason why I added Fenghua in SOB list: I have sent this patch to Fenghua for internal review. After that, I sent it out to LKML. What is your suggestion to fix? Move Fenghua from "Signed-off-by:" to "Cc:"? Thank you. Best regards, Xiaochen On 2017/5/9 15:03,

Re: [PATCH] x86/intel_rdt: Fix a typo in Documentation

2017-05-09 Thread Thomas Gleixner
On Tue, 9 May 2017, Xiaochen Shen wrote: > Hi Thomas, > > I am sorry, this is the reason why I added Fenghua in SOB list: > I have sent this patch to Fenghua for internal review. After that, I sent it > out to LKML. The SOB chain would have been correct, if Fenghua would have sent your patch. >

Re: [PATCH v2 02/16] fpga: bridge: support getting bridge from device

2017-05-09 Thread Wu Hao
On Mon, May 08, 2017 at 03:44:12PM -0500, Alan Tull wrote: > On Mon, May 8, 2017 at 3:44 AM, Wu, Hao wrote: > >> On Wed, May 3, 2017 at 3:07 PM, Alan Tull wrote: > >> > On Wed, May 3, 2017 at 6:58 AM, Wu Hao wrote: > >> >> On Thu, Apr 20, 2017 at 09:09:47AM -0500, Alan Tull wrote: > >> >>> Add t

Re: [PATCH] key: Convert big_key payload.data to struct

2017-05-09 Thread David Howells
Eric Biggers wrote: > It probably would be easier to kmalloc() this struct and store a pointer to > it in key->payload.data[0] Yeah, but it's a waste of resources if you don't have to do it. David

[PATCH 0/3] ath9k: Fine-tuning for some function implementations

2017-05-09 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 9 May 2017 09:19:09 +0200 Three update suggestions were taken into account from static source code analysis. Markus Elfring (3): Reduce function calls for sequence output in read_file_dma() Replace four seq_printf() calls by seq_putc() Adjust a null pointer

Re: [regression, bisected] 4.11+ imx uarts broken

2017-05-09 Thread Mika Penttilä
On 05/09/2017 10:14 AM, Uwe Kleine-König wrote: > Hello Mika, > > On Tue, May 09, 2017 at 07:18:09AM +0300, Mika Penttilä wrote: >> The following commit e61c38d85b7 makes the uarts on i.MX6 nonfunctional (no >> data transmitted or received). >> With e61c38d85b7 reverted the uarts work ok. >> >>

[PATCH 1/3] ath9k: Reduce function calls for sequence output in read_file_dma()

2017-05-09 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 21:55:09 +0200 Some data were put into a sequence by separate function calls. Print the same data with two function calls less. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/ath9k

[PATCH 2/3] ath9k: Replace four seq_printf() calls by seq_putc()

2017-05-09 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 22:04:47 +0200 Four single characters (line breaks) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/at

Re: [PATCH] pinctrl: imx: Check for memory allocation failure

2017-05-09 Thread Dan Carpenter
On Sun, May 07, 2017 at 04:40:38AM +0900, Stafford Horne wrote: > Hi Christophe, > > On Sat, May 06, 2017 at 10:23:59AM +0200, Christophe JAILLET wrote: > > If 'devm_kzalloc' fails, a NULL pointer will be dereferenced. > > Return -ENOMEM instead, as done for the other memory allocation just a > >

Re: [PATCH] x86/intel_rdt: Fix two typos in Documentation

2017-05-09 Thread Fenghua Yu
On Fri, Apr 07, 2017 at 01:09:41AM +0800, Xiaochen Shen wrote: > Both typos are in example 3. > > Because cache id 0 is the only cache id, the ";" is redundant in > "# echo "L3:0=ffc00;" > p0/schemata". > > And "C0" in "# echo C0 > p0/cpus" is wrong because it specifies core > 6-7 instead of want

[PATCH 3/3] ath9k: Adjust a null pointer check in three functions

2017-05-09 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 22:17:13 +0200 The script "checkpatch.pl" pointed information out like the following. Comparison to NULL could be written "!buf" Thus adjust this expression. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/ath9k/debug.c | 6 +++--- 1 file

Re: RFC: WMI Enhancements

2017-05-09 Thread Pali Rohár
On Tuesday 09 May 2017 01:10:54 mario.limoncie...@dell.com wrote: > > > > I found dmsdos implementation of that DS compression at: > > http://cmp.felk.cvut.cz/~pisa/dmsdos > > > > Then took relevant decompression code and it really decompressed that > > binary MOF WMI buffer. But still decompress

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-05-09 Thread Richard Weinberger
Amir, Am 09.05.2017 um 09:08 schrieb Amir Goldstein: >> Then we can queue this patch for 4.13. >> Please resend and make sure it addresses everything what was also >> suggested for the xfs s_uuid patch. >> > > Just to be clear, the xfs s_uuid patch is just a memcpy, > no different from Oleksij's

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-05-09 Thread Oleksij Rempel
On 05/09/2017 09:08 AM, Amir Goldstein wrote: On Tue, May 9, 2017 at 10:01 AM, Richard Weinberger wrote: Oleksij, Am 09.05.2017 um 07:52 schrieb Oleksij Rempel: If VFS maintainers are fine with that, I'll take it. From UBIFS' POV it does not matter much. :-) Ping to

Re: [PATCH v5 2/8] [media] stm32-dcmi: STM32 DCMI camera interface driver

2017-05-09 Thread Hugues FRUCHET
Hi Hans, It's OK, feel free to change. BR Hugues. On 05/06/2017 10:54 AM, Hans Verkuil wrote: > Hi Hugues, > > On 05/05/2017 05:31 PM, Hugues Fruchet wrote: >> This V4L2 subdev driver enables Digital Camera Memory Interface (DCMI) >> of STMicroelectronics STM32 SoC series. >> >> Reviewed-by: Hans

Re: [PATCH] x86/intel_rdt: Fix a typo in Documentation

2017-05-09 Thread Xiaochen Shen
Thank you, Thomas. I will send out v2 patch with the fix soon. Best regards, Xiaochen On 2017/5/9 15:22, Thomas Gleixner wrote: > On Tue, 9 May 2017, Xiaochen Shen wrote: > >> Hi Thomas, >> >> I am sorry, this is the reason why I added Fenghua in SOB list: >> I have sent this patch to Fenghua fo

Re: [PATCH v5 0/5] Add ARM Mali Midgard device tree bindings and gpu node for rk3288

2017-05-09 Thread Guillaume Tucker
On 09/05/17 02:16, Randy Li wrote: On 05/09/2017 12:27 AM, Heiko Stübner wrote: Am Mittwoch, 3. Mai 2017, 10:56:24 CEST schrieb Guillaume Tucker: The ARM Mali Midgard GPU kernel driver is only available out-of-tree and is not going to be merged in its current form. However, it would be useful

[PATCH v2] kthread: fix use-after-free if kthread fork fails

2017-05-09 Thread Vegard Nossum
If a kthread forks (e.g. usermodehelper since commit 1da5c46fa965) but fails in copy_process() between calling dup_task_struct() and setting p->set_child_tid, then the value of p->set_child_tid will be inherited from the parent and get prematurely freed by free_kthread_struct(). kthread()

Re: [PATCH] Fix NR_IRQS printk()

2017-05-09 Thread Vincent Legoll
On Tue, May 9, 2017 at 9:08 AM, Thomas Gleixner wrote: > On Wed, 3 May 2017, Vincent Legoll wrote: > >> Subject : [PATCH] Fix NR_IRQS printk() > > The subject line is missing a subsystem token. Please consult > > Documentation/process/submitting-patches.rst > > and run 'git log path/to/affected.

Re: CFP: KVM Forum 2017

2017-05-09 Thread Jon Masters
:) Podcast drops sometime next couple days - double header this week to cover every pull request in 4.12...just that part is 4500 words of summary and that's not counting ongoing dev. I think the merge window is basically some kind of ultimate curse. Sorry for top post...time to z. -- Comp

Re: [BUG] crash when removing sun4i_gpadc_iio module

2017-05-09 Thread Quentin Schulz
Hi, On 07/05/2017 17:14, Jonathan Cameron wrote: > On 02/05/17 07:46, Corentin Labbe wrote: >> Hello > > Beyond picking up in a quick code inspection I'm afraid. Quentin > can you take a look at this? I guess its triggering as a result > of the call to read the temperature failing, but beyond t

Re: [PATCH 4.10 0/5] 4.10.15-stable review

2017-05-09 Thread Greg Kroah-Hartman
On Mon, May 08, 2017 at 01:16:56PM -0600, Shuah Khan wrote: > On 05/06/2017 02:39 PM, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.10.15 release. > > There are 5 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH v5 0/5] Add ARM Mali Midgard device tree bindings and gpu node for rk3288

2017-05-09 Thread Randy Li
On 05/09/2017 03:40 PM, Guillaume Tucker wrote: On 09/05/17 02:16, Randy Li wrote: On 05/09/2017 12:27 AM, Heiko Stübner wrote: Am Mittwoch, 3. Mai 2017, 10:56:24 CEST schrieb Guillaume Tucker: The ARM Mali Midgard GPU kernel driver is only available out-of-tree and is not going to be merg

Re: [PATCH 2/2] iio: make stm32 trigger driver use INDIO_HARDWARE_TRIGGERED mode

2017-05-09 Thread Benjamin Gaignard
2017-05-08 17:17 GMT+02:00 William Breathitt Gray : > On Sun, May 07, 2017 at 02:49:16PM +0100, Jonathan Cameron wrote: >>On 01/05/17 01:50, Jonathan Cameron wrote: >>> On 27/04/17 14:29, Benjamin Gaignard wrote: Add validate function to be use to use the correct trigger. Add an attribute

Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-05-09 Thread Jesper Nilsson
Hi Richard, I'm still worried about this failure case, do we really believe that the flash could fail in such a way that the fastmap is corrupted in an undetectable way? If we do detect corruption we should be no worse off than earlier since we should ignore the fastmap, IIRC. Could you please e

Re: [PATCH 1/3] staging: iio: meter: Add the comment for mutex definition

2017-05-09 Thread Dan Carpenter
On Mon, May 08, 2017 at 10:00:37PM -0400, Harinath Nampally wrote: > This patch fixes below checkpatch.pl warning: > CHECK: struct mutex definition without comment > > Signed-off-by: Harinath Nampally > --- > drivers/staging/iio/meter/ade7753.c | 3 ++- > 1 file changed, 2 insertions(+), 1 delet

Re: [PATCH 3.18 00/68] 3.18.52-stable review

2017-05-09 Thread Alexandre Belloni
On 08/05/2017 at 11:13:51 -0700, Kevin Hilman wrote: > + relevant soc/board maintainers > > kernelci.org bot writes: > > > stable-rc/linux-3.18.y boot: 77 boots: 2 failed, 75 passed > > (v3.18.51-69-gdab3331ef5e9) > > > > Full Boot Summary: > > https://kernelci.org/boot/all/job/stable-rc/branc

[tip:x86/urgent] x86/intel_rdt: Fix a typo in Documentation

2017-05-09 Thread tip-bot for Xiaochen Shen
Commit-ID: fb8fb46c56289b3f34b5d90a4ec65e9e4e4544a5 Gitweb: http://git.kernel.org/tip/fb8fb46c56289b3f34b5d90a4ec65e9e4e4544a5 Author: Xiaochen Shen AuthorDate: Wed, 3 May 2017 11:15:56 +0800 Committer: Thomas Gleixner CommitDate: Tue, 9 May 2017 09:41:42 +0200 x86/intel_rdt: Fix a typ

include/linux/spinlock_api_smp.h:169:9: sparse: context imbalance in 'fixup_pi_state_owner' - unexpected unlock

2017-05-09 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: bf5f89463f5b3109a72ed13ca62b57e90213387d commit: 734009e96d1983ad739e5b656e03430b3660c913 futex: Change locking rules date: 7 weeks ago reproduce: # apt-get install sparse git checkout 73400

Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi

2017-05-09 Thread Matthias Brugger
Hi Sean, Hi Arnd, +Eddie who pinged me about this in a private mail. 2017-05-08 13:36 GMT+02:00 Arnd Bergmann : > On Mon, May 8, 2017 at 11:53 AM, Sean Wang wrote: >> Hi Rob, >> >> thanks for helping me looping in the right group >> >> >> Hi Arnd and Olof >> >> I found Matthias is inactive for

Re: drivers/scsi/pmcraid.c:3350:48: sparse: incorrect type in argument 2 (different address spaces)

2017-05-09 Thread Arnd Bergmann
On Tue, May 9, 2017 at 2:32 AM, kbuild test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > master > head: 2d3e4866dea96b0506395b47bfefb234f2088dac > commit: beba3a20bf90ce1b93e24592c3ebf0d0bb581bbe x86: switch to RAW_COPY_USER > date: 6 weeks ago >

Re: [PATCH v2 3/3] fs: ubifs: set s_uuid in super block

2017-05-09 Thread Amir Goldstein
On Tue, May 9, 2017 at 10:35 AM, Richard Weinberger wrote: > Amir, > > Am 09.05.2017 um 09:08 schrieb Amir Goldstein: >>> Then we can queue this patch for 4.13. >>> Please resend and make sure it addresses everything what was also >>> suggested for the xfs s_uuid patch. >>> >> >> Just to be clear,

[PATCH] wil6210: Replace five seq_puts() calls by seq_putc()

2017-05-09 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 8 May 2017 22:22:04 +0200 Five single characters (line breaks) should be put into a sequence. Thus use the corresponding function "seq_putc". This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/net/wireless/ath/wi

[PATCH 0/6] tty: serial: lpuart: add imx7ulp support

2017-05-09 Thread Dong Aisheng
This patch series mainly intends to add imx7ulp support which is also using FSL lpuart. The lpuart in imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a t

[PATCH 3/6] dt-bindings: serial: fsl-lpuart: add i.MX7ULP support

2017-05-09 Thread Dong Aisheng
The lpuart of imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a. Cc: devicet...@vger.kernel.org Cc: Rob Herring Cc: Greg Kroah-Hartman Cc: Jiri Slaby

[PATCH 2/6] tty: serial: lpuart: add little endian 32 bit register support

2017-05-09 Thread Dong Aisheng
It's based on the exist lpuart32 read/write implementation. Cc: Greg Kroah-Hartman Cc: Jiri Slaby (supporter:TTY LAYER) Cc: Fugang Duan Cc: Stefan Agner Cc: Mingkai Hu Cc: Yangbo Lu Signed-off-by: Dong Aisheng --- drivers/tty/serial/fsl_lpuart.c | 12 ++-- 1 file changed, 10 insert

[PATCH 4/6] tty: serial: lpuart: add imx7ulp support

2017-05-09 Thread Dong Aisheng
The lpuart of imx7ulp is basically the same as ls1021a. It's also 32 bit width register, but unlike ls1021a, it's little endian. Besides that, imx7ulp lpuart has a minor different register layout from ls1021a that it has four extra registers (verid, param, global, pincfg) located at the beginning o

[PATCH 5/6] tty: serial: lpuart: add earlycon support for imx7ulp

2017-05-09 Thread Dong Aisheng
earlycon is executed quite early before the device tree probe, so we need configure the correct reg_off for imx7ulp during early console setup. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Fugang Duan Cc: Stefan Agner Cc: Mingkai Hu Cc: Yangbo Lu Signed-off-by: Dong Aisheng --- drivers/tty/se

[PATCH 6/6] tty: serial: lpuart: add a more accurate baud rate calculation method

2017-05-09 Thread Dong Aisheng
On new LPUART versions, the oversampling ratio for the receiver can be changed from 4x (00011) to 32x (1) which could help us get a more accurate baud rate divider. The idea is to use the best OSR (over-sampling rate) possible. Note, OSR is typically hard-set to 16 in other LPUART instantiatio

Re: [PATCH v2] usb: cdc-wdm: use memdup_user

2017-05-09 Thread Oliver Neukum
Am Montag, den 08.05.2017, 23:14 +0800 schrieb Geliang Tang: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Acked-by: Oliver Neukum

Re: [PATCH] wil6210: Replace five seq_puts() calls by seq_putc()

2017-05-09 Thread Johannes Berg
On Tue, 2017-05-09 at 09:50 +0200, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 8 May 2017 22:22:04 +0200 > > Five single characters (line breaks) should be put into a sequence. > Thus use the corresponding function "seq_putc". Please stop, this isn't really an issue worth worryi

Re: BUG: rcu_sched detected stalls on CPUs

2017-05-09 Thread mitko
On 2017-05-08 16:24, Paul E. McKenney wrote: On Mon, May 08, 2017 at 09:43:15AM +0300, mi...@stz-bg.com wrote: On 2017-01-20 17:19, Steven Rostedt wrote: >On Fri, 20 Jan 2017 10:43:50 +0200 >mi...@stz-bg.com wrote: > >>[1.] One line summary of the problem: >> >>rcu_sched detected stalls on CPUs

[PATCH 1/6] tty: serial: lpuart: introduce lpuart_soc_data to represent SoC property

2017-05-09 Thread Dong Aisheng
This is used to dynamically check the SoC specific lpuart properies. Currently only the checking of 32 bit register width is added which functions the same as before. More will be added later for supporting new chips. Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Fugang Duan Cc: Stefan Agner Cc: M

[PATCH v2] platform/x86: peaq-wmi: Add new peaq-wmi driver

2017-05-09 Thread Hans de Goede
PEAQ is a new European OEM, I've bought one of their 2-in-1 x86 devices, which is actually quite a nice device. Under Windows it has Dolby software for "better" sound and you can select different equalizer presets using a special button. This WMI interface for this button is not really nice, as it

Re: [PATCH 1/2] block, dax: move "select DAX" from BLOCK to FS_DAX

2017-05-09 Thread Geert Uytterhoeven
system] > > url: > https://github.com/0day-ci/linux/commits/Dan-Williams/block-dax-move-select-DAX-from-BLOCK-to-FS_DAX/20170509-051522 > config: parisc-c3000_defconfig (attached as .config) > compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 > reproduce: > wget

Re: qca_debug: Reduce function calls for sequence output in qcaspi_info_show()

2017-05-09 Thread SF Markus Elfring
> The only benefit is a little bit higher performance. I would prefer such a small code reduction. I am not so concerned about an other readability impression at this place. > But for debugfs this won't be necessary. I would appreciate also another improvement there. Regards, Markus

Re: [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-09 Thread Felipe Balbi
Hi, Andy Shevchenko writes: > acpi_evaluate_dsm() and friends take a pointer to a raw buffer of 16 > bytes. Instead we convert them to use uuid_le type. At the same time we > convert current users. > > acpi_str_to_uuid() becomes useless after the conversion and it's safe to > get rid of it. > >

Re: [PATCH] staging : rtl8188eu : remove unnecessary else

2017-05-09 Thread Dan Carpenter
On Mon, May 08, 2017 at 02:13:00PM +0530, Surender Polsani wrote: > according to coding style else is not generally > useful after a break or return > > Signed-off-by: Surender Polsani > --- > drivers/staging/rtl8188eu/hal/rtl8188e_dm.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) >

Re: [PATCH v2 29/30] dt-bindings: add vendor prefix for bananapi

2017-05-09 Thread Chen-Yu Tsai
Hi, On Mon, May 1, 2017 at 2:58 PM, Sean Wang wrote: > On Fri, 2017-04-28 at 15:37 -0500, Rob Herring wrote: >> On Wed, Apr 26, 2017 at 05:26:13PM +0800, sean.w...@mediatek.com wrote: >> > From: Sean Wang >> > >> > Banana Pi team in Sinovoip Co., Limited which are dedicated to >> > design and ma

Re: [PATCH 3/9] VFS: Introduce a mount context

2017-05-09 Thread Miklos Szeredi
On Tue, May 9, 2017 at 12:57 AM, David Howells wrote: > Miklos Szeredi wrote: > >> > + (3) Validate and pre-process the mount context. >> >> (3.5) Create super block >> >> I think this need to be triggered by something like a "commit" command >> from userspace. Basically this is where the option

Re: GPU-DRM-STI: Fine-tuning for some function implementations

2017-05-09 Thread Benjamin Gaignard
2017-05-06 19:00 GMT+02:00 SF Markus Elfring : >>> 1. I suggest to combine a few functions into fewer ones. >>>* Do you spot any programming mistakes in these concrete cases? >> >> Not in the patches I skimmed. > > Thanks for such feedback. > > >> However, your history of breaking code tells me

Re: [PATCH 0/4] S390: Fine-tuning for six function implementations

2017-05-09 Thread Vegard Nossum
On 05/07/17 19:12, SF Markus Elfring wrote: From: Markus Elfring Date: Sun, 7 May 2017 19:00:09 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Combine two function calls into one in show_cacheinfo() Use seq_putc() in show_cpu_su

Re: [PATCH] key: Convert big_key payload.data to struct

2017-05-09 Thread David Howells
Kees Cook wrote: > This doesn't protect you against changes in struct path size, > though... the existing code (and this proposal) will break if that > ever happens... True - in which case you should kmalloc() it as Eric suggests. > What's the problem with defining the types at the top level? T

[PATCH v2 0/2] extends PWM framework to support PWM dead-times

2017-05-09 Thread Claudiu Beznea
Hi all, Please give feedback on these patches which extends PWM framework in order to support PWM dead-times. Since I didn't receive any inputs on RFC series I'm resending it as normal patch series. For a PWM controller with more than one output signals per PWM channel dead-times are the delays i

[PATCH] ARM: dts: bcm283x: Reserve first page for firmware

2017-05-09 Thread Phil Elwell
The Raspberry Pi startup stub files for multi-core BCM283X processors make the secondary CPUs spin until the corresponding mailbox is written. These stubs are loaded at physical address 0x0xxx (as seen by the ARMs), but this page will be reused by the kernel unless it is explicitly reserved, ca

[PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs

2017-05-09 Thread Vincent Legoll
The early_irq_init() function was not telling what all the displayed information is. - Add some missing whitespace & commas for easier reading - Tell that the third number is the number of preallocated irqs returned by arch_probe_nr_irqs() Signed-off-by: Vincent Legoll --- kernel/irq/irqdesc.

Re: [PATCH v1] ACPI: Switch to use generic UUID API

2017-05-09 Thread Mathias Nyman
diff --git a/drivers/usb/host/xhci-pci.c b/drivers/usb/host/xhci-pci.c index 7b86508ac8cf..93b4f0de9418 100644 --- a/drivers/usb/host/xhci-pci.c +++ b/drivers/usb/host/xhci-pci.c @@ -210,13 +210,12 @@ static void xhci_pci_quirks(struct device *dev, struct xhci_hcd *xhci) #ifdef CONFIG_ACPI

Re: [PATCH v6 2/7] perf/x86/intel: Record branch type

2017-05-09 Thread Jiri Olsa
On Mon, Apr 24, 2017 at 08:47:14AM +0800, Jin, Yao wrote: > > > On 4/23/2017 9:55 PM, Jiri Olsa wrote: > > On Thu, Apr 20, 2017 at 08:07:50PM +0800, Jin Yao wrote: > > > > SNIP > > > > > +#define X86_BR_TYPE_MAP_MAX 16 > > > + > > > +static int > > > +common_branch_type(int type) > > > +{

WARREN BUFFETT DONATION GESTURE

2017-05-09 Thread WARREN BUFFETT FOUNDATION
$1,500,000 was donated to you For more details email warre...@163.com

Re: [PATCH v9 3/3] printk: fix double printing with earlycon

2017-05-09 Thread Sabrina Dubroca
Hi Aleksey, 2017-04-05, 23:20:00 +0300, Aleksey Makarov wrote: > If a console was specified by ACPI SPCR table _and_ command line > parameters like "console=ttyAMA0" _and_ "earlycon" were specified, > then log messages appear twice. > > The root cause is that the code traverses the list of specif

[RFC][PATCHv3 1/5] printk: move printk_pending out of per-cpu

2017-05-09 Thread Sergey Senozhatsky
Do not keep `printk_pending' in per-CPU area. We set the following bits of printk_pending: a) PRINTK_PENDING_WAKEUP when we need to wakeup klogd b) PRINTK_PENDING_OUTPUT when there is a pending output from deferred printk and we need to call console_unlock(). So none of the

[PATCH v2 2/2] drivers: pwm: pwm-atmel: implement pwm dead-times

2017-05-09 Thread Claudiu Beznea
Implement PWM dead-times for atmel PWM controllers. Since this driver is used by PWM controllers which supports dead-times and PWM controllers which doesn't, add specific input for dead-time register in atmel register private data structure. Signed-off-by: Claudiu Beznea --- drivers/pwm/pwm-atme

[RFC][PATCHv3 3/5] printk: add enforce_emergency parameter

2017-05-09 Thread Sergey Senozhatsky
This param permits user-space to forcibly on/off printk emergency mode via /sys/module/printk/parameters/enforce_emergency node. Signed-off-by: Sergey Senozhatsky --- kernel/printk/printk.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/kernel/printk/printk.c b/kernel

[RFC][PATCHv3 4/5] printk: enable printk offloading

2017-05-09 Thread Sergey Senozhatsky
Initialize kernel printing thread and make printk offloading possible. By default `atomic_print_limit' is set to 0, so no offloading will take place, unless requested by user. Signed-off-by: Sergey Senozhatsky --- kernel/printk/printk.c | 38 ++ 1 file changed

[RFC][PATCHv3 5/5] printk: register PM notifier

2017-05-09 Thread Sergey Senozhatsky
It's not always possible/safe to wake_up() printk kernel thread. For example, late suspend/early resume may printk() while timekeeping is not initialized yet, so calling into the scheduler may result in recursive warnings. Another thing to notice is the fact PM at some point freezes user space and

[PATCH v2 1/2] drivers: pwm: core: implement pwm dead-times

2017-05-09 Thread Claudiu Beznea
Extends PWM framework to support PWM dead-times. The notions introduced are rising edge dead-time and falling edge dead-time. These are useful for PWM controllers with channels that have more than one outputs. The implementation add sysfs interface for configuration. It extends the pwm_state struct

[RFC][PATCHv3 0/5] printk: introduce printing kernel thread

2017-05-09 Thread Sergey Senozhatsky
Hello, RFC This patch set adds a printk() kernel thread which lets us to print kernel messages to the console from a non-atomic/schedule-able context, avoiding different sort of lockups, stalls, etc. A completely reworked version, for more details please see 0003 commi

[RFC][PATCHv3 2/5] printk: introduce printing kernel thread

2017-05-09 Thread Sergey Senozhatsky
printk() is quite complex internally and, basically, it does two slightly independent things: a) adds a new message to a kernel log buffer (log_store()) b) prints kernel log messages to serial consoles (console_unlock()) while (a) is guaranteed to be executed by printk(), (b) is not, for a varie

Re: [PATCH v4] staging: lustre: llite: Fix variable length array warning

2017-05-09 Thread Dan Carpenter
This patch introduces tons of memory leaks so we can't apply it. Just ignore the warning. The size is small enough that it won't overflow the stack. The other reason to avoid these types of declarations is that in olden times (5 years ago at least) there was a GCC for an arch where if you declar

[PATCH] genirq: Tell that early_irq_init() is printing the nr of preallocated irqs

2017-05-09 Thread Vincent Legoll
The early_irq_init() function was not telling what all the displayed information is. - Add some missing whitespace & commas for easier reading - Tell that the third number is the number of preallocated irqs returned by arch_probe_nr_irqs() - Also cover !CONFIG_SPARSE_IRQ case Signed-off-by: Vin

[PATCH] crypto: rng - move __crypto_rng_cast to the rng header

2017-05-09 Thread Corentin Labbe
This patch move __crypto_rng_cast() to the right header like other __algo_cast functions. Signed-off-by: Corentin Labbe --- crypto/rng.c | 5 - include/crypto/rng.h | 5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/crypto/rng.c b/crypto/rng.c index f46dac5..5e

[PATCH] i2c: pca954x: Add option to skip disabling PCA954x Mux device

2017-05-09 Thread ying.zhang22455
From: Priyanka Jain On some Layerscape boards like LS2085ARDB/LS2080ARDB, input pull-up resistors on PCA954x Mux device are missing on board. So, if mux are disabled after powered-on, input lines will float leading to incorrect functionality. Hence, PCA954x Mux device should never be turned-off

Re: [PATCH v3] ARM: dts: at91: sama5d2: add m_can nodes

2017-05-09 Thread Yang, Wenyou
On 2017/4/24 9:12, Wenyou Yang wrote: Add nodes to support the Controller Area Network(M_CAN) on SAMA5D2. The version of M_CAN IP core is 3.1.0 (CREL = 0x31040730). As said in SAMA5D2 datasheet, the CAN clock is recommended to use frequencies of 20, 40 or 80 MHz. To achieve these frequencies,

Re: S390: Fine-tuning for six function implementations

2017-05-09 Thread SF Markus Elfring
> It would be different if your patches fixed actual bugs. I dare to point change possibilities out which correspond to a special error category. There can be different opinions about their relevance for further software improvements. > This is just mindless code transformations that MAY in th

Re: [PATCH] rpmsg: Make rpmsg_create_ept() propagate error

2017-05-09 Thread kbuild test robot
-Andersson/rpmsg-Make-rpmsg_create_ept-propagate-error/20170509-135640 config: arm-multi_v7_defconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

[PATCH] staging: typec: Make undeclared symbol static

2017-05-09 Thread Guru Das Srinagesh
Fix sparse warning: drivers/staging/typec/tcpci.c:428:26: warning: symbol 'tcpci_tcpc_config' was not declared. Should it be static? Signed-off-by: Guru Das Srinagesh --- drivers/staging/typec/tcpci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/typec/t

[PATCH] tracing: use %pF in trace_dump_stack()

2017-05-09 Thread Vegard Nossum
When using trace_dump_stack() you currently just get a list of function names. It can be very useful to know exactly where a call came from, especially if there are multiple calls from one function to another. By switching trace_dump_stack() to use %pF we get the function name and the offset, whi

[PATCH] asm-generic/io.h: remove unnecessary #include of

2017-05-09 Thread Tobias Klauser
After commit 1f5307b1e094 ("mm, vmalloc: properly track vmalloc users") the build for ARCH=nios2 fails with: In file included from ./include/asm-generic/io.h:767:0, from ./arch/nios2/include/asm/io.h:61, from ./include/linux/io.h:25, from ./arch/n

Re: [RFC][PATCH] UBI: Make MTD_UBI_FASTMAP non-experimental

2017-05-09 Thread Richard Weinberger
Jesper, Am 09.05.2017 um 09:46 schrieb Jesper Nilsson: > Hi Richard, > > I'm still worried about this failure case, do we really > believe that the flash could fail in such a way that the > fastmap is corrupted in an undetectable way? > > If we do detect corruption we should be no worse off > th

[PATCH] irq_bcm2836: Send event when onlining sleeping cores

2017-05-09 Thread Phil Elwell
In order to reduce power consumption and bus traffic, it is sensible for secondary cores to enter a low-power idle state when waiting to be started. The wfe instruction causes a core to wait until an event or interrupt arrives before continuing to the next instruction. The sev instruction sends a w

Re: [PATCH RFC] hugetlbfs 'noautofill' mount option

2017-05-09 Thread Christoph Hellwig
On Mon, May 08, 2017 at 03:12:42PM -0700, prakash.sangappa wrote: > Regarding #3 as a general feature, do we want to > consider this and the complexity associated with the > implementation? We have to. Given that no one has exclusive access to hugetlbfs a mount option is fundamentally the wrong i

Re: [kernel-hardening] Re: [PATCH v9 1/4] syscalls: Verify address limit before returning to user-mode

2017-05-09 Thread Christoph Hellwig
On Tue, May 09, 2017 at 08:45:22AM +0200, Ingo Molnar wrote: > We only have ~115 code blocks in the kernel that set/restore KERNEL_DS, it > would > be a pity to add a runtime check to every system call ... I think we should simply strive to remove all of them that aren't in core scheduler / arch

Re: [PATCH] asm-generic/io.h: remove unnecessary #include of

2017-05-09 Thread Michal Hocko
On Tue 09-05-17 10:50:45, Tobias Klauser wrote: > After commit 1f5307b1e094 ("mm, vmalloc: properly track vmalloc users") > the build for ARCH=nios2 fails with: > > In file included from ./include/asm-generic/io.h:767:0, >from ./arch/nios2/include/asm/io.h:61, >from

Re: [linux-next][bock] WARNING: CPU: 22 PID: 0 at block/blk-core.c:2655 .blk_update_request+0x4f8/0x500

2017-05-09 Thread Christoph Hellwig
On Mon, May 08, 2017 at 08:00:41AM -0600, Jens Axboe wrote: > Christoph, Martin - any ideas? Trace from Abdul below. Btw, what page size does the system have? > > WARNING: CPU: 12 PID: 0 at block/blk-core.c:2651 > .blk_update_request+0x4cc/0x4e0 Any knowledge from tracing or printk on what com

[PATCH V2] ARM: dts: bcm283x: Reserve first page for firmware

2017-05-09 Thread Phil Elwell
The Raspberry Pi startup stub files for multi-core BCM27XX processors make the secondary CPUs spin until the corresponding mailbox is written. These stubs are loaded at physical address 0x0xxx (as seen by the ARMs), but this page will be reused by the kernel unless it is explicitly reserved, ca

Re: [PATCH] ARM: dts: bcm283x: Reserve first page for firmware

2017-05-09 Thread Stefan Wahren
Hi Phil, Am 09.05.2017 um 10:20 schrieb Phil Elwell: > The Raspberry Pi startup stub files for multi-core BCM283X processors > make the secondary CPUs spin until the corresponding mailbox is > written. These stubs are loaded at physical address 0x0xxx (as seen > by the ARMs), but this page wil

Re: [PATCH] perf, tools: Support srccode output

2017-05-09 Thread Jiri Olsa
On Mon, May 08, 2017 at 01:22:05PM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/map.c b/tools/perf/util/map.c > index ebfa5d92358a..790ac730b162 100644 > --- a/tools/perf/util/map.c > +++ b/tools/perf/util/map.c > @@ -17,6 +17,7 @@ > #include > #include "srcline.h" > #include

Re: [PATCH] perf, tools: Support srccode output

2017-05-09 Thread Jiri Olsa
On Mon, May 08, 2017 at 01:22:05PM -0700, Andi Kleen wrote: SNIP > diff --git a/tools/perf/util/srcline.c b/tools/perf/util/srcline.c > index df051a52393c..542bfa7db53c 100644 > --- a/tools/perf/util/srcline.c > +++ b/tools/perf/util/srcline.c > @@ -479,6 +479,35 @@ char *__get_srcline(struct dso

Re: [PATCH v4] staging: lustre: llite: Fix variable length array warning

2017-05-09 Thread Guru Das Srinagesh
On Tue, May 09, 2017 at 11:31:36AM +0300, Dan Carpenter wrote: > Just ignore the warning. > Thank you for your comments on this patch.

  1   2   3   4   5   6   7   8   >