linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* NO_RELOAD_HTAB
@ 2000-05-11  2:07 Dan A. Dickey
  2000-05-11 16:56 ` NO_RELOAD_HTAB Dan Malek
  2000-05-12 22:57 ` NO_RELOAD_HTAB Cort Dougan
  0 siblings, 2 replies; 3+ messages in thread
From: Dan A. Dickey @ 2000-05-11  2:07 UTC (permalink / raw)
  To: linuxppc-embedded@lists.linuxppc.org, cort


Cort (or anyone else),
can you tell me what NO_RELOAD_HTAB does in more detail?
I see it says its an optimization for the 603.  Currently
in the source that I'm using, its set to 1 (so it *is* defined).

Some of the mmu code changes depending on whether it is
defined or not, and I'm having problems with the the first
InstructionTLBMiss.  I have an MPC850SAR on a FADS board.
(Yes, I've heard all about the lowly fads...)

So, I was wondering what NO_RELOAD_HTAB is for before I go
delving into 860 & 850 mmu differences and the linux code
for them.

If anyone else is reading this, can you verify that your
linux code runs on both an 860 and 850 with no changes?

Thanks.
	-Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: NO_RELOAD_HTAB
  2000-05-11  2:07 NO_RELOAD_HTAB Dan A. Dickey
@ 2000-05-11 16:56 ` Dan Malek
  2000-05-12 22:57 ` NO_RELOAD_HTAB Cort Dougan
  1 sibling, 0 replies; 3+ messages in thread
From: Dan Malek @ 2000-05-11 16:56 UTC (permalink / raw)
  To: Dan A. Dickey; +Cc: linuxppc-embedded@lists.linuxppc.org, cort


Dan A. Dickey wrote:

> So, I was wondering what NO_RELOAD_HTAB is for before I go
> delving into 860 & 850 mmu differences and the linux code
> for them.

That #define has no effect on the 8xx MMU functions.  The
8xx MMU is significantly different from the other "bigger"
processor cores.

> If anyone else is reading this, can you verify that your
> linux code runs on both an 860 and 850 with no changes?

Yes, it does.  Every day, for years......


	-- Dan

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: NO_RELOAD_HTAB
  2000-05-11  2:07 NO_RELOAD_HTAB Dan A. Dickey
  2000-05-11 16:56 ` NO_RELOAD_HTAB Dan Malek
@ 2000-05-12 22:57 ` Cort Dougan
  1 sibling, 0 replies; 3+ messages in thread
From: Cort Dougan @ 2000-05-12 22:57 UTC (permalink / raw)
  To: Dan A. Dickey; +Cc: linuxppc-embedded@lists.linuxppc.org


We covered a little in the paper "Optimizing the Idle Task and Other MMU
Tricks".  It's currently the only supported behavior on the 603 and in 2.3
has completely disappeared as an option (it's always used).

On the 603 we had to manage the hash table in software and load TLB entries
ourselves.  On the other (and incorrectly designed architectures, in my
opinion) PPC's the hardware loads PTE's from the hash table in hardware.
Since we have to maintain the x86-centric page table for Linux anyway, we
just avoid the hash table on the 603 and load directly into the TLB from
the page table.  We saw a lot of speedup from that.  We also saw
indications that the hardware managed tables of the other PPC's aren't as
efficient as they could be.

} Cort (or anyone else),
} can you tell me what NO_RELOAD_HTAB does in more detail?
} I see it says its an optimization for the 603.  Currently
} in the source that I'm using, its set to 1 (so it *is* defined).
}
} Some of the mmu code changes depending on whether it is
} defined or not, and I'm having problems with the the first
} InstructionTLBMiss.  I have an MPC850SAR on a FADS board.
} (Yes, I've heard all about the lowly fads...)
}
} So, I was wondering what NO_RELOAD_HTAB is for before I go
} delving into 860 & 850 mmu differences and the linux code
} for them.

As Dan said, they sure do.  The NO_RELOAD_HTAB has no effect on the 8xx
MMU, though.  The only chip is affects is the 603 and it's variants
603{e,ev}...

} If anyone else is reading this, can you verify that your
} linux code runs on both an 860 and 850 with no changes?

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2000-05-12 22:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-05-11  2:07 NO_RELOAD_HTAB Dan A. Dickey
2000-05-11 16:56 ` NO_RELOAD_HTAB Dan Malek
2000-05-12 22:57 ` NO_RELOAD_HTAB Cort Dougan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).