* [PATCH] ppc32: add 405EP cpu_spec entry
@ 2005-06-07 1:20 Eugene Surovegin
2005-06-10 15:24 ` Kumar Gala
0 siblings, 1 reply; 5+ messages in thread
From: Eugene Surovegin @ 2005-06-07 1:20 UTC (permalink / raw)
To: Andrew Morton; +Cc: linuxppc-embedded
Andrew,
the following patch adds definition for PPC 405EP which was lost
somehow during 2.4 -> 2.6 transition.
Recent change to arch/ppc/kernel/misc.S ("Fix incorrect CPU_FTR fixup
usage for unified caches") triggered this bug and 405EP boards don't
boot anymore.
Please, consider applying this patch before 2.6.12 release.
Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
diff --git a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
--- a/arch/ppc/kernel/cputable.c
+++ b/arch/ppc/kernel/cputable.c
@@ -838,6 +838,17 @@ struct cpu_spec cpu_specs[] = {
.icache_bsize = 32,
.dcache_bsize = 32,
},
+ { /* 405EP */
+ .pvr_mask = 0xffff0000,
+ .pvr_value = 0x51210000,
+ .cpu_name = "405EP",
+ .cpu_features = CPU_FTR_SPLIT_ID_CACHE |
+ CPU_FTR_USE_TB,
+ .cpu_user_features = PPC_FEATURE_32 |
+ PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC,
+ .icache_bsize = 32,
+ .dcache_bsize = 32,
+ },
#endif /* CONFIG_40x */
#ifdef CONFIG_44x
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ppc32: add 405EP cpu_spec entry
2005-06-07 1:20 [PATCH] ppc32: add 405EP cpu_spec entry Eugene Surovegin
@ 2005-06-10 15:24 ` Kumar Gala
2005-06-10 16:34 ` Linus Torvalds
0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2005-06-10 15:24 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Andrew Morton, Linux PPC Embedded list
Linus,
You have applied this patch twice now.
- kumar
On Jun 6, 2005, at 8:20 PM, Eugene Surovegin wrote:
> Andrew,
>
> the following patch adds definition for PPC 405EP which was lost
> somehow during 2.4 -> 2.6 transition.
>
> Recent change to arch/ppc/kernel/misc.S ("Fix incorrect CPU_FTR fixup
> usage for unified caches") triggered this bug and 405EP boards don't
> boot anymore.
>
> Please, consider applying this patch before 2.6.12 release.
>
> Signed-off-by: Eugene Surovegin <ebs@ebshome.net>
>
> diff --git a/arch/ppc/kernel/cputable.c b/arch/ppc/kernel/cputable.c
> --- a/arch/ppc/kernel/cputable.c
> +++ b/arch/ppc/kernel/cputable.c
> @@ -838,6 +838,17 @@ struct cpu_spec cpu_specs[] = {
> .icache_bsize = 32,
> .dcache_bsize = 32,
> },
> + { /* 405EP */
> + .pvr_mask = 0xffff0000,
> + .pvr_value = 0x51210000,
> + .cpu_name = "405EP",
> + .cpu_features = CPU_FTR_SPLIT_ID_CACHE |
> + CPU_FTR_USE_TB,
> + .cpu_user_features = PPC_FEATURE_32 |
> + PPC_FEATURE_HAS_MMU | PPC_FEATURE_HAS_4xxMAC,
> + .icache_bsize = 32,
> + .dcache_bsize = 32,
> + },
>
> #endif /* CONFIG_40x */
> #ifdef CONFIG_44x
>
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ppc32: add 405EP cpu_spec entry
2005-06-10 15:24 ` Kumar Gala
@ 2005-06-10 16:34 ` Linus Torvalds
2005-06-10 18:29 ` Andrew Morton
0 siblings, 1 reply; 5+ messages in thread
From: Linus Torvalds @ 2005-06-10 16:34 UTC (permalink / raw)
To: Kumar Gala; +Cc: Andrew Morton, Linux PPC Embedded list
On Fri, 10 Jun 2005, Kumar Gala wrote:
>
> You have applied this patch twice now.
Actually, looks like three times ;)
I think Andrew continually thinks it is dropped, because the patch ends up
applying again, even though it got applied. So he keeps on re-sending it
over and over again ;)
Andrew, I'll remove two extra copies. You please remove that patch from
your queue..
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ppc32: add 405EP cpu_spec entry
2005-06-10 16:34 ` Linus Torvalds
@ 2005-06-10 18:29 ` Andrew Morton
2005-06-10 18:54 ` Linus Torvalds
0 siblings, 1 reply; 5+ messages in thread
From: Andrew Morton @ 2005-06-10 18:29 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linuxppc-embedded
Linus Torvalds <torvalds@osdl.org> wrote:
>
> On Fri, 10 Jun 2005, Kumar Gala wrote:
> >
> > You have applied this patch twice now.
>
> Actually, looks like three times ;)
Crap, sorry, that's happened three times now... hmm..
> I think Andrew continually thinks it is dropped, because the patch ends up
> applying again, even though it got applied. So he keeps on re-sending it
> over and over again ;)
Fault-tolerance!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] ppc32: add 405EP cpu_spec entry
2005-06-10 18:29 ` Andrew Morton
@ 2005-06-10 18:54 ` Linus Torvalds
0 siblings, 0 replies; 5+ messages in thread
From: Linus Torvalds @ 2005-06-10 18:54 UTC (permalink / raw)
To: Andrew Morton; +Cc: linuxppc-embedded
On Fri, 10 Jun 2005, Andrew Morton wrote:
>
> > I think Andrew continually thinks it is dropped, because the patch ends up
> > applying again, even though it got applied. So he keeps on re-sending it
> > over and over again ;)
>
> Fault-tolerance!
Indeed.
However, I'm sure there's a better way. For example, something like "try
if the patch applied reversed" might be a good idea to at least mark it
for questioning.
Something like
patch -spfR --dry-run --fuzz=0 < patch
if [ $? -eq 0 ]; then
echo Hmm.. patch might be applied already
exit 1
fi
might be a starting point...
Linus
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-06-10 18:52 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-07 1:20 [PATCH] ppc32: add 405EP cpu_spec entry Eugene Surovegin
2005-06-10 15:24 ` Kumar Gala
2005-06-10 16:34 ` Linus Torvalds
2005-06-10 18:29 ` Andrew Morton
2005-06-10 18:54 ` Linus Torvalds
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).