[Skiboot] [PATCH 5/7] npu2: Add checks to npu2-only codepaths

Andrew Donnellan ajd at linux.ibm.com
Tue Jun 18 17:17:40 AEST 2019


On 18/6/19 5:12 pm, Alexey Kardashevskiy wrote:> probe_npu2() will probe 
npu3 and probe_npu3() will probe npu3? Quite
> confusing. And thers is also probe_npu() - is that guy expected to probe
> npu1, npu2, npu3?

No it doesn't, probe_npu2() is npu2 only, probe_npu3() is npu3 only. 
They use different device tree compat strings.

-- 
Andrew Donnellan              OzLabs, ADL Canberra
ajd at linux.ibm.com             IBM Australia Limited



More information about the Skiboot mailing list