[PATCH 00/13] Switch realtek target to upstream platform

Sander Vanheule sander at svanheule.net
Sun Dec 12 02:08:29 PST 2021


Hi Sebastian,

On Sun, 2021-12-12 at 00:40 +0100, Sebastian Gottschall wrote:
> 
> > I've provided a patch below that enables VPE support for RTL839x. Since RTL930x uses
> > the
> > same CPU architecture, I expect it to also bring up both threads there. Like you note
> > RTL930x requires a specific clocksource driver, but it should be possible to run your
> > current code for that on top of this (ammended) series.
> > 
> > I will respin the series with some small changes, and add that VSMP-support patch.
> > Please
> > let us know if you can get your reworked IRQ driver and timer code working on top of
> > the
> > v2. That way, you wouldn't have to take a step back in your development, and we could
> > continue providing support through upstream.
> just enabling vsmp in that way is not enough. it looks simple and this 
> is how we started too but  you will quickly find out that it will cause 
> lockups and hangs.

I have not experienced a single lock-up when booting with this patch, but I also didn't
stress-test the machine or even used the switch part. Do you guys have more details on why
it locks up, or how exactly these lock-ups can be resolved?

> if you do performance tests
> in addition the mainline still uses 4kc as cpu architecture, which is 
> simply wrong for anything else but 838x

Wrong or suboptimal? I don't currently experience any obvious issues, using the same
toolchain for 8380, 8390 and 9300.

Best,
Sander



More information about the openwrt-devel mailing list