Re: [PATCH] TC: Set DMA masks for devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Fredrik,

> >  From the description I take it it is some MMIO memory rather than host 
> > memory.  I fail to see how it is supposed to work with these calls for 
> > non-system memory, which certainly any MMIO memory is, which surely is not 
> > under the supervision of the kernel memory allocator.
> 
> I agree, this is obscure to me too.

 I can't be bothered (sorry!) to study this code or the datasheet for the 
IC to figure out what the arrangement is, but I do encourage you to do so 
if you want to make any changes here.

> >  Mind that the DEFZA runs its own RTOS for initialization and management 
> > support, including in particular SMT (Station Management).  This is run on 
> > an MC68000 processor.  That processor is interfaced to a bus where board 
> > memory is attached as well as the RMC (Ring Memory Controller) chip, which 
> > acts as a DMA master on that bus, like does the host bus interface.  Also 
> > certain control register writes from the host raise interrupts to the 
> > MC68000 for special situations to handle.
> > 
> >  All the PDQ-based FDDI adapters also have an M68000 which runs an RTOS, 
> > however the presence of the PDQ ASIC makes their architecture slightly 
> > different as the FDDI chipset does host DMA via the PDQ ASIC, which acts 
> > as a master on the host bus (possibly through a bridge chip like the PFI, 
> > though TURBOchannel for example is interfaced directly).
> 
> How is its firmware handled? The Linux MIPS wiki entry for the DECstation
> firmware
> 
> https://www.linux-mips.org/wiki/DECstation#Firmware
> 
> is a TODO. :)

 I'm not sure who actually created that entry and what they had in mind.  
Likely the console firmware and any of its peculiarities related to Linux.

> The main reason I'm asking is that the IOP is a MIPS R3000
> (apparently in later product models replaced with a PowerPC 405GP and its
> DECKARD software emulator) that also needs firmware. The IOP most likely
> ought to handle multiple firmware files, in the IRX format, depending on
> its set of services.

 The firmware of these FDDI boards is stored in flash memory onboard, so 
you don't need to do anything to load it as it boots by itself.

 There is a documented way to flash a firmware image by fiddling with the 
control registers appropriately, downloading the new image to board RAM 
and then requesting the board to transfer the image to onboard flash.  

[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux