Home
last modified time | relevance | path

Searched refs:firmware_has_feature (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.12.1/arch/powerpc/platforms/powernv/
Dsetup.c198 if (firmware_has_feature(FW_FEATURE_OPAL)) in pnv_setup_arch()
241 if (firmware_has_feature(FW_FEATURE_OPAL)) in pnv_init()
281 if (firmware_has_feature(FW_FEATURE_OPAL)) in pnv_show_cpuinfo()
446 if (!firmware_has_feature(FW_FEATURE_OPAL)) in pnv_kexec_cpu_down()
507 if (firmware_has_feature(FW_FEATURE_OPAL)) in pnv_probe()
520 if (!firmware_has_feature(FW_FEATURE_OPAL) || in pnv_tm_init()
Dultravisor.c50 if (!firmware_has_feature(FW_FEATURE_ULTRAVISOR)) in uv_init()
/linux-6.12.1/arch/powerpc/platforms/pseries/
Dsetup.c196 if (firmware_has_feature(FW_FEATURE_WATCHDOG)) in pseries_wdt_init()
322 if (!firmware_has_feature(FW_FEATURE_SPLPAR)) in alloc_dispatch_logs()
823 if (!firmware_has_feature(FW_FEATURE_RPT_INVALIDATE)) in pSeries_setup_arch()
849 if (firmware_has_feature(FW_FEATURE_LPAR)) { in pSeries_setup_arch()
935 if (firmware_has_feature(FW_FEATURE_CMO) && !h_get_mpp_x(&mpp_x_data)) in pSeries_coalesce_init()
1049 if (firmware_has_feature(FW_FEATURE_LPAR)) in pseries_init()
1052 if (firmware_has_feature(FW_FEATURE_XDABR)) in pseries_init()
1054 else if (firmware_has_feature(FW_FEATURE_DABR)) in pseries_init()
1057 if (firmware_has_feature(FW_FEATURE_SET_MODE)) in pseries_init()
1122 if (firmware_has_feature(FW_FEATURE_LPAR)) in pSeries_pci_probe_mode()
Dlparcfg.c309 if (!firmware_has_feature(FW_FEATURE_XCMO)) in parse_mpp_x_data()
468 seq_printf(m, "cmo_enabled=%d\n", firmware_has_feature(FW_FEATURE_CMO)); in pseries_cmo_data()
470 if (!firmware_has_feature(FW_FEATURE_CMO)) in pseries_cmo_data()
506 if (firmware_has_feature(FW_FEATURE_LPAR) && in parse_em_data()
541 if (firmware_has_feature(FW_FEATURE_SPLPAR)) { in pseries_lparcfg_data()
687 if (!firmware_has_feature(FW_FEATURE_SPLPAR)) in lparcfg_write()
808 if (firmware_has_feature(FW_FEATURE_SPLPAR)) in lparcfg_init()
Dlpar.c708 if (!radix_enabled() && firmware_has_feature(FW_FEATURE_SPLPAR)) { in vpa_init()
785 if (firmware_has_feature(FW_FEATURE_XCMO) && !(hpte_r & HPTE_R_N)) in pSeries_lpar_hpte_insert()
912 if (firmware_has_feature(FW_FEATURE_SET_MODE) && !is_fadump_active()) in pseries_hpte_clear_all()
1201 if (!firmware_has_feature(FW_FEATURE_BULK_REMOVE)) { in hugepage_bulk_invalidate()
1485 if (!firmware_has_feature(FW_FEATURE_BLOCK_REMOVE)) in pseries_lpar_read_hblkrm_characteristics()
1553 if (!firmware_has_feature(FW_FEATURE_BULK_REMOVE)) { in pSeries_lpar_flush_hash_range()
1591 firmware_has_feature(FW_FEATURE_BULK_REMOVE)) { in disable_bulk_remove()
1639 if (!firmware_has_feature(FW_FEATURE_HPT_RESIZE)) in pseries_lpar_resize_hpt()
1716 if (firmware_has_feature(FW_FEATURE_HPT_RESIZE)) in hpte_init_pseries()
1783 if (!cmo_free_hint_flag || !firmware_has_feature(FW_FEATURE_CMO)) in arch_free_page()
[all …]
Dkexec.c28 if (firmware_has_feature(FW_FEATURE_SPLPAR) && !crash_shutdown) { in pseries_kexec_cpu_down()
Dvio.c634 if (!firmware_has_feature(FW_FEATURE_CMO)) in vio_cmo_set_dev_desired()
1183 if (firmware_has_feature(FW_FEATURE_LPAR)) in vio_build_iommu_table()
1232 if (firmware_has_feature(FW_FEATURE_CMO)) { in vio_bus_probe()
1238 if (error && firmware_has_feature(FW_FEATURE_CMO)) in vio_bus_probe()
1261 if (firmware_has_feature(FW_FEATURE_CMO)) in vio_bus_remove()
1428 if (firmware_has_feature(FW_FEATURE_CMO)) in vio_register_device_node()
1497 if (firmware_has_feature(FW_FEATURE_CMO)) in vio_bus_init()
1517 if (firmware_has_feature(FW_FEATURE_CMO)) in vio_bus_init()
Dpapr_platform_attributes.c242 if (!firmware_has_feature(FW_FEATURE_LPAR) || in papr_init()
243 !firmware_has_feature(FW_FEATURE_ENERGY_SCALE_INFO)) { in papr_init()
/linux-6.12.1/arch/powerpc/kernel/
Dsetup_64.c211 if (firmware_has_feature(FW_FEATURE_SET_MODE)) { in configure_exceptions()
259 if (firmware_has_feature(FW_FEATURE_OPAL)) in configure_exceptions()
500 if (firmware_has_feature(FW_FEATURE_OPAL)) in use_spinloop()
801 if (firmware_has_feature(FW_FEATURE_LPAR) && mce_limit > SZ_4G) in emergency_stack_init()
922 if (firmware_has_feature(FW_FEATURE_LPAR)) { in disable_hardlockup_detector()
Dsysfs.c788 if (firmware_has_feature(FW_FEATURE_LPAR)) in create_idle_purr_file()
794 if (firmware_has_feature(FW_FEATURE_LPAR)) in remove_idle_purr_file()
818 if (firmware_has_feature(FW_FEATURE_LPAR)) in create_idle_spurr_file()
824 if (firmware_has_feature(FW_FEATURE_LPAR)) in remove_idle_spurr_file()
898 if (!firmware_has_feature(FW_FEATURE_LPAR)) in register_cpu_online()
916 !firmware_has_feature(FW_FEATURE_LPAR)) in register_cpu_online()
1012 !firmware_has_feature(FW_FEATURE_LPAR)) in unregister_cpu_online()
Ddawr.c71 firmware_has_feature(FW_FEATURE_LPAR) && in dawr_write_file_bool()
/linux-6.12.1/arch/powerpc/mm/
Dhugetlbpage.c130 if (firmware_has_feature(FW_FEATURE_LPAR) && !radix_enabled()) in alloc_bootmem_huge_page()
208 else if (!firmware_has_feature(FW_FEATURE_LPAR) && mmu_psize_defs[MMU_PAGE_16G].shift) in gigantic_hugetlb_cma_reserve()
Dnuma.c384 if (firmware_has_feature(FW_FEATURE_OPAL)) in initialize_form2_numa_distance_lookup_table()
441 if (firmware_has_feature(FW_FEATURE_OPAL)) { in find_primary_domain_index()
443 } else if (firmware_has_feature(FW_FEATURE_FORM2_AFFINITY)) { in find_primary_domain_index()
446 } else if (firmware_has_feature(FW_FEATURE_FORM1_AFFINITY)) { in find_primary_domain_index()
452 if (firmware_has_feature(FW_FEATURE_OPAL)) in find_primary_domain_index()
660 if (firmware_has_feature(FW_FEATURE_VPHN)) { in __vphn_get_associativity()
1447 if (!firmware_has_feature(FW_FEATURE_VPHN)) in cpu_to_coregroup_id()
/linux-6.12.1/arch/powerpc/kexec/
Dcore_64.c327 if (firmware_has_feature(FW_FEATURE_SET_MODE)) in default_machine_kexec()
379 !(firmware_has_feature(FW_FEATURE_LPAR) || in default_machine_kexec()
380 firmware_has_feature(FW_FEATURE_PS3_LV1)); in default_machine_kexec()
/linux-6.12.1/arch/powerpc/include/asm/
Dpmc.h26 if (firmware_has_feature(FW_FEATURE_LPAR)) { in ppc_set_pmu_inuse()
Dmman.h35 if (firmware_has_feature(FW_FEATURE_LPAR) && in arch_validate_prot()
Dcputime.h66 if (firmware_has_feature(FW_FEATURE_SPLPAR)) { in account_stolen_time()
Dlppaca.h123 if (!firmware_has_feature(FW_FEATURE_SPLPAR)) in lppaca_shared_proc()
Dultravisor.h25 if (!firmware_has_feature(FW_FEATURE_ULTRAVISOR)) in set_ptcr_when_no_uv()
/linux-6.12.1/arch/powerpc/platforms/ps3/
Dtime.c52 if (!firmware_has_feature(FW_FEATURE_PS3_LV1)) in ps3_rtc_init()
/linux-6.12.1/drivers/usb/host/
Dohci-ps3.c219 return firmware_has_feature(FW_FEATURE_PS3_LV1) in ps3_ohci_driver_register()
226 if (firmware_has_feature(FW_FEATURE_PS3_LV1)) in ps3_ohci_driver_unregister()
Dehci-ps3.c234 return firmware_has_feature(FW_FEATURE_PS3_LV1) in ps3_ehci_driver_register()
241 if (firmware_has_feature(FW_FEATURE_PS3_LV1)) in ps3_ehci_driver_unregister()
/linux-6.12.1/arch/powerpc/platforms/cell/
Dspu_manage.c62 if (!firmware_has_feature(FW_FEATURE_LPAR)) in spu_unmap()
156 if (!firmware_has_feature(FW_FEATURE_LPAR)) { in spu_map_device_old()
240 if (!firmware_has_feature(FW_FEATURE_LPAR)) in spu_map_device()
/linux-6.12.1/arch/powerpc/include/asm/book3s/64/
Dhugetlb.h46 if (firmware_has_feature(FW_FEATURE_LPAR) && !radix_enabled()) in gigantic_page_runtime_supported()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_utils.c516 if (firmware_has_feature(FW_FEATURE_LPAR)) in stress_nr_groups()
722 firmware_has_feature(FW_FEATURE_SPLPAR); in might_have_hea()
1027 if (!firmware_has_feature(FW_FEATURE_LPAR)) in stress_hpt_timer_fn()
1080 if (firmware_has_feature(FW_FEATURE_LPAR) || in htab_initialize()
1081 firmware_has_feature(FW_FEATURE_PS3_LV1)) { in htab_initialize()
1253 if (firmware_has_feature(FW_FEATURE_PS3_LV1)) in hash__early_init_mmu()
1255 else if (firmware_has_feature(FW_FEATURE_LPAR)) in hash__early_init_mmu()
1286 if (!firmware_has_feature(FW_FEATURE_LPAR)) { in hash__early_init_mmu_secondary()

1234