Re: CVS commit: src

2011-01-26 Thread Izumi Tsutsui
> > Why not simply using bus_space(9) for non-cachable I/O?
> > (like sys/arch/arc/arc/bus_space_sparse.c)
> 
> I think the reason for not using was bus space was the lack of an MI
> tag for physmem.  That said, I don't mind if someone wants to convert
> the driver to dance around bus space or do other kinds of maintenance.

I guess bus_space_map(9) + bus_space_vaddr(9) will work,
but for now we should put large XXX mark to those functions
in MI arch/mips...
---
Izumi Tsutsui


Re: CVS commit: src

2011-01-26 Thread Antti Kantee
On Wed Jan 26 2011 at 20:47:11 +0900, Toru Nishimura wrote:
> Antti Kantee said;
> 
> >eMIPS is a platform developed at Microsoft Research for researching
> >reconfigurable computing.  eMIPS allows dynamic loading and scheduling
> >of application-specific circuits for the purpose of accelerating
> >computations based on the current workload.
> >
> >NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
> >by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
> >donated full copyright to The NetBSD Foundation.
> 
> Could you provide us the reference pointer to the eMIPS project?  It's long
> time ago last I saw Mr. Forin name in CS research field.

Yes, it's the same Mr. Forin who is the author of some old source files
in our tree which date back to Mach code.

http://research.microsoft.com/en-us/projects/emips/

That, and a bunch of other links are available on:

http://www.netbsd.org/ports/emips/

plus, a(nother?) set of links is available on blog.netbsd.org, but that
service appears to be down now.  Not to worry, I'm pretty sure you can
access all the important pages by starting from one and just traversing
the links ;)

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Re: CVS commit: src

2011-01-26 Thread Antti Kantee
On Wed Jan 26 2011 at 19:48:52 +0900, Izumi Tsutsui wrote:
> > > > + * Make a kernel mapping valid for I/O, e.g. non-cachable.
> > > > + * Alignment and length constraints are as-if NBPG==PAGE_SIZE.
>  :
> > > What is this miracle, however?
> > 
> > IIRC that miracle is about mapping the flash which is not in kseg1.
> > The story included lots of details on how mapping an arbitrary physical
> > address was much easier on Mach ;)
> 
> Why not simply using bus_space(9) for non-cachable I/O?
> (like sys/arch/arc/arc/bus_space_sparse.c)

I think the reason for not using was bus space was the lack of an MI
tag for physmem.  That said, I don't mind if someone wants to convert
the driver to dance around bus space or do other kinds of maintenance.

-- 
älä karot toivorikkauttas, kyl rätei ja lumpui piisaa


Re: CVS commit: src

2011-01-26 Thread Toru Nishimura

Antti Kantee said;


eMIPS is a platform developed at Microsoft Research for researching
reconfigurable computing.  eMIPS allows dynamic loading and scheduling
of application-specific circuits for the purpose of accelerating
computations based on the current workload.

NetBSD eMIPS support for NetBSD 4.x was written at Microsoft Research
by Alessandro Forin and Neil Pittman.  Microsoft Corporation has
donated full copyright to The NetBSD Foundation.


Could you provide us the reference pointer to the eMIPS project?  It's long
time ago last I saw Mr. Forin name in CS research field.

Toru Nishimura / ALKYL Technology


Re: CVS commit: src

2011-01-26 Thread Izumi Tsutsui
> > > + * Make a kernel mapping valid for I/O, e.g. non-cachable.
> > > + * Alignment and length constraints are as-if NBPG==PAGE_SIZE.
 :
> > What is this miracle, however?
> 
> IIRC that miracle is about mapping the flash which is not in kseg1.
> The story included lots of details on how mapping an arbitrary physical
> address was much easier on Mach ;)

Why not simply using bus_space(9) for non-cachable I/O?
(like sys/arch/arc/arc/bus_space_sparse.c)

---
Izumi Tsutsui