All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <bh40@calva.net>
To: Gabriel Paubert <paubert@iram.es>,
	linuxppc-dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: Platform configuration (was: Re: CONFIG_PPC != Mac)
Date: Thu, 31 Aug 2000 18:22:09 +0200	[thread overview]
Message-ID: <20000831162209.31786@mailhost.mipsys.com> (raw)
In-Reply-To: <Pine.HPX.4.10.10008311753590.15978-100000@gra-ux1.iram.es>


>First, kernel compile times are only fairly large after a big update, when
>I do `make dep clean zImage'. Second, the proportion of time spend in the
>specific PPC code (mostly arch/ppc and drivers/macintosh) is rather small.
>Third, building a minimal kernel image for each machine would involve a
>ton (and that's an undrestatement) of kernel options: CONFIG_INTC_8259,
>CONFIG_INTC_POWERMAC, CONFIG_INTC_OPENPIC and others for the interrupt
>controllers, half a dozen or so CONFIG_RTC types, same for CONFIG_NVRAM
>and a few other things I surely forget. The only reasonable solution is to
>aim for the smallest runtime kernel image.

Well, an easy first step is to have those per-machine cumulative compile
options so you can choose pmac only, pmac+chrp, etc...

That's only a few more config stuffs (CONFIG_PPC_PMAC, CONFIG_PPC_PREP,
etc...), the core code wouldn't need to change. We can even optimize the
various if (_machine == xxxx) using maros that get resolved to a constant
when only one machine type is compiled in.

Ben.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2000-08-31 16:22 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-28 23:57 CONFIG_PPC != Mac Dan Malek
2000-07-29 16:38 ` Tom Rini
2000-07-29 17:26   ` Tony Mantler
2000-07-29 17:40     ` Dan Malek
2000-07-29 17:56       ` Tony Mantler
2000-07-30  2:24         ` Martin Costabel
2000-07-30  2:40           ` Tony Mantler
2000-07-30  2:59           ` Dan Malek
2000-07-31 12:12           ` Franz Sirl
2000-07-31 13:11             ` Martin Costabel
2000-07-31 13:37               ` Franz Sirl
2000-07-31 14:17                 ` Andreas Tobler
2000-07-31 15:23                 ` New input layer and ADB (Was Re: CONFIG_PPC != Mac) Martin Costabel
2000-08-02 12:47                   ` Geert Uytterhoeven
2000-08-02 22:16                     ` Michael Schmitz
2000-08-02 22:35                       ` Martin Costabel
2000-08-03 11:52                       ` Geert Uytterhoeven
     [not found]                 ` <4.3.2.7.2.20000731170153.03508c50@mail.lauterbach.com>
2000-07-31 15:27                   ` CONFIG_PPC != Mac Andreas Tobler
2000-07-31 16:40               ` Michael Schmitz
2000-07-31 16:29             ` Geert Uytterhoeven
2000-08-02 15:17               ` Dan Malek
2000-07-29 18:12     ` Geert Uytterhoeven
2000-07-30 13:03       ` Michel Dänzer
2000-07-30 14:56         ` Geert Uytterhoeven
2000-08-30 12:29           ` Platform configuration (was: Re: CONFIG_PPC != Mac) Geert Uytterhoeven
2000-08-31 10:54             ` Gabriel Paubert
2000-08-31 11:39               ` Benjamin Herrenschmidt
2000-08-31 11:53                 ` Gabriel Paubert
2000-08-31 15:17               ` Geert Uytterhoeven
2000-08-31 15:58                 ` Dan Malek
2000-08-31 16:10                   ` Gabriel Paubert
2000-08-31 16:20                     ` Michel Dänzer
2000-08-31 19:03                       ` Joseph Garcia
2000-08-31 19:18                         ` 2.4 problems Michel Dänzer
2000-08-31 19:25                           ` Dan Malek
2000-08-31 20:36                             ` Martin Costabel
2000-08-31 21:47                               ` Benjamin Herrenschmidt
2000-08-31 22:12                                 ` which kernel...? johnathan spectre
2000-08-31 22:35                                   ` Matt Brubeck
2000-09-01  1:12                                 ` 2.4 problems Martin Costabel
2000-09-01 10:57                                   ` Benjamin Herrenschmidt
2000-09-10 17:59                                     ` Discrepancy in BAT mapping? Takashi Oe
2000-09-11 20:00                                       ` Michel Lanners
2000-09-12  9:01                                         ` Benjamin Herrenschmidt
2000-08-31 21:30                             ` 2.4 problems Michel Lanners
2000-09-05 13:48                         ` Platform configuration (was: Re: CONFIG_PPC != Mac) Takashi Oe
2000-09-01  1:44                     ` Tom Rini
2000-09-01  2:12                       ` Dan Malek
2000-09-01  8:42                       ` Timothy A. Seufert
2000-09-01 11:02                         ` Benjamin Herrenschmidt
2000-09-01 11:12                           ` Andreas Tobler
2000-09-02 10:09                           ` Timothy A. Seufert
2000-09-05  9:32                           ` Timothy A. Seufert
2000-09-05  9:50                             ` Timothy A. Seufert
2000-09-01 15:03                         ` Tom Rini
2000-08-31 16:19                   ` Benjamin Herrenschmidt
2000-08-31 16:04                 ` Gabriel Paubert
2000-08-31 16:22                   ` Benjamin Herrenschmidt [this message]
2000-09-01 14:40                     ` Geert Uytterhoeven
2000-09-01 14:40                   ` Geert Uytterhoeven
2000-09-01 16:31                     ` Dan Malek
2000-07-31 23:22       ` CONFIG_PPC != Mac Dan Malek
2000-08-02 12:05         ` Geert Uytterhoeven
2000-08-02 19:56           ` Dan Malek
2000-08-02 20:04           ` Ani Joshi
2000-08-02 21:15           ` Benjamin Herrenschmidt
2000-08-02 21:42             ` future of drivers/macintosh (was Re: CONFIG_PPC != Mac) Joseph Garcia
2000-08-02 22:02               ` Benjamin Herrenschmidt
2000-08-02 22:02         ` CONFIG_PPC != Mac Michael Schmitz
2000-08-03  1:22           ` Tom Gall
2000-08-03  9:33             ` Michael Schmitz
2000-08-03 11:30               ` Geert Uytterhoeven
2000-07-29 17:36   ` Dan Malek
  -- strict thread matches above, loose matches on Subject: below --
2000-08-31 13:41 Platform configuration (was: Re: CONFIG_PPC != Mac) Iain Sandoe
2000-09-01 11:35 Iain Sandoe
2000-09-02  9:54 ` Timothy A. Seufert

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=20000831162209.31786@mailhost.mipsys.com \
    --to=bh40@calva.net \
    --cc=linuxppc-dev@lists.linuxppc.org \
    --cc=paubert@iram.es \
    /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.