public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* Re: hardware random number generator?
@ 2004-03-23  2:00 Jeff Garzik
  2004-03-23  3:04 ` Matthew Wilcox
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Jeff Garzik @ 2004-03-23  2:00 UTC (permalink / raw)
  To: linux-ia64

Matthew Wilcox wrote:
> config HW_RANDOM
>         tristate "Intel/AMD/VIA HW Random Number Generator support"
>         depends on (X86 || IA64) && PCI
>         ---help---
>           This driver provides kernel-side support for the Random Number
>           Generator hardware found on Intel i8xx-based motherboards,
>           AMD 76x-based motherboards, and Via Nehemiah CPUs.
> 
> Why IA64 too?  This file contains the code:

No idea.  <guessing>  There are some Intel ICH-based motherboards w/ 
IA64 chips on them, maybe?  I certainly don't recall adding that IA64 
marker... :)

	Jeff





^ permalink raw reply	[flat|nested] 8+ messages in thread
* hardware random number generator?
@ 2003-12-10 20:50 Matthew Wilcox
  0 siblings, 0 replies; 8+ messages in thread
From: Matthew Wilcox @ 2003-12-10 20:50 UTC (permalink / raw)
  To: linux-ia64


config HW_RANDOM
        tristate "Intel/AMD/VIA HW Random Number Generator support"
        depends on (X86 || IA64) && PCI
        ---help---
          This driver provides kernel-side support for the Random Number
          Generator hardware found on Intel i8xx-based motherboards,
          AMD 76x-based motherboards, and Via Nehemiah CPUs.

Why IA64 too?  This file contains the code:

static inline u32 xstore(u32 *addr, u32 edx_in)
{
        u32 eax_out;

        asm(".byte 0x0F,0xA7,0xC0 /* xstore %%edi (addr=%0) */"
                :"=m"(*addr), "=a"(eax_out)
                :"D"(addr), "d"(edx_in));

        return eax_out;
}

which doesn't compile on ia64.  I think it should be unselectable.

-- 
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain

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

end of thread, other threads:[~2004-04-19 16:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-23  2:00 hardware random number generator? Jeff Garzik
2004-03-23  3:04 ` Matthew Wilcox
2004-03-24  7:23 ` Mallick, Asit K
2004-03-25  0:11 ` Bjorn Helgaas
2004-04-06 21:27 ` Bjorn Helgaas
2004-04-06 22:52 ` Randy.Dunlap
2004-04-19 16:55 ` Jeff Garzik
  -- strict thread matches above, loose matches on Subject: below --
2003-12-10 20:50 Matthew Wilcox

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