GPUOpen-LibrariesAndSDKs / MxGPU-Virtualization

MIT License
182 stars 84 forks source link

hi,everyone,function pci_enable_sriov return fffffff4,I don't know what is going on, can you please help me to see it, thank you #21

Open mankitty opened 5 years ago

mankitty commented 5 years ago

[ 43.418964] gim: loading out-of-tree module taints kernel. [ 43.421739] gim info:(gim_init:149) Start AMD open source GIM initialization [ 43.421745] gim info:(gim_init:152) GPU IOV MODULE - version 1.1.3 [ 43.421748] gim info:(gim_init:154) Copyright (c) 2014-2018 AMD Corporation. [ 43.441764] gim info:(parse_config_file:219) AMD GIM fb_option = 0 [ 43.441769] gim info:(parse_config_file:219) AMD GIM sched_option = 0 [ 43.441773] gim info:(parse_config_file:219) AMD GIM vf_num = 4 [ 43.441776] gim info:(parse_config_file:219) AMD GIM pf_fb = 0 [ 43.441798] gim info:(parse_config_file:219) AMD GIM vf_fb = 0 [ 43.441802] gim info:(parse_config_file:219) AMD GIM sched_interval = 0 [ 43.441806] gim info:(parse_config_file:219) AMD GIM sched_interval_us = 0 [ 43.441810] gim info:(parse_config_file:219) AMD GIM fb_clear = 0 [ 43.441814] gim info:(init_config:341) INIT CONFIG [ 43.522089] gim info:(set_new_adapter:572) curr allocated at ffffffffc05b3c00 [ 43.522096] gim info:(set_new_adapter:579) SRIOV is supported [ 43.522105] gim info:(set_new_adapter:587) found PCI bridge device [ 43.522109] gim info:(set_new_adapter:591) found: 43:8.0 [ 43.522142] gim info:(set_new_adapter:608) mmio_base = ffffc9000db80000 [ 43.522222] gim info:(set_new_adapter:610) doorbell = ffffc9000dc00000 [ 43.522253] gim info:(set_new_adapter:612) pf.fb_va = ffffc90040000000 [ 43.522271] gim info:(sriov_is_ari_enabled:164) PCI_SRIOV_CAP = 0x00000002 [ 43.522276] gim info:(sriov_is_ari_enabled:174) PCI_SRIOV_CTRL = 0x00000010 [ 43.522279] gim info:(sriov_is_ari_enabled:177) PCI_SRIOV_CTRL_ARI is set --> ARI is supported [ 43.522284] gim info:(program_ari_mode:441) Read bif_strap8 = 0x00200004 [ 43.522287] gim info:(program_ari_mode:446) program_ari_mode - Set ARI_Mode = PF_BUS [ 43.522290] gim info:(program_ari_mode:456) Write bif_strap8 = 0x00000004 [ 43.522293] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM [ 43.522416] gim info:(gim_read_vbios:243) VBIOS starts: 0x55, 0xaa [ 43.522419] gim info:(gim_read_vbios:246) VBios size is 0x10000 [ 43.522432] gim info:(gim_read_vbios:249) vbios allocated at ffffc9000cf8f000 [ 43.522435] gim info:(gim_read_rom_from_reg:181) Reading VBios from ROM [ 43.662084] gim info:(gim_read_vbios:257) BIOS Version Major 0xF Minor 0x31 [ 43.662207] gim info:(gim_read_vbios:270) Valid video BIOS image, [ 43.662210] gim info:(gim_read_vbios:271) size = 0x10000, check sum is 0x543c00 [ 43.662216] gim info:(gim_post_vbios:302) Init Parser passed!, continue [ 43.662221] gim info:(atom_chk_asic_status:333) ATOM_CheckAsicStatus - BIOS_SCRATCH_7 = 0x00000000 [ 43.662224] gim info:(atom_chk_asic_status:336) Isolate ATOM_S7_ASIC_INIT_COMPLETE_MASK bit(s) = 0x00000000 [ 43.662229] gim info:(atom_chk_asic_status:339) RLC_CNTL = 0x00000000 [ 43.662232] gim info:(atom_chk_asic_status:341) Isolate RLC_CNTL__RLC_ENABLE_F32_MASK = 0x00000000 [ 43.662235] gim info:(atom_chk_asic_status:348) ATOM_ASIC_NEED_POST [ 43.662238] gim info:(gim_post_vbios:305) Asic needs a VBios post [ 43.662241] gim info:(atom_post_vbios:200) ATOM_PostVBIOS: firmware_info passed [ 43.662245] gim info:(atom_post_vbios:253) asic_init before, engine clock = 7530; memory clock =1e848 [ 43.988616] gim info:(atom_post_vbios:256) asic_init after [ 43.988620] gim info:(atom_post_vbios:263) atom_init_fan_cntl before [ 43.988623] gim info:(atom_post_vbios:265) atom_init_fan_cntl after [ 43.988626] gim info:(gim_post_vbios:311) Post INIT_ASIC successfully! [ 43.988641] gim info:(firmware_requires_update:510) SMU option ROM version 0x111700 [ 43.988644] gim info:(firmware_requires_update:511) versus patch version 0x111a00 [ 43.988660] gim info:(firmware_requires_update:521) RLCV option ROM version 113 versus patch version 129 [ 43.988663] gim info:(firmware_requires_update:526) TOC found, update it [ 43.988666] gim info:(patch_firmware:586) Update smc_init table [ 44.558276] gim info:(patch_firmware:619) Update smu firmware [ 44.558346] gim info:(patch_firmware:628) Update RLCV firmware [ 44.558353] gim info:(patch_firmware:637) Update TOC [ 44.558383] gim info:(gim_post_vbios:317) Asic needs firmware loaded [ 44.558386] gim info:(atom_post_vbios:200) ATOM_PostVBIOS: firmware_info passed [ 44.558389] gim info:(atom_post_vbios:239) just load uCode [ 44.558393] gim info:(atom_post_vbios:253) asic_init before, engine clock = 7530; memory clock =1e848 [ 45.893786] gim info:(atom_post_vbios:256) asic_init after [ 45.893789] gim info:(atom_post_vbios:263) atom_init_fan_cntl before [ 45.893790] gim info:(atom_post_vbios:265) atom_init_fan_cntl after [ 45.893792] gim info:(gim_post_vbios:323) Post LOAD_FW successfully! [ 45.893793] gim info:(gim_post_vbios:324) Post VBIOS successfully! [ 45.893794] gim info:(set_new_adapter:640) gim_post_vbios done [ 45.893796] gim info:(set_new_adapter:661) Scheduler Time interval is per-vf from XL [ 45.893798] gim info:(set_new_adapter:662) config file [ 45.893804] gim info:(enable_sriov:299) Enable SRIOV [ 45.893806] gim info:(enable_sriov:300) Enable SRIOV vfs count = 4 1002 [ 45.894066] gim error:(enable_sriov:312) Fail to enable sriov, status = fffffff4 [ 45.894318] gim error:(set_new_adapter:668) Failed to properly enable SRIOV [ 45.894550] gim info:(gim_probe:91) AMD GIM probe: pf_count = 1

markednmbr1 commented 5 years ago

I had a similar issue, I needed ARI Forwarding enabled.

https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization/issues/18

mankitty commented 5 years ago

I had a similar issue, I needed ARI Forwarding enabled.

18

The hardware I use is dell s720. I have found all the BIOS options and have not found it. How do I determine if the Alternative Routing-ID Interpretation (ARI) is enabled? What hardware are you using? Thank you. you

markednmbr1 commented 5 years ago

My Hardware is in the post I linked to. You should speak to Dell about how to enable it (it may be part of virtualisation options but not explicit)

On Tue, 26 Mar 2019 at 09:52, mankitty notifications@github.com wrote:

I had a similar issue, I needed ARI Forwarding enabled.

18

https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization/issues/18

The hardware I use is dell s720. I have found all the BIOS options and have not found it. How do I determine if the Alternative Routing-ID Interpretation (ARI) is enabled? What hardware are you using? Thank you. you

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GPUOpen-LibrariesAndSDKs/MxGPU-Virtualization/issues/21#issuecomment-476550671, or mute the thread https://github.com/notifications/unsubscribe-auth/At9UNhGMHPiouKZsgjb8Cbp4fobF-iOYks5vae3kgaJpZM4cK2zq .

mankitty commented 5 years ago

My Hardware is in the post I linked to. You should speak to Dell about how to enable it (it may be part of virtualisation options but not explicit) On Tue, 26 Mar 2019 at 09:52, mankitty @.***> wrote: I had a similar issue, I needed ARI Forwarding enabled. #18 <#18> The hardware I use is dell s720. I have found all the BIOS options and have not found it. How do I determine if the Alternative Routing-ID Interpretation (ARI) is enabled? What hardware are you using? Thank you. you — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#21 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/At9UNhGMHPiouKZsgjb8Cbp4fobF-iOYks5vae3kgaJpZM4cK2zq . -- Mark Adams Director -- Open Virtualisation Solutions Ltd. Registered in England and Wales number: 07709887 Office Address: 274 Verdant Lane, London, SE6 1TW Office: +44 (0)333 355 0160 Mobile: +44 (0)750 800 1289 Site: http://www.openvs.co.uk

OK,thank you very much