Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-23 Thread Bjorn Andersson
On Tue 23 Mar 13:27 CDT 2021, Elliot Berman wrote: > On 3/22/2021 8:36 PM, Stephen Boyd wrote: > > Quoting Bjorn Andersson (2021-03-07 09:42:45) > > > On Sat 06 Mar 00:18 CST 2021, Stephen Boyd wrote: > > > > > > > Quoting Elliot Berman (2021-03-05 10:18:09) > > > > > On 3/3/2021 10:14 PM, Stephe

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-23 Thread Elliot Berman
On 3/22/2021 8:36 PM, Stephen Boyd wrote: Quoting Bjorn Andersson (2021-03-07 09:42:45) On Sat 06 Mar 00:18 CST 2021, Stephen Boyd wrote: Quoting Elliot Berman (2021-03-05 10:18:09) On 3/3/2021 10:14 PM, Stephen Boyd wrote: Quoting Elliot Berman (2021-03-03 19:35:08) > +desc.args[0]

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-22 Thread Stephen Boyd
Quoting Bjorn Andersson (2021-03-07 09:42:45) > On Sat 06 Mar 00:18 CST 2021, Stephen Boyd wrote: > > > Quoting Elliot Berman (2021-03-05 10:18:09) > > > On 3/3/2021 10:14 PM, Stephen Boyd wrote: > > > > Quoting Elliot Berman (2021-03-03 19:35:08) > > > > > > > +desc.args[0] = flags; > > >

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-07 Thread Bjorn Andersson
On Sat 06 Mar 00:18 CST 2021, Stephen Boyd wrote: > Quoting Elliot Berman (2021-03-05 10:18:09) > > On 3/3/2021 10:14 PM, Stephen Boyd wrote: > > > Quoting Elliot Berman (2021-03-03 19:35:08) > > >> > > >> On 2/23/2021 1:45 PM, Stephen Boyd wrote: > > >>> These scm calls are never used outside of

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-05 Thread Stephen Boyd
Quoting Elliot Berman (2021-03-05 10:18:09) > On 3/3/2021 10:14 PM, Stephen Boyd wrote: > > Quoting Elliot Berman (2021-03-03 19:35:08) > >> > >> On 2/23/2021 1:45 PM, Stephen Boyd wrote: > >>> These scm calls are never used outside of legacy ARMv7 based platforms. > >>> That's because PSCI, mandat

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-05 Thread Elliot Berman
On 3/3/2021 10:14 PM, Stephen Boyd wrote: Quoting Elliot Berman (2021-03-03 19:35:08) On 2/23/2021 1:45 PM, Stephen Boyd wrote: These scm calls are never used outside of legacy ARMv7 based platforms. That's because PSCI, mandated on arm64, implements them for modern SoCs via the PSCI spec. Let

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-03 Thread Stephen Boyd
Quoting Elliot Berman (2021-03-03 19:35:08) > > On 2/23/2021 1:45 PM, Stephen Boyd wrote: > > These scm calls are never used outside of legacy ARMv7 based platforms. > > That's because PSCI, mandated on arm64, implements them for modern SoCs > > via the PSCI spec. Let's move them to the legacy fil

Re: [PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-03-03 Thread Elliot Berman
On 2/23/2021 1:45 PM, Stephen Boyd wrote: These scm calls are never used outside of legacy ARMv7 based platforms. That's because PSCI, mandated on arm64, implements them for modern SoCs via the PSCI spec. Let's move them to the legacy file and only compile the legacy file into the kernel when C

[PATCH 6/6] firmware: qcom_scm: Only compile legacy calls on ARM

2021-02-23 Thread Stephen Boyd
These scm calls are never used outside of legacy ARMv7 based platforms. That's because PSCI, mandated on arm64, implements them for modern SoCs via the PSCI spec. Let's move them to the legacy file and only compile the legacy file into the kernel when CONFIG_ARM=y. Otherwise provide stubs and fail