mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Michael Lothian" <mike@fireburn.co.uk>
To: "Adrian Bunk" <bunk@kernel.org>
Cc: "Gabriel C" <nix.or.die@googlemail.com>, linux-kernel@vger.kernel.org
Subject: Re: Possibility of adding -march=native to x86
Date: Thu, 25 Oct 2007 23:42:47 +0100	[thread overview]
Message-ID: <fc94aae90710251542j54e0dfbfh90ef049ed6aad33c@mail.gmail.com> (raw)
In-Reply-To: <20071025214647.GX30533@stusta.de>

> What exactly is irritating?
> Please name the problems so that they can be fixed.
>
> > Detecting the cpu and using march=native could be all part of that
>
> You don't need march=native for this.
>
> You have to set the right config option for your CPU and you
> automatically get the right compiler options.

Well when doing a lspci here are some specific examples:



03:02.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01)

What modules would you think you'd need to compile to get this to work?

No it's not budget card os buget card ci even though the card its self
has no cam interface



00:14.2 Audio device: ATI Technologies Inc SB600 Azalia

Is there any indication from this piece of info that the intel hda
driver is required?



00:12.0 SATA controller: ATI Technologies Inc SB600 Non-Raid-5 SATA

This uses AHCI



As for the i2c and the hardware monitoring support well that's mostly guess work


Half the time it's easier doing a lsmod when booted on a livecd and
trying to figure out what options are required from the module names
which sometime can be just as tricky.

Why not auto detect the CPU the same way GCC does and automatically
set the correct CPU and then go the whole hog and let GCC use the
correct flags if it's new enough using native

I can't understand why you wouldn't find this useful when setting up a
customised kernel.

Maybe even having a make addnewhardware option to quickly add extra
devices to your config file.

Mike

  parent reply	other threads:[~2007-10-25 22:43 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0EC33A59AA72084CA28B83816B40929F02682BB3@REEDXCLSXM01V03.rbsres01.net>
2007-10-25 18:33 ` Michael Lothian
2007-10-25 18:50   ` Adrian Bunk
2007-10-25 19:09     ` Michael Lothian
2007-10-25 19:17       ` Adrian Bunk
2007-10-25 19:32         ` Michael Lothian
2007-10-25 19:50           ` Adrian Bunk
2007-10-25 20:12             ` Michael Lothian
2007-10-25 20:20               ` Adrian Bunk
2007-10-25 20:20                 ` Arjan van de Ven
2007-10-26 10:41                 ` Pádraig Brady
2007-10-26 11:45                   ` Adrian Bunk
2007-10-25 20:40               ` Gabriel C
2007-10-25 21:30                 ` Michael Lothian
2007-10-25 21:46                   ` Adrian Bunk
2007-10-25 22:04                     ` H. Peter Anvin
2007-10-25 22:42                     ` Michael Lothian [this message]
2007-10-25 22:58                       ` Adrian Bunk
     [not found]                     ` <fc94aae90710251518l1cc129eahf570177e5b516197@mail.gmail.com>
     [not found]                       ` <20071025222826.GY30533@stusta.de>
2007-10-25 22:58                         ` Michael Lothian
2007-10-26  9:16   ` Thomas Gleixner

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=fc94aae90710251542j54e0dfbfh90ef049ed6aad33c@mail.gmail.com \
    --to=mike@fireburn.co.uk \
    --cc=bunk@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nix.or.die@googlemail.com \
    /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

all inboxes | Powered by JetHome®