On 03/09/19 9:36 PM, Hari Bathini wrote: > > > On 03/09/19 4:40 PM, Michael Ellerman wrote: >> Hari Bathini <hbath...@linux.ibm.com> writes: >>> Introduce callback functions for platform specific operations like >>> register, unregister, invalidate & such. Also, define place-holders >>> for the same on pSeries platform. >> >> We already have an ops structure for machine specific calls, it's >> ppc_md. Is there a good reason why these aren't just in machdep_calls >> under #ifdef CONFIG_FA_DUMP ? > > Not really. We move this callbacks to 'struct machdep_calls' Actually, we can't move this callbacks to 'struct machdep calls' as we need these callbacks much before machine_probe(). So, if we have to use ppc_md callbacks for fadump... we need to be set the callbacks twice. Once during dt_scan and again in setup_fadump. Not worth it, I guess.. - Hari
- [PATCH v5 02/31] powerpc/fadump: move internal... Hari Bathini
- Re: [PATCH v5 02/31] powerpc/fadump: move... Michael Ellerman
- Re: [PATCH v5 02/31] powerpc/fadump: ... Hari Bathini
- Re: [PATCH v5 02/31] powerpc/fadu... Mahesh Jagannath Salgaonkar
- Re: [PATCH v5 02/31] powerpc/... Hari Bathini
- [PATCH v5 03/31] powerpc/fadump: Improve fadum... Hari Bathini
- [PATCH v5 04/31] pseries/fadump: move rtas spe... Hari Bathini
- [PATCH v5 05/31] pseries/fadump: introduce cal... Hari Bathini
- Re: [PATCH v5 05/31] pseries/fadump: intr... Michael Ellerman
- Re: [PATCH v5 05/31] pseries/fadump: ... Hari Bathini
- Re: [PATCH v5 05/31] pseries/fadu... Hari Bathini
- [PATCH v5 06/31] pseries/fadump: define regist... Hari Bathini
- Re: [PATCH v5 06/31] pseries/fadump: defi... Michael Ellerman
- Re: [PATCH v5 06/31] pseries/fadump: ... Hari Bathini
- [PATCH v5 07/31] powerpc/fadump: release all t... Hari Bathini
- Re: [PATCH v5 07/31] powerpc/fadump: rele... Michael Ellerman
- Re: [PATCH v5 07/31] powerpc/fadump: ... Hari Bathini
- [PATCH v5 08/31] pseries/fadump: move out plat... Hari Bathini
- [PATCH v5 09/31] powerpc/fadump: use FADump in... Hari Bathini
- [PATCH v5 10/31] opal: add MPIPL interface def... Hari Bathini
- Re: [PATCH v5 10/31] opal: add MPIPL inte... Michael Ellerman