From: Sonny Rao <sonnyrao-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> To: linuxppc-dev-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, fenkes-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, raisch-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, hnguyen-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org, rolandd-FYB4Gu1CFyUAvxtiuMwx3w@public.gmane.org Subject: [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel Date: Thu, 19 Aug 2010 23:08:09 -0500 [thread overview] Message-ID: <20100820040809.GS16505@us.ibm.com> (raw) 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> 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) { -- 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: Sonny Rao <sonnyrao@us.ibm.com> To: linuxppc-dev@lists.ozlabs.org Cc: linux-rdma@vger.kernel.org, fenkes@de.ibm.com, raisch@de.ibm.com Subject: [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel Date: Thu, 19 Aug 2010 23:08:09 -0500 [thread overview] Message-ID: <20100820040809.GS16505@us.ibm.com> (raw) 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> 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) {
next reply other threads:[~2010-08-20 4:08 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-08-20 4:08 Sonny Rao [this message] 2010-08-20 4:08 ` [PATCH 1/2]: Powerpc: Fix EHCA driver on relocatable kernel Sonny Rao [not found] ` <20100820040809.GS16505-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> 2010-09-20 14:41 ` Alexander Schmidt 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=20100820040809.GS16505@us.ibm.com \ --to=sonnyrao-r/jw6+rmf7hqt0dzr+alfa@public.gmane.org \ --cc=fenkes-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \ --cc=hnguyen-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=rolandd-FYB4Gu1CFyUAvxtiuMwx3w@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: linkBe 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.