From: Franck Bui-Huu <vagabon.xyz@gmail.com>
To: linux-mips@linux-mips.org
Subject: [RFD] Time rework [take #2]
Date: Thu, 14 Jun 2007 12:19:56 +0200 [thread overview]
Message-ID: <11818164011355-git-send-email-fbuihuu@gmail.com> (raw)
OK, I don't get any feedbacks since my original post but I had time to
make some changes...
It's now based on "linux-2.6.22-rc4-357-g7518784", with a part of Ralf's
linux-time patches.
I'd like to port some 'interesting' platforms as a proof of
concept. Could anybody name them ? I'd like to port a platform that
uses the 'hpt' as clock source and timer. A second one that uses the
hpt only as a timer, and a third one that doesn't uses it at all. A
small description can help too...
Thanks
Franck
---
arch/mips/Kconfig | 13 +
arch/mips/au1000/common/irq.c | 3 +-
arch/mips/au1000/common/setup.c | 2 -
arch/mips/au1000/common/time.c | 44 ---
arch/mips/basler/excite/excite_setup.c | 5 +-
arch/mips/ddb5xxx/common/rtc_ds1386.c | 10 +-
arch/mips/ddb5xxx/ddb5477/setup.c | 4 +-
arch/mips/dec/setup.c | 4 -
arch/mips/dec/time.c | 12 +-
arch/mips/emma2rh/markeins/setup.c | 4 +-
arch/mips/gt64120/wrppmc/setup.c | 4 -
arch/mips/gt64120/wrppmc/time.c | 2 +-
arch/mips/jmr3927/rbhma3100/setup.c | 4 +-
arch/mips/kernel/Makefile | 2 +
arch/mips/kernel/hpt.c | 294 ++++++++++++++++++
arch/mips/kernel/process.c | 2 +
arch/mips/kernel/smp.c | 1 +
arch/mips/kernel/smtc.c | 2 +-
arch/mips/kernel/time.c | 468 ++--------------------------
arch/mips/lasat/ds1603.c | 6 +-
arch/mips/lasat/ds1603.h | 2 -
arch/mips/lasat/setup.c | 6 +-
arch/mips/lasat/sysctl.c | 59 ----
arch/mips/lib/Makefile | 2 +-
arch/mips/lib/time.c | 52 ++++
arch/mips/mips-boards/atlas/atlas_setup.c | 5 -
arch/mips/mips-boards/generic/time.c | 101 +------
arch/mips/mips-boards/malta/malta_setup.c | 4 -
arch/mips/mips-boards/sead/sead_setup.c | 3 -
arch/mips/mips-boards/sim/sim_setup.c | 3 -
arch/mips/mips-boards/sim/sim_time.c | 72 +-----
arch/mips/momentum/ocelot_3/setup.c | 12 +-
arch/mips/momentum/ocelot_c/setup.c | 15 +-
arch/mips/philips/pnx8550/common/setup.c | 3 -
arch/mips/philips/pnx8550/common/time.c | 7 +-
arch/mips/pmc-sierra/yosemite/setup.c | 18 +-
arch/mips/sgi-ip22/ip22-int.c | 3 +-
arch/mips/sgi-ip22/ip22-setup.c | 2 -
arch/mips/sgi-ip22/ip22-time.c | 25 +--
arch/mips/sgi-ip27/ip27-init.c | 3 -
arch/mips/sgi-ip27/ip27-timer.c | 24 +--
arch/mips/sgi-ip32/ip32-setup.c | 12 +-
arch/mips/sibyte/bcm1480/time.c | 13 +-
arch/mips/sibyte/sb1250/time.c | 13 +-
arch/mips/sibyte/swarm/setup.c | 48 +++-
arch/mips/sibyte/swarm/time.c | 244 ---------------
arch/mips/sni/a20r.c | 1 -
arch/mips/sni/ds1216.c | 4 +-
arch/mips/sni/pcimt.c | 3 -
arch/mips/sni/pcit.c | 3 -
arch/mips/sni/rm200.c | 2 -
arch/mips/sni/time.c | 2 +-
arch/mips/tx4927/common/tx4927_setup.c | 9 +-
arch/mips/tx4938/common/rtc_rx5c348.c | 10 +-
arch/mips/tx4938/common/setup.c | 9 -
arch/mips/tx4938/toshiba_rbtx4938/setup.c | 4 +-
arch/mips/vr41xx/common/init.c | 8 +-
include/asm-mips/hpt.h | 16 +
include/asm-mips/rtc.h | 6 +-
include/asm-mips/time.h | 51 +---
60 files changed, 516 insertions(+), 1249 deletions(-)
create mode 100644 arch/mips/kernel/hpt.c
create mode 100644 arch/mips/lib/time.c
delete mode 100644 arch/mips/sibyte/swarm/time.c
create mode 100644 include/asm-mips/hpt.h
next reply other threads:[~2007-06-14 10:20 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-14 10:19 Franck Bui-Huu [this message]
2007-06-14 10:19 ` [PATCH 1/5] Use generic NTP code for all MIPS platforms Franck Bui-Huu
2007-06-14 10:19 ` [PATCH 2/5] Remove unused time.c for swarm Franck Bui-Huu
2007-06-14 10:19 ` [PATCH 3/5] Deforest the function pointer jungle in the time code Franck Bui-Huu
2007-06-14 11:17 ` Thomas Bogendoerfer
2007-06-14 13:43 ` Franck Bui-Huu
2007-06-14 14:09 ` Maciej W. Rozycki
2007-06-14 14:31 ` Franck Bui-Huu
2007-06-14 16:33 ` Maciej W. Rozycki
2007-06-14 16:54 ` Maciej W. Rozycki
2007-06-15 8:59 ` Franck Bui-Huu
2007-06-15 11:07 ` Maciej W. Rozycki
2007-06-15 13:26 ` Ralf Baechle
2007-06-15 14:08 ` Maciej W. Rozycki
2007-06-15 14:21 ` Ralf Baechle
2007-06-15 14:24 ` Franck Bui-Huu
2007-06-15 14:38 ` Ralf Baechle
2007-06-15 15:34 ` Franck Bui-Huu
2007-06-15 14:35 ` Sergei Shtylyov
2007-06-15 13:49 ` Ralf Baechle
2007-06-15 14:42 ` Sergei Shtylyov
2007-06-17 13:36 ` Franck Bui-Huu
2007-06-17 16:14 ` Atsushi Nemoto
2007-06-18 9:38 ` Franck Bui-Huu
2007-06-18 15:51 ` Atsushi Nemoto
2007-06-19 7:33 ` Franck Bui-Huu
2007-06-19 16:08 ` Atsushi Nemoto
2007-06-19 16:22 ` Sergei Shtylyov
2007-06-19 16:55 ` Franck Bui-Huu
2007-06-19 21:58 ` Ralf Baechle
2007-06-20 10:27 ` Franck Bui-Huu
2007-06-19 17:00 ` Franck Bui-Huu
2007-06-19 17:26 ` Sergei Shtylyov
2007-06-19 17:31 ` Sergei Shtylyov
2007-06-19 19:34 ` Sergei Shtylyov
2007-06-18 12:41 ` Franck Bui-Huu
2007-06-19 19:25 ` Sergei Shtylyov
2007-06-20 10:24 ` Franck Bui-Huu
2007-06-14 15:52 ` Franck Bui-Huu
2007-06-14 16:45 ` Maciej W. Rozycki
2007-06-14 10:20 ` [PATCH 4/5] Consolidate all variants of MIPS cp0 timer interrupt handlers Franck Bui-Huu
2007-06-14 10:20 ` [PATCH 5/5] Implement clockevents for R4000-style cp0 timer Franck Bui-Huu
2007-06-14 12:29 ` Atsushi Nemoto
2007-06-14 13:00 ` Franck Bui-Huu
2007-06-17 0:04 ` Ralf Baechle
2007-06-17 17:23 ` Atsushi Nemoto
2007-06-17 19:25 ` Ralf Baechle
2007-06-18 14:22 ` Franck Bui-Huu
2007-06-18 15:14 ` Ralf Baechle
2007-06-18 15:38 ` Franck Bui-Huu
2007-06-18 15:55 ` Franck Bui-Huu
2007-06-18 16:01 ` Ralf Baechle
2007-06-18 17:42 ` Ralf Baechle
2007-06-18 15:37 ` Ralf Baechle
2007-06-19 17:00 ` Sergei Shtylyov
2007-06-20 8:15 ` Ralf Baechle
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=11818164011355-git-send-email-fbuihuu@gmail.com \
--to=vagabon.xyz@gmail.com \
--cc=linux-mips@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox