All of lore.kernel.org
 help / color / mirror / Atom feed
From: viresh.kumar@st.com (Viresh KUMAR)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 02/11] ST SPEAr: Added basic header files for SPEAr3xx machine family
Date: Fri, 12 Mar 2010 10:09:03 +0530	[thread overview]
Message-ID: <4B99C567.6070804@st.com> (raw)
In-Reply-To: <20100311103321.GB16376@n2100.arm.linux.org.uk>

On 3/11/2010 4:03 PM, Russell King - ARM Linux wrote:
> On Wed, Mar 03, 2010 at 10:37:32AM +0530, Viresh KUMAR wrote:
>> diff --git a/arch/arm/mach-spear3xx/include/mach/dma.h b/arch/arm/mach-spear3xx/include/mach/dma.h
>> new file mode 100644
>> index 0000000..9b93bc6
>> --- /dev/null
>> +++ b/arch/arm/mach-spear3xx/include/mach/dma.h
>> @@ -0,0 +1,18 @@
>> +/*
>> + * arch/arm/mach-spear3xx/include/mach/dma.h
>> + *
>> + * Generic DMA support for SPEAr3xx machine family
>> + *
>> + * Copyright (C) 2009 ST Microelectronics
>> + * Viresh Kumar<viresh.kumar@st.com>
>> + *
>> + * This file is licensed under the terms of the GNU General Public
>> + * License version 2. This program is licensed "as is" without any
>> + * warranty of any kind, whether express or implied.
>> + */
>> +
>> +#ifndef __ASM_ARCH_DMA_H
>> +#define __ASM_ARCH_DMA_H
>> +
>> +#endif /* __ASM_ARCH_DMA_H */
>> +
> 
> You don't need to provide this file if you don't use it.
> 

It will be removed.

>> diff --git a/arch/arm/mach-spear3xx/include/mach/vmalloc.h b/arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> new file mode 100644
>> index 0000000..4f236f3
>> --- /dev/null
>> +++ b/arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> @@ -0,0 +1,22 @@
>> +/*
>> + * arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> + *
>> + * Defining Vmalloc area for SPEAr3xx machine family
>> + *
>> + * Copyright (C) 2009 ST Microelectronics
>> + * Viresh Kumar<viresh.kumar@st.com>
>> + *
>> + * This file is licensed under the terms of the GNU General Public
>> + * License version 2. This program is licensed "as is" without any
>> + * warranty of any kind, whether express or implied.
>> + */
>> +
>> +#ifndef __ASM_MACH_VMALLOC_H
>> +#define __ASM_MACH_VMALLOC_H
>> +
>> +#include <mach/memory.h>
>> +
>> +#define VMALLOC_SIZE		(0x30000000)
>> +#define VMALLOC_END		(PAGE_OFFSET + VMALLOC_SIZE)
> 
> Don't define it like this - define VMALLOC_END to be the maximum virtual
> address which you can permit the vmalloc area to extend to - which is
> generally the start of your peripheral mappings.
> 
> It's rather pointless defining it in terms of PAGE_OFFSET, because this
> can vary, whereas the start of your peripheral mappings tends to be
> fixed.
> 

OK. Will be changed.


regards,
viresh kumar

WARNING: multiple messages have this Message-ID (diff)
From: Viresh KUMAR <viresh.kumar@st.com>
To: Russell King - ARM Linux <linux@arm.linux.org.uk>
Cc: linux-arm-kernel@lists.infradead.org, rajeev-dlh.kumar@st.com,
	shiraz.hashim@st.com, armando.visconti@st.com,
	ashish.priyadarshi@st.com, linux-kernel@vger.kernel.org,
	vipin.kumar@st.com, amit.goel@st.com, deepak.sikri@st.com
Subject: Re: [PATCH 02/11] ST SPEAr: Added basic header files for SPEAr3xx machine family
Date: Fri, 12 Mar 2010 10:09:03 +0530	[thread overview]
Message-ID: <4B99C567.6070804@st.com> (raw)
In-Reply-To: <20100311103321.GB16376@n2100.arm.linux.org.uk>

On 3/11/2010 4:03 PM, Russell King - ARM Linux wrote:
> On Wed, Mar 03, 2010 at 10:37:32AM +0530, Viresh KUMAR wrote:
>> diff --git a/arch/arm/mach-spear3xx/include/mach/dma.h b/arch/arm/mach-spear3xx/include/mach/dma.h
>> new file mode 100644
>> index 0000000..9b93bc6
>> --- /dev/null
>> +++ b/arch/arm/mach-spear3xx/include/mach/dma.h
>> @@ -0,0 +1,18 @@
>> +/*
>> + * arch/arm/mach-spear3xx/include/mach/dma.h
>> + *
>> + * Generic DMA support for SPEAr3xx machine family
>> + *
>> + * Copyright (C) 2009 ST Microelectronics
>> + * Viresh Kumar<viresh.kumar@st.com>
>> + *
>> + * This file is licensed under the terms of the GNU General Public
>> + * License version 2. This program is licensed "as is" without any
>> + * warranty of any kind, whether express or implied.
>> + */
>> +
>> +#ifndef __ASM_ARCH_DMA_H
>> +#define __ASM_ARCH_DMA_H
>> +
>> +#endif /* __ASM_ARCH_DMA_H */
>> +
> 
> You don't need to provide this file if you don't use it.
> 

It will be removed.

>> diff --git a/arch/arm/mach-spear3xx/include/mach/vmalloc.h b/arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> new file mode 100644
>> index 0000000..4f236f3
>> --- /dev/null
>> +++ b/arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> @@ -0,0 +1,22 @@
>> +/*
>> + * arch/arm/mach-spear3xx/include/mach/vmalloc.h
>> + *
>> + * Defining Vmalloc area for SPEAr3xx machine family
>> + *
>> + * Copyright (C) 2009 ST Microelectronics
>> + * Viresh Kumar<viresh.kumar@st.com>
>> + *
>> + * This file is licensed under the terms of the GNU General Public
>> + * License version 2. This program is licensed "as is" without any
>> + * warranty of any kind, whether express or implied.
>> + */
>> +
>> +#ifndef __ASM_MACH_VMALLOC_H
>> +#define __ASM_MACH_VMALLOC_H
>> +
>> +#include <mach/memory.h>
>> +
>> +#define VMALLOC_SIZE		(0x30000000)
>> +#define VMALLOC_END		(PAGE_OFFSET + VMALLOC_SIZE)
> 
> Don't define it like this - define VMALLOC_END to be the maximum virtual
> address which you can permit the vmalloc area to extend to - which is
> generally the start of your peripheral mappings.
> 
> It's rather pointless defining it in terms of PAGE_OFFSET, because this
> can vary, whereas the start of your peripheral mappings tends to be
> fixed.
> 

OK. Will be changed.


regards,
viresh kumar


  reply	other threads:[~2010-03-12  4:39 UTC|newest]

Thread overview: 102+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-03  5:07 [PATCH 00/11] Adding Support for SPEAr Platform under ARM architecture Viresh KUMAR
2010-03-03  5:07 ` Viresh KUMAR
2010-03-03  5:07 ` [PATCH 01/11] ST SPEAr: Added ARM PrimeXsys System Controller SP810 header file Viresh KUMAR
2010-03-03  5:07   ` Viresh KUMAR
2010-03-03  5:07   ` [PATCH 02/11] ST SPEAr: Added basic header files for SPEAr3xx machine family Viresh KUMAR
2010-03-03  5:07     ` Viresh KUMAR
2010-03-03  5:07     ` [PATCH 03/11] ST SPEAr: Added basic header files for SPEAr6xx " Viresh KUMAR
2010-03-03  5:07       ` Viresh KUMAR
2010-03-03  5:07       ` [PATCH 04/11] ST SPEAr: Added basic header files for SPEAr platform Viresh KUMAR
2010-03-03  5:07         ` Viresh KUMAR
2010-03-03  5:07         ` [PATCH 05/11] ST SPEAr: Added clock framework for SPEAr platform and machines Viresh KUMAR
2010-03-03  5:07           ` Viresh KUMAR
2010-03-03  5:07           ` [PATCH 06/11] ST SPEAr: Added source files for SPEAr platform Viresh KUMAR
2010-03-03  5:07             ` Viresh KUMAR
2010-03-03  5:07             ` [PATCH 07/11] ST SPEAr: Added source files for SPEAr3xx machine family Viresh KUMAR
2010-03-03  5:07               ` Viresh KUMAR
2010-03-03  5:07               ` [PATCH 08/11] ST SPEAr: Added source files for SPEAr6xx " Viresh KUMAR
2010-03-03  5:07                 ` Viresh KUMAR
2010-03-03  5:07                 ` [PATCH 09/11] ST SPEAr: Added support for SPEAr platform and machines in arch/arm/ Viresh KUMAR
2010-03-03  5:07                   ` Viresh KUMAR
2010-03-03  5:07                   ` [PATCH 10/11] ST SPEAr: Added default configuration files for SPEAr machines Viresh KUMAR
2010-03-03  5:07                     ` Viresh KUMAR
2010-03-03  5:07                     ` [PATCH 11/11] ST SPEAr: Updated Maintainers and added Documentation/arm/SPEAr Viresh KUMAR
2010-03-03  5:07                       ` Viresh KUMAR
2010-03-11 20:18                     ` [PATCH 10/11] ST SPEAr: Added default configuration files for SPEAr machines Linus Walleij
2010-03-11 20:18                       ` Linus Walleij
2010-03-11 20:26                       ` Russell King - ARM Linux
2010-03-11 20:26                         ` Russell King - ARM Linux
2010-03-12  4:12                       ` Viresh KUMAR
2010-03-12  4:12                         ` Viresh KUMAR
2010-03-09  6:46               ` [PATCH 07/11] ST SPEAr: Added source files for SPEAr3xx machine family Linus Walleij
2010-03-09  6:46                 ` Linus Walleij
2010-03-09  7:05                 ` Viresh KUMAR
2010-03-09  7:05                   ` Viresh KUMAR
2010-03-10  5:15                   ` Linus Walleij
2010-03-10  5:15                     ` Linus Walleij
2010-03-10  6:10                     ` viresh kumar
2010-03-10  6:10                       ` viresh kumar
2010-03-11 10:41                 ` Russell King - ARM Linux
2010-03-11 10:41                   ` Russell King - ARM Linux
2010-03-12  5:19                   ` Viresh KUMAR
2010-03-12  5:19                     ` Viresh KUMAR
2010-03-11 11:22             ` [PATCH 06/11] ST SPEAr: Added source files for SPEAr platform Linus Walleij
2010-03-11 11:22               ` Linus Walleij
2010-03-11  7:00           ` [PATCH 05/11] ST SPEAr: Added clock framework for SPEAr platform and machines Linus Walleij
2010-03-11  7:00             ` Linus Walleij
2010-03-11 10:18             ` Shiraz HASHIM
2010-03-11 10:18               ` Shiraz HASHIM
2010-03-12  8:46               ` Linus Walleij
2010-03-12  8:46                 ` Linus Walleij
2010-03-12  4:19             ` Viresh KUMAR
2010-03-12  4:19               ` Viresh KUMAR
2010-03-11 10:28           ` Russell King - ARM Linux
2010-03-11 10:28             ` Russell King - ARM Linux
2010-03-12  4:22             ` Viresh KUMAR
2010-03-12  4:22               ` Viresh KUMAR
2010-03-10  5:40         ` [PATCH 04/11] ST SPEAr: Added basic header files for SPEAr platform Linus Walleij
2010-03-10  5:40           ` Linus Walleij
2010-03-10  6:32           ` Viresh KUMAR
2010-03-10  6:32             ` Viresh KUMAR
2010-03-10  9:31             ` Linus Walleij
2010-03-10  9:31               ` Linus Walleij
2010-03-10 10:11               ` Viresh KUMAR
2010-03-10 10:11                 ` Viresh KUMAR
2010-03-10 14:16                 ` Paul Mundt
2010-03-10 14:16                   ` Paul Mundt
2010-03-10 16:36                   ` Thomas Gleixner
2010-03-10 16:36                     ` Thomas Gleixner
2010-03-10 22:16                     ` Tony Lindgren
2010-03-10 22:16                       ` Tony Lindgren
2010-03-10 23:29                       ` Paul Mundt
2010-03-10 23:29                         ` Paul Mundt
2010-03-10 23:42                         ` Thomas Gleixner
2010-03-10 23:42                           ` Thomas Gleixner
2010-03-11  6:43                 ` Linus Walleij
2010-03-11  6:43                   ` Linus Walleij
2010-03-11  9:47                   ` Shiraz HASHIM
2010-03-11  9:47                     ` Shiraz HASHIM
2010-03-11 11:26                     ` Linus Walleij
2010-03-11 11:26                       ` Linus Walleij
2010-03-09 20:42     ` [PATCH 02/11] ST SPEAr: Added basic header files for SPEAr3xx machine family Linus Walleij
2010-03-09 20:42       ` Linus Walleij
2010-03-10  6:01       ` Viresh KUMAR
2010-03-10  6:01         ` Viresh KUMAR
2010-03-10  6:07         ` Linus Walleij
2010-03-10  6:07           ` Linus Walleij
2010-03-11 10:33     ` Russell King - ARM Linux
2010-03-11 10:33       ` Russell King - ARM Linux
2010-03-12  4:39       ` Viresh KUMAR [this message]
2010-03-12  4:39         ` Viresh KUMAR
2010-03-09 20:14   ` [PATCH 01/11] ST SPEAr: Added ARM PrimeXsys System Controller SP810 header file Linus Walleij
2010-03-09 20:14     ` Linus Walleij
2010-03-10  5:09     ` Viresh KUMAR
2010-03-10  5:09       ` Viresh KUMAR
2010-03-11 10:45     ` Russell King - ARM Linux
2010-03-11 10:45       ` Russell King - ARM Linux
2010-03-12  5:19       ` Viresh KUMAR
2010-03-12  5:19         ` Viresh KUMAR
2010-03-07 15:54 ` [PATCH 00/11] Adding Support for SPEAr Platform under ARM architecture viresh kumar
2010-03-07 15:54   ` viresh kumar
2010-03-08 13:48   ` Armando VISCONTI
2010-03-08 13:48     ` Armando VISCONTI

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B99C567.6070804@st.com \
    --to=viresh.kumar@st.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.