[PATCH 1/3] mmc: omap_hsmmc: convert to dma_request_slave_channel_compat()

2013-02-01 Thread Matt Porter
Convert dmaengine channel requests to use dma_request_slave_channel_compat(). This supports platforms booting with or without DT populated. Signed-off-by: Matt Porter Acked-by: Tony Lindgren --- drivers/mmc/host/omap_hsmmc.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions

Re: [PATCH v7 01/10] ARM: davinci: move private EDMA API to arm/common

2013-02-02 Thread Matt Porter
On Sat, Feb 02, 2013 at 12:49:06PM +, Russell King wrote: > On Fri, Feb 01, 2013 at 10:41:08AM -0800, Tony Lindgren wrote: > > * Matt Porter [130201 10:25]: > > > Move mach-davinci/dma.c to common/edma.c so it can be used > > > by OMAP (specifically AM33xx) as

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-24 Thread Matt Porter
On Thu, Jan 24, 2013 at 05:14:13AM +, Sekhar Nori wrote: > Matt, > > On 1/24/2013 3:07 AM, Matt Porter wrote: > > On Wed, Jan 23, 2013 at 10:21:42AM +0800, Mark Brown wrote: > >> On Tue, Jan 22, 2013 at 09:26:34PM +0530, Sekhar Nori wrote: > >>> On

Re: [PATCH v5 00/14] DMA Engine support for AM33XX

2013-01-24 Thread Matt Porter
On Thu, Jan 24, 2013 at 05:12:05AM +, Shilimkar, Santosh wrote: > On Thursday 24 January 2013 02:19 AM, Matt Porter wrote: > > On Wed, Jan 23, 2013 at 04:37:55PM +0530, Santosh Shilimkar wrote: > >> Matt, > >> > >> On Wednesday 16 Janu

Re: [RFC] efivars write(2) races

2013-01-25 Thread Matt Fleming
On Fri, 2013-01-25 at 00:25 +, Al Viro wrote: > 1) process A does write() on efivars file, reaches ->get_variable(), > gets newdatasize set, drops efivars->lock and loses CPU before an attempt to > grab ->i_mutex. process B comes and does the same thing, replacing the > variable contents

Re: [RFC] efivars write(2) races

2013-01-25 Thread Matt Fleming
On Fri, 2013-01-25 at 11:50 +0800, Lingzhu Xiang wrote: > On 01/25/2013 08:25 AM, Al Viro wrote: > > 1) process A does write() on efivars file, reaches ->get_variable(), > > gets newdatasize set, drops efivars->lock and loses CPU before an attempt to > > grab ->i_mutex. process B comes and doe

Re: [PATCH 1/2] efi: Make 'efi_enabled' a function to query EFI facilities

2013-01-25 Thread Matt Fleming
On Wed, 2013-01-23 at 13:17 +, Ben Hutchings wrote: > On Wed, 2013-01-23 at 07:52 +0000, Matt Fleming wrote: > > On Wed, 2013-01-23 at 04:16 +, Ben Hutchings wrote: > > > On Mon, 2013-01-21 at 21:12 +, Matt Fleming wrote: > &

Re: bzImage 2.12

2013-01-27 Thread Matt Fleming
On Sun, 2013-01-27 at 11:19 -0800, H. Peter Anvin wrote: > It turns out the patch I sent out doesn't actually build. Here is an > updated patch. Can I get your ack for this so I can do the appropriate > hacks to your and Yinghai's patchsets? > > -hpa > Ack

Re: [RFC] efivars write(2) races

2013-01-28 Thread Matt Fleming
On Mon, 2013-01-28 at 10:38 +0800, Lingzhu Xiang wrote: > On 01/25/2013 09:18 PM, Matt Fleming wrote: > >> 4. EFI_VARIABLE_APPEND_WRITE with EFI_OUT_OF_RESOURCES truncates size but > >> you > >> can still read its content. > > > > I'm not sure

Re: [PATCH] proc connector: reject unprivileged listener bumps

2013-02-26 Thread Matt Helsley
quired for a multicast bind. > > Signed-off-by: Kees Cook > Cc: Evgeniy Polyakov > Cc: Matt Helsley > Cc: sta...@vger.kernel.org > --- > drivers/connector/cn_proc.c |8 > 1 file changed, 8 insertions(+) > > diff --git a/drivers/connector/cn_proc.c b/d

[PATCH] x86, efi: Make "noefi" really disable EFI runtime serivces

2013-02-20 Thread Matt Fleming
From: Matt Fleming commit 1de63d60cd5b ("efi: Clear EFI_RUNTIME_SERVICES rather than EFI_BOOT by "noefi" boot parameter") attempted to make "noefi" true to its documentation and disable EFI runtime services to prevent the bricking bug described in commit e0094244e41

Re: [tip:x86/urgent] x86, efi: Make "noefi" really disable EFI runtime serivces

2013-02-21 Thread Matt Fleming
On Wed, 2013-02-20 at 16:16 -0800, Yinghai Lu wrote: > > diff --git a/arch/x86/platform/efi/efi.c b/arch/x86/platform/efi/efi.c > > index 928bf83..e2cd38f 100644 > > --- a/arch/x86/platform/efi/efi.c > > +++ b/arch/x86/platform/efi/efi.c > > @@ -85,9 +85,10 @@ int efi_enabled(int facility) > > } >

[PATCH v2] x86, efi: Make "noefi" really disable EFI runtime serivces

2013-02-21 Thread Matt Fleming
From: Matt Fleming commit 1de63d60cd5b ("efi: Clear EFI_RUNTIME_SERVICES rather than EFI_BOOT by "noefi" boot parameter") attempted to make "noefi" true to its documentation and disable EFI runtime services to prevent the bricking bug described in commit e0094244e41

[PATCH] x86, efi: Mark disable_runtime as __initdata

2013-02-22 Thread Matt Fleming
From: Matt Fleming disable_runtime is only referenced from __init functions, so mark it as __initdata. Reported-by: Yinghai Lu Cc: Satoru Takeuchi Cc: H. Peter Anvin Signed-off-by: Matt Fleming --- arch/x86/platform/efi/efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Thu, Mar 07, 2013 at 08:42:18AM +0200, Andy Shevchenko wrote: > On Wed, Mar 6, 2013 at 6:15 PM, Matt Porter wrote: > > Adds support for parsing the TI EDMA DT data into the > > required EDMA private API platform data. Enables runtime > > PM support to initialize the ED

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Wed, Mar 06, 2013 at 08:24:06PM +, Peter Korsgaard wrote: > >>>>> "Matt" == Matt Porter writes: > > Matt> The binding definition is based on the generic DMA controller > Matt> binding. > > Matt> Signed-off-by: Matt Porter > Ma

Re: [PATCH v9 3/9] ARM: edma: add AM33XX support to the private EDMA API

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:45:46AM +, Sekhar Nori wrote: > > > On 3/6/2013 9:45 PM, Matt Porter wrote: > > Adds support for parsing the TI EDMA DT data into the > > required EDMA private API platform data. Enables runtime > > PM support to initialize the E

Re: [PATCH v9 5/9] dmaengine: edma: Add TI EDMA device tree binding

2013-03-12 Thread Matt Porter
On Tue, Mar 12, 2013 at 06:53:03AM +, Sekhar Nori wrote: > On 3/6/2013 9:45 PM, Matt Porter wrote: > > The binding definition is based on the generic DMA controller > > binding. > > > > Signed-off-by: Matt Porter > > Okay the bindings the documented af

Re: [PATCH] efivars: Allow disabling use as a pstore backend

2013-03-12 Thread Matt Fleming
On Mon, 2013-03-11 at 16:17 -0500, Seth Forshee wrote: > Here's a patch that does the command line option. I'm happy with either > one. I like the idea, but isn't the logic backwards? I would have expected s/EFI_VARS_PSTORE_DEFAULT_DISABLE/EFI_VARS_PSTORE/g and then 'default y' in the Kconfig file

Re: [PATCH] efivars: Allow disabling use as a pstore backend

2013-03-13 Thread Matt Fleming
On Tue, 2013-03-12 at 16:14 -0500, Seth Forshee wrote: > From 91df4dd0d1e20f44ea16b3653cffecd507fdb500 Mon Sep 17 00:00:00 2001 > From: Seth Forshee > Date: Wed, 6 Mar 2013 14:25:36 -0600 > Subject: [PATCH] efivars: Add module parameter to allow disabling use as a > pstore backend > > We know th

Re: [PATCH] efivars: Allow disabling use as a pstore backend

2013-03-13 Thread Matt Fleming
On Wed, 2013-03-13 at 10:25 -0700, H. Peter Anvin wrote: > I think there should be two compile-time options (one to compile in the > EFI pstore code at all, and one to set its default.) OK, sorry Seth, looks like I'm the one that misunderstood. I've picked up your first two patches and pushed them

Re: [PATCH] efivars: Allow disabling use as a pstore backend

2013-03-13 Thread Matt Fleming
On Wed, 2013-03-13 at 14:14 -0500, Seth Forshee wrote: > On Wed, Mar 13, 2013 at 06:33:37PM +0000, Matt Fleming wrote: > > On Wed, 2013-03-13 at 10:25 -0700, H. Peter Anvin wrote: > > > I think there should be two compile-time options (one to compile in the > > > EFI pst

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-08-30 Thread Matt Porter
On Thu, Aug 30, 2012 at 07:46:32PM +0530, Sekhar Nori wrote: > Hi Matt, > > On 8/23/2012 6:39 AM, Matt Porter wrote: > > Removes use of the DaVinci EDMA private DMA API and replaces > > it with use of the DMA engine API. > > > > Signed-off-by: Matt Porter >

Re: [PATCH v3 3/3] spi: spi-davinci: convert to DMA engine API

2012-09-01 Thread Matt Porter
gt; > > > By 'this' you mean the Kconfig select? Then there should be no need of > > > a > > > new patch for this. It can be part of this patch itself, no? > > Either way is okay for me. > And am in good mood :) I am as well...thanks for taking care

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Matt Fleming
On Thu, 2012-08-30 at 14:28 -0700, Josh Triplett wrote: > The ACPI BGRT lets the OS access the BIOS logo image and its position on the > screen at boot time, allowing it to maintain that image on the screen until > ready to display something else, making boot more seamless. This series fixes > sup

Re: [PATCH 0/3] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-04 Thread Matt Fleming
On Tue, 2012-09-04 at 10:59 -0700, Josh Triplett wrote: > On Tue, Sep 04, 2012 at 03:27:20PM +0100, Matt Fleming wrote: > > On Thu, 2012-08-30 at 14:28 -0700, Josh Triplett wrote: > > > The ACPI BGRT lets the OS access the BIOS logo image and its position on > > > th

Re: [PATCH/RFC] Fix xsave bug on older Xen hypervisors

2012-09-10 Thread Matt Wilson
> > Doing things that way may actually allow this to be acceptable > > upstream, so I am sending it around, now. > > It probably could be improved when knowing the exact version > > to test for but otherwise should allow to work around the guest > > crash while not prev

Re: [Xen-devel] [PATCH/RFC] Fix xsave bug on older Xen hypervisors

2012-09-10 Thread Matt Wilson
w that XSAVE support has been added to Xen, we need to reliably detect its presence. The most reliable way to do this is to look at the OSXSAVE feature in cpuid which is set iff the OS (Xen, in this case), has set CR4.OSXSAVE. Matt -- To unsubscribe from this lis

Re: [PATCH] ARM: dts: AM33XX: fix gpio node numbering to match hardware

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 04:57:08AM +, Hiremath, Vaibhav wrote: > On Mon, Sep 10, 2012 at 21:50:20, Porter, Matt wrote: > > On AM33xx, the datasheet and TRM refer to four GPIO instances that > > are 0-based, GPIO0-3. > > > > Thanks Matt, > I think Anil labe

[PATCH 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-11 Thread Matt Porter
Enable pinctrl dummy states for all OMAP platforms. This allows drivers to be converted to pinctrl while still running on platforms that do not provide pinctrl data. Signed-off-by: Matt Porter --- arch/arm/mach-omap2/devices.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm

[PATCH 0/2] Add pinctrl support to omap2-mcspi

2012-09-11 Thread Matt Porter
the !DT case, using board-omap3evm.c. There is a dependency on the patch to enable PINCTRL support (https://patchwork.kernel.org/patch/1376331/) for ARCH_OMAP2PLUS_TYPICAL. Matt Porter (2): spi: omap2-mcspi: add pinctrl support ARM: OMAP2+: Enable pinctrl dummy states arch/arm/mach-omap2

[PATCH 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-11 Thread Matt Porter
Adds pinctrl support to support OMAP platforms that boot from DT and rely on pinctrl support to set pinmuxes. Signed-off-by: Matt Porter --- drivers/spi/spi-omap2-mcspi.c |9 + 1 file changed, 9 insertions(+) diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2

Re: [PATCH 1/2] spi: omap2-mcspi: add pinctrl support

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:00:41AM -0700, Tony Lindgren wrote: > * Matt Porter [120911 10:46]: > > Adds pinctrl support to support OMAP platforms that boot from DT > > and rely on pinctrl support to set pinmuxes. > > > > Signed-off-by: Matt Porter > > --- &

Re: [PATCH 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:03:06AM -0700, Tony Lindgren wrote: > * Matt Porter [120911 10:46]: > > Enable pinctrl dummy states for all OMAP platforms. This allows > > drivers to be converted to pinctrl while still running on > > platforms that do not provide pinctrl data. &

Re: [PATCH 2/2] ARM: OMAP2+: Enable pinctrl dummy states

2012-09-11 Thread Matt Porter
On Tue, Sep 11, 2012 at 11:35:22AM -0700, Tony Lindgren wrote: > Added Linus Walleij to Cc as well. > > * Matt Porter [120911 11:24]: > > On Tue, Sep 11, 2012 at 11:03:06AM -0700, Tony Lindgren wrote: > > > * Matt Porter [120911 10:46]: > > > > Enable pinctrl

Re: [PATCHv3 0/4] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-14 Thread Matt Fleming
t, and reworks the existing BGRT > driver to use that existing copy. > > v2: Made the new internal function efi_unmap_memmap static. Incorporated > feedback from H. Peter Anvin and Matt Fleming: added stubs for > x86-specific EFI functions called from init/main.c to eli

Re: [PATCHv3 0/4] Fix ACPI BGRT support for images located in EFI boot services memory

2012-09-14 Thread Matt Fleming
t, and reworks the existing BGRT > driver to use that existing copy. > > v2: Made the new internal function efi_unmap_memmap static. Incorporated > feedback from H. Peter Anvin and Matt Fleming: added stubs for > x86-specific EFI functions called from init/main.c to eli

Re: + fix-procfs-task-exe-symlink.patch added to -mm tree

2008-01-30 Thread Matt Helsley
mpilation when CONFIG_PROC_FS is not defined b) struct file leak when CONFIG_PROC_FS is not defined 2 - reuse mmap semaphore 3 - move the mm initialization bits in the exec path to close the window where userspace could see a "NULL" exe_file. I will post each after it passes te

Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting

2008-02-02 Thread Matt Helsley
p;m=120141116911711 > > So this (the old vma could be removed before we create the new mapping) > means that the patch above has another problem: if we are remapping the > whole VM_EXECUTABLE vma, removed_exe_file_vma() can clear ->exe_file > while it shouldn't (Matt Helsley cc

Re: [PATCH] sys_remap_file_pages: fix ->vm_file accounting

2008-02-02 Thread Matt Helsley
p;m=120141116911711 > > So this (the old vma could be removed before we create the new mapping) > means that the patch above has another problem: if we are remapping the > whole VM_EXECUTABLE vma, removed_exe_file_vma() can clear ->exe_file > while it shouldn't (Matt Helsley cc

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 22:43 +, Alan Cox wrote: > > better. So for example, I personally suspect that ATA-over-ethernet is way > > better than some crazy SCSI-over-TCP crap, but I'm biased for simple and > > low-level, and against those crazy SCSI people to begin with. > > Current ATAoE isn'

Re: Integration of SCST in the mainstream Linux kernel

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 16:24 -0800, Linus Torvalds wrote: > > On Mon, 4 Feb 2008, Matt Mackall wrote: > > > > But ATAoE is boring because it's not IP. Which means no routing, > > firewalls, tunnels, congestion control, etc. > > The thing is, that's ofte

Re: [2.6.24-mm1] TCP/IPv6 connect() oopses at twothirdsMD4Transform()

2008-02-04 Thread Matt Mackall
On Mon, 2008-02-04 at 17:36 -0800, Andrew Morton wrote: > On Tue, 05 Feb 2008 10:28:43 +0900 Tetsuo Handa <[EMAIL PROTECTED]> wrote: > > > Hello. > > > > Kernel config is at http://I-love.SAKURA.ne.jp/tmp/config-2.6.24-mm1 > > > > 2.6.24 works fine.

Re: [PATCH 4/6] Add multi mport support.

2008-02-05 Thread Matt Porter
ler is target. Right, the RapidIO subsystem itself has had the concept of multiple master ports from the beginning. However, when I did the MPC85xx support I chose to just implement it for the known silicon available at the time. I'm not surprised there's new silicon with multiple controlle

Re: [PATCH 4/6] Add multi mport support.

2008-02-05 Thread Matt Porter
ints in a single RapidIO network fabric space. The reason one would do this is to provide optimized paths to some endpoints in the system. If possible, there should never be a policy assumption like this in kernel space. It's much better to assume that one may or may not have a unique id space.

Re: [PATCH 6/6] Change the kernel configurated RapidIO system size to auto-probing.

2008-02-05 Thread Matt Porter
_win + RIO_PEF_CAR)) > + & RIO_PEF_CTLS) >> 4; > + dev_info(&dev->dev, "RapidIO Common Transport System size: %d\n", > + port->sys_size ? 65536 : 256); > + This is much nicer than the or

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Matt Porter
On Tue, Oct 02, 2012 at 03:32:55PM +0530, Sekhar Nori wrote: > On 10/1/2012 6:02 PM, Matt Porter wrote: > > On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: > >> Hi Matt, > >> > >> On 9/29/2012 1:07 AM, Matt Porter wrote: > >>> L3RAM (s

Re: [PATCH v2 4/7] ARM: davinci: Add support for an L3RAM gen_pool

2012-10-02 Thread Matt Porter
On Tue, Oct 02, 2012 at 04:43:59PM +0530, Sekhar Nori wrote: > On 10/1/2012 7:20 PM, Ben Gardiner wrote: > > On Mon, Oct 1, 2012 at 8:32 AM, Matt Porter wrote: > >> On Mon, Oct 01, 2012 at 05:34:02PM +0530, Sekhar Nori wrote: > >>> Hi Matt, > >>> >

Re: [PATCH v2 8/9] ARM: OMAP: iommu: add device tree support

2012-10-02 Thread Matt Porter
ms to have similar justification to get this machine specific logic out of the platform code and under standardized control of the driver. We have resources that are manipulated outside of the IP block but need to be controlled at the driver level and probably should have a common driver API that isn

[PATCH] MAINTAINERS: Add EFI maintainer entry

2012-10-03 Thread Matt Fleming
From: Matt Fleming We're starting to need a channel through which we can funnel EFI patches to make sure they get merged in a timely fashion. Matthew and Peter seem happy enough for me to take that bullet. Signed-off-by: Matt Fleming Cc: H. Peter Anvin Cc: Matthew Garrett Cc: Ingo Molna

[PATCH 0/3] x86/efi: Identity mapping pagetable

2012-10-03 Thread Matt Fleming
From: Matt Fleming This series upgrades real_mode_header->trampoline_pgd to a proper kernel pagetable instead of just mapping the kernel text and module space. It also inserts the physical mappings for anything we ioremap(), so I/O regions are always accessible via their physical addres

[PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-03 Thread Matt Fleming
From: Matt Fleming There are various pieces of code in arch/x86 that require a page table with an identity mapping. Make trampoline_pgd a proper kernel page table, it currently only includes the kernel text and module space mapping. One new feature of trampoline_pgd is that it now has mappings

[PATCH 2/3] x86, efi: 1:1 pagetable mapping for virtual EFI calls

2012-10-03 Thread Matt Fleming
From: Matt Fleming Some firmware still needs a 1:1 (virt->phys) mapping even after we've called SetVirtualAddressMap(). So install the mapping alongside our existing kernel mapping whenever we make EFI calls in virtual mode. This bug was discovered on ASUS machines where the

[PATCH 3/3] x86/kernel: remove tboot 1:1 page table creation code

2012-10-03 Thread Matt Fleming
kernel didn't zap the identity mapping page table, so tboot related code can remove the remapping code before trapping back now. Signed-off-by: Xiaoyan Zhang Acked-by: Gang Wei Signed-off-by: Matt Fleming --- arch/x86/kernel/tboot.c | 78 - 1

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-03 Thread Matt Fleming
On Wed, 2012-10-03 at 14:31 +0100, Jan Beulich wrote: > >>> Matt Fleming 10/03/12 2:59 PM >>> > >+static int insert_identity_mapping(resource_size_t paddr, unsigned long > >vaddr, > >+unsigned long size) > >+{ > >+unsi

[PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-03 Thread Matt Porter
and the private SRAM API was accessing an invalid SRAM bank. Ben Gardiner (2): ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry Matt Porter (3): ARM: davinci: add platform hook to fetch the SRAM pool

[PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-03 Thread Matt Porter
From: Subhasish Ghosh This patch modifies the sram allocator to allocate memory from the DA8XX shared RAM. Signed-off-by: Subhasish Ghosh [rebased onto consolidated SRAM patches] Signed-off-by: Ben Gardiner [rebased to mainline as consolidated SRAM patches were dropped] Signed-off-by: Matt

[PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-03 Thread Matt Porter
is removal completely removes all uses of SRAM_VIRT, also remove the SRAM_VIRT definition. Signed-off-by: Ben Gardiner Tested-by: Matt Porter --- arch/arm/mach-davinci/da850.c |6 -- arch/arm/mach-davinci/dm355.c |6 -- arch/arm/mach-davin

[PATCH v3 6/6] uio: uio_pruss: replace private SRAM API with genalloc

2012-10-03 Thread Matt Porter
Remove the use of the private DaVinci SRAM API in favor of genalloc. The pool to be used is provided by platform data. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include/linux

[PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-03 Thread Matt Porter
Adds PRUSS clock, registers the L3RAM pool, and registers the platform device for uio_pruss on DA850. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c| 12 + arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 66

[PATCH v3 4/6] ARM: davinci: add platform hook to fetch the SRAM pool

2012-10-03 Thread Matt Porter
Adds sram_get_gen_pool() which allows platform code to get the SRAM gen_pool for purposes of providing it in platform data for driver genalloc use. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/sram.h |3 +++ arch/arm/mach-davinci/sram.c |5 + 2

[PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-03 Thread Matt Porter
: Ben Gardiner [rebased to mainline as the consolidated SRAM support was dropped] Signed-off-by: Matt Porter --- arch/arm/mach-davinci/sram.c | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-davinci/sram.c b/arch/arm/mach-davinci/sram.c index db

Re: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-03 Thread Matt Porter
On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > Changes since v1: > - Replaced uio_pruss private SRAM API use with genalloc > - Added DA850 platform device and clock support > - Added DA850 L3 RAM gen_pool support > - Split out DT binding &

Re: [PATCH] efi: add efivars kobject to efi sysfs folder

2012-10-04 Thread Matt Fleming
On Thu, 2012-10-04 at 10:24 +0800, Lee, Chun-Yi wrote: > UEFI variable filesystem need a new mount point, so this patch add > efivars kobject to efi_kobj for create a /sys/firmware/efi/efivars > folder. > > Cc: Matt Fleming > Cc: Jeremy Kerr > Cc: Matthew Garrett > Cc:

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-04 Thread Matt Fleming
On Thu, 2012-10-04 at 07:32 +0100, Jan Beulich wrote: > >>> On 03.10.12 at 16:03, Matt Fleming wrote: > > On Wed, 2012-10-03 at 14:31 +0100, Jan Beulich wrote: > >> >>> Matt Fleming 10/03/12 2:59 PM >>> > >> >@@ -163,6 +258,10 @@ sta

[PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-04 Thread Matt Porter
n the driver were completely unused. I've only enabled ping-pong buffering on the platform I can test as it's best to allow those with DM644x and similar platforms to set the playback/capture sram size to something that's known to work for them. [1] http://www.spinics.net/lists/arm-kernel/

[PATCH 2/2] ARM: davinci: enable SRAM ping ping buffering on DA850

2012-10-04 Thread Matt Porter
Passes the DA850 shared SRAM gen_pool to the McASP driver and enables the ping-pong buffer DMA support. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c | 24 ++-- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/arch/arm/mach-davinci

[PATCH 1/2] ASoC: davinci: replace private sram api with genalloc

2012-10-04 Thread Matt Porter
Removes the DaVinci private SRAM API and replaces it with the genalloc API. The SRAM gen_pool is passed in pdata since DaVinci is in the early stages of DT conversion. Signed-off-by: Matt Porter --- include/linux/platform_data/davinci_asp.h |3 +++ sound/soc/davinci/davinci-mcasp.c

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: > Hi Matt, > > On 10/3/12, Matt Porter wrote: > > This series enables uio_pruss on DA850 and removes use of the > > private SRAM API by the driver. The driver previously was not > > enabled by any platfo

Re: [PATCH v3 1/6] ARM: davinci: sram: ioremap the davinci_soc_info specified sram regions

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:18:41PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Ben Gardiner > > > > The current davinci init sets up SRAM in iotables. There has been an > > observed > > failure to boot a da850 with 128K specif

Re: [PATCH v3 2/6] ARM: davinci: da850-dm646x: remove the SRAM_VIRT iotable entry

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:23:34PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Ben Gardiner > > > > The sram regions defined for da850-dm646x in their iotable entries are also > > defined in their davinci_soc_info's. > >

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: > Matt, > > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Subhasish Ghosh > > > > This patch modifies the sram allocator to allocate memory > > from the DA8XX shared RAM. > > > > Sign

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > Adds PRUSS clock, registers the L3RAM pool, and registers the > > platform device for uio_pruss on DA850. > > > > Signed-off-by: Matt Porter > > I am int

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 06:24:56PM +0530, Sekhar Nori wrote: > On 10/4/2012 6:12 PM, Matt Porter wrote: > > On Thu, Oct 04, 2012 at 11:11:45AM +0200, Philipp Zabel wrote: > >> Hi Matt, > >> > >> On 10/3/12, Matt Porter wrote: > >>> This series e

Re: [PATCH v3 0/6] uio_pruss cleanup and platform support

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 03:35:53PM +0200, Philipp Zabel wrote: > On Thu, Oct 04, 2012 at 08:42:53AM -0400, Matt Porter wrote: > > > I think the generic SRAM/genalloc driver > > > (https://lkml.org/lkml/2012/9/7/282) > > > could be useful to map the L3RAM on Davinci.

Re: [PATCH v4 2/6] misc: Generic on-chip SRAM allocation driver

2012-10-04 Thread Matt Porter
a2f86e72e854cf404d8f58fbeba85 Mon Sep 17 00:00:00 2001 From: Matt Porter Date: Thu, 4 Oct 2012 11:08:02 -0400 Subject: [PATCH] misc: sram: add support for configurable allocation order Adds support for setting the genalloc pool's minimum allocation order via DT or platform data. The allocatio

Re: [PATCH v3 5/6] ARM: davinci: Add support for PRUSS on DA850

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:52:45PM +0530, Sekhar Nori wrote: > On 10/3/2012 8:25 PM, Matt Porter wrote: > > +static struct clk pruss_clk = { > > + .name = "pruss", > > + .parent = &pll0_sysclk2, > > + .lpsc = DA8XX_LPSC0_PR

Re: [PATCH v3 3/6] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-04 Thread Matt Porter
On Thu, Oct 04, 2012 at 05:27:23PM +0530, Sekhar Nori wrote: > Matt, > > On 10/3/2012 8:25 PM, Matt Porter wrote: > > From: Subhasish Ghosh > > > > This patch modifies the sram allocator to allocate memory > > from the DA8XX shared RAM. > > > > Sign

Re: [PATCH 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-04 Thread Matt Fleming
On Fri, 2012-10-05 at 07:39 +0100, Jan Beulich wrote: > >>> On 04.10.12 at 23:08, "H. Peter Anvin" wrote: > > On 10/03/2012 06:31 AM, Jan Beulich wrote: > >>>>> Matt Fleming 10/03/12 2:59 PM >>> > >>> +static int inse

[PATCH v2 0/3] x86/efi: Identity mapping pagetable

2012-10-05 Thread Matt Fleming
From: Matt Fleming This series upgrades real_mode_header->trampoline_pgd to a proper kernel pagetable instead of just mapping the kernel text and module space. It also inserts the physical mappings for anything we ioremap(), so I/O regions are always accessible via their physical addres

[PATCH v2 1/3] x86, mm: Include the entire kernel memory map in trampoline_pgd

2012-10-05 Thread Matt Fleming
From: Matt Fleming There are various pieces of code in arch/x86 that require a page table with an identity mapping. Make trampoline_pgd a proper kernel page table, it currently only includes the kernel text and module space mapping. One new feature of trampoline_pgd is that it now has mappings

[PATCH 2/3] x86, efi: 1:1 pagetable mapping for virtual EFI calls

2012-10-05 Thread Matt Fleming
From: Matt Fleming Some firmware still needs a 1:1 (virt->phys) mapping even after we've called SetVirtualAddressMap(). So install the mapping alongside our existing kernel mapping whenever we make EFI calls in virtual mode. This bug was discovered on ASUS machines where the

[PATCH 3/3] x86/kernel: remove tboot 1:1 page table creation code

2012-10-05 Thread Matt Fleming
kernel didn't zap the identity mapping page table, so tboot related code can remove the remapping code before trapping back now. Signed-off-by: Xiaoyan Zhang Acked-by: Gang Wei Signed-off-by: Matt Fleming --- arch/x86/kernel/tboot.c | 78 - 1

[PATCH v4 0/7] uio_pruss cleanup and platform support

2012-10-05 Thread Matt Porter
is tested on the same platform using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from http://www.ti.com/tool/sprc940 Ben Gardiner (1): ARM: davinci: sram: switch from iotable to ioremapped regions Matt Porter (5): uio: uio_pruss: repl

[PATCH v4 1/7] uio: uio_pruss: replace private SRAM API with genalloc

2012-10-05 Thread Matt Porter
Remove the use of the private DaVinci SRAM API in favor of genalloc. The pool to be used is provided by platform data. Signed-off-by: Matt Porter --- drivers/uio/Kconfig |1 + drivers/uio/uio_pruss.c | 24 +--- include/linux

[PATCH v4 2/7] ARM: davinci: sram: switch from iotable to ioremapped regions

2012-10-05 Thread Matt Porter
gen_pool_add_virt(). Remove all iotable SRAM mappings and SRAM_VIRT. Regression tested suspend/resume on AM180x EVM. Signed-off-by: Ben Gardiner Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |6 -- arch/arm/mach-davinci/dm355.c |6 -- arch/arm

[PATCH v4 5/7] ARM: davinci: add DA850 PRUSS support

2012-10-05 Thread Matt Porter
Adds PRUSS clock support and registration helper for the pruss_uio device. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |7 +++ arch/arm/mach-davinci/devices-da8xx.c | 65 arch/arm/mach-davinci/include/mach/da8xx.h |2 + 3

[PATCH v4 4/7] ARM: davinci: add platform hook to fetch the SRAM pool

2012-10-05 Thread Matt Porter
Adds sram_get_gen_pool() which allows platform code to get the machine's SRAM gen_pool. The gen_pool may be passed in platform data for driver genalloc use. Signed-off-by: Matt Porter --- arch/arm/mach-davinci/include/mach/sram.h |3 +++ arch/arm/mach-davinci/sram.c |

[PATCH v4 6/7] ARM: davinci: clean up DA850 EVM include ordering

2012-10-05 Thread Matt Porter
Reorder includes so they are grouped by linux/mach/asm Signed-off-by: Matt Porter --- arch/arm/mach-davinci/board-da850-evm.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci

[PATCH v4 7/7] ARM: davinci: register pruss_uio device on DA850 EVM

2012-10-05 Thread Matt Porter
Configures the required pdata and registers the pruss_uio platform device on the DA850 EVM. Tested on AM180x-EVM using the PRU_memAccessPRUDataRam and PRU_memAccessL3andDDR examples from the PRU userspace tools available from http://www.ti.com/tool/sprc940 Signed-off-by: Matt Porter --- arch

[PATCH v4 3/7] ARM: davinci: da850: changed SRAM allocator to shared ram.

2012-10-05 Thread Matt Porter
SRAM patches were dropped] Signed-off-by: Matt Porter --- arch/arm/mach-davinci/da850.c |4 ++-- arch/arm/mach-davinci/include/mach/da8xx.h |1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index

Re: [PATCH v2 0/7] uio_pruss cleanup and platform support

2012-10-05 Thread Matt Porter
On Fri, Oct 05, 2012 at 04:43:56AM +, Hebbar, Gururaja wrote: > Matt, > > On Wed, Oct 03, 2012 at 20:30:58, Porter, Matt wrote: > > On Fri, Sep 28, 2012 at 03:37:45PM -0400, Matt Porter wrote: > > > Changes since v1: > > > - Replaced uio_pruss p

Re: [PATCH 0/2] Convert davinci ASoC to genalloc SRAM

2012-10-05 Thread Matt Porter
On Thu, Oct 04, 2012 at 06:15:43AM -0400, Matt Porter wrote: > This series converts davinci ASoC to use genalloc and enables > that support on DA850. It applies on top of the uio_pruss/genalloc > series [1] which allows DaVinci to provide a gen_pool via pdata > for driver use. >

Re: [PATCH v4 0/7] uio_pruss cleanup and platform support

2012-10-24 Thread Matt Porter
On Mon, Oct 08, 2012 at 04:27:20PM +0530, Sekhar Nori wrote: > On 10/5/2012 10:34 PM, Matt Porter wrote: > > > This series enables uio_pruss on DA850 and removes use of the > > private SRAM API by the driver. The driver previously was not > > enabled by any platform and

Re: [PATCH v3] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-25 Thread Matt Fleming
Olof Johansson > Acked-by: Maarten Lankhorst > Cc: sta...@kernel.org # 3.4 - 3.6 > Cc: Matthew Garrett Applied, thanks! -- Matt Fleming, Intel Open Source Technology Center -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

Re: [PATCH v3] x86: efi: Turn off efi_enabled after setup on mixed fw/kernel

2012-10-25 Thread Matt Fleming
Olof Johansson > Acked-by: Maarten Lankhorst > Cc: sta...@kernel.org # 3.4 - 3.6 > Cc: Matthew Garrett > --- Running with this patch results in the following, [3.486943] [ cut here ]---- [3.488455] WARNING: at /home/matt/src/kernels/linux-2.6/arch/x86/mm/i

[GIT PULL] EFI fixes for v3.7

2012-10-26 Thread Matt Fleming
repository location on kernel.org. Matt Fleming (1): MAINTAINERS: Add EFI git repository location Olof Johansson (1): x86: efi: Turn off efi_enabled after setup on mixed fw/kernel MAINTAINERS | 1 + arch

Re: [GIT PULL] EFI fixes for v3.7

2012-10-26 Thread Matt Fleming
On Fri, 2012-10-26 at 10:22 +0200, Ingo Molnar wrote: > * Matt Fleming wrote: > > > Hi guys, > > > > The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37: > > > > Linux 3.7-rc1 (2012-10-14 14:41:04 -0700) > > > > are av

Re: [PATCH] davinci: check for presence of channel controller on slot alloc

2012-10-26 Thread Matt Porter
On Fri, Oct 26, 2012 at 05:09:17PM +0530, Sekhar Nori wrote: > + Matt, who is doing the DMA engine conversion for EDMA > > On 9/12/2012 11:44 PM, Cyril Chemparathy wrote: > > This patch adds a check for the presence of the channel controller when > > trying to allocate a sl

Re: [PATCH] [RESENDING] netconsole: register cmdline netconsole configs to configfs

2008-02-11 Thread Matt Mackall
On Mon, 2008-02-11 at 18:08 +0900, Joonwoo Park wrote: > This patch intorduces cmdline netconsole configs to register to > configfs > with dynamic netconsole. Satyam Sharma who designed shiny dynamic > reconfiguration for netconsole, mentioned about this issue already. > (http://lkml.org/lkml/2007

<    1   2   3   4   5   6   7   8   9   10   >