[PATCH v2 11/20] [SCSI] mpt3sas: Add branding string support for OEM custom HBA

2015-06-30 Thread Sreekanth Reddy
Add the following OEM's branding to the mpt3sas driver. "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco Branding String 0x1000 0x97 SVID = 0x1137 0x014C Cisco 9300-8E 12G SAS HBA Changes in v2: Patch version change only.

[PATCH v2 12/20] [SCSI] mpt3sas: Bump mpt3sas driver version to v6.100.00.00

2015-06-30 Thread Sreekanth Reddy
Bump mpt3sas driver version to v6.100.00.00. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff

[PATCH v2 13/20] [SCSI] mpt3sas: MPI 2.5 Rev K (2.5.6) specifications

2015-06-30 Thread Sreekanth Reddy
Below are the new changes to MPI 2.5 Rev K(2.5.6) specification and 2.00.35 header files 1) Added a minimum size requirement for target mode command buffers. 2) Added MinMSIxIndex and MaxMSIxIndex fields to CommandBufferPostBase Request. 3) For BIOS Page 1, added SSUTimeout field, and added Produc

[PATCH v2 14/20] [SCSI] mpt3sas: Complete the SCSI command with DID_RESET status for log_info value 0x0x32010081

2015-06-30 Thread Sreekanth Reddy
For any SCSI command, if the driver receives IOC status = SCSI_IOC_TERMINATED and log info = 0x32010081 then that command will be completed with DID_RESET host status. The definition of this log info value is "Virtual IO has failed and has to be retried". Firmware will provide this log info value

[PATCH v2 15/20] [SCSI] mpt3sas: Return host busy error status to SML when DMA mapping of scatter gather list fails for a SCSI command

2015-06-30 Thread Sreekanth Reddy
scsi_dma_map API will return a negative value (i.e. -ENOMEM) if DMA mapping of sg lists fails and zero if the sg list in the SCSI cmd is NULL. But drivers doesn't handled sg list DMA mapping failure case properly. So, Updated the code to return host busy error status to SCSI MID Layer(SML), when D

[PATCH v2 16/20] [SCSI] mpt3sas: Added support for customer specific branding

2015-06-30 Thread Sreekanth Reddy
Added support for below customer specific brandings "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Cisco Branding String 0x1000 0x97 0x1137 0x154 Cisco 9300-8i 12Gbps SAS HBA 0x1000 0x97 0x1137 0

[PATCH v2 10/20] [SCSI] mpt3sas: Add branding string support for OEM's HBA

2015-06-30 Thread Sreekanth Reddy
Added the following Dell branding to the mpt3sas driver. "VendorID" "DeviceID" "SubsystemVendor ID" "SubsystemDevice ID" Dell Branding String 0x10000x0097 0x1028 0x1F46DELL 12Gbps HBA Changes in v2: Patch version change only. Signed-off

[PATCH v2 05/20] [SCSI] mpt3sas: MPI 2.5 Rev I (2.5.4) specifications.

2015-06-30 Thread Sreekanth Reddy
Update MPI 2.5 Release: MPI 2.5 Rev I (2.5.4) specification and 2.00.33 header files Below is the change set from the MPI specification for I Rev 1) Added Base Enclosure Level bit to the Flags field of Manufacturing Page 7. 2) Updated description of the MaxTargetPortConnectTime field of SAS IO U

[PATCH v2 1/2] Document: DT: Add bindings for mediatek MT6580 SoC Platform

2015-06-30 Thread Mars Cheng
This adds a DT binding documentation for the MT6580 SoC from Mediatek. Change-Id: I608738d330d356291b581203befcfe69c3a846c1 Signed-off-by: Mars Cheng --- Documentation/devicetree/bindings/arm/mediatek.txt | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/a

[PATCH v2 0/2] Add mt6580 basic chip support

2015-06-30 Thread Mars Cheng
This patch add basic support for Mediatek's new 4-core chip, mt6580. Change in v2: 1. Use stdout-path in device tree to indicate console 2. Remove board-specific bootargs Mars Cheng (2): Document: DT: Add bindings for mediatek MT6580 SoC Platform ARM: dts: mediatek: add 6580 support Documen

[PATCH v2 06/20] [SCSI] mpt3sas: Provides the physical location of sas drives

2015-06-30 Thread Sreekanth Reddy
This Patch will provide more details of the devices such as slot number, enclosure logical id, enclosure level & connector name in the following scenarios, - When end device is added in the topology, - When the end device is removed from the setup, - When the SCSI mid layer issues TASK ABORT/ DE

[PATCH v2 04/20] [SCSI] mpt3sas: Remove redundancy code while freeing the controller resources.

2015-06-30 Thread Sreekanth Reddy
Removed the redundancy code while freeing the controller resources. Changes in v2: Patch version change only. Signed-off-by: Sreekanth Reddy Reviewed-by: Martin K. Petersen Reviewed-by: Johannes Thumshirn --- drivers/scsi/mpt3sas/mpt3sas_base.c | 57 +--

[PATCH v2 2/2] ARM: dts: mediatek: add 6580 support

2015-06-30 Thread Mars Cheng
This adds basic chip support for Mediatek 6580. Change-Id: Ic5c93eb5d1e6e23503dabd28d41c30a7f02e9c18 Signed-off-by: Mars Cheng --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/mt6580-evbp1.dts | 35 +++ arch/arm/boot/dts/mt6580.dtsi | 125 ++

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-06-30 Thread Lars-Peter Clausen
On 06/30/2015 06:51 AM, Krzysztof Kozłowski wrote: 2015-06-30 13:14 GMT+09:00 Vinod Koul : On Mon, Jun 22, 2015 at 11:14:42AM +0900, Krzysztof Kozłowski wrote: 2015-06-15 23:00 GMT+09:00 Krzysztof Kozlowski : When pl330 driver was used during sound playback, after some time or after a number o

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Daniel Vetter
Any updates on this or too much distractions? I really think doing this would be awesome for the drm subsystem, instead of reinventing this wheel for each driver. -Daniel On Wed, Mar 25, 2015 at 10:21 AM, Daniel Vetter wrote: > On Wed, Mar 25, 2015 at 01:47:54PM +0530, Archit Taneja wrote: >> Hi,

Re: [PATCH v2] watchdog: omap_wdt: early_enable module parameter

2015-06-30 Thread Wim Van Sebroeck
Hi Paul, > On Thu, Jun 25, 2015 at 9:46 AM, Guenter Roeck wrote: > > On 06/25/2015 03:21 AM, poesc...@lemonage.de wrote: > >> > >> From: Lars Poeschel > >> > >> Add a early_enable module parameter to the omap_wdt that starts the > >> watchdog on module insertion. The default value is 0 which doe

[GIT PULL] Delete new __cpuinit users and then delete stubs

2015-06-30 Thread Paul Gortmaker
We removed the __cpuinit stuff in 3.11-rc1 with commit 22f0a27367742f65130c0fb25ef00f7297e032c1 ("init.h: remove __cpuinit sections from the kernel") but we left some no-op stubs as a courtesy to unmerged code. Here we get rid of the stubs as well, since (as can be seen in these changes) they are

Re: [PATCH] mm: cleaning per architecture MM hook header files

2015-06-30 Thread Vineet Gupta
On Monday 29 June 2015 07:55 PM, Laurent Dufour wrote: > The commit 2ae416b142b6 ("mm: new mm hook framework") introduced an empty > header file (mm-arch-hooks.h) for every architecture, even those which > doesn't need to define mm hooks. > > As suggested by Geert Uytterhoeven, this could be clean

[GIT PULL] Fix implicit users that will break later.

2015-06-30 Thread Paul Gortmaker
The files changed here are simply modular source files that are implicitly relying on being present. We fix them up now, so that we can decouple some of the module related init code from the core init code in the future. The addition of the module.h include to several files here is also a no-op

Re: [PATCH v3 11/19] staging: sm750fb: consistent spacing around operators

2015-06-30 Thread Sudip Mukherjee
On Thu, Jun 25, 2015 at 10:53:33PM -0700, Juston Li wrote: > On Thu, Jun 25, 2015 at 9:05 PM, Sudip Mukherjee > wrote: > > Usually I use the checkpatch which is in linux-next. That will be the > > latest version. If you compare, last commit on checkpatch of staging > > tree was on April 16th, wher

Re: drm/mgag200: doesn't work in panic context

2015-06-30 Thread Rui Wang
On Tuesday, June 30, 2015 2:37 PM, Daniel Vetter wrote: > On Tue, Jun 30, 2015 at 4:53 AM, Rui Wang wrote: > > > > I think testing can be done by injecting a fatal machine check > > exception via einj's debugfs interface. I can reproduce the hard hang every > time. > > I think It can be a simple

Re: [PATCH] HID:multitouch:add driver fo CJTouch MultiTouch

2015-06-30 Thread Jiri Kosina
On Mon, 29 Jun 2015, linux...@163.com wrote: > From: linuxsea > > Signed-off-by:linuxsea Please use your real name for authorship and signoffs. Thanks, -- Jiri Kosina SUSE Labs -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vge

Re: [PATCH 07/10] Staging: fbtft: Remove useless newline

2015-06-30 Thread Dan Carpenter
On Tue, Jun 30, 2015 at 08:43:14AM +0200, Fabio Falzoi wrote: > No newline is needed since checkpatch doesn't complain about line longer > than 80 characters for string literals. > > Signed-off-by: Fabio Falzoi The original was correct. There was no need to go over 80 characters just because of

Re: Use of pinctrl-single for external device over I2C

2015-06-30 Thread Vaibhav Hiremath
On Thursday 25 June 2015 11:16 AM, Vaibhav Hiremath wrote: On Thursday 25 June 2015 10:08 AM, Tony Lindgren wrote: * Vaibhav Hiremath [150624 10:12]: I do not like this, as this is not HW feature, so DT may not be right approach. So I will dig more from either runtime or Compile time opt

Re: [tip:timers/core] clocksource: Increase dependencies of timer-stm32 to limit build wreckage

2015-06-30 Thread Maxime Coquelin
2015-06-29 11:09 GMT+02:00 Daniel Lezcano : > On 06/22/2015 10:05 AM, Maxime Coquelin wrote: > > [ ... ] > >>> --- >>> drivers/clocksource/Kconfig | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >> >> Thanks Paul for the patch. >> Actually, I already had sent a patch to fix thi

[GIT PULL] Replace module_init with device_initcall in non modules

2015-06-30 Thread Paul Gortmaker
This series of commits converts non-modular code that is using the module_init() call to hook itself into the system to instead use device_initcall(). The conversion is a runtime no-op, since module_init actually becomes __initcall in the non-modular case, and that in turn gets mapped onto device_

Re: [RFC v2 PATCH 2/8] mm: introduce MIGRATE_MIRROR to manage the mirrored pages

2015-06-30 Thread Kamezawa Hiroyuki
On 2015/06/30 11:45, Xishi Qiu wrote: On 2015/6/29 15:32, Kamezawa Hiroyuki wrote: On 2015/06/27 11:24, Xishi Qiu wrote: This patch introduces a new migratetype called "MIGRATE_MIRROR", it is used to allocate mirrored pages. When cat /proc/pagetypeinfo, you can see the count of free mirrored b

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
Hi, On 06/30/2015 12:40 PM, Daniel Vetter wrote: Any updates on this or too much distractions? I really think doing this would be awesome for the drm subsystem, instead of reinventing this wheel for each driver. I'd started on this again. I've got more free time now than before, so I should h

Re: [PATCH v2 4/4] arm64: dts: Add spi bus dts

2015-06-30 Thread Daniel Kurtz
Hi Leilk, On Mon, Jun 29, 2015 at 9:04 PM, Leilk Liu wrote: > This patch adds MT8173 spi bus controllers into device tree. > > Signed-off-by: Leilk Liu > --- > arch/arm64/boot/dts/mediatek/mt8173.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek

Re: [GIT PULL 0/8] perf/pt -> Intel PT/BTS

2015-06-30 Thread Adrian Hunter
On 30/06/15 07:58, Ingo Molnar wrote: > > * Arnaldo Carvalho de Melo wrote: > >> Hi Ingo, >> >> Please consider pulling, there are several other patches after this, >> but I think that this may be acceptable to showcase the capabilities already >> present, look at the output of 'perf script

Re: [PATCH] dmaengine: pl330: Really fix choppy sound because of wrong residue calculation

2015-06-30 Thread Krzysztof Kozłowski
2015-06-30 16:01 GMT+09:00 Lars-Peter Clausen : > On 06/30/2015 06:51 AM, Krzysztof Kozłowski wrote: >> >> 2015-06-30 13:14 GMT+09:00 Vinod Koul : >>> >>> On Mon, Jun 22, 2015 at 11:14:42AM +0900, Krzysztof Kozłowski wrote: 2015-06-15 23:00 GMT+09:00 Krzysztof Kozlowski : > >

Re: Use of pinctrl-single for external device over I2C

2015-06-30 Thread Vaibhav Hiremath
On Tuesday 30 June 2015 01:16 PM, Vaibhav Hiremath wrote: On Thursday 25 June 2015 11:16 AM, Vaibhav Hiremath wrote: On Thursday 25 June 2015 10:08 AM, Tony Lindgren wrote: * Vaibhav Hiremath [150624 10:12]: I do not like this, as this is not HW feature, so DT may not be right approach

Re: [PATCH 1/1] igb: Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0])

2015-06-30 Thread Maninder Singh
Hi Joe, >> Use ARRAY_SIZE instead fo sizeof(a)/sizeof(a[0]) > >I think all of these #defines should be removed instead >as they are all used only once. If we replcase only ARRAY_SIZE then cood will look alike to drivers/net/ethernet/intel/e1000e/phy.c And if we have to remove these #defines , th

[PATCH/RFC RESEND] leds: Use set_brightness_work for brightness_set ops that can sleep

2015-06-30 Thread Jacek Anaszewski
This patch rearranges the core LED subsystem code, so that it now removes from drivers the responsibility of using work queues internally in case their brightness_set ops can sleep. Addition of two flags: LED_BRIGHTNESS_FAST and LED_BLINK_DISABLE as well as new_brightness_value property to the stru

[PATCH] lib/bitmap.c: rewrite __bitmap_parse && __bitmap_parselist

2015-06-30 Thread Pan Xinhui
add __bitmap_parse_common to match any contents and return expected result. as __bitmap_parse_common need NULL-terminated string, we alloc a new buf. this patch also fix some parse issues in __bitmap_parselist. now it can handle grouping errors with input like " ", ",", etc. Signed-off-by: xinh

4.2-rc0: early boot broken on Thinkpad X60, T40p

2015-06-30 Thread Pavel Machek
Hi! Boot hangs after "Booting the kernel." message. 4.1-rc7 (or so) worked ok. Same failure on thinkpad T40p. Kernel based on c63f887bdae80858c7cebf914f45f69bbaa88e8d . Will try current -rc0 next. Pavel -- (english) http://

Re: [PATCH RFC v2 1/3] tty: serial core: provide method to search uart by phandle

2015-06-30 Thread Sergei Zviagintsev
Hi, On Mon, Jun 29, 2015 at 06:44:23PM +0200, Dr. H. Nikolaus Schaller wrote: [...] > >> + list_for_each_entry(uart, &uart_list, head) { > >> + if (node != uart->dev->of_node) > >> + continue; > >> + > >> + return uart; > > > > We can easily save three lines he

Re: [PATCH] macintosh: Delete an unnecessary check before the function call "of_node_put"

2015-06-30 Thread SF Markus Elfring
Am 04.02.2015 um 21:36 schrieb SF Markus Elfring: > From: Markus Elfring > Date: Wed, 4 Feb 2015 21:32:27 +0100 > > The of_node_put() function tests whether its argument is NULL and then > returns immediately. Thus the test around the call is not needed. > > This issue was detected by using the

[PATCH 0/5] perf session: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
In some cases some sessions aren't freed. For example, a session is allocated and then if an error occur, just a error value is returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Taeung Song (5): perf inject: Fill in the m

[PATCH 1/5] perf inject: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-inject.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --g

[PATCH 4/5] perf mem: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-mem.c | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-)

[PATCH 5/5] perf report: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-report.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --gi

[PATCH 3/5] perf kvm: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-kvm.c | 16 1 file changed, 12 insertions(+), 4 deletions(-)

Re: 4.2-rc0: early boot broken on Thinkpad X60, T40p

2015-06-30 Thread Pavel Machek
On Tue 2015-06-30 10:08:06, Pavel Machek wrote: > Hi! > > Boot hangs after "Booting the kernel." message. 4.1-rc7 (or so) worked > ok. Same failure on thinkpad T40p. > > Kernel based on c63f887bdae80858c7cebf914f45f69bbaa88e8d . Will try > current -rc0 next. Hmm, I do have CONFIG_SLAB enabled, s

[PATCH 2/5] perf kmem: Fill in the missing freeing a session after an error occur

2015-06-30 Thread Taeung Song
When an error occur a error value is just returned without freeing the session. So allocating and freeing session have to be matched as a pair even if an error occur. Signed-off-by: Taeung Song --- tools/perf/builtin-kmem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/

[PATCH] staging: wilc1000: fix build failure

2015-06-30 Thread Sudip Mukherjee
commit 80279fb7ba5b ("cfg80211: properly send NL80211_ATTR_DISCONNECTED_BY_AP in disconnect") has changed the api of cfg80211_disconnected() and caused a build failure. Add the extra argument as false since it appears from the code that the disconnection is not locally generated. And incase of doub

Re: [PATCH 01/41] clocksource: asm9260: Migrate to new 'set-state' interface

2015-06-30 Thread Daniel Lezcano
On 06/18/2015 12:54 PM, Viresh Kumar wrote: Migrate asm9260 driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_STOPPE

Re: [PATCH RFC v2 3/3] misc: Add w2g0004 gps receiver driver

2015-06-30 Thread Sergei Zviagintsev
Hi, I left some comments below. On Sun, Jun 28, 2015 at 09:46:26PM +0200, Marek Belisko wrote: > From: "H. Nikolaus Schaller" > > Add driver for Wi2Wi w2g004 GPS module connected through uart. Use uart > slave + notification hooks to glue with tty. > > Signed-off-by: H. Nikolaus Schaller > S

Re: [PATCH/RFC RESEND] leds: Use set_brightness_work for brightness_set ops that can sleep

2015-06-30 Thread Jacek Anaszewski
On 06/29/2015 05:17 PM, Stas Sergeev wrote:> 29.06.2015 17:05, Jacek Anaszewski пишет: >> + * If need to disable soft blinking delegate this to the >> + * work queue task to avoid problems in case we are >> + * called from hard irq context. >> +

Re: [PATCH 02/41] clocksource: cadence_ttc: Migrate to new 'set-state' interface

2015-06-30 Thread Daniel Lezcano
On 06/18/2015 12:54 PM, Viresh Kumar wrote: Migrate cadence_ttc driver to the new 'set-state' interface provided by clockevents core, the earlier 'set-mode' interface is marked obsolete now. This also enables us to implement callbacks for new states of clockevent devices, for example: ONESHOT_ST

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Benjamin Gaignard
Hi, I think that what have been done by Rob with module_param is also a good idea: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 Can you mix compilation flag and module param ? Benjamin 2015-06-3

Re: [PATCH] lib/bitmap.c: return -EINVAL for grouping errors in __bitmap_parselist

2015-06-30 Thread Yury Norov
2015-07-01 4:37 GMT+03:00 Pan Xinhui : > hi, Yury > thanks for your nice reply. > > On 2015年06月29日 21:39, Yury Norov wrote: >>> >>> Sometimes the input from user may cause an unexpected result. >> >> >> Could you please provide specific example? >> > I wrote some scripts to do some tests ab

[PATCH V2] lib/bitmap.c: rewrite __bitmap_parse && __bitmap_parselist

2015-06-30 Thread Pan Xinhui
add __bitmap_parse_common to match any contents and return expected reslut. as __bitmap_parse_common need NULL-terminated string, we alloc a new buf. this patch also fix some parse issues in __bitmap_parselist. now it can handle grouping errors with input like " ", ",", etc. Signed-off-by: Pan

Re: [PATCH RFC v2 3/3] misc: Add w2g0004 gps receiver driver

2015-06-30 Thread Dr. H. Nikolaus Schaller
Hi, thanks for the valid and very valuable comments! We will integrate them into RFC v3. BR, Nikolaus Am 30.06.2015 um 10:23 schrieb Sergei Zviagintsev : > Hi, > > I left some comments below. > > On Sun, Jun 28, 2015 at 09:46:26PM +0200, Marek Belisko wrote: >> From: "H. Nikolaus Schaller" >>

Re: kexec crash kernel running with watchdog enabled

2015-06-30 Thread Hidehiro Kawai
(2015/06/29 21:26), Vivek Goyal wrote: > On Mon, Jun 29, 2015 at 06:53:29PM +0900, Hidehiro Kawai wrote: >> Hi, >> >> (2015/06/27 3:33), dwal...@fifo99.com wrote: > On Fri, Jun 26, 2015 at 10:02:00AM +0900, Hidehiro Kawai wrote: Hi, (2015/06/25 1:31), dwal...@fifo99.com wrote: >

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-06-30 Thread Alex Hung
Pali, Thanks for comments, but will you be able to provide more details so it is more clear how this works? On Mon, Jun 29, 2015 at 8:29 PM, Pali Rohár wrote: > On Friday 26 June 2015 23:24:10 Alex Hung wrote: >> On Fri, Jun 26, 2015 at 10:56 PM, Pali Rohár wrote: >> > Hi! >> > >> > On Wednesda

Re: [PATCH] lib/bitmap.c: return -EINVAL for grouping errors in __bitmap_parselist

2015-06-30 Thread Pan Xinhui
hi, Yury On 2015年06月30日 16:32, Yury Norov wrote: 2015-07-01 4:37 GMT+03:00 Pan Xinhui : hi, Yury thanks for your nice reply. On 2015年06月29日 21:39, Yury Norov wrote: Sometimes the input from user may cause an unexpected result. Could you please provide specific example? I wrote

Re: [PATCH] mm: cleaning per architecture MM hook header files

2015-06-30 Thread Laurent Dufour
On 30/06/2015 09:28, Vineet Gupta wrote: >> diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild >> index 769b312c1abb..2febe6ff32ed 100644 >> --- a/arch/arc/include/asm/Kbuild >> +++ b/arch/arc/include/asm/Kbuild >> @@ -49,3 +49,4 @@ generic-y += ucontext.h >> generic-y += user.

Re: [PATCH] arm: perf: Set affinity for PPI based PMUs

2015-06-30 Thread Will Deacon
Hi Stephen, On Mon, Jun 29, 2015 at 10:58:46PM +0100, Stephen Boyd wrote: > For PPI based PMUs, we bail out early in of_pmu_irq_cfg() without > setting the PMU's supported_cpus bitmap. This causes the > smp_call_function_any() in armv7_probe_num_events() to fail. Set > the bitmap to be all CPUs so

Re: 4.2-rc0: early boot broken on Thinkpad X60, T40p

2015-06-30 Thread Pavel Machek
On Tue 2015-06-30 10:15:51, Pavel Machek wrote: > On Tue 2015-06-30 10:08:06, Pavel Machek wrote: > > Hi! > > > > Boot hangs after "Booting the kernel." message. 4.1-rc7 (or so) worked > > ok. Same failure on thinkpad T40p. > > > > Kernel based on c63f887bdae80858c7cebf914f45f69bbaa88e8d . Will t

Re: [PATCH][v2] asus-rbtn: new driver for asus radio button for Windows 8

2015-06-30 Thread Pali Rohár
Hi! Ideally, try to touch led trigger configuration from userspace yourself, so you will see how it works. Take some machine which has some configurable led exported in /sys/class/leds/ and try to set some trigger via "trigger" entry. I think that default trigger for led device (from kernel) can

[PATCH RESEND 0/5] x86_64 kasan fixes

2015-06-30 Thread Andrey Ryabinin
Ugh, sorry Resending with lkml CC'ed. On 06/30/2015 08:23 AM, Ingo Molnar wrote:> > > So if there's a latest series of fixes to apply, please send it. > > Thanks, > > Ingo I've grabbed everything in this series. Including fix from Alexander with slightly tweaked changelog by me and

Re: [PATCH 01/41] clocksource: asm9260: Migrate to new 'set-state' interface

2015-06-30 Thread Viresh Kumar
On 30-06-15, 10:25, Daniel Lezcano wrote: > Could you add in the changelog the subtle change with > set_mode(RESUME) and this code. As a default the timer was stopped > when entering in the set_mode function, now with the new API, this > is done explicitly. > Can you replace this line with a call

[PATCH 4/5] x86_64: kasan: add message about kasan being initialized

2015-06-30 Thread Andrey Ryabinin
Print informational message to tell user that kernel runs with kasan enabled. Add "kasan: " prefix to all messages in kasan_init_64.c Signed-off-by: Andrey Ryabinin --- arch/x86/mm/kasan_init_64.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/x86/mm/kasan_init_64.c b/arch/x86/mm/ka

[PATCH 1/5] x86_64: fix kasan shadow region page tables

2015-06-30 Thread Andrey Ryabinin
From: Alexander Popov Currently kasan shadow region page tables created without respect of physical offset (phys_base). This causes kernel halt when phys_base is not zero. So let's initialize kasan shadow region page tables in kasan_early_init() using __pa_nodebug() which considers phys_base. Th

[PATCH 2/5] x86_64: kasan: flush tlbs after switching cr3

2015-06-30 Thread Andrey Ryabinin
load_cr3() doesn't cause tlb_flush if PGE enabled. This may cause tons of false positive reports spamming kernel to death. To fix this __flush_tlb_all() should be called explicitly after cr3 changed. Signed-off-by: Andrey Ryabinin Cc: # 4.0 --- arch/x86/mm/kasan_init_64.c | 2 ++ 1 file changed

[PATCH 5/5] x86_64: kasan: move KASAN_SHADOW_OFFSET to the arch Kconfig

2015-06-30 Thread Andrey Ryabinin
KASAN_SHADOW_OFFSET is purely arch specific setting, so it should be in arch's Kconfig file. Signed-off-by: Andrey Ryabinin Cc: Paul Bolle --- arch/x86/Kconfig | 5 + lib/Kconfig.kasan | 4 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kcon

[PATCH 3/5] x86_64: kasan: fix boot crash on AMD processors

2015-06-30 Thread Andrey Ryabinin
While populating zero shadow wrong bits in upper level page tables used. __PAGE_KERNEL_RO that was used for pgd/pud/pmd has _PAGE_BIT_GLOBAL set. Global bit is present only in the lowest level of the page translation hierarchy (ptes), and it should be zero in upper levels. This bug seems doesn't ca

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Daniel Vetter
On Tue, Jun 30, 2015 at 10:31 AM, Benjamin Gaignard wrote: > I think that what have been done by Rob with module_param is also a good idea: > https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 > > Can yo

Re: [PATCH] [media] mt9v032: Add missing initialization of pdata in mt9v032_get_pdata()

2015-06-30 Thread Laurent Pinchart
Hi Geert, Thank you for the patch. On Monday 29 June 2015 14:23:41 Geert Uytterhoeven wrote: > drivers/media/i2c/mt9v032.c: In function ‘mt9v032_get_pdata’: > drivers/media/i2c/mt9v032.c:885: warning: ‘pdata’ may be used uninitialized > in this function > > If parsing the endpoint node propertie

Re: [PATCH 3/4] blk-mq: establish new mapping before cpu starts handling requests

2015-06-30 Thread Ming Lei
On Mon, Jun 29, 2015 at 10:25 PM, Akinobu Mita wrote: > 2015-06-28 1:08 GMT+09:00 Ming Lei : >> On Sat, Jun 27, 2015 at 1:14 AM, Akinobu Mita wrote: >>> Akinobu Mita wrote: 2015-06-26 0:40 GMT+09:00 Ming Lei : > On Thu, 25 Jun 2015 21:49:43 +0900 > Akinobu Mita wrote: >> For

[PATCH] clockevents/drivers/timer-stm32: Improve dependencies of timer-stm32

2015-06-30 Thread Maxime Coquelin
This patch improves the build coverage with COMPILE_TEST so it is not only limited to ARM builds. The fix consists in making the STM32 timer depend on GENERIC_CLOCKEVENTS. Reported-by: kbuild test robot Cc: Paul Gortmaker Cc: Daniel Lezcano Cc: Thomas Gleixner Signed-off-by: Maxime Coquelin

Re: [RFC 1/6] drm: Add top level Kconfig option for DRM fbdev emulation

2015-06-30 Thread Archit Taneja
Hi, On 06/30/2015 02:01 PM, Benjamin Gaignard wrote: Hi, I think that what have been done by Rob with module_param is also a good idea: https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/commit/drivers/gpu/drm/msm/msm_drv.c?id=e90dfec78ec288d6c89a7b508a5c5d4ae8b7f934 Can you mix

Re: [PATCH] arm64: dts: mt8173: add clock_null

2015-06-30 Thread James Liao
On Wed, 2015-06-24 at 12:24 +0200, Heiko Stübner wrote: > Am Mittwoch, 24. Juni 2015, 15:54:15 schrieb James Liao: > > On Mon, 2015-06-22 at 14:53 +0200, Heiko Stübner wrote: > > > Am Montag, 22. Juni 2015, 11:38:37 schrieb James Liao: > > > > On Fri, 2015-06-19 at 13:36 +0200, Heiko Stuebner wrote

Re: [PATCH 24/51] writeback, blkcg: associate each blkcg_gq with the corresponding bdi_writeback_congested

2015-06-30 Thread Jan Kara
On Fri 22-05-15 17:13:38, Tejun Heo wrote: > A blkg (blkcg_gq) can be congested and decongested independently from > other blkgs on the same request_queue. Accordingly, for cgroup > writeback support, the congestion status at bdi (backing_dev_info) > should be split and updated separately from mat

[PATCH v3 2/2] schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

2015-06-30 Thread Naveen N. Rao
In the unlikely scenario that the kernel is booted with nodelayacct, we dump all zeroes so as to make it clear that scheduler statistics are not available. Signed-off-by: Naveen N. Rao --- Changes since v2: Revert to unsigned long in printf fs/proc/base.c | 11 +++ 1 file changed, 7 in

Re: [PATCH 1/1] perf: Fixed indentation errors in Core.py

2015-06-30 Thread Philipp Trommler
Hi! This is just a short reminder for the patch I sent a few weeks ago. As it's just a really small change I'd like to ask if someone could review it, so either I have the chance to fix errors or it can be applied. Thanks in advance, Philipp Trommler. Am Freitag, den 05.06.2015, 11:01 +0200 schr

Re: [PATCH] clockevents/drivers/timer-stm32: Improve dependencies of timer-stm32

2015-06-30 Thread Daniel Lezcano
On 06/30/2015 11:06 AM, Maxime Coquelin wrote: This patch improves the build coverage with COMPILE_TEST so it is not only limited to ARM builds. The fix consists in making the STM32 timer depend on GENERIC_CLOCKEVENTS. Reported-by: kbuild test robot Cc: Paul Gortmaker Cc: Daniel Lezcano Cc:

Re: [RESEND PATCH 1/2] pinctrl: change function behavior for per pin muxing controllers

2015-06-30 Thread Nicolas Ferre
Le 17/06/2015 17:55, Stephen Warren a écrit : > On 06/17/2015 06:38 AM, Ludovic Desroches wrote: [..] >> I have sent patches months ago trying to improve things by having >> something more flexible. I don't think I introduce too big changes. >> The only answers I got were from people thinking tha

Re: [PATCH 01/41] clocksource: asm9260: Migrate to new 'set-state' interface

2015-06-30 Thread Daniel Lezcano
On 06/30/2015 11:00 AM, Viresh Kumar wrote: On 30-06-15, 10:25, Daniel Lezcano wrote: Could you add in the changelog the subtle change with set_mode(RESUME) and this code. As a default the timer was stopped when entering in the set_mode function, now with the new API, this is done explicitly.

Re: [PATCH 21/51] bdi: separate out congested state into a separate struct

2015-06-30 Thread Jan Kara
On Fri 22-05-15 17:13:35, Tejun Heo wrote: > Currently, a wb's (bdi_writeback) congestion state is carried in its > ->state field; however, cgroup writeback support will require multiple > wb's sharing the same congestion state. This patch separates out > congestion state into its own struct - str

Re: n900 in 4.2-rc0: repeating oopses

2015-06-30 Thread Pavel Machek
Hi! > Just tried booting 4.2-rc0 on n900 (commit > 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous > -rc0 version worked. This time, there's some output on console, but > too fast for me to read. > > It seems oopses happen before mounting root. If you have serial > console, t

4.2-rc0: akcipher breaks compilation

2015-06-30 Thread Pavel Machek
Hi! CC crypto/akcipher.o CC block/bio.o crypto/akcipher.c: In function ‘crypto_akcipher_report’: crypto/akcipher.c:30:32: error: storage size of ‘rakcipher’ isn’t known struct crypto_report_akcipher rakcipher; ^

Re: [RFC v2 PATCH 2/8] mm: introduce MIGRATE_MIRROR to manage the mirrored pages

2015-06-30 Thread Xishi Qiu
On 2015/6/30 15:53, Kamezawa Hiroyuki wrote: > On 2015/06/30 11:45, Xishi Qiu wrote: >> On 2015/6/29 15:32, Kamezawa Hiroyuki wrote: >> >>> On 2015/06/27 11:24, Xishi Qiu wrote: This patch introduces a new migratetype called "MIGRATE_MIRROR", it is used to allocate mirrored pages.

Re: [PATCH 1/1] cputime: Make the reported utime+stime correspond to the actual runtime.

2015-06-30 Thread Peter Zijlstra
On Mon, Jun 29, 2015 at 05:28:42PM +0200, Fredrik Markström wrote: > Hello Peter, the locking part looks good, I don't have a strong > opinion on per task/signal lock vs global lock. > > But with the patch we still update prev->utime and prev->stime > independently, which was the original problem.

Re: Official bugreport 4.1 kernel (audio gadget and ChipIdea)

2015-06-30 Thread Marek Vasut
On Tuesday, June 30, 2015 at 04:23:01 AM, Peter Chen wrote: > On Fri, Jun 26, 2015 at 07:15:18PM +0200, Sébastien Pruvost wrote: > > Hello, > > > > I'm sending this mail to report a bug concerning the latest kernel 4.1. > > > > Here is the problem (and the test I've done): > > I h

[no subject]

2015-06-30 Thread Western Union
This is to re-notify you of the 300,000.00(Pounds) was deposited here in the western union office in your name is available for pickup. Contact this email: wu.onlinesu...@hotmail.com for your M.T.C.N Numbers. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [RFC] perf tools: Add hugetlbfs memory recognition

2015-06-30 Thread Hou Pengyang
On 2015/6/29 21:42, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 29, 2015 at 10:23:29AM -0300, Arnaldo Carvalho de Melo escreveu: Em Sat, Jun 27, 2015 at 05:08:20PM +0800, Hou Pengyang escreveu: There is something about MAP_HUGETLB. In this patch, we check if a mmap area is hugetlbfs area by

Re: [PATCH v2 1/3] iio: magnetometer: Add support for MEMSIC MMC35240 sensor

2015-06-30 Thread Daniel Baluta
On Mon, Jun 29, 2015 at 10:17 PM, Hartmut Knaack wrote: > Daniel Baluta schrieb am 29.06.2015 um 09:52: >> On Mon, Jun 29, 2015 at 2:07 AM, Hartmut Knaack wrote: >>> Daniel Baluta schrieb am 24.04.2015 um 17:58: Minimal implementation for MMC35240 3-axis magnetometer sensor. It provides

Re: [RFC] COLO Proxy Module

2015-06-30 Thread Patrick McHardy
On 30.06, Li Zhijian wrote: > |ping... > > and i have another question: > can i add a new |||nf_ct_ext_id simply without touching the exiting kernel > code?| No, the kernel needs to know the highest extension ID in order to allocate space for the offsets. > in order to support COLO-Proxy, i need

[PATCH 1/1] dmaengine: at_xdmac: fix transfer data width in at_xdmac_prep_slave_sg()

2015-06-30 Thread Cyrille Pitchen
This patch adds a missing part in commit 6d3a7d9e3ada345948f72564ce638c412ccd8c4a: dmaengine: at_xdmac: allow muliple dwidths when doing slave transfers Indeed, for each item in the scatter-gather list, we check whether the transfer length is aligned with the data width provided by dmaengine_slave

Re: [RFCv4 PATCH 25/34] sched: Add over-utilization/tipping point indicator

2015-06-30 Thread pang . xunlei
Hi Morten, Morten Rasmussen wrote 2015-05-13 AM 03:39:00: > > [RFCv4 PATCH 25/34] sched: Add over-utilization/tipping point indicator > > Energy-aware scheduling is only meant to be active while the system is > _not_ over-utilized. That is, there are spare cycles available to shift > tasks arou

Re: [PATCH 22/51] writeback: add {CONFIG|BDI_CAP|FS}_CGROUP_WRITEBACK

2015-06-30 Thread Jan Kara
On Fri 22-05-15 17:13:36, Tejun Heo wrote: > cgroup writeback requires support from both bdi and filesystem sides. > Add BDI_CAP_CGROUP_WRITEBACK and FS_CGROUP_WRITEBACK to indicate > support and enable BDI_CAP_CGROUP_WRITEBACK on block based bdi's by > default. Also, define CONFIG_CGROUP_WRITEBAC

Re: [RFC v2 PATCH 0/8] mm: mirrored memory support for page buddy allocations

2015-06-30 Thread Mel Gorman
On Sat, Jun 27, 2015 at 10:19:54AM +0800, Xishi Qiu wrote: > Intel Xeon processor E7 v3 product family-based platforms introduces support > for partial memory mirroring called as 'Address Range Mirroring'. This feature > allows BIOS to specify a subset of total available memory to be mirrored (and

Re: da2bc1b9db3351addd293e5b82757efe1f77ed1d breaks hibernation was Re: 4.1-rc7, thinkpad X60: platform mode hibernation does very wrongthing

2015-06-30 Thread Pavel Machek
Hi! > > And this all reminded me of https://lkml.org/lkml/2015/3/18/133 . So I > > think that's another system not covered by commit ab3be73fa7b4 > > ("drm/i915: gen4: work around hang during hibernation"). > > Yes, another system broken by > > commit da2bc1b9db3351addd293e5b82757efe1f77ed1d > A

Re: n900 in 4.2-rc0: repeating oopses

2015-06-30 Thread Pali Rohár
On Tuesday 30 June 2015 11:24:04 Pavel Machek wrote: > Hi! > > > Just tried booting 4.2-rc0 on n900 (commit > > 4a10a91756ef381bced7b88cfb9232f660b92d93) and it is broken. Previous > > -rc0 version worked. This time, there's some output on console, but > > too fast for me to read. > > > > It seem

Re: [PATCH v2] perf tools: don't adjust symbols in vDSO

2015-06-30 Thread Adrian Hunter
On 29/06/15 16:52, Will Deacon wrote: > On Mon, Jun 29, 2015 at 02:23:51PM +0100, Adrian Hunter wrote: >> On 29/06/15 15:30, Adrian Hunter wrote: >>> On 29/06/15 12:02, Adrian Hunter wrote: On 27/06/15 12:10, Will Deacon wrote: > @@ -824,6 +823,14 @@ int dso__load_sym(struct dso *dso, stru

Re: [alsa-devel][PATCH] ASoC: wm8960: update pll and clock setting function

2015-06-30 Thread Zidan Wang
On Mon, Jun 29, 2015 at 10:44:12AM +0100, Charles Keepax wrote: > On Fri, Jun 26, 2015 at 07:09:22PM +0800, Zidan Wang wrote: > > When using snd_soc_dai_set_pll to set pll in machine driver, we > > should set pll in and pll out freq and ensure 5 < PLLN < 13, > > otherwise set pll will be failed. In

Re: [PATCH v2] gpio / ACPI: Add label to the gpio request

2015-06-30 Thread Andy Shevchenko
On Tue, 2015-06-30 at 08:32 +0200, Linus Walleij wrote: > On Mon, Jun 15, 2015 at 4:29 AM, Alexandre Courbot > wrote: > > I don't have the actual v2 patch in my inbox :( > > Tobias, can you resend a v3 with the ACKs. Just a hint: sometimes it's convenient to forward from lkml.org. Like this on

[PATCH V3] lib/bitmap.c: rewrite __bitmap_parse && __bitmap_parselist

2015-06-30 Thread Pan Xinhui
add __bitmap_parse_common to match any contents and return expected reslut. as __bitmap_parse_common need NULL-terminated string, we alloc a new buf. this patch also fix an unexpected parse result issue in __bitmap_parselist. Signed-off-by: Pan Xinhui --- lib/bitmap.c | 238 +

  1   2   3   4   5   6   7   8   >