Skip to content

Updating SPEAr Support

Russell King - ARM Linux linux-arm-kernel 5 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 3/312 of 63 patches 0 repliesNew
  2. v5 posting 2/31 of 63 patches 0 repliesSuperseded
  3. v5 posting 1/31 of 63 patches 0 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v47 of 62 patches0 repliesSuperseded
v34 of 63 patches0 repliesSuperseded

12 of 63 patches are in this archive. The cover letter announces 63.

Patches in v5 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
3/63sp810 Fix: Switch to slow mode before sysctl_soft_reset+0 -01 reply
13/63ST SPEAr: Updating Clock Support+0 -00 replies
15/63ST SPEAr: Correcting SOC Config base address for spear320+0 -01 reply
29/63ST SPEAr: Changing resource size of amba devices to SZ_4K+0 -01 reply
30/63ST SPEAr: Replacing SIZE macro's with actual required size+0 -01 reply
30/63ST SPEAr: Replacing SIZE macro's with actual required size+0 -01 reply
30/63ST SPEAr: Replacing SIZE macro's with actual required size+0 -01 reply
30/63ST SPEAr: Replacing SIZE macro's with actual required size+0 -01 reply
36/63ST SPEAr : EMI (Extrenal Memory Interface) controller driver+0 -01 reply
36/63ST SPEAr : EMI (Extrenal Memory Interface) controller driver+0 -01 reply
41/63ST SPEAr: replace readl, writel with readl_relaxed, writel_relaxed in uncompress.h+0 -01 reply
57/63ST SPEAr3xx: Updating plgpio and emi source to make it compliant with single image strategy+0 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v5 yet.

Read the v5 thread

Cover letter [PATCH V5 00/63] Updating SPEAr Support

I don't understand why people think that it's a good idea to post a patch series which adds new support and then has a whole series of patches which modify then modifies both new and old stuff.

It makes it a lot harder to apply, a lot harder to review, and all round is a bad idea.

The problem is that mixing it up in the way you've done means that it's impossible to apply the cleanup patches before the new support.

Another issue worth pointing out is that submission of patch series by email has to be done _carefully_ - which basically means slowly. The email system on this planet will randomly re-order messages - there is no guarantee that the order in which you send them is the order in which they're received at the remote end. If you want them to arrive in a certain order, you're out of luck.

You can help by not dumping 63 patches into the mail system within a few seconds or so, but leaving a greater period of time between each. The longer that period, the more likely they are to arrive in order - but it's something that will never be guaranteed.

As it is, I'm going to have to spend something like a few _hours_ over sorting out how to merge these Spear patches because they're all out of order and they're all interdependent.

That's another argument for not waiting until you have a huge patch set before sending stuff out - keep patch sets small and targetted to specific areas. For instance, with the Versatile updates which form a total of 21 individual patches, I split them up into one set of 10 patches which changed the way CLCD stuff was handled, and another separate set of 11 patches of platform specific stuff.

So, why aren't all the padmux changes together? Why aren't the clk API patches together?

And another thing: separate out the 'fixes' from the new developments. Things like the addition of UL to VMALLOC_END counts as a warning fix. Using readl_relaxed/writel_relaxed also counts as a fix as things in the decompressor break. As these are technically bug fixes, they go upstream faster than new work.

Bug fixes should _always_ be at the very start of any patch series, then cleanups, then new stuff.

In summary, I hate large patch sets. I tend to ignore large patch sets. I have very little motivation to review large patch sets. I have very little motivation to apply large patch sets. Don't create them in the first place. Spend time sorting the patches into smaller sets and things all round go much easier.

I'll work through what you've already submitted, but it will be a slow and erratic job.