Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-10-26 Thread Zhou Yanjie
Hello Maciej & Paul, 在 2020/8/22 上午10:29, Maciej W. Rozycki 写道: Hi Paul, FAOD is not a hack, but an optimisation measure so that features known to be hardwired for a given machine/CPU do not have to be dynamically queried every time referred. In some cases that results in large portions of c

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-22 Thread Maciej W. Rozycki
On Sat, 22 Aug 2020, Paul Cercueil wrote: > > Well, run-time patching might be an alternative to get the best of both > > worlds, but someone would have to reimplement our feature selection system > > to use it. > > Would run-time patching allow to drop dead code? I don't know offhand. In prin

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-22 Thread Paul Cercueil
Le sam. 22 août 2020 à 3:29, Maciej W. Rozycki a écrit : Hi Paul, > FAOD is not a hack, but an optimisation measure > so that features known to be hardwired for a given machine/CPU do not have > to be dynamically queried every time referred. In some cases that results > in large po

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-21 Thread Maciej W. Rozycki
Hi Paul, > > FAOD is not a hack, but an optimisation measure > > so that features known to be hardwired for a given machine/CPU do not have > > to be dynamically queried every time referred. In some cases that results > > in large portions of code being optimised away by the compiler as well. >

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-21 Thread Paul Cercueil
Hi Maciej, Le ven. 21 août 2020 à 20:23, Maciej W. Rozycki a écrit : On Fri, 7 Aug 2020, Paul Cercueil wrote: > I'm not too sure if remove "cpu-feature-overrides.h" will cause some > problems for X2000, because according to my current test on X2000, I found > that it is somewhat differen

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-21 Thread Maciej W. Rozycki
On Fri, 7 Aug 2020, Paul Cercueil wrote: > > I'm not too sure if remove "cpu-feature-overrides.h" will cause some > > problems for X2000, because according to my current test on X2000, I found > > that it is somewhat different from the SoCs using XBurst1 CPU core, with the > > kernel source code p

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Jiaxun Yang
在 2020/8/8 上午12:45, Paul Cercueil 写道: Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from th

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Zhou Yanjie
Hi Paul, 在 2020/8/8 上午12:45, Paul Cercueil 写道: Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Paul Cercueil
Hi Zhou, Le sam. 8 août 2020 à 0:23, Zhou Yanjie a écrit : Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from the SoCs using XBurst1 CPU core, with the k

Re: [PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-07 Thread Zhou Yanjie
Hi Paul, I'm not too sure if remove "cpu-feature-overrides.h" will cause some problems for X2000, because according to my current test on X2000, I found that it is somewhat different from the SoCs using XBurst1 CPU core, with the kernel source code provided by Ingenic, for example, we must co

[PATCH 00/13] MIPS: Convert Ingenic to a generic board

2020-08-03 Thread Paul Cercueil
Hi Thomas & list, Here is a set of patches for 5.10 (no rush) to move Ingenic support from arch/mips/jz4740/ to arch/mips/generic/. There are some Kconfig changes that I think should be reviewed in detail to avoid breakages elsewhere. The idea behind these changes is to allow the Ingenic "generic