* f71805f arch dependencies? @ 2012-06-01 13:01 Meelis Roos 2012-06-01 13:09 ` Geert Uytterhoeven 0 siblings, 1 reply; 8+ messages in thread From: Meelis Roos @ 2012-06-01 13:01 UTC (permalink / raw) To: Jean Delvare; +Cc: Linux Kernel list Loading f71805f on sparc64 causes hard reboot beacuse on invalid hardware access. Should this driver be restricted to PC, or some wider subset of platforms where this LPC SUper-IO chip is present? -- Meelis Roos (mroos@linux.ee) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 13:01 f71805f arch dependencies? Meelis Roos @ 2012-06-01 13:09 ` Geert Uytterhoeven 2012-06-01 13:12 ` Meelis Roos 0 siblings, 1 reply; 8+ messages in thread From: Geert Uytterhoeven @ 2012-06-01 13:09 UTC (permalink / raw) To: Meelis Roos; +Cc: Jean Delvare, Linux Kernel list On Fri, Jun 1, 2012 at 3:01 PM, Meelis Roos <mroos@linux.ee> wrote: > Loading f71805f on sparc64 causes hard reboot beacuse on invalid > hardware access. Should this driver be restricted to PC, or some wider > subset of platforms where this LPC SUper-IO chip is present? Which tree is f71805f in? Not in Linus'. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 13:09 ` Geert Uytterhoeven @ 2012-06-01 13:12 ` Meelis Roos 2012-06-01 13:23 ` Geert Uytterhoeven 0 siblings, 1 reply; 8+ messages in thread From: Meelis Roos @ 2012-06-01 13:12 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Jean Delvare, Linux Kernel list > > Loading f71805f on sparc64 causes hard reboot beacuse on invalid > > hardware access. Should this driver be restricted to PC, or some wider > > subset of platforms where this LPC SUper-IO chip is present? > > Which tree is f71805f in? Not in Linus'. Running upstream 3.4.0-09547-gfb21aff and it is there as SENSORS_F71805F. In fact, there are more LPC hwmon drivers that people can use to "shoot themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C, partly ISA IO), and Fintek F71882FG and compatibles. Maybe more. -- Meelis Roos (mroos@linux.ee) ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 13:12 ` Meelis Roos @ 2012-06-01 13:23 ` Geert Uytterhoeven 2012-06-01 19:43 ` Dean Nelson 2012-06-01 20:03 ` Jean Delvare 0 siblings, 2 replies; 8+ messages in thread From: Geert Uytterhoeven @ 2012-06-01 13:23 UTC (permalink / raw) To: Meelis Roos; +Cc: Jean Delvare, Dean Nelson, Linux Kernel list On Fri, Jun 1, 2012 at 3:12 PM, Meelis Roos <mroos@linux.ee> wrote: >> > Loading f71805f on sparc64 causes hard reboot beacuse on invalid >> > hardware access. Should this driver be restricted to PC, or some wider >> > subset of platforms where this LPC SUper-IO chip is present? >> >> Which tree is f71805f in? Not in Linus'. > > Running upstream 3.4.0-09547-gfb21aff and it is there as > SENSORS_F71805F. > > In fact, there are more LPC hwmon drivers that people can use to "shoot > themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C, > partly ISA IO), and Fintek F71882FG and compatibles. Maybe more. Sorry, I thought it was a git SHA1 commit ID. Didn't know hardware manufacturers christen their chips to the abbreviated commit ID in their VHDL repository ;-) Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd ("hwmon: Avoid building drivers for powerpc that read/write ISA addresses") was a bit too limited... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 13:23 ` Geert Uytterhoeven @ 2012-06-01 19:43 ` Dean Nelson 2012-06-01 20:03 ` Jean Delvare 1 sibling, 0 replies; 8+ messages in thread From: Dean Nelson @ 2012-06-01 19:43 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Meelis Roos, Jean Delvare, Linux Kernel list On 06/01/2012 08:23 AM, Geert Uytterhoeven wrote: > On Fri, Jun 1, 2012 at 3:12 PM, Meelis Roos<mroos@linux.ee> wrote: >>>> Loading f71805f on sparc64 causes hard reboot beacuse on invalid >>>> hardware access. Should this driver be restricted to PC, or some wider >>>> subset of platforms where this LPC SUper-IO chip is present? >>> >>> Which tree is f71805f in? Not in Linus'. >> >> Running upstream 3.4.0-09547-gfb21aff and it is there as >> SENSORS_F71805F. >> >> In fact, there are more LPC hwmon drivers that people can use to "shoot >> themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C, >> partly ISA IO), and Fintek F71882FG and compatibles. Maybe more. > > Sorry, I thought it was a git SHA1 commit ID. > Didn't know hardware manufacturers christen their chips to the abbreviated > commit ID in their VHDL repository ;-) > > Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd > ("hwmon: Avoid building drivers for powerpc that read/write ISA addresses") > was a bit too limited... I lack the hardware expertise to take the SENSORS_ Kconfig changes any further than I did. As it was, I got much direction from Jean in what I did do. So feel free to take it further as you (or whomever) sees fit. Thanks, Dean > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds > -- > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 13:23 ` Geert Uytterhoeven 2012-06-01 19:43 ` Dean Nelson @ 2012-06-01 20:03 ` Jean Delvare 2012-06-02 6:27 ` Meelis Roos 1 sibling, 1 reply; 8+ messages in thread From: Jean Delvare @ 2012-06-01 20:03 UTC (permalink / raw) To: Geert Uytterhoeven; +Cc: Meelis Roos, Dean Nelson, Linux Kernel list Hi there, On Fri, 1 Jun 2012 15:23:04 +0200, Geert Uytterhoeven wrote: > On Fri, Jun 1, 2012 at 3:12 PM, Meelis Roos <mroos@linux.ee> wrote: > >> > Loading f71805f on sparc64 causes hard reboot beacuse on invalid > >> > hardware access. Should this driver be restricted to PC, or some wider > >> > subset of platforms where this LPC SUper-IO chip is present? > >> > >> Which tree is f71805f in? Not in Linus'. > > > > Running upstream 3.4.0-09547-gfb21aff and it is there as > > SENSORS_F71805F. > > > > In fact, there are more LPC hwmon drivers that people can use to "shoot > > themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C, > > partly ISA IO), and Fintek F71882FG and compatibles. Maybe more. > > Sorry, I thought it was a git SHA1 commit ID. > Didn't know hardware manufacturers christen their chips to the abbreviated > commit ID in their VHDL repository ;-) > > Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd > ("hwmon: Avoid building drivers for powerpc that read/write ISA addresses") > was a bit too limited... I am fine extending that commit to other architectures. Now the question is, do we just add SPARC64 to the exception list, or do we restrict these drivers to X86? I know they are mostly used on X86, but I have no proof they aren't used on other architectures. That's why Dean and myself decided to play it safe at first and only exclude PPC. Apparently other drivers (e.g. watchdog drivers) for similar chips are limited to X86 so we might as well do the same here. And see if anybody complains... Meelis, do you feel like sending a patch, or do you prefer if I take care of it? -- Jean Delvare ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-01 20:03 ` Jean Delvare @ 2012-06-02 6:27 ` Meelis Roos 2012-06-02 6:54 ` Jean Delvare 0 siblings, 1 reply; 8+ messages in thread From: Meelis Roos @ 2012-06-02 6:27 UTC (permalink / raw) To: Jean Delvare; +Cc: Geert Uytterhoeven, Dean Nelson, Linux Kernel list > > >> > Loading f71805f on sparc64 causes hard reboot beacuse on invalid > > >> > hardware access. Should this driver be restricted to PC, or some wider > > >> > subset of platforms where this LPC SUper-IO chip is present? > > >> > > >> Which tree is f71805f in? Not in Linus'. > > > > > > Running upstream 3.4.0-09547-gfb21aff and it is there as > > > SENSORS_F71805F. > > > > > > In fact, there are more LPC hwmon drivers that people can use to "shoot > > > themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C, > > > partly ISA IO), and Fintek F71882FG and compatibles. Maybe more. > > > > Sorry, I thought it was a git SHA1 commit ID. > > Didn't know hardware manufacturers christen their chips to the abbreviated > > commit ID in their VHDL repository ;-) > > > > Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd > > ("hwmon: Avoid building drivers for powerpc that read/write ISA addresses") > > was a bit too limited... > > I am fine extending that commit to other architectures. Now the > question is, do we just add SPARC64 to the exception list, or do we > restrict these drivers to X86? I know they are mostly used on X86, but > I have no proof they aren't used on other architectures. That's why > Dean and myself decided to play it safe at first and only exclude PPC. > > Apparently other drivers (e.g. watchdog drivers) for similar chips are > limited to X86 so we might as well do the same here. And see if anybody > complains... > > Meelis, do you feel like sending a patch, or do you prefer if I take > care of it? I can send a patch in a couple of days, but I do not know either wihich way is better. What other architectures can use the ISA-IO style LPC - probably quite several if hardware has been made (but it probably hasn't)? -- Meelis Roos (mroos@ut.ee) http://www.cs.ut.ee/~mroos/ ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: f71805f arch dependencies? 2012-06-02 6:27 ` Meelis Roos @ 2012-06-02 6:54 ` Jean Delvare 0 siblings, 0 replies; 8+ messages in thread From: Jean Delvare @ 2012-06-02 6:54 UTC (permalink / raw) To: Meelis Roos; +Cc: Geert Uytterhoeven, Dean Nelson, Linux Kernel list On Sat, 2 Jun 2012 09:27:51 +0300 (EEST), Meelis Roos wrote: > > > Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd > > > ("hwmon: Avoid building drivers for powerpc that read/write ISA addresses") > > > was a bit too limited... > > > > I am fine extending that commit to other architectures. Now the > > question is, do we just add SPARC64 to the exception list, or do we > > restrict these drivers to X86? I know they are mostly used on X86, but > > I have no proof they aren't used on other architectures. That's why > > Dean and myself decided to play it safe at first and only exclude PPC. > > > > Apparently other drivers (e.g. watchdog drivers) for similar chips are > > limited to X86 so we might as well do the same here. And see if anybody > > complains... > > > > Meelis, do you feel like sending a patch, or do you prefer if I take > > care of it? > > I can send a patch in a couple of days, but I do not know either wihich > way is better. > > What other architectures can use the ISA-IO style LPC - probably quite > several if hardware has been made (but it probably hasn't)? I just don't know, this is the problem. -- Jean Delvare ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-06-02 6:54 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2012-06-01 13:01 f71805f arch dependencies? Meelis Roos 2012-06-01 13:09 ` Geert Uytterhoeven 2012-06-01 13:12 ` Meelis Roos 2012-06-01 13:23 ` Geert Uytterhoeven 2012-06-01 19:43 ` Dean Nelson 2012-06-01 20:03 ` Jean Delvare 2012-06-02 6:27 ` Meelis Roos 2012-06-02 6:54 ` Jean Delvare
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox