Re: [PATCH v2] dmaengine: bcm2835: Add slave dma support

2015-05-03 Thread Martin Sperl
I did tests with the (almost) finished dma-support of spi-bcm2835 against a TFT device and it work fine there. Upstreaming this spi-bcm2835 patch obviously requires that the DMA support is in the dma-engine driver first... Please also see prior note about unnecessary interrupts when none are requ

Re: [PATCH v4 WIP 2/4] i2c-parport: modify driver to use new parport device model

2015-05-03 Thread Jean Delvare
On Mon, 4 May 2015 11:10:12 +0530, Sudip Mukherjee wrote: > On Sun, May 03, 2015 at 03:33:40PM +0200, Jean Delvare wrote: > > On Tue, 28 Apr 2015 17:00:21 +0530, Sudip Mukherjee wrote: > > > + adapter->pdev = parport_register_dev_model(port, name, > > > +

Re: [PATCH v5 1/2] sysfs: added sysfs_link_entry_to_kobj()

2015-05-03 Thread Jarkko Sakkinen
On Sun, 2015-05-03 at 20:00 +0200, Greg Kroah-Hartman wrote: > On Sat, May 02, 2015 at 09:10:52PM +0300, Jarkko Sakkinen wrote: > > Added a new function sysfs_link_group_to_kobj() that adds a symlink > > from attribute or group to a kobject. Exported kernfs_remove_by_name_ns > > in order to provide

Re: iwlwifi getting stuck with current Linus' tree (646da63172)

2015-05-03 Thread Jiri Kosina
On Mon, 4 May 2015, Grumbach, Emmanuel wrote: > > so over a past few days, I tried to perform a bisect, but failed as > > expected. The issue is not reliably enough reproducible for me, so I ended > > up with a completely bogus commit. > > > > *However*, now that I have been following the cause

Re: [PATCH 01/10] mfd/extcon: max77693: Remove unused extern declarations and max77693_dev members

2015-05-03 Thread Chanwoo Choi
On 05/04/2015 03:49 PM, Krzysztof Kozłowski wrote: > 2015-05-04 15:45 GMT+09:00 Chanwoo Choi : >> On 04/29/2015 07:58 PM, Krzysztof Kozlowski wrote: >>> Clean up the max77693 private header file by removing: >>> 1. Left-overs from previous way of interrupt handling (driver uses >>>regmap_irq_ch

Fwd: [PATCH] arch/arm/mm/proc-arm925.S: remove dead #ifdef block

2015-05-03 Thread Valentin Rothberg
Hi Russell, I saw the patch below has made its way into today's linux-next tree. Last week I sent a few patches fixing similar issues in arm, but I was not sure if you are interested in such things to get fixed. Are you interested? Another question: Do you have means to notify the sender when yo

Re: [PATCH 01/10] mfd/extcon: max77693: Remove unused extern declarations and max77693_dev members

2015-05-03 Thread Krzysztof Kozłowski
2015-05-04 15:45 GMT+09:00 Chanwoo Choi : > On 04/29/2015 07:58 PM, Krzysztof Kozlowski wrote: >> Clean up the max77693 private header file by removing: >> 1. Left-overs from previous way of interrupt handling (driver uses >>regmap_irq_chip). >> 2. Unused members of struct 'max77693_dev' relate

[char-misc-next 9/9] mei: debug prints with client info in read

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin Add client info to debug prints in the read function to ease on debugging efforts. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/main.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/misc/mei/ma

[char-misc-next 1/9 RESEND] mei: revamp client disconnection flow

2015-05-03 Thread Tomas Winkler
Split disconnected state into two parts first reception disconnect response from the firmware and second actually setting of disconnected state. Book keeping data are needed for processing and after firmware disconnected the client and are cleaned when setting the disconnected state in mei_cl_set_

[char-misc-next 3/9 V2] mei: add a reference from the host client to the me client

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin Keep a pointer to associated me client in the host client object to eliminate me client searches. Check if the me client is active in the firmware by checking if its is linked on the me clients list Add accessors for the me client properties from host client. Signed-off-b

[char-misc-next 5/9 RESEND] mei: support for fixed address clients

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin Fixed address is simplified FW client that doesn't require connection and doesn't support flow control. So it can be only one host client per fixed FW client. Fixed client access is available only for drivers on mei bus, connection from user-space is blocked. Signed-off-b

[char-misc-next 4/9 RESEND] mei: fix flow control for single buffer clients

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin For ME clients that use single receiving buffer the driver tracks credentials on mei_me_clients structure for all connections. The driver needs to book keep the shared resource correctly and track the connections, particularly the credit has to be cleaned when there is no

[char-misc-next 7/9 RESEND] mei: drop iamthif_mtu from device structure

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin We can receive mtu with one call now, no need to store it. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- drivers/misc/mei/amthif.c | 9 + drivers/misc/mei/mei_dev.h | 2 -- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/driv

[char-misc-next 8/9 RESEND] mei: txe: fix incorrect indentation

2015-05-03 Thread Tomas Winkler
Remove spurious blank Signed-off-by: Tomas Winkler --- drivers/misc/mei/pci-txe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/pci-txe.c b/drivers/misc/mei/pci-txe.c index dcfcba44b6f7..0882c0201907 100644 --- a/drivers/misc/mei/pci-txe.c +++ b/drivers/mis

[char-misc-next 6/9 V2] mei: connection to fixed address clients from user-space

2015-05-03 Thread Tomas Winkler
From: Alexander Usyskin This should be used for debug only. The feaure is gated by "allow_fixed_address" control exposed in debugfs. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler --- V2: fix permission on debugfs enntry drivers/misc/mei/debugfs.c | 6 ++ drivers/misc/mei/

[char-misc-next 2/9 V2] mei: revamp client connection

2015-05-03 Thread Tomas Winkler
Simplify connect state machine by changing the logic around Connection request in progress - only check if we have a callback in relevant queue. Extract common code into mei_cl_send_connect() function Signed-off-by: Tomas Winkler Signed-off-by: Alexander Usyskin --- V2: fix the conflict drivers

Re: [PATCH 01/10] mfd/extcon: max77693: Remove unused extern declarations and max77693_dev members

2015-05-03 Thread Chanwoo Choi
On 04/29/2015 07:58 PM, Krzysztof Kozlowski wrote: > Clean up the max77693 private header file by removing: > 1. Left-overs from previous way of interrupt handling (driver uses >regmap_irq_chip). > 2. Unused members of struct 'max77693_dev' related to interrupts in >extcon driver. > > Sign

Re: [PATCH V3 1/4] regmap: Use regcache_mark_dirty() to indicate power loss or reset

2015-05-03 Thread Lars-Peter Clausen
On 05/04/2015 02:00 AM, Kevin Cernekee wrote: Existing regmap users call regcache_mark_dirty() as part of the suspend/resume sequence, to tell regcache that non-default values need to be resynced post-resume. Add an internal "no_sync_defaults" regmap flag to remember this state, so that regcache

Re: [PATCHv3 9/9] zram: add dynamic device add/remove functionality

2015-05-03 Thread Sergey Senozhatsky
On (05/04/15 11:28), Minchan Kim wrote: > [minchan]: use zram->claim to avoid lockdep splat > Reported-by: Minchan Kim > Signed-off-by: Sergey Senozhatsky > --- will take a look today, cleanup and re-submit. thanks! > /* >* Remove sysfs first, so no one will perform a disksize >

Re: [PATCHv3 9/9] zram: add dynamic device add/remove functionality

2015-05-03 Thread Sergey Senozhatsky
On (05/04/15 11:20), Minchan Kim wrote: > I had a time to think over it. > > I think your patch is rather tricky so someone cannot see sysfs > although he already opened /dev/zram but after a while he can see sysfs. > It's weired. > > I want to fix it more generic way. Othewise, we might have tro

[PATCH] perf_event: Don't allow vmalloc backed perf on powerpc

2015-05-03 Thread Michael Ellerman
On powerpc the perf event interrupt is not masked when interrupts are disabled, allowing it to function as an NMI. This causes problems if perf is using vmalloc. If we take a page fault on the vmalloc region the fault handler will fail the page fault because it detects we are coming in from an NMI

Re: [PATCH v2 07/10] avr32: use for_each_sg()

2015-05-03 Thread Hans-Christian Egtvedt
Around Fri 01 May 2015 22:56:40 +0900 or thereabout, Akinobu Mita wrote: > This replaces the plain loop over the sglist array with for_each_sg() > macro which consists of sg_next() function calls. Since avr32 doesn't > select ARCH_HAS_SG_CHAIN, it is not necessary to use for_each_sg() in > order t

Re: [PATCH v4 0/6] Seeding DRBG with more entropy

2015-05-03 Thread Herbert Xu
On Mon, May 04, 2015 at 07:40:12AM +0200, Stephan Mueller wrote: > > I am not sure that this approach is helpful, because the suggested approach > implies using a seeded DRNG and the used get_random_bytes already operates as > a (not always seeded) DRNG. If we have a blocking interface in the ke

Re: [PATCH 2/4] mtd: sh_flctl: drop unused variable

2015-05-03 Thread Nicholas Mc Guire
On Mon, 04 May 2015, Vinod Koul wrote: > On Sun, May 03, 2015 at 10:33:43PM +0300, Laurent Pinchart wrote: > > Hi Nicholas, > > > > Thank you for the patch. > > > > On Saturday 02 May 2015 09:57:08 Nicholas Mc Guire wrote: > > > shdma_tx_submit() called via dmaengine_submit() returns the assigne

Re: [PATCH 0/6] x86: reduce paravirtualized spinlock overhead

2015-05-03 Thread Juergen Gross
On 04/30/2015 06:39 PM, Jeremy Fitzhardinge wrote: On 04/30/2015 03:53 AM, Juergen Gross wrote: Paravirtualized spinlocks produce some overhead even if the kernel is running on bare metal. The main reason are the more complex locking and unlocking functions. Especially unlocking is no longer jus

Re: [PATCH v5] dmaengine: xgene-dma: Fix sparse wannings warnings

2015-05-03 Thread Vinod Koul
On Thu, Apr 23, 2015 at 05:26:45PM +0530, Rameshwar Prasad Sahu wrote: Suject line should mention the fixes you are doing and not tool! > v5 changes: > * Re-pull v3 changes that I missed in v4 > > v4 changes: > * Re-generate patch on top of latest for-linux git > > v3 changes: >

Re: [PATCH] tick-broadcast: Fix the printing of broadcast masks

2015-05-03 Thread Preeti U Murthy
Ping. Any comments on this patch ? Regards Preeti U Murthy On 04/28/2015 02:15 PM, Preeti U Murthy wrote: > Today the number of bits of the broadcast masks that is output into > /proc/timer_list is sizeof(unsigned long). This means that on machines > with larger number of CPUs, the bitmasks of CP

[PATCH] md/raid5: init batch_xxx for new sh at resize_stripes

2015-05-03 Thread Yuanhan Liu
This is to fix a kernel NULL dereference oops introduced by commit 59fc630b("RAID5: batch adjacent full stripe write"), which introduced several batch_xxx fields, and did initiation for them at grow_one_stripes(), but forgot to do same at resize_stripes(). This oops can be easily triggered by foll

Re: [PATCH 4/4] mtd: sh_flctl: fix wrapped condition alignment

2015-05-03 Thread Nicholas Mc Guire
On Mon, 04 May 2015, Vinod Koul wrote: > On Sat, May 02, 2015 at 09:57:10AM +0200, Nicholas Mc Guire wrote: > > CodingStyle fix only - align function parameters to opening (. > > > This doesnt look any better to me... > True it makes little difference when looking at these few lines I guess thoug

[PATCH v2 4/4] extcon: adc-jack: Remove the unneeded num_cables field

2015-05-03 Thread Chanwoo Choi
This patch removes the 'num_cables' filed from 'struct adc_jack_pdata' because 'struct extcon_dev' contains the 'max_supported' field which means the number of supported cable of extcon device. Signed-off-by: Chanwoo Choi --- drivers/extcon/extcon-adc-jack.c | 12 1 file changed, 12

[PATCH v2 3/4] extcon: Alter MHL-TA cable name to TA cable name

2015-05-03 Thread Chanwoo Choi
This patch alters the MHL-TA cable name to TA cable name because MHL-TA is not standard name. The MHL-TA is MHL cable with charger cable (TA or USB). So, this patch use the TA cable instead of MHL-TA to inform the charger cable state. - MHL-TA -> TA Cc: Jaewon Kim Cc: Krzysztof Kozlowski Signed-

[PATCH v2 1/4] extcon: Unify the jig cable names on rt8973 and max14577/77693/77843

2015-05-03 Thread Chanwoo Choi
This patch change the name of various jig cables as 'JIG' because the name of various jig cables are strange and ambiguous on user-space aspect. They include the different information of either USB and UART state. It is never important for user-space process. This patch unifies the name of jig cabl

[PATCH v2 2/4] extcon: Unify the dock device names on max8997/77693

2015-05-03 Thread Chanwoo Choi
This patch change the name of various dock devices as 'DOCK' because the name of various dock devices have not the standard naming rules. The name of dock devices include the differenct word but it is ambiguous and never important information on user-space aspect. This patch unifies the name of do

[PATCH v2 0/4] extcon: Modify the name of unused external connector

2015-05-03 Thread Chanwoo Choi
This patchset alter the unused name of external connector (jig/dock/MHL) as following. The name of jig cable and dock device include the non-standard H/W information. On user-space side, this information are not necessary. The extcon core will support the other method to inform the specific H/W inf

Re: [PATCH v4 WIP 2/4] i2c-parport: modify driver to use new parport device model

2015-05-03 Thread Sudip Mukherjee
On Sun, May 03, 2015 at 03:33:40PM +0200, Jean Delvare wrote: > Hi Sudip, Thanks Jean for your time. > > On Tue, 28 Apr 2015 17:00:21 +0530, Sudip Mukherjee wrote: > > + if (!is_parport(&port->bus_dev)) > > + return; > > Can this actually happen? i got this idea from i2c_verify

Re: [PATCH v4 0/6] Seeding DRBG with more entropy

2015-05-03 Thread Stephan Mueller
Am Sonntag, 3. Mai 2015, 16:58:34 schrieb Theodore Ts'o: Hi Theodore, >On Sun, May 03, 2015 at 05:33:00PM +0200, Stephan Mueller wrote: >> The patch set adds an in-kernel /dev/random equivalent that was discussed >> with Ted Ts'o last July -- see [2] and [3]. A test module for testing the >> asyn

Re: [PATCH v5 8/8] ARM: DTS: dra7x: Integrate sDMA crossbar

2015-05-03 Thread Vinod Koul
On Thu, Apr 09, 2015 at 12:35:54PM +0300, Peter Ujfalusi wrote: > The sDMA requests are routed through the DMA crossbar and without the > crossbar only peripherals using DMA request 0-127 can be used. > Need an ACK from ARM folks before I apply this and the DT ones too please -- ~Vinod -- To un

Re: [PATCH] sched: Relax a restriction in sched_rt_can_attach()

2015-05-03 Thread Mike Galbraith
On Mon, 2015-05-04 at 07:10 +0200, Mike Galbraith wrote: > On Mon, 2015-05-04 at 12:39 +0800, Zefan Li wrote: > > > >> We are moving toward unified hierarchy where all the cgroup controllers > > >> are bound together, so it would make cgroups easier to use if we have > > >> less > > >> restrictio

Re: [PATCH v5 3/8] dmaengine: Add driver for TI DMA crossbar on DRA7x

2015-05-03 Thread Vinod Koul
On Thu, Apr 09, 2015 at 12:35:49PM +0300, Peter Ujfalusi wrote: > +int omap_dmaxbar_init(void) > +{ > + return platform_driver_register(&ti_dma_xbar_driver); > +} > +arch_initcall(omap_dmaxbar_init); All looks fine except this bit, I think I did point out this last time as well, though dont rec

Re: [PATCH 0/4] extcon: Modify the name of unused external connector

2015-05-03 Thread Chanwoo Choi
On 04/30/2015 11:10 AM, Krzysztof Kozlowski wrote: > On 28.04.2015 17:40, Chanwoo Choi wrote: >> On Tue, Apr 28, 2015 at 12:43 PM, Krzysztof Kozlowski >> wrote: >>> On 27.04.2015 21:31, Chanwoo Choi wrote: This patchset alter the unused name of external connector (jig/dock/MHL) as >

Re: [PATCH 3.19 000/177] 3.19.7-stable review

2015-05-03 Thread Ingo Molnar
* Guenter Roeck wrote: > On 05/02/2015 12:00 PM, Greg Kroah-Hartman wrote: > >This is the start of the stable review cycle for the 3.19.7 release. > >There are 177 patches in this series, all will be posted as a response > >to this one. If anyone has any issues with these being applied, please

how to have the kernel do udev's job and autoload the right modules ?

2015-05-03 Thread linux cbon
Hi, I am experimenting a rc.sysinit without udev. Only creating /dev with mount -t devtmpfs dev /dev It also mounts /proc and /sys and /tmp and /var . So the kernel boots up loading a lot of hardware, but some important modules are not loaded , like sound, network and video. I am not sure how to h

Re: [PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-03 Thread Krzysztof Kozlowski
2015-05-04 13:28 GMT+09:00 : > From: Dinh Nguyen > > Turn on the clock to the PL330 DMA if there is a clock node provided. Why? There is no explanation in the patch for this important question - why? Amba bus already does this and provide a wrapper function. Additionally that would mess up with

is kernel slower at loading for some hardware ?

2015-05-03 Thread linux cbon
Hi, during boot up, I am trying to find where the kernel takes more time to do actions (is slower ?). I looked at dmesg and found some places where it takes more time, but not sure if this is normal : [0.070964] smpboot: CPU0: AMD Athlon(tm) 7750 Dual-Core Processor (fam: 10, model: 02, stepp

Re: [PATCH 4/4] mtd: sh_flctl: fix wrapped condition alignment

2015-05-03 Thread Vinod Koul
On Sat, May 02, 2015 at 09:57:10AM +0200, Nicholas Mc Guire wrote: > CodingStyle fix only - align function parameters to opening (. > This doesnt look any better to me... -- ~Vinod > Signed-off-by: Nicholas Mc Guire > --- > > Patch was compile tested with ap325rxa_defconfig (implies > CONFIG_

Re: [alsa-devel] [PATCH v5 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-05-03 Thread Chanwoo Choi
Dear Lee, This patch includes the documentation about extcon-arizona.c. How are we apply this patch to either mfd git or extcon git? Thanks, Chanwoo Choi On 05/04/2015 01:42 PM, Inha Song wrote: > This patch add device tree bindings for the pdata needed to configure > the Accessory Detect Mode s

Re: [PATCH 2/4] mtd: sh_flctl: drop unused variable

2015-05-03 Thread Vinod Koul
On Sun, May 03, 2015 at 10:33:43PM +0300, Laurent Pinchart wrote: > Hi Nicholas, > > Thank you for the patch. > > On Saturday 02 May 2015 09:57:08 Nicholas Mc Guire wrote: > > shdma_tx_submit() called via dmaengine_submit() returns the assigned > > cookie but this is not used here so the variable

Re: [alsa-devel] [PATCH v5 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-05-03 Thread Chanwoo Choi
On 05/04/2015 01:42 PM, Inha Song wrote: > This patch add support for select accessory detect mode to HPDETL or HPDETR. > Arizona provides a headphone detection circuit on the HPDETL and HPDETR pins > to measure the impedance of an external load connected to the headphone. > > Depending on board d

Re: [RFC][PATCHSET] non-recursive link_path_walk() and reducing stack footprint

2015-05-03 Thread Al Viro
On Fri, Apr 24, 2015 at 02:42:03PM +0100, Al Viro wrote: > That avoids this spin_lock() on each absolute symlink at the price of extra > 32 bits in struct nameidata. It looks like doing on-demand reallocation > of nd->stack is the right way to go anyway, so the pressure on nameidata size > is goi

Re: [PATCH] sched: Relax a restriction in sched_rt_can_attach()

2015-05-03 Thread Mike Galbraith
On Mon, 2015-05-04 at 12:39 +0800, Zefan Li wrote: > >> We are moving toward unified hierarchy where all the cgroup controllers > >> are bound together, so it would make cgroups easier to use if we have less > >> restrictions on attaching tasks between cgroups. > > > > Forcing group scheduling ov

[alsa-devel] [PATCH v5 0/2] Add support for select accessory detect mode to HPDETL or HPDETR

2015-05-03 Thread Inha Song
This set of patches adds support for select accessory detect mode to HPDETL or HPDETR. Changes in v5: - Rebased on extcon-next branch. Changes in v4: - Set the hpdet_channel default value to HPDETL in variable declaration. - Fix the indentation in binding documentation. Changes in v3: -

[alsa-devel] [PATCH v5 1/2] extcon: arizona: Add support for select accessory detect mode when headphone detection

2015-05-03 Thread Inha Song
This patch add support for select accessory detect mode to HPDETL or HPDETR. Arizona provides a headphone detection circuit on the HPDETL and HPDETR pins to measure the impedance of an external load connected to the headphone. Depending on board design, headphone detect pins can change to HPDETR o

Re: [PATCH] MODSIGN: Change default key details [ver #2]

2015-05-03 Thread Abelardo Ricart III
On Sun, 2015-05-03 at 18:45 -0700, Linus Torvalds wrote: > On Sat, May 2, 2015 at 2:46 AM, Abelardo Ricart III > wrote: > > endif > > > > -signing_key.priv signing_key.x509: x509.genkey > > +signing_key.priv signing_key.x509: | x509.genkey > > Hmm. Thinking some more about this, I'm not entirel

[alsa-devel] [PATCH v5 2/2] mfd: arizona: Update DT binding to support hpdet channel

2015-05-03 Thread Inha Song
This patch add device tree bindings for the pdata needed to configure the Accessory Detect Mode select when Headphone detection. Signed-off-by: Inha Song Acked-by: Lee Jones Acked-by: Charles Keepax --- Documentation/devicetree/bindings/mfd/arizona.txt | 6 ++ 1 file changed, 6 insertions(

Re: [PATCH 3.10 00/65] 3.10.77-stable review

2015-05-03 Thread Guenter Roeck
On 05/03/2015 12:49 PM, Guenter Roeck wrote: On 05/02/2015 12:03 PM, Greg Kroah-Hartman wrote: This is the start of the stable review cycle for the 3.10.77 release. There are 65 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being appli

Re: [PATCH] sched: Relax a restriction in sched_rt_can_attach()

2015-05-03 Thread Zefan Li
On 2015/5/4 11:13, Mike Galbraith wrote: > On Mon, 2015-05-04 at 08:54 +0800, Zefan Li wrote: >> It's allowed to promote a task from normal to realtime after it has been >> attached to a non-root cgroup, but it will fail if the attaching happens >> after it has become realtime. I don't see how this

[PATCH] dmaengine: pl300: enable the clock to PL330 dma

2015-05-03 Thread dinguyen
From: Dinh Nguyen Turn on the clock to the PL330 DMA if there is a clock node provided. Signed-off-by: Dinh Nguyen --- drivers/dma/pl330.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/dma/pl330.c b/drivers/dma/pl330.c index 0e1f567..82eb641 100644 --- a/drivers/dma/pl330.c +

Re: iwlwifi getting stuck with current Linus' tree (646da63172)

2015-05-03 Thread Grumbach, Emmanuel
On Sun, 2015-05-03 at 23:42 +0200, Jiri Kosina wrote: > Hi, > > so over a past few days, I tried to perform a bisect, but failed as > expected. The issue is not reliably enough reproducible for me, so I ended > up with a completely bogus commit. > > *However*, now that I have been following the

Re: [PATCH] net: dsa: mv88e6xxx: unregister mv88e6352 driver

2015-05-03 Thread David Miller
From: Vivien Didelot Date: Fri, 1 May 2015 10:43:52 -0400 > Add the missing unregister for the mv88e6352_switch_driver. > > Signed-off-by: Vivien Didelot Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.k

[PATCH 1/1] lz4: fix system halt at boot kernel on x86_64

2015-05-03 Thread Caleb Jorden
Sometimes, on x86_64, decompression fails with the following error: Decompressing Linux... Decoding failed -- System halted This condition is not needed for a 64bit kernel(from commit d5e7caf): if( ... || (op + COPYLENGTH) > oend) goto _output_error macro LZ4_SECURE_COPY() tests op a

[PATCH 0/1] lz4: fix system halt at boot on x86_64

2015-05-03 Thread Caleb Jorden
I just upgraded one of my systems from 4.0.0 to 4.0.1, and discovered that it would no longer boot. I tried recompiling my kernel, to see if I had somehow corrupted it, but I got the same results. After searching google for a bit, I discovered the discussion here: Re: [PATCHv2] lz4: fix system h

[RFC PATCH 1/2] ARM: hisi: fix the indentations in Kconfig

2015-05-03 Thread Junling Zheng
Fix the indentations using tabs instead of spaces to align our code. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/Kconfig | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/mach-hisi/Kconfig b/arch/arm/mach-hisi/Kconfig index 83061ad..a12b764 100644

[RFC PATCH 2/2] ARM: hisi: replace a few spaces with tabs

2015-05-03 Thread Junling Zheng
Replace a few spaces with tabs in mach-hisi to keep the code style. Signed-off-by: Junling Zheng --- arch/arm/mach-hisi/hotplug.c | 4 ++-- arch/arm/mach-hisi/platsmp.c | 10 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/arch/arm/mach-hisi/hotplug.c b/arch/arm/mach-h

Re: [PATCH 06/11] drivers/net: include for modular stmmac_platform code

2015-05-03 Thread David Miller
From: Paul Gortmaker Date: Thu, 30 Apr 2015 21:47:42 -0400 > This file is built off of a tristate Kconfig option and also contains > modular function calls so it should explicitly include module.h to > avoid compile breakage during header shuffles done in the future. > > Cc: Giuseppe Cavallaro

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-05-03 Thread Baoquan He
On 05/04/15 at 11:06am, Li, ZhenHua wrote: > Hi baoquan, > Could you paste the kernel log of the first kernel ? Please check the attachment. [0.00] microcode: CPU0 microcode updated early to revision 0x710, date = 2013-06-17 [0.00] Initializing cgroup subsys cpuset [0.00]

[RFC v1 10/11] genirq: Move field 'msi_desc' from struct irq_data into struct irq_common_data

2015-05-03 Thread Jiang Liu
MSI descriptors are per-irq instead of per irqchip, so move it into struct irq_common_data. Signed-off-by: Jiang Liu --- include/linux/irq.h |8 include/linux/irqdesc.h |2 +- kernel/irq/chip.c |2 +- kernel/irq/irqdesc.c|2 +- 4 files changed, 7 insertions

[RFC v1 09/11] genirq: Use helper function to access irq_data->msi_desc

2015-05-03 Thread Jiang Liu
Use helper function to access irq_data->msi_desc, so we could move msi_desc from struct irq_data into struct irq_common_data later. Signed-off-by: Jiang Liu --- arch/ia64/kernel/msi_ia64.c |2 +- arch/ia64/sn/kernel/msi_sn.c|2 +- arch/powerpc/sysdev/xics/ics-opal.c |

[RFC v1 11/11] genirq: Pass irq_data to helper function __irq_set_chip_handler_name_locked()

2015-05-03 Thread Jiang Liu
For most cases, callers pass irq_data->irq to helper function __irq_set_chip_handler_name_locked() and then it looks up irq_data again by calling irq_get_irq_data(irq). So pass irq_data directly instead of irq_data->irq to __irq_set_chip_handler_name_locked(). Signed-off-by: Jiang Liu --- arch/

Re: [PATCH v3 3/3] proc: add kpageidle file

2015-05-03 Thread Minchan Kim
On Thu, Apr 30, 2015 at 05:50:55PM +0300, Vladimir Davydov wrote: > On Thu, Apr 30, 2015 at 05:25:31PM +0900, Minchan Kim wrote: > > On Wed, Apr 29, 2015 at 12:12:48PM +0300, Vladimir Davydov wrote: > > > On Wed, Apr 29, 2015 at 01:35:36PM +0900, Minchan Kim wrote: > > > > On Tue, Apr 28, 2015 at 0

[RFC v1 07/11] net/mlx4: Cache irq_desc->affinity instead of irq_desc

2015-05-03 Thread Jiang Liu
The field 'affinity' in irq_desc won't change once the irq_desc data structure is created. So cache irq_desc->affinity instead of irq_desc. This also helps to hide struct irq_desc from device drivers. Signed-off-by: Jiang Liu --- drivers/net/ethernet/mellanox/mlx4/en_cq.c |6 +++--- driver

[RFC v1 08/11] genirq: Move field 'affinity' from struct irq_data into struct irq_common_data

2015-05-03 Thread Jiang Liu
Irq affinity mask is per-irq instead of per irqchip, so move it into struct irq_common_data. Signed-off-by: Jiang Liu --- include/linux/irq.h | 12 ++-- kernel/irq/irqdesc.c |9 + kernel/irq/manage.c | 12 ++-- kernel/irq/proc.c|2 +- 4 files changed, 18

[RFC][PATCH 2/3] usb: xhci: implement hc_driver notify entry

2015-05-03 Thread Lu Baolu
This patch implements the notify entry defined in hc_driver for xHC driver. For HCD_MSG_DEV_SUSPEND message, it will issue stop endpoint command for each endpoint in the device. The Suspend(SP) bit in the command TRB will be set, which gives xHC a hint about the suspend. For HCD_MSG_DEV_RESUME, it

[RFC][PATCH 3/3] usb: xhci: cleanup unnecessary stop device and ring doorbell operations

2015-05-03 Thread Lu Baolu
There is no need to call xhci_stop_device() and xhci_ring_device() in hub control and bus suspend functions since all device suspend and resume have been notified through the new notify entry in hc_driver. Signed-off-by: Lu Baolu --- drivers/usb/host/xhci-hub.c | 47 -

[RFC][PATCH 1/3] usb: add a hcd notify entry in hc_driver

2015-05-03 Thread Lu Baolu
This patch adds a new entry pointer in hc_driver. With this new entry, USB core can notify host driver when something happens and host driver is willing to be notified. One use case of this interface comes from xHCI compatible host controller driver. The xHCI spec is designed to allow an xHC imple

[RFC][PATCH 0/3] usb: add a hcd notify entry in hc_driver

2015-05-03 Thread Lu Baolu
This patch adds a new entry pointer in hc_driver. With this new entry, USB core can notify host driver when something happens and host driver is willing to be notified. One use case of this interface comes from xHCI compatible host controller driver. The xHCI spec is designed to allow an xHC imple

[RFC v1 05/11] mn10300: Fix incorrect use of data->affinity

2015-05-03 Thread Jiang Liu
The field affinity in struct irq_data is type of cpumask_var_t, so we should pass in data->affinity instead of &data->affinity when calling cpumask_(). Signed-off-by: Jiang Liu --- arch/mn10300/kernel/irq.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/mn1

[RFC v1 04/11] genirq: Move field 'handler_data' from struct irq_data into struct irq_common_data

2015-05-03 Thread Jiang Liu
Handler data (handler_data) is per-irq instead of per irqchip, so move it into struct irq_common_data. Signed-off-by: Jiang Liu --- arch/sparc/kernel/irq_64.c| 15 +-- arch/sparc/kernel/sun4d_irq.c |4 ++-- arch/sparc/kernel/sun4m_irq.c |6 -- arch/x86/kernel/apic/m

[RFC v1 03/11] genirq: Use CONFIG_NUMA instead of CONFIG_SMP to guard irq_common_data.node

2015-05-03 Thread Jiang Liu
NUMA is enabled by CONFIG_NUMA instead of CONFIG_SMP, so use CONFIG_NUMA to guard irq_common_data.node. Signed-off-by: Jiang Liu --- include/linux/irq.h |4 ++-- kernel/irq/irqdesc.c |4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/include/linux/irq.h b/include/li

[RFC v1 02/11] genirq: Move field 'node' from struct irq_data into struct irq_common_data

2015-05-03 Thread Jiang Liu
NUMA node information is per-irq instead of per-irqchip, so move it into struct irq_common_data. Signed-off-by: Jiang Liu --- arch/sh/kernel/irq.c |2 +- arch/x86/kernel/apic/vector.c |8 arch/x86/platform/uv/uv_irq.c |2 +- include/linux/irq.h | 20

Re: [PATCH] sched: Relax a restriction in sched_rt_can_attach()

2015-05-03 Thread Mike Galbraith
On Mon, 2015-05-04 at 08:54 +0800, Zefan Li wrote: > It's allowed to promote a task from normal to realtime after it has been > attached to a non-root cgroup, but it will fail if the attaching happens > after it has become realtime. I don't see how this restriction is useful. In the CONFIG_RT_GROU

[RFC v1 01/11] genirq: Introduce struct irq_common_data to host shared irq data

2015-05-03 Thread Jiang Liu
With introduction of hierarchy irqdomain, struct irq_data becomes per-chip instead of per-irq and there may be multiple irq_datas associated with the same irq. Some per-irq data stored in struct irq_data now may get duplicated into multiple irq_datas, and causes inconsistent view. So introduce str

[RFC v1 00/11] Split struct irq_data into common part and per-chip part

2015-05-03 Thread Jiang Liu
Hi all, Now the irq core supports hierarchy irq and stacked irqchips, so there may be multiple irq_datas associated with the same irq. But some fields in struct irq_data are per-irq instance and duplicating those fields into multiple irq_data may cause troubles. So this patch introd

linux-next: Tree for May 4

2015-05-03 Thread Stephen Rothwell
Hi all, Changes since 20150501: Removed tree: virtio (maintainer moved on) The akpm-current tree lost its build failure. Non-merge commits (relative to Linus' tree): 1436 1426 files changed, 81272 insertions(+), 32795 deletions(-) --

Re: [PATCH v10 0/10] iommu/vt-d: Fix intel vt-d faults in kdump kernel

2015-05-03 Thread Li, ZhenHua
Hi baoquan, Could you paste the kernel log of the first kernel ? Thanks Zhenhua On 05/03/2015 04:55 PM, Baoquan He wrote: On 04/29/15 at 07:20pm, Baoquan He wrote: Bad news, I rebuilt a kernel with your patchset on 4.0.0+ (this commit f614c81). Now dmar fault is seen again. The lspci log and

[RESEND PATCH] xen: vcpu_info would be reset to wrong place on canceled suspend on PVOPS VM which has multi-cpu

2015-05-03 Thread Ouyang Zhaowei (Charles)
The hypervisor continues assuming that vcpu_info is stored in per-cpu data which was set up by xen_vcpu_setup(), while on canceled suspend, the call to xen_hvm_init_shared_info() will now make the guest think that vcpu_info is in the shared page, so we do not call xen_hvm_init_shared_info() on su

[patch] ARM: fix module-bound check in setting page attributes

2015-05-03 Thread Hillf Danton
It was introduced in commit f2ca09f381a59 (ARM: 8311/1: Don't use is_module_addr in setting page attributes) We have no need to check start twice, but see if end is also in range. Signed-off-by: Hillf Danton Acked-by: Laura Abbott --- --- a/arch/arm/mm/pageattr.cMon May 4 10:33:49 2015 ++

[Patch 2/2] x86, irq: Support CPU vector allocation policies

2015-05-03 Thread Jiang Liu
On NUMA systems, an IO device may be associated with a NUMA node. It may improve IO performance to allocate resources, such as memory and interrupts, from device local node. This patch introduces a mechanism to support CPU vector allocation policies, so users may choose the best suitable CPU vecto

[Patch 1/2] irq_remapping/vt-d: Fix regression caused by commit b106ee63abcc

2015-05-03 Thread Jiang Liu
Commit b106ee63abcc ("irq_remapping/vt-d: Enhance Intel IR driver to support hierarchical irqdomains") caused a regression, which forgot to initialize remapping data structures other than the first entry when setting up remapping entries for multiple MSIs. Code is written by Thomas and commit mess

[Patch 0/2] Optimize CPU vector allocation for NUMA systems

2015-05-03 Thread Jiang Liu
Hi all, This is a small patch set based on tip/x86/apic. This first patch is a bugfix for tip/x86/apic. And the second patch is an enhancement to optimize CPU vector allocation on NUMA systems. It introduces a mechanism to allocate CPU vectors from device local NUMA node and a kernel parame

Linux 4.1-rc2

2015-05-03 Thread Linus Torvalds
So the -rc2's have lately been pretty small - looking more like late -rc's than early ones. It *used* to be that I couldn't even post the shortlog, because it was just too big. That's not been the case for the last few releases. I think people tend to take a breather after the merge window, becau

Re: [LKP] [mtd] 6b44d910ae7: WARNING: CPU: 0 PID: 0 at kernel/locking/lockdep.c:3547 check_flags+0xae/0x17b()

2015-05-03 Thread Huang Ying
On Tue, 2015-04-28 at 23:37 +0200, Frans Klaver wrote: > On Thu, Apr 16, 2015 at 01:27:14PM +0800, Huang Ying wrote: > > FYI, we noticed the below changes on > > > > git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master > > commit 6b44d910ae7de5316fcf1fc828ff4a8d48cac5e2 ("mtd:

mm: VM_BUG on boot in set_pfnblock_flags_mask

2015-05-03 Thread Sasha Levin
Hi all, I've decided to try and put more effort into testing on physical machines, but couldn't even get the box to boot :( [0.00] page:ea04 count:0 mapcount:1 mapping: (null) index:0x0 [0.00] flags: 0x0() [0.00] page dumped because: VM_BUG_ON_PAGE(!

Re: [PATCHv3 9/9] zram: add dynamic device add/remove functionality

2015-05-03 Thread Minchan Kim
On Mon, May 04, 2015 at 11:20:08AM +0900, Minchan Kim wrote: > Hello Sergey, > > On Thu, Apr 30, 2015 at 03:51:12PM +0900, Sergey Senozhatsky wrote: > > On (04/30/15 15:44), Minchan Kim wrote: > > > > > I think the problem of deadlock is that you are trying to remove > > > > > sysfs file > > > >

Re: [PATCH] xen: vcpu_info reinit error after 'xl save -c' & 'xl restore' on PVOPS VM which has multi-cpu

2015-05-03 Thread Ouyang Zhaowei (Charles)
On 2015.5.2 2:55, Boris Ostrovsky wrote: > On 04/30/2015 03:27 AM, Ouyang Zhaowei (Charles) wrote: >> >> On 2015.4.29 5:31, Boris Ostrovsky wrote: >>> On 04/28/2015 08:30 AM, Ouyang Zhaowei (Charles) wrote: On 2015.4.26 7:31, Boris Ostrovsky wrote: > On 04/24/2015 05:30 AM, Ouyang Zhaowe

Re: [PATCHv3 9/9] zram: add dynamic device add/remove functionality

2015-05-03 Thread Minchan Kim
Hello Sergey, On Thu, Apr 30, 2015 at 03:51:12PM +0900, Sergey Senozhatsky wrote: > On (04/30/15 15:44), Minchan Kim wrote: > > > > I think the problem of deadlock is that you are trying to remove sysfs > > > > file > > > > in sysfs handler. > > > > > > > > #> echo 1 > /sys/xxx/zram_remove > > >

[PATCH 0/2] x86/quark: Add eSRAM driver and test code

2015-05-03 Thread Bryan O'Donoghue
Quark X1000 SoC contains a 512 KiB embedded SRAM (eSRAM) memory that can be mapped onto an area of DRAM in block or on per-page overlay mode where a 4 KiB aligned region can be overlayed - allowing for broken up mappings with a 4 KiB individual granularity. eSRAM has access times similar to an L1

[PATCH 2/2] x86/quark: Add Quark embedded SRAM self-test

2015-05-03 Thread Bryan O'Donoghue
Quark X1000 contains an embedded SRAM (eSRAM) a fast access SRAM. This code is a self-test routine to measure the performance of that SRAM for different read-values. The tests are designed the performance gains provided by eSRAM using different read-sizes and comparing the performance of eSRAM over

[PATCH 1/2] x86/quark: Add Quark embedded SRAM support

2015-05-03 Thread Bryan O'Donoghue
Quark X1000 ships with 512 KiB of embedded SRAM (eSRAM) a low-latency memory with access times similar to an L1 cache. eSRAM is used during the initial bootstrap phases of EFI firmware, this driver provides a gen_pool interface to eSRAM to allow drivers to make use of eSRAM for fast-access buffers.

Re: [RESEND RFC PATCH 1/3] ASoC: mediatek: Add binding support for AFE driver

2015-05-03 Thread Koro Chen
On Thu, 2015-04-30 at 21:12 +0100, Mark Brown wrote: > On Wed, Apr 22, 2015 at 11:17:20AM +0800, Koro Chen wrote: > > > If using DPCM, it seems the most suitable FE DAIs will be memif, and > > external interface like I2S should be BE DAIs. Do you think it is > > suitable for our memif to be FE DAI

Re: [PATCH v2 3/8] clk: tegra: Fix inconsistent indenting

2015-05-03 Thread Krzysztof Kozlowski
On 02.05.2015 03:46, Stephen Boyd wrote: On 04/28, Krzysztof Kozlowski wrote: Fix the indentation - spaces used instead of tabs and actually wrong number of spaces. Signed-off-by: Krzysztof Kozlowski --- drivers/clk/tegra/clk-emc.c | 16 1 file changed, 8 insertions(+), 8 d

  1   2   3   >