All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Schmidt <alexs-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
To: Sonny Rao <sonnyrao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
Cc: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	fenkes-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	raisch-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org,
	Hoang-Nam Nguyen
	<HNGUYEN-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel
Date: Mon, 20 Sep 2010 16:41:37 +0200	[thread overview]
Message-ID: <20100920164137.2c86faef@alex-laptop> (raw)
In-Reply-To: <20100820040809.GS16505-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

On Thu, 19 Aug 2010 23:08:09 -0500
Sonny Rao <sonnyrao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> wrote:

> Some modules (like eHCA) want to map all of kernel memory, for this to
> work with a relocated kernel, we need to export kernstart_addr so
> modules can use PHYSICAL_START and memstart_addr so they could use
> MEMORY_START.  Note that the 32bit code already exports these symbols.
> 
> Signed-off-By: Sonny Rao <sonnyrao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>

Acked-by: Alexander Schmidt <alexs-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>

> Index: common/arch/powerpc/mm/init_64.c
> ===================================================================
> --- common.orig/arch/powerpc/mm/init_64.c	2010-08-16 02:38:33.000000000 -0500
> +++ common/arch/powerpc/mm/init_64.c	2010-08-16 02:39:25.000000000 -0500
> @@ -79,7 +79,9 @@
>  #endif /* CONFIG_PPC_STD_MMU_64 */
> 
>  phys_addr_t memstart_addr = ~0;
> +EXPORT_SYMBOL(memstart_addr);
>  phys_addr_t kernstart_addr;
> +EXPORT_SYMBOL(kernstart_addr);
> 
>  void free_initmem(void)
>  {
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

WARNING: multiple messages have this Message-ID (diff)
From: Alexander Schmidt <alexs@linux.vnet.ibm.com>
To: Sonny Rao <sonnyrao@us.ibm.com>
Cc: linux-rdma@vger.kernel.org, fenkes@de.ibm.com,
	linuxppc-dev@lists.ozlabs.org, raisch@de.ibm.com
Subject: Re: [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel
Date: Mon, 20 Sep 2010 16:41:37 +0200	[thread overview]
Message-ID: <20100920164137.2c86faef@alex-laptop> (raw)
In-Reply-To: <20100820040809.GS16505@us.ibm.com>

On Thu, 19 Aug 2010 23:08:09 -0500
Sonny Rao <sonnyrao@us.ibm.com> wrote:

> Some modules (like eHCA) want to map all of kernel memory, for this to
> work with a relocated kernel, we need to export kernstart_addr so
> modules can use PHYSICAL_START and memstart_addr so they could use
> MEMORY_START.  Note that the 32bit code already exports these symbols.
> 
> Signed-off-By: Sonny Rao <sonnyrao@us.ibm.com>

Acked-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>

> Index: common/arch/powerpc/mm/init_64.c
> ===================================================================
> --- common.orig/arch/powerpc/mm/init_64.c	2010-08-16 02:38:33.000000000 -0500
> +++ common/arch/powerpc/mm/init_64.c	2010-08-16 02:39:25.000000000 -0500
> @@ -79,7 +79,9 @@
>  #endif /* CONFIG_PPC_STD_MMU_64 */
> 
>  phys_addr_t memstart_addr = ~0;
> +EXPORT_SYMBOL(memstart_addr);
>  phys_addr_t kernstart_addr;
> +EXPORT_SYMBOL(kernstart_addr);
> 
>  void free_initmem(void)
>  {
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/linuxppc-dev

  parent reply	other threads:[~2010-09-20 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-20  4:08 [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel Sonny Rao
2010-08-20  4:08 ` Sonny Rao
     [not found] ` <20100820040809.GS16505-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-09-20 14:41   ` Alexander Schmidt [this message]
2010-09-20 14:41     ` Alexander Schmidt

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=20100920164137.2c86faef@alex-laptop \
    --to=alexs-23vcf4htsmix0ybbhkvfkdbpr1lh4cv8@public.gmane.org \
    --cc=HNGUYEN-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=fenkes-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=raisch-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=sonnyrao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.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.