[Skiboot] [PATCH 5/7] npu2: Add checks to npu2-only codepaths
Reza Arbab
arbab at linux.ibm.com
Wed Jun 19 00:39:48 AEST 2019
On Tue, Jun 18, 2019 at 05:17:40PM +1000, Andrew Donnellan wrote:
>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.
Right.
probe_npu() looks for ibm,power8-npu
probe_npu2() looks for ibm,power9-npu
probe_npu3() looks for ibm,power9-npu3
--
Reza Arbab
More information about the Skiboot
mailing list