[PATCH v8 3/3] leds/powernv: Add driver for PowerNV platform

2015-07-24 Thread Vasant Hegde
This patch implements LED driver for PowerNV platform using the existing generic LED class framework. PowerNV platform has below type of LEDs: - System attention Indicates there is a problem with the system that needs attention. - Identify Helps the user locate/identify a particula

[PATCH v8 2/3] powerpc/powernv: Create LED platform device

2015-07-24 Thread Vasant Hegde
This patch adds platform devices for leds. Also export LED related OPAL API's so that led driver can use these APIs. Signed-off-by: Vasant Hegde Acked-by: Benjamin Herrenschmidt --- arch/powerpc/platforms/powernv/opal.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --

[PATCH v8 0/3] LED driver for PowerNV platform

2015-07-24 Thread Vasant Hegde
The following series implements LED driver for PowerNV platform. PowerNV platform has below type of LEDs: - System attention Indicates there is a problem with the system that needs attention. - Identify Helps the user locate/identify a particular FRU or resource in the system

[PATCH v8 1/3] powerpc/powernv: Add OPAL interfaces for accessing and modifying system LED states

2015-07-24 Thread Vasant Hegde
From: Anshuman Khandual This patch registers the following two new OPAL interfaces calls for the platform LED subsystem. With the help of these new OPAL calls, the kernel will be able to get or set the state of various individual LEDs on the system at any given location code which is passed throu

Re: [PATCH] powerpc/fsl-pci: fix pcie range issue for some P1/P2 boards

2015-07-24 Thread Scott Wood
On Wed, 2015-07-22 at 18:08 +0800, Zhiqiang Hou wrote: > From: Hou Zhiqiang You CCed this to b21...@freescale.com.  Who is that?  It would be nice to use "friendly"  e-mail addresses, but at least include the name along with the e-mail address. I suggest CCing the people who added these device

Re: [PATCH 3/3] mmc: sdhci-of-esdhc: add workaround for T4240 incorrect HOSTVER value

2015-07-24 Thread Scott Wood
On Tue, 2015-07-21 at 15:02 +0200, Ulf Hansson wrote: > On 21 July 2015 at 11:45, Yangbo Lu wrote: > > For T4240-R1.0-R2.0, the HOSTVER register has incorrcet vender > > version value and sdhc spec version value. This will break down > > the ADMA data transfer. So add workaround to get right value

Re: [PATCH 2/3] powerpc/85xx: add 'cpu-rev' property for cpus node

2015-07-24 Thread Scott Wood
On Tue, 2015-07-21 at 17:45 +0800, Yangbo Lu wrote: > Add 'cpu-rev' property for cpus node to support getting cpu revision > from dts, since it's not good to get cpu revision using powerpc specific > function(like SVR_REV()) in common drivers. No. Don't modify the device tree within Linux without

Re: [PATCH 3/3] powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask

2015-07-24 Thread Benjamin Herrenschmidt
On Fri, 2015-07-24 at 14:55 -0500, Brian King wrote: > Ben, > > It looks like this patch has bit rot. I have a system now where I can test the > latest version. Any chance you can rediff and resend and I can test? Hrm, Michael didn't upstream it ? Ok, I'll have a look on monday. (ping me if I do

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-24 Thread Michael Ellerman
On Sat, 2015-07-25 at 10:35 +1000, Finn Thain wrote: > On Fri, 24 Jul 2015, Christian T. Steigies wrote: > > 3b5801864975cf23bcacb52f648e74cc /dev/nvram > > 3b5801864975cf23bcacb52f648e74cc /tmp/nvram > > Thanks for helping with this, Christian. I'll add your name in "Tested-by" > tags on the r

Re: [PATCH 3/3] powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask

2015-07-24 Thread Michael Ellerman
On Fri, 2015-07-24 at 14:55 -0500, Brian King wrote: > Ben, > > It looks like this patch has bit rot. I have a system now where I can test the > latest version. Any chance you can rediff and resend and I can test? It's in next: https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/log

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-24 Thread Michael Schmitz
Hi Christian, good to know this worked - for the record (Finn), this is the kernel with Finn's patch applied. I'll build the missing LVM module so Christian can run the tests on the unpatched kernel as well. Thanks for testing! Michael Am 25.07.15 um 07:07 schrieb Christian T. Steigi

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-24 Thread Finn Thain
On Fri, 24 Jul 2015, Christian T. Steigies wrote: > Moin, > On Fri, Jul 24, 2015 at 02:56:26PM +1200, Michael Schmitz wrote: > > > > here's what Finn asked me to run as tests: > > > > # dmesg | grep this_id > nvram.out > > # cat /proc/driver/nvram >> nvram.out > > # hexdump -C /dev/nvram >> nvr

[PATCH V5 4/7] mm: mlock: Add mlock flags to enable VM_LOCKONFAULT usage

2015-07-24 Thread Eric B Munson
The previous patch introduced a flag that specified pages in a VMA should be placed on the unevictable LRU, but they should not be made present when the area is created. This patch adds the ability to set this state via the new mlock system calls. We add MLOCK_ONFAULT for mlock2 and MCL_ONFAULT f

[PATCH V5 5/7] mm: mmap: Add mmap flag to request VM_LOCKONFAULT

2015-07-24 Thread Eric B Munson
The cost of faulting in all memory to be locked can be very high when working with large mappings. If only portions of the mapping will be used this can incur a high penalty for locking. Now that we have the new VMA flag for the locked but not present state, expose it as an mmap option like MAP_L

[PATCH V5 0/7] Allow user to request memory to be locked on page fault

2015-07-24 Thread Eric B Munson
mlock() allows a user to control page out of program memory, but this comes at the cost of faulting in the entire mapping when it is allocated. For large mappings where the entire area is not necessary this is not ideal. Instead of forcing all locked pages to be present when they are allocated, t

[PATCH V5 2/7] mm: mlock: Add new mlock system call

2015-07-24 Thread Eric B Munson
With the refactored mlock code, introduce a new system call for mlock. The new call will allow the user to specify what lock states are being added. mlock2 is trivial at the moment, but a follow on patch will add a new mlock state making it useful. Signed-off-by: Eric B Munson Cc: Michal Hocko

Re: [PATCH 3/3] powerpc/iommu: Support "hybrid" iommu/direct DMA ops for coherent_mask < dma_mask

2015-07-24 Thread Brian King
Ben, It looks like this patch has bit rot. I have a system now where I can test the latest version. Any chance you can rediff and resend and I can test? Thanks, Brian ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org

Re: [RFC v4 03/25] m68k/atari: Move Atari-specific code out of drivers/char/nvram.c

2015-07-24 Thread Christian T. Steigies
Moin, On Fri, Jul 24, 2015 at 02:56:26PM +1200, Michael Schmitz wrote: > > here's what Finn asked me to run as tests: > > # dmesg | grep this_id > nvram.out > # cat /proc/driver/nvram >> nvram.out > # hexdump -C /dev/nvram >> nvram.out > # cp /dev/nvram /tmp/nvram > # cp /tmp/nvram /dev/nvram > #

Re: [PATCH] powerpc/p1010rdb:update dts for pcie interrupt-map

2015-07-24 Thread Scott Wood
On Mon, 2015-07-20 at 15:32 +0800, Zhao Qiang wrote: > From: Zhao Qiang > > p1010rdb-pb use the irq[4:5] for inta and intb to pcie, > it is active-high, so set it. What about revisions of p1010rdb other than pb? > Signed-off-by: Zhao Qiang > Change-Id: I29db41b4a8b5a67c18151099884edda6de4d9d1a

Re: [PATCH V4 2/6] mm: mlock: Add new mlock, munlock, and munlockall system calls

2015-07-24 Thread Eric B Munson
e x86 > >>>system calls additions in that version. > >> > >>The MIPS bits are looking good however, so > >> > >>Acked-by: Ralf Baechle > >> > >>With my ack, will you keep them or maybe carry them as a separate patch? > > > >

RE: [PATCH 03/10] dpaa_eth: add configurable bpool thresholds

2015-07-24 Thread Madalin-Cristian Bucur
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > > Allow the user to tweak the refill threshold and the total number > > of buffers in the buffer pool. The provided values are for one CPU. > > Any value in making

Re: [PATCH V4 2/6] mm: mlock: Add new mlock, munlock, and munlockall system calls

2015-07-24 Thread Guenter Roeck
eries, though I have dropped two of the new syscalls after some discussion. So I will not include your ack on the new patch. Eric Hi Eric, next-20150724 still has some failures due to this patch set. Are those being looked at (I know parisc builds fail, but there may be others) ?

RE: [PATCH 02/10] dpaa_eth: add support for DPAA Ethernet

2015-07-24 Thread Madalin-Cristian Bucur
> -Original Message- > From: Joe Perches [mailto:j...@perches.com] > On Wed, 2015-07-22 at 19:16 +0300, Madalin Bucur wrote: > > This introduces the Freescale Data Path Acceleration Architecture > > (DPAA) Ethernet driver (dpaa_eth) that builds upon the DPAA QMan, > > BMan, PAMU and FMan dr

Re: [PATCH][v2] powerpc/fsl-booke: Add T1040D4RDB/T1042D4RDB board support

2015-07-24 Thread Scott Wood
On Wed, 2015-07-22 at 05:49 -0500, Jain Priyanka-B32167 wrote: > > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Friday, July 17, 2015 10:37 PM > > To: Jain Priyanka-B32167 > > Cc: linuxppc-dev@lists.ozlabs.org > > Subject: Re: [PATCH][v2] powerpc/fsl-booke: Add T1040D4RDB/T10

Re: powerpc/corenet: enable eSDHC

2015-07-24 Thread Scott Wood
On Mon, 2015-07-20 at 01:43 -0500, Lu Yangbo-B47093 wrote: > > OK, thanks. Assuming no similar issues when testing, I'll apply this > > patch the next time I do a batch of patch application. > > > > Any thoughts regarding better error handling? > > > > -Scott > > Do you mean SD test? I just me

Re: [PATCH v2] powerpc/dts: Add and fix 1588 timer node for eTSEC

2015-07-24 Thread Scott Wood
On Mon, 2015-07-20 at 01:33 -0500, Lu Yangbo-B47093 wrote: > > On Wed, 2015-07-15 at 21:37 -0500, Lu Yangbo-B47093 wrote: > > > Any comments? > > > Thanks. > > > > Sorry, I must have missed this on my last time through the patch queue. > > I see you've decimalized the fiper and max-adj properties,

Re: [PATCH] mm: rename and document alloc_pages_exact_node

2015-07-24 Thread Vlastimil Babka
On 07/23/2015 10:27 PM, David Rientjes wrote: On Thu, 23 Jul 2015, Christoph Lameter wrote: The only possible downside would be existing users of alloc_pages_node() that are calling it with an offline node. Since it's a VM_BUG_ON() that would catch that, I think it should be changed to a VM_WA

Re: [PATCH V4 2/6] mm: mlock: Add new mlock, munlock, and munlockall system calls

2015-07-24 Thread Eric B Munson
On Thu, 23 Jul 2015, Ralf Baechle wrote: > On Wed, Jul 22, 2015 at 10:15:01AM -0400, Eric B Munson wrote: > > > > > > > You haven't wired it up properly on powerpc, but I haven't mentioned it > > > because > > > I'd rather we did it. > > > > > > cheers > > > > It looks like I will be spinning

[PATCH] powerpc/85xx: add sleep and deep sleep support

2015-07-24 Thread Chenhui Zhao
In sleep PM mode, the clocks of e500 core and unused IP blocks is turned off. IP blocks which are allowed to wake up the processor are still running. Some Freescale chips like MPC8536 and P1022 has deep sleep PM mode in addtion to the sleep PM mode. While in deep sleep PM mode, additionally, the

Re: [PATCH v2 11/20] tty/hvc: xen: Use xen page definition

2015-07-24 Thread David Vrabel
On 09/07/15 21:42, Julien Grall wrote: > The console ring is always based on the page granularity of Xen. [...] > --- a/drivers/tty/hvc/hvc_xen.c > +++ b/drivers/tty/hvc/hvc_xen.c > @@ -392,7 +392,7 @@ static int xencons_connect_backend(struct xenbus_device > *dev, > if (xen_pv_domain()) >