Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #2]
@ 2006-10-13 12:38 Franck Bui-Huu
  2006-10-13 12:39 ` [PATCH 1/7] page.h: remove __pa() usages Franck Bui-Huu
                   ` (6 more replies)
  0 siblings, 7 replies; 46+ messages in thread
From: Franck Bui-Huu @ 2006-10-13 12:38 UTC (permalink / raw)
  To: ralf; +Cc: anemo, ths, linux-mips

Here's the take #2.

I changed the definition of __pa() for 64-bits kernels to match
the one suggested by Atsushi. It should be safer.

It also makes virt_to_page() uses virt_to_phys() instead of
__pa().

Unfortunately, no tests have been done for 64 bit kernels
because of lacks of hardware. If anybody could give a try that
would be great.

Please consider,

		Franck
---

 arch/mips/kernel/setup.c   |   55 +++++++++++++++++++++++++-------------------
 arch/mips/mm/init.c        |   42 +++++++++++++++-------------------
 include/asm-mips/io.h      |    2 +-
 include/asm-mips/page.h    |   14 ++++++++---
 include/asm-mips/pgtable.h |    2 +-
 5 files changed, 62 insertions(+), 53 deletions(-)

^ permalink raw reply	[flat|nested] 46+ messages in thread
* [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #3]
@ 2006-10-16 16:12 Franck Bui-Huu
  2006-10-16 16:12 ` [PATCH 2/7] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels Franck Bui-Huu
  0 siblings, 1 reply; 46+ messages in thread
From: Franck Bui-Huu @ 2006-10-16 16:12 UTC (permalink / raw)
  To: ralf; +Cc: anemo, ths, linux-mips

Changes from take #2
--------------------
  * More initrd code clean up. It should be more readable and
    more robust now.
  * Add some missing include in page.h (Atsushi)
  * Fix a wrong use of __page_offset() in __va() (Atsushi)
  * Rename __page_offset() into __pa_page_offset()

changes from take #1
--------------------
  * Changed the definition of __pa() for 64-bits kernels to match
    the one suggested by Atsushi. It should be safer.
  * Make virt_to_page() uses virt_to_phys() instead of __pa().


I still can't test this patchset on 64 bit kernels. If anybody
could give a try that would be great.

Please consider,

		Franck
---

 arch/mips/kernel/setup.c   |   77 +++++++++++++++++++-------------------------
 arch/mips/mm/init.c        |   42 +++++++++++++-----------
 include/asm-mips/io.h      |    2 +
 include/asm-mips/page.h    |   16 ++-------
 include/asm-mips/pgtable.h |    2 +
 5 files changed, 62 insertions(+), 77 deletions(-)

^ permalink raw reply	[flat|nested] 46+ messages in thread
* [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #4]
@ 2006-10-19 11:19 Franck Bui-Huu
  2006-10-19 11:20 ` [PATCH 2/7] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels Franck Bui-Huu
  0 siblings, 1 reply; 46+ messages in thread
From: Franck Bui-Huu @ 2006-10-19 11:19 UTC (permalink / raw)
  To: ralf; +Cc: anemo, ths, linux-mips

Changes since take #3
--------------------
  * Sign extension hack still needed by rd_start_early() (Atsushi)
  * Replace panic() by printk() in init_initrd() (Atsushi)
  * Fix CONFIG_64BITS typo (Atsushi)
  * Add a new sanity check in init_initrd():
		initrd_start < PAGE_OFFSET

Changes since take #2
--------------------
  * More initrd code clean up. It should be more readable and
    more robust now.
  * Add some missing include in page.h (Atsushi)
  * Fix a wrong use of __page_offset() in __va() (Atsushi)
  * Rename __page_offset() into __pa_page_offset()

changes since take #1
--------------------
  * Changed the definition of __pa() for 64-bits kernels to match
    the one suggested by Atsushi. It should be safer.
  * Make virt_to_page() uses virt_to_phys() instead of __pa().


Thanks to Atsushi for testing this patchset on 64 bit kernels.

Please consider,

		Franck
---

 arch/mips/kernel/setup.c   |   87 +++++++++++++++++++++++++++-----------------
 arch/mips/mm/init.c        |   42 ++++++++++-----------
 include/asm-mips/io.h      |    2 +
 include/asm-mips/page.h    |   16 ++++++--
 include/asm-mips/pgtable.h |    2 +
 5 files changed, 87 insertions(+), 62 deletions(-)

^ permalink raw reply	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2006-10-19 11:21 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-13 12:38 [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #2] Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 1/7] page.h: remove __pa() usages Franck Bui-Huu
2006-10-13 16:27   ` Atsushi Nemoto
2006-10-14  9:22     ` Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 2/7] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels Franck Bui-Huu
2006-10-13 16:27   ` Atsushi Nemoto
2006-10-14  8:39     ` Franck Bui-Huu
2006-10-19  4:01   ` Atsushi Nemoto
2006-10-19  6:20     ` Franck Bui-Huu
2006-10-19  6:41     ` Yoichi Yuasa
2006-10-19  7:01       ` Atsushi Nemoto
2006-10-19  7:23         ` Yoichi Yuasa
2006-10-19  7:43         ` Franck Bui-Huu
2006-10-19  7:59           ` Atsushi Nemoto
2006-10-13 12:39 ` [PATCH 3/7] setup.c: get ride of CPHYSADDR() Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 4/7] Introduce __pa_symbol() Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 5/7] setup.c: use __pa_symbol() where needed Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 6/7] setup.c: clean up initrd related code Franck Bui-Huu
2006-10-16  8:03   ` Franck Bui-Huu
2006-10-16  8:10     ` Atsushi Nemoto
2006-10-16  8:48       ` Franck Bui-Huu
2006-10-16  9:07         ` Atsushi Nemoto
2006-10-16  9:54           ` Thiemo Seufer
2006-10-16 10:19             ` Atsushi Nemoto
2006-10-16 14:42           ` Franck Bui-Huu
2006-10-16 14:51             ` Franck Bui-Huu
2006-10-16  9:09     ` Thiemo Seufer
2006-10-16 14:23       ` Franck Bui-Huu
2006-10-16 14:49         ` Franck Bui-Huu
2006-10-19  4:13   ` Atsushi Nemoto
2006-10-19  6:37     ` Franck Bui-Huu
2006-10-19  6:51       ` Atsushi Nemoto
2006-10-19  7:29         ` Franck Bui-Huu
2006-10-19  7:51           ` Atsushi Nemoto
2006-10-19  8:30             ` Franck Bui-Huu
2006-10-19  8:39     ` Franck Bui-Huu
2006-10-19  9:15       ` Atsushi Nemoto
2006-10-19  9:54         ` Franck Bui-Huu
2006-10-19 10:30           ` Atsushi Nemoto
2006-10-19 10:51             ` Franck Bui-Huu
2006-10-19 11:00               ` Atsushi Nemoto
2006-10-19 11:12                 ` Franck Bui-Huu
2006-10-13 12:39 ` [PATCH 7/7] Make free_init_pages() arguments to be physical addresses Franck Bui-Huu
2006-10-13 13:31   ` Franck Bui-Huu
  -- strict thread matches above, loose matches on Subject: below --
2006-10-16 16:12 [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #3] Franck Bui-Huu
2006-10-16 16:12 ` [PATCH 2/7] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels Franck Bui-Huu
2006-10-19 11:19 [PATCH 0/7] Get ride of CPHYSADDR() in setup.c [take #4] Franck Bui-Huu
2006-10-19 11:20 ` [PATCH 2/7] Make __pa() aware of XKPHYS/CKSEG0 address mix for 64 bit kernels Franck Bui-Huu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox