[PATCH v12 0/3] riscv, mm: detect svnapot cpu support at runtime

Conor Dooley conor.dooley at microchip.com
Thu Feb 9 00:58:19 PST 2023


+CC Bjorn

On Thu, Feb 09, 2023 at 04:40:47PM +0800, Qinglin Pan wrote:
> Hey!
> 
> On 2023/2/9 16:18, Conor Dooley wrote:
> > On Thu, Feb 09, 2023 at 04:03:01PM +0800, Qinglin Pan wrote:
> > > Hey!
> > > 
> > > On 2023/2/9 15:30, Conor Dooley wrote:
> > > > Hey!
> > > > 
> > > > On Thu, Feb 09, 2023 at 12:00:32PM +0800, Qinglin Pan wrote:
> > > > > Hi all,
> > > > > 
> > > > > Sorry for bothering :(
> > > > > 
> > > > > This patchset has a bit of a formatting problem.
> > > > > Please use another one:
> > > > > https://lore.kernel.org/linux-riscv/20230209035343.15282-1-panqinglin00@gmail.com/T/#t
> > > > 
> > > > If you're resending, please either mark as RESEND or increment the
> > > > version number so that tools don't get confused.
> > > > In this case though, tools found some issues with both version
> > > > unfortunately:
> > > > https://patchwork.kernel.org/project/linux-riscv/patch/20230209035343.15282-2-panqinglin00@gmail.com/
> > > > https://patchwork.kernel.org/project/linux-riscv/patch/20230209035343.15282-3-panqinglin00@gmail.com/
> > > > (if you click on the descriptions you should get more information on
> > > > what is wrong)
> > > > 
> > > > You can fix those up and send a v13 and it'll all be clear then ;)
> > > 
> > > Your information is very helpful, thanks so much!
> > > 
> > > I will send a v13 later. But I am very curious about why
> > > conchuod/alphanumeric_selects is failed and what content is in
> > > this test? Could you please give me some hints about it? ;)
> > 
> > Oh yeah, that output is not very helpful is it. It runs a perl script
> > that RMK created that tries to put things in the "correct" order before
> > and after the patch is applied. The script is here:
> > https://github.com/ConchuOD/nipa/blob/main/tests_rv/patch/alphanumeric_selects/alphanumeric_selects.pl
> 
> It is what I really need :) :) :)

That perl script will completely re-order the file, so it is run from
another script that just diffs the result with the existing Kconfig
file.

> > It also re-orders default/depends on strings, and I assume it's being
> > tripped up by the config option that you are adding not doing what it
> > wants you to do with the order of those.
> > I think you can ignore that one for now.
> > 
> > It's the build errors and SoB issues that I am more interested in
> > getting fixed ;)
> > 
> > I'll go convert the error level of that to a warning & try to fix up the
> > reporting that it does.

I think I have fixed this to do something that actually says what it is
complaining about:
https://github.com/ConchuOD/nipa/pull/18

In the future, it'll do something like:
| --- /dev/fd/63	2023-02-09 08:45:10.809992544 +0000
| +++ /dev/fd/62	2023-02-09 08:45:10.809992544 +0000
| @@ -354,0 +355 @@
| +	select ARCH_HAS_NOTHING

Cheers,
Conor.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20230209/9b5a56d5/attachment.sig>


More information about the linux-riscv mailing list